Flash package publishing system, method, device and storage medium

By combining the flash package release system with SVN, ALM, and PLM systems, the problem of flash package quality assurance was solved, and efficient management and quality traceability of flash packages in vehicle controllers were achieved, ensuring the reliability and consistency of flash packages during application.

CN115509937BActive Publication Date: 2026-01-02CHERY AUTOMOBILE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211305909.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-24
Publication Date
2026-01-02
Estimated Expiration
2042-10-24

AI Technical Summary

Technical Problem

How to ensure the quality of the flashing package to guarantee vehicle control performance, especially given the increasing electronic and intelligent level of controllers, is a challenge that current technologies lack effective quality assurance mechanisms for.

Method used

A flashable package release system is adopted, which combines a version control (SVN) system, a software lifecycle management (ALM) system, and a product lifecycle management (PLM) system to manage the requirements, testing, storage, and release processes of flashable packages. This ensures that the storage path and release of flashable packages are recorded in the ALM system before they are released in the PLM system, allowing for traceability of requirements and testing processes and providing quality assurance.

Benefits of technology

By managing the requirements and testing process of flash packages in the ALM system, the quality of flash packages released in the PLM system can be ensured. The relationship between flash packages and their requirements and testing processes can be traced during application, providing quality assurance and avoiding problems during application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115509937B_ABST
    Figure CN115509937B_ABST
Patent Text Reader

Abstract

The application discloses a flashing package publishing system, method and device and a storage medium, and belongs to the technical field of vehicles. The system first performs demand and test management on a first flashing package in an ALM system, stores the first flashing package in an SVN system when the first flashing package passes the test, then stores the storage path of the first flashing package in the ALM system and publishes the first flashing package, and finally the PLM system acquires the storage path of the first flashing package from the ALM system, acquires the first flashing package from the SVN system based on the storage path, and publishes the first flashing package. Since the flashing package published in the PLM system is the same as the flashing package published in the ALM system, and the demand and test process of the flashing package are also managed in the ALM system, when a problem occurs in the application process of the flashing package, the relationship between the flashing package and the demand and test process thereof can be traced back in the ALM system, thereby guaranteeing the quality of the flashing package.
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 flashing package distribution system, method, device and storage medium. 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 in particular, the level of electronic and intelligent control of controllers has become the commanding height of competition in the automotive aftermarket.

[0003] The controller primarily controls the vehicle based on the control program in the flashing package. Therefore, before the controller can control the vehicle based on the control program in the flashing package, the flashing package needs to be developed first, then the requirements for the flashing package need to be defined and tested, and finally the flashing package needs to be released.

[0004] As described above, the quality of the flashing package directly affects the vehicle's control performance. Therefore, ensuring the quality of the flashing package has become a pressing issue in this field. Summary of the Invention

[0005] This application provides a flashable package distribution system, method, device, and storage medium to ensure the quality of the flashable packages. The specific technical solution is as follows:

[0006] On one hand, this application provides a flashable package release system, the system including: a first electronic device, a second electronic device and a third electronic device; the first electronic device is equipped with a version control SVN system, the second electronic device is equipped with a software lifecycle management ALM system, and the third electronic device is equipped with a product lifecycle management PLM system;

[0007] The second electronic device is used to perform requirement and test management on the first flash package of the target controller in the vehicle in the ALM system;

[0008] The first electronic device is used to store the first flash package in the SVN system if the first flash package passes the test;

[0009] The second electronic device is further configured to display a publishing interface when the first flash package passes the test, the publishing interface including an upload option and a first publishing option; in response to a trigger operation on the upload option, obtain the storage path of the first flash package from the first electronic device; and in response to a trigger operation on the first publishing option, publish the first flash package in the ALM system based on the storage path of the first flash package.

[0010] The third electronic device is used to display a control interface, which includes a software information option and a second release option; in response to a trigger operation on the software information option, it obtains the storage path of the first flash package from the second electronic device; based on the storage path of the first flash package, it obtains the first flash package from the first electronic device; it loads the first flash package into the target controller; and in response to a trigger operation on the second release option, it releases the first flash package in the PLM system.

[0011] In one possible implementation, the third electronic device is configured to determine the attribute information of the target controller corresponding to the first flash package in response to a triggering operation of the software information option.

[0012] Based on the attribute information of the target controller, determine the release item information for releasing the first flash package;

[0013] If the target controller does not load the flash package, the storage path of the first flash package is obtained from the second electronic device based on the release item information of the first flash package and the attribute information of the target controller.

[0014] In another possible implementation, the third electronic device is further configured to determine the packet information of the second flash package when the target controller loads the second flash package;

[0015] Based on the release information of the first flash package, determine the package information of the first flash package;

[0016] Determine the first matching degree between the packet information of the first flash package and the packet information of the second flash package;

[0017] If the first matching degree is not greater than the first preset threshold, the storage path of the first flashing package is obtained from the second electronic device.

