WO2024080406A1 - 데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법 - Google Patents

데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법 Download PDF

Info

Publication number
WO2024080406A1
WO2024080406A1 PCT/KR2022/015460 KR2022015460W WO2024080406A1 WO 2024080406 A1 WO2024080406 A1 WO 2024080406A1 KR 2022015460 W KR2022015460 W KR 2022015460W WO 2024080406 A1 WO2024080406 A1 WO 2024080406A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
cse
data storage
platform
resource
Prior art date
Application number
PCT/KR2022/015460
Other languages
English (en)
French (fr)
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 한국전자기술연구원
Publication of WO2024080406A1 publication Critical patent/WO2024080406A1/ko

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/75Information technology; Communication
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/10Information sensed or collected by the things relating to the environment, e.g. temperature; relating to location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present invention relates to data storage technology, and more specifically, to a method for storing data generated by IoT devices in a data platform.
  • Data generated from IoT devices such as sensor data generated from IoT sensors, is transmitted to the data platform and stored.
  • Data stored in the data platform are used to control actuators and are also used to provide various services through analysis.
  • the senor stores data that has not been stored in the data platform.
  • the sensor has a problem in that it cannot store data for a long time due to memory constraints.
  • the present invention was created to solve the above problems, and the purpose of the present invention is to provide a method of storing and providing data without loss even when the data cannot be stored because the data platform does not operate normally.
  • the data storage method to achieve the above object is that, if the first CSE (Common Service Entity) of the first data platform is in a state capable of storing data, the AE (Application Entity) stores the data.
  • an AE resource that stores properties for managing information about the AE and a data storage resource for storing data requested to be stored in the first CSE are created, and in the second CSE, the first CSE stores the data.
  • a data storage resource may be created to store the data requested to be stored from the AE.
  • the identifier of the data storage resource of the second CSE may be stored as an attribute.
  • the identifier of the data storage resource of the second CSE may be written in a format including the identifier of the AE.
  • AE can subscribe to properties of AE resources.
  • the receiving target In the data storage request transmitted in the first transmission step, the receiving target is set to the data storage resource of the first CSE, and in the data storage request transmitted in the second transmission step, the receiving target of the data storage request is set to the data storage resource of the second CSE. It can be modified as a data storage resource.
  • the identifier of the data storage resource of the first CSE may be stored as a link attribute.
  • the first CSE transmits the data search/inquiry request to the second CSE to retrieve the data.
  • the search scope can be expanded to the data storage resources of the second CSE, and the search/search results can be collected and returned.
  • the first CSE may extend the data search/inquiry range to the data storage resources of the second CSE when remote data search/inquiry is set as an attribute in the first CSE.
  • a data storage system includes a first data platform that stores data when receiving a data storage request from AE; A second data platform that stores data when receiving a data storage request from the AE; and, if the first CSE of the first data platform is in a state capable of storing data, the AE transmits the data storage request to the first CSE. And, if the first CSE is unable to store data, the received data storage request is transmitted to the second CSE.
  • a data storage method includes the steps of an AE registering a first CSE of a first data platform as a data storage platform; registering, by the first CSE, the second CSE of the second data platform as a remote data platform; If the first CSE is in a state capable of storing data, a first transmission step in which the AE transmits a data storage request to the first CSE; If the first CSE is unable to store data, a second transmission step in which the AE transmits a data storage request to the second CSE.
  • a data storage system includes a first data platform that stores data when receiving a data storage request from AE; A second data platform for storing data when receiving a data storage request from the AE, wherein the AE registers the first CSE of the first data platform as a remote data platform, and the first CSE registers the second data platform. Register the second CSE as a remote data platform, and the AE sends a data storage request to the first CSE if the first CSE can store data, and if the first CSE cannot store data, the AE sends a data storage request to the first CSE. A storage request is sent to the second CSE.
  • the data when the data cannot be stored because the data platform does not operate normally, the data can be stored without loss by sending a data storage request to another registered data platform to store the data. It becomes possible.
  • FIG. 1 is a diagram provided to explain a data storage method according to an embodiment of the present invention.
  • Figure 2 is a diagram showing the state of creating ⁇ ae1> resources and ⁇ cnt1> resources in CSE-1;
  • Figure 3 is a diagram showing the creation of ⁇ ae1annc> resources and ⁇ cnt1> resources in CSE-2;
  • Figure 4 is a diagram showing the state in which the identifier of the ⁇ ae1annc> resource is stored as a secondaryStorage attribute in the ⁇ ae1> resource of CSE-2;
  • Figure 5 is a diagram showing the state in which data is stored as a ⁇ cin1> resource in the ⁇ cnt1> resource of CSE-1, and
  • Figure 6 is a diagram showing the state of link attributes stored in the ⁇ cnt1> resource of CSE-2.
  • Figure 7 is a diagram showing the remoteDataRetrieval attribute set in the ⁇ base> resource of CSE-1.
  • An embodiment of the present invention presents a method for storing and providing data without loss even when the data platform is not in operation.
  • FIG. 1 is a diagram provided to explain a data storage method according to an embodiment of the present invention.
  • a method of storing data generated in an application in a data platform according to the oneM2M standard was assumed.
  • AE (Application Entity)-1(10) refers to the application installed on the IoT device or the IoT device itself. In AE-1 (10), data is generated periodically or as events occur.
  • registration procedure (1) by CSEs (Common Service Entities) (110, 120) is required.
  • the registration process is initiated by a registration request by AE-1 (10).
  • CSEs 110 and 120 run on different oneM2M platforms. Therefore, CSE-1 (110) means CSE running on oneM2M Platform-1 or oneM2M Platform-1 itself, and CSE-2 (120) means CSE running on oneM2M Platform-2 or oneM2M Platform-2 itself. .
  • CSE-1 (110) When there is a registration request by AE-1 (10), CSE-1 (110) creates ⁇ ae1> resources and ⁇ cnt1> resources to function as a data platform for AE-1 (10).
  • the resource structure of CSE-1 (110) is presented in Figure 2.
  • the ⁇ ae1> resource is a resource in which properties for storing/managing information about AE-1 (10) requesting data storage are stored.
  • the ⁇ cnt1> resource is a container resource for storing data requested by AE-1 (10).
  • CSE-2 (120) has the ⁇ ae1annc> resource and ⁇ cnt1 > Create resources.
  • the resource structure of CSE-2 (120) is presented in Figure 3.
  • the ⁇ ae1annc> resource is a resource that includes the ⁇ cnt1> resource for storing data requested from AE-1 (10) when CSE-1 (110) is unable to store data.
  • the identifier of the ⁇ ae1annc> resource is written in a format that includes the identifier of AE-1 (10). Since resources of other AEs may be created in CSE-2 (120), this is to distinguish them from them.
  • CSE-1 110 stores the identifier of the ⁇ ae1annc> resource in its ⁇ ae1> resource as a secondaryStorage attribute corresponding to the announceTo attribute, as shown in FIG. 4.
  • the secondaryStorage attribute corresponds to information about the data storage resource of CSE-2 (120), where AE-1 (10) must transmit a data storage request when CSE-1 (110) is unable to store data.
  • CSE-1 (110) sets the secondaryStorage property of the ⁇ ae1> resource, which stores the identifier for the data store of CSE-2 (120), in addition to the identifier for the ⁇ cnt1> resource, which is its own data store, to AE-1 (10). ) must be returned to.
  • AE-1 (10) holds information about data platform repositories to store data.
  • the creation of the ⁇ ae1annc> resource and the ⁇ cnt1> resource of the CSE-2 (120) by the CSE-1 (110) and the storage of the secondaryStorage property of the ⁇ ae1> resource are not performed immediately after the creation of the ⁇ ae1> resource, but are performed later. It is also possible to carry out However, in this case, in order to secure the secondaryStorage property, AE-1 (10) subscribes to the secondaryStorage property of the ⁇ ae1> resource and can be notified when saving in the future.
  • a storage process of data generated by AE-1 (10) is performed, as shown in FIG. 1. If CSE-1 (110) is in a state capable of storing data, AE-1 (10) transmits a data storage request to CSE-1 (110) (2).
  • the receiving target (to parameter) of the transmitted data storage request is “CSE-1/base/ae1/cnt1”, the data storage of CSE-1 (110).
  • Data storage is performed by storing the requested data as a ⁇ cin1> resource in the ⁇ cnt1> resource, as shown in FIG. 5.
  • the ⁇ cin1> resource is a content instance resource.
  • the AE-1 (10) recognizes that data cannot be stored through a protocol error code, etc.
  • AE-1 (10) transmits a data storage request to CSE-2 (120) (3).
  • AE-1 (10) modifies the receiving target (to parameter) of the data storage request to "CSE-2/base/ae1annc/cnt1", the data storage of CSE-2 (120), and changes the data storage request source to "CSE-2/base/ae1annc/cnt1".
  • CSE-1/base/ae1/cnt1 which was the recipient of , is included as additional information in the data storage request.
  • CSE-2 (120), which has received a data storage request from AE-1 (10), stores the requested data as a ⁇ cin2> resource in the ⁇ cnt1> resource, as shown in FIG. “CSE-1/base/ae1/cnt1”, the data storage of CSE-1 (110), is stored as a link attribute.
  • CSE-1/base/ae1/cnt1 is the identifier of the data storage resource of CSE-1 (110) where the data stored in “CSE-2/base/ae1annc/cnt1” should have been originally stored.
  • CSE-1/base/ae1/cnt1 stores the previous data of the data stored in “CSE-2/base/ae1annc/cnt1”
  • the later data of the data stored in “CSE-2/base/ae1annc/cnt1” is stored in “CSE-1/base/ae1/cnt1”. Since data can also be saved, it is saved as a link attribute.
  • CSE-2 receives the security authentication information of AE-1 (10) in advance from CSE-1 (110), accepts authentication when requesting data storage in "3.", and processes the data storage request. can do.
  • This type of security authentication procedure may only be applied to data storage requests and may not be applied to other requests.
  • the data of AE-1 (10) stored in CSE-1 (110) and CSE-2 (120) can be searched or searched by other AEs. At this time, search or inquiry may be requested through CSE-1 (110) or CSE-2 (120).
  • CSE-1 (110) refers to it and includes the data stored in CSE-2 (120) in the search or search target.
  • the results can be collected and returned.
  • inquiry or search functions may be provided optionally. Whether or not this function is supported can be set as the remoteDataRetrieval attribute in the ⁇ base> resource of CSE-1 (110), as shown in FIG. 7.
  • CSE-2 refers to the link attribute of the resource where the data requested for inquiry or search is stored and includes the data stored in CSE-1 (110) in the search or search target, and compiles the inquiry or search results. It can be returned.
  • a data storage request is transmitted to another registered data platform to store the data, thereby allowing the data to be stored without loss.
  • a computer-readable recording medium can be any data storage device that can be read by a computer and store data.
  • computer-readable recording media can be ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical disk, hard disk drive, etc.
  • computer-readable codes or programs stored on a computer-readable recording medium may be transmitted through a network connected between computers.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Software Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Economics (AREA)
  • Fuzzy Systems (AREA)
  • Toxicology (AREA)
  • Medical Informatics (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법이 제공된다. 본 발명의 실시예에 따른 데이터 저장 방법은, 제1 데이터 플랫폼의 제1 CSE가 데이터를 저장할 수 있는 상태이면, AE가 제1 CSE에 데이터 저장 요청을 전송하고, 제1 CSE가 데이터를 저장할 수 없는 상태이면 AE가 제2 데이터 플랫폼의 제2 CSE에 데이터 저장 요청을 전송한다. 이에 의해, 데이터 플랫폼이 정상적으로 동작하지 않아 데이터를 저장할 수 없는 경우, 데이터 저장 요청을 등록된 다른 데이터 플랫폼으로 전송하여 데이터를 저장함으로써, 손실 없이 데이터를 저장할 수 있게 된다.

Description

데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법
본 발명은 데이터 저장 기술에 관한 것으로, 더욱 상세하게는 IoT 디바이스에서 생성되는 데이터를 데이터 플랫폼에 저장하기 위한 방법에 관한 것이다.
IoT 디바이스에서 생성되는 데이터, 이를 테면 IoT 센서에서 생성되는 센서 데이터의 경우 데이터 플랫폼으로 전송되어 저장된다. 데이터 플랫폼에 저장된 데이터들은 액츄에이터의 제어에 활용되기도 하고, 분석을 통해 다양한 서비스 제공에도 활용된다.
데이터를 활용한 정확한 제어가 수행되고 양질의 서비스가 제공되기 위해서는 데이터 플랫폼이 정상적으로 동작할 것이 전제된다. 하드웨어 정전, 네트워크 오류, DB 오류 등으로 인해 데이터 플랫폼이 정상적으로 동작하지 않는 경우, 데이터의 손실이 발생할 수 있기 때문이다.
이에 데이터 플랫폼에 저장하지 못한 데이터들을 센서가 보관하고 있는 방안을 상정할 수 있다. 하지만 센서는 메모리 제약으로 인해 데이터를 자체적으로 오래 동안 보관할 수 없다는 문제가 있다.
본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은, 데이터 플랫폼이 정상적으로 동작하지 않아 데이터를 저장할 수 없는 경우에도, 손실 없이 데이터를 저장하고 제공하는 방법을 제공함에 있다.
상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른 데이터 저장 방법은, 제1 데이터 플랫폼의 제1 CSE(Common Service Entity)가 데이터를 저장할 수 있는 상태이면, AE(Application Entity)가 제1 CSE에 데이터 저장 요청을 전송하는 제1 전송단계; 제1 CSE가 데이터를 저장할 수 없는 상태이면, AE가 제2 데이터 플랫폼의 제2 CSE에 데이터 저장 요청을 전송하는 제2 전송단계;를 포함한다.
제1 CSE에는, AE에 대한 정보를 관리하기 위한 속성들이 저장되는 AE 리소스와 제1 CSE로 저장 요청되는 데이터를 저장하기 위한 데이터 저장 리소스가 생성되어 있고, 제2 CSE에는, 제1 CSE가 데이터를 저장할 수 없는 상태인 경우에, AE로부터 저장 요청되는 데이터를 저장하기 위한 데이터 저장 리소스가 생성되어 있을 수 있다.
제1 CSE의 AE 리소스에는, 제2 CSE의 데이터 저장 리소스의 식별자가 속성으로 저장되어 있을 수 있다.
제2 CSE의 데이터 저장 리소스의 식별자는, AE의 식별자를 포함하는 형식으로 작성되어 있을 수 있다.
AE는, AE 리소스의 속성을 구독할 수 있다.
제1 전송단계에서 전송되는 데이터 저장 요청에는, 수신 대상이 제1 CSE의 데이터 저장 리소스로 설정되어 있고, 제2 전송단계에서 전송되는 데이터 저장 요청에는, 데이터 저장 요청의 수신 대상을 제2 CSE의 데이터 저장 리소스로 수정할 수 있다.
제2 CSE의 데이터 저장 리소스에는, 제1 CSE의 데이터 저장 리소스의 식별자가 링크 속성으로 저장되어 있을 수 있다.
제1 CSE는, 데이터 검색/조회 요청이 수신되었고, 자신의 데이터 저장 리소스에 제2 CSE의 데이터 저장 리소스의 식별자가 속성으로 저장되어 있으면, 제2 CSE에 데이터 검색/조회 요청을 전달하여 데이터 검색/조회 범위를 제2 CSE의 데이터 저장 리소스 까지 확장하고, 조회/검색 결과를 취합하여 반환할 수 있다.
제1 CSE는, 제1 CSE에 원격 데이터 검색/조회가 속성으로 설정되어 있는 경우에, 데이터 검색/조회 범위를 제2 CSE의 데이터 저장 리소스 까지 확장할 수 있다.
본 발명의 다른 실시예에 따른 데이터 저장 시스템은, AE로부터 데이터 저장 요청을 수신하면 데이터를 저장하는 제1 데이터 플랫폼; AE로부터 데이터 저장 요청을 수신하면 데이터를 저장하는 제2 데이터 플랫폼;을 포함하고, AE는, 제1 데이터 플랫폼의 제1 CSE가 데이터를 저장할 수 있는 상태이면, 데이터 저장 요청을 제1 CSE로 전송하고, 제1 CSE가 데이터를 저장할 수 없는 상태이면, 수신한 데이터 저장 요청을 제2 CSE로 전송한다.
본 발명의 또 다른 실시예에 따른 데이터 저장 방법은, AE가, 제1 데이터 플랫폼의 제1 CSE를 데이터 저장 플랫폼으로 등록하는 단계; 제1 CSE가, 제2 데이터 플랫폼의 제2 CSE를 원격 데이터 플랫폼으로 등록하는 단계; 제1 CSE가 데이터를 저장할 수 있는 상태이면, AE가 제1 CSE에 데이터 저장 요청을 전송하는 제1 전송단계; 제1 CSE가 데이터를 저장할 수 없는 상태이면, AE가 제2 CSE에 데이터 저장 요청을 전송하는 제2 전송단계;를 포함한다.
본 발명의 또 다른 실시예에 따른 데이터 저장 시스템은, AE로부터 데이터 저장 요청을 수신하면 데이터를 저장하는 제1 데이터 플랫폼; AE로부터 데이터 저장 요청을 수신하면 데이터를 저장하는 제2 데이터 플랫폼;을 포함하고, AE는, 제1 데이터 플랫폼의 제1 CSE를 원격 데이터 플랫폼으로 등록하며, 제1 CSE는, 제2 데이터 플랫폼의 제2 CSE를 원격 데이터 플랫폼으로 등록하고, AE는, 제1 CSE가 데이터를 저장할 수 있는 상태이면, 데이터 저장 요청을 제1 CSE로 전송하고, 제1 CSE가 데이터를 저장할 수 없는 상태이면, 데이터 저장 요청을 제2 CSE로 전송한다.
이상 설명한 바와 같이, 본 발명의 실시예들에 따르면, 데이터 플랫폼이 정상적으로 동작하지 않아 데이터를 저장할 수 없는 경우, 데이터 저장 요청을 등록된 다른 데이터 플랫폼으로 전송하여 데이터를 저장함으로써, 손실 없이 데이터를 저장할 수 있게 된다.
도 1은 본 발명의 일 실시예에 따른 데이터 저장 방법의 설명에 제공되는 도면,
도 2는 CSE-1에 <ae1> 리소스와 <cnt1> 리소스를 생성한 상태를 도시한 도면,
도 3은 CSE-2에 <ae1annc> 리소스와 <cnt1> 리소스를 생성한 상태를 도시한 도면,
도 4는 CSE-2의 <ae1> 리소스에 <ae1annc> 리소스의 식별자를 secondaryStorage 속성으로 저장한 상태를 도시한 도면,
도 5는 데이터를 CSE-1의 <cnt1> 리소스에 <cin1> 리소스로 저장한 상태를 도시한 도면, 그리고,
도 6은 CSE-2의 <cnt1> 리소스에 링크 속성으로 저장한 상태를 도시한 도면, 그리고,
도 7은 CSE-1의 <base> 리소스에 remoteDataRetrieval 속성으로 설정한 상태를 도시한 도면이다.
이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.
본 발명의 실시예에서는 데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법을 제시한다.
도 1은 본 발명의 일 실시예에 따른 데이터 저장 방법의 설명에 제공되는 도면이다. 본 발명의 실시예에서는 oneM2M 표준에 따라 애플리케이션에서 생성되는 데이터를 데이터 플랫폼에 저장하는 방법을 상정하였다.
AE(Application Entity)-1(10)은 IoT 디바이스에 설치되어 있는 애플리케이션 또는 IoT 디바이스 자체를 의미한다. AE-1(10)에서는 데이터가 주기적으로 또는 이벤트 발생에 따라 생성된다.
데이터를 데이터 플랫폼에 저장하기 위해서는, CSE(Common Service Entity)들(110,120)에 의한 등록 절차(1)가 전제되어야 한다. 등록 절차는 AE-1(10)에 의한 등록 요청에 의해 개시된다.
CSE들(110,120)은 서로 다른 oneM2M 플랫폼들에서 실행된다. 따라서 CSE-1(110)은 oneM2M 플랫폼-1에서 실행되는 CSE 또는 oneM2M 플랫폼-1 자체를 의미하고, CSE-2(120)는 oneM2M 플랫폼-2에서 실행되는 CSE 또는 oneM2M 플랫폼-2 자체를 의미한다.
AE-1(10)에 의한 등록 요청이 있으면, CSE-1(110)은 AE-1(10)의 데이터 플랫폼으로 기능하기 위해, <ae1> 리소스와 <cnt1> 리소스를 생성한다. 이에 의한 CSE-1(110)의 리소스 구조를 도 2에 제시하였다.
<ae1> 리소스는 데이터를 저장 요청하는 AE-1(10)에 대한 정보를 저장/관리하기 위한 속성들이 저장되는 리소스이다. <cnt1> 리소스는 AE-1(10)이 저장 요청하는 데이터를 저장하기 위한 컨테이너 리소스이다.
한편 CSE-1(110)은 자신이 데이터를 저장할 수 없는 상태인 경우에 CSE-2(120)를 원격 데이터 플랫폼으로 등록/활용하기 위해, CSE-2(120)에 <ae1annc> 리소스와 <cnt1> 리소스를 생성한다. 이에 의한 CSE-2(120)의 리소스 구조를 도 3에 제시하였다.
<ae1annc> 리소스는 CSE-1(110)이 데이터를 저장할 수 없는 상태인 경우에 AE-1(10)로부터 저장 요청되는 데이터를 저장하기 위한 <cnt1> 리소스를 포함하고 있는 리소스이다. <ae1annc> 리소스의 식별자는 AE-1(10)의 식별자를 포함하는 형식으로 작성된다. CSE-2(120)에는 다른 AE들의 리소스들도 생성될 수 있기 때문에, 이들과 구분하기 위함이다.
다음 CSE-1(110)은 도 4에 도시된 바와 같이 자신의 <ae1> 리소스에 <ae1annc> 리소스의 식별자를 announceTo 속성에 해당하는 secondaryStorage 속성으로 저장한다. secondaryStorage 속성은 CSE-1(110)이 데이터를 저장할 수 없는 상태인 경우, AE-1(10)이 데이터 저장 요청을 전송해야 하는 CSE-2(120)의 데이터 저장 리소스에 대한 정보에 해당한다.
따라서 CSE-1(110)은 자신의 데이터 저장소인 <cnt1> 리소스에 대한 식별자 외에 CSE-2(120)의 데이터 저장소에 대한 식별자가 저장되어 있는 <ae1> 리소스의 secondaryStorage 속성을 AE-1(10)에 반환하여야 한다. 이를 통해 AE-1(10)은 데이터를 저장할 데이터 플랫폼 저장소들에 대한 정보를 보유하게 된다.
한편 CSE-1(110)에 의한 CSE-2(120)의 <ae1annc> 리소스와 <cnt1> 리소스 생성 및 <ae1> 리소스의 secondaryStorage 속성 저장은 <ae1> 리소스의 생성 후 바로 수행되는 것이 아닌 추후에 수행되는 것도 가능하다. 단 이 경우 AE-1(10)은 secondaryStorage 속성을 확보하기 위해, <ae1> 리소스의 secondaryStorage 속성을 구독하여, 추후 저장시에 통보받을 수 있다.
등록 절차(1)가 완료되면, 도 1에 도시된 바와 같이 AE-1(10)에 의해 생성된 데이터의 저장 과정이 수행된다. CSE-1(110)은 데이터를 저장할 수 있는 상태이면, AE-1(10)은 CSE-1(110)로 데이터 저장 요청을 전송한다(2). 전송되는 데이터 저장 요청의 수신 대상(to 파라미터)은 CSE-1(110)의 데이터 저장소인 "CSE-1/base/ae1/cnt1"이다.
데이터 저장은 도 5에 도시된 바와 같이 저장 요청된 데이터를 <cnt1> 리소스에 <cin1> 리소스로 저장함으로써 수행된다. <cin1> 리소스는 컨텐트 인스턴스 리소스이다.
만약 CSE-1(110)이 동작하지 않아 데이터를 저장할 수 없는 상태이면, 프로토콜 오류 코드 등을 통해 AE-1(10)는 데이터를 저장할 수 없는 상태임을 인지하게 된다.
CSE-1(110)이 데이터를 저장할 수 없는 상태임을 인지하게 된 AE-1(10)은 데이터 저장 요청을 CSE-2(120)에 전송한다(3). 이 과정에서 AE-1(10)은 데이터 저장 요청의 수신 대상(to 파라미터)을 CSE-2(120)의 데이터 저장소인 "CSE-2/base/ae1annc/cnt1"로 수정하고, 저장 요청 원본에서의 수신 대상이었던 "CSE-1/base/ae1/cnt1"은 데이터 저장 요청의 부가 정보로 포함시킨다.
AE-1(10)로부터 데이터 저장 요청을 수신한 CSE-2(120)는 도 6에 도시된 바와 같이 저장 요청된 데이터를 <cnt1> 리소스에 <cin2> 리소스로 저장하고, <cnt1> 리소스에는 CSE-1(110)의 데이터 저장소인 "CSE-1/base/ae1/cnt1"를 링크 속성으로 저장한다.
"CSE-1/base/ae1/cnt1"은 "CSE-2/base/ae1annc/cnt1"에 저장된 데이터가 원래 저장되었어야 할 CSE-1(110)의 데이터 저장 리소스의 식별자이다. "CSE-1/base/ae1/cnt1"에는 "CSE-2/base/ae1annc/cnt1"에 저장된 데이터의 이전 데이터가 저장되어 있고, "CSE-2/base/ae1annc/cnt1"에 저장된 데이터의 이후 데이터도 저장될 수 있기 때문에 이를 링크 속성으로 저장하는 것이다.
한편 CSE-2(120)는 CSE-1(110)로부터 사전에 AE-1(10)의 보안 인증 정보를 제공받아, "3."에서의 데이터 저장 요청시 인증을 수락하고 데이터 저장 요청을 처리할 수 있다. 이와 같은 형태의 보안 인증 절차는 데이터 저장 요청에 대해서만 적용할 수 있고, 다른 요청에 대해서는 적용하지 않을 수 있다.
이후 CSE-1(110)이 데이터를 저장할 수 있는 상태가 되면, AE-1(10)은 CSE-1(110)에 데이터 저장 요청을 전송하여, 데이터는 다시 CSE-1(110)의 <cnt1> 리소스에 저장된다.
CSE-1(110)와 CSE-2(120)에 저장된 AE-1(10)의 데이터는 다른 AE들에 의해 검색 또는 조회가 가능하다. 이 때 검색 또는 조회는 CSE-1(110) 또는 CSE-2(120)를 통해 요청될 수 있다.
CSE-1(110)은 조회 또는 검색 요청된 데이터가 저장된 리소스에 secondaryStorage 속성이 저장되어 있는 경우 이를 참조하여 CSE-2(120)에 저장되어 있는 데이터까지 조회 또는 검색 대상에 포함하여, 조회 또는 검색 결과를 취합하여 반환할 수 있다. 이와 같은 조회 또는 검색 기능은 선택적으로 제공될 수 있다. 이 기능의 지원 여부는 도 7에 도시된 바와 같이 CSE-1(110)의 <base> 리소스에 remoteDataRetrieval 속성으로 설정할 수 있다.
마찬가지로 CSE-2(120)도 조회 또는 검색 요청된 데이터가 저장된 리소스의 링크 속성을 참조하여 CSE-1(110)에 저장되어 있는 데이터까지 조회 또는 검색 대상에 포함하여, 조회 또는 검색 결과를 취합하여 반환할 수 있다.
지금까지 데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법에 대해 바람직한 실시예를 들어 상세히 설명하였다.
본 발명의 실시예에서는 데이터 플랫폼이 정상적으로 동작하지 않아 데이터를 저장할 수 없는 경우, 데이터 저장 요청을 등록된 다른 데이터 플랫폼으로 전송하여 데이터를 저장함으로써 손실 없이 데이터를 저장할 수 있도록 하였다.
한편, 본 실시예에 따른 장치와 방법의 기능을 수행하게 하는 컴퓨터 프로그램을 수록한 컴퓨터로 읽을 수 있는 기록매체에도 본 발명의 기술적 사상이 적용될 수 있음은 물론이다. 또한, 본 발명의 다양한 실시예에 따른 기술적 사상은 컴퓨터로 읽을 수 있는 기록매체에 기록된 컴퓨터로 읽을 수 있는 코드 형태로 구현될 수도 있다. 컴퓨터로 읽을 수 있는 기록매체는 컴퓨터에 의해 읽을 수 있고 데이터를 저장할 수 있는 어떤 데이터 저장 장치이더라도 가능하다. 예를 들어, 컴퓨터로 읽을 수 있는 기록매체는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광디스크, 하드 디스크 드라이브, 등이 될 수 있음은 물론이다. 또한, 컴퓨터로 읽을 수 있는 기록매체에 저장된 컴퓨터로 읽을 수 있는 코드 또는 프로그램은 컴퓨터간에 연결된 네트워크를 통해 전송될 수도 있다.
또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.

Claims (12)

  1. 제1 데이터 플랫폼의 제1 CSE(Common Service Entity)가 데이터를 저장할 수 있는 상태이면, AE(Application Entity)가 제1 CSE에 데이터 저장 요청을 전송하는 제1 전송단계;
    제1 CSE가 데이터를 저장할 수 없는 상태이면, AE가 제2 데이터 플랫폼의 제2 CSE에 데이터 저장 요청을 전송하는 제2 전송단계;를 포함하는 것을 특징으로 하는 데이터 저장 방법.
  2. 청구항 1에 있어서,
    제1 CSE에는,
    AE에 대한 정보를 관리하기 위한 속성들이 저장되는 AE 리소스와 제1 CSE로 저장 요청되는 데이터를 저장하기 위한 데이터 저장 리소스가 생성되어 있고,
    제2 CSE에는,
    제1 CSE가 데이터를 저장할 수 없는 상태인 경우에, AE로부터 저장 요청되는 데이터를 저장하기 위한 데이터 저장 리소스가 생성되어 있는 것을 특징으로 하는 데이터 저장 방법.
  3. 청구항 2에 있어서,
    제1 CSE의 AE 리소스에는,
    제2 CSE의 데이터 저장 리소스의 식별자가 속성으로 저장되어 있는 것을 특징으로 하는 데이터 저장 방법.
  4. 청구항 3에 있어서,
    제2 CSE의 데이터 저장 리소스의 식별자는,
    AE의 식별자를 포함하는 형식으로 작성되어 있는 것을 특징으로 하는 데이터 저장 방법.
  5. 청구항 3에 있어서,
    AE는,
    AE 리소스의 속성을 구독하는 것을 특징으로 하는 데이터 저장 방법.
  6. 청구항 3에 있어서,
    제1 전송단계에서 전송되는 데이터 저장 요청에는,
    수신 대상이 제1 CSE의 데이터 저장 리소스로 설정되어 있고,
    제2 전송단계에서 전송되는 데이터 저장 요청에는,
    데이터 저장 요청의 수신 대상을 제2 CSE의 데이터 저장 리소스로 수정하는 것을 특징으로 하는 데이터 저장 방법.
  7. 청구항 4에 있어서,
    제2 CSE의 데이터 저장 리소스에는,
    제1 CSE의 데이터 저장 리소스의 식별자가 링크 속성으로 저장되어 있는 것을 특징으로 하는 데이터 저장 방법.
  8. 청구항 7에 있어서,
    제1 CSE는,
    데이터 검색/조회 요청이 수신되었고, 자신의 데이터 저장 리소스에 제2 CSE의 데이터 저장 리소스의 식별자가 속성으로 저장되어 있으면, 제2 CSE에 데이터 검색/조회 요청을 전달하여 데이터 검색/조회 범위를 제2 CSE의 데이터 저장 리소스 까지 확장하고, 조회/검색 결과를 취합하여 반환하는 것을 특징으로 하는 데이터 저장 방법.
  9. 청구항 8에 있어서,
    제1 CSE는,
    제1 CSE에 원격 데이터 검색/조회가 속성으로 설정되어 있는 경우에, 데이터 검색/조회 범위를 제2 CSE의 데이터 저장 리소스 까지 확장하는 것을 특징으로 하는 데이터 저장 방법.
  10. AE(Application Entity)로부터 데이터 저장 요청을 수신하면 데이터를 저장하는 제1 데이터 플랫폼;
    AE로부터 데이터 저장 요청을 수신하면 데이터를 저장하는 제2 데이터 플랫폼;을 포함하고,
    AE는,
    제1 데이터 플랫폼의 제1 CSE(Common Service Entity)가 데이터를 저장할 수 있는 상태이면, 데이터 저장 요청을 제1 CSE로 전송하고,
    제1 CSE가 데이터를 저장할 수 없는 상태이면, 수신한 데이터 저장 요청을 제2 CSE로 전송하는 것을 특징으로 하는 데이터 저장 시스템.
  11. AE(Application Entity)가, 제1 데이터 플랫폼의 제1 CSE를 데이터 저장 플랫폼으로 등록하는 단계;
    제1 CSE가, 제2 데이터 플랫폼의 제2 CSE를 원격 데이터 플랫폼으로 등록하는 단계;
    제1 CSE가 데이터를 저장할 수 있는 상태이면, AE가 제1 CSE에 데이터 저장 요청을 전송하는 제1 전송단계;
    제1 CSE가 데이터를 저장할 수 없는 상태이면, AE가 제2 CSE에 데이터 저장 요청을 전송하는 제2 전송단계;를 포함하는 것을 특징으로 하는 데이터 저장 방법.
  12. AE(Application Entity)로부터 데이터 저장 요청을 수신하면 데이터를 저장하는 제1 데이터 플랫폼;
    AE로부터 데이터 저장 요청을 수신하면 데이터를 저장하는 제2 데이터 플랫폼;을 포함하고,
    AE는,
    제1 데이터 플랫폼의 제1 CSE를 원격 데이터 플랫폼으로 등록하며,
    제1 CSE는,
    제2 데이터 플랫폼의 제2 CSE를 원격 데이터 플랫폼으로 등록하고,
    AE는,
    제1 CSE가 데이터를 저장할 수 있는 상태이면, 데이터 저장 요청을 제1 CSE로 전송하고,
    제1 CSE가 데이터를 저장할 수 없는 상태이면, 데이터 저장 요청을 제2 CSE로 전송하는 것을 특징으로 하는 데이터 저장 시스템.
PCT/KR2022/015460 2022-10-13 2022-10-13 데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법 WO2024080406A1 (ko)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2022-0131054 2022-10-13
KR1020220131054A KR20240051421A (ko) 2022-10-13 2022-10-13 데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법

Publications (1)

Publication Number Publication Date
WO2024080406A1 true WO2024080406A1 (ko) 2024-04-18

Family

ID=90669699

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/015460 WO2024080406A1 (ko) 2022-10-13 2022-10-13 데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법

Country Status (2)

Country Link
KR (1) KR20240051421A (ko)
WO (1) WO2024080406A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170332426A1 (en) * 2014-11-04 2017-11-16 Zte Corporation M2m node deletion and registration method, m2m node and storage medium
KR20190077926A (ko) * 2017-12-26 2019-07-04 숭실대학교산학협력단 사물인터넷 디바이스 모니터링 프레임워크, 이를 탑재한 포그 서버 및 포그 컴퓨팅 시스템
US20190320304A1 (en) * 2016-06-30 2019-10-17 Zte Corporation Information processing method for machine-to-machine/man (m2m) application, common services entity (cse) and application entity (ae)
US20190349879A1 (en) * 2016-12-19 2019-11-14 Sharp Kabushiki Kaisha Communication system and communication apparatus
CN114826629A (zh) * 2021-01-22 2022-07-29 北京京东方技术开发有限公司 数据共享方法、装置、系统、服务器和计算机存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170332426A1 (en) * 2014-11-04 2017-11-16 Zte Corporation M2m node deletion and registration method, m2m node and storage medium
US20190320304A1 (en) * 2016-06-30 2019-10-17 Zte Corporation Information processing method for machine-to-machine/man (m2m) application, common services entity (cse) and application entity (ae)
US20190349879A1 (en) * 2016-12-19 2019-11-14 Sharp Kabushiki Kaisha Communication system and communication apparatus
KR20190077926A (ko) * 2017-12-26 2019-07-04 숭실대학교산학협력단 사물인터넷 디바이스 모니터링 프레임워크, 이를 탑재한 포그 서버 및 포그 컴퓨팅 시스템
CN114826629A (zh) * 2021-01-22 2022-07-29 北京京东方技术开发有限公司 数据共享方法、装置、系统、服务器和计算机存储介质

Also Published As

Publication number Publication date
KR20240051421A (ko) 2024-04-22

Similar Documents

Publication Publication Date Title
CA2326194C (en) Naming convention for different types of device, and apparatus and methods using the naming convention
EP0447038B1 (en) A system for establishing a communication path in a closely coupled computer system
US7650599B2 (en) Method and system for accepting precompiled information
CN113746679B (zh) 跨子域通信运维方法、总运维服务器和介质
WO2019107594A1 (ko) IoT 환경에서 디바이스 데이터 및 서버 리소스 매핑 방법 및 이를 적용한 게이트웨이
WO2019168219A1 (ko) M2m 시스템에서의 시맨틱 리소스 검색 방법
WO2024080406A1 (ko) 데이터 플랫폼 미가동시에도 손실 없이 데이터를 저장하고 제공하는 방법
US7359338B2 (en) Method and apparatus for transferring packets in network
WO2012108617A1 (en) Method and apparatus for managing content in a processing device
WO2018182065A1 (ko) M2m 시스템에서 다중 리소스 구독 연관 방법
WO2017052210A1 (ko) 사용자 계정 동기화를 이용한 디지털 상품 제공 방법 및 장치
WO2013141635A1 (ko) 어플리케이션 런처 시스템 및 그 제어방법
WO2024085264A1 (ko) 끊김 없이 데이터를 저장하기 위한 플랫폼 간 요청 메시지 재라우팅 방법
WO2020085528A1 (ko) 구독 만료 관리 방법 및 이를 적용한 m2m 시스템
JP2009508211A (ja) エンドポイントに透過な独立したメッセージ処理システム及び方法
WO2017191977A1 (ko) M2M/IoT 플랫폼에서의 시맨틱 정보 관리 방법
WO2012015127A1 (ko) 웹 데이터의 권한 관리 장치, 웹 데이터의 권한 관리 방법을 컴퓨터에서 실행시키기 위한 기록매체, 그리고 권한 관리 정보 제공 장치 및 방법
EP4150863A1 (en) Method and system for eas lifecycle management with edge data network selection
WO2013151371A1 (ko) Pc방의 서비스 등록 ip 판별 시스템 및 방법
WO2020105765A1 (ko) LoRa 통신을 이용한 M2M 플랫폼 연동 방법 및 시스템
WO2023068393A1 (ko) Onem2m 시스템에서 리소스 레이블 조회 방법
WO2019107596A1 (ko) oneM2M 기반 데이터 관제 API 구성 방법
WO2023068394A1 (ko) 원엠투엠 시스템과 엔지에스아이-엘디 시스템 간의 데이터 연동 방법
WO2023068392A1 (ko) 데이터 플랫폼에서 구독/통지를 이용한 오퍼레이션 실행 방법
KR102482151B1 (ko) 교두보 네트워크 기반 데이터 송수신 시스템 및 방법