KR101628694B1 - Method for creating flatview of ecu software component based on autosar - Google Patents

Method for creating flatview of ecu software component based on autosar Download PDF

Info

Publication number
KR101628694B1
KR101628694B1 KR1020140180740A KR20140180740A KR101628694B1 KR 101628694 B1 KR101628694 B1 KR 101628694B1 KR 1020140180740 A KR1020140180740 A KR 1020140180740A KR 20140180740 A KR20140180740 A KR 20140180740A KR 101628694 B1 KR101628694 B1 KR 101628694B1
Authority
KR
South Korea
Prior art keywords
software component
prototype
connector
atomic
port
Prior art date
Application number
KR1020140180740A
Other languages
Korean (ko)
Inventor
김철민
Original Assignee
현대오트론 주식회사
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 현대오트론 주식회사 filed Critical 현대오트론 주식회사
Priority to KR1020140180740A priority Critical patent/KR101628694B1/en
Application granted granted Critical
Publication of KR101628694B1 publication Critical patent/KR101628694B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to a method for creating a flat view of automotive open system architecture (AUTOSAR) based electronic control unit (ECU) software component. The method comprises: a step in which an atomic software component prototype producing unit collects a list of prototypes of software components where multiple ECUs are mapped; a step in which the atomic software component prototype producing unit produces a prototype of an atomic software component where a certain ECU included in the collected list is mapped; a step in which a connector producing unit produces connectors corresponding to each port of prototypes of atomic software components produced; and a step in which the connector producing unit produces a prototype of atomic software components and a flat view for a software component of a certain ECU for the connector produced based on the prototype to be connected. The purpose of the present invention is to provide the method for creating a flat view of AUTOSAR based ECU software component where a software component prototype as a composition interlocked in the AUTOSAR system is converted into a flat view type which represents the connection state with software components of a certain ECU through a composition of a top level.

Description

오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법{METHOD FOR CREATING FLATVIEW OF ECU SOFTWARE COMPONENT BASED ON AUTOSAR}METHOD FOR CREATING FLATVIEW OF ECU SOFTWARE COMPONENT BASED ON AUTOSAR "

본 발명은 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법에 관한 것으로서, 더욱 상세하게는 오토사(AUTomotive Open System ARchitecture, AUTOSAR) 시스템의 설계 단계에서 중첩된 컴포지션(Composition) 타입으로 존재하는 소프트웨어 컴포넌트 프로토타입을, 하나의 탑레벨의 컴포지션을 통해 특정 ECU의 소프트웨어 컴포넌트들에 대한 연결 관계를 나타내는 플랫뷰(Flatview) 형태로 변환하는, 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법에 관한 것이다.
The present invention relates to a method for generating a flat view of a software component of an AUTOSAR based ECU, and more particularly, to a method for generating a flat view of a software component of an AUTOSAR- A method for generating a flat view of a software component of an automotive ECU based on a component prototype, which converts the component prototype into a flatview form representing a connection relationship to software components of a specific ECU via a top-level composition will be.

오토사(AUTOSAR, AUTomotive Open System ARchitecture)는 개방형 자동차 표준 소프트웨어 구조로서, 차량용 전자장치가 증가하고 이에 따라 소프트웨어의 수량과 복잡성이 증가하여 표준화에 대한 필요성이 증가함에 따라 제조사와 개발사들에 의해 제시되었다.AUTOSAR (AUTomotive Open System AR architecture) is an open automotive standard software architecture, proposed by manufacturers and developers as the number of automotive electronic devices increases and thus the number and complexity of software increases and the need for standardization increases .

즉, 오토사는 표준화된 소프트웨어 구조를 정의하여 모듈화된 소프트웨어 구성을 지원하므로 시스템의 복잡성을 감소시켜 생산성을 향상시킬 수 있다.In other words, AUTO defines a standardized software structure to support a modularized software configuration, thereby reducing system complexity and improving productivity.

또한, 각 모듈 간의 인터페이스만 정해지면 각 모듈별로 서로 다른 업체에서 개발이 가능하기 때문에 분업이 가능하여 개발 일정을 단축시킬 수도 있다.Also, if only interfaces between modules are defined, different modules can be developed by different vendors, so division of labor is possible and development schedule can be shortened.

오토사는 기본적으로 ECU에 특정되는 기본 소프트웨어(Basic Software, BSW)와 ECU로부터 독립적인 응용 소프트웨어(Application Software, ASW)로 구분할 수 있으며, 각 소프트웨어 사이에 가상 기능 버스(Virtual Function Bus, VFB)가 있다.AUTO Corporation can basically distinguish between basic software (BSW) specified in the ECU and application software (ASW) independent of the ECU, and there is a virtual function bus (VFB) between each software .

오토사의 여러 중요한 요소 중 하나는 RTE(Run Time Environment) 또는 VFB로서, VFB가 중요한 이유는 기존 펌웨어 기반의 제어 로직 상에 존재하는 수 많은 하드웨어 제어 기능, OS 기능(스케줄링), 서비스(왓치독, 저장) 등을 VFB 아래에 위치시키고 어플리케이션의 순수한 기능에만 초점을 갖는 소프트웨어 컴포넌트(Software Component ,SWC)를 개발할 수 있게 해주기 때문이다.VFB is important because there are a lot of hardware control functions, OS functions (scheduling), services (such as watchdogs, etc.) existing on the existing firmware-based control logic, Storage) under the VFB and develop software components (SWCs) that focus only on the pure functionality of the application.

아토믹(Atomic) 소프트웨어 컴포넌트는 기능에 대한 최소한의 단위를 의미하며 이 단위로서 복수 개의 ECU 간의 재배치나 배포가 가능해진다.Atomic software components represent a minimum unit of functionality, which allows redeployment and distribution among multiple ECUs.

이러한 ECU 간의 재배치가 가능하기 위해서는 여러가지 기능이 필요하고, 이 때 데이터를 주고 받기 위하여 사용되는 포맷이 ARXML이다.
In order to be able to relocate these ECUs, various functions are required. In this case, the format used for data exchange is ARXML.

본 발명과 관련된 선행기술로는 한국 공개특허공보 제2014-0066531호(2014.06.02.공개, 발명의 명칭 : AUTOSAR(AUTomotive Open System Architecture) 기반의 컴포넌트 구조)가 있다.
Prior art related to the present invention is disclosed in Korean Patent Laid-Open Publication No. 2014-0066531 (published on April 2, 2014, entitled AUTOMAR (AUTOMOTOR OPEN SYSTEM ARCHITECTURE) based component structure).

오토사 시스템의 설계 단계의 ARXML을 ECU의 설계 단계로 변환할 때는, ECU 추출을 통해서 하나의 ECU에 대한 ARXML로 변환하며, ECU 추출은 크게 통신 부분과 소프트웨어 컴포넌트 부분으로 나뉜다.When converting the ARXML in the design stage of the AUTOSAR system to the design stage of the ECU, it is converted into ARXML for one ECU through ECU extraction. The ECU extraction is largely divided into a communication part and a software component part.

이 때, 통신 부분은 외부 ECU 간의 통신 항목을 추출하고, 소프트웨어 컴포넌트 부분은 시스템 설계 단계의 모든 소프트웨어 컴포넌트를 오토사 플랫뷰(Flatview) 형태로 변환한다.At this time, the communication part extracts the communication items between the external ECUs, and the software component part converts all the software components in the system designing step into the auto flat view mode.

시스템 설계 단계의 소프트웨어 컴포넌트 프로토타입은 중첩된 컴포지션을 이용하여 설계 가능하고, 컴포지션을 통해 여러 개의 소프트웨어 컴포넌트 프로토타입을 묶어서 쉽게 관리할 수 있다.Software component prototypes at the system design stage can be designed using nested compositions, and composition can be easily managed by bundling multiple software component prototypes.

반면, ECU 추출 이후의 플랫뷰 형태는 하나의 탑레벨 컴포지션만 존재하여 중첩된 모든 컴포지션 내의 소프트웨어 컴포넌트의 프로토타입은 아토믹 소프트웨어 컴포넌트의 프로토타입으로 추출되어 하나의 탑레벨 컴포지션에 포함되게 된다.On the other hand, since the flat view type after the ECU extraction has only one top level composition, the prototypes of the software components in all the overlapped components are extracted as a prototype of the atomic software component and included in one top level composition.

종래에는 오토사 플랫뷰 생성을 위해서 시스템 설계 단계의 모든 소프트웨어 컴포넌트의 프로토타입을 사용자가 직접 수작업으로 추출하고, 이들의 연결 관계를 직접 설정해야 하는 불편이 있었기 때문에, 플랫뷰 자동화 시스템에 대한 필요성이 증가하고 있었다.Conventionally, there is a need to directly extract the prototype of all the software components in the system design stage manually by the user and manually set up the connection relationship thereof, so that the necessity for the flat view automation system Respectively.

본 발명은 전술한 필요성을 충족시키기 위해 창안된 것으로서, 오토사(AUTomotive Open System ARchitecture, AUTOSAR) 시스템의 설계 단계에서 중첩된 컴포지션(Composition) 타입으로 존재하는 소프트웨어 컴포넌트 프로토타입을, 하나의 탑레벨의 컴포지션을 통해 특정 ECU의 소프트웨어 컴포넌트들에 대한 연결 관계를 나타내는 플랫뷰(Flatview) 형태로 변환하는 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법을 제공하는 것을 목적으로 한다.
SUMMARY OF THE INVENTION The present invention has been made to meet the above-mentioned needs, and it is an object of the present invention to provide a software component prototype that exists in a composition type overlapped in a design stage of an AUTO system (AUTomotive Open System AR architecture, AUTOSAR) The present invention aims to provide a flat view generation method for software components of an ECU of an automobile based on which a composition is converted into a flatview form showing a connection relation to software components of a specific ECU.

본 발명의 일 측면에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법은 아토믹 소프트웨어 컴포넌트 프로토타입 생성부가 복수의 ECU가 매핑된 소프트웨어 컴포넌트(SwComponent)의 프로토타입(Prototype)에 대한 리스트를 수집하는 단계; 상기 아토믹 소프트웨어 컴포넌트 프로토타입 생성부가 상기 수집된 리스트에 포함된 특정 ECU가 매핑된 아토믹(Atomic) 소프트웨어 컴포넌트의 프로토타입을 생성하는 단계; 커넥터 생성부가 상기 생성되는 아토믹 소프트웨어 컴포넌트의 프로토타입 각각의 포트에 대응되는 커넥터를 생성하는 단계; 및 상기 커넥터 생성부가 상기 아토믹 소프트웨어 컴포넌트의 프로토타입과, 그에 대응하여 생성되는 커넥터가 연결되도록 상기 특정 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰를 생성하는 단계를 포함한다.A method for generating a flat view of a software component of an AutoSpace-based ECU according to an aspect of the present invention includes: generating a list of prototypes of a plurality of ECU-mapped software components (SwComponent) ; Wherein the atomic software component prototype generator generates a prototype of an atomic software component to which a specific ECU included in the collected list is mapped; Creating a connector corresponding to a port of each prototype of the generated atomic software component; And generating a flat view of the software component of the specific ECU such that the connector generator is connected to a prototype of the atomic software component and a corresponding connector generated therefrom.

본 발명에서 상기 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성하는 단계는, 상기 특정 ECU가 매핑된 아토믹 소프트웨어 컴포넌트의 프로토타입을 추출하는 단계; 상기 추출되는 아토믹 소프트웨어 컴포넌트의 프로토타입에 기초하여 동일한 연결 관계를 갖는 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성하는 단계; 및 상기 추출되는 아토믹 소프트웨어 컴포넌트의 프로토타입을 기준 소프트웨어 컴포넌트의 프로토타입으로 저장하는 단계를 더 포함하는 것을 특징으로 한다.In the present invention, the step of generating the prototype of the atomic software component may include extracting a prototype of the atomic software component to which the specific ECU is mapped; Creating a prototype of an atomic software component having the same connection relationship based on the prototype of the extracted atomic software component; And storing the prototype of the extracted atomic software component as a prototype of the reference software component.

본 발명의 상기 아토믹 소프트웨어 컴포넌트의 프로토타입을 추출하는 단계에서, 상기 수집된 리스트에 포함된 컴포지션(Composition) 소프트웨어 컴포넌트의 프로토타입을 파싱(Parsing)하여 상기 아토믹 소프트웨어 컴포넌트의 프로토타입을 추출하는 것을 특징으로 한다.In extracting the prototype of the atomic software component of the present invention, a prototype of the composition software component included in the collected list is parsed to extract a prototype of the atomic software component .

본 발명에서 상기 커넥터를 생성하는 단계는, 상기 생성되는 모든 아토믹 소프트웨어 컴포넌트의 프로토타입을 포함하는 컴포지션 소프트웨어 컴포넌트의 프로토타입에 포함되는 어셈블리(Assembly) 커넥터를 추출하는 단계; 상기 추출되는 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입의 포트 정보를 검색하는 단계; 및 상기 검색되는 포트 정보에 기초하여 상기 소프트웨어 컴포넌트의 프로토타입 각각의 포트와 연결되는 어셈블리 커넥터 또는 델리게이션(Delegation) 커넥터를 생성하는 단계를 포함하는 것을 특징으로 한다.In the present invention, the step of creating the connector may include extracting an assembly connector included in a prototype of a composition software component including a prototype of all the generated atomic software components; Retrieving port information of a prototype of a software component connected to both sides of the extracted assembly connector; And generating an assembly connector or a delegation connector connected to each port of the prototype of the software component based on the port information searched.

본 발명의 상기 소프트웨어 컴포넌트의 프로토타입의 포트 정보를 검색하는 단계에서, 상기 소프트웨어 컴포넌트의 프로토타입의 포트가 프로바이더 포트(Provider port, PPort) 또는 리퀘스터 포트(Requester port, RPort)인지에 관한 포트 정보를 검색하는 것을 특징으로 한다.In the step of retrieving the port information of the prototype of the software component of the present invention, the port of the port of the prototype of the software component is a provider port (PPort) or a requester port (Requester port, RPort) Information is retrieved.

본 발명은 상기 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입의 포트 중 어느 하나에서 상기 프로바이더 포트 또는 리퀘스터 포트인지에 관한 정보가 검색되지 않으면, 상기 어셈블리 커넥터 또는 델리게이션 커넥터를 생성하는 단계에서, 델리게이션 커넥터를 생성하되, 상기 델리게이션 커넥터와 연결된 이너 포트(Inner Port) 정보에 기초하여 상기 컴포지션 소프트웨어 컴포넌트의 프로토타입의 아우터 포트를 생성하고, 상기 델리게이션 커넥터는 상기 이너 포트와 상기 아우터 포트(Outer Port)를 연결하는 것을 특징으로 한다.The present invention is characterized in that if information about the provider port or the requestor port is not retrieved from any one of the ports of the prototype of the software component connected to both sides of the assembly connector, Wherein the delegation connector creates an outer port of a prototype of the composition software component based on inner port information connected to the delegation connector, And an outer port is connected.

본 발명에서 상기 어셈블리 커넥터 또는 델리게이션 커넥터를 생성하는 단계는, 상기 검색되는 포트 정보에 포함된 컨텍스트(Context) 컴포넌트에 기초하여 상기 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입 중 적어도 하나가 컴포지션 소프트웨어 컴포넌트의 프로토타입인지 판단하는 단계; 상기 소프트웨어 컴포넌트의 프로토타입 중 적어도 하나가 컴포지션 소프트웨어 컴포넌트의 프로토타입이면, 상기 컴포지션 소프트웨어 컴포넌트의 프로토타입의 포트와 연결되는 상기 컴포지션 소프트웨어 컴포넌트의 프로토타입 내부의 이너 포트(Inner Port)를 검색하는 단계; 상기 컴포지션 소프트웨어 컴포넌트의 프로토타입의 아우터 포트(Outer Port)와 상기 이너 포트를 연결하는 커넥터를 생성하는 단계; 상기 생성되는 커넥터와 연결되는 이너 포트 정보를 검색하는 단계; 및 상기 검색되는 이너 포트 정보에 포함된 컨텍스트 컴포넌트에 기초한 판단 결과 상기 이너 포트를 포함하는 소프트웨어 컴포넌트의 프로토타입이 아토믹 소프트웨어 컴포넌트의 프로토타입이 아니면 상기 이너 포트를 검색하는 단계로 회귀하는 단계를 포함하는 것을 특징으로 한다.In the present invention, the step of creating the assembly connector or the delegation connector may include at least one of a prototype of a software component connected to both sides of the assembly connector based on a context component contained in the searched port information Determining whether the composition software component is a prototype; If at least one of the prototypes of the software component is a prototype of a composition software component, searching for an Inner Port in a prototype of the composition software component connected to a prototype port of the composition software component; Creating a connector for connecting the outer port of the prototype of the composition software component to the inner port; Searching for the inner port information connected to the generated connector; And returning to the step of searching the inner port if the prototype of the software component including the inner port is not a prototype of the atomic software component as a result of the determination based on the context component included in the searched inner port information .

본 발명에서 상기 소프트웨어 컴포넌트의 프로토타입이 모두 아토믹 소프트웨어 컴포넌트의 프로토타입이면 상기 아토믹 소프트웨어 컴포넌트의 프로토타입들을 연결하는 어셈블리 커넥터를 생성하는 것을 특징으로 한다.In the present invention, if prototypes of the software components are all prototypes of the atomic software component, an assembly connector for connecting the prototypes of the atomic software component is generated.

본 발명은 상기 생성되는 어셈블리 커넥터에 연결된 아토믹 소프트웨어 컴포넌트의 프로토타입이 상기 저장된 기준 소프트웨어 컴포넌트의 프로토타입에 해당하는지 판단하는 단계를 더 포함하는 것을 특징으로 한다.
The present invention is characterized by further comprising determining whether a prototype of the atomic software component connected to the generated connector connector corresponds to the prototype of the stored reference software component.

본 발명에 따르면, 시스템 설계 단계의 모든 소프트웨어 컴포넌트의 프로토타입을 자동으로 추출하여 하나의 탑레벨 컴포지션에 해당하는 소프트웨어 컴포넌트의 프로토타입에 대한 플랫뷰를 자동으로 생성할 수 있다.
According to the present invention, a prototype of all the software components in the system design stage can be automatically extracted to automatically generate a flat view of the prototype of the software component corresponding to one top-level composition.

도 1은 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 장치의 기능 블록도이다.
도 2a는 중첩된 컴포지션 타입으로 존재하는 소프트웨어 컴포넌트 프로토타입의 연결 관계를 나타내는 설계 단계에서의 컴포지션을 나타낸다.
도 2b는 하나의 컴포지션으로 특정 ECU에 대한 소프트웨어 컴포넌트 프로토타입의 연결 관계를 나타내는 플랫뷰를 나타낸다.
도 3은 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법의 구현 과정을 설명하는 절차 흐름도이다.
도 4는 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법에서 커넥터를 생성하는 구체적인 구현 과정을 설명하는 절차 흐름도이다.
도 5는 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법에서 소프트웨어 컴포넌트의 프로토타입의 포트 정보를 반영하여 커넥터의 종류를 구별하여 생성하는 구체적인 구현 과정을 설명하는 절차 흐름도이다.
FIG. 1 is a functional block diagram of a flat view generation apparatus for a software component of an AUTOSAR based ECU according to an embodiment of the present invention.
FIG. 2A shows a composition at a design stage showing a connection relationship of a software component prototype existing in a nested composition type.
FIG. 2B shows a flat view showing the connection relationship of a software component prototype to a specific ECU as a composition.
FIG. 3 is a flowchart illustrating an implementation process of a flat view generation method for a software component of an AUTOSAR-based ECU according to an embodiment of the present invention.
4 is a flowchart illustrating a concrete implementation process for generating a connector in a flat view generation method for a software component of an AutoSpace-based ECU according to an exemplary embodiment of the present invention.
5 is a flowchart illustrating a method of generating a flat view for a software component of an AUTOSAR based ECU according to an exemplary embodiment of the present invention, FIG.

이하에서는 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법 및 그 장치를 첨부된 도면들을 참조하여 상세하게 설명한다. 이 과정에서 도면에 도시된 선들의 두께나 구성요소의 크기 등은 설명의 명료성과 편의상 과장되게 도시되어 있을 수 있다. 또한, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례에 따라 달라질 수 있다. 그러므로, 이러한 용어들에 대한 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.
Hereinafter, a method and apparatus for generating a flat view of software components of an ECU based on an ECU according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. In this process, the thicknesses of the lines and the sizes of the components shown in the drawings may be exaggerated for clarity and convenience of explanation. In addition, the terms described below are defined in consideration of the functions of the present invention, which may vary depending on the intention or custom of the user, the operator. Therefore, definitions of these terms should be made based on the contents throughout this specification.

도 1은 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 장치의 기능 블록도이다.FIG. 1 is a functional block diagram of a flat view generation apparatus for a software component of an AUTOSAR based ECU according to an embodiment of the present invention.

도 1을 참조하면 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 장치는 아토믹(Atomic) 소프트웨어 컴포넌트 프로토타입(이하, SwCPrototype) 생성부(100) 및 커넥터(Connector) 생성부(200)를 포함한다.Referring to FIG. 1, an apparatus for generating a flat view of a software component of an AutoSpace-based ECU according to an embodiment of the present invention includes an Atomic software component prototype (hereinafter, referred to as a SwCPrototype) And a generation unit (200).

본 실시예는 오토사(AUTomotive Open System ARchitecture, AUTOSAR) 시스템의 설계 단계에서 중첩된 컴포지션(Composition) 타입으로 존재하는 소프트웨어 컴포넌트 프로토타입을, 하나의 탑레벨의 컴포지션을 통해 특정 ECU의 소프트웨어 컴포넌트들에 대한 연결 관계를 나타내는 플랫뷰(Flatview) 형태로 변환하기 위한 기술이다.The present embodiment is characterized in that a software component prototype existing in a composition type overlapped in the design stage of an AUTO system (AUTOSAR system) is connected to software components of a specific ECU through a top-level composition This is a technique for converting into a flatview form indicating a connection relationship with the user.

도 2a는 중첩된 컴포지션 타입으로 존재하는 소프트웨어 컴포넌트 프로토타입의 연결 관계를 나타내는 설계 단계에서의 컴포지션을 나타낸다.FIG. 2A shows a composition at a design stage showing a connection relationship of a software component prototype existing in a nested composition type.

도 2b는 하나의 컴포지션으로 특정 ECU에 대한 소프트웨어 컴포넌트 프로토타입의 연결 관계를 나타내는 플랫뷰를 나타낸다.FIG. 2B shows a flat view showing the connection relationship of a software component prototype to a specific ECU as a composition.

도 2a에 도시된 바와 같이 설계 단계에서는 중첩된 컴포지션 타입으로 소프트웨어 컴포넌트 프로토타입이 연결되어 있는데 구체적으로 가장 탑레벨의 컴포지션(C1), 다음 레벨의 컴포지션(C2, C3)의 3개의 컴포지션이 중첩된 형태로 설계되어 있다.As shown in FIG. 2A, a software component prototype is connected to a nested composition type in the designing stage. Concretely, three compositions of a top-level composition C1 and a next-level composition C2 and C3 are superimposed .

따라서 본 실시예에서는, 도 2b에 도시된 바와 같이 특정 ECU A에 대한 소프트웨어 컴포넌트 프로토타입의 연결 관계만이 나타나며, 구체적으로 가장 탑레벨의 컴포지션(C4)만이 존재하고 내부에는 아토믹 소프트웨어 컴포넌트의 프로토타입만이 존재하는 플랫뷰 형태로 표시하는 것을 목적으로 한다.2B, only the connection relation of the software component prototype to the specific ECU A is shown. Specifically, only the top-level composition C4 exists and the prototype of the atomic software component In the form of a flat view in which only an image exists.

이를 위해 Atomic SwCPrototype 생성부(100)는, 설계 단계에서 중첩된 컴포지션 타입으로 존재하는 복수의 ECU가 매핑된 소프트웨어 컴포넌트의 프로토타입에 대한 리스트를 수집하고, 해당 리스트에 포함된 복수의 ECU 중 특정 ECU가 매핑된 모든 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성한다.To this end, the Atomic SwCPrototype generation unit 100 collects a list of prototypes of software components to which a plurality of ECUs existing in a composition type overlapped at the design stage are mapped, Creates prototypes for all mapped atomic software components.

즉, 본 실시예에서는 중첩된 컴포지션 타입으로 존재하는 소프트웨어 컴포넌트 프로토타입을, 하나의 컴포지션을 통해 특정 ECU에 대한 소프트웨어 컴포넌트의 프로토타입의 연결 관계를 나타내기 위해서, 특정 ECU가 매핑된 모든 소프트웨어 컴포넌트의 프로토타입을 생성하되, 특히 아토믹 타입의 소프트웨어 컴포넌트의 프로토타입을 생성한다.That is, in this embodiment, in order to represent a prototype of a software component for a specific ECU through a single composition, a prototype of a software component existing in a nested composition type may be referred to as a prototype of a software component Create prototypes, especially prototypes of atomic type software components.

이 때, 아토믹 소프트웨어 컴포넌트란 더 이상 또 다른 ECU들로 분산될 수 없는 최소화된 단위의 소프트웨어 컴포넌트를 의미하고, 컴포지션 소프트웨어 컴포넌트란 분산이 가능한 복수의 EUC 및 다른 레벨의 컴포지션 소프트웨어 컴포넌트를 포함하여 구성되는 소프트웨어 컴포넌트를 의미한다.In this case, the atomic software component refers to a minimized unit of software component that can no longer be distributed to other ECUs, and the composition software component includes a plurality of distributable EUC and other levels of composition software components Software component.

구체적으로 Atomic SwCPrototype 생성부(100)는 수집된 리스트로부터 특정 ECU가 매핑된 모든 아토믹 소프트웨어 컴포넌트의 프로토타입을 추출하고, 추출되는 아토믹 소프트웨어 컴포넌트의 프로토타입에 기초하여 동일한 연결 관계를 갖는 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성한다.Specifically, the Atomic SwCPrototype generation unit 100 extracts prototypes of all the atomic software components to which a specific ECU is mapped from the collected list, and generates prototypes of the atomic software components having the same connection relationship based on the prototypes of the extracted atomic software components Create a prototype.

이 때, Atomic SwCPrototype 생성부(100)는, 직접 생성한 아토믹 소프트웨어 컴포넌트의 프로토타입과 수집된 리스트로부터 추출한 아토믹 소프트웨어 컴포넌트의 프로토타입을 쌍으로 메모리부(미도시)에 저장해 두며, 특히 수집된 리스트로부터 추출한 아토믹 소프트웨어 컴포넌트의 프로토타입을 기준 소프트웨어 컴포넌트의 프로토타입으로 저장한다.At this time, the Atomic SwCPrototype generation unit 100 stores the prototype of the directly generated atomic software component and the prototype of the atomic software component extracted from the collected list as a pair in a memory unit (not shown) The prototype of the atomic software component extracted from the prototype of the reference software component.

즉, 전체 소프트웨어 컴포넌트의 프로토타입에 대한 리스트에 포함되는 특정 ECU가 매핑된 아토믹 소프트웨어 컴포넌트의 프로토타입을 저장해 둠으로써, 추후에 커넥터를 통해 추적한 소프트웨어 컴포넌트의 프로토타입이 실제 리스트에 포함된 소프트웨어 컴포넌트의 프로토타입인지 판단할 수 있다.That is, by storing prototypes of atomic software components to which specific ECUs are mapped in the list of prototypes of the entire software components, it is possible to store the prototypes of the software components tracked through the connector in the future with software components It can be judged whether or not the prototype is a prototype.

또한, 본 실시예에서 후술하는 커넥터 생성부(200)는 모든 어셈블리 커넥터를 추출하고, 어셈블리 커넥터와 연결되는 포트 정보에 기초하여 커넥터의 최종단에 연결되는 소프트웨어 컴포넌트의 프로토타입이 아토믹 소프트웨어 컴포넌트의 프로토타입으로 검색될 때까지 커넥터를 생성하는데, 동일한 아토믹 소프트웨어 컴포넌트의 프로토타입을 중복으로 생성하지 않기 위해 커넥터의 최종단에 연결되느 소프트웨어 컴포넌트의 프로토타입을 메모리부에 저장된 기준 소프트웨어 컴포넌트의 프로토타입과 비교할 수 있다.In addition, in the present embodiment, the connector generating unit 200 described later extracts all the assembly connectors, and based on the port information connected to the assembly connector, the prototype of the software component connected to the final end of the connector is connected to the prototype of the atomic software component The prototype of the software component connected to the final end of the connector is compared with the prototype of the reference software component stored in the memory section so as not to duplicate the prototype of the same atomic software component .

그리고 Atomic SwCPrototype 생성부(100)는 수집된 리스트에 포함된 모든 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입을 파싱(Parsing)하여 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성한다.The Atomic SwCPrototype generation unit 100 generates a prototype of the atomic software component by parsing the prototype of the software components of all the composition types included in the collected list.

즉, 수집된 리스트에는 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입이 포함되어 있기 때문에, 컴포지션 타입으로부터 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성하기 위해 Atomic SwCPrototype 생성부(100)는 컴포지션 타입의 모든 소프트웨어 컴포넌트의 프로토타입을 파싱한다.That is, since the collected list includes the prototype of the software component of the composition type, in order to generate the prototype of the atomic software component from the composition type, the Atomic SwCPrototype generation unit 100 generates a prototype of all the software components of the composition type ≪ / RTI >

커넥터 생성부(200)는 Atomic SwCPrototype 생성부(100)를 통해 생성되는 아토믹 소프트웨어 컴포넌트의 프로토타입 각각의 포트와 연결되는 커넥터를 생성하고, 아토믹 소프트웨어 컴포넌트의 프로토타입과 그에 대응하여 생성되는 커넥터가 연결되도록 특정 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰를 생성한다.The connector generating unit 200 generates a connector to be connected to a port of each prototype of the atomic software component generated through the Atomic SwCPrototype generating unit 100 and generates a prototype of the atomic software component and a connector Thereby creating a flat view of the software components of a particular ECU.

구체적으로 커넥터 생성부(200)는 Atomic SwCPrototype 생성부(100)를 통해 생성되는 모든 아토믹 소프트웨어 컴포넌트의 프로토타입을 포함하는 컴포지션 소프트웨어 컴포넌트의 프로토타입에 포함되는 어셈블리(Assembly) 커넥터를 추출한다.Specifically, the connector generating unit 200 extracts an assembly connector included in a prototype of a composition software component including prototypes of all the atomic software components generated through the Atomic SwCPrototype generating unit 100.

즉, 커넥터 생성부(200)는 도 2a에 도시된 ECU B와 C2를 연결하는 어셈블리 커넥터, C2와 C3를 연결하는 어셈블리 커넥터, C3와 ECU A를 연결하는 어셈블리 커넥터, 및 ECU A와 ECU A를 서로 연결하는 어셈블리 커넥터를 각각 추출한다.2A, an assembly connector for connecting C2 and C3, an assembly connector for connecting C3 and ECU A, and an assembly connector for connecting ECU A and ECU A, And extracts assembly connectors that connect to each other.

어셈블리 커넥터는 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입 간의 연결, 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입과 외부의 아토믹 소프트웨어 컴포넌트의 프로토타입 간의 연결, 또는 아토믹 소프트웨어 컴포넌트의 프로토타입 간의 연결을 위한 커넥터를 의미한다.An assembly connector is a connector for connection between prototypes of a software component of a composition type, a prototype of a software component of a composition type and a prototype of an external atomic software component, or a prototype of an atomic software component.

이에 대응되는 개념으로 딜리게이션(Delegation) 커넥터가 있으며, 딜리게이션 커넥터는 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입 내부에 포함된 아토믹 소프트웨어 컴포넌트의 프로토타입과, 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입의 아우터(Outer) 포트를 연결하기 위한 커넥터를 의미한다.A delegation connector is a concept corresponding to the delegation connector. The delegation connector includes a prototype of the atomic software component included in the prototype of the software component of the composition type and an outer prototype of the prototype of the software component of the composition type. ) Port to connect the connector.

그리고 커넥터 생성부(200)는 어셈블리 커넥터의 양 측에 연결되는 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입의 포트 정보를 검색하고, 해당 포트 정보에 기초하여 아토믹 소프트웨어 컴포넌트의 프로토타입 각각의 포트와 연결되는 커넥터를 생성한다.The connector generating unit 200 searches for port information of a prototype of a software component of a composition type connected to both sides of the assembly connector and transmits the port information of the prototype of the prototype of the atomic software component to the connector .

구체적으로 커넥터 생성부(200)는 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입의 포트가 프로바이더 포트(Provider port, PPort)인지 리퀘스터 포트(Requester port, RPort)인지에 관한 포트 정보를 검색한다.Specifically, the connector creation unit 200 searches port information about whether a prototype port of a software component of a composition type is a provider port (PPort) or a requester port (RPort).

이 때, 특정 어셈블리 커넥터에 연결된 포트 중에는 해당 포트 정보가 프로바이더 포트인지 리퀘스터 포트인지에 관해 정상적으로 추출되지 않는 어셈블리 커넥터가 존재하는데, 이 것은 해당 어셈블리 커넥터의 일 측에는 어떠한 소프트웨어 컴포넌트의 프로토타입도 연결되어 있지 않음을 의미한다.At this time, among the ports connected to a specific assembly connector, there is an assembly connector in which the port information is not normally extracted as a provider port or a requestor port. This means that a prototype of any software component is connected .

즉, 포트 정보가 검색되지 않는 어셈블리 커넥터의 일 측에 연결된 포트는 플랫뷰 탑레벨 컴포지션 자체의 아우터 포트에 해당하는 것으로 예측할 수 있다.That is, a port connected to one side of an assembly connector for which no port information is retrieved can be expected to correspond to the outer port of the flat view top level composition itself.

본 실시예에서 아우터 포트는 특정 소프트웨어 컴포넌트의 프로토타입이 외부와 연결되는 포트를 의미하고, 이너 포트는 해당 소프트웨어 컴포넌트의 프로토타입의 아우터 포트와 연결되는, 상기 소프트웨어 컴포넌트의 프로토타입 내부에 포함되는 또 다른 소프트웨어 컴포넌트의 프로토타입의 포트를 의미한다.In the present embodiment, the outer port refers to a port where a prototype of a specific software component is connected to the outside, and the inner port is connected to an outer port of a prototype of the software component. Means a port of a prototype of another software component.

따라서 아우터 포트와 이너 포트는 어떠한 소프트웨어 컴포넌트를 기준으로 설명하는지에 따라 상대적으로 표현될 수 있다.Therefore, the outer port and the inner port can be expressed relative to which software component is described based on the software component.

그리고 커넥터 생성부(200)는 어셈블리 커넥터의 양 측에 연결된 포트들과 연결되는 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입의 내부의 커넥터를 생성한다.The connector generating unit 200 creates a connector inside the prototype of the software component of the composition type connected to the ports connected to both sides of the assembly connector.

구체적으로 커넥터 생성부(200)는 어셈블리 커넥터의 양 측에 연결된 포트 정보에 기초하여 각 포트가 내부의 어떠한 소프트웨어 컴포넌트의 프로토타입과 연결되어 있는지 추출한다.Specifically, the connector generation unit 200 extracts, based on the port information connected to both sides of the assembly connector, whether each port is associated with a prototype of any software component therein.

특정 포트마다 해당 포트와 연결되는 소프트웨어 컴포넌트의 프로토타입의 종류나 특성에 관한 정보에 관한 컨텍스트(Context) 컴포넌트를 포함하고 있기 때문에, 커넥터 생성부(200)는 포트 정보의 컨텍스트 컴포넌트에 기초하여 각 포트가 연결된 소프트웨어 컴포넌트의 프로토타입 정보를 추출할 수 있다.The connector creation unit 200 includes a context component for information on the type and the property of the prototype of the software component connected to the corresponding port for each specific port, The prototype information of the connected software component can be extracted.

추출된 정보에 따른 판단 결과, 어셈블리 커넥터의 일 측에 연결된 포트가 아토믹 소프트웨어 컴포넌트의 프로토타입에 연결되어 있으면, 아토믹 소프트웨어 컴포넌트의 프로토타입에 연결된 어셈블리 커넥터 방면에 대해서 커넥터 생성부(200)는 계속해서 커넥터를 생성할 필요가 없으므로 전술한 어셈블리 커넥터의 일 측에 연결된 포트와 아토믹 소프트웨어 컴포넌트의 프로토타입을 연결하는 커넥터를 생성한다.If the port connected to one side of the assembly connector is connected to the prototype of the atomic software component as a result of the determination based on the extracted information, the connector generator 200 continues to the side of the connector connector connected to the prototype of the atomic software component Since there is no need to create a connector, a connector is created that connects the prototype of the atomic software component with the port connected to one side of the aforementioned assembly connector.

반면, 어셈블리 커넥터의 일 측에 연결된 포트가 컴포지션 타입의 소프트웨어 컴포넌트의 프로토타입에 연결되어 있으면, 커넥터 생성부(200)는 아토믹 소프트웨어 컴포넌트의 프로토타입에 연결된 포트가 추출될 때까지 포트 정보를 추출하고 커넥터를 생성하는 과정을 반복 수행한다.On the other hand, if the port connected to one side of the assembly connector is connected to the prototype of the software component of the composition type, the connector creation unit 200 extracts the port information until the port connected to the prototype of the atomic software component is extracted Repeat the process of creating a connector.

이와 같이, 본 실시예에서 커넥터 생성부(200)는 어셈블리 커넥터를 먼저 추출하고 해당 커넥터와 연결된 포트 정보를 추출하여, 해당 포트에 연결되는 소프트웨어 컴포넌트의 프로토타입을 추출해 나가는 방식으로 특정 ECU에 대한 모든 아토믹 소프트웨어 컴포넌트의 프로토타입의 커넥터를 생성할 수 있다.In this way, in this embodiment, the connector generator 200 first extracts the assembly connector, extracts the port information connected to the connector, extracts the prototype of the software component connected to the corresponding port, You can create a prototype connector for an atomic software component.

그리고 커넥터 생성부(200)는 추출되는 모든 어셈블리 커넥터에 대해서 전술한 과정을 반복하면서 아토믹 소프트웨어 컴포넌트의 프로토타입들끼리의 연결 관계만이 나타나도록 커넥터를 생성한다.The connector generating unit 200 repeats the above-described processes for all of the extracted assembly connectors, and creates a connector so that only prototypes of the atomic software components can be connected to each other.

또한, 경우에 따라서 복수의 어셈블리 커넥터가 동일한 컴포지션 소프트웨어 컴포넌트의 프로토타입에 연결되어 있을 수 있기 때문에, 커넥터 생성부(200)는 포트 정보에 따라 검색되는 최종단의 아토믹 소프트웨어 컴포넌트의 프로토타입이 메모리부에 저장된 기준 소프트웨어 컴포넌트의 프로토타입에 포함되어 있는지 판단함으로써, 이미 생성된 커넥터를 중복으로 생성하는 문제를 해결할 수 있다.Also, in some cases, since a plurality of assembly connectors may be connected to the prototype of the same composition software component, the connector generation unit 200 may determine that the prototype of the final stage atomic software component, It is possible to solve the problem of duplicating a connector that has already been generated.

그리고 전술한 바와 같이, 플랫뷰는 가장 탑레벨의 컴포지션만이 존재하고 내부에는 아토믹 소프트웨어 컴포넌트의 프로토타입만이 존재하는 형태이기 때문에, 생성되는 플랫뷰의 탑레벨 컴포지션 내부에서의 아토믹 소프트웨어 컴포넌트의 프로토타입들을 연결하는 커넥터는 어셈블리 커넥터로 생성되고, 컴포지션 소프트웨어 컴포넌트의 프로토타입의 아우터 포트와 아토믹 소프트웨어 컴포넌트의 프로토타입을 연결하는 커넥터만이 딜리게이션 커넥터로 생성된다.As described above, since the flat view exists only in the top-level composition and only the prototype of the atomic software component exists in the inside of the flat view, the prototype of the atomic software component in the top- Connectors for connecting types are created with assembly connectors, and only connectors that connect the prototype of the composition software component prototype to the prototype of the atomic software component are created by the delegation connector.

추가로 커넥터 생성부(200)는 포트 정보 검색 결과, 포트의 최종단에 연결된 아토믹 소프트웨어 컴포넌트의 프로토타입이, Atomic SwCPrototype 생성부(100)가 저장해 놓은 아토믹 소프트웨어 컴포넌트의 프로토타입에 포함되는지 판단함으로써, 커넥터와 연결된 포트 정보에 기초하여 추출되는 아토믹 소프트웨어 컴포넌트의 프로토타입이, 특정 ECU가 매핑된 소프트웨어 컴포넌트의 프로토타입에 대한 리스트에 실제 존재하는지 확인할 수 있다.
The connector generation unit 200 determines whether the prototype of the atomic software component connected to the final stage of the port is included in the prototype of the atomic software component stored by the Atomic SwCPrototype generation unit 100, The prototype of the atomic software component extracted based on the port information connected to the connector can confirm that the specific ECU actually exists in the list of the prototype of the software component to which it is mapped.

도 3은 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법의 구현 과정을 설명하는 절차 흐름도이다.FIG. 3 is a flowchart illustrating an implementation process of a flat view generation method for a software component of an AUTOSAR-based ECU according to an embodiment of the present invention.

도 4는 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법에서 커넥터를 생성하는 구체적인 구현 과정을 설명하는 절차 흐름도이다.4 is a flowchart illustrating a concrete implementation process for generating a connector in a flat view generation method for a software component of an AutoSpace-based ECU according to an exemplary embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법에서 소프트웨어 컴포넌트의 프로토타입의 포트 정보를 반영하여 커넥터의 종류를 구별하여 생성하는 구체적인 구현 과정을 설명하는 절차 흐름도이다.5 is a flowchart illustrating a method of generating a flat view for a software component of an AUTOSAR based ECU according to an exemplary embodiment of the present invention, FIG.

도 3 내지 도 5를 참조하여 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법의 구현 과정을 살펴보면, 먼저 Atomic SwCPrototype 생성부(100)는 복수의 ECU가 매핑된 소프트웨어 컴포넌트의 프로토타입에 대한 리스트를 수집한다(S100).3 to 5, an atomic SwCPrototype generation unit 100 generates a list of prototypes of software components to which a plurality of ECUs are mapped (S100).

즉, 본 실시예는 오토사 시스템의 설계 단계에서 중첩된 컴포지션(Composition) 타입으로 존재하는 소프트웨어 컴포넌트 프로토타입을, 하나의 탑레벨의 컴포지션을 통해 특정 ECU의 소프트웨어 컴포넌트들에 대한 연결 관계를 나타내는 플랫뷰(Flatview) 형태로 변환하는 것을 목적으로 하므로, 우선 복수의 ECU가 매핑된 전체 소프트웨어 컴포넌트의 프로토타입이 포함되어 있는 전체 리스트를 수집한다.In other words, the present embodiment can be applied to a software component prototype that exists in a composition type overlapped in the design stage of an autosampler, as a flatness representing a connection relation to software components of a specific ECU through a top- In order to convert it into a flat view, first, a plurality of ECUs collect a complete list including prototypes of all software components to which they are mapped.

그리고 Atomic SwCPrototype 생성부(100)는 수집된 리스트에 포함된 특정 ECU가 매핑된 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성한다(S200).Then, the Atomic SwCPrototype generation unit 100 generates a prototype of the atomic software component to which the specific ECU included in the collected list is mapped (S200).

즉, 본 실시예에서는 전체 소프트웨어 컴포넌트의 프로토타입이 포함된 리스트에서 특정 ECU가 매핑된 아토믹 소프트웨어 컴포넌트의 프로토타입을 먼저 생성하고, 각각의 아토믹 소프트웨어 컴포넌트의 프로토타입을 연결하기 위해서 커넥터를 생성한다.That is, in this embodiment, a prototype of an atomic software component to which a specific ECU is mapped is first created in a list including prototypes of all software components, and a connector is created to connect prototypes of the respective atomic software components.

구체적으로 전술한 단계(S200)에서, Atomic SwCPrototype 생성부(100)는 수집된 리스트에서 특정 ECU가 매핑된 아토믹 소프트웨어 컴포넌트의 프로토타입을 추출하고(S220), 추출되는 아토믹 소프트웨어 컴포넌트의 프로토타입에 기초하여 동일한 연결 관계를 갖는 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성한다(S240).Specifically, in step S200, the Atomic SwCPrototype generation unit 100 extracts a prototype of the atomic software component to which the specific ECU is mapped in the collected list (S220), and based on the prototype of the extracted atomic software component A prototype of the atomic software component having the same connection relationship is created (S240).

전술한 과정을 통해서 Atomic SwCPrototype 생성부(100)는 특정 ECU에 대한 플랫뷰를 생성하기 위해 일차로 특정 ECU에 연결되는 모든 아토믹 소프트웨어 컴포넌트의 프로토타입을 우선 배치하고, 후술하는 과정을 통해서 각각의 아토믹 소프트웨어 컴포넌트의 연결 관계를 생성한다.Through the above process, the Atomic SwCPrototype generation unit 100 firstly arranges the prototypes of all the atomic software components connected to the specific ECU in order to generate the flat view for the specific ECU, Creates a connection relationship between software components.

이어서 커넥터 생성부(200)는 아토믹 소프트웨어 컴포넌트의 프로토타입 각각의 포트에 대응되는 커넥터를 생성한다(S300).Next, the connector creating unit 200 creates a connector corresponding to each port of the prototype of the atomic software component (S300).

즉, 커넥터 생성부(200)는 전술한 과정(S100 내지 S200)을 통해 배치된 아토믹 소프트웨어 컴포넌트의 프로토타입에 대한 연결 관계를 생성한다.That is, the connector generating unit 200 generates a connection relation to the prototype of the atomic software component disposed through the above-described processes (S100 to S200).

구체적으로 커넥터 생성부(200)는 전술한 과정(S200)에서 생성되는 모든 아토믹 소프트웨어 컴포넌트의 프로토타입을 포함하는 탑레벨의 컴포지션 소프트웨어 컴포넌트의 프로토타입을 추출하고(S320), 상기 컴포지션 소프트웨어 컴포넌트의 프로토타입에 포함되는 어셈블리 커넥터를 추출한다(S340).Specifically, the connector generation unit 200 extracts a prototype of a top-level composition software component including prototypes of all the atomic software components generated in the above-described process (S200) (S320), and the prototype of the composition software component And extracts an assembly connector included in the type (S340).

그리고 커넥터 생성부(200)는 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입의 포트 정보를 검색하고(S360), 포트 정보에 기초하여 아토믹 소프트웨어 컴포넌트의 프로토타입 각각의 포트와 연결되도록 어셈블리 커넥터 또는 델리게이션 커넥터를 생성한다(S380).The connector generating unit 200 searches for port information of the prototype of the software component connected to both sides of the assembly connector at step S360 and transmits the port information of the prototype of the at least one prototype of the atomic software component, Or a delegation connector (S380).

이와 같이, 본 실시예에서 커넥터 생성부(200)는 탑레벨의 컴포지션 소프트웨어 컴포넌트의 프로토타입에 포함되는 어셈블리 커넥터를 우선 추출하고, 해당 커넥터와 연결되는 소프트웨어 컴포넌트의 프로토타입의 포트 정보에 기초하여 포트에 대응되는 커넥터를 생성한다.In this way, in this embodiment, the connector generating unit 200 first extracts the assembly connector included in the prototype of the top-level composition software component, and extracts, based on the port information of the prototype of the software component connected to the connector, And a connector corresponding to the connector.

구체적으로 전술한 단계(S380)에서, 커넥터 생성부(200)는 어셈블리 커넥터의 양 측에 연결되는 포트 정보가 정상적으로 검색되는지 판단하고(S381), 어느 하나에서 포트 정보가 정상적으로 검색되지 않으면 포트 정보가 정상적으로 검색되지 않는 포트와 연결되도록 델리게이션 커넥터를 생성한다(S382).Specifically, in step S380, the connector generation unit 200 determines whether port information connected to both sides of the assembly connector is normally searched (S381). If the port information is not normally found in any one of them, A delegation connector is created to be connected to a port that is not normally searched (S382).

즉, 어셈블리 커넥터에 연결되는 포트 중에서 특정 포트 정보가 정상적으로 검색되지 않는다는 것은 해당 어셈블리 커넥터의 일 측에는 어떠한 소프트웨어 컴포넌트의 프로토타입도 연결되어 있지 않음을 의미한다.That is, the fact that specific port information is not normally detected among the ports connected to the assembly connector means that no prototype of any software component is connected to one side of the connector connector.

구체적으로 전술한 과정(S220)에서 특정 ECU가 매핑된 소프트웨어 컴포넌트 프로토타입을 추출하였기 때문에, 추출 대상이 되는 특정 EUC가 아닌 다른 ECU가 매핑된 소프트웨어 컴포넌트의 프로토타입에 대해서는 포트 정보가 정상적으로 검색되지 않을 수 있다.Specifically, since the software component prototype to which the specific ECU is mapped is extracted in the above-described process (S220), the port information is not normally detected for the prototype of the software component to which the ECU other than the specific EUC to be extracted is mapped .

즉, 현재 ECU A에 대한 소프트웨어 컴포넌트의 프로토타입의 연결 관계를 추출하려고 하는데 어셈블리 커넥터에 연결되는 포트가 ECU B의 포트인 경우에는 포트 정보가 정상적으로 검색되지 않는 것이다.That is, when trying to extract the connection relation of the prototype of the software component to the current ECU A, if the port connected to the assembly connector is the port of the ECU B, the port information is not normally detected.

따라서, 포트 정보가 정상적으로 검색되지 않는 어셈블리 커넥터의 일 측에 연결된 포트는 플랫뷰 탑레벨 컴포지션 자체의 포트에 해당하는 것으로 예측할 수 있으므로, 커넥터 생성부(200)는 해당 포트와 연결되도록 델리게이션 커넥터를 생성한다.Therefore, since the port connected to one side of the assembly connector in which the port information is not normally retrieved can be predicted to correspond to the port of the flat view top level composition itself, the connector generating unit 200 can transmit the delegation connector .

반면, 전술한 단계(S381)에서 어셈블리 커넥터의 양 측에 연결되는 포트 정보가 정상적으로 검색되면, 커넥터 생성부(200)는 해당 포트의 포트 정보에 포함된 컨텍스트 컴포넌트에 기초하여 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입 중 적어도 하나가 컴포지션 소프트웨어 컴포넌트의 프로토타입인지 판단한다(S383).On the other hand, if the port information to be connected to both sides of the assembly connector is normally found in the above-described step S381, the connector generating unit 200 generates the connector information on both sides of the assembly connector based on the context component included in the port information of the corresponding port At step S383, it is determined whether at least one of the prototypes of the connected software components is a prototype of the composition software component.

그리고, 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입이 모두 아토믹 소프트웨어 컴포넌트의 프로토타입에 해당하면, 더 이상 검색할 커넥터가 없으므로 커넥터 생성부(200)는 양 아토믹 소프트웨어 컴포넌트의 프로토타입들을 연결하는 어셈블리 커넥터를 생성한다(S385).If all the prototypes of the software components connected to both sides of the assembly connector correspond to the prototype of the atomic software component, the connector creation unit 200 disconnects the prototypes of the two atomic software components (S385).

한편, 전술한 단계(S383)에서 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입 중 적어도 하나가 컴포지션 소프트웨어 컴포넌트의 프로토타입에 해당하면, 연결되는 컴포지션 소프트웨어 컴포넌트의 프로토타입 내부에도 추가로 검색할 커넥터가 존재하므로 커넥터 생성부(200)는 아토믹 소프트웨어 컴포넌트의 프로토타입만이 남을 때까지 커넥터를 계속 추적한다.If at least one of the prototypes of the software components connected to both sides of the assembly connector corresponds to the prototype of the composition software component in the above described step S383, Since the connector is present, the connector creation unit 200 keeps track of the connector until only the prototype of the atomic software component remains.

구체적으로 커넥터 생성부(200)는 해당 컴포지션 소프트웨어 컴포넌트의 프로토타입의 정보와 해당 컴포지션 소프트웨어 컴포넌트의 프로토타입의 아우터 포트 정보를 입력받고(S387a), 상기 아우터 포트와 연결되는 내부의 델리게이션 커넥터를 추출하고(S387b), 델리게이션 커넥터와 연결되는 소프트웨어 컴포넌트의 프로토타입이 컴포지션 소프트웨어 프로토타입인지 판단함으로써(S387c), 커넥터의 일 측에 아토믹 소프트웨어 컴포넌트의 프로토타입이 연결될 때까지 계속해서 커넥터를 추적할 수 있다.Specifically, the connector generating unit 200 receives the prototype information of the corresponding composition software component and the outer port information of the prototype of the corresponding composition software component (S387a), extracts an internal delegation connector connected to the outer port, (S387b), it can continue to track the connector until a prototype of the atomic software component is connected to one side of the connector by determining whether the prototype of the software component connected to the delegation connector is a composition software prototype (S387c) have.

다음으로 커넥터 생성부(200)는 전술한 과정을 통해서 생성되는 아토믹 소프트웨어 컴포넌트의 프로토타입과, 그에 대응하여 생성되는 커넥터를 연결하여 특정 ECU에 대한 플랫뷰를 생성한다(S400).Next, the connector creation unit 200 creates a flat view for a specific ECU by connecting a prototype of the atomic software component generated through the above-described process and a connector generated in response to the prototype of the atomic software component (S400).

본 실시예에 따르면, 시스템 설계 단계의 모든 소프트웨어 컴포넌트의 프로토타입을 자동으로 추출하여 하나의 탑레벨 컴포지션에 해당하는 소프트웨어 컴포넌트의 프로토타입에 대한 플랫뷰를 자동으로 생성할 수 있다.
According to the present embodiment, a prototype of all the software components in the system design stage can be automatically extracted to automatically generate a flat view of the prototype of the software component corresponding to one top-level composition.

본 발명은 도면에 도시된 실시예를 참고로 하여 설명되었으나, 이는 예시적인 것에 불과하며 당해 기술이 속하는 기술분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호범위는 아래의 특허청구범위에 의하여 정해져야 할 것이다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, I will understand. Accordingly, the true scope of the present invention should be determined by the following claims.

100: 아토믹 소프트웨어 컴포넌트 프로토타입 생성부
200: 커넥터 생성부
100: Atomic software component prototype generation unit
200:

Claims (9)

아토믹 소프트웨어 컴포넌트 프로토타입 생성부가 복수의 ECU가 매핑된 소프트웨어 컴포넌트(SwComponent)의 프로토타입(Prototype)에 대한 리스트를 수집하는 단계;
상기 아토믹 소프트웨어 컴포넌트 프로토타입 생성부가 상기 수집된 리스트에 포함된 특정 ECU가 매핑된 아토믹(Atomic) 소프트웨어 컴포넌트의 프로토타입을 생성하는 단계;
커넥터 생성부가 상기 생성되는 아토믹 소프트웨어 컴포넌트의 프로토타입 각각의 포트에 대응되는 커넥터를 생성하는 단계; 및
상기 커넥터 생성부가 상기 아토믹 소프트웨어 컴포넌트의 프로토타입과, 그에 대응하여 생성되는 커넥터가 연결되도록 상기 특정 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰를 생성하는 단계를 포함하되,
상기 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성하는 단계는, 상기 특정 ECU가 매핑된 아토믹 소프트웨어 컴포넌트의 프로토타입을 추출하는 단계; 및
상기 추출되는 아토믹 소프트웨어 컴포넌트의 프로토타입에 기초하여 동일한 연결 관계를 갖는 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성하는 단계를 포함하는 것을 특징으로 하는 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법.
Collecting a list of Prototype of a software component (SwComponent) to which a plurality of ECUs are mapped;
Wherein the atomic software component prototype generator generates a prototype of an atomic software component to which a specific ECU included in the collected list is mapped;
Creating a connector corresponding to a port of each prototype of the generated atomic software component; And
Generating a flat view of a software component of the particular ECU such that the connector generator is connected to a prototype of the atomic software component and a connector generated correspondingly thereto,
The step of generating a prototype of the atomic software component includes extracting a prototype of the atomic software component to which the specific ECU is mapped; And
Generating a prototype of an atomic software component having the same connection relationship based on the prototype of the extracted atomic software component.
제 1항에 있어서,
상기 아토믹 소프트웨어 컴포넌트의 프로토타입을 생성하는 단계는,
상기 추출되는 아토믹 소프트웨어 컴포넌트의 프로토타입을 기준 소프트웨어 컴포넌트의 프로토타입으로 저장하는 단계
를 더 포함하는 것을 특징으로 하는 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법.
The method according to claim 1,
Wherein generating a prototype of the atomic software component comprises:
Storing the prototype of the extracted atomic software component as a prototype of the reference software component
And generating a flat view of a software component of an AUTOSAR based ECU.
제 2항에 있어서,
상기 아토믹 소프트웨어 컴포넌트의 프로토타입을 추출하는 단계에서, 상기 수집된 리스트에 포함된 컴포지션(Composition) 소프트웨어 컴포넌트의 프로토타입을 파싱(Parsing)하여 상기 아토믹 소프트웨어 컴포넌트의 프로토타입을 추출하는 것을 특징으로 하는 오토사 기반의 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법.
3. The method of claim 2,
Wherein a prototype of the atomic software component is extracted by parsing a prototype of a composition software component included in the collected list in a step of extracting a prototype of the atomic software component, A method of generating a flat view of a software component of a company-based ECU.
제 2항에 있어서,
상기 커넥터를 생성하는 단계는, 상기 생성되는 모든 아토믹 소프트웨어 컴포넌트의 프로토타입을 포함하는 컴포지션 소프트웨어 컴포넌트의 프로토타입에 포함되는 어셈블리(Assembly) 커넥터를 추출하는 단계;
상기 추출되는 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입의 포트 정보를 검색하는 단계; 및
상기 검색되는 포트 정보에 기초하여 상기 소프트웨어 컴포넌트의 프로토타입 각각의 포트와 연결되는 어셈블리 커넥터 또는 델리게이션(Delegation) 커넥터를 생성하는 단계
를 포함하는 것을 특징으로 하는 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법.
3. The method of claim 2,
The step of generating the connector may include extracting an assembly connector included in a prototype of a composition software component including a prototype of all the generated atomic software components;
Retrieving port information of a prototype of a software component connected to both sides of the extracted assembly connector; And
Creating an assembly connector or a delegation connector that is connected to each port of the prototype of the software component based on the port information to be searched
Generating a flat view for a software component of an AUTOSAR based ECU.
제 4항에 있어서,
상기 소프트웨어 컴포넌트의 프로토타입의 포트 정보를 검색하는 단계에서, 상기 소프트웨어 컴포넌트의 프로토타입의 포트가 프로바이더 포트(Provider port, PPort) 또는 리퀘스터 포트(Requester port, RPort)인지에 관한 포트 정보를 검색하는 것을 특징으로 하는 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법.
5. The method of claim 4,
In searching the port information of the prototype of the software component, the port information about the port of the prototype of the software component is a provider port (PPort) or a requestor port (Requester port, RPort) And generating a flat view for a software component of an AUTO-based ECU.
제 5항에 있어서,
상기 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입의 포트 중 어느 하나에서 상기 프로바이더 포트 또는 리퀘스터 포트인지에 관한 정보가 검색되지 않으면, 상기 어셈블리 커넥터 또는 델리게이션 커넥터를 생성하는 단계에서, 델리게이션 커넥터를 생성하되, 상기 델리게이션 커넥터와 연결된 이너 포트(Inner Port) 정보에 기초하여 상기 컴포지션 소프트웨어 컴포넌트의 프로토타입의 아우터 포트를 생성하고, 상기 델리게이션 커넥터는 상기 이너 포트와 상기 아우터 포트(Outer Port)를 연결하는 것을 특징으로 하는 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법.
6. The method of claim 5,
If information about the provider port or the requestor port is not retrieved from any one of the ports of the prototype of the software component connected to both sides of the assembly connector, in the step of creating the assembly connector or the delegation connector, Wherein the delegation connector creates an outer port of a prototype of the composition software component based on inner port information connected to the delegation connector, wherein the delegation connector is connected to the inner port and the outer port Outer Port) of the ECU is connected to the ECU.
제 4항에 있어서,
상기 어셈블리 커넥터 또는 델리게이션 커넥터를 생성하는 단계는, 상기 검색되는 포트 정보에 포함된 컨텍스트(Context) 컴포넌트에 기초하여 상기 어셈블리 커넥터의 양 측에 연결되는 소프트웨어 컴포넌트의 프로토타입 중 적어도 하나가 컴포지션 소프트웨어 컴포넌트의 프로토타입인지 판단하는 단계;
상기 소프트웨어 컴포넌트의 프로토타입 중 적어도 하나가 컴포지션 소프트웨어 컴포넌트의 프로토타입이면, 상기 컴포지션 소프트웨어 컴포넌트의 프로토타입의 포트와 연결되는 상기 컴포지션 소프트웨어 컴포넌트의 프로토타입 내부의 이너 포트(Inner Port)를 검색하는 단계;
상기 컴포지션 소프트웨어 컴포넌트의 프로토타입의 아우터 포트(Outer Port)와 상기 이너 포트를 연결하는 커넥터를 생성하는 단계;
상기 생성되는 커넥터와 연결되는 이너 포트 정보를 검색하는 단계; 및
상기 검색되는 이너 포트 정보에 포함된 컨텍스트 컴포넌트에 기초한 판단 결과 상기 이너 포트를 포함하는 소프트웨어 컴포넌트의 프로토타입이 아토믹 소프트웨어 컴포넌트의 프로토타입이 아니면 상기 이너 포트를 검색하는 단계로 회귀하는 단계
를 포함하는 것을 특징으로 하는 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법.
5. The method of claim 4,
Wherein the step of creating the assembly connector or the delegation connector comprises the steps of at least one of a prototype of a software component connected to both sides of the assembly connector based on a context component included in the searched port information, Determining whether the prototype is a prototype;
If at least one of the prototypes of the software component is a prototype of a composition software component, searching for an Inner Port in a prototype of the composition software component connected to a prototype port of the composition software component;
Creating a connector for connecting the outer port of the prototype of the composition software component to the inner port;
Searching for the inner port information connected to the generated connector; And
And returning to the step of searching the inner port if the prototype of the software component including the inner port is not a prototype of the atomic software component as a result of the determination based on the context component included in the searched inner port information
Generating a flat view for a software component of an AUTOSAR based ECU.
제 7항에 있어서,
상기 소프트웨어 컴포넌트의 프로토타입이 모두 아토믹 소프트웨어 컴포넌트의 프로토타입이면 상기 아토믹 소프트웨어 컴포넌트의 프로토타입들을 연결하는 어셈블리 커넥터를 생성하는 것을 특징으로 하는 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법.
8. The method of claim 7,
Generating an assembly connector that connects prototypes of the atomic software component if the prototypes of the software components are all prototypes of the atomic software component.
제 8항에 있어서,
상기 생성되는 어셈블리 커넥터에 연결된 아토믹 소프트웨어 컴포넌트의 프로토타입이 상기 저장된 기준 소프트웨어 컴포넌트의 프로토타입에 해당하는지 판단하는 단계를 더 포함하는 것을 특징으로 하는 오토사 기반 ECU의 소프트웨어 컴포넌트에 대한 플랫뷰 생성 방법.
9. The method of claim 8,
Further comprising the step of determining whether the prototype of the atomic software component connected to the generated connector connector corresponds to the prototype of the stored reference software component.
KR1020140180740A 2014-12-15 2014-12-15 Method for creating flatview of ecu software component based on autosar KR101628694B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020140180740A KR101628694B1 (en) 2014-12-15 2014-12-15 Method for creating flatview of ecu software component based on autosar

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140180740A KR101628694B1 (en) 2014-12-15 2014-12-15 Method for creating flatview of ecu software component based on autosar

Publications (1)

Publication Number Publication Date
KR101628694B1 true KR101628694B1 (en) 2016-06-10

Family

ID=56190819

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140180740A KR101628694B1 (en) 2014-12-15 2014-12-15 Method for creating flatview of ecu software component based on autosar

Country Status (1)

Country Link
KR (1) KR101628694B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023065218A1 (en) * 2021-10-21 2023-04-27 华为技术有限公司 Mapping relationship generation method and apparatus and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130138468A (en) * 2012-06-11 2013-12-19 한국전자통신연구원 Apparatus and method for connecting application software and autosar service

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130138468A (en) * 2012-06-11 2013-12-19 한국전자통신연구원 Apparatus and method for connecting application software and autosar service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
박인석 외 2명, ‘AUTOSAR 대응 경량화 소프트웨어 아키텍처를 이용한 어플리케이션 소프트웨어 모델링 및 통합 방법’, 2012년 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023065218A1 (en) * 2021-10-21 2023-04-27 华为技术有限公司 Mapping relationship generation method and apparatus and storage medium

Similar Documents

Publication Publication Date Title
CA2713247C (en) Integration environment generator
JP5282677B2 (en) Compatibility evaluation apparatus, compatibility evaluation method, and program
CN105760159A (en) Website developing method and system
US11838375B2 (en) Universal software communication bus
CN103649915A (en) Associated plugin management method, device and system
JP2018036972A (en) File format converter and conversion method thereof
KR20170115742A (en) Apparatus and method for interoperability testing of robot software
CN102893267A (en) Multi-level port expansion for port multipliers
US10091066B2 (en) Integration method and system
US10387124B2 (en) System and method for creating domain specific language
WO2020142300A1 (en) Automatic resource management for build systems
CN115617009A (en) Virtual development environment apparatus, method and recording medium
JP2011129121A (en) Apparatus and system for integrally managing static analysis tool
KR101628694B1 (en) Method for creating flatview of ecu software component based on autosar
KR101369776B1 (en) Apparatus and system of enterprise management of static analysis tools
US10235153B2 (en) Downloading data into distant equipment
KR20140059353A (en) System and method for extracting and converting cad data of ship
JP5574017B2 (en) Information processing apparatus, compatibility evaluation method, and program
Herrera et al. A framework for the generation from UML/MARTE models of IPXACT HW platform descriptions for multi-level performance estimation
EP4261631A1 (en) Control system and control method
CN114637551A (en) Device driving method, system and storage medium
KR20140073046A (en) A method for displaying components and an apparatus using it
Kaliappan et al. An approach to synchronize UML-based design components for model-driven protocol development
JP2012108707A (en) Control apparatus
US20240202108A1 (en) Computer-implemented method for determining compatible system elements and system

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190527

Year of fee payment: 4