[0018] In another possible implementation, the third electronic device is further configured to display a prompt message and adjust the status of the second publishing option to an uneditable state when the first matching degree is greater than the first preset threshold; the prompt message is used to indicate that the same flash package is prohibited from being published repeatedly.

[0019] In another possible implementation, the publishing interface also includes: information input options;

[0020] The second electronic device is configured to, in response to a triggering operation of the upload option, obtain the storage path and package information of the first flash package from the first electronic device;

[0021] In response to a trigger operation on the information input option, the packet information of the first flash package is obtained;

[0022] In response to the triggering operation of the first release option, a second matching degree is determined; the second matching degree is used to represent the matching degree between the package information of the first flash package obtained from the first electronic device and the package information of the first flash package obtained based on the information input option;

[0023] If the second matching degree is greater than the second preset threshold, the first flash package is published in the ALM system based on the storage path of the first flash package.

[0024] In another possible implementation, the third electronic device is also used to create the data structure of the target controller;

[0025] Based on the data structure of the target controller, the first flash package is loaded into the target controller.

[0026] On the other hand, embodiments of this application provide a method for publishing a flashable package, the method comprising:

[0027] The second electronic device performs requirement and test management on the first flash package of the target controller in the vehicle in the Software Lifecycle Management (ALM) system.

[0028] If the first flash package passes the test, the first electronic device stores the first flash package in the version control SVN system.

[0029] When the first flash package passes the test, the second electronic device displays a publishing interface, which includes an upload option and a first publishing option. In response to a trigger operation on the upload option, the storage path of the first flash package is obtained from the first electronic device. In response to a trigger operation on the first publishing option, the first flash package is published in the ALM system based on the storage path of the first flash package.

[0030] The third electronic device displays a control interface, which includes a software information option and a second release option. In response to a trigger operation on the software information option, the storage path of the first flash package is obtained from the second electronic device. Based on the storage path of the first flash package, the first flash package is obtained from the first electronic device. The first flash package is loaded into the target controller. In response to a trigger operation on the second release option, the first flash package is released in the Product Lifecycle Management (PLM) system.

[0031] In one possible implementation, the second electronic device, in response to a triggering operation of the upload option, obtains the storage path of the first flash package from the first electronic device, including:

[0032] In response to a triggering operation of the software information option, the second electronic device determines the attribute information of the target controller corresponding to the first flash package;

[0033] The second electronic device determines the release item information for publishing the first flash package based on the attribute information of the target controller;

[0034] If the target controller does not load the flash package, the second electronic device obtains the storage path of the first flash package from the second electronic device based on the release item information of the first flash package and the attribute information of the target controller.

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

[0036] When the target controller loads the second flash package, the third electronic device determines the package information of the second flash package;

[0037] The third electronic device determines the package information of the first flash package based on the release item information of the first flash package;

[0038] The third electronic device determines a first matching degree between the packet information of the first flashing package and the packet information of the second flashing package;

[0039] If the first matching degree is not greater than the first preset threshold, the third electronic device obtains the storage path of the first flash package from the second electronic device.

[0040] In another possible implementation, the method further includes:

[0041] If the first matching degree is greater than the first preset threshold, the third electronic device displays a prompt message and adjusts the status of the second publishing option to an uneditable state; the prompt message is used to indicate that it is forbidden to repeatedly publish the same flash package.

[0042] In another possible implementation, the publishing interface also includes: information input options;

[0043] In response to a trigger operation on the upload option, the second electronic device obtains the storage path of the first flash package from the first electronic device; in response to a trigger operation on the first publish option, it publishes the first flash package in the ALM system based on the storage path of the first flash package, including:

[0044] In response to the triggering operation of the upload option, the second electronic device obtains the storage path and package information of the first flash package from the first electronic device;

[0045] In response to a triggering operation of the information input option, the second electronic device acquires the packet information of the input first flash package;

[0046] In response to a triggering operation of the first release option, the second electronic device determines a second matching degree; the second matching degree is used to represent the matching degree between the package information of the first flash package obtained from the first electronic device and the package information of the first flash package obtained based on the information input option;

[0047] If the second matching degree is greater than the second preset threshold, the second electronic device publishes the first flash package in the ALM system based on the storage path of the first flash package.

[0048] In another possible implementation, the third electronic device loads the first flash package into the target controller, including:

[0049] The third electronic device creates the data structure of the target controller;

[0050] The third electronic device loads the first flashing package into the target controller based on the target controller's data structure.

[0051] 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 flash package publishing method described in the first electronic device, the second electronic device, or the third electronic device.

[0052] 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 flash package distribution method described in any of the above claims.

[0053] On the other hand, embodiments of this application provide a computer program product, which stores at least one piece of program code. The at least one program is loaded and executed by a processor to implement the flashing package distribution method described in any of the above claims.

