KR102153968B1 - A method for configurating memory map comprising service model block related to service provided by electronic device - Google Patents

A method for configurating memory map comprising service model block related to service provided by electronic device Download PDF

Info

Publication number
KR102153968B1
KR102153968B1 KR1020170034015A KR20170034015A KR102153968B1 KR 102153968 B1 KR102153968 B1 KR 102153968B1 KR 1020170034015 A KR1020170034015 A KR 1020170034015A KR 20170034015 A KR20170034015 A KR 20170034015A KR 102153968 B1 KR102153968 B1 KR 102153968B1
Authority
KR
South Korea
Prior art keywords
data
model block
service model
implementation
service
Prior art date
Application number
KR1020170034015A
Other languages
Korean (ko)
Other versions
KR20180106219A (en
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 KR1020170034015A priority Critical patent/KR102153968B1/en
Publication of KR20180106219A publication Critical patent/KR20180106219A/en
Application granted granted Critical
Publication of KR102153968B1 publication Critical patent/KR102153968B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/15Plc structure of the system
    • G05B2219/15064MMU, memory management unit
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25305MMA, memory management, set ram and eprom part for flash memory, store state also
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31406Data management, shop management, memory management

Abstract

본 발명은 전자 장치가 제공하는 서비스와 관련된 서비스 모델 블록을 포함하는 메모리 맵의 구성 방법에 관한 것이다. 본 발명의 실시예에 따른 메모리 맵의 구성 방법은, 전자 장치가 제공하는 서비스와 관련된 서비스 모델 블록을 포함하는 메모리 맵의 구성 방법에 있어서, 서비스 모델 블록을 생성하는 단계, 서비스 모델 블록을 토대로 데이터 구현 비트맵을 생성하는 단계 및 데이터 구현 비트맵을 토대로 서비스 모델 블록을 재구성하는 단계를 포함한다.The present invention relates to a method of constructing a memory map including a service model block related to a service provided by an electronic device. In the method of configuring a memory map according to an embodiment of the present invention, in the method of configuring a memory map including a service model block related to a service provided by an electronic device, generating a service model block, data based on the service model block Generating an implementation bitmap and reconstructing the service model block based on the data implementation bitmap.

Description

전자 장치가 제공하는 서비스와 관련된 서비스 모델 블록을 포함하는 메모리 맵의 구성 방법{A METHOD FOR CONFIGURATING MEMORY MAP COMPRISING SERVICE MODEL BLOCK RELATED TO SERVICE PROVIDED BY ELECTRONIC DEVICE}How to construct a memory map that contains service model blocks related to services provided by electronic devices {A METHOD FOR CONFIGURATING MEMORY MAP COMPRISING SERVICE MODEL BLOCK RELATED TO SERVICE PROVIDED BY ELECTRONIC DEVICE}

본 발명은 전자 장치가 제공하는 서비스와 관련된 서비스 모델 블록을 포함하는 메모리 맵의 구성 방법에 관한 것이다.The present invention relates to a method of constructing a memory map including a service model block related to a service provided by an electronic device.

Modbus는 프로그래머블 로직 컨트롤러(PLC)를 위해 고안된 시리얼 통신 프로토콜이다. 이러한 Modbus는 산업용으로 디펙토 스탠다드(DE FACTO STANDARD)가 되어 현재 산업용 전자 기기에 접속하기 위한 가장 일반적인 수단이 되었다.Modbus is a serial communication protocol designed for programmable logic controllers (PLCs). This Modbus has become the DE FACTO STANDARD for industrial use and is now the most common means for accessing industrial electronic devices.

특히, Modbus는 사양이 공개되어 이용료가 무료인 점, 기능을 장착하기 비교적 용이한 점, 데이터를 그대로 전송할 수 있어서 판매자에게 제약이 많지 않은 점 등으로 다른 통신 프로토콜보다 널리 보급이 되었다. In particular, Modbus has become more widespread than other communication protocols due to the fact that it is free of charge because its specifications are disclosed, that it is relatively easy to install functions, and that data can be transmitted as it is, so there are not many restrictions to sellers.

이러한 Modbus가 적용되는 통신 데이터 모델에서는, 선택 구현 대상(즉, 개발자의 선택에 따라 구현 여부 결정) 데이터에 대한 상호 운용성을 확보하기 위해(예를 들어, 다양한 통신 장치/프로토콜에서 호환 가능하도록 하기 위해) 이에 맞는 메모리 맵의 구성이 필요하다. In the communication data model to which this Modbus is applied, in order to secure interoperability for the selected implementation target (i.e., whether to implement it according to the developer's choice) (for example, to make it compatible with various communication devices/protocols) ) It is necessary to configure the memory map accordingly.

여기에서, 도 1을 참조하여, 선택 구현 대상 데이터에 대한 종래의 처리 방법이 도시된 메모리 맵을 설명하도록 한다.Herein, with reference to FIG. 1, a memory map showing a conventional processing method for selection and implementation target data will be described.

도 1은 데이터의 실제 구현 여부가 반영되기 전의 Modbus용 메모리 맵의 서비스 모델 블록을 설명하는 도면이다. 도 2는 데이터의 실제 구현 여부가 반영된 서비스 모델 블록을 설명하는 도면이다. 1 is a diagram illustrating a service model block of a Modbus memory map before whether data is actually implemented or not is reflected. 2 is a diagram illustrating a service model block in which data is actually implemented.

도 1을 참조하면, Modbus용 메모리 맵(10)에는, 복수개의 서비스 모델 블록(예를 들어, 15a)이 포함되어 있음을 알 수 있다.Referring to FIG. 1, it can be seen that a plurality of service model blocks (eg, 15a) are included in the Modbus memory map 10.

여기에서, 서비스 모델은 전자 장치가 제공하는 서비스에 대한 통신 데이터 모델을 의미할 수 있고, 도 1에 도시된 메모리 맵(10)은 이러한 통신 데이터 모델 설계에 적용되는 메모리 맵을 의미할 수 있다.Here, the service model may refer to a communication data model for a service provided by the electronic device, and the memory map 10 illustrated in FIG. 1 may refer to a memory map applied to designing such a communication data model.

참고로, 서비스 모델 블록(15a)은 하나의 서비스 모델의 설계시 이용되는 데이터 집단(메모리 맵(10)에 저장되는 해당 서비스 관련 데이터 집단)을 의미할 수 있다. For reference, the service model block 15a may mean a data group (a service-related data group stored in the memory map 10) used when designing one service model.

또한, 이러한 통신 데이터 모델(즉, 서비스 모델)은 전자 장치가 제공하는 서비스 별로 구성될 수 있다. In addition, the communication data model (ie, service model) may be configured for each service provided by the electronic device.

구체적으로, 전자 장치는 예를 들어, 인버터(inverter), PLC(Power Line Communication) 장치, HMI(Human Machine Interface) 장치, DCS(Distributed Control System) 등일 수 있다. Specifically, the electronic device may be, for example, an inverter, a power line communication (PLC) device, a human machine interface (HMI) device, a distributed control system (DCS), or the like.

또한 서비스는 예를 들어, 전자 장치가 자신과 연동된 외부 장비 또는 사용자에게 제공해야 하는 서비스를 의미할 수 있다. In addition, a service may mean, for example, a service that an electronic device must provide to an external device or a user interworked with it.

따라서, 전자 장치가 제공하는 서비스는 전자 장치와 외부 장비(또는 사용자) 간 상호 작용(즉, 통신)을 통해서 가능하다. Accordingly, a service provided by an electronic device is possible through an interaction (ie, communication) between the electronic device and an external device (or user).

또한, 전자 장치는 이러한 서비스를 통해 외부 장비 또는 사용자에게 기능을 제공하는바, 해당 서비스를 실현하기 위해 전자 장치는 다양한 데이터 및 기능을 포함할 수 있다. Also, since the electronic device provides functions to external equipment or users through such services, the electronic device may include various data and functions in order to realize the corresponding service.

여기에서, 서비스 모델 블록(15a)에는 오프셋 값(Offset), 크기(Size), 읽기/쓰기 가능 여부(R/W), 이름(Name), 데이터 유형(Type), 설명(Description), 필수/선택 구현 여부(M/O) 등과 같이 다양한 항목이 포함될 수 있다.Here, in the service model block 15a, the offset value (Offset), size (Size), read/write availability (R/W), name (Name), data type (Type), description, required/ Various items may be included, such as whether to implement selection (M/O).

참고로, 오프셋 값(Offset)에는 기본 주소(예를 들어, 30001, 30070 등)와의 차이값(예를 들어, 메모리 맵(10) 내에서 데이터(즉, 데이터 항목)의 위치를 규정할 때, 기본 주소를 기준으로 하여 그 차이를 명령어 피연산자 주소 부분으로 나타낸 값), 크기(Size)에는 해당 데이터의 크기, 읽기/쓰기 가능 여부(R/W)에는 해당 데이터의 읽기/쓰기 가능 여부, 이름(Name)에는 해당 데이터의 이름, 데이터 유형(Type)에는 해당 데이터의 유형(예를 들어, unit16, int16, uint32, int32, float, double, string 등), 설명(Description)에는 해당 데이터의 내용에 대한 설명, 필수/선택 구현 여부(M/O)에는 해당 데이터의 필수/선택 구현 여부가 각각 입력될 수 있다.For reference, when defining the location of the data (that is, data item) within the memory map 10, for reference, the offset value (Offset) is a difference value from the base address (for example, 30001, 30070, etc.), Based on the base address, the difference is expressed as the address of the instruction operand), size (Size) is the size of the data, read/write availability (R/W) is read/write of the data, name ( Name) is the name of the data, Data Type is the type of the data (for example, unit16, int16, uint32, int32, float, double, string, etc.), and Description is the content of the data. In the description, whether required/optionally implemented (M/O), whether or not required/optionally implemented for the corresponding data may be entered, respectively.

도 2를 참조하면, 개발하고자 하는 제품(예를 들어, BMS(Battery Management System))에 대해 선택 구현 대상인 복수개의 데이터(M/O에서 O(Option)에 해당하는 데이터) 중 일부만이 실제 구현되고, 나머지 선택 구현 대상인 데이터는 구현되지 않는 경우(물론, 필수 구현 대상인 데이터(M/O에서 M(Mandatory)에 해당하는 데이터)는 전부 구현), 종래에는 상위 시스템(예를 들어, PMS(Power Management System) 또는 EMS(Energy Management System))에서 해당 제품에 대한 상호 운용성을 확보하기 위해 실제 구현되지 않는 데이터에 대해서는 'Not Implementation(0xFFFF)'으로 값(Value)을 부여하였다.Referring to FIG. 2, only some of the plurality of data (data corresponding to O (Option) in M/O) that are selected and implemented for a product to be developed (eg, BMS (Battery Management System)) are actually implemented. , When the data that is the other optional implementation targets are not implemented (of course, all data that is required implementation targets (data corresponding to M/O to M (Mandatory)) are all implemented), and in the past, higher-level systems (for example, PMS (Power Management) System) or EMS (Energy Management System)) in order to secure interoperability for the product, a value was assigned as'Not Implementation (0xFFFF)' for data that is not actually implemented.

