CN117742203A - Subsystem generation method - Google Patents

Subsystem generation method Download PDF

Info

Publication number
CN117742203A
CN117742203A CN202311669151.1A CN202311669151A CN117742203A CN 117742203 A CN117742203 A CN 117742203A CN 202311669151 A CN202311669151 A CN 202311669151A CN 117742203 A CN117742203 A CN 117742203A
Authority
CN
China
Prior art keywords
subsystem
information
interface
control interface
part control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311669151.1A
Other languages
Chinese (zh)
Inventor
韩伟
陈广博
杨博
余志春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jinmai Electronic Technology Co ltd
Original Assignee
Shanghai Jinmai Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jinmai Electronic Technology Co ltd filed Critical Shanghai Jinmai Electronic Technology Co ltd
Priority to CN202311669151.1A priority Critical patent/CN117742203A/en
Publication of CN117742203A publication Critical patent/CN117742203A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention discloses a subsystem generation method, and relates to the technical field of intelligent vehicles. The method comprises the following steps: acquiring interface information of a subsystem, a control object of the subsystem and a type of a vehicle part in a target vehicle; processing interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; and generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface aiming at each part control interface so as to carry out simulation test of the target vehicle on the part control interface. According to the technical scheme of the embodiment of the invention, the standard subsystem attribute information of the part control interface is obtained according to the interface information, the control object and the type of the vehicle part, so that the subsystem of the part control interface is generated, and the generation efficiency of the subsystem and the development efficiency of the service to which the subsystem belongs are improved.

Description