[0054] This application provides a flashable package publishing system. Before publishing the flashable package in the PLM system, the system first stores the storage path of the flashable package in the ALM system and publishes the flashable package there. Then, based on the storage path of the flashable package in the ALM system, it retrieves the flashable package from the SVN system and finally publishes the flashable package in the PLM system. Since the flashable package published in the PLM system is the same as the one published in the ALM system, and the requirements and testing process of the flashable package are also managed in the ALM system, when problems occur during the application of the flashable package, the relationship between the flashable package and its requirements and testing process can be traced in the ALM system, thereby ensuring the quality of the flashable package. Attached Figure Description

[0055] Figure 1 This is a schematic diagram of a flashing package distribution system provided in an embodiment of this application;

[0056] Figure 2 This is a flowchart of a flashing package publishing method provided in an embodiment of this application;

[0057] Figure 3 This is a schematic diagram illustrating a method for distributing a flashing package, as provided in an embodiment of this application.

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

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

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

[0061] 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.

[0062] 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 flashing packages, storage paths of flashing packages, and package information involved in this application were all obtained with full authorization.

[0063] This application provides a flashing package distribution system, see [link to relevant documentation]. Figure 1 The system includes: a first electronic device 10, a second electronic device 20, and a third electronic device 30; the first electronic device 10 is equipped with an SVN (Subversion) system, the second electronic device 20 is equipped with an ALM (Application Lifecycle Management) system, and the third electronic device 30 is equipped with a PLM (Product Lifecycle Management) system.

[0064] The second electronic device 20 is used for requirements and test management of the first flash package of the target controller in the vehicle in the ALM system;

[0065] First electronic device 10, used to store the first flash package in the SVN system if the first flash package passes the test;

[0066] The second electronic device 20 is also configured to display a publishing interface, which includes an upload option and a first publishing option, when the first flash package passes the test; in response to a trigger operation on the upload option, obtain the storage path of the first flash package from the first electronic device 10; and in response to a trigger operation on the first publishing option, publish the first flash package in the ALM system based on the storage path of the first flash package.

[0067] The third electronic device 30 is used to display a control interface, which includes a software information option and a second release option; in response to a trigger operation on the software information option, it obtains the storage path of the first flash package from the second electronic device 20; based on the storage path of the first flash package, it obtains the first flash package from the first electronic device 10; loads the first flash package into the target controller; and in response to a trigger operation on the second release option, it releases the first flash package in the PLM system.

[0068] In this embodiment, the first electronic device 10 and the second electronic device 20 can be connected via a wireless or wired network, and the second electronic device 20 and the third electronic device 30 can be connected via a wireless or wired network. The target controller can be any controller in the vehicle.

[0069] The SVN system adopts a client / server architecture. Accordingly, the first electronic device 10 can provide a first terminal 101 and a first server 102. The first terminal 101 and the first server 102 can be connected via a wireless or wired network. The first terminal 101 is equipped with an SVN client, and the first server 102 is the server for the SVN client.

[0070] The ALM system can adopt either a client / server architecture or a browser / server architecture. Correspondingly, the second electronic device 20 can serve as a second terminal 201 and a second server 202. If the ALM system adopts a client / server architecture, an ALM client is installed on the second terminal 201, and the second server 202 acts as the server for the ALM client. If the ALM system adopts a browser / server architecture, a browser is installed on the second terminal 201. The second terminal 201 obtains the first URL information from the browser and then displays the website interface corresponding to the first URL information. The second server 202 acts as the website server for the website corresponding to the first URL information.

[0071] A PLM system can employ either a client / server architecture or a browser / server architecture. Accordingly, the third electronic device 30 can serve as a third terminal 301 and a third server 302. If the PLM system uses a client / server architecture, a PLM client is installed on the third terminal 301, and the third server 302 acts as the server for the PLM client. If the PLM system uses a browser / server architecture, a browser is installed on the third terminal 301. The third terminal 301 retrieves the second URL information from the browser and then displays the website interface corresponding to the second URL information. The third server 302 acts as the website server for the website corresponding to the second URL information.

[0072] This application provides a flashable package publishing system. Before publishing the flashable package in the PLM system, the system first stores the storage path of the flashable package in the ALM system and publishes the flashable package there. Then, based on the storage path of the flashable package in the ALM system, it retrieves the flashable package from the SVN system and finally publishes the flashable package in the PLM system. Since the flashable package published in the PLM system is the same as the one published in the ALM system, and the requirements and testing process of the flashable package are also managed in the ALM system, when problems occur during the application of the flashable package, the relationship between the flashable package and its requirements and testing process can be traced in the ALM system, thereby ensuring the quality of the flashable package.

[0073] In this embodiment of the application, before publishing the first flash package in the PLM system, the first flash package is published in the ALM system. The process of publishing the first flash package in the ALM system will be described below.

[0074] The second electronic device 20 displays a publishing interface, which includes upload options, first publishing options, and information input options;

[0075] In response to the triggering operation of the upload option, the second electronic device 20 obtains the storage path and package information of the first flash package from the first electronic device 10;

[0076] In response to a trigger operation on the information input option, the second electronic device 20 acquires the packet information of the input first flash packet;

[0077] In response to a triggering operation of the first release option, the second electronic device 20 determines a second matching degree; the second matching degree is used to represent the matching degree between the packet information of the first flash package obtained from the first electronic device 10 and the packet information of the first flash package obtained based on the information input option;

[0078] If the second matching degree is greater than the second preset threshold, the second electronic device 20 publishes the first flash package in the ALM system based on the storage path of the flash package.

[0079] After the second electronic device 20 publishes the first flash package in the ALM system, the third electronic device 30 will then publish the first flash package in the PLM system. Before publishing the first flash package in the PLM system, the third electronic device 30 needs to create the target controller's data structure, which includes: the target controller's type, hardware information, first software information, and second software information for the first flash package.

[0080] The process of the third electronic device 30 publishing the first flash package will be described below. When the third electronic device 30 publishes the first flash package, the target controller may or may not have loaded the flash package, which will be described separately below.

[0081] If the flash package is not loaded in the target controller, the third electronic device 30 can obtain the storage path of the first flash package from the second electronic device 20 in the following manner. The process is as follows: the third electronic device 30, in response to a trigger operation on the software information option, determines the attribute information of the target controller corresponding to the first flash package; based on the attribute information of the target controller, determines the release item information for publishing the first flash package; and, if the target controller is not loaded with the flash package, obtains the storage path of the first flash package from the second electronic device 20 based on the release item information of the first flash package and the attribute information of the target controller.

[0082] If the target controller has already recorded the second flash package, the third electronic device 30 first determines whether the second flash package is consistent with the first flash package. If they are inconsistent, the third electronic device 30 then obtains the storage path of the first flash package from the second electronic device 20. This process is as follows: the third electronic device 30 is also used to determine the package information of the second flash package when the target controller loads the second flash package; determine the package information of the first flash package based on the publication information of the first flash package; determine a first matching degree between the package information of the first flash package and the package information of the second flash package; and obtain the storage path of the first flash package from the second electronic device 20 if the first matching degree is not greater than a first preset threshold.

[0083] If the second flash package is identical to the first flash package, that is, the first matching degree is greater than the first preset threshold, the third electronic device 30 displays a prompt message and adjusts the status of the second published item to an uneditable state; the prompt message is used to indicate that it is forbidden to publish the same flash package repeatedly.

[0084] In this embodiment, after the third electronic device 30 obtains the storage path of the first flash package, it retrieves the first flash package from the first electronic device 10 based on the storage path of the first flash package, and loads the first flash package into the target controller based on the pre-created data structure of the target controller. Then, in response to the triggering operation of the second release option, the first flash package is released in the PLM system.

[0085] This application provides a flashable package publishing system. Before publishing the flashable package in the PLM system, the system first stores the storage path of the flashable package in the ALM system and publishes the flashable package there. Then, based on the storage path of the flashable package in the ALM system, it retrieves the flashable package from the SVN system and finally publishes it in the PLM system. Since the flashable package published in the PLM system is the same as the one published in the ALM system, and the requirements and testing process of the flashable package are also managed in the ALM system, when problems arise during the application of the flashable package, the relationship between the flashable package and its requirements and testing process can be traced in the ALM system, thereby ensuring the quality of the flashable package.

[0086] This application provides a method for publishing a flashing package; see [link to relevant documentation]. Figure 2 The method, performed by a first electronic device, a second electronic device, and a third electronic device, includes:

[0087] Step 201: The second electronic device performs requirement and test management on the first flash package of the target controller in the vehicle in the ALM system.

[0088] The second electronic device manages the requirements and testing process of the first flash package in the ALM system according to the business scenario of the target controller. The requirements and test data of the first flash package are stored in the ALM system. This requirements and test data includes requirement data, test cases, test execution, issue management, change management, etc. The requirement data includes controller system requirement data and software requirement data, and the test cases include software unit tests, software integration tests, software qualification tests, system integration tests, and system qualification tests.

[0089] In this step, the requirements and testing process for the first flash package mainly focus on the coverage and execution results of test cases and requirements. The second electronic device provides a requirement traceability matrix and a requirement test case result report. Based on the requirement traceability matrix and requirement test case result report of the second electronic device, it is determined that the requirements are covered by test cases and the tests are completed. Then, the first electronic device executes step 202.

[0090] Step 202: If the first flash package passes the test, the first electronic device stores the first flash package in the SVN system.

[0091] The first electronic device can provide a first terminal and a first server. The first terminal has an SVN client installed, and the first server is a server for the SVN client. If the first flash package passes the test, the first terminal converts the format of the control program in the first flash package to a preset format, names the first flash package according to preset rules, and then stores the first flash package to the first server based on the SVN client. See [link to relevant documentation]. Figure 3 .

[0092] Accordingly, the process can be as follows: in response to the first terminal logging into the SVN client, the first terminal displays the first menu interface of the SVN client; in response to the triggering operation of the storage option in the first menu interface, the first terminal sends the first flash package to the first server, and the first server stores the first flash package.

[0093] Step 203: If the first flashing package passes the test, the second electronic device displays the release interface.

[0094] If the first flash package passes the test, the operator can create a release item in the controller project, determine the release item information, and display the release interface based on the release item information. Correspondingly, the second electronic device displays a second menu interface. In response to a trigger operation on the creation option in the second menu interface, the second electronic device displays the release interface. This release interface includes: an upload option and a first release option.

[0095] Step 204: In response to the triggering operation of the upload option, the second electronic device obtains the storage path of the first flash package from the first electronic device.

[0096] In response to the triggering of the upload option, the second electronic device sends a first path retrieval request to the first electronic device via the interface between the ALM system and the SVN system. This first path retrieval request carries the packet identifier of the first flash package. Based on the packet identifier of the first flash package, the first electronic device determines the storage path and package information of the first flash package, and then sends the storage path and package information of the first flash package to the second electronic device.

[0097] After receiving the storage path and package information of the first flash package, the second electronic device can store the storage path and package information of the first flash package according to the controller project name and the published item information.

[0098] Step 205: In response to the triggering operation of the first release option, the second electronic device releases the first flash package in the ALM system based on the storage path of the first flash package.

[0099] The publishing interface also includes an information input option. In response to a trigger operation on the information input option, the second electronic device acquires the packet information of the input first flash package. In response to a trigger operation on the first publishing option, the second electronic device determines a second matching degree. If the second matching degree is greater than a second preset threshold, the second electronic device publishes the first flash package in the ALM system based on the storage path of the first flash package. The second matching degree represents the degree of matching between the packet information of the first flash package acquired from the first electronic device and the packet information of the first flash package acquired based on the information input option.

[0100] In this implementation, the second electronic device, based on the information input options, can obtain not only the package information of the first flash package but also basic information of the target controller, such as the target controller's part number, flash package version, and hardware version. The package information of the first flash package includes the name of the first flash package.

[0101] In one possible implementation, the package name of the first flash package can consist of 7 segments, each separated by an underscore. The second segment is consistent with the part number of the target controller, the third segment is consistent with the flash package version, and the seventh segment is the year, month, and day in the format YYYYMMDD, conforming to date rules. Other segments are not required.

[0102] In this implementation, in response to the triggering operation of the first release option, the second electronic device determines a second matching degree. If the second matching degree is greater than a second preset threshold, it indicates that the package information of the first flash package obtained from the first electronic device is consistent with the package information obtained based on the information input option information. Then, based on the storage path of the first flash package, the first flash package is released in the ALM system, and the version of the first flash package is frozen. See also... Figure 3 If the second matching degree is not greater than the second preset threshold, it indicates that the two are inconsistent, and the second electronic device displays a first prompt message. This first prompt message is used to indicate that the release of the first flash package is prohibited. In the ALM system, the release process only requires one approval point.

[0103] In this embodiment of the application, by publishing the flash package in the ALM system, the traceability relationship between the flash package and the development process such as requirements and testing in the embedded software development process is maintained, thereby providing a means of ensuring software quality.

[0104] Step 206: The third electronic device displays the control interface.

[0105] After successfully publishing the first flash package in the ALM system, in one possible implementation, in response to the third electronic device logging into the PLM client, the third electronic device displays the third menu interface of the PLM client, which includes controller item options. In response to a trigger operation on the controller item options, the third electronic device displays a control interface, which includes software information options and a second release option.

[0106] It should be noted that before displaying the control interface, the third electronic device first creates a data structure for the target controller. This data structure includes the target controller type, hardware information, first software information, and second software information from the first flashing package. The second software information from the first flashing package consists of application information from the application software, parameter information from the calibration software, or driver information from the driver software.

[0107] In this implementation, the third electronic device can create the target controller's data structure based on the part number requested through EWO (Engineering Work Orders) and a predefined display interface template. Of course, the third electronic device can also create the target controller's data structure in other ways; no specific limitations are imposed on this.

[0108] Step 207: In response to the triggering operation of the software information option, the third electronic device obtains the storage path of the first flash package from the second electronic device.

[0109] This step can be achieved through the following steps (1) to (7), including:

[0110] (1) In response to the triggering operation of the software information option, the third electronic device determines the attribute information of the target controller corresponding to the first flash package.

[0111] In response to a trigger operation on the software information options, the third electronic device obtains the controller project name and uses it as the attribute information of the target controller. The controller project name can be either input based on the software information options or selected based on the software information options.

[0112] (2) The third electronic device determines the release item information of the first flash package based on the attribute information of the target controller.

[0113] The third electronic device determines the release item information of the first flash package based on the controller project name. This release item information includes the release item name and number.

[0114] (3) If the target controller does not load the flash package, the third electronic device obtains the storage path of the first flash package from the second electronic device based on the release item information of the first flash package and the attribute information of the target controller.

[0115] After determining the publication information of the first flash package, the third electronic device, based on the attribute information of the target controller and the publication information of the first flash package, determines the data object to be loaded with the first flash package, i.e., the target controller. After locking the target controller, the third electronic device determines whether the flash package is loaded in the target controller. If the flash package is not loaded in the target controller, the third electronic device, based on the publication information of the first flash package and the attribute information of the target controller, sends a second path acquisition request to the second electronic device through the interface between the PLM system and the ALM system. The second path acquisition request carries the attribute information of the target controller and the publication information of the first flash package. Based on the attribute information of the target controller and the publication information of the first flash package, the second electronic device searches for the storage path of the first flash package. Once the storage path of the first flash package is found, it sends the storage path of the first flash package to the third electronic device.

[0116] It should be noted that if the target controller does not have the flash package loaded, the third electronic device will directly execute step 208 after obtaining the storage path of the first flash package in this step, without needing to execute steps (4) to (7). If the target controller has the flash package loaded, the third electronic device will execute steps (4) to (7) after completing step (2), and will directly execute step 208 after obtaining the storage path of the first flash package.

[0117] (4) When the target controller loads the second flash package, the third electronic device determines the package information of the second flash package.

[0118] When the second flash package is loaded in the target controller, the third electronic device determines the package name of the second flash package.

[0119] (5) The third electronic device determines the package information of the first flash package based on the release item information of the first flash package.

[0120] Based on the release information of the first flashing package and the attribute information of the target controller, the third electronic device sends a first acquisition request to the second electronic device through the interface between the PLM system and the ALM system. The first acquisition request carries the attribute information of the target controller and the release information of the first flashing package.

[0121] In one possible implementation, the second electronic device determines the packet information of the first flashing package based on the attribute information of the target controller and the publication information of the first flashing package, and sends the packet information of the first flashing package to the third electronic device.

[0122] In another possible implementation, the second electronic device locates the storage path of the first flash package based on the attribute information of the target controller and the publication information of the first flash package, determines the package information of the first flash package, and sends the storage path and package information of the first flash package to the third electronic device.

[0123] (6) The third electronic device determines the first matching degree between the packet information of the first flashing packet and the packet information of the second flashing packet.

[0124] The third electronic device determines whether the package name of the first flash package matches the package name of the second flash package. If they match, the third electronic device displays a prompt message and adjusts the status of the second release option to an uneditable state. This prompt message is used to indicate that the same flash package is prohibited from being released repeatedly. If they do not match, the third electronic device executes step (7).

[0125] (7) If the first matching degree is not greater than the first preset threshold, the third electronic device obtains the storage path of the first flash package from the second electronic device.

[0126] If in step (5) the second electronic device only sends the packet information of the first flashing packet to the third electronic device, then if the first matching degree is not greater than the first preset threshold, the third electronic device sends a third path acquisition request to the second electronic device, the third path acquisition request carrying the packet information of the first flashing packet. Based on the packet information of the first flashing packet, the second electronic device searches for the storage path of the first flashing packet, and then sends the storage path of the first flashing packet to the third electronic device.

[0127] If the second electronic device sends the packet information and storage path of the first flashing packet to the third electronic device in step (5), then if the first matching degree is not greater than the first preset threshold, the third electronic device directly executes step 208 based on the storage path of the first flashing packet obtained in step (5).

[0128] In this embodiment of the application, the naming standardization of the flashing package is ensured through system verification, problems are identified in advance, and major impacts caused by problems in the production line, after-sales and other application processes are avoided, which helps the normal development of flashing packages for vehicle projects.

[0129] Furthermore, the interface between the PLM system and the ALM system enables the connection between the flashing package development process and the application, connecting the entire business chain from software development to data application, and realizing integrated closed-loop management of enterprise-level embedded software development process, data release, change, flashing and upgrade.

[0130] Step 208: The third electronic device retrieves the first flash package from the first electronic device based on the storage path of the first flash package, and loads the first flash package into the target controller.

[0131] The third electronic device, based on the storage path of the first flash package, sends a flash package retrieval request to the first server through the interface between the ALM system and the SVN system. This request carries the package identifier of the first flash package. The first server determines the first flash package corresponding to the package identifier and sends it to the third electronic device. After receiving the first flash package, the third electronic device loads it into the target controller based on a pre-created data structure.

[0132] Step 209: In response to the triggering operation of the second release option, the third electronic device releases the first flash package in the PLM system.

[0133] In response to the triggering of the second release option, the third electronic device performs a maturity release of the first flash package in the PLM system. See also... Figure 3 .

[0134] In this embodiment, the third electronic device maintains the software and hardware information of the target controller based on the PLM system, and then freezes the maturity release of the first flash package through the change system. This not only provides basic data for the functional verification of the target controller and downstream production line manufacturing, but also provides software entity data for vehicle testing, production, after-sales service, OTA and other applications.

[0135] This application provides a method for publishing a flashable package. Before publishing the flashable package in the PLM system, the method first stores the storage path of the flashable package in the ALM system and publishes the flashable package there. Then, based on the storage path of the flashable package in the ALM system, it retrieves the flashable package from the SVN system. Finally, it publishes the flashable package in the PLM system. Since the flashable package published in the PLM system is the same as the flashable package published in the ALM system, and the requirements and testing process of the flashable package are also managed in the ALM system, when problems occur during the application of the flashable package, the relationship between the flashable package and its requirements and testing process can be traced in the ALM system, thereby ensuring the quality of the flashable package.

[0136] refer to Figure 4 , Figure 4 This illustration shows a structural block diagram of a terminal 400 provided in an exemplary embodiment of this application. The terminal 400 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 400 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0137] Typically, terminal 400 includes a processor 401 and a memory 402.

[0138] Processor 401 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 401 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 401 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 401 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 401 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0139] The memory 402 may include one or more computer-readable storage media, which may be non-transitory. The memory 402 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 402 are used to store at least one line of program code, which is executed by the processor 401 to implement the operations performed by the terminal in the flash package publishing method provided in the method embodiments of this application.

[0140] In some embodiments, the terminal 400 may also optionally include a peripheral device interface 403 and at least one peripheral device. The processor 401, memory 402, and peripheral device interface 403 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 404, a display screen 405, a camera assembly 406, an audio circuit 407, and a power supply 408.

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

[0142] The radio frequency (RF) circuit 404 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 404 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 404 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 404 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 404 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0143] Display screen 405 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 405 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 401 for processing. In this case, display screen 405 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 405, disposed on the front panel of terminal 400; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 400 or in a folded design; in other embodiments, display screen 405 may be a flexible display screen, disposed on a curved or folded surface of terminal 400. Furthermore, display screen 405 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 405 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).

[0144] The camera assembly 406 is used to acquire images or videos. Optionally, the camera assembly 406 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 406 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.

[0145] The audio circuit 407 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 401 for processing, or to the radio frequency circuit 404 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 400. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 401 or the radio frequency circuit 404 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 407 may also include a headphone jack.

[0146] Power supply 408 is used to power the various components in terminal 400. Power supply 408 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 408 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.

[0147] In some embodiments, the terminal 400 further includes one or more sensors 409. The one or more sensors 409 include, but are not limited to: an accelerometer 410, a gyroscope 411, a pressure sensor 412, an optical sensor 413, and a proximity sensor 414.

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

[0149] The gyroscope sensor 411 can detect the orientation and rotation angle of the terminal 400. The gyroscope sensor 411 can work in conjunction with the accelerometer sensor 410 to collect 3D motion data from the user on the terminal 400. Based on the data collected by the gyroscope sensor 411, the processor 401 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.

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

[0151] Optical sensor 413 is used to collect ambient light intensity. In one embodiment, processor 401 can control the display brightness of display screen 405 based on the ambient light intensity collected by optical sensor 413. Specifically, when the ambient light intensity is high, the display brightness of display screen 405 is increased; when the ambient light intensity is low, the display brightness of display screen 405 is decreased. In another embodiment, processor 401 can also dynamically adjust the shooting parameters of camera assembly 406 based on the ambient light intensity collected by optical sensor 413.

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

[0153] Those skilled in the art will understand that Figure 4 The structure shown does not constitute a limitation on terminal 400, and may include more or fewer components than shown, or combine certain components, or use different component arrangements. Terminal 400 can be any of the first terminal, second terminal, or third terminal.

[0154] For a server structure diagram, please refer to [link / reference]. Figure 5The server 500 can vary significantly due to differences in configuration or performance. It may include a central processing unit (CPU) 501 and a memory 502. The memory 502 stores at least one line of program code, which is loaded and executed by the processor 501 to perform the operations performed by the server in the aforementioned flashing method. Of course, the server 500 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input / output. The server 500 may also include other components for implementing device functions, which will not be elaborated here. The server 500 can be any of the first server, second server, or third server.

[0155] 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 flash package distribution method in the above embodiments.

[0156] In an exemplary embodiment, a computer program product is also provided, which stores at least one piece of program code, which is loaded and executed by a processor to implement the flash package distribution method in the above embodiments.

[0157] 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 flashing package distribution system, characterized by, The system comprises a first electronic device, a second electronic device and a third electronic device; the first electronic device is installed with a version control SVN system, the second electronic device is installed with a software life cycle management ALM system, and the third electronic device is installed with a product life cycle management PLM system; The second electronic device is configured to manage requirements and tests of a first flashing package of a target controller in a vehicle in the ALM system; The first electronic device is configured to store the first flashing package in the SVN system when the first flashing package passes the test; The second electronic device is further configured to display a release interface when the first flashing package passes the test, the release interface comprising an upload option, a first release option and an information input option; in response to a triggering operation on the upload option, the second electronic device is configured to acquire a storage path and package information of the first flashing package from the first electronic device; in response to a triggering operation on the information input option, the second electronic device is configured to acquire input package information of the first flashing package; in response to a triggering operation on the first release option, the second electronic device is configured to determine a second matching degree, wherein the second matching degree represents a matching degree between the package information of the first flashing package acquired from the first electronic device and the package information of the first flashing package acquired based on the information input option; and when the second matching degree is greater than a second preset threshold, the second electronic device is configured to release the first flashing package in the ALM system based on the storage path of the first flashing package. The third electronic device is configured to display a control interface, wherein the control interface comprises a software information option and a second release option; in response to a triggering operation on the software information option, the third electronic device is configured to acquire the storage path of the first flashing package from the second electronic device; based on the storage path of the first flashing package, the third electronic device is configured to acquire the first flashing package from the first electronic device; the third electronic device is configured to load the first flashing package into the target controller; and in response to a triggering operation on the second release option, the third electronic device is configured to release the first flashing package in the PLM system.

2. The system of claim 1, wherein, The third electronic device is configured to, in response to a triggering operation on the software information option, determine attribute information of a target controller corresponding to the first flashing package; determine release item information of the first flashing package based on the attribute information of the target controller; when the target controller is not loaded with a flashing package, acquire the storage path of the first flashing package from the second electronic device based on the release item information of the first flashing package and the attribute information of the target controller.

3. The system of claim 2, wherein, The third electronic device is further configured to, when the target controller is loaded with a second flashing package, determine package information of the second flashing package; determine the package information of the first flashing package based on the release item information of the first flashing package; determine a first matching degree between the package information of the first flashing package and the package information of the second flashing package; when the first matching degree is not greater than a first preset threshold, acquire the storage path of the first flashing package from the second electronic device.

4. The system of claim 3, wherein, The third electronic device is further configured to display a prompt message and adjust a state of the second publishing option to an uneditable state in a case where the first matching degree is greater than the first preset threshold; the prompt message is used to prompt that the same flashing package is prohibited from being published repeatedly.

5. The system of claim 1, wherein, The third electronic device is further configured to create a data structure of the target controller. The first flashing package is loaded into the target controller based on the data structure of the target controller.

6. A method of publishing a flash package, the method comprising: The method comprises: The second electronic device manages a demand and a test of a first flashing package of a target controller in a vehicle in an ALM system. The first electronic device stores the first flashing package in an SVN system in a case where the first flashing package passes the test. The second electronic device displays a publishing interface in a case where the first flashing package passes the test, the publishing interface comprising an upload option, a first publishing option and an information input option; the second electronic device acquires a storage path and package information of the first flashing package from the first electronic device in response to a triggering operation on the upload option; the second electronic device acquires input package information of the first flashing package in response to a triggering operation on the information input option; the second electronic device determines a second matching degree in response to a triggering operation on the first publishing option; the second matching degree represents a matching degree between the package information of the first flashing package acquired from the first electronic device and the package information of the first flashing package acquired based on the information input option; and the second electronic device publishes the first flashing package in the ALM system based on the storage path of the first flashing package in a case where the second matching degree is greater than a second preset threshold. The third electronic device displays a control interface, the control interface comprising a software information option and a second publishing option; the third electronic device acquires the storage path of the first flashing package from the second electronic device in response to a triggering operation on the software information option; the third electronic device acquires the first flashing package from the first electronic device based on the storage path of the first flashing package; the third electronic device loads the first flashing package into the target controller; and the third electronic device publishes the first flashing package in a PLM system in response to a triggering operation on the second publishing option.

7. An electronic device, comprising: The electronic device comprises a processor and a memory, the memory storing at least one program code, the at least one program code being loaded and executed by the processor to implement the flashing package publishing method of the first electronic device or the flashing package publishing method of the second electronic device or the flashing package publishing method of the third electronic device in claim 6.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores at least one program code, the at least one program code being loaded and executed by the processor to implement the flashing package publishing method in claim 6.

9. A computer program product, characterised in that, The computer program product stores at least one program code, the at least one program code being loaded and executed by the processor to implement the flashing package publishing method in claim 6.

Citation Information

Patent Citations

  • Brush-write test method, device and equipment of vehicle-mounted controller and storage medium

    CN115061450A

  • Product lifecycle model including software development

    US20170322776A1