Data structure creation method, apparatus, and electronic device

By using an automated data structure creation method based on the controller's attribute information, type, and hardware information, the problem of low accuracy caused by manual operation is solved, and the efficient and accurate creation of controller data structures is achieved.

CN115640007BActive Publication Date: 2026-08-04CHERY AUTOMOBILE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHERY AUTOMOBILE CO LTD
Filing Date
2022-10-27
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

In existing technologies, the creation of controller data structures relies on manual operation, resulting in low accuracy.

Method used

A data structure creation method and apparatus are provided. By displaying a creation interface, controller attribute information is obtained, the controller type, hardware information and software information are automatically determined, and the controller's data structure is automatically created based on this information.

Benefits of technology

It reduces errors caused by manual operation and significantly improves the accuracy of controller data structure creation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115640007B_ABST
    Figure CN115640007B_ABST
Patent Text Reader

Abstract

The application discloses a data structure creation method and device and electronic equipment, and belongs to the technical field of vehicles. The method responds to an input operation based on a creation interface, obtains attribute information of a target controller in a vehicle, displays a control interface based on the attribute information of the target controller, determines the type of the target controller in response to a trigger operation on a type option, determines hardware information of the target controller in response to a trigger operation on a hardware information option, determines first software information of the target controller in response to a trigger operation on a first software information option, and creates a data structure of the target controller based on the attribute information, the type, the hardware information and the first software information of the target controller. The method can automatically create the data structure of the controller, reduce errors caused by manual operation, and greatly improve the accuracy of creation of the data structure of the controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a data structure creation method, apparatus, and electronic device. Background Technology

[0002] Driven by the trend of the "new four modernizations" in the automotive industry, the entire automotive sector is undergoing unprecedented changes, and the automotive aftermarket is also ushering in new development opportunities. With the continuous advancement of new technologies in the automotive field, controllers have become core components in automotive parts, and the level of electronic and intelligent control systems has become a key competitive advantage in the automotive aftermarket.

[0003] The controller primarily controls the vehicle based on a pre-written control program. Since there are many controllers in a vehicle, a data structure for each controller needs to be created to facilitate their management.

[0004] In related technologies, the controller's data structure is mainly created manually. However, manual operation may result in errors, leading to low accuracy in data structure creation. Summary of the Invention

[0005] This application provides a data structure creation method, apparatus, and electronic device, which can improve the accuracy of data structure creation. The specific technical solution is as follows:

[0006] On one hand, embodiments of this application provide a data structure creation method, the method comprising:

[0007] Display the creation interface, and in response to input operations based on the creation interface, obtain the attribute information of the target controller in the vehicle;

[0008] Based on the attribute information of the target controller, a control interface is displayed. The control interface includes a controller module, which includes: type options, hardware information options, and first software information options.

[0009] In response to a triggering operation on the type option, the type of the target controller is determined;

[0010] In response to a trigger operation on the hardware information option, the hardware information of the target controller is determined;

[0011] In response to a trigger operation on the first software information option, the first software information of the target controller is determined;

[0012] Based on the target controller's attribute information, type, hardware information, and first software information, a data structure for the target controller is created.

[0013] On the other hand, embodiments of this application provide a data structure creation apparatus, the apparatus comprising:

[0014] The first display module is used to display the creation interface and, in response to input operations based on the creation interface, obtain the attribute information of the target controller in the vehicle.

[0015] The second display module is used to display a control interface based on the attribute information of the target controller. The control interface includes a controller module, which includes: type options, hardware information options, and first software information options.

[0016] The first determining module is configured to determine the type of the target controller in response to a triggering operation of the type option;

[0017] The second determining module is used to determine the hardware information of the target controller in response to a triggering operation of the hardware information option;

[0018] The third determining module is used to determine the first software information of the target controller in response to a triggering operation of the first software information option;

[0019] A creation module is used to create the data structure of the target controller based on the target controller's attribute information, type, hardware information, and first software information.

[0020] In one possible implementation, the hardware information options include: schematic diagram options, electrical diagram options, structural diagram options, a first quantity option, a second quantity option, and a third quantity option; the first quantity option is used to determine the number of schematic diagrams, the second quantity option is used to determine the number of electrical diagrams, and the third quantity option is used to determine the number of structural diagrams.

[0021] The second determining module is configured to determine the schematic information of the target controller in response to a trigger operation of the schematic option and the first quantity option; determine the electrical diagram information of the target controller in response to a trigger operation of the electrical diagram option and the second quantity option; and determine the structural diagram information of the target controller in response to a trigger operation of the structural diagram option and the third quantity option.

[0022] In another possible implementation, the second display module is used to display a search interface, and in response to an input operation based on the search interface, obtain attribute information of the target controller; and display the control interface based on the attribute information of the target controller.

[0023] The device further includes:

[0024] The modification module is used to modify the data structure of the target controller based on the hardware information options and the first software information options in the control interface.

[0025] In another possible implementation, the modification module is configured to determine the modified schematic information of the target controller in response to modification operations on the schematic option and the first quantity option; determine the modified electrical diagram information of the target controller in response to modification operations on the electrical diagram option and the second quantity option; and determine the modified structural diagram information of the target controller in response to modification operations on the block diagram option and the third quantity option.

[0026] In another possible implementation, the first software information option includes: application software option, calibration software option, driver software option, fourth quantity option, fifth quantity option, and sixth quantity option; the fourth quantity option is used to determine the quantity of application software, the fifth quantity option is used to determine the quantity of calibration software, and the sixth quantity option is used to determine the quantity of driver software.

[0027] The third determining module is configured to determine the application information of the application system in the target controller in response to the triggering operation of the application software option and the fourth quantity option; determine the parameter information of the control parameters in the target controller in response to the triggering operation of the calibration software option and the fifth quantity option; and determine the driver information of the driver program in the target controller in response to the triggering operation of the driver software option and the sixth quantity option.