Subsystem generation method
Technical Field
The invention relates to the technical field of intelligent vehicles, in particular to a subsystem generation method.
Background
In the development process of the vehicle service, subsystems of interfaces among various hierarchies of the vehicle service are required to be configured on simulation equipment, and simulation tests are carried out on the configured subsystems of the interfaces so as to detect the reliability of the corresponding interfaces.
However, in the prior art, the subsystem of the interface is configured mainly by manual operation of a technician, and the subsystem has the defects of low configuration efficiency and low service development efficiency.
Disclosure of Invention
The invention provides a subsystem generation method, which is used for improving the generation efficiency of a subsystem.
In a first aspect, the present invention provides a subsystem generation method, including:
acquiring interface information of a subsystem, a control object of the subsystem and a type of a vehicle part in a target vehicle; the interface information comprises interface function description information, an interface function name and an interface return value type;
processing interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises subsystem names, subsystem function description information and subsystem return parameter types;
and generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface aiming at each part control interface so as to carry out simulation test of the target vehicle on the part control interface.
In a second aspect, the present invention further provides a subsystem generating device, including:
the interface information acquisition module is used for acquiring interface information of the subsystem, a control object of the subsystem and a type of a vehicle part in the target vehicle; the interface information comprises interface function description information, an interface function name and an interface return value type;
the attribute information acquisition module is used for processing the interface information according to the control object and the type of the vehicle part to obtain the standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises subsystem names, subsystem function description information and subsystem return parameter types;
the subsystem generation module is used for generating a subsystem of the part control interface for the target vehicle according to the standard subsystem parameters of the part control interface aiming at each part control interface so as to carry out simulation test of the target vehicle on the part control interface.
According to the embodiment of the invention, the interface information of the subsystem, the control object of the subsystem and the type of the vehicle part in the target vehicle are acquired; the interface information comprises interface function description information, an interface function name and an interface return value type; processing interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises subsystem names, subsystem function description information and subsystem return parameter types; and generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface aiming at each part control interface so as to carry out simulation test of the target vehicle on the part control interface. According to the technical scheme of the embodiment of the invention, the standard subsystem attribute information of the part control interface can be obtained according to the interface information, the control object and the type of the vehicle part, so that the subsystem of the part control interface is generated, and compared with the attribute information of the subsystem of the part control interface which is manually configured in the prior art, the generation efficiency of the subsystem is improved, and the simulation efficiency of the subsystem and the development efficiency of services to which the subsystem belongs are improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a subsystem generation method according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a subsystem generation method according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a subsystem generation method provided in accordance with a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a subsystem generating device according to a third embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It is noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and in the foregoing figures, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
In the technical scheme of the embodiment of the invention, the acquisition, storage, application and the like of the related interface information and the like all conform to the regulations of related laws and regulations, and the public sequence is not violated.
Example 1
Fig. 1 is a flowchart of a subsystem generation method according to a first embodiment of the present invention, where the embodiment is applicable to a case of generating a subsystem, and the method may be performed by a subsystem generation device, where the subsystem generation device may be implemented in hardware and/or software, and specifically configured in an electronic device, for example, a server.
Referring to the subsystem generation method shown in fig. 1, the method includes:
s101, acquiring interface information of a subsystem, a control object of the subsystem and a type of a vehicle part in a target vehicle; the interface information comprises interface function description information, an interface function name and an interface return value type.
In this embodiment, the subsystem may be a module in which functions inside the application program correspond to each other in the application program system. An application system may include at least one module, i.e., at least one subsystem, which may be part of the application system. The application system may model the application. The control object of the subsystem may be a component in the target vehicle controlled by the subsystem. Illustratively, the body control application includes a door opening function, a door locking function, a horn control function, and the like, the door opening function controlling a door motor through a door opening interface to open a door. Modeling a vehicle body control application program, wherein an application program system is the vehicle body control application program system, and subsystems of the vehicle body control application program can comprise a vehicle door opening subsystem, a vehicle door locking subsystem, a loudspeaker control subsystem and the like. The interface information of the door opening subsystem is the interface information of the door opening interface. The control object of the door opening subsystem is the door. In a specific embodiment, if the Simulink tool is used to model the application program, the application program system may be referred to as a model, that is, the Simulink tool is used to model the application program to obtain at least two layers of architecture, where a top layer architecture is a model and a next layer architecture adjacent to the top layer architecture is a subsystem.
In this embodiment, the target vehicle may be a vehicle of which the subsystem is to be generated. The vehicle component types may be of all components within the vehicle. The interface function description information can be used for representing the functions realized by the interface; the interface function name may be a function called by the interface; the interface return value type may be a data type of the return value of the interface.
S102, processing interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises a subsystem name, subsystem function description information and subsystem return parameter types.
In this embodiment, the component control interface may be the interface of the control component with the finest granularity. The standard subsystem attribute information may be attribute information of a subsystem in a standard format. The subsystem name may be the name of the subsystem; the subsystem function description information may be used to characterize a function implemented by the subsystem, the subsystem return parameter may be a parameter returned by the subsystem, and the subsystem return parameter type may be a data type of the subsystem return parameter.
Specifically, a certain algorithm is adopted, and interface information is processed according to the control object and the type of the vehicle part, so that standard subsystem attribute information of at least one part control interface of the target vehicle is obtained. It should be noted that, in this embodiment, interface information of the subsystem is standard interface information; and processing interface information according to the control object and the type of the vehicle part to obtain the standard subsystem attribute information of at least one part control interface of the target vehicle. Exemplary, the interface information of the subsystem is a standard for a door opening interface
Optionally, according to the control object and the type of the vehicle part, processing the interface information to obtain standard subsystem attribute information of at least one part control interface of the target vehicle, including: in the vehicle part types, inquiring the target part type matched with the control object; and modifying the interface information according to the target part type aiming at each target part type to obtain the standard subsystem attribute information of at least one part control interface of the target vehicle.
Specifically, in the types of the vehicle parts, the types of the parts of the control object are inquired, and the inquired result is used as the type of the target part matched with the control object; inquiring description information modification words, function modification words and return value type modification words of the target part types aiming at each target part type; modifying the interface function description information according to the description information modification words of the target part types, and taking the modified interface function description information as subsystem function description information of the part control interface; modifying interface function names according to function modification words of the target part types, and taking the modified interface function names as subsystem names of part control interfaces; and modifying the interface return value type according to the return value type modification word of the target part type, and taking the modified interface return value type as a subsystem return parameter type of the part control interface.
In a specific embodiment, the modification manner of the interface information may include inserting the modification word into the interface information at a fixed position, or replacing the modification word with the information at the fixed position in the interface information, etc.
The subsystem is an opening subsystem of the vehicle door, and the control object is the vehicle door, so that the type of the vehicle door is inquired in the type of the vehicle part, and each type of the vehicle door is used as the type of the target part matched with the vehicle door. If the types of the vehicle doors comprise a left front vehicle door type, a right front vehicle door type, a rear left vehicle door type and a right rear vehicle door type, inquiring that the types of target parts matched with the control object (vehicle door) are the left front vehicle door type, the right front vehicle door type, the rear left vehicle door type and the right rear vehicle door type; the interface information is the interface information of a door opening interface in a standard format: the interface function in the interface information is named as open (), the interface function description information is named as control door opening, and the interface return value type is named as BCM_Return code type. For the left front door, if the inquired description information modifier of the left front door is 'left front-', the modifier of the interface function name and the type of the interface return value is 'FLDoor_', the interface function name is modified to be 'FLDoor_open ()', and the modified interface function name is taken as a subsystem name; the interface function description information is modified into 'left front-control door open', the modified interface function description information is used as subsystem function description information, and the return value type is modified into 'FLDoor_BCM_Return code'; the modified interface return value type is used as a subsystem return parameter type to obtain the standard subsystem attribute information of the left front door opening interface; and obtaining the standard subsystem attribute information of the right front door opening interface, the right rear door opening interface and the left rear door opening interface by adopting similar steps.
It can be understood that, by adopting the above technical scheme, the type of the target part can be determined according to the control object of the subsystem, and the interface information is modified according to the type of the target part, so as to obtain the standard subsystem attribute information of the part control interface corresponding to the type of the target part.
S103, generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface aiming at each part control interface so as to perform simulation test of the target vehicle on the part control interface.
Specifically, inquiring a corresponding interface function in a database according to the interface function name, and taking the interface function corresponding to the interface function name as a logic function of the subsystem; taking the subsystem name as the name of the generated subsystem; and taking the subsystem return parameter type as the generated subsystem return parameter type to generate the subsystem of the part control interface. In a specific embodiment, if the subsystem return parameter types are sint8 (signed 8bit integer), uint8 (unsigned 8bit integer) and float32 (32 bit floating point type), the subsystem return parameter type is used as the generated subsystem return parameter type; otherwise, inquiring definition information of the subsystem return parameter type in the data type description file so as to define the return parameter type of the subsystem when the subsystem is generated; the definition information comprises description information of a return parameter type, definition information of the return parameter type and members of the return parameter type.
In an alternative implementation, after generating the subsystem of the component control interface, a preset script may also be used to configure the AutoSar (AUTomotive Open System Architecture, automobile open system architecture) attribute of the subsystem, so that the generated subsystem meets the requirements of the automobile open system architecture.
In an alternative embodiment, a subsystem of the component control interface is subjected to simulation test to obtain simulation test data of the subsystem of the component control interface; detecting whether the subsystem of the part control interface is abnormal or not according to the simulation test data; if the detection result of the subsystem of the part control interface is normal, generating an operation code of the subsystem of the part control interface, and deploying the operation code into a real vehicle system corresponding to the target vehicle.
The simulation test data may be data obtained by performing simulation test on a subsystem of the component control interface, and the simulation test data may include, but is not limited to, simulation results, response time, and the like. For example, if the response time of the subsystem in the simulation test is greater than a preset threshold, determining that the subsystem of the component control interface is abnormal; if the subsystem of the part control interface is a subsystem of the left front door opening interface, but the simulation result is that the left front door is not opened, determining that the subsystem of the left front door opening interface is abnormal.
It can be understood that by adopting the technical scheme, simulation test can be performed on the subsystem of the generated part control interface, and the running code of the subsystem of the part control interface with the normal detection result is deployed into the real vehicle system corresponding to the target vehicle, so that the accuracy of the subsystem is improved, and the running safety of the real vehicle with the running code of the subsystem is further improved.
According to the embodiment of the invention, the interface information of the subsystem, the control object of the subsystem and the type of the vehicle part in the target vehicle are acquired; the interface information comprises interface function description information, an interface function name and an interface return value type; processing interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises subsystem names, subsystem function description information and subsystem return parameter types; and generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface aiming at each part control interface so as to carry out simulation test of the target vehicle on the part control interface. According to the technical scheme of the embodiment of the invention, the standard subsystem attribute information of the part control interface can be obtained according to the interface information, the control object and the type of the vehicle part, so that the subsystem of the part control interface is generated, and compared with the attribute information of the subsystem of the part control interface which is manually configured in the prior art, the generation efficiency of the subsystem is improved, and the simulation efficiency of the subsystem and the development efficiency of services to which the subsystem belongs are improved.
Example two
Fig. 2 is a flowchart of a subsystem generation method provided in a second embodiment of the present invention, where the embodiment of the present invention performs additional optimization based on the technical solution of the foregoing embodiment.
Further, before generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface, adding application information of the subsystem; the application information comprises application name and application function description information; determining a target application system' to which a standard subsystem of a part control interface belongs according to whether the application information is historical information; after the subsystem of the part control interface is generated for the target vehicle according to the standard subsystem attribute information of the part control interface, the subsystem of each part control interface is additionally associated with the target application system so as to perfect the generation operation of the subsystem.
In the embodiments of the present invention, the details are not described, and reference may be made to the description of the foregoing embodiments.
Referring to the subsystem generation method shown in fig. 2, the method includes:
s201, acquiring interface information of a subsystem, a control object of the subsystem and a type of a vehicle part in a target vehicle; the interface information comprises interface function description information, an interface function name and an interface return value type.
S202, processing interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises a subsystem name, subsystem function description information and subsystem return parameter types.
S203, acquiring application information of the subsystem; the application information comprises application name and application function description information.
In this embodiment, the application information may be information of an application program to which the subsystem belongs. The application name may be the name of the application. The application function description information is used for characterizing functions implemented by the application program.
S204, determining a target application system to which the subsystem of the part control interface belongs according to whether the application information is historical information.
In this embodiment, the history information may be application information existing historically. The target application system may be an application system to which a subsystem of the component control interface belongs. Specifically, a certain algorithm is adopted, and a target application system to which a subsystem of the part control interface belongs is determined according to whether the application information is historical information or not. In an alternative embodiment, the application information of the subsystem may be queried in the database storing the application information, if the query result exists, the application information of the subsystem is determined to be history information, otherwise, the application information is newly added information.
Optionally, determining, according to whether the application information is history information, a target application system to which the standard subsystem of the component control interface belongs, includes: if the application information is the history information, inquiring a history application system corresponding to the application information, and determining the history application system as a target application system to which a subsystem of the part control interface belongs; if the application information is the newly added information, generating a target application system to which the subsystem of the part control interface belongs according to the application information.
The historical application system may be an application system that has been generated historically. Specifically, if the application information is newly added information, the application name is used as an application system name; the application function description information is used as application system function description information; wherein, the system name can be the name of the application system; the system function description information can be used for representing the functions realized by the application system; and generating a target application system to which the subsystem of the part control interface belongs according to the application system name and the application system description information.
It can be understood that by adopting the technical scheme, if the application information is newly added information, a target application system is generated; if the application information is the historical information, the historical application system obtained by query is used as the target application system, so that the repeated establishment of the same application program system is avoided, and the efficiency of determining the target application system is improved.
In an optional embodiment, if the application information is the new information, after generating the target application system to which the subsystem of the component control interface belongs according to the application information, the method further includes: and configuring system attributes and AutoSar of the target application system by adopting a preset attribute configuration script.
In an optional embodiment, if the application information is the new information, after generating the target application system to which the subsystem of the component control interface belongs according to the application information, the method further includes: the application information is associated with the target application system and stored in the database to take the application information as new history information and the target application system as a new history application system.
S205, generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface aiming at each part control interface so as to perform simulation test of the target vehicle on the part control interface.
S206, associating the subsystem of each part control interface with the target application system.
In an alternative embodiment, associating the subsystems of the component control interfaces with the target application system includes: and storing the storage files of the subsystems of the control interfaces of the parts into a storage path of the target application system.
The embodiment of the invention obtains the application information of the subsystem; the application information comprises application name and application function description information; determining a target application system to which a subsystem of a part control interface belongs according to whether the application information is historical information or not; and associating the subsystem of each part control interface with the target application system. According to the technical scheme provided by the embodiment of the invention, the target application system is determined, the subsystems of the component control interfaces are associated with the target application system, and the target application system is subjected to simulation test, namely, the subsystems of the component control interfaces associated with the target application system are subjected to simulation test, so that the subsystems of at least one component control interface can be subjected to simulation test at the same time, and the simulation test efficiency of the subsystems of the component control interfaces is improved.
Example III
Fig. 3 is a flowchart of a subsystem generating method according to a third embodiment of the present invention, where the embodiment of the present invention is optimized and improved based on the technical solution of the foregoing embodiment.
Further, the interface information of the acquisition subsystem is thinned into an interface description file of the acquisition subsystem and positioning identification information input by a user; determining the interface information position in the interface description file according to the positioning identification information; and acquiring the interface information of the subsystem in the interface information page so as to perfect the acquisition operation of the interface information of the subsystem.
In the embodiments of the present invention, the details are not described, and reference may be made to the description of the foregoing embodiments.
Referring to the subsystem generation method shown in fig. 3, the method includes:
s301, acquiring an interface description file of the subsystem and positioning identification information input by a user.
In this embodiment, the interface description file may be a file in which interface information of the subsystem is recorded. The location identification information may be used to uniquely identify a location in the interface description file. In a specific embodiment, the interface description file records not only the interface information of the subsystem, but also the definition information of the self-defined return parameter type.
S302, determining the interface information position in the interface description file according to the positioning identification information.
In this embodiment, the interface information location may be a location in the interface description file where the interface information of the subsystem is recorded. Specifically, a certain algorithm is adopted, and the position of interface information in the interface description file is determined according to the positioning identification information.
Optionally, determining the interface information position in the interface description file according to the positioning identification information includes: determining the information position in the interface description file identified by the positioning identification information as an alternative information position; checking whether an interface information identifier exists in the alternative information position; an alternative information location where the interface information identifier exists is determined as an interface information location.
Wherein the interface information identifier may be used to identify the interface information of the subsystem present in the corresponding information location of the interface description file.
It can be appreciated that by adopting the technical scheme, whether the interface information identifier exists in the alternative information position can be checked, the alternative information position with the interface information identifier is determined as the interface information position, the information position identified by the positioning identification information input by the user is prevented from being determined as the interface information position, the accuracy of the interface information position is improved, and the efficiency of acquiring the interface information position is further improved.
S303, acquiring interface information of the subsystem in an interface information page.
S304, acquiring a control object of the subsystem and a type of a vehicle part in the target vehicle; the interface information comprises interface function description information, an interface function name and an interface return value type.
S305, processing interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises a subsystem name, subsystem function description information and subsystem return parameter types.
S306, generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface aiming at each part control interface so as to perform simulation test of the target vehicle on the part control interface.
According to the technical scheme, the interface description file of the subsystem and the positioning identification information input by the user are obtained; determining the interface information position in the interface description file according to the positioning identification information; interface information of the subsystem is acquired in an interface information location. According to the technical scheme provided by the embodiment of the invention, the interface information position can be determined according to the positioning identification information input by the user, and the interface information of the subsystem is acquired in the interface information position, so that the flexibility of acquiring the interface information is improved.
Example IV
Fig. 4 is a schematic structural diagram of a subsystem generating device according to a fourth embodiment of the present invention. The embodiment of the invention can be applied to the case of generating a subsystem, the device can execute a subsystem generating method, the subsystem generating device can be realized in the form of hardware and/or software, and the device can be configured in electronic equipment, such as a server.
Referring to fig. 4, the subsystem generating device includes an interface information acquisition module 401, an attribute information determination module 402, and a subsystem generating module 403, wherein,
an interface information obtaining module 401, configured to obtain interface information of a subsystem, a control object of the subsystem, and a type of a vehicle component in a target vehicle; the interface information comprises interface function description information, an interface function name and an interface return value type;
the attribute information determining module 402 is configured to process the interface information according to the control object and the type of the vehicle component, to obtain standard subsystem attribute information of at least one component control interface of the target vehicle; the standard subsystem attribute information comprises subsystem names, subsystem function description information and subsystem return parameter types;
the subsystem generating module 403 is configured to generate, for each component control interface, a subsystem of the component control interface for the target vehicle according to the standard subsystem attribute information of the component control interface, so as to perform a simulation test on the target vehicle for the component control interface.
According to the embodiment of the invention, the interface information of the subsystem, the control object of the subsystem and the type of the vehicle part in the target vehicle are acquired through the interface information acquisition module; the interface information comprises interface function description information, an interface function name and an interface return value type; processing interface information according to the control object and the type of the vehicle part by an attribute information determining module to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises subsystem names, subsystem function description information and subsystem return parameter types; and generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface by a subsystem generation module aiming at each part control interface so as to perform simulation test of the target vehicle on the part control interface. According to the technical scheme of the embodiment of the invention, the standard subsystem attribute information of the part control interface can be obtained according to the interface information, the control object and the type of the vehicle part, so that the subsystem of the part control interface is generated, and compared with the attribute information of the subsystem of the part control interface which is manually configured in the prior art, the generation efficiency of the subsystem is improved, and the simulation efficiency of the subsystem and the development efficiency of services to which the subsystem belongs are improved.
Optionally, the apparatus further comprises:
the application information acquisition module is used for acquiring application information of the subsystem; the application information comprises application name and application function description information;
the system determining module is used for determining a target application system to which the standard subsystem of the part control interface belongs according to whether the application information is historical information or not;
and the association module is used for associating the subsystem of each part control interface with the target application system.
Optionally, the system determining module is specifically configured to:
if the application information is the history information, inquiring a history application system corresponding to the application information, and determining the history application system as a target application system to which a standard subsystem of the part control interface belongs;
and if the application information is the newly added information, processing the application information to obtain standard system parameters, and generating a target application system to which the standard subsystem of the part control interface belongs according to the standard system parameters.
Optionally, the interface information obtaining module 401 includes:
the identification information acquisition unit is used for acquiring the standard interface description file of the subsystem and positioning identification information input by a user;
the position determining unit is used for determining the position of the interface information in the interface description file according to the positioning identification information;
and the interface information acquisition unit is used for acquiring the interface information of the subsystem in the interface information page.
Optionally, the location determining unit is specifically configured to:
determining a page in the interface description file identified by the positioning identification information as an alternative page;
checking whether an interface information identifier exists in the alternative page;
an alternate page for which an interface information identifier exists is determined as an interface information page.
Optionally, the attribute information determining module 402 is specifically configured to:
in the vehicle part types, inquiring the target part type matched with the control object;
and modifying the interface information according to the target part type aiming at each target part type to obtain the standard subsystem attribute information of at least one part control interface of the target vehicle.
Optionally, the apparatus further comprises:
the simulation test data acquisition module is used for performing simulation test on the subsystem of the part control interface to obtain simulation test data of the subsystem of the part control interface;
the abnormality detection module is used for detecting whether the subsystem of the part control interface is abnormal or not according to the simulation test data;
and the running code generation module is used for generating the running code of the subsystem of the part control interface if the detection result of the subsystem of the part control interface is normal, and deploying the running code into a real vehicle system corresponding to the target vehicle.
The subsystem generation device provided by the embodiment of the invention can execute the subsystem generation method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the subsystem generation method.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (8)