이에 따라, 도 2에 도시된 서비스 모델 블록(15b)에서는, 예를 들어, 오프셋 값(Offset) 1(즉, ID; 서비스 간 분별을 위해 존재하는 식별자) 및 2(즉, 데이터 길이; 해당 서비스 모델 블록에 포함되는 데이터의 전체 길이)에 대응되는 데이터를 제외하고는, 전체 데이터 31개 중 14개만이 유효한 데이터로 처리되고, 나머지 15개는 무효한 데이터로써, 'Not Implementation(0xFFFF)'으로 처리된다.Accordingly, in the service model block 15b shown in FIG. 2, for example, the offset value 1 (i.e., ID; an identifier present for discrimination between services) and 2 (i.e., data length; corresponding service Except for data corresponding to the total length of data included in the model block), only 14 out of 31 data are processed as valid data, and the remaining 15 are invalid data, and are referred to as'Not Implementation (0xFFFF)'. Is processed.

이 경우, 해당 서비스 모델 블록(15b)의 약 50~60%의 데이터가 불필요하게 메모리(미도시)를 점유/사용하게 되며, 아울러, 유효한 14개의 데이터를 읽기 위해 15개의 무효한 데이터를 함께 읽어야 하는 문제가 발생하게 된다. In this case, about 50 to 60% of the data in the service model block 15b unnecessarily occupies/uses memory (not shown), and 15 invalid data must be read together to read 14 valid data. The problem arises.

즉, 선택 구현 대상 데이터 중 실제 구현되지 않는 데이터가 많을수록 메모리 공간을 불필요하게 사용하게 되는 문제가 증가하게 되고, 데이터에 대한 상호 운용성이 저하되며, 결과적으로 시스템의 성능이 악화될 수 있다는 문제가 있다. That is, as the number of data that is not actually implemented among the selected implementation target data increases, there is a problem that the problem of unnecessary use of the memory space increases, interoperability with respect to the data decreases, and as a result, the performance of the system may deteriorate. .

본 발명은 데이터 구현 비트맵을 통해 실제 구현하고자 하는 데이터를 토대로 최적화된 메모리 맵을 구성함으로써 데이터에 대한 상호 운용성을 확보하고 메모리 효율을 개선할 수 있는 메모리 맵의 구성 방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method of configuring a memory map capable of securing data interoperability and improving memory efficiency by configuring an optimized memory map based on data to be implemented through a data implementation bitmap. .

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있고, 본 발명의 실시예에 의해 보다 분명하게 이해될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention that are not mentioned can be understood by the following description, and will be more clearly understood by examples of the present invention. In addition, it will be easily understood that the objects and advantages of the present invention can be realized by the means shown in the claims and combinations thereof.

