CN102609270A - Monitoring mechanism applied to ECU (electronic control unit) configuration interface - Google Patents

Monitoring mechanism applied to ECU (electronic control unit) configuration interface Download PDF

Info

Publication number
CN102609270A
CN102609270A CN2012100372857A CN201210037285A CN102609270A CN 102609270 A CN102609270 A CN 102609270A CN 2012100372857 A CN2012100372857 A CN 2012100372857A CN 201210037285 A CN201210037285 A CN 201210037285A CN 102609270 A CN102609270 A CN 102609270A
Authority
CN
China
Prior art keywords
parameter
parameters
trigger
configuration
ecu
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.)
Granted
Application number
CN2012100372857A
Other languages
Chinese (zh)
Other versions
CN102609270B (en
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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201210037285.7A priority Critical patent/CN102609270B/en
Publication of CN102609270A publication Critical patent/CN102609270A/en
Application granted granted Critical
Publication of CN102609270B publication Critical patent/CN102609270B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of automotive electronic software development, in particular to a monitoring mechanism applied to an AUTOSARECU (automotive open system architecture electronic control unit) configuration interface. According to dependency of ECU configuration parameters, the monitoring mechanism for the parameters is built, and finally monitoring for the parameters is embodied by the effect of the ECU configuration interface. A monitoring method includes: dividing the configuration parameters into trigger parameters and dependency parameters; adding monitoring identifiers pointing to the trigger parameters into a wrapper class of the dependency parameters; and allowing the dependency parameters to change according to current values of the trigger parameters when the values of the trigger parameters are changed. The monitoring mechanism can be used for effectively implementing dependency of the ECU configuration parameters based on AUTOSAR standards, overcoming the shortcomings of cumbersomeness and time consumption of a monitoring mechanism in an EMF (eclipse modeling framework), optimizing the response time of the mutually dependent parameters in the same configuration interface, and improving the user experience of an ECU configuration tool.

Description

A kind of monitoring mechanism that is applied to the ECU configuration interface
Technical field
The present invention relates to automotive electronics software development technique field, especially a kind of monitoring mechanism that is applied to AUTOSAR ECU configuration interface.
Background technology
AUTOSAR (AUTomotive Open System Architecture) is a standardized open automobile software architecture; Its normative content has related to flow process and method, delamination software module architectures and the application interface of automotive electronics Development of Software, integrated, test, and the AUTOSAR standard of institute of the present invention reference is the 3.1.5 version.
The ECU configuration is link in the AUTOSAR system development flow process.Its input as shown in Figure 1 is that the ECU of system configuration extracts (ECU Extract of System Configuration extracts hereinafter to be referred as system).The ECU configuration provides the configuration information of all softwares in the single ECU on this basis, and content has contained the configuration of RTE configuration and each basic software assembly.The output of ECU configuration is the ECU configuration describing document, and it can be used for generating and be structured in ECU goes up executable file.
For the intermediate product in the performance history of standardizing, be convenient to integrated between developing instrument, AUTOSAR provides Schema file.The parameter definition file of ECU configuration parameter description document and basic software module must meet the call format of Schema regulation.AUTOSAR provides a standardized ECU configuration parameter defined file simultaneously, has at length defined the parameter item of hardware independent, and supports the realization side of each basic software module to revise parameter-definition on this basis.The ECU configuration tool provides corresponding configuration interface according to the definition of these parameters, after the enterprising line correlation configuration of graphical interfaces, configuration information is offered follow-up configuration code generation phase through the ECU configuration describing document by the user.
Each configuration parameter has very strong correlativity in the ECU configuration tool; A values of parameters will influence other values of parameters; Existing scheme is to utilize Eclipse EMF framework to realize the monitoring mechanism between each configuration parameter; But still have its drawback in the actual use of this scheme, the efficient that is mainly reflected in scheme will become very low.
Summary of the invention
The object of the invention will solve the deficiency that above-mentioned technology exists just, and a kind of monitoring mechanism of the ECU of being applied to configuration interface is provided, and uses this method to optimize the response time between the complementary parameter greatly, has improved the user experience of ECU configuration tool.
The technical scheme that the present invention adopts is a kind of monitoring mechanism of the ECU of being applied to configuration interface, and the step of this scheme is:
1) confirms dependence between the configuration parameter; Configuration parameter is divided into two types, and a kind of is trigger parameter, and another kind is to rely on parameter; The class of trigger parameter encapsulation has a triggering audiomonitor; Rely on parameter and come the state of monitoring triggering parameter through an indications class, when trigger parameter changed its value, relying on the values of parameters or the form of expression will change;
2) on existing parameter-definition model, trigger parameter is customized general SDG (Simple Data Groups comprises tag name, label additional content two parts information) label.Add basic parametric representation additional information above that; Label is added in the management data Admin Data label of target component definition, promptly in basic software block configuration parameter definition file, label is added in management data (Admin Data) label of target component defined item.
3) with the implementation language of Java language as ECU configuration interface monitoring mechanism, the Cell that belongs to for trigger parameter is provided with the triggering audiomonitor.(Cell refers to the configuration block of parameter in the configuration interface.)
4) will rely on parameter and trigger parameter associates, in expression relies on the class of parameter, add the identifier of trigger parameter.
The present invention possesses following advantage:
1. abandon the monitoring mechanism of EMF framework, optimized the response time that the dependence parameter changes trigger parameter.
2. utilize SDG labeled marker trigger parameter and combine resolver and property file, make the expression format of parameter-definition more versatile and flexible.
3. rely on parameter and be encapsulated in the different classes, reduced the degree of coupling of configuration tool with trigger parameter.
Description of drawings
Fig. 1 is the ECU configuration schematic diagram in the AUTOSAR development approach.
Fig. 2 is the realization flow figure of the trigger of Channel Class parameter
Fig. 3 is the dependency graph that concerns of PwmPolarity class and TriggeredDecorator class
Fig. 4 is the design sketch of PWM configuration interface among the TC1767
Embodiment
Below in conjunction with accompanying drawing and case study on implementation the present invention is described further:
According to a concrete configuration parameter dependence, the present invention is further illustrated below according to the specification of TC1767 chip.Main function is in the PWM block configuration in ECUC, and when Channel Class was configured to the PWM_FIXED_PERIOD_ZERO_SHIFTED parameter, the Polarity function will be closed; When Channel Class is configured to other parameters is that the Polarity function will be unlocked.
The enforcement of this instance is divided into following steps and carries out:
1, confirms dependence between the configuration parameter.Channel Class parameter is a trigger parameter in this case, and the Polarity parameter is for relying on parameter.
2, specify a TRIGGER label, being used for externally providing PwmChannelClass is a trigger parameter.A newly-built SDG label, label is called trigger, and tag types is Boolean type, and is as shown in table 1.The PwmChannelClass that this label is joined in the PWM block configuration parameter definition file enumerates in the Admin Data label of parameter configuration item.
Figure BDA0000136565520000041
Table 1 adds the trigger label in the PwmChannelClass configuration item
3, be the Cell adding triggering audiomonitor at Channel Class parameter place, and realize trigger.Trigger the task of will accomplishing be exactly whether other Cell among this CellView at inspection Channel Class place depend on Channel Class, if this Cell depends on Channel Class, then this Cell is upgraded.Concrete process flow diagram is seen Fig. 2.
4, in the encapsulation class of Polarity parameter, add the information that depends on Channel Class parameter.Suppose this encapsulation type PwmPolarity by name, it has inherited the TriggeredDecorator abstract class, and is as shown in Figure 3, and has realized that the method for getWatchingAnchors has also added the sign of PwnChannelClass therein, as shown in table 2.
Figure BDA0000136565520000051
The method of table 2 getWatchingAnchors realizes
5, then can realize the monitoring mechanism of correlation parameter in the ECU configuration interface through above step, the case effect is seen Fig. 4.
At last, it is also to be noted that what more than enumerate only is practical implementation example of the present invention.Obviously, the invention is not restricted to above examples of implementation, many distortion can also be arranged.All distortion that those of ordinary skill in the art can directly derive or associate from content disclosed by the invention all should be thought protection scope of the present invention.

Claims (2)

1. a monitoring mechanism that is applied to the ECU configuration interface is characterized in that: comprise the steps:
1) confirms dependence between the configuration parameter; Configuration parameter is divided into two types, and a kind of is trigger parameter, and another kind is to rely on parameter; The class of trigger parameter encapsulation has a triggering audiomonitor; Rely on parameter and come the state of monitoring triggering parameter through an indications class, when trigger parameter changed its value, relying on the values of parameters or the form of expression will change; 2) on existing parameter-definition model, trigger parameter is customized general SDG label, on the SDG label, add basic parametric representation additional information, the SDG label is added in the management data Admin Data label of target component definition; 3) with the implementation language of Java language as ECU configuration interface monitoring mechanism, the Cell that belongs to for trigger parameter is provided with the triggering audiomonitor; 4) will rely on parameter and trigger parameter associates, in expression relies on the class of parameter, add the identifier of trigger parameter.
2. the monitoring mechanism that is applied to the ECU configuration interface according to claim 1 is characterized in that: said SDG label comprises tag name and label additional content two parts information.
CN201210037285.7A 2012-02-17 2012-02-17 A kind of monitoring mechanism being applied to ECU configuration interface Expired - Fee Related CN102609270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210037285.7A CN102609270B (en) 2012-02-17 2012-02-17 A kind of monitoring mechanism being applied to ECU configuration interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210037285.7A CN102609270B (en) 2012-02-17 2012-02-17 A kind of monitoring mechanism being applied to ECU configuration interface

Publications (2)

Publication Number Publication Date
CN102609270A true CN102609270A (en) 2012-07-25
CN102609270B CN102609270B (en) 2015-08-05

Family

ID=46526669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210037285.7A Expired - Fee Related CN102609270B (en) 2012-02-17 2012-02-17 A kind of monitoring mechanism being applied to ECU configuration interface

Country Status (1)

Country Link
CN (1) CN102609270B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138621A (en) * 2015-08-14 2015-12-09 浪潮电子信息产业股份有限公司 Configuration optimization system and method for Sybase ASE database
CN113391839A (en) * 2021-04-29 2021-09-14 深圳市齐信科技有限公司 Configuration method and configuration device of automobile trigger

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901148A (en) * 2010-01-28 2010-12-01 浙江大学 Generation method of ECU parameter configuration interface based on AUTOSAR standard
CN102262540A (en) * 2011-08-11 2011-11-30 浙江大学 Basic software parameter definition extension method applied to AUTOSAR (AUTomotive Open System Architecture) ECU (Electric Control Unit) configuration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901148A (en) * 2010-01-28 2010-12-01 浙江大学 Generation method of ECU parameter configuration interface based on AUTOSAR standard
CN102262540A (en) * 2011-08-11 2011-11-30 浙江大学 Basic software parameter definition extension method applied to AUTOSAR (AUTomotive Open System Architecture) ECU (Electric Control Unit) configuration

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
UWE HONEKAMP: "The Autosar XML Schema and Its Relevance for Autosar Tools", 《SOFTWARE, IEEE 》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105138621A (en) * 2015-08-14 2015-12-09 浪潮电子信息产业股份有限公司 Configuration optimization system and method for Sybase ASE database
CN105138621B (en) * 2015-08-14 2019-03-26 浪潮电子信息产业股份有限公司 A kind of Sybase ASE database configuration optimization system and method
CN113391839A (en) * 2021-04-29 2021-09-14 深圳市齐信科技有限公司 Configuration method and configuration device of automobile trigger

Also Published As

Publication number Publication date
CN102609270B (en) 2015-08-05

Similar Documents

Publication Publication Date Title
CN102819426B (en) Method for synchronizing AUTOSAR (automotive open system architecture) model to Simulink model
WO2006118872A3 (en) Application description language
CN109683953A (en) A kind of method and device carrying out configuration file processing based on visualization interface
US8966443B2 (en) Method of bypassing an AUTOSAR software component of an AUTOSAR software system
US20080155519A1 (en) Code translator
CN102270141A (en) Configurable data acquisition software system and designing method
CN104536737A (en) Program development framework based on assemblies
CN104461503A (en) Method and system for dynamically forming software interfaces
CN101185116A (en) Using strong data types to express speech recognition grammars in software programs
CN102929645A (en) Method utilizing embedded Python interpreter to realize secondary development of software system
CN103530097A (en) Implement method and device of module crossing middleware platform
CN101295246A (en) Method for converting UML model to SmartC model
CN102270136A (en) Method for realizing smooth transition from demand characteristic modeling to architecture modeling
CN102262540A (en) Basic software parameter definition extension method applied to AUTOSAR (AUTomotive Open System Architecture) ECU (Electric Control Unit) configuration
CN102609270B (en) A kind of monitoring mechanism being applied to ECU configuration interface
KR101436694B1 (en) Method of designing application software of automotive roomlamp control system
US8074200B2 (en) Method and system for providing tooling instructions through parameterization as an aid for software application development
KR20110062875A (en) Testing language conversion apparatus and its method
US20100023922A1 (en) Linking uml activity diagram nodes to uml class diagram nodes by using properties from applied stereotypes
CN106095459B (en) Implementation method for automatically finishing selection and specialization of embedded software library
CN104461557B (en) The processing method and processing device of Puppet configuration datas
Prehofer et al. From IoT mashups to model-based IoT
Lenglet et al. Howe's method for contextual semantics
CN104102496A (en) Development method for bank self-service system cross-browser plugin based on WINDOWS platform
WO2008075087A1 (en) Code translator and method of automatically translating modelling language code to hardware language code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150805

Termination date: 20220217