1. A method of generating a subsystem, the method comprising:
acquiring interface information of a subsystem, a control object of the subsystem and a type of a vehicle part in a target vehicle; the interface information comprises interface function description information, an interface function name and an interface return value type;
processing the interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises a subsystem name, subsystem function description information and subsystem return parameter types;
and generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface aiming at each part control interface so as to carry out simulation test of the target vehicle on the part control interface.
2. The method of claim 1, further comprising, prior to generating the subsystem of the component control interface for the target vehicle based on the standard subsystem attribute information of the component control interface:
acquiring application information of a subsystem; the application information comprises application name and application function description information;
determining a target application system to which a subsystem of the part control interface belongs according to whether the application information is historical information or not;
correspondingly, after generating the subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface, the method further comprises:
and associating the subsystem of each part control interface with the target application system.
3. The method according to claim 2, wherein determining the target application system to which the subsystem of the component control interface belongs according to whether the application information is history information comprises:
if the application information is the historical information, inquiring a historical application system corresponding to the application information, and determining the historical application system as a target application system to which a subsystem of the part control interface belongs;
and if the application information is newly added information, generating a target application system to which the subsystem of the part control interface belongs according to the application information.
4. The method of claim 1, wherein the obtaining interface information of the subsystem comprises:
acquiring an interface description file of a subsystem and positioning identification information input by a user;
determining the interface information position in the interface description file according to the positioning identification information;
and acquiring the interface information of the subsystem in the interface information position.
5. The method of claim 4, wherein determining the location of the interface information in the interface description file based on the location identification information comprises:
determining the information position in the interface description file identified by the positioning identification information as an alternative information position;
checking whether an interface information identifier exists in the alternative information position;
an alternative information location where the interface information identifier exists is determined as an interface information location.
6. The method of claim 1, wherein the processing the interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle comprises:
querying a target part type matched with the control object in the vehicle part types;
and modifying the interface information according to the target part type aiming at each target part type to obtain the standard subsystem attribute information of at least one part control interface of the target vehicle.
7. The method according to claim 1, wherein the method further comprises:
performing simulation test on the subsystem of the part control interface to obtain simulation test data of the subsystem of the part control interface;
detecting whether the subsystem of the part control interface is abnormal according to the simulation test data;
if the detection result of the subsystem of the part control interface is normal, generating an operation code of the subsystem of the part control interface, and deploying the operation code into a real vehicle system corresponding to the target vehicle.
8. A sub-system generation apparatus, the apparatus comprising:
the interface information acquisition module is used for acquiring interface information of the subsystem, a control object of the subsystem and a type of a vehicle part in a target vehicle; the interface information comprises interface function description information, an interface function name and an interface return value type;
the attribute information determining module is used for processing the interface information according to the control object and the type of the vehicle part to obtain standard subsystem attribute information of at least one part control interface of the target vehicle; the standard subsystem attribute information comprises a subsystem name, subsystem function description information and subsystem return parameter types;
the subsystem generation module is used for generating a subsystem of the part control interface for the target vehicle according to the standard subsystem attribute information of the part control interface aiming at each part control interface so as to perform simulation test of the target vehicle on the part control interface.
CN202311669151.1A 2023-12-07 2023-12-07 Subsystem generation method Pending CN117742203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311669151.1A CN117742203A (en) 2023-12-07 2023-12-07 Subsystem generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311669151.1A CN117742203A (en) 2023-12-07 2023-12-07 Subsystem generation method