[0028] In another possible implementation, the control interface further includes a flash package module, which includes a flash package quantity option and a second software information option.

[0029] The creation module is configured to determine the number of target flash packages corresponding to the target controller in response to a trigger operation on the flash package quantity option; the target flash package is used to flash control programs into the target controller; if the number of target flash packages is not a preset value, the module determines the second software information of the target flash package in response to a trigger operation on the second software information option; and creates the data structure of the target controller based on the number of target flash packages, the second software information, and the attribute information, type, hardware information, and first software information of the target controller.

[0030] In another possible implementation, the attribute information of the target controller includes: the part number of the target controller;

[0031] The device further includes:

[0032] The first generation module is used to generate the number of the target controller based on the part number of the target controller when creating the data structure of the target controller;

[0033] The second generation module is used to generate the number of the target flash package based on the part number of the target controller and a preset number of serial numbers;

[0034] The association module is used to associate the target controller and the target flash package based on the target controller's ID and the target flash package's ID.

[0035] In another possible implementation, the device further includes:

[0036] The fourth determining module is used to determine the modified quantity of the target flash package in response to the modification operation of the flash package quantity option;

[0037] The fifth determining module is used to determine the modified second software information of the target flash package in response to the modification operation of the second software information option.

[0038] On the other hand, embodiments of this application provide an electronic device, which includes a processor and a memory. The memory stores at least one piece of program code, which is loaded and executed by the processor to implement the data structure creation method described in any of the above claims.

[0039] On the other hand, embodiments of this application provide a computer-readable storage medium storing at least one piece of program code, which is loaded and executed by a processor to implement the data structure creation method described in any of the above claims.

[0040] On the other hand, embodiments of this application provide a computer program product that stores at least one piece of program code, which is loaded and executed by a processor to implement the data structure creation method described in any of the above claims.

[0041] This application provides a data structure creation method. This method can determine the controller's type, hardware information, and software information based on the controller's attribute information, and then automatically create the controller's data structure based on the controller's attribute information, type, hardware information, and software information. This reduces errors caused by manual operation and thus greatly improves the accuracy of controller data structure creation. Attached Figure Description

[0042] Figure 1 This is a schematic diagram of the implementation environment of a data structure creation method provided in an embodiment of this application;

[0043] Figure 2 This is a flowchart of a data structure creation method provided in an embodiment of this application;

[0044] Figure 3 This is a flowchart of a data structure creation method provided in an embodiment of this application;

[0045] Figure 4 This is a schematic diagram of a control interface provided in an embodiment of this application;

[0046] Figure 5 This is a schematic diagram illustrating the creation of a controller data structure according to an embodiment of this application;

[0047] Figure 6 This is a schematic diagram of a data structure creation device provided in an embodiment of this application;

[0048] Figure 7 This is a structural block diagram of a terminal provided in an embodiment of this application;

[0049] Figure 8 This is a structural block diagram of a server provided in an embodiment of this application. Detailed Implementation

[0050] To make the technical solution and advantages of this application clearer, the embodiments of this application will be described in further detail below.

[0051] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0052] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the controller type, hardware information, software information, and flashing package software information involved in this application were all obtained with full authorization.

[0053] Figure 1This is a schematic diagram illustrating the implementation environment of a data structure creation method provided in an embodiment of this application. See also... Figure 1 The implementation environment includes an electronic device, which can be provided as terminal 101, or as a combination of terminal 101 and server 102. If the electronic device is provided as terminal 101 and server 102, terminal 101 and server 102 can be connected via a wireless or wired network. In this embodiment, only terminal 101 is used as an example for illustration.

[0054] The terminal 101 can be at least one of the following: mobile phone, tablet computer, PC (Personal Computer) device, intelligent voice interaction device, and vehicle terminal. The server 102 can be at least one of the following: a single server, a server cluster consisting of multiple servers, a cloud server, a cloud computing platform, and a virtualization center.

[0055] In this embodiment of the application, the electronic device is equipped with a PLM (Product Lifecycle Management) system. The electronic device can create the controller's data structure based on the PLM system and build a standardized embedded software data structure creation management strategy.

[0056] Figure 2 This is a flowchart of a data structure creation method provided in an embodiment of this application, executed by an electronic device. See also... Figure 2 The method includes:

[0057] Step 201: Display the creation interface and, in response to input operations based on the creation interface, obtain the attribute information of the target controller in the vehicle.

[0058] Step 202: Based on the attribute information of the target controller, display the control interface. The control interface includes a controller module, which includes: type options, hardware information options, and first software information options.

[0059] Step 203: In response to the triggering action of the type option, determine the type of the target controller.

[0060] Step 204: In response to the triggering operation of the hardware information option, determine the hardware information of the target controller.

[0061] Step 205: In response to the triggering operation of the first software information option, determine the first software information of the target controller.

[0062] Step 206: Based on the target controller's attribute information, type, hardware information, and first software information, create the target controller's data structure.

[0063] In one possible implementation, the hardware information options include: schematic options, electrical diagram options, structural diagram options, a first quantity option, a second quantity option, and a third quantity option; the first quantity option is used to determine the number of schematic diagrams, the second quantity option is used to determine the number of electrical diagrams, and the third quantity option is used to determine the number of structural diagrams.

[0064] In response to a trigger operation on the hardware information option, the hardware information of the target controller is determined, including:

[0065] In response to the triggering operation of the schematic options and the first quantity option, the schematic information of the target controller is determined;

[0066] In response to a trigger operation on the electrical diagram option and the second quantity option, determine the electrical diagram information of the target controller;

[0067] In response to triggering operations on the block diagram option and the third quantity option, the block diagram information of the target controller is determined.

[0068] In another possible implementation, a control interface is displayed based on the target controller's attribute information, including:

[0069] Display the search interface and, in response to input operations based on the search interface, obtain the attribute information of the target controller;

[0070] The control interface is displayed based on the attribute information of the target controller;

[0071] The method also includes:

[0072] Based on the hardware information options and the first software information options in the control interface, the data structure of the target controller is modified.

[0073] In another possible implementation, the data structure of the target controller is modified based on the hardware information options in the control interface, including at least one of the following:

[0074] In response to the modification operation of the schematic options and the first quantity option, determine the modified schematic information of the target controller;

[0075] In response to the modification operation of the electrical diagram option and the second quantity option, determine the modified electrical diagram information of the target controller;

[0076] In response to modifications to the block diagram options and the third quantity option, the modified block diagram information for the target controller is determined.

[0077] In another possible implementation, the first software information option includes: application software option, calibration software option, driver software option, fourth quantity option, fifth quantity option, and sixth quantity option; the fourth quantity option is used to determine the quantity of application software, the fifth quantity option is used to determine the quantity of calibration software, and the sixth quantity option is used to determine the quantity of driver software.

[0078] In response to a trigger operation on the first software information option, the first software information of the target controller is determined, including:

[0079] In response to the triggering of the application software option and the fourth quantity option, the application information of the application system in the target controller is determined;

[0080] In response to the triggering of the calibration software option and the fifth quantity option, the parameter information of the control parameters in the target controller is determined;

[0081] In response to triggering operations on the driver software options and the sixth quantity option, the driver information of the driver in the target controller is determined.

[0082] In another possible implementation, the control interface also includes a flash package section, which includes options for the number of flash packages and second software information.

[0083] Based on the target controller's attribute information, type, hardware information, and first software information, a data structure for the target controller is created, including:

[0084] In response to a trigger operation on the flash package quantity option, the number of target flash packages corresponding to the target controller is determined; the target flash package is used to flash the control program into the target controller.

[0085] If the number of target flash packages is not a preset value, the second software information of the target flash package is determined in response to the triggering operation of the second software information option.

[0086] Based on the number of target flash packages, the second software information, and the target controller's attribute information, type, hardware information, and first software information, a data structure for the target controller is created.

[0087] In another possible implementation, the target controller's attribute information includes: the target controller's part number;

[0088] The method also includes:

[0089] When creating the data structure of the target controller, the target controller number is generated based on the target controller's part number;

[0090] Based on the part number of the target controller and a preset number of serial numbers, generate the target flash package number;

[0091] The target controller and the target flash package are associated based on the target controller number and the target flash package number.

[0092] In another possible implementation, the method also includes:

[0093] In response to a modification to the flash package quantity option, determine the modified quantity of the target flash package;

[0094] In response to the modification operation of the second software information option, the modified second software information of the target flash package is determined.

[0095] This application provides a data structure creation method. This method can determine the controller's type, hardware information, and software information based on the controller's attribute information, and then automatically create the controller's data structure based on the controller's attribute information, type, hardware information, and software information. This reduces errors caused by manual operation and thus greatly improves the accuracy of controller data structure creation.

[0096] Figure 3 This is a flowchart of a data structure creation method provided in an embodiment of this application, executed by an electronic device. See also... Figure 3 The method includes:

[0097] Step 301: The electronic device displays the creation interface and, in response to input operations based on the creation interface, obtains the attribute information of the target controller in the vehicle.

[0098] The electronic device is equipped with a PLM system. Upon logging into the PLM system, the electronic device displays the PLM system's main interface. Based on this main interface, the user creates the data structure for the target controller. The target controller can be any controller within the vehicle.

[0099] The main interface of the PLM system includes a "Create" option. In response to triggering this option, the electronic device displays the creation interface. The creation interface includes input fields. In response to input in these fields, the electronic device retrieves the application number for the target controller part number. Based on this application number, the electronic device lists and displays a list of all parts under that application number. This list includes the target controller's part number and name, as well as the part numbers and names of other parts. In response to selecting the target controller's part number and name, the electronic device retrieves the target controller's attribute information.

[0100] Step 302: The electronic device displays the control interface based on the attribute information of the target controller.

[0101] The interface creation also includes a first confirmation option. After the electronic device obtains the attribute information of the target controller, it jumps from the current interface to the control interface in response to the triggering operation of the first confirmation option. The control interface includes a controller module, which includes: type options, hardware information options, and first software information options. See [link to relevant documentation]. Figure 4 .

[0102] Step 303: In response to the triggering operation of the type option, the electronic device determines the type of the target controller.

[0103] In response to a trigger action on the type option, the electronic device displays multiple types. The user can determine the type of the target controller based on its part name and select the corresponding type from among these options. Accordingly, the electronic device determines the selected type and uses it as the type of the target controller.

[0104] The controller type can be EMS (Engine Management System), TCU (Telematics Control Unit), PLG (Power Lift Gate), or other types, without specific limitations.

[0105] Step 304: In response to the triggering operation of the hardware information option, the electronic device determines the hardware information of the target controller.

[0106] The hardware information options include: schematic diagram option, electrical diagram option, structural diagram option, first quantity option, second quantity option, and third quantity option; the first quantity option is used to determine the number of schematic diagrams, the second quantity option is used to determine the number of electrical diagrams, and the third quantity option is used to determine the number of structural diagrams.

[0107] In this step, the electronic device can determine the hardware information of the target controller through the following methods:

[0108] In response to the triggering operation of the schematic options and the first quantity option, the electronic device determines the schematic information of the target controller;

[0109] In response to a trigger operation on the electrical diagram option and the second quantity option, the electronic device determines the electrical diagram information of the target controller;

[0110] In response to the triggering of the block diagram option and the third quantity option, the electronic device determines the block diagram information of the target controller.

[0111] In this implementation, the schematic diagram reflects the control principle of the target controller, the electrical diagram reflects the circuit connection relationship of the target controller, and the structural diagram reflects the structure of the target controller. Users can select the schematic diagram, electrical diagram, and structural diagram options as needed, and determine the number of schematic diagrams, electrical diagrams, and structural diagrams. For example, if the target controller does not have a corresponding schematic diagram, the user can select the schematic diagram option and set the quantity corresponding to the first quantity option to 0. Correspondingly, in response to the triggering operation of the schematic diagram option, the electronic device adjusts the state of the first quantity option to an editable state; in response to the triggering operation of the first quantity option, the electronic device determines that the number of schematic diagrams for the target controller is 0, thus obtaining the schematic diagram information of the target controller.

[0112] For example, if the target controller has two structure diagrams, the user can select the structure diagram option and set the quantity corresponding to the third quantity option to 2. Accordingly, in response to the trigger operation of the structure diagram option, the electronic device adjusts the state of the third quantity option to the editable state; in response to the trigger operation of the third quantity option, the electronic device determines that the number of structure diagrams of the target controller is 2, and obtains the structure diagram information of the target controller.

[0113] In this embodiment, a schematic diagram is used as an example for explanation. The electronic device can use the number of schematic diagrams corresponding to the target controller as the schematic diagram information of the target controller, as described above. Alternatively, after determining the number of schematic diagrams for the target controller, the electronic device can obtain imported schematic diagrams matching the number of schematic diagrams and use this number and the number of schematic diagrams as the schematic diagram information of the target controller.

[0114] Accordingly, in the embodiments of this application, the hardware information options further include: a first import option, a second import option, and a third import option. The first import option is used to import a schematic diagram, the second import option is used to import an electrical diagram, and the third import option is used to import a structural diagram.

[0115] If the number of schematics is 0, no schematics need to be imported, and the electronic device will set the state of the first import option to non-editable. If the number of schematics is not 0, the electronic device will set the state of the first import option to editable. In response to the triggering operation of the first import option, the electronic device will determine the number of imported schematics that matches the number of schematics, and use the number of schematics and the number of schematics as the schematic information of the target controller.

[0116] If the number of electrical diagrams is 0, no electrical diagrams need to be imported, and the electronic device will set the status of the second import option to non-editable. If the number of electrical diagrams is not 0, the electronic device will set the status of the second import option to editable. In response to the triggering operation of the second import option, the electronic device will determine the electrical diagrams that are imported and match the number of electrical diagrams, and use the number of electrical diagrams and the electrical diagrams as the electrical diagram information of the target controller.

[0117] If the number of structure diagrams is 0, no structure diagram needs to be imported, and the electronic device will adjust the state of the third import option to non-editable. If the number of structure diagrams is not 0, the electronic device will adjust the state of the third import option to editable. In response to the triggering operation of the third import option, the electronic device will determine the imported structure diagrams that match the number of structure diagrams, and use the number of structure diagrams and the structure diagrams as the structure diagram information of the target controller.

[0118] Step 305: In response to the triggering operation of the first software information option, the electronic device determines the first software information of the target controller.

[0119] The first software information options include: application software option, calibration software option, driver software option, fourth quantity option, fifth quantity option, and sixth quantity option; the fourth quantity option is used to determine the quantity of application software, the fifth quantity option is used to determine the quantity of calibration software, and the sixth quantity option is used to determine the quantity of driver software.

[0120] In this step, the electronic device can determine the first software information of the target controller through the following implementation:

[0121] In response to the triggering of the application software option and the fourth quantity option, the electronic device determines the application information of the application system in the target controller;

[0122] In response to the triggering of the calibration software option and the fifth quantity option, the electronic device determines the parameter information of the control parameters in the target controller;

[0123] In response to triggering operations on the driver software options and the sixth quantity option, the electronic device determines the driver information of the driver in the target controller.

[0124] In this implementation, the user can select the triggering application software option, calibration software option, and driver software option according to actual needs, and determine the number of application software, calibration software, and driver software. For example, if the target controller does not have corresponding application software, the user can select the application software option and set the quantity corresponding to the fourth quantity option to 0. Accordingly, in response to the triggering operation of the application software option, the electronic device adjusts the state of the fourth quantity option to an editable state; in response to the triggering operation of the fourth quantity option, the electronic device determines that the number of application software for the target controller is 0, and obtains the application information of the target controller.

[0125] In this embodiment, application software is used as an example for explanation. The electronic device can use the number of application software corresponding to the target controller as the application information of the target controller, as described above. Alternatively, after determining the number of application software for the target controller, the electronic device can obtain imported application software matching the number of application software, and use the number of application software and the application software as the application information of the target controller.

[0126] Accordingly, in the embodiments of this application, the first software information option further includes: a fourth import option, a fifth import option, and a sixth import option. The fourth import option is used to import application software, the fifth import option is used to import calibration software, and the sixth import option is used to import driver software.

[0127] If the number of application software is 0, no application software needs to be imported, and the electronic device will adjust the state of the fourth import option to non-editable. If the number of application software is not 0, the electronic device will adjust the state of the fourth import option to editable. In response to the triggering operation of the fourth import option, the electronic device will determine the application software to be imported that matches the number of application software, and use the number of application software and the application software as application information for the target controller.

[0128] If the number of calibration software is 0, no calibration software needs to be imported, and the electronic device will set the fifth import option to a non-editable state. If the number of calibration software is not 0, the electronic device will set the fifth import option to an editable state. In response to the triggering operation of the fifth import option, the electronic device will determine the calibration software to be imported that matches the number of calibration software, and use the number of calibration software and the calibration software as application information for the target controller.

[0129] If the number of driver software is 0, no driver software needs to be imported, and the electronic device will set the sixth import option to a non-editable state. If the number of driver software is not 0, the electronic device will set the sixth import option to an editable state. In response to the triggering operation of the fourth import option, the electronic device will determine the driver software to be imported that matches the number of driver software, and use the number of driver software and the driver software as application information for the target controller.

[0130] It should be noted that the electronic device may execute step 304 first and then step 305, or it may execute step 305 first and then step 304. In the embodiments of this application, there is no specific limitation on the order in which the electronic device executes steps 304 and 305.

[0131] It should be noted that the hardware information options and the first software information options may also include other options, without specific limitations.

[0132] Step 306: In response to the triggering operation of the flash package quantity option, the electronic device determines the number of target flash packages corresponding to the target controller.

[0133] The target flash package is used to flash the control program into the target controller. The control interface also includes a flash package section, which includes options for the number of flash packages and second software information.

[0134] If the target flash package quantity is a preset value, in response to the trigger operation of the flash package quantity option, the electronic device sets the quantity corresponding to the flash package quantity option to the preset value and adjusts the state of the second software information option to an uneditable state. In this embodiment, only the preset value of 0 is used as an example for explanation.

[0135] If the number of target flash packages is 0, the electronic device will set the status of the second software information option to non-editable. In this case, step 307 is unnecessary, and step 308 can be replaced by: the electronic device creating the target controller's data structure based on the target controller's attribute information, type, hardware information, and first software information. If the number of target flash packages is not 0, the electronic device will execute step 307.

[0136] Step 307: If the number of target flash packages is not a preset value, in response to the triggering operation of the second software information option, the electronic device determines the second software information of the target flash package.

[0137] For ease of distinction, the application software option included in the first software information option is referred to as the first application software option, the calibration software option included in the first software information option is referred to as the first calibration software option, and the driver software option included in the first software information option is referred to as the first driver software option. The second software information option includes: the second application software option, the second calibration software option, the second driver software option, the seventh quantity option, the eighth quantity option, and the ninth quantity option.

[0138] The process by which the electronic device determines the second software information of the target flash package based on the second application software option, the second calibration software option, the second driver software option, the seventh quantity option, the eighth quantity option, and the ninth quantity option is the same as step 305, and will not be repeated here.

[0139] In this embodiment, the electronic device can create a target controller first, then create a target flash package, or it can create both the target controller and the target flash package simultaneously. If the electronic device creates the target controller first, then when executing step 306, the electronic device sets the number of flash packages to 0. In this case, step 307 is unnecessary, and step 308 can be replaced by: the electronic device creating the data structure of the target controller based on the target controller's attribute information, type, hardware information, and first software information.

[0140] Furthermore, when the electronic device subsequently creates a target flash package for the target controller, it can locate the corresponding control interface of the target controller and create the flash package within that interface. Accordingly, the process of the electronic device locating the control interface can be as follows: the electronic device displays a search interface, responds to input operations based on the search interface, and obtains the target controller's attribute information. Based on the target controller's attribute information, the electronic device displays the control interface.

[0141] In this implementation, the main interface of the PLM system also includes a search option. In response to a trigger operation on the search option, the electronic device displays the search interface. In response to input operations based on the search interface, the electronic device obtains the part number of the target controller and searches for the target controller based on that part number. If the target controller is found, the search result is displayed. In response to a trigger operation on the search result, the electronic device displays the control interface. The process of the electronic device creating the flash package in the control interface is the same as steps 306 and 307, and will not be repeated here.

[0142] If the electronic device creates both the target controller and the target flash package, then when performing step 306, the electronic device will not set the number of flash packages to 0, and then proceed with steps 307 and 308.

[0143] Step 308: The electronic device creates the data structure of the target controller based on the number of target flash packages, the second software information, and the attribute information, type, hardware information, and first software information of the target controller.

[0144] The control interface also includes a second determination option. After the electronic device obtains the number of target flash packages, the second software information, and the attribute information, type, hardware information, and first software information of the target controller, it creates the data structure of the target controller in response to the triggering operation of the second determination option.

[0145] In this embodiment of the application, the data structure is created automatically, which can reduce errors caused by manual operation, thereby greatly improving the efficiency and correctness of data structure creation.

[0146] In this embodiment, after creating the data structure of the target controller, the electronic device can also modify the data structure of the target controller. Accordingly, the electronic device can first locate the control interface corresponding to the target controller and modify the data structure of the target controller within that control interface. The process of the electronic device locating the control interface of the target controller has already been described in step 307 and will not be repeated here. After locating the control interface, the electronic device modifies the data structure of the target controller based on the hardware information options, the first software information options, the flashing package quantity options, and the second software information options within the control interface.

[0147] The following example illustrates how an electronic device can modify the hardware information of a target controller. Based on the hardware information options in the control interface, the electronic device modifies the data structure of the target controller, including at least one of the following:

[0148] In response to the modification of the schematic options and the first quantity option, the electronic device determines the modified schematic information of the target controller;

[0149] In response to the modification operation of the electrical diagram option and the second quantity option, the electronic device determines the modified electrical diagram information of the target controller;

[0150] In response to modifications to the block diagram options and the third quantity option, the electronic device determines the modified block diagram information for the target controller.

[0151] In this embodiment, the electronic device is based on the data structure of the target controller that has been created. When the data structure of the target controller is modified, the sub-objects (hardware information, first software information) and their quantities that have been created by the target controller are displayed in the template. The sub-objects and their quantities are modified, and the data structure is modified through the PLM system function development.

[0152] The following explanation uses the modification of the target flash package on an electronic device as an example. In response to the modification of the flash package quantity option, the electronic device determines the modified quantity of the target flash package; in response to the modification of the second software information option, the electronic device determines the modified second software information of the target flash package.

[0153] In this embodiment, the electronic device, based on the data structure of the already created target controller, displays the created sub-objects (second software information) and their quantities in the template when modifying the target flash package corresponding to the target controller. Modification of the sub-objects and quantities is achieved through PLM system function development. Furthermore, both the creation and modification of the target controller's data structure are completed within the control interface. Standardized management of the data structure is achieved based on the unified data structure display template within the control interface.

[0154] See Figure 5 ,from Figure 5 As can be seen, if the target controller's data structure is being created for the first time, the application number for the target controller's part number is obtained first. Based on this application number, the target controller's part number and type are determined, followed by the hardware information and primary software information. Then, it is determined whether to simultaneously create a target flash package for the target controller. If a target flash package is created, the quantity of the target flash package and the secondary software information are determined, and then the target controller's data structure is created. If no target flash package is created, the target controller's data structure is created directly, and the target flash package is created later.

[0155] If the target controller's data structure is not being created for the first time, determine whether to create a target flash package for the target controller. If so, determine the second software information for the target flash package, and then create the target controller's data structure. If the target flash package is not being created, determine whether to modify it. If it is, modify at least one of the number of target flash packages and the second software information, and then update the number of target flash packages and the second software information. If the target controller is not modified, but the target flash package is modified instead, modify at least one of the target controller's hardware information and the first software information, and then update the target controller's hardware information and the first software information.

[0156] In this embodiment, when creating the data structure of the target controller, the electronic device can associate the target controller with the target flashing package. This process can be as follows: when creating the data structure of the target controller, the electronic device generates a target controller number based on the target controller's part number; generates a target flashing package number based on the target controller's part number and a preset number of serial numbers; and associates the target controller with the target flashing package based on the target controller number and the target flashing package number.

[0157] In this implementation, the electronic device can use the part number of the target controller as the target controller number, and use the part number of the target controller plus a preset number of serial numbers as the target flash package number; then, based on their respective numbers, the target controller and the target flash package are associated.

[0158] The preset quantity can be set and changed as needed. For example, if the preset quantity is 3, the part number of the target controller plus 3 serial numbers will be used as the number of the target flash package, thereby realizing the management of the target flash package.

[0159] Furthermore, in this embodiment of the application, when creating the data structure of the target controller, the numbers of the schematic diagram, electrical diagram and structural diagram are also generated. The numbers of the schematic diagram, electrical diagram and structural diagram can be generated with a 10-digit serial number starting with H, and the numbers of the first application software, the first calibration software and the first drive software can be generated with a 10-digit serial number starting with S.

[0160] In this embodiment, there is a strong correlation between the controller part number and the controller and the flashing package, which facilitates data application matching and data traceability.

[0161] In this embodiment of the application, the electronic device may also delete at least one of the hardware information of the target controller, the first software information, and the second software information of the target flashing package.

[0162] The electronic device displays a creation completion interface, which includes the creation results of multiple controllers, with each controller's creation result corresponding to a deletion option. The electronic device searches for the creation result of the target controller from among the multiple controller creation results. In response to a trigger operation on the deletion option corresponding to the target controller, the electronic device displays the target controller's hardware information, first software information, and second software information of the target flashing package. The electronic device can delete at least one of the target controller's hardware information, first software information, and second software information of the target flashing package.

[0163] The electronic device, in response to a triggering operation on at least one of the schematic diagram information, electrical diagram information, and structural diagram information in the hardware information of the target controller, deletes at least one of the schematic diagram information, electrical diagram information, and structural diagram information of the target controller. The electronic device, in response to a triggering operation on at least one of the application information, parameter information, and driver information in the first software information of the target controller, deletes at least one of the application information, parameter information, and driver information of the target flash package.

[0164] Therefore, it can be seen that the electronic device can delete at least one of the hardware information, first software information and second software information of the target controller and the target flash package without entering the control interface. The deletion operation can be performed directly on the creation completion interface, which is convenient and quick.

[0165] This application provides a data structure creation method. This method can determine the controller's type, hardware information, and software information based on the controller's attribute information, and then automatically create the controller's data structure based on the controller's attribute information, type, hardware information, and software information. This reduces errors caused by manual operation and thus greatly improves the accuracy of controller data structure creation.

[0166] Figure 6 This is a schematic diagram of a data structure creation device provided in an embodiment of this application. See also... Figure 6 The device includes:

[0167] The first display module 601 is used to display the creation interface and, in response to input operations based on the creation interface, obtain the attribute information of the target controller in the vehicle.

[0168] The second display module 602 is used to display the control interface based on the attribute information of the target controller. The control interface includes a controller module, which includes: type options, hardware information options and first software information options.

[0169] The first determining module 603 is used to determine the type of the target controller in response to a trigger operation on the type option;

[0170] The second determining module 604 is used to determine the hardware information of the target controller in response to a trigger operation on the hardware information option.

[0171] The third determining module 605 is used to determine the first software information of the target controller in response to a trigger operation on the first software information option;

[0172] Create module 606 to create the data structure of the target controller based on the target controller's attribute information, type, hardware information, and first software information.

[0173] In one possible implementation, the hardware information options include: schematic options, electrical diagram options, structural diagram options, a first quantity option, a second quantity option, and a third quantity option; the first quantity option is used to determine the number of schematic diagrams, the second quantity option is used to determine the number of electrical diagrams, and the third quantity option is used to determine the number of structural diagrams.

[0174] The second determining module 604 is used to determine the schematic information of the target controller in response to the triggering operation of the schematic option and the first quantity option; to determine the electrical diagram information of the target controller in response to the triggering operation of the electrical diagram option and the second quantity option; and to determine the structural diagram information of the target controller in response to the triggering operation of the structural diagram option and the third quantity option.

[0175] In another possible implementation, the second display module 602 is used to display a search interface, and in response to an input operation based on the search interface, obtains the attribute information of the target controller; and displays a control interface based on the attribute information of the target controller.

[0176] The device also includes:

[0177] The modification module is used to modify the data structure of the target controller based on the hardware information options and the first software information options in the control interface.

[0178] In another possible implementation, the modification module is used to determine the modified schematic information of the target controller in response to modification operations on the schematic option and the first quantity option; to determine the modified electrical diagram information of the target controller in response to modification operations on the electrical diagram option and the second quantity option; and to determine the modified structural diagram information of the target controller in response to modification operations on the block diagram option and the third quantity option.

[0179] In another possible implementation, the first software information option includes: application software option, calibration software option, driver software option, fourth quantity option, fifth quantity option, and sixth quantity option; the fourth quantity option is used to determine the quantity of application software, the fifth quantity option is used to determine the quantity of calibration software, and the sixth quantity option is used to determine the quantity of driver software.

[0180] The third determining module 605 is used to determine the application information of the application system in the target controller in response to the triggering operation of the application software option and the fourth quantity option; to determine the parameter information of the control parameters in the target controller in response to the triggering operation of the calibration software option and the fifth quantity option; and to determine the driving information of the driver in the target controller in response to the triggering operation of the driver software option and the sixth quantity option.

[0181] In another possible implementation, the control interface also includes a flash package section, which includes options for the number of flash packages and second software information.

[0182] Module 606 is created to determine the number of target flash packages corresponding to the target controller in response to a trigger operation on the flash package quantity option. The target flash package is used to flash the control program into the target controller. If the number of target flash packages is not a preset value, the second software information of the target flash package is determined in response to a trigger operation on the second software information option. Based on the number of target flash packages, the second software information, and the attribute information, type, hardware information, and first software information of the target controller, the data structure of the target controller is created.

[0183] In another possible implementation, the target controller's attribute information includes: the target controller's part number;

[0184] The device also includes:

[0185] The first generation module is used to generate the target controller number based on the target controller's part number when creating the target controller's data structure;

[0186] The second generation module is used to generate the target flash package number based on the part number of the target controller and a preset number of serial numbers.

[0187] The association module is used to associate the target controller and the target flash package based on the target controller number and the target flash package number.

[0188] In another possible implementation, the device further includes:

[0189] The fourth determination module is used to determine the modified quantity of the target flash package in response to the modification operation of the flash package quantity option;

[0190] The fifth determination module is used to determine the modified second software information of the target flash package in response to the modification operation of the second software information option.

[0191] This application provides a data structure creation device that can determine the controller's type, hardware information, and software information based on the controller's attribute information, and then automatically create the controller's data structure based on the controller's attribute information, type, hardware information, and software information, thereby reducing errors caused by manual operation and significantly improving the accuracy of controller data structure creation.

[0192] If the electronic device is provided as a terminal, refer to Figure 7 , Figure 7 This illustration shows a structural block diagram of a terminal 700 provided in an exemplary embodiment of this application. The terminal 700 can be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 700 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0193] Typically, terminal 700 includes a processor 701 and a memory 702.

[0194] Processor 701 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 701 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 701 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 701 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 701 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0195] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 702 are used to store at least one piece of program code, which is executed by the processor 701 to implement the operations performed by the terminal in the data structure creation method provided in the method embodiments of this application.

[0196] In some embodiments, the terminal 700 may also optionally include a peripheral device interface 703 and at least one peripheral device. The processor 701, memory 702, and peripheral device interface 703 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, and a power supply 708.

[0197] Peripheral device interface 703 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 701 and memory 702. In some embodiments, processor 701, memory 702 and peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 701, memory 702 and peripheral device interface 703 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0198] The radio frequency (RF) circuit 704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 704 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 704 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 704 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0199] Display screen 705 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 705 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 701 for processing. In this case, display screen 705 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 705, disposed on the front panel of terminal 700; in other embodiments, there may be at least two display screens 705, disposed on different surfaces of terminal 700 or in a folded design; in other embodiments, display screen 705 may be a flexible display screen, disposed on a curved or folded surface of terminal 700. Furthermore, display screen 705 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 705 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).

[0200] The camera assembly 706 is used to acquire images or videos. Optionally, the camera assembly 706 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0201] The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 701 for processing, or input to the radio frequency circuit 704 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal 700. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 707 may also include a headphone jack.

[0202] Power supply 708 is used to power the various components in terminal 700. Power supply 708 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 708 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0203] In some embodiments, the terminal 700 further includes one or more sensors 709. The one or more sensors 709 include, but are not limited to: an accelerometer 710, a gyroscope 711, a pressure sensor 712, an optical sensor 713, and a proximity sensor 714.

[0204] Accelerometer 710 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal 700. For example, accelerometer 710 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 701 can control display screen 705 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 710. Accelerometer 710 can also be used for games or for acquiring user motion data.

[0205] The gyroscope sensor 711 can detect the orientation and rotation angle of the terminal 700. The gyroscope sensor 711, in conjunction with the accelerometer sensor 710, can collect 3D motion data from the user on the terminal 700. Based on the data collected by the gyroscope sensor 711, the processor 701 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0206] The pressure sensor 712 can be disposed on the side bezel of the terminal 700 and / or on the lower layer of the display screen 705. When the pressure sensor 712 is disposed on the side bezel of the terminal 700, it can detect the user's grip signal on the terminal 700, and the processor 701 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 712. When the pressure sensor 712 is disposed on the lower layer of the display screen 705, the processor 701 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 705. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0207] An optical sensor 713 is used to collect ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 713. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is decreased. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 based on the ambient light intensity collected by the optical sensor 713.

[0208] The proximity sensor 714, also known as a distance sensor, is typically located on the front panel of the terminal 700. The proximity sensor 714 is used to detect the distance between the user and the front of the terminal 700. In one embodiment, when the proximity sensor 714 detects that the distance between the user and the front of the terminal 700 is gradually decreasing, the processor 701 controls the display screen 705 to switch from a screen-on state to a screen-off state; when the proximity sensor 714 detects that the distance between the user and the front of the terminal 700 is gradually increasing, the processor 701 controls the display screen 705 to switch from a screen-off state to a screen-on state.

[0209] Those skilled in the art will understand that Figure 7 The structure shown does not constitute a limitation on terminal 700, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0210] If the electronic device is provided as a terminal and a server, the structural block diagram of the server can be found here. Figure 8The server 800 can vary considerably depending on its configuration or performance. It may include a central processing unit (CPU) 801 and a memory 802. The memory 802 stores at least one line of program code, which is loaded and executed by the processor 801 to perform the operations performed by the server in the aforementioned data structure creation method. Of course, the server 800 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 800 may also include other components for implementing device functions, which will not be elaborated upon here.

[0211] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code that is loaded and executed by a processor to implement the data structure creation method described above.

[0212] In an exemplary embodiment, a computer program product is also provided, which stores at least one piece of program code that is loaded and executed by a processor to implement the data structure creation method described above.

[0213] The above description is only for the purpose of enabling those skilled in the art to understand the technical solution of this application, and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for creating a data structure, characterized in that, The method includes: If the data structure of the target controller in the vehicle is being created for the first time, the creation interface is displayed, and the target controller's attribute information is obtained in response to input operations based on the creation interface. Based on the target controller's attribute information, the control interface displays the controller module and the flash package module. The controller module includes: type options, hardware information options, and first software information options. The flash package module is used to create the target flash package. In response to a trigger operation on the type option, hardware information option, and first software information option, the type, hardware information, and first software information of the target controller are determined; If it is determined that a target flash package will be created synchronously, the data structure of the target controller will be created based on the determined number of target flash packages, the determined second software information, and the attribute information, type, hardware information, and first software information of the target controller. If it is determined that the target flash package is not created synchronously, the data structure of the target controller is created based on the target controller's attribute information, type, hardware information, and first software information; If the target controller's data structure is not being created for the first time, and it is determined that a target flash package will be created, then the quantity of the target flash package and the second software information are determined; if it is determined that a target flash package will not be created, and it is determined that the target flash package will be modified, then at least one of the quantity of the target flash package and the second software information is modified; if it is determined that the target flash package will not be modified, but the target controller is modified, then at least one of the target controller's hardware information and the first software information is modified.

2. The method according to claim 1, characterized in that, The hardware information options include: schematic diagram option, electrical diagram option, structural diagram option, first quantity option, second quantity option, and third quantity option; the first quantity option is used to determine the number of schematic diagrams, the second quantity option is used to determine the number of electrical diagrams, and the third quantity option is used to determine the number of structural diagrams. In response to a trigger operation on the hardware information option, the hardware information of the target controller is determined, including: In response to the triggering operation of the schematic options and the first quantity option, the schematic information of the target controller is determined; In response to a trigger operation on the electrical diagram option and the second quantity option, determine the electrical diagram information of the target controller; In response to triggering operations on the block diagram option and the third quantity option, the block diagram information of the target controller is determined.

3. The method according to claim 2, characterized in that, Based on the target controller's attribute information, the control interface displays the controller module and the flashing package module, including: Display the search interface and, in response to input operations based on the search interface, obtain the attribute information of the target controller; Based on the target controller's attribute information, the controller module and flashing package module are displayed in the control interface; The method further includes: Based on the hardware information options and the first software information options in the control interface, the data structure of the target controller is modified.

4. The method according to claim 3, characterized in that, Based on the hardware information options in the control interface, the data structure of the target controller is modified, including at least one of the following: In response to the modification operation of the schematic options and the first quantity option, determine the modified schematic information of the target controller; In response to the modification operation of the electrical diagram option and the second quantity option, determine the modified electrical diagram information of the target controller; In response to modifications to the block diagram options and the third quantity option, the modified block diagram information for the target controller is determined.

5. The method according to claim 1, characterized in that, The first software information options include: application software options, calibration software options, driver software options, fourth quantity options, fifth quantity options, and sixth quantity options; the fourth quantity option is used to determine the quantity of application software, the fifth quantity option is used to determine the quantity of calibration software, and the sixth quantity option is used to determine the quantity of driver software. In response to a trigger operation on the first software information option, the first software information of the target controller is determined, including: In response to the triggering of the application software option and the fourth quantity option, the application information of the application system in the target controller is determined; In response to the triggering of the calibration software option and the fifth quantity option, the parameter information of the control parameters in the target controller is determined; In response to triggering operations on the driver software options and the sixth quantity option, the driver information of the driver in the target controller is determined.

6. The method according to claim 1, characterized in that, The flash package section includes: options for the number of flash packages and options for second software information; Determine the quantity of the target flash package and the second software information, including: In response to a triggering action on the flash package quantity option, determine the target flash package quantity; In response to a trigger operation on the second software information option, the second software information of the target flash package is determined.

7. The method according to claim 6, characterized in that, The target controller's attribute information includes: the target controller's part number; The method further includes: When creating the data structure of the target controller, the target controller number is generated based on the target controller's part number; Based on the part number of the target controller and a preset number of serial numbers, generate the target flash package number; The target controller and the target flash package are associated based on the target controller number and the target flash package number.

8. The method according to claim 6, characterized in that, The method further includes: In response to a modification to the flash package quantity option, determine the modified quantity of the target flash package; In response to the modification operation of the second software information option, the modified second software information of the target flash package is determined.

9. A data structure creation device, characterized in that, The device includes: The first display module is used to display the creation interface when the data structure of the target controller in the vehicle is created for the first time, and to obtain the attribute information of the target controller in the vehicle in response to input operations based on the creation interface. The second display module is used to display the controller module and the flash package module in the control interface based on the attribute information of the target controller. The controller module includes: type options, hardware information options and first software information options. The flash package module is used to create the target flash package. The first determining module is used to determine the type, hardware information and first software information of the target controller in response to a trigger operation on the type option, hardware information option and first software information option; A creation module is used to: if it is determined that a target flash package will be created synchronously, create a data structure for the target controller based on the determined number of target flash packages, the determined second software information, and the attribute information, type, hardware information, and first software information of the target controller; if it is determined that a target flash package will not be created synchronously, create a data structure for the target controller based on the attribute information, type, hardware information, and first software information of the target controller; if the data structure of the target controller is not being created for the first time, and it is determined that a target flash package will be created, then the number of target flash packages and the second software information are determined; if it is determined that a target flash package will not be created, and it is determined that the target flash package will be modified, then at least one of the number of target flash packages and the second software information is modified; if it is determined that the target flash package will not be modified, but the target controller is modified instead, then at least one of the hardware information and the first software information of the target controller is modified.

10. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one piece of program code, which is loaded and executed by the processor to implement the data structure creation method as described in any one of claims 1-8.