상기의 목적을 달성하기 위해 본 발명의 실시예에 따른 메모리 맵의 구성 방법은, 전자 장치가 제공하는 서비스와 관련된 서비스 모델 블록을 포함하는 메모리 맵의 구성 방법에 있어서, 서비스 모델 블록을 생성하는 단계, 서비스 모델 블록을 토대로 데이터 구현 비트맵을 생성하는 단계 및 데이터 구현 비트맵을 토대로 서비스 모델 블록을 재구성하는 단계를 포함한다.In order to achieve the above object, a method of constructing a memory map according to an embodiment of the present invention includes generating a service model block in the method of constructing a memory map including a service model block related to a service provided by an electronic device. And generating a data implementation bitmap based on the service model block, and reconfiguring the service model block based on the data implementation bitmap.

상기 서비스 모델 블록은 전자 장치가 제공하는 서비스와 관련된 복수개의 데이터를 포함하고, 서비스 모델 블록에는 복수개의 데이터 각각의 오프셋 값, 크기, 읽기/쓰기 가능 여부, 이름, 유형, 설명 및 필수/선택 구현 여부 중 적어도 하나가 저장된다.The service model block includes a plurality of data related to a service provided by the electronic device, and the service model block includes an offset value, size, read/write availability, name, type, description, and required/optional implementation of each of the plurality of data. At least one of whether or not is stored.

상기 서비스 모델 블록을 토대로 데이터 구현 비트맵을 생성하는 단계에서는, 복수개의 데이터 중 실제 구현 대상인 데이터를 토대로 데이터 구현 비트맵을 생성한다.In the step of generating a data implementation bitmap based on the service model block, a data implementation bitmap is generated based on data that is an actual implementation object among a plurality of data.

상기 복수개의 데이터 중 실제 구현 대상인 데이터는 개발자로부터 제공받은 입력을 토대로 선정된다.Among the plurality of data, data that is an actual implementation target is selected based on an input provided from a developer.

상기 데이터 구현 비트맵은, 복수개의 데이터 각각의 이름 및 복수개의 데이터 각각의 실제 구현 여부와 관련된 정보를 포함한다.The data implementation bitmap includes a name of each of the plurality of data and information related to whether each of the plurality of data is actually implemented.

상기 데이터 구현 비트맵을 토대로 서비스 모델 블록을 재구성하는 단계는, 서비스 모델 블록에 복수개의 데이터 각각의 값에 대한 정보를 추가하는 단계와, 서비스 모델 블록에 데이터 구현 비트맵과 관련된 데이터를 추가하는 단계와, 데이터 구현 비트맵을 토대로 복수개의 데이터 중 실제 구현 대상이 아닌 데이터를 삭제하여 서비스 모델 블록을 재구성하는 단계를 포함한다.Reconfiguring the service model block based on the data implementation bitmap may include adding information on each value of a plurality of data to the service model block, and adding data related to the data implementation bitmap to the service model block. And, reconfiguring the service model block by deleting data that is not an actual implementation object among the plurality of data based on the data implementation bitmap.

상기 서비스 모델 블록을 생성하는 단계에서는, 서비스를 식별하기 위한 ID와 서비스와 관련된 데이터의 전체 길이를 토대로 서비스 모델 블록을 생성한다.In the step of generating the service model block, a service model block is generated based on an ID for identifying a service and the total length of data related to the service.

상기 ID와 관련된 정보는 서비스 모델 블록에 포함된 복수개의 데이터 중 어느 하나의 이름에 저장되고, 데이터의 전체 길이와 관련된 정보는 서비스 모델 블록에 포함된 복수개의 데이터 중 다른 하나의 이름에 저장된다.Information related to the ID is stored in one name among a plurality of data included in the service model block, and information related to the total length of data is stored in the other name among a plurality of data included in the service model block.

전술한 바와 같이 본 발명에 의하면, 데이터 구현 비트맵을 통해 실제 구현하고자 하는 데이터를 토대로 최적화된 메모리 맵을 구성함으로써 데이터에 대한 상호 운용성을 확보하고 메모리 효율을 개선할 수 있다. 또한 이를 통해, 시스템 성능 악화도 미연에 방지할 수 있다.As described above, according to the present invention, it is possible to secure data interoperability and improve memory efficiency by configuring an optimized memory map based on data to be implemented through a data implementation bitmap. In addition, through this, system performance deterioration can be prevented in advance.

도 1은 데이터의 실제 구현 여부가 반영되기 전의 Modbus용 메모리 맵의 서비스 모델 블록을 설명하는 도면이다.
도 2는 데이터의 실제 구현 여부가 반영된 서비스 모델 블록을 설명하는 도면이다.
도 3은 본 발명의 일 실시예에 따른 메모리 맵 구성 시스템을 설명하는 블록도이다.
도 4는 도 3의 메모리 맵 구성 시스템의 메모리 맵의 구성 방법을 설명하는 순서도이다.
도 5는 도 4의 S300을 설명하는 순서도이다.
도 6은 도 4의 데이터 구현 비트맵을 설명하는 도면이다.
도 7은 도 5의 재구성된 서비스 모델 블록을 설명하는 도면이다.
1 is a diagram illustrating a service model block of a Modbus memory map before whether data is actually implemented or not is reflected.
2 is a diagram illustrating a service model block in which data is actually implemented.
3 is a block diagram illustrating a system for configuring a memory map according to an embodiment of the present invention.
4 is a flowchart illustrating a method of configuring a memory map in the memory map configuration system of FIG. 3.
5 is a flowchart illustrating S300 of FIG. 4.
6 is a diagram illustrating a data implementation bitmap of FIG. 4.
7 is a diagram illustrating a reconstructed service model block of FIG. 5.

전술한 목적, 특징 및 장점은 첨부된 도면을 참조하여 상세하게 후술되며, 이에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 상세한 설명을 생략한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. 도면에서 동일한 참조부호는 동일 또는 유사한 구성요소를 가리키는 것으로 사용된다.The above-described objects, features, and advantages will be described later in detail with reference to the accompanying drawings, and accordingly, one of ordinary skill in the art to which the present invention pertains will be able to easily implement the technical idea of the present invention. In describing the present invention, if it is determined that a detailed description of known technologies related to the present invention may unnecessarily obscure the subject matter of the present invention, a detailed description will be omitted. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used to indicate the same or similar elements.

이하에서는, 도 3을 참조하여 본 발명의 일 실시예에 따른 메모리 맵 구성 시스템(1)을 설명하도록 한다.Hereinafter, a memory map configuration system 1 according to an embodiment of the present invention will be described with reference to FIG. 3.

도 3은 본 발명의 일 실시예에 따른 메모리 맵 구성 시스템을 설명하는 블록도이다. 3 is a block diagram illustrating a system for configuring a memory map according to an embodiment of the present invention.

도 3을 참조하면, 본 발명의 일 실시예에 따른 메모리 맵 구성 시스템(1)은 서비스 모델 블록 생성 유닛(100), 데이터 구현 비트맵 생성 유닛(200), 서비스 모델 블록 재구성 유닛(300), 입력 유닛(400), 메모리 맵(500)을 포함할 수 있다.Referring to FIG. 3, a memory map configuration system 1 according to an embodiment of the present invention includes a service model block generation unit 100, a data implementation bitmap generation unit 200, a service model block reconfiguration unit 300, and It may include an input unit 400 and a memory map 500.

서비스 모델 블록 생성 유닛(100)은 서비스 모델 블록을 생성할 수 있다.The service model block generation unit 100 may generate a service model block.

구체적으로, 서비스 모델 블록 생성 유닛(100)은 전자 장치가 제공하는 서비스별로 서비스 모델 블록을 생성할 수 있다.Specifically, the service model block generation unit 100 may generate a service model block for each service provided by the electronic device.

참고로, 전자 장치는 예를 들어, 인버터(inverter), PLC(Power Line Communication) 장치, HMI(Human Machine Interface) 장치, DCS(Distributed Control System) 등일 수 있다. For reference, the electronic device may be, for example, an inverter, a power line communication (PLC) device, a human machine interface (HMI) device, a Distributed Control System (DCS), or the like.

또한 전자 장치는 복수개일 수 있고, 서비스 모델 블록 생성 유닛(100)은 복수개의 전자 장치 각각이 제공하는 서비스 별로 서비스 모델 블록을 생성할 수 있다. In addition, there may be a plurality of electronic devices, and the service model block generation unit 100 may generate a service model block for each service provided by each of the plurality of electronic devices.

서비스 모델 블록 생성 유닛(100)은 해당 서비스 별로 ID(즉, 서비스 간 분별을 위해 존재하는 식별자)와 길이(즉, 해당 서비스 모델 블록에 포함되는 데이터의 전체 길이)를 부여하고, 각 ID에 대해 관련 서비스 정보(즉, 복수개의 데이터 항목)를 부여함으로써 해당 서비스 별로 서비스 모델 블록을 생성할 수 있다.The service model block generation unit 100 assigns an ID (i.e., an identifier that exists for discrimination between services) and a length (i.e., the total length of data included in the service model block) for each service, and By assigning related service information (ie, a plurality of data items), a service model block can be generated for each corresponding service.

즉, 서비스 모델 블록 생성 유닛(100)은 서비스를 식별하기 위한 ID와 서비스와 관련된 데이터의 전체 길이를 토대로 서비스 모델 블록을 생성할 수 있다.That is, the service model block generation unit 100 may generate a service model block based on an ID for identifying a service and a total length of data related to the service.

참고로, 서비스 모델 블록은 전자 장치가 제공하는 서비스와 관련된 복수개의 데이터를 포함할 수 있다. 또한 서비스 모델 블록에는 복수개의 데이터 각각의 오프셋 값, 크기, 읽기/쓰기 가능 여부, 이름, 데이터 유형, 설명, 필수/선택 구현 여부 중 적어도 하나가 저장될 수 있다. For reference, the service model block may include a plurality of data related to a service provided by the electronic device. In addition, the service model block may store at least one of an offset value, size, read/write availability, name, data type, description, and required/optional implementation of each of the plurality of data.

여기에서, 오프셋 값에는 기본 주소와의 차이값(예를 들어, 메모리 맵 내에서 데이터(즉, 데이터 항목)의 위치를 규정할 때, 기본 주소를 기준으로 하여 그 차이를 명령어 피연산자 주소 부분으로 나타낸 값), 크기에는 해당 데이터의 크기, 읽기/쓰기 가능 여부에는 해당 데이터의 읽기/쓰기 가능 여부, 이름에는 해당 데이터의 이름, 데이터 유형에는 해당 데이터의 유형(예를 들어, unit16, int16, uint32, int32, float, double, string 등), 설명에는 해당 데이터의 내용에 대한 설명, 필수/선택 구현 여부에는 해당 데이터의 필수/선택 구현 여부가 각각 입력될 수 있다.Here, in the offset value, when specifying the location of the data (i.e., data item) in the memory map, the difference from the base address is expressed as the address part of the instruction operand. Value), size is the size of the data, read/write is available for read/write of the data, name is the name of the data, and data type is the type of the data (e.g. unit16, int16, uint32, int32, float, double, string, etc.), a description of the content of the corresponding data may be entered in the description, and required/optional implementation of the data may be entered in the required/optional implementation.

참고로, ID와 관련된 정보는 서비스 모델 블록에 포함된 복수개의 데이터 중 어느 하나의 '이름'에 저장될 수 있고, 데이터의 전체 길이와 관련된 정보는 서비스 모델 블록에 포함된 복수개의 데이터 중 다른 하나의 '이름'에 저장될 수 있다.For reference, ID-related information may be stored in any one'name' of a plurality of data included in the service model block, and information related to the total length of the data is the other one of the plurality of data included in the service model block. Can be stored in the'name' of.

서비스 모델 블록 생성 유닛(100)은 생성된 서비스 모델 블록을 메모리 맵(500) 및 데이터 구현 비트맵 생성 유닛(200)에 각각 제공할 수 있다.The service model block generation unit 100 may provide the generated service model block to the memory map 500 and the data implementation bitmap generation unit 200, respectively.

즉, 서비스 모델 블록 생성 유닛(100)에서 생성된 서비스 모델 블록은 메모리 맵(500)에 저장될 수 있다. That is, the service model block generated by the service model block generation unit 100 may be stored in the memory map 500.

데이터 구현 비트맵 생성 유닛(200)은 서비스 모델 블록을 토대로 데이터 구현 비트맵을 생성할 수 있다.The data implementation bitmap generation unit 200 may generate a data implementation bitmap based on a service model block.

구체적으로, 데이터 구현 비트맵 생성 유닛(200)은 서비스 모델 블록 생성 유닛(100)으로부터 서비스 모델 블록을 제공받아 데이터 구현 비트맵을 생성할 수 있다.Specifically, the data implementation bitmap generation unit 200 may receive a service model block from the service model block generation unit 100 and generate a data implementation bitmap.

또한, 데이터 구현 비트맵 생성 유닛(200)은 입력 유닛(400)으로부터 서비스 모델 블록에 포함된 복수개의 데이터 중 실제 구현 대상인 데이터가 무엇인지에 대한 정보를 제공받을 수 있다.In addition, the data implementation bitmap generation unit 200 may receive information on what data is an actual implementation target among a plurality of data included in the service model block from the input unit 400.

여기에서, 실제 구현 대상 데이터는 개발자 또는 외부 장치(미도시)로부터 제공받은 입력을 토대로 선정된다. Here, the actual implementation target data is selected based on an input provided from a developer or an external device (not shown).

즉, 입력 유닛(400)은 개발자 또는 외부 장치로부터 제공받은 실제 구현 대상 데이터에 대한 정보를 데이터 구현 비트맵 생성 유닛(200)에 제공하는 것이다. That is, the input unit 400 provides information on actual implementation target data provided from a developer or an external device to the data implementation bitmap generation unit 200.