Publications (1)

Publication Number Publication Date
CN117742203A true CN117742203A (en) 2024-03-22

Family

ID=90253611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311669151.1A Pending CN117742203A (en) 2023-12-07 2023-12-07 Subsystem generation method

Country Status (1)

Country Link
CN (1) CN117742203A (en)

Similar Documents

Publication Publication Date Title
CN102262404B (en) End-of-line configuration system and configuration method for finished vehicle
US20180095745A1 (en) Computer System, Method of Updating Software with Computer System, and Program Therefor
EP2803048B1 (en) System and method for providing diagnostic fault information
EP2803049B1 (en) System and method for providing diagnostic fault information
CN110088744A (en) A kind of database maintenance method and its system
CN106557773B (en) Vehicle fault diagnosis method and system
JPWO2013190644A1 (en) Design support device for control software
CN117234926A (en) AUTOSAR architecture-based software component interface checking method and device
KR20110023124A (en) Apparatus and method for verification for automotive ecu software
CN113434864A (en) Management method and management system for vehicle networking cave depot
CN117742203A (en) Subsystem generation method
CN111324540B (en) Interface testing method and device
KR101334806B1 (en) Method of proudcing input sets of test case in test case generating system
CN110543718A (en) automobile electronic and electrical architecture deformation configuration method based on customer characteristics
US11921713B2 (en) Systems and methods for automating mapping of repair procedures to repair information
CN114116459A (en) Software compatibility verification method and computer-readable storage medium
CN112863008B (en) Fault recording method and device, storage medium and computer equipment
CN113093012A (en) Battery energy state detection method, battery energy state detection equipment, storage medium and device
CN113836012B (en) Algorithm testing method and device, electronic equipment and storage medium
KR101040194B1 (en) Apparatus and method for developing hardware topology of automotive ECS applying the verification centric process approach
CN114625106B (en) Method, device, electronic equipment and storage medium for vehicle diagnosis
CN117556187B (en) Cloud data restoration method and system based on deep learning and readable storage medium
CN114937316B (en) Software fault detection method, device, equipment and medium
CN114896473A (en) Vulnerability data retrieval method and related device for vehicle operating system
CN116661862A (en) Method, apparatus and computer readable storage medium for testing object

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination