Software component configuration checking method and device, computer equipment, readable storage medium and program product
By receiving configuration inspection instructions in the vehicle software complete vehicle project, exporting table components and obtaining search rules sets, and retrieving configuration information from architecture development tools, the problems of traditional manual inspections are solved, and high error rates are achieved with high efficiency software component configuration check.
Patent Information
- Application Number
- CN202411378893.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-10
AI Technical Summary
In vehicle software complete vehicle engineering, the traditional software component configuration inspection method is inefficient due to the time-consuming and labor-intensive and high error rate of manual inspection, and it is difficult to cope with complex and large amounts of data processing.
By receiving user configuration check instructions, exporting table components based on component identification, obtaining a predefined set of search rules, and retrieving and displaying configuration information from architecture development tools to achieve automated configuration checks.
It improves the efficiency of software component configuration checking, reduces the error rate, avoids errors caused by manual inspection of too many configuration items, and realizes the visual retrieval and display of key configuration information.
Smart Images

Figure CN119292694A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a method, apparatus, computer device, computer-readable storage medium, and computer program product for checking the configuration of a software component. Background Art
[0002] There are many software modules involved in the whole vehicle. Currently, the model-based graphical electronic and electrical architecture development tool (PREEvision) developed by Vector is often used to build models at the software architecture level. This construction is very complicated. There are too many component configuration items involved in software design. The items that the vehicle software engineer needs to check after completing the demand model construction are very complicated. The traditional component inspection method is to manually check each configuration of the software component one by one. This method is time-consuming and labor-intensive, and will lead to inspection errors. Summary of the invention
[0003] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for software component configuration checking that can improve the configuration checking efficiency of software components and reduce the error rate of checking in order to address the above technical problems.
[0004] In a first aspect, the present application provides a method for checking the configuration of a software component, comprising:
[0005] receiving a configuration check instruction from a user for a software component in a vehicle architecture development tool, wherein the configuration check instruction includes a component identifier of the software component;
[0006] Based on the component identifier, exporting a table component corresponding to the software component;
[0007] Obtaining a predefined search rule set associated with the table component;
[0008] Based on the retrieval rule set, the configuration information of the software component is retrieved from the architecture development tool, and the configuration information is displayed through the table component, so that the user can perform a configuration check on the software component based on the displayed configuration information.
[0009] In one embodiment, retrieving the configuration information of the software component from the architecture development tool based on the retrieval rule set includes:
[0010] Get the initial search data;
[0011] Acquire a target rule corresponding to the initial search formula data from the search rule set;
[0012] If the target rule is successfully obtained, then based on the initial search formula data and the corresponding target rule, the target configuration information of the software component is retrieved from the architecture development tool;
[0013] Generate new search formula data based on the target configuration information, update the initial search formula data based on the new search formula data, return to the step of acquiring the target rule corresponding to the initial search formula data from the search rule set and continue to execute until the acquisition of the target rule from the search rule set fails;
[0014] The target configuration information corresponding to each search formula data is used as the configuration information of the software component.
[0015] In one embodiment, obtaining initial search formula data includes:
[0016] Based on the component identifier, determining a configuration identifier of the configuration information currently to be retrieved of the software component;
[0017] Based on the configuration identifier, the initial search formula data is generated.
[0018] In one embodiment, the method further comprises:
[0019] Displaying the management interface of the architecture development tool;
[0020] receiving a user's selection operation for a table component configuration option in the management interface, and configuring a table component corresponding to the software component based on the selection operation for the table component configuration option;
[0021] receiving a user's selection operation for a search rule configuration option in the management interface, and configuring the search rule set based on the selection operation for the search rule configuration option;
[0022] An association relationship between the table component and the retrieval rule set is constructed.
[0023] In one embodiment, the method further comprises:
[0024] Construct multiple blank search rules;
[0025] Edit each blank search rule to obtain multiple search rules;
[0026] Based on the multiple rules, construct the search rule set;
[0027] The step of constructing an association relationship between the table component and the search rule set includes:
[0028] Construct an association relationship between the table columns in the table component and the retrieval rule set.
[0029] In one embodiment, each blank search rule is edited to obtain multiple search rules, including:
[0030] Edit multiple search terms;
[0031] For each search formula data, edit the configuration identifier of the configuration information corresponding to each search formula data;
[0032] Based on each retrieval formula data and the configuration identifier corresponding to each retrieval formula data, a corresponding retrieval rule is generated.
[0033] In a second aspect, the present application further provides a configuration checking device for a software component, characterized in that the device comprises:
[0034] A receiving module, configured to receive a configuration check instruction from a user for a software component in a vehicle architecture development tool, wherein the configuration check instruction includes a component identifier of the software component;
[0035] An export module, used for exporting a table component corresponding to the software component based on the component identifier;
[0036] An acquisition module, used for acquiring a predefined search rule set associated with the table component;
[0037] A display module is used to retrieve the configuration information of the software component from the architecture development tool based on the retrieval rule set, and display the configuration information through the table component to facilitate the user to perform configuration check on the software component based on the displayed configuration information.
[0038] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of each embodiment when executing the computer program.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method of each embodiment when executed by a processor.
[0040] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the methods of each embodiment when executed by a processor.
[0041] The above-mentioned software component configuration checking method, apparatus, computer equipment, computer-readable storage medium and computer program product, after receiving the user's configuration checking instruction for the software component in the vehicle's architecture development tool, the configuration checking instruction includes the component identification of the software component, so that based on the component identification, the table component corresponding to the software component is exported, and after obtaining the retrieval rule set associated with the table component, the configuration information of the software component is retrieved from the architecture development tool based on the retrieval rule set. In this way, based on the predefined retrieval rules, the configuration information that needs the user's attention can be retrieved, thereby realizing the retrieval of key configuration information. After the configuration information is displayed through the table component, the user performs a configuration check on the software component based on the displayed configuration information, and the user's inspection of key configuration information is realized by visually displaying the configuration information. It can be seen that the present application realizes the inspection of key configuration information by retrieving key configuration information and visually displaying the configuration information, avoiding the situation where manual inspection of too many configuration items leads to inspection errors, and also improving the efficiency of configuration item inspection of software components. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 A flowchart of a method for checking the configuration of a software component in one embodiment;
[0044] Figure 2 is a flowchart of a method for checking the configuration of a software component in another embodiment;
[0045] Figure 3 is a flowchart of a method for checking the configuration of a software component in another embodiment;
[0046] Figure 4 is a structural block diagram of a configuration checking device for a software component in one embodiment;
[0047] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] This application manually checks each configuration of the software component one by one, which has the following disadvantages:
[0050] 1. Manually identifying large amounts of data takes a lot of time, especially in scenarios that require rapid response, where manual processing speed may not be able to meet demand;
[0051] 2. When processing large amounts of data, manual recognition is easily affected by factors such as fatigue and distraction, resulting in recognition errors or omissions.
[0052] 3. The scalability of manual recognition is limited by human resources. When the amount of data increases, more manpower is required, which may be unrealistic or too costly.
[0053] 4. Manual identification of large amounts of data often involves repetitive work, which can lead to low efficiency and increase the risk of errors;
[0054] 5. Human recognition may be affected by subjective factors such as personal emotions and biases, while machine recognition is more objective
[0055] 6. When dealing with data that is highly complex or requires advanced analysis, manual recognition is difficult to achieve the depth and breadth of machine algorithms;
[0056] 7. When dealing with extremely large amounts of data, manual recognition may not be able to process effectively due to cognitive load, while the amount of data that machines can process is usually unlimited.
[0057] 8. In the long run, the cost of manually identifying large amounts of data may be much higher than automated machine recognition, especially in scenarios that require continuous monitoring and analysis;
[0058] 9. Manual verification may make mistakes due to negligence, misunderstanding or bias, while machine verification may make mistakes due to programming errors or data quality issues.
[0059] To solve the above problems, in one embodiment, Figure 1 As shown, a method for checking the configuration of a software component is provided. The method can automatically retrieve key configuration information, so that the user only needs to check the configuration items of the software component based on the retrieved key configuration information. This embodiment uses the method applied to a terminal as an example. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0060] Step 102: receiving a configuration check instruction from a user for a software component in a vehicle architecture development tool, wherein the configuration check instruction includes a component identifier of the software component;
[0061] The architecture development tool may be PREEVision, and the configuration check instruction indicates to check each configuration item of the software component, and each software (SW) component has a unique component identifier;
[0062] Step 104: export the table component corresponding to the software component based on the component identifier;
[0063] Each component identifies a table component, so that based on the component identification, a table component uniquely corresponding to the software component can be derived.
[0064] Step 106: Obtain a predefined search rule set associated with the table component;
[0065] The search rule set includes multiple predefined search rules; the search rule set is also associated with the table component.
[0066] Step 108: Based on the retrieval rule set, the configuration information of the software component is retrieved from the architecture development tool, and the configuration information is displayed through a table component, so that the user can perform a configuration check on the software component based on the displayed configuration information.
[0067] For each search rule in the search rule set, the search results corresponding to the search rule and requiring user attention are retrieved from the PREEVision model tree. The search results are the configuration information of the software component, so that the configuration information corresponding to each search rule can be retrieved;
[0068] The configuration information is displayed through a table component and an excl table is exported. The configuration information that the user needs to pay attention to is reflected in the excl table, so that the user can compare the displayed configuration information with the actual configuration information of the software component to perform a configuration check.
[0069] After the present application receives a configuration check instruction from a user for a software component in a vehicle architecture development tool, the configuration check instruction includes a component identifier of the software component, and thus, based on the component identifier, a table component corresponding to the software component is exported. After obtaining a retrieval rule set associated with the table component, the configuration information of the software component is retrieved from the architecture development tool based on the retrieval rule set. In this way, the configuration information that requires the user's attention can be retrieved based on predefined retrieval rules, thereby realizing the retrieval of key configuration information. After the configuration information is displayed through the table component, the user performs a configuration check on the software component based on the displayed configuration information, and realizes the user's check of key configuration information by visually displaying the configuration information. It can be seen that the present application realizes the check of key configuration information by retrieving key configuration information and visually displaying the configuration information, thereby avoiding the situation where manual inspection of too many configuration items leads to inspection errors, and also improves the efficiency of configuration item inspection of software components.
[0070] See also Figure 2 In one embodiment, based on the retrieval rule set, the configuration information of the software component is retrieved from the architecture development tool, including: step 202, obtaining initial retrieval formula data; step 204, obtaining the target rule corresponding to the initial retrieval formula data from the retrieval rule set; step 206, if the target rule is successfully obtained, then based on the initial retrieval formula data and the corresponding target rule, the target configuration information of the software component is retrieved from the architecture development tool; step 208, generating new retrieval formula data based on the target configuration information, updating the initial retrieval formula data based on the new retrieval formula data, returning to the step of obtaining the target rule corresponding to the initial retrieval formula data from the retrieval rule set and continuing to execute until the target rule fails to be obtained from the retrieval rule set; step 210, using the target configuration information corresponding to each retrieval formula data as the configuration information of the software component.
[0071] Each search rule defines corresponding search formula data and corresponding search results. There is an association relationship between multiple search rules. The specific association relationship can be: the search result of one search rule can be used as the search formula data of another search rule, thereby associating multiple search rules;
[0072] After obtaining the initial search formula data, based on the search formula data defined in each search rule, a target rule matching the search formula data with the initial search formula data can be obtained from multiple search rule sets. If the target rule is successfully obtained, the search result corresponding to the initial search formula data is found from the PREEVision model tree according to the target rule. The search result is the target configuration information of the software component.
[0073] The retrieval result corresponding to the target rule can be used as the retrieval formula data of the next retrieval rule, so the target configuration information can be used as the new retrieval formula data to update the initial retrieval formula data, and then return to execute to obtain the target rule corresponding to the initial retrieval formula data from the retrieval rule set. If the target rule is successfully obtained, the step of retrieving the target configuration information of the software component from the architecture development tool is performed based on the initial retrieval formula data and the corresponding target rule, until the configuration information of the software component is retrieved from the architecture development tool based on all retrieval rules in the retrieval rule set, or the target rule corresponding to the initial retrieval formula data cannot be obtained from the retrieval rule set.
[0074] The target configuration information corresponding to each search formula data is used as the configuration information of the software component, and the target configuration information corresponding to each search formula data is visually displayed through a table component.
[0075] For example, use PREEVision to create a query rule package for the atomic sftware cmponentgneric tble, create query rule 1, set the query formula data of the query rule to the atomic SW component SW port, and the query result to the atomic SW component adaptive port, create query rule 2, set the query formula data of the query rule to the atomic SW component adaptive port, and the query result to the service interface, create query rule 3, set the query formula data of the query rule to the service interface, and the query result to the interface deployment, create query rule 4, set the query formula data of the query rule to the interface configuration, and the query result to the service instance, create a new table column, associate the relevant query formula data, and you can retrieve the key elements of the atomic software component.
[0076] It can be seen that in this embodiment, multiple search rules are related to each other, and the search results of one search rule can be used as the search formula data of the next search rule. Therefore, according to the present application method, the target configuration information corresponding to each search formula data can be retrieved, thereby realizing the retrieval of key configuration information.
[0077] In one embodiment, obtaining initial search formula data includes: presetting and storing default initial search formula data, so that the pre-stored default initial search formula data can be obtained.
[0078] In one embodiment, obtaining initial search formula data includes: based on the association relationship between the above rules, there is a sequence between the multiple search rules, and based on the ranking between the multiple search rules, determining the search rule with the first ranking, and the search formula data corresponding to the search rule with the first ranking is the initial search formula data. For example, the ranking between the above search rules 1 to 4 is: search rule 1, search rule 2, search rule 3 and search rule 4, then the search rule with the first ranking is search rule 1.
[0079] In one embodiment, obtaining initial search formula data includes: determining a configuration identifier of configuration information of a software component to be currently searched based on a component identifier; and generating initial search formula data based on the configuration identifier.
[0080] For each software component, a configuration identifier of the configuration information to be retrieved of the software component is pre-set and pre-stored, so that based on the component identifier, the configuration identifier can be obtained from the storage area and used directly as initial retrieval formula data, or initial retrieval formula data can be generated based on the configuration identifier according to data generation rules.
[0081] For example, the configuration information to be retrieved of the software component is an atomic software component adaptive port, the pre-stored configuration identifier is a component adaptive port identifier, and the initial search formula data obtained based on the configuration identifier is an atomic software component software component port.
[0082] In the above embodiments, several methods for determining the initial search formula data are described, thereby improving the feasibility of the solution.
[0083] In one of the embodiments, the method further includes: displaying a management interface of the architecture development tool; receiving a user's selection operation for a table component configuration option in the management interface, and configuring a table component corresponding to the software component based on the selection operation for the table component configuration option; receiving a user's selection operation for a retrieval rule configuration option in the management interface, and configuring the retrieval rule set based on the selection operation for the retrieval rule configuration option; and establishing an association relationship between the table component and the retrieval rule set.
[0084] The management interface is displayed through the management module of PREEVision. If the management interface is not displayed in the current experimental ecosystem accounting (EEA) view, you need to click to open the management interface of the management module;
[0085] After receiving the user's selection operation for the table component configuration option in the management interface, the table component corresponding to the software component is created through the table editor configuration in PREEVision.
[0086] After receiving the user's selection operation for the search rule configuration option in the management interface, multiple search rules are created through the search rule module in PREEVision to obtain a search rule set. The created search rule set is then associated with the table component.
[0087] In this embodiment, a table component and a retrieval rule set can be created through PREEVision, and an association between the table component and the retrieval rule set can be established, thereby realizing the retrieval of key configuration information.
[0088] In one of the embodiments, the method further includes: constructing multiple blank search rules; editing each blank search rule to obtain multiple search rules; constructing the search rule set based on the multiple rules; the construction of the association relationship between the table component and the search rule set includes: constructing the association relationship between the table column in the table component and the search rule set.
[0089] Creating multiple blank search rules through the search rule module, editing each blank search rule, and performing detailed design on the blank search rule to obtain multiple search rules; the multiple search rules form a search rule set, compiling the multiple search rules in the search rule set, and then constructing an association relationship between a table column in a table component and the search rule set;
[0090] The association between the table columns and the search rule set in the table component is constructed, specifically including:
[0091] The search rule set is the associated element required for adding a new column to the table. A search rule set includes multiple search rules. The newly added column in the table will filter the configuration information according to all the associated search rules in a search rule set, so as to achieve the purpose of filtering out the configuration information that the user needs to pay attention to, thereby improving work efficiency.
[0092] In one of the embodiments, each blank search rule is edited to obtain multiple search rules, including: editing multiple search formula data; for each search formula data, editing the configuration identifier of the configuration information corresponding to each search formula data; based on each search formula data and the configuration identifier corresponding to each search formula data, generating a corresponding search rule.
[0093] For each blank search rule, define the search formula data in the current blank search rule, and define the configuration identifier to obtain the corresponding search rule. The configuration identifier is the identifier of the configuration information that can be retrieved by the search formula data. For example, when creating search rule 1, the defined search formula data is the atomic software component software component port, and the defined configuration identifier is the atomic software component adaptive port. When creating search rule 2, the defined search formula data is the atomic software component adaptive port, and the defined configuration identifier is the service interface.
[0094] It can be seen that the above describes the setting method of the retrieval rule, so that the key configuration information can be retrieved based on the set retrieval rule.
[0095] Reference Figure 3 , below, the overall solution of this application is described as follows:
[0096] S1. The user clicks on the designed atomic-level software component to export the table;
[0097] S2, determining whether the selected element is an atomic software component;
[0098] S3. If yes, determine the search rule set associated with the table component;
[0099] S4, according to the atomic software component software component port, retrieve and obtain the atomic software component adaptive port;
[0100] S5. Retrieve the service interface according to the adaptive port of the atomic software component;
[0101] S6. According to the service interface, retrieve and obtain the interface configuration;
[0102] S7. Retrieve the service instance according to the interface configuration;
[0103] S8. Visually display the adaptive ports, service interfaces, interface configurations, and service instances of atomic-level software components through table components.
[0104] In this application, users can export a table component by clicking on the designed atomic software component, thereby obtaining a retrieval rule set associated with the table component. Based on the retrieval rule set, the atomic software component's adaptive port, service interface, interface configuration, and service instance are retrieved and visualized through the table component, thereby realizing the inspection of key configuration information, avoiding the situation where manual inspection of too many configuration items leads to inspection errors, and improving the efficiency of configuration inspection.
[0105] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0106] Based on the same inventive concept, the embodiment of the present application also provides a software component configuration checking device for implementing the above-mentioned software component configuration checking method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiment of the configuration checking device for one or more software components provided below can refer to the limitations of the configuration checking method for software components above, and will not be repeated here.
[0107] In an exemplary embodiment, Figure 4 As shown, a configuration checking device 400 for a software component is provided, comprising:
[0108] A receiving module 401 is used to receive a configuration check instruction from a user for a software component in a vehicle architecture development tool, wherein the configuration check instruction includes a component identifier of the software component;
[0109] An export module 402, configured to export a table component corresponding to the software component based on the component identifier;
[0110] An acquisition module 403 is used to acquire a predefined search rule set associated with the table component;
[0111] The display module 404 is used to retrieve the configuration information of the software component from the architecture development tool based on the retrieval rule set, and display the configuration information through the table component to facilitate the user to perform configuration check on the software component based on the displayed configuration information.
[0112] In one embodiment, the display module 404 is specifically configured to:
[0113] Get the initial search data;
[0114] Acquire a target rule corresponding to the initial search formula data from the search rule set;
[0115] If the target rule is successfully obtained, then based on the initial search formula data and the corresponding target rule, the target configuration information of the software component is retrieved from the architecture development tool;
[0116] Generate new search formula data based on the target configuration information, update the initial search formula data based on the new search formula data, return to the step of acquiring the target rule corresponding to the initial search formula data from the search rule set and continue to execute until the acquisition of the target rule from the search rule set fails;
[0117] The target configuration information corresponding to each search formula data is used as the configuration information of the software component.
[0118] In one embodiment, when acquiring the initial search formula data, the display module 404 is specifically used to:
[0119] Based on the component identifier, determining a configuration identifier of the configuration information currently to be retrieved of the software component;
[0120] Based on the configuration identifier, the initial search formula data is generated.
[0121] In one embodiment, the apparatus further comprises a first building block, configured to:
[0122] Displaying the management interface of the architecture development tool;
[0123] receiving a user's selection operation for a table component configuration option in the management interface, and configuring a table component corresponding to the software component based on the selection operation for the table component configuration option;
[0124] receiving a user's selection operation for a search rule configuration option in the management interface, and configuring the search rule set based on the selection operation for the search rule configuration option;
[0125] An association relationship between the table component and the retrieval rule set is constructed.
[0126] In one embodiment, the apparatus further comprises a second building block, configured to:
[0127] Construct multiple blank search rules;
[0128] Edit each blank search rule to obtain multiple search rules;
[0129] Based on the multiple rules, construct the search rule set;
[0130] When constructing the association relationship between the table component and the search rule set, the first construction module is specifically used to:
[0131] Construct an association relationship between the table columns in the table component and the retrieval rule set.
[0132] In one embodiment, when the second construction module edits each blank search rule to obtain multiple search rules, it is specifically used to:
[0133] Edit multiple search terms;
[0134] For each search formula data, edit the configuration identifier of the configuration information corresponding to each search formula data;
[0135] Based on each retrieval formula data and the configuration identifier corresponding to each retrieval formula data, a corresponding retrieval rule is generated.
[0136] Each module in the configuration inspection device of the above-mentioned software components can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0137] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store configuration check data of software components. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a configuration check method for a software component is implemented.
[0138] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0139] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0140] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0141] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0142] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0143] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0144] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0145] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for checking the configuration of a software component, characterized in that: The method comprises: receiving a configuration check instruction from a user for a software component in a vehicle architecture development tool, wherein the configuration check instruction includes a component identifier of the software component; Based on the component identifier, exporting a table component corresponding to the software component; Obtaining a predefined search rule set associated with the table component; Based on the retrieval rule set, the configuration information of the software component is retrieved from the architecture development tool, and the configuration information is displayed through the table component, so that the user can perform a configuration check on the software component based on the displayed configuration information.
2. The method according to claim 1, characterized in that The retrieving the configuration information of the software component from the architecture development tool based on the retrieval rule set includes: Get the initial search data; Acquire a target rule corresponding to the initial search formula data from the search rule set; If the target rule is successfully obtained, then based on the initial search formula data and the corresponding target rule, the target configuration information of the software component is retrieved from the architecture development tool; Generate new search formula data based on the target configuration information, update the initial search formula data based on the new search formula data, return to the step of acquiring the target rule corresponding to the initial search formula data from the search rule set and continue to execute until the acquisition of the target rule from the search rule set fails; The target configuration information corresponding to each search formula data is used as the configuration information of the software component.
3. The method according to claim 2, characterized in that The obtaining of initial search formula data includes: Based on the component identifier, determining a configuration identifier of the configuration information currently to be retrieved of the software component; Based on the configuration identifier, the initial search formula data is generated.
4. The method according to claim 2, characterized in that: The method further comprises: Displaying the management interface of the architecture development tool; receiving a user's selection operation for a table component configuration option in the management interface, and configuring a table component corresponding to the software component based on the selection operation for the table component configuration option; receiving a user's selection operation for a search rule configuration option in the management interface, and configuring the search rule set based on the selection operation for the search rule configuration option; An association relationship between the table component and the retrieval rule set is constructed.
5. The method according to claim 4, characterized in that The method further comprises: Construct multiple blank search rules; Edit each blank search rule to obtain multiple search rules; Based on the multiple rules, construct the search rule set; The step of constructing an association relationship between the table component and the search rule set includes: Construct an association relationship between the table columns in the table component and the retrieval rule set.
6. The method according to claim 5, characterized in that Edit each blank search rule to obtain multiple search rules, including: Edit multiple search terms; For each search formula data, edit the configuration identifier of the configuration information corresponding to each search formula data; Based on each retrieval formula data and the configuration identifier corresponding to each retrieval formula data, a corresponding retrieval rule is generated.
7. A configuration checking device for a software component, characterized in that: The device comprises: A receiving module, configured to receive a configuration check instruction from a user for a software component in a vehicle architecture development tool, wherein the configuration check instruction includes a component identifier of the software component; An export module, used for exporting a table component corresponding to the software component based on the component identifier; An acquisition module, used for acquiring a predefined search rule set associated with the table component; A display module is used to retrieve the configuration information of the software component from the architecture development tool based on the retrieval rule set, and display the configuration information through the table component to facilitate the user to perform configuration check on the software component based on the displayed configuration information.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Information processing method and device, electronic equipment and storage medium
CN120123225A