또한 실제 구현 대상 데이터는 개발자가 해당 서비스와 관련된 제품을 개발하기 위해 구현하기로 결정한 데이터일 수 있다. In addition, the actual implementation target data may be data that the developer decides to implement to develop a product related to the service.

이와 같이, 데이터 구현 비트맵 생성 유닛(200)은 입력 유닛(400) 및 서비스 모델 블록 생성 유닛(100)으로부터 각각 제공받은 실제 구현 대상 데이터에 대한 정보 및 서비스 모델 블록을 토대로 데이터 구현 비트맵을 생성할 수 있다.In this way, the data implementation bitmap generation unit 200 generates a data implementation bitmap based on information on the actual implementation target data and service model blocks respectively provided from the input unit 400 and the service model block generation unit 100 can do.

데이터 구현 비트맵은 복수개의 데이터 각각의 이름 및 복수개의 데이터 각각의 실제 구현 여부와 관련된 정보를 포함하는바, 이에 대한 구체적인 설명은 후술하도록 한다. The data implementation bitmap includes a name of each of the plurality of data and information related to whether each of the plurality of data is actually implemented, and a detailed description thereof will be described later.

참고로, 서비스 모델 블록이 복수개인 경우, 데이터 구현 비트맵 생성 유닛(200)은 복수개의 서비스 모델 블록 각각에 대해서 전술한 데이터 구현 비트맵 생성 작업을 진행할 수 있다. For reference, when there are a plurality of service model blocks, the data implementation bitmap generation unit 200 may perform the above-described data implementation bitmap generation operation for each of the plurality of service model blocks.

서비스 모델 블록 재구성 유닛(300)은 데이터 구현 비트맵을 토대로 서비스 모델 블록을 재구성할 수 있다. The service model block reconfiguration unit 300 may reconstruct a service model block based on a data implementation bitmap.

구체적으로, 서비스 모델 블록 재구성 유닛(300)은 메모리 맵(500)에 저장된 서비스 모델 블록에 복수개의 데이터 각각의 값에 대한 정보를 추가할 수 있다.Specifically, the service model block reconfiguration unit 300 may add information on each value of a plurality of data to a service model block stored in the memory map 500.

여기에서, 복수개의 데이터는 해당 서비스 모델 블록에 포함된 데이터들을 의미한다.Here, the plurality of data refers to data included in the corresponding service model block.

또한 서비스 모델 블록 재구성 유닛(300)은 데이터 구현 비트맵 생성 유닛(200)으로부터 데이터 구현 비트맵을 제공받고, 서비스 모델 블록에 데이터 구현 비트맵과 관련된 데이터를 추가할 수 있다.In addition, the service model block reconstruction unit 300 may receive a data implementation bitmap from the data implementation bitmap generation unit 200 and add data related to the data implementation bitmap to the service model block.

이 후, 서비스 모델 블록 재구성 유닛(300)은 데이터 구현 비트맵을 토대로 복수개의 데이터 중 실제 구현 대상이 아닌 데이터를 삭제하여 서비스 모델 블록을 재구성할 수 있다. After that, the service model block reconfiguration unit 300 may reconstruct the service model block by deleting data that is not an actual implementation object among the plurality of data based on the data implementation bitmap.

구체적으로 예를 들어, 서비스 모델 블록 재구성 유닛(300)은 복수개의 데이터 중 실제 구현 대상이 아닌 데이터를 삭제한 후, 실제 구현 대상인 데이터들을 데이터 구현 비트맵과 관련된 데이터(오프셋 값이 3인 경우)의 다음 항목(오프셋 값 4 이상부터)으로 배치할 수 있다. Specifically, for example, the service model block reconfiguration unit 300 deletes data that is not an actual implementation object among a plurality of data, and then transfers the actual implementation object data to data related to the data implementation bitmap (when the offset value is 3). It can be placed as the next item of (from offset value 4 or higher).

참고로, 서비스 모델 블록이 복수개인 경우, 서비스 모델 블록 재구성 유닛(300)은 복수개의 서비스 모델 블록 각각에 대해서 전술한 재구성 작업을 진행할 수 있다. For reference, when there are a plurality of service model blocks, the service model block reconfiguration unit 300 may perform the above-described reconstruction operation for each of the plurality of service model blocks.

입력 유닛(400)은 사용자, 개발자 또는 외부 장치로부터 입력을 제공받고, 제공받은 입력을 서비스 모델 블록 생성 유닛(100), 데이터 구현 비트맵 생성 유닛(200), 서비스 모델 블록 재구성 유닛(300)에 제공할 수 있다.The input unit 400 receives an input from a user, a developer, or an external device, and transmits the received input to the service model block generation unit 100, the data implementation bitmap generation unit 200, and the service model block reconfiguration unit 300. Can provide.

구체적으로, 예를 들어, 입력 유닛(400)은 외부 장치로부터 전자 장치가 제공하는 서비스에 대한 정보를 입력으로 제공받아 서비스 모델 블록 생성 유닛(100)에 제공할 수 있다. Specifically, for example, the input unit 400 may receive information on a service provided by the electronic device from an external device as an input and provide it to the service model block generation unit 100.

또한 입력 유닛(400)은 개발자 또는 외부 장치로부터 제공받은 실제 구현 대상 데이터에 대한 정보를 데이터 구현 비트맵 생성 유닛(200)에 제공하는 것이다. In addition, the input unit 400 provides information on actual implementation target data provided from a developer or an external device to the data implementation bitmap generation unit 200.

또한 입력 유닛(400)은 외부 장치로부터 서비스 모델 블록에 포함되는 복수개의 데이터 각각의 값에 대한 정보를 제공받아 서비스 모델 블록 재구성 유닛(300)에 제공할 수 있다. In addition, the input unit 400 may receive information on each value of a plurality of data included in the service model block from an external device and provide it to the service model block reconfiguration unit 300.

전술한 예시 외에도, 입력 유닛(400)은 메모리 맵 구성 시스템(1)에 필요한 다양한 입력을 사용자 또는 외부 장치로부터 제공받아 서비스 모델 블록 생성 유닛(100), 데이터 구현 비트맵 생성 유닛(200), 서비스 모델 블록 재구성 유닛(300) 등에 제공할 수 있다.In addition to the above-described examples, the input unit 400 receives various inputs required for the memory map configuration system 1 from a user or an external device, and receives a service model block generation unit 100, a data implementation bitmap generation unit 200, and a service. It may be provided to the model block reconstruction unit 300 or the like.

이하에서는, 도 4 내지 7을 참조하여, 도 4의 메모리 맵의 구성 방법에 대해 설명하도록 한다.Hereinafter, a method of configuring the memory map of FIG. 4 will be described with reference to FIGS. 4 to 7.

도 4는 도 3의 메모리 맵 구성 시스템의 메모리 맵의 구성 방법을 설명하는 순서도이다. 도 5는 도 4의 S300을 설명하는 순서도이다. 도 6은 도 4의 데이터 구현 비트맵을 설명하는 도면이다. 도 7은 도 5의 재구성된 서비스 모델 블록을 설명하는 도면이다.4 is a flowchart illustrating a method of configuring a memory map in the memory map configuration system of FIG. 3. 5 is a flowchart illustrating S300 of FIG. 4. 6 is a diagram illustrating a data implementation bitmap of FIG. 4. 7 is a diagram illustrating a reconstructed service model block of FIG. 5.

도 3 내지 7을 참조하면, 먼저, 서비스 모델 블록을 생성한다(S100). 3 to 7, first, a service model block is generated (S100).

참고로, S100 단계는 서비스 모델 블록 생성 유닛(100)에 의해 수행될 수 있다. For reference, step S100 may be performed by the service model block generation unit 100.

구체적으로, 서비스를 식별하기 위한 ID와 서비스와 관련된 데이터의 전체 길이를 토대로 서비스 모델 블록(예를 들어, 도 1의 15a)을 생성할 수 있다. Specifically, a service model block (eg, 15a of FIG. 1) may be generated based on an ID for identifying a service and the total length of data related to the service.

즉, 서비스 별로 ID와 길이가 부여되고, 각 ID에 대해 관련 서비스 정보가 부여됨으로써 서비스 별로 서비스 모델 블록이 생성될 수 있다. That is, an ID and a length are assigned to each service, and related service information is assigned to each ID, thereby generating a service model block for each service.

설명의 편의를 위해 도 1에 도시된 서비스 모델 블록(도 1의 15a)을 예로 들면, 서비스 모델 블록(도 1의 15a)에는 오프셋 값(Offset), 크기(Size), 읽기/쓰기 가능 여부(R/W), 이름(Name), 데이터 유형(Type), 설명(Description), 필수/선택 구현 여부(M/O) 항목이 포함될 수 있다.For convenience of explanation, taking the service model block shown in FIG. 1 (15a of FIG. 1) as an example, the service model block (15a of FIG. 1) includes an offset value, size, and read/write availability ( R/W), name, data type, description, and required/optional implementation (M/O) items may be included.

이 중 오프셋 값(Offset)이 1인 데이터 항목의 '이름(Name)'에는 ID 정보(예를 들어, '1001')가 저장되어 있고, 오프셋 값(Offset)이 2인 데이터 항목의 '이름(Name)'에는 데이터의 전체 길이(L) 정보(예를 들어, '53')가 저장되어 있을 수 있다.Among them, ID information (for example, '1001') is stored in the'Name' of the data item whose offset value is 1, and the'name ( Name)' may store the total length (L) information (for example, '53') of the data.

물론 전자 장치가 복수개인 경우, 복수개의 전자 장치 각각이 제공하는 서비스 별로 서비스 모델 블록을 생성할 수 있다. Of course, when there are a plurality of electronic devices, a service model block may be generated for each service provided by each of the plurality of electronic devices.

이어서, 서비스 모델 블록을 토대로 데이터 구현 비트맵을 생성한다(S200).Subsequently, a data implementation bitmap is generated based on the service model block (S200).

참고로, S200 단계는 데이터 구현 비트맵 생성 유닛(200)에 의해 수행될 수 있다.For reference, step S200 may be performed by the data implementation bitmap generation unit 200.

구체적으로, 서비스 모델 블록에 포함된 복수개의 데이터 중 실제 구현 대상인 데이터를 토대로 데이터 구현 비트맵을 생성할 수 있다. Specifically, a data implementation bitmap may be generated based on data that is an actual implementation target among a plurality of data included in the service model block.

여기에서, 복수개의 데이터 중 실제 구현 대상인 데이터는 개발자 또는 외부 장치로부터 제공받은 입력을 토대로 선정될 수 있고, 실제 구현 대상 데이터는 개발자가 해당 서비스와 관련된 제품을 개발하기 위해 구현하기로 결정한 데이터일 수 있다. Here, among the plurality of data, the actual implementation target data may be selected based on an input provided from a developer or an external device, and the actual implementation target data may be data that the developer decides to implement to develop a product related to the service. have.

이와 같이, 데이터 구현 비트맵은 실제 구현 대상 데이터에 대한 정보 및 서비스 모델 블록을 토대로 생성될 수 있다.In this way, the data implementation bitmap may be generated based on the information on the actual implementation target data and the service model block.

도 6에는 도 1에 도시된 서비스 모델 블록(15a)을 토대로 생성된 데이터 구현 비트맵(250)의 예시가 도시되어 있다.6 shows an example of a data implementation bitmap 250 generated based on the service model block 15a shown in FIG. 1.

데이터 구현 비트맵(250)은 복수개의 데이터 각각의 이름 및 복수개의 데이터 각각의 실제 구현 여부와 관련된 정보를 포함할 수 있다. The data implementation bitmap 250 may include a name of each of the plurality of data and information related to whether each of the plurality of data is actually implemented.

구체적으로 예를 들어, 데이터 구현 비트맵(250)은 비트(bit), 필드(field), 구현 여부 항목을 포함할 수 있고, 각 비트(bit)에 대응되는 '필드(field)' 항목에는 데이터의 이름(도 1의 15a의 Name 항목)이 저장되고, '구현 여부' 항목에는 실제 구현 대상 데이터인 경우 1이 저장되고, 실제 구현 대상 데이터가 아닌 경우 0이 저장될 수 있다.Specifically, for example, the data implementation bitmap 250 may include a bit, a field, and an implementation status item, and in a'field' item corresponding to each bit, data The name of (Name item 15a of FIG. 1) is stored, and 1 may be stored in the case of actual implementation target data, and 0 may be stored in the case of actual implementation target data.

이어서, 데이터 구현 비트맵을 토대로 서비스 모델 블록을 재구성한다(S300).Subsequently, the service model block is reconstructed based on the data implementation bitmap (S300).

참고로, S300 단계는 서비스 모델 블록 재구성 유닛(300)에 의해 수행될 수 있다.For reference, step S300 may be performed by the service model block reconfiguration unit 300.

구체적으로, 데이터 구현 비트맵을 토대로 서비스 모델 블록을 재구성하는 단계(S300)는 서비스 모델 블록에 복수개의 데이터 각각의 값에 대한 정보를 추가하는 단계(S320)와, 서비스 모델 블록에 데이터 구현 비트맵과 관련된 데이터를 추가하는 단계(S340)와, 데이터 구현 비트맵을 토대로 복수개의 데이터 중 실제 구현 대상이 아닌 데이터를 삭제하여 서비스 모델 블록을 재구성하는 단계(S360)를 포함할 수 있다.Specifically, the step of reconfiguring the service model block based on the data implementation bitmap (S300) includes adding information on each value of a plurality of data to the service model block (S320), and the data implementation bitmap to the service model block. A step of adding data related to (S340) and reconfiguring a service model block by deleting data that is not an actual implementation object among the plurality of data based on the data implementation bitmap (S360).

도 7에는 데이터 구현 비트맵을 토대로 재구성된 서비스 모델 블록(150)이 도시되어 있다. 7 shows a service model block 150 reconstructed based on a data implementation bitmap.

도 7에 도시된 서비스 모델 블록(150)은 도 1에 도시된 서비스 모델 블록(15a)과 비교하였을 때, 값(Value) 항목이 추가되어 있고, 오프셋 값(Offset) 3에 해당하는 항목에 데이터 구현 비트맵과 관련된 데이터가 추가되었음을 알 수 있다. When the service model block 150 shown in FIG. 7 is compared with the service model block 15a shown in FIG. 1, a value item is added, and data is added to an item corresponding to an offset value 3 It can be seen that data related to the implementation bitmap has been added.

즉, 오프셋 값(Offset) 3에 해당하는 데이터의 경우, 이름(Name)에는 'Implementation', 설명(Description)에는 적용 유무, 값(Value)에는 0xCC9E 1188이 저장되어 있음을 알 수 있다.That is, in the case of data corresponding to the offset value 3, it can be seen that'Implementation' is stored in the name, whether it is applied to the description, and 0xCC9E 1188 is stored in the value.

여기에서, 적용 유무는 데이터의 적용 유무, 즉, 데이터의 구현 여부를 의미하고, 값(Value)에 저장되어 있는 '0xCC9E 1188'은 도 6의 데이터 구현 비트맵(250)의 값을 의미할 수 있다.Here, whether or not applied means whether or not data is applied, that is, whether data is implemented, and '0xCC9E 1188' stored in a value may mean a value of the data implementation bitmap 250 of FIG. 6. have.

또한 도 6에 도시된 데이터 구현 비트맵(250)의 '구현 여부' 항목에서 0에 해당하는 데이터를 삭제하고, 1에 해당하는 데이터는 유지하여, 서비스 모델 블록의 데이터를 재배치함으로써 도 7에 도시된 바와 같은 서비스 모델 블록(150)을 재구성할 수 있다. In addition, data corresponding to 0 is deleted from the'implementation status' item of the data implementation bitmap 250 shown in FIG. 6, data corresponding to 1 is maintained, and the data of the service model block is rearranged. The service model block 150 as described above can be reconstructed.

이를 통해, 도 2의 서비스 모델 블록(15b)과 비교하였을 때, 도 7에 도시된 서비스 모델 블록(150)에서는 실제 구현되지 않는 데이터 항목이 삭제된바, 불필요한 메모리 사용을 줄일 수 있다. As a result, compared to the service model block 15b of FIG. 2, data items that are not actually implemented in the service model block 150 shown in FIG. 7 are deleted, and unnecessary memory usage can be reduced.

참고로, 전술한 본 발명의 메모리 맵의 구성 방법은 다양한 수단을 통해 구현될 수 있다. 예를 들어, 본 발명의 메모리 맵의 구성 방법은 하드웨어, 펌웨어(Firmware), 소프트웨어 또는 그것들의 결합 등에 의해 구현될 수 있다.For reference, the above-described method of configuring a memory map according to the present invention may be implemented through various means. For example, the method of configuring a memory map according to the present invention may be implemented by hardware, firmware, software, or a combination thereof.

하드웨어에 의한 구현의 경우, 본 발명의 메모리 맵의 구성 방법은 하나 또는 그 이상의 ASICs(Application Specific Integrated Circuits), DSPs(Digital Signal Processors), DSPDs(Digital Signal Processing Devices), PLDs(Programmable Logic Devices), FPGAs(Field Programmable Gate Arrays), 프로세서, 콘트롤러, 마이크로 콘트롤러 및 마이크로 프로세서 등에 의해 구현될 수 있다.In the case of implementation by hardware, the method of configuring a memory map of the present invention includes one or more ASICs (Application Specific Integrated Circuits), DSPs (Digital Signal Processors), DSPDs (Digital Signal Processing Devices), PLDs (Programmable Logic Devices), Field Programmable Gate Arrays (FPGAs), processors, controllers, microcontrollers, and microprocessors.

펌웨어나 소프트웨어에 의한 구현의 경우, 본 발명의 메모리 맵의 구성 방법은 이상에서 설명된 기능 또는 동작들을 수행하는 모듈, 절차 또는 함수 등의 형태로 구현될 수 있다. 소프트웨어 코드는 메모리 유닛에 저장되어 프로세서에 의해 구동될 수 있다. 상기 메모리 유닛은 상기 프로세서 내부 또는 외부에 위치하여, 이미 공지된 다양한 수단에 의해 상기 프로세서와 데이터를 주고 받을 수 있다. In the case of implementation by firmware or software, the method of configuring a memory map according to the present invention may be implemented in the form of a module, procedure, or function that performs the functions or operations described above. The software code may be stored in a memory unit and driven by a processor. The memory unit may be located inside or outside the processor, and may exchange data with the processor through various known means.

전술한 바와 같이 본 발명에 의하면, 데이터 구현 비트맵(250)을 통해 실제 구현하고자 하는 데이터를 토대로 최적화된 메모리 맵(500)을 구성함으로써 데이터에 대한 상호 운용성을 확보하고 메모리 효율을 개선할 수 있다. 또한 이를 통해, 시스템 성능 악화도 미연에 방지할 수 있다.As described above, according to the present invention, it is possible to secure interoperability for data and improve memory efficiency by configuring the optimized memory map 500 based on the data to be actually implemented through the data implementation bitmap 250. . In addition, through this, system performance deterioration can be prevented in advance.

전술한 본 발명은, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The above-described present invention is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those of ordinary skill in the technical field to which the present invention belongs. Is not limited by

100: 서비스 모델 블록 생성 유닛 200: 데이터 구현 비트맵 생성 유닛
300: 서비스 모델 블록 재구성 유닛 400: 입력 유닛
500: 메모리 맵
100: service model block generation unit 200: data implementation bitmap generation unit
300: service model block reconstruction unit 400: input unit
500: memory map

Claims (8)

전자 장치가 제공하는 서비스와 관련된 서비스 모델 블록을 포함하는 메모리 맵의 구성 방법에 있어서,
상기 서비스 모델 블록을 생성하는 단계;
상기 서비스 모델 블록을 토대로 데이터 구현 비트맵을 생성하는 단계; 및
상기 데이터 구현 비트맵을 토대로 상기 서비스 모델 블록을 재구성하는 단계를 포함하는
메모리 맵의 구성 방법.
In the method of configuring a memory map including a service model block related to a service provided by an electronic device,
Generating the service model block;
Generating a data implementation bitmap based on the service model block; And
And reconfiguring the service model block based on the data implementation bitmap.
How the memory map is constructed.
제1항에 있어서,
상기 서비스 모델 블록은 상기 전자 장치가 제공하는 서비스와 관련된 복수개의 데이터를 포함하고,
상기 서비스 모델 블록에는 상기 복수개의 데이터 각각의 오프셋 값, 크기, 읽기/쓰기 가능 여부, 이름, 유형, 설명 및 필수/선택 구현 여부 중 적어도 하나가 저장되는
메모리 맵의 구성 방법.
The method of claim 1,
The service model block includes a plurality of data related to a service provided by the electronic device,
The service model block stores at least one of an offset value, size, read/write availability, name, type, description, and required/optional implementation of each of the plurality of data.
How the memory map is constructed.
제2항에 있어서,
상기 서비스 모델 블록을 토대로 데이터 구현 비트맵을 생성하는 단계에서는,
상기 복수개의 데이터 중 실제 구현 대상인 데이터를 토대로 데이터 구현 비트맵을 생성하는
메모리 맵의 구성 방법.
The method of claim 2,
In the step of generating a data implementation bitmap based on the service model block,
Generating a data implementation bitmap based on data that is an actual implementation object among the plurality of data
How the memory map is constructed.
제3항에 있어서,
상기 복수개의 데이터 중 실제 구현 대상인 데이터는 개발자로부터 제공받은 입력을 토대로 선정되는
메모리 맵의 구성 방법.
The method of claim 3,
Among the plurality of data, the data to be actually implemented is selected based on the input provided by the developer.
How the memory map is constructed.
제2항에 있어서,
상기 데이터 구현 비트맵은,
상기 복수개의 데이터 각각의 이름 및 상기 복수개의 데이터 각각의 실제 구현 여부와 관련된 정보를 포함하는
메모리 맵의 구성 방법.
The method of claim 2,
The data implementation bitmap,
Including the name of each of the plurality of data and information related to whether each of the plurality of data is actually implemented
How the memory map is constructed.
제2항에 있어서,
상기 데이터 구현 비트맵을 토대로 상기 서비스 모델 블록을 재구성하는 단계는,
상기 서비스 모델 블록에 상기 복수개의 데이터 각각의 값에 대한 정보를 추가하는 단계와,
상기 서비스 모델 블록에 상기 데이터 구현 비트맵과 관련된 데이터를 추가하는 단계와,
상기 데이터 구현 비트맵을 토대로 상기 복수개의 데이터 중 실제 구현 대상이 아닌 데이터를 삭제하여 상기 서비스 모델 블록을 재구성하는 단계를 포함하는
메모리 맵의 구성 방법.
The method of claim 2,
Reconfiguring the service model block based on the data implementation bitmap,
Adding information on each value of the plurality of data to the service model block,
Adding data related to the data implementation bitmap to the service model block,
And reconfiguring the service model block by deleting data that is not an actual implementation object among the plurality of data based on the data implementation bitmap.
How the memory map is constructed.
제2항에 있어서,
상기 서비스 모델 블록을 생성하는 단계에서는,
상기 서비스를 식별하기 위한 ID와 상기 서비스와 관련된 데이터의 전체 길이를 토대로 상기 서비스 모델 블록을 생성하는
메모리 맵의 구성 방법.
The method of claim 2,
In the step of generating the service model block,
Generating the service model block based on the ID for identifying the service and the total length of data related to the service
How the memory map is constructed.
제7항에 있어서,
상기 ID와 관련된 정보는 상기 서비스 모델 블록에 포함된 복수개의 데이터 중 어느 하나의 이름에 저장되고,
상기 데이터의 전체 길이와 관련된 정보는 상기 서비스 모델 블록에 포함된 복수개의 데이터 중 다른 하나의 이름에 저장되는
메모리 맵의 구성 방법.


The method of claim 7,
The information related to the ID is stored in any one name of a plurality of data included in the service model block,
Information related to the total length of the data is stored in another name among a plurality of data included in the service model block.
How the memory map is constructed.


KR1020170034015A 2017-03-17 2017-03-17 A method for configurating memory map comprising service model block related to service provided by electronic device KR102153968B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170034015A KR102153968B1 (en) 2017-03-17 2017-03-17 A method for configurating memory map comprising service model block related to service provided by electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170034015A KR102153968B1 (en) 2017-03-17 2017-03-17 A method for configurating memory map comprising service model block related to service provided by electronic device

Publications (2)

Publication Number Publication Date
KR20180106219A KR20180106219A (en) 2018-10-01
KR102153968B1 true KR102153968B1 (en) 2020-09-09

Family

ID=63877367

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170034015A KR102153968B1 (en) 2017-03-17 2017-03-17 A method for configurating memory map comprising service model block related to service provided by electronic device

Country Status (1)

Country Link
KR (1) KR102153968B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102103821B1 (en) * 2019-03-19 2020-04-24 한화시스템 주식회사 Apparatus for testing of modbus communication
KR102103822B1 (en) * 2019-03-19 2020-04-24 한화시스템 주식회사 Method for testing of modbus communication
KR102103824B1 (en) * 2019-05-28 2020-04-24 한화시스템 주식회사 Apparatus for testing of modbus communication

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016115344A (en) 2014-12-10 2016-06-23 ゼネラル・エレクトリック・カンパニイ Systems and methods for memory map utilization

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016115344A (en) 2014-12-10 2016-06-23 ゼネラル・エレクトリック・カンパニイ Systems and methods for memory map utilization

Also Published As

Publication number Publication date
KR20180106219A (en) 2018-10-01

Similar Documents

Publication Publication Date Title
EP3798834A1 (en) Multi-tenant data protection in edge computing environments
CN101409670B (en) Management component transport protocol interconnect filtering and routing
CN105353989B (en) Storing data access method and relevant controller, equipment, host and system
KR102153968B1 (en) A method for configurating memory map comprising service model block related to service provided by electronic device
CN104052789A (en) Load balancing for a virtual networking system
CN105378694A (en) A method, apparatus and system for performing management component transport protocol (MCTP) communications with a universal serial bus (USB) device
CN104169897B (en) The method of PCI high speed address decoding
CN106648896B (en) Method for dual-core sharing of output peripheral by Zynq chip under heterogeneous-name multiprocessing mode
US9736011B2 (en) Server including switch circuitry
CN103718164A (en) Virtual computer and service
CN101963798B (en) Embedded-type rail transit station equipment information collection method
CN109189449B (en) Multi-FPGA remote upgrading method based on CAN bus
EP4220396A1 (en) Acceleration resource scheduling method and acceleration system
CN111767144B (en) Transaction route determination method, device, equipment and system for transaction data
CN101711467A (en) A hardware communications infrastructure supporting location transparency and dynamic partial reconfiguration
CN105677605A (en) Highly-efficient interconnected system capable of configuring chips and realization system thereof and device
CN114268428A (en) Methods, systems, apparatus, and articles of manufacture for managing access to a dispersed data lake
JPWO2018179125A1 (en) Network configuration information generating method and communication device
KR100918114B1 (en) A framework apparatus of mobile and method for providing interoperability between component
CN107615711A (en) System for event propagation
CN101995841B (en) Device for insertion in calculating system and calculating system
CN105528365A (en) Method and device for managing executable files
CN105491082B (en) Remote resource access method and switching equipment
CN106789616A (en) A kind of things-internet gateway equipment and Internet of Things central platform
CN109739574A (en) Data capture method and electronic equipment, scaling method and device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant