<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[AIVeNautics - Medium]]></title>
        <description><![CDATA[AIVeNautics builds AI-powered maritime technologies that connect ships, people, and digital services — advancing safer navigation, smarter decision-making, and a more connected maritime ecosystem. - Medium]]></description>
        <link>https://medium.com/aivenautics?source=rss----fb80afd1e99d---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>AIVeNautics - Medium</title>
            <link>https://medium.com/aivenautics?source=rss----fb80afd1e99d---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:22:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/aivenautics" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SECOM: A Standard for Secure Ship-Shore Data Exchange]]></title>
            <link>https://medium.com/aivenautics/secom-a-standard-for-secure-ship-shore-data-exchange-05877600038e?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/05877600038e</guid>
            <category><![CDATA[secom]]></category>
            <category><![CDATA[digitalization]]></category>
            <category><![CDATA[maritime]]></category>
            <category><![CDATA[maritime-security]]></category>
            <dc:creator><![CDATA[Hwangs]]></dc:creator>
            <pubDate>Fri, 27 Nov 2026 22:49:01 GMT</pubDate>
            <atom:updated>2026-11-27T22:48:59.868Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, I’m Sanghwan Hwang, a iOS developer of Ch@tSea app at AIVeNautics.</p><p>In earlier articles, we introduced the three core components of the Maritime Connectivity Platform (MCP) one by one: MIR, MSR, and MMS. In this article, I’ll step back a little and introduce SECOM, the standard that sits where these components meet the navigation equipment on real ships. I’ll focus less on the technical details of the standard and more on what it means for the shipping industry.</p><h3>Introduction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p2Lju2tD2Tffr0jTHD8peQ.png" /></figure><p>In March 2024, the Francis Scott Key Bridge in Baltimore collapsed after being struck by a container ship. With the channel blocked, all ships had to be diverted elsewhere, and they could come and go again only after temporary channels had been surveyed and added to the charts. The US National Oceanic and Atmospheric Administration (NOAA) issued five electronic navigational chart (ENC) updates in five weeks as this work went on, at one point only two days apart.</p><p>The problem is that when charts change this often, it’s hard for ships to receive and apply each update as it comes out. According to an International Maritime Organization (IMO) submission that discussed this case, today’s ENCs (S-57) can be updated at most once a day, and in practice updates are often distributed to ships only once a week. Delivery also relies on manual steps. On most ships, files are downloaded online and then transferred to the ECDIS (Electronic Chart Display and Information System) via USB stick, CD, or a folder on the ship’s network. Updates that fall outside the regular cycle have to be tracked separately, which makes mistakes more likely.</p><p>In the end, no matter how quickly information is produced ashore, there’s no way to send it straight to the ECDIS. <strong>SECOM is a standard designed to solve this problem. It connects the ECDIS to data on shore over the internet.</strong></p><h3>Why ECDIS Has Been Kept Off the Internet</h3><p>ECDIS is navigation equipment that the SOLAS Convention requires on passenger ships, tankers, and cargo ships above a certain size, and it has legal standing as a replacement for paper charts. Because it’s used directly to judge a ship’s position and the hazards around it, it has generally been operated at a distance from outside networks. Based on the International Hydrographic Organization (IHO) cyber security instruction for ENCs and ECDIS, the reasons fall into three broad groups.</p><p><strong>First, to protect navigation equipment from cyberattacks.</strong> Direct exposure to the internet increases the risk of malware infection, unauthorized access, and data tampering. If any of these happen on an ECDIS, navigational decisions can be undermined, so external access is restricted with firewalls and network segregation.</p><p><strong>Second, to keep problems on outside networks from spreading to navigation functions.</strong> An ECDIS has to run reliably the whole time a ship is underway. Communication paths and functions are limited to what’s strictly necessary, so that a flood of traffic from outside, or damage from a breach of another system on the same network, doesn’t reach the ECDIS.</p><p><strong>Third, to accept only trustworthy navigational data.</strong> For ENCs and their updates, it has to be possible to confirm who produced them and that they weren’t changed along the way. So instead of downloading just any data from the internet, ships use data from authorized chart providers after it has gone through a validation process. The IHO also recommends leaving data validation and preparation to a separate secure system and using the ECDIS for navigation only.</p><p>In the S-57 era, this separation caused little inconvenience. The only data an ECDIS really handled was the ENC, and charts didn’t change often. Unless charts had to change urgently, as they did after the Key Bridge collapse, receiving update files on a regular cycle and transferring them was enough in most cases. With S-100, however, things change, and connecting the ECDIS to the outside world means solving these three problems first. Later in this article, we’ll look at how SECOM and MCP address each of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6G5lTED8QWlwDzl4KjxX_Q.png" /><figcaption>How the ECDIS receives data: today and in the future</figcaption></figure><h3>What S-100 Changes</h3><p>S-100 is the IHO’s next-generation framework of standards for marine data. Unlike S-57, which covered only ENCs, it allows multiple data products to be built on one common foundation. Examples include S-101 ENCs, S-102 bathymetry, S-104 water levels, S-111 surface currents, S-124 navigational warnings, and S-421 route plans.</p><p>Many of these change frequently. Water levels and currents change hour by hour, and navigational warnings and route plans can be issued at any time as circumstances change. If data is moved by USB once a week, it can’t be used when it’s needed. To make proper use of S-100, the ECDIS needs a way to exchange data with shore directly, automatically, and securely.</p><p><strong>So how does this data appear on the ECDIS screen once it arrives?</strong></p><p>S-100 has already defined this. Each product specification is meant to include portrayal rules that set out the symbols, colors, and lines used to draw that product, and the ECDIS follows these rules to display the data on the chart. The rules for overlaying several products on one screen are defined in a separate standard, S-98 (Data Product Interoperability in S-100 Navigation Systems). In other words, once data gets to the ECDIS, the standards for putting it on screen are already in place.</p><p>The regulatory timeline has also been set. In November 2022, the IMO adopted MSC.530(106), a performance standard for ECDIS that supports S-100, and the May 2024 revision (Rev.1) added route plan exchange. From January 2026, S-100 ECDIS can be installed as an option, and <strong>from 1 January 2029, every newly installed ECDIS (including retrofits) must meet the new performance standard.</strong> There’s no obligation to replace existing equipment, but every ECDIS installed from then on will support S-100.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XclQdeYhdQig-G_z63Rm5g.png" /><figcaption>S-100 ECDIS and SECOM timeline</figcaption></figure><p>Preparations on the equipment side, however, are still underway. The 5th edition of IEC 61174, the ECDIS test standard, is scheduled for publication in 2027, and type-approved S-100 ECDIS are expected to become commercially available around 2028.</p><h3>What Is SECOM?</h3><p>SECOM (Secure exchange and communication of S-100 based products) is the international standard IEC 63173–2, published in May 2022 by TC 80, the International Electrotechnical Commission (IEC) technical committee for maritime navigation and radiocommunication equipment and systems. As the name suggests, it’s a standard for exchanging S-100 based data securely, and its scope covers three areas:</p><ol><li>Interfaces (APIs) for exchanging data</li><li>Information security measures for secure communication</li><li>Interfaces for finding services</li></ol><p>How data is exchanged is defined by a handful of interfaces. They include Upload, which a producer uses to push data to a consumer; Get, which a consumer uses to pull data from a producer; Get Summary, which returns a summary of the data available; and Subscription, for receiving data on an ongoing basis. Data a consumer doesn’t have access to can be requested with Request Access, and the producer replies by accepting or denying the request. The key point is that <strong>the same interfaces are used regardless of operational purpose</strong>, whether the data is a navigational warning or a route plan.</p><p>SECOM was designed with S-100 data in mind, but it doesn’t restrict what kind of content is exchanged. It also assumes IP communication but doesn’t specify the physical link to the ship. Whether it’s satellite, LTE, or VDES, SECOM can run on any link that supports IP communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShpfJ2t5WK8aoGY-FFrZTg.png" /><figcaption>The structure of SECOM, redrawn from a figure in IHO, SECOM overview (2020)</figcaption></figure><p>There are also parts SECOM doesn’t define: the actual communication link to the ship, the security gateway on board (IEC 61162–460), and the service registry and identity registry at the bottom of the figure. SECOM defines only the interfaces for accessing registries and leaves the registries themselves to others. We’ll come back to this when we look at SECOM’s relationship with MCP.</p><h3>What SECOM Means for the Industry</h3><h3>1. A standard channel between ECDIS and shore services</h3><p><strong>What would happen without SECOM?</strong> Hydrographic offices, ports, and vessel traffic service (VTS) centers that want to send S-100 data in real time would each build their services in their own way, and ECDIS manufacturers would have to add a separate connection for each one. Every time a ship sailed into different waters, it would run into a different kind of service. A submission to the IMO Maritime Safety Committee in 2024 (MSC 109) warns about exactly this. If no action is taken now, it says, the S-100 ecosystem could become fragmented, shore authorities could face higher implementation costs, and investment could be scattered across incompatible solutions.</p><p>SECOM solves this with a single interface. If SECOM becomes widely used, service providers will be able to send data to S-100 ECDIS by implementing just the SECOM interface, and ECDIS manufacturers will have a common basis for receiving services from any country by supporting SECOM alone. For an ECDIS that has been kept apart from outside networks, SECOM becomes <strong>a standard channel for talking to the outside world</strong>.</p><p>Right now, the only use the IMO performance standard specifies for SECOM is S-421 route exchange, the function that lets a ship exchange routes with other ships or shore authorities. But the discussion is already moving beyond that. The submission mentioned above proposed expanding SECOM’s scope to all real-time S-100 data, and on that basis MSC 109 approved work on non-mandatory guidelines for delivering S-100 data over IP. In the IHO’s discussion on revising S-98, the hydrographic offices of Sweden, Australia, Canada, France, New Zealand, and the United States also jointly proposed wording stating that ECDIS should be able to connect to a SECOM-based communication network and to select services from a list provided by a SECOM service registry.</p><h3>2. A security baseline for ship communications</h3><p>Connecting the ECDIS to the outside world also means opening up a new attack surface. That’s the concern behind the first reason we gave for keeping ECDIS off the internet. So SECOM builds security into the standard from the start.</p><ul><li>The communication channel is encrypted with TLS (Transport Layer Security).</li><li>Authentication between services is based on X.509 certificates.</li><li>Exchanged data carries a digital signature, which makes it possible to confirm that the data hasn’t changed anywhere between the sender and the receiver. The signing and encryption technology is the same as the data protection scheme in S-100 Part 15.</li></ul><p>Keeping channel encryption and data signing separate is important. Channel encryption protects each link, but when data is relayed through intermediate systems, that protection breaks at every hop. A signature attached to the data itself lets the receiver check directly which organization originally produced the data and that it wasn’t changed along the way, no matter what path it took.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ws4qJJEFyNszfBW68Y4wkw.png" /><figcaption>Same navigational warning, different levels of trust</figcaption></figure><p>Navigational warnings are a good example of the difference. NAVTEX, one of the main ways ships receive navigational warnings today, sends text messages by radio broadcast and has no means of cryptographically verifying the sender. The MSC 109 submission explains that moving the delivery of navigational warnings from NAVTEX to SECOM would better protect maritime safety information from manipulation and disruption. The same submission, however, takes the position that text broadcasts of navigational warnings through the existing radio system (GMDSS) will continue. Rather than replacing NAVTEX, SECOM adds another way to deliver the same information in a more trustworthy form.</p><h3>3. A path for maritime digital services to spread</h3><p>SECOM also matters because it opens the door to maritime digital services. SECOM applies to both public services from government agencies and services from private companies, and it can be used not only between ship and shore but also between ships. The IMO submission says that shore authorities planning to produce real-time S-100 data will likely need to support delivery through SECOM in the future.</p><p>Conversely, this also means there will be a common path for any service that implements SECOM to reach S-100 ECDIS. SECOM lets a wide range of services, such as weather, sea ice, and ocean currents, come into the ECDIS through the same door in the form of S-100 data.</p><h3>SECOM and MCP</h3><p>As mentioned earlier, SECOM doesn’t define the registries themselves. Yet for SECOM to work properly, two things are essential.</p><p>First, you have to be able to verify who the other party is. It has to be clear who issues the certificates used for TLS and digital signatures, and why those certificates can be trusted. Second, you have to be able to find where the other party is, because a ship underway can’t know in advance the addresses of all the navigational warning services in the waters it’s passing through.</p><p>These two roles are filled by MIR and MSR in MCP. As covered in earlier articles in this series, MIR (Maritime Identity Registry) is an identity registry that issues unique identifiers called MRNs, along with certificates, to maritime organizations, ships, devices, and services. MSR (Maritime Service Registry) is a service registry where the specifications, endpoints, and coverage areas of maritime services can be registered and searched. On top of SECOM, <strong>MIR answers “who” and MSR answers “where.”</strong></p><p>What SECOM itself defines is how to access a registry such as MSR, namely a search interface called the Search Service. Ships use this interface to search MSR for the services they need. Only organizations that have been vetted and registered through MIR, however, can publish services to MSR. So every service a ship finds and connects to belongs to an organization whose identity has been verified, and MIR and MSR together also address the earlier problem of making sure the ECDIS accepts only trustworthy data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wzi9ooN6iWZO3GlP7ip04g.png" /><figcaption>How SECOM and MCP fit together (simplified flow)</figcaption></figure><p>The MSC 109 submission points out that SECOM needs a separate backend system to manage service discovery and security, and adds:</p><blockquote><em>“At present, the MCP stands as the only readily available SECOM-compatible backend implementation.”</em></blockquote><p><strong>In other words, MCP is currently the only SECOM-compatible backend that is ready to use.</strong> The discussion carried over to the IMO Sub-Committee on Navigation, Communications and Search and Rescue (NCSR 13) in June 2026. The International Association of Marine Aids to Navigation and Lighthouse Authorities (IALA) proposed using SECOM and MCP as the reference technologies for secure communication, identity, trust, and service discovery in an IP-based S-100 connectivity framework, and also shared its experience of actually applying SECOM to S-124 navigational warning services. Japan reported the results of trials in which it delivered S-100 data using its own MCP instance. At the same time, some participants said that connectivity should stay technology-neutral rather than being tied to a particular technology, and that the legal and financial implications of SECOM and MCP, as well as interoperability between multiple MCP instances, need further examination. If ECDIS starts talking to the outside world through SECOM after 2029, the identities and the address book for those conversations are likely to sit on MCP.</p><h3>What SECOM Hasn’t Settled Yet</h3><p>Because SECOM matters so much, it’s worth being clear about what hasn’t been settled yet.</p><ul><li><strong>The last mile is outside the standard.</strong> SECOM assumes IP communication, but it doesn’t define the actual link from a shore service to the ship’s ECDIS or how things are connected on board. The IHO’s SECOM overview figure shows a setup with an IEC 61162–460 security gateway on the ship side. One approach being discussed to fill this gap is the SECOM Terminal. It’s software that handles SECOM communication on the ship, and in its simplest form it runs right on that gateway. Because the Terminal takes care of exchanging data with the outside world, the ECDIS isn’t directly exposed to the internet. As discussed earlier, this also reduces the risk of problems on outside networks spreading to navigation functions.</li><li><strong>The performance standard still specifies only route exchange.</strong> Expanding SECOM to other S-100 data is being handled through non-mandatory guidelines. The guidelines weren’t finalized at NCSR 12 in 2025, but the draft was completed at NCSR 13 in June 2026 and is awaiting approval by the Maritime Safety Committee (MSC 112) in December 2026. Even if approved, the guidelines will be recommendations, and further comments at the meeting stressed the need for sufficient testing and validation before real-world use.</li><li><strong>The equipment isn’t here yet.</strong> The 5th edition of IEC 61174, the test standard, is scheduled for 2027, and type-approved S-100 ECDIS are expected to reach the market around 2028. Equipment manufacturers also see route exchange as what SECOM will realistically be used for as of 2026.</li><li><strong>Existing ECDIS aren’t covered.</strong> The 2029 requirement applies to newly installed equipment, and there’s no obligation to replace ECDIS that are already installed. S-57 charts will also continue to be issued for some time.</li></ul><h3>Closing Thoughts</h3><p>Here’s a summary of what we covered in this article:</p><ul><li>From 2029, every newly installed ECDIS will support S-100, and making proper use of real-time S-100 data requires a way to talk directly with shore.</li><li>SECOM defines how this happens through a single standard interface and security framework. For an ECDIS that has been kept apart from outside networks, it becomes a standard channel for talking to the outside world.</li><li>SECOM doesn’t define identity verification or service discovery itself, and today, the implementations that can fill those gaps are MCP’s MIR and MSR.</li></ul><p><strong>SECOM defines how the ECDIS talks to the world beyond the ship, and MCP tells it who it’s talking to and where to find them.</strong></p><p>At Ch@tSea, we also connect users to maritime services on top of MCP, and we’ll keep following these developments.</p><p>Thanks for reading.</p><h3>References</h3><ul><li><a href="https://webstore.iec.ch/en/publication/64543">IEC 63173–2:2022, Secure exchange and communication of S-100 based products (SECOM)</a></li><li><a href="https://iho.int/uploads/user/Inter-Regional%20Coordination/WWNWS/S-124PT/S-124%20PT1/S124PT1_2020_2.7_EN_SECOM_overview_v1.0.pdf">IHO, SECOM overview (2020)</a></li><li><a href="https://iho.int/uploads/user/About%20IHO/Council/council8/MSC%20109-19-3%20-%20Proposal%20for%20a%20new%20output%20to%20realize%20the%20full%20potential%20of%20the%20S-100%20ECDIS.pdf">IMO MSC 109/19/3, Proposal for a new output to realize the full potential of the S-100 ECDIS (2024)</a></li><li><a href="https://iho.int/uploads/user/pubs/standards/s-100/S-100_5.1.0_Final_Clean.pdf">IHO S-100 Edition 5.1.0, Universal Hydrographic Data Model (2023)</a></li><li><a href="https://iho.int/uploads/user/Services%20and%20Standards/S-100WG/S-164SG/98AnnexC_2024_EN_Comment%20template%20S-164_S-98%20-%20SECOM%20-%20FINAL.pdf">IHO S-100WG, S-164 / S-98 comments on SECOM (2024)</a></li><li><a href="https://www.admiralty.co.uk/news/s-100-timelines-explained">ADMIRALTY, S-100 timelines explained (2025)</a></li><li><a href="https://commercial.raymarine.com/about/news/secom-terminal-s-100-route-exchange-building-the-foundation">Teledyne Raymarine, SECOM Terminal &amp; S-100 Route Exchange (2026)</a></li><li><a href="https://www.maritimetechnology.nl/en/news/sperry-marine-paper-sets-out-s-100-step-change-for-marine-navigation/">Netherlands Maritime Technology, Sperry Marine paper sets out S-100 step change (2025)</a></li><li><a href="https://safety4sea.com/imo-ncsr-12-key-outcomes/">SAFETY4SEA, IMO NCSR 12: Key outcomes (2025)</a></li><li><a href="https://www.imokorea.org/upfiles/board/NCSR%2013-WP.1-Rev.1%20-%20Draft%20Report%20To%20The%20Maritime%20Safety%20Committee%20(Secretariat).pdf">IMO NCSR 13/WP.1/Rev.1, Draft report to the Maritime Safety Committee (2026)</a></li><li><a href="https://www.dnv.com/news/2026/the-imo-sub-committee-on-navigation-communications-search-and-rescue-ncsr13/">DNV, The IMO Sub-Committee on NCSR 13 (2026)</a></li><li><a href="https://nauticalcharts.noaa.gov/updates/the-office-of-coast-surveys-ongoing-response-to-the-francis-scott-key-bridge-disaster/">NOAA Office of Coast Survey, Response to the Francis Scott Key Bridge disaster</a></li><li><a href="https://maritimeconnectivity.net/">Maritime Connectivity Platform</a></li><li><a href="https://iho.int/uploads/user/Services%20and%20Standards/ENCWG/ENCWG8/ENCWG8-4.4_2023_EN_IHO%20ENC_ECDIS%20Cyber%20Security%20Instruction.pdf">IHO ENCWG8, ENC and ECDIS cyber security instruction (2023)</a></li><li><a href="https://github.com/maritimeconnectivity/g1128-msr-service-specification">MCP, Maritime Service Registry (MSR) service specification</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=05877600038e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/secom-a-standard-for-secure-ship-shore-data-exchange-05877600038e">SECOM: A Standard for Secure Ship-Shore Data Exchange</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[선박과 육상 간 보안 통신의 표준, SECOM(IEC 63173–2) 소개]]></title>
            <link>https://medium.com/aivenautics/%EC%84%A0%EB%B0%95%EA%B3%BC-%EC%9C%A1%EC%83%81-%EA%B0%84-%EB%B3%B4%EC%95%88-%ED%86%B5%EC%8B%A0%EC%9D%98-%ED%91%9C%EC%A4%80-secom-iec-63173-2-%EC%86%8C%EA%B0%9C-3eae2ac1f3ce?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/3eae2ac1f3ce</guid>
            <category><![CDATA[secom]]></category>
            <category><![CDATA[maritime]]></category>
            <category><![CDATA[digitalization]]></category>
            <category><![CDATA[maritime-security]]></category>
            <dc:creator><![CDATA[Hwangs]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 23:44:22 GMT</pubDate>
            <atom:updated>2026-11-26T23:44:20.922Z</atom:updated>
            <content:encoded><![CDATA[<p>안녕하세요. 에이브노틱스에서 Ch@tSea iOS 앱을 개발하고 있는 황상환입니다.</p><p>앞선 글들에서 MCP(Maritime Connectivity Platform)의 세 가지 핵심 구성 요소인 MIR, MSR, MMS를 차례로 소개했습니다. 이번 글에서는 시선을 조금 넓혀, 이 구성 요소들이 실제 선박의 항해 장비와 만나는 지점에 있는 표준인 SECOM을 소개하려고 합니다. 표준의 기술적인 세부 사항보다는 이 표준이 해운 업계에 어떤 의미를 갖는지에 무게를 두겠습니다.</p><h3>들어가며</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p2Lju2tD2Tffr0jTHD8peQ.png" /></figure><p>2024년 3월, 미국 볼티모어의 프랜시스 스콧 키 브리지(Francis Scott Key Bridge)가 컨테이너선과 충돌해 무너졌습니다. 항로가 막히자 모든 선박이 다른 곳으로 돌아가야 했고, 임시 항로를 측량해 해도에 반영한 뒤에야 다시 드나들 수 있었습니다. 미국 해양대기청(NOAA)은 이 작업을 이어 가며 5주 동안 전자해도(ENC) 업데이트를 다섯 번 냈고, 업데이트 사이 간격이 이틀밖에 되지 않은 적도 있었습니다.</p><p>그러나 문제는 이렇게 자주 바뀌는 해도를 배에서 그때그때 받아 반영하기가 어렵다는 것입니다. 이 사례를 다룬 국제해사기구(IMO) 제안서에 따르면, 지금의 전자해도(S-57)는 업데이트를 많아야 하루 한 번 낼 수 있고, 실제로 배에 배포되는 것은 일주일에 한 번인 경우가 많습니다. 전달 과정도 사람 손을 거칩니다. 대부분의 선박에서는 파일을 온라인으로 내려받은 뒤 USB나 CD, 선내 네트워크 폴더를 거쳐 ECDIS(Electronic Chart Display and Information System, 전자해도표시시스템)에 옮겨 넣고, 정해진 주기를 벗어난 업데이트는 따로 챙겨야 해서 실수가 생기기 쉽습니다.</p><p>결국 육상에서 정보를 아무리 빨리 만들어도, 그 정보를 ECDIS까지 바로 보낼 길이 없습니다. <strong>SECOM은 이 문제를 풀기 위한 표준으로, ECDIS를 인터넷으로 육상의 데이터와 연결해 줍니다.</strong></p><h3>ECDIS는 왜 인터넷과 떨어져 있었나</h3><p>ECDIS는 SOLAS 협약에 따라 일정 규모 이상의 여객선, 유조선, 화물선에 탑재가 의무화된 항해 장비로, 종이 해도를 대신하는 법적 지위를 가집니다. 배의 위치와 주변 위험을 판단하는 데 직접 쓰이는 장비이다 보니, 그동안 바깥 네트워크와는 거리를 두는 쪽으로 운영되어 왔습니다. 국제수로기구(IHO)의 전자해도 사이버 보안 지침을 보면 그 이유를 크게 세 가지로 정리할 수 있습니다.</p><p><strong>첫째, 사이버 공격으로부터 항해 장비를 보호하기 위해서입니다.</strong> 인터넷에 직접 노출되면 악성코드 감염, 무단 접근, 데이터 변조의 위험이 커집니다. ECDIS에서 이런 일이 생기면 항해 판단이 흔들릴 수 있기 때문에, 방화벽과 네트워크 분리로 외부 접근을 제한합니다.</p><p><strong>둘째, 바깥 네트워크의 문제가 항해 기능까지 번지지 않게 하기 위해서입니다.</strong> ECDIS는 배가 움직이는 내내 안정적으로 돌아가야 합니다. 외부에서 몰려드는 과도한 트래픽이나, 같은 네트워크에 연결된 다른 시스템이 뚫렸을 때의 피해가 ECDIS까지 번지지 않도록 통신 경로와 기능을 꼭 필요한 만큼만 남겨 둡니다.</p><p><strong>셋째, 믿을 수 있는 항해 데이터만 받아들이기 위해서입니다.</strong> 전자해도와 그 업데이트는 누가 만들었는지, 중간에 바뀌지 않았는지가 확인되어야 합니다. 그래서 인터넷에서 아무 자료나 받아 쓰지 않고, 승인된 해도 공급자의 데이터를 검증 절차를 거쳐 사용합니다. IHO도 데이터를 검증하고 준비하는 일은 별도의 보안 시스템에 맡기고, ECDIS는 항해에만 쓰도록 권고합니다.</p><p>S-57 시절에는 이렇게 떨어져 있어도 큰 불편이 없었습니다. ECDIS가 다루는 데이터가 사실상 전자해도 하나였고, 해도는 자주 바뀌지 않았기 때문입니다. 키 브리지 사고처럼 급하게 해도가 바뀌는 상황이 아니라면, 정해진 주기에 업데이트 파일을 받아 옮겨 넣는 것으로 대부분 감당할 수 있었습니다. 하지만 S-100으로 넘어가면 사정이 달라지고, ECDIS를 바깥과 연결하려면 이 세 가지 문제를 먼저 풀어야 합니다. SECOM과 MCP가 여기에 어떻게 답하는지는 뒤에서 하나씩 살펴보겠습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WaKDAL7akEcVNzTMpUpn-Q.png" /><figcaption>ECDIS가 데이터를 받는 길: 지금과 앞으로</figcaption></figure><h3>S-100이 바꾸는 것</h3><p>S-100은 IHO가 만든 차세대 해양 데이터 표준 체계입니다. 전자해도만 다루던 S-57과 달리, 하나의 틀 위에 여러 데이터 제품을 얹을 수 있습니다. S-101 전자해도, S-102 수심, S-104 수위, S-111 표층 해류, S-124 항행경보, S-421 항로계획 같은 것들입니다.</p><p>이 중 상당수는 자주 바뀌는 데이터입니다. 수위와 해류는 시간 단위로 변하고, 항행경보와 항로계획은 상황에 따라 언제든 새로 나옵니다. 일주일에 한 번 USB로 옮기는 방식으로는 이런 데이터를 제때 쓸 수 없습니다. S-100을 제대로 활용하려면 ECDIS가 육상과 직접, 자동으로, 그리고 안전하게 데이터를 주고받을 길이 필요해집니다.</p><p><strong>그렇다면 이렇게 들어온 데이터는 ECDIS 화면에 어떻게 보일까요?</strong></p><p>이 부분은 S-100이 정해 두었습니다. 데이터 제품마다 어떤 기호와 색, 선으로 그릴지를 정한 표시 규칙을 제품 사양에 함께 담도록 되어 있고, ECDIS는 이 규칙에 따라 데이터를 해도 위에 표시합니다. 여러 제품을 한 화면에 겹쳐 보여 줄 때의 규칙은 별도의 표준(S-98, S-100 항해 시스템의 데이터 상호운용성)이 정합니다. 데이터가 ECDIS까지 들어오기만 하면, 화면에 띄우는 방법은 표준으로 이미 갖춰져 있는 셈입니다.</p><p>규제 일정 또한 정해져 있습니다. IMO는 2022년 11월 S-100을 지원하는 ECDIS 성능표준(MSC.530(106))을 채택했고, 2024년 5월 개정판(Rev.1)에서 항로계획 교환 기능을 추가했습니다. 2026년 1월부터는 S-100 ECDIS를 선택해 설치할 수 있고, <strong>2029년 1월 1일부터는 새로 설치하는 모든 ECDIS(개조 포함)가 이 새 성능표준을 따라야 합니다.</strong> 기존 장비를 바꿔야 하는 의무는 없지만, 이 시점 이후 새로 설치되는 ECDIS는 모두 S-100을 지원하게 됩니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Cg8VHZaWK1tJBP7SJmXU_Q.png" /><figcaption>S-100 ECDIS와 SECOM 타임라인</figcaption></figure><p>다만 장비 쪽 준비는 아직 진행 중입니다. ECDIS 시험 표준인 IEC 61174 5판은 2027년 발행이 예정되어 있고, 형식승인을 받은 S-100 ECDIS는 2028년쯤 상용화될 것으로 보고 있습니다.</p><h3>SECOM이란</h3><p>SECOM(Secure Communication between ship and shore)은 국제전기기술위원회(IEC)의 해상 항해와 무선통신 기술위원회(TC 80)가 2022년 5월 발행한 국제표준 IEC 63173–2입니다. 이름 그대로 선박과 육상 사이의 안전한 통신을 위한 표준이며, 다루는 범위는 세 가지입니다.</p><ol><li>데이터를 주고받기 위한 인터페이스(API)</li><li>안전한 통신을 위한 정보 보안 수단</li><li>서비스를 찾기 위한 인터페이스</li></ol><p>데이터를 주고받는 방식은 몇 가지 인터페이스로 정해져 있습니다. 생산자가 소비자에게 데이터를 밀어 넣는 Upload, 소비자가 생산자에게서 데이터를 가져오는 Get, 가져올 수 있는 데이터의 요약을 받는 Get Summary, 데이터를 계속 받아 보기 위한 Subscription 등입니다. 접근 권한이 없는 데이터는 Request Access로 요청하고, 생산자가 수락 또는 거절로 응답합니다. 핵심은 항행경보든 항로계획이든, <strong>운영 목적과 상관없이 같은 인터페이스를 쓴다</strong>는 점입니다.</p><p>SECOM은 S-100 데이터를 염두에 두고 만들어졌지만, 주고받는 내용물의 종류는 가리지 않습니다. 또한 IP 통신을 전제로 할 뿐, 선박까지 이어지는 물리적인 통신 수단은 정하지 않습니다. 위성이든 LTE든 VDES든, IP 통신만 된다면 그 위에서 SECOM을 쓸 수 있습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QlgGrjsWwk_iu1_9qeMVuw.png" /><figcaption>SECOM의 구성. IHO, SECOM overview(2020)의 그림을 바탕으로 재구성했습니다.</figcaption></figure><p>SECOM이 정하지 않는 영역도 있습니다. 배까지 이어지는 실제 통신 수단과 선박 안의 보안 게이트웨이(IEC 61162–460), 그리고 아래쪽의 서비스 레지스트리와 신원 레지스트리가 그렇습니다. SECOM은 레지스트리에 접근하는 인터페이스만 정의하고, 레지스트리 자체는 다른 곳에 맡깁니다. 이 부분은 뒤에서 MCP와의 관계를 다룰 때 다시 살펴보겠습니다.</p><h3>SECOM이 업계에 갖는 의미</h3><h3>1. ECDIS가 육상 서비스와 대화하는 표준화된 창구</h3><p><strong>SECOM이 없다면 어떻게 될까요?</strong> S-100 데이터를 실시간으로 보내고 싶은 수로국, 항만, 관제센터는 저마다 다른 방식으로 서비스를 만들고, ECDIS 제조사는 그 방식마다 별도의 연결 기능을 붙여야 합니다. 배는 항해하는 해역이 바뀔 때마다 다른 방식의 서비스를 만나게 됩니다. 2024년 IMO 해사안전위원회(MSC 109)에 제출된 제안서도 이 점을 경고합니다. 지금 움직이지 않으면 S-100 생태계가 파편화되고, 육상 기관의 구축 비용이 늘어나며, 서로 호환되지 않는 해법에 투자가 흩어질 수 있다는 것입니다.</p><p>SECOM은 이 문제를 하나의 인터페이스로 풉니다. SECOM이 널리 쓰이면, 서비스 제공자는 SECOM 인터페이스 하나만 구현해 S-100 ECDIS에 데이터를 보낼 수 있게 되고, ECDIS 제조사는 SECOM 하나만 지원하면 어느 나라의 서비스든 받을 수 있는 공통 기반을 갖게 됩니다. 외부 네트워크와 떨어져 있던 ECDIS에게 SECOM은 <strong>바깥과 대화하는 표준화된 창구</strong>가 됩니다.</p><p>현재 IMO 성능표준이 SECOM을 명시한 용도는 S-421 항로계획 교환 하나입니다. 선박이 다른 선박이나 육상 기관과 항로를 주고받는 기능입니다. 하지만 논의는 이미 그 너머로 가고 있습니다. 앞의 제안서는 SECOM의 적용 범위를 모든 실시간 S-100 데이터로 넓히자고 제안했고, MSC 109는 이를 바탕으로 IP 기반 S-100 데이터 배포에 관한 지침(강제력 없는 가이드라인)을 만드는 작업을 승인했습니다. IHO의 S-98 개정 논의에서도 스웨덴, 호주, 캐나다, 프랑스, 뉴질랜드, 미국 수로국이 함께 “ECDIS는 SECOM 기반 통신망에 연결될 수 있어야 하며, SECOM 서비스 레지스트리가 제공하는 목록에서 서비스를 고를 수 있어야 한다”는 문구를 제안했습니다.</p><h3>2. 선박 통신 보안의 기준선</h3><p>ECDIS를 외부와 연결한다는 것은 곧 공격받을 수 있는 면이 생긴다는 뜻이기도 합니다. 앞에서 ECDIS가 인터넷과 떨어져 있었던 첫 번째 이유로 사이버 공격을 꼽은 것도 이 때문입니다. 그래서 SECOM은 처음부터 보안을 표준의 일부로 정의합니다.</p><ul><li>통신 채널은 TLS(Transport Layer Security)로 암호화합니다.</li><li>서비스 간 인증은 X.509 인증서를 기반으로 합니다.</li><li>주고받는 데이터에는 전자서명을 붙여, 보낸 곳부터 받는 곳까지 데이터가 바뀌지 않았는지 확인할 수 있게 합니다. 서명과 암호화 기술은 S-100 Part 15의 데이터 보호 방식과 같습니다.</li></ul><p>채널 암호화와 데이터 서명을 따로 둔 점이 중요합니다. 채널 암호화는 통신 구간을 보호하지만, 데이터가 중간 시스템을 거쳐 전달되면 그 보호는 구간마다 끊깁니다. 데이터 자체에 붙은 서명은 데이터가 어떤 경로로 오든, 처음 만든 기관이 누구인지와 중간에 바뀌지 않았는지를 받는 쪽에서 직접 확인할 수 있게 해 줍니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RTW2SxYwK-mIYM10wGNQzg.png" /><figcaption>같은 항행경보, 다른 신뢰 수준</figcaption></figure><p>항행경보를 예로 들면 차이가 분명해집니다. 지금 선박이 받는 대표적인 항행경보인 NAVTEX는 무선으로 방송되는 문자 메시지로, 보낸 곳을 암호학적으로 확인하는 장치가 없습니다. MSC 109 제안서는 항행경보 전달이 NAVTEX에서 SECOM으로 옮겨 가면 해상안전정보가 조작이나 방해로부터 더 잘 보호된다고 설명합니다. 다만 같은 제안서는 기존 무선 통신 체계(GMDSS)를 통한 문자 항행경보 방송은 그대로 유지한다는 입장입니다. SECOM은 NAVTEX를 없애는 것이 아니라, 같은 정보를 더 믿을 수 있는 형태로 하나 더 전달하는 길입니다.</p><h3>3. 해사 디지털 서비스가 퍼지는 통로</h3><p>SECOM의 또 다른 의미는 해사 디지털 서비스의 문을 연다는 점입니다. SECOM은 정부 기관의 공공 서비스와 민간 기업의 서비스 모두에 적용되고, 선박과 육상 사이뿐 아니라 선박과 선박 사이의 통신에도 쓸 수 있습니다. IMO 제안서는 실시간 S-100 데이터를 만들려는 육상 기관이 앞으로 SECOM을 통한 배포를 지원해야 할 가능성이 높다고 내다봅니다.</p><p>거꾸로 말하면, SECOM을 구현한 서비스가 S-100 ECDIS에 닿을 수 있는 공통의 길이 생긴다는 뜻이기도 합니다. SECOM은 기상, 해빙, 해류 같은 다양한 서비스가 같은 문을 통해 S-100 데이터의 형태로 ECDIS에 들어올 수 있게 합니다.</p><h3>SECOM과 MCP</h3><p>앞에서 SECOM은 레지스트리 자체를 정의하지 않는다고 했습니다. 그런데 SECOM이 제대로 동작하려면 두 가지가 반드시 필요합니다.</p><p>첫째, 상대가 누구인지 확인할 수 있어야 합니다. TLS와 전자서명에 쓰이는 인증서를 누가 발급하고, 그 인증서를 왜 믿을 수 있는지가 정해져 있어야 합니다. 둘째, 상대가 어디에 있는지 찾을 수 있어야 합니다. 항해 중인 배가 지금 지나는 해역의 항행경보 서비스 주소를 미리 다 알고 있을 수는 없기 때문입니다.</p><p>이 두 역할을 맡는 것이 MCP의 MIR과 MSR입니다. 시리즈의 앞선 글에서 소개했듯, MIR(Maritime Identity Registry)은 해상의 기관, 선박, 장비, 서비스에 MRN이라는 고유 식별자와 인증서를 발급하는 신원 저장소이고, MSR(Maritime Service Registry)은 해사 서비스의 명세와 주소, 서비스 해역을 등록하고 검색할 수 있게 하는 서비스 저장소입니다. SECOM 위에서 <strong>MIR은 “누구인가”를, MSR은 “어디에 있나”를</strong> 답합니다.</p><p>SECOM이 직접 정의하는 것은 MSR 같은 레지스트리에 접근하는 방법, 즉 Search Service라는 검색 인터페이스입니다. 배는 이 인터페이스로 MSR을 검색해 필요한 서비스를 찾습니다. 그런데 MSR에는 MIR의 심사를 거쳐 등록된 기관만 서비스를 올릴 수 있습니다. 그래서 배가 찾아 연결하는 서비스는 모두 신원이 확인된 기관의 것이고, ECDIS가 믿을 수 있는 데이터만 받아들여야 한다는 앞의 문제에도 MIR과 MSR이 함께 답하게 됩니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ASq7fIbCPnO-vtaaRrp2Pw.png" /><figcaption>SECOM과 MCP는 어떻게 맞물리는가 (단순화한 흐름)</figcaption></figure><p>MSC 109 제안서는 SECOM에 서비스 탐색과 보안을 관리할 별도의 백엔드 시스템이 필요하다고 짚으면서, 이렇게 덧붙입니다.</p><blockquote><em>“At present, the MCP stands as the only readily available SECOM-compatible backend implementation.”</em></blockquote><p><strong>현재 바로 쓸 수 있는 SECOM 호환 백엔드는 MCP뿐이라는 뜻입니다.</strong> 이 흐름은 2026년 6월 IMO 항해, 통신, 수색구조 전문위원회(NCSR 13)로 이어졌습니다. 국제항로표지협회(IALA)는 IP 기반 S-100 연결 체계에서 보안 통신, 신원, 신뢰, 서비스 탐색을 맡을 참조 기술로 SECOM과 MCP를 쓰자고 제안했고, S-124 항행경보 서비스에 SECOM을 실제로 적용한 경험도 공유했습니다. 일본은 자체 MCP로 S-100 데이터 배포를 시험한 결과를 보고했습니다. 한편 연결 방식은 특정 기술에 묶이지 않고 기술 중립적이어야 한다는 의견과, SECOM과 MCP의 법적, 재정적 의미와 여러 MCP 인스턴스 사이의 상호운용성을 더 살펴봐야 한다는 의견도 함께 나왔습니다. 2029년 이후 ECDIS가 SECOM으로 바깥과 대화하게 된다면, 그 대화의 신원과 주소록은 MCP 위에 놓일 가능성이 큽니다.</p><h3>SECOM이 아직 정하지 않은 것</h3><p>SECOM의 의미가 큰 만큼, 아직 정해지지 않은 부분도 분명히 짚어 두겠습니다.</p><ul><li><strong>최종 연동 구간(The last mile)은 표준 밖입니다.</strong> SECOM은 IP 통신을 전제로 하지만, 육상 서비스에서 배의 ECDIS까지 이어지는 실제 통신 수단과 선내 연결 방식은 정의하지 않습니다. IHO의 SECOM 개요 그림은 선박 쪽에 IEC 61162–460 보안 게이트웨이를 두는 구성을 보여 줍니다. 이 구간을 채울 방법으로는 SECOM Terminal이 논의되고 있습니다. 선박에서 SECOM 통신을 맡는 소프트웨어로, 가장 단순한 형태에서는 바로 이 게이트웨이 위에서 돌아갑니다. 외부와 데이터를 주고받는 일은 Terminal이 맡기 때문에 ECDIS는 인터넷에 직접 노출되지 않습니다. 앞에서 짚은 것처럼 바깥 네트워크의 문제가 항해 기능까지 번지는 일도 그만큼 줄일 수 있습니다.</li><li><strong>성능표준이 명시한 용도는 아직 항로 교환뿐입니다.</strong> 다른 S-100 데이터로의 확장은 강제력 없는 지침으로 다뤄지고 있습니다. 2025년 NCSR 12에서는 마무리되지 못했지만, 2026년 6월 NCSR 13에서 지침 초안이 완성되어 2026년 12월 해사안전위원회(MSC 112)의 승인을 앞두고 있습니다. 승인되더라도 이 지침은 권고 문서이고, 회의에서는 실제 적용 전에 충분한 시험과 실증이 필요하다는 의견이 이어졌습니다.</li><li><strong>장비가 아직 없습니다.</strong> 시험 표준인 IEC 61174 5판은 2027년 발행 예정이고, 형식승인을 받은 S-100 ECDIS는 2028년쯤 시장에 나올 것으로 예상됩니다. 장비 제조사 쪽에서도 2026년 현재 SECOM이 실질적으로 맡을 일은 항로 교환이라고 보고 있습니다.</li><li><strong>기존 ECDIS는 대상이 아닙니다.</strong> 2029년 의무는 새로 설치하는 장비에 적용되며, 이미 설치된 ECDIS를 교체할 의무는 없습니다. S-57 해도도 당분간 계속 발행됩니다.</li></ul><h3>마치며</h3><p>이번 글에서 다룬 내용을 정리하면 다음과 같습니다.</p><ul><li>2029년부터 새로 설치되는 ECDIS는 모두 S-100을 지원하게 되고, S-100의 실시간 데이터를 제대로 쓰려면 육상과 직접 대화할 길이 필요합니다.</li><li>SECOM은 그 길을 하나의 표준 인터페이스와 보안 체계로 정의합니다. 외부망과 떨어져 있던 ECDIS에게는 바깥과 대화하는 표준화된 창구가 됩니다.</li><li>SECOM은 신원 확인과 서비스 탐색을 스스로 정의하지 않으며, 현재 이를 채울 수 있는 구현은 MCP의 MIR과 MSR입니다.</li></ul><p><strong>SECOM은 ECDIS가 바다 밖과 대화하는 방법을 정하고, MCP는 그 대화의 상대가 누구이며 어디에 있는지를 알려 줍니다.</strong></p><p>Ch@tSea 역시 MCP 위에서 해사 서비스를 이용자에게 연결하는 앱으로서, 이 흐름을 계속 따라가겠습니다.</p><h3>참고 자료</h3><ul><li><a href="https://webstore.iec.ch/en/publication/64543">IEC 63173–2:2022, Secure communication between ship and shore (SECOM)</a></li><li><a href="https://iho.int/uploads/user/Inter-Regional%20Coordination/WWNWS/S-124PT/S-124%20PT1/S124PT1_2020_2.7_EN_SECOM_overview_v1.0.pdf">IHO, SECOM overview (2020)</a></li><li><a href="https://iho.int/uploads/user/About%20IHO/Council/council8/MSC%20109-19-3%20-%20Proposal%20for%20a%20new%20output%20to%20realize%20the%20full%20potential%20of%20the%20S-100%20ECDIS.pdf">IMO MSC 109/19/3, Proposal for a new output to realize the full potential of the S-100 ECDIS (2024)</a></li><li><a href="https://iho.int/uploads/user/pubs/standards/s-100/S-100_5.1.0_Final_Clean.pdf">IHO S-100 Edition 5.1.0, Universal Hydrographic Data Model (2023)</a></li><li><a href="https://iho.int/uploads/user/Services%20and%20Standards/S-100WG/S-164SG/98AnnexC_2024_EN_Comment%20template%20S-164_S-98%20-%20SECOM%20-%20FINAL.pdf">IHO S-100WG, S-164 / S-98 comments on SECOM (2024)</a></li><li><a href="https://www.admiralty.co.uk/news/s-100-timelines-explained">ADMIRALTY, S-100 timelines explained (2025)</a></li><li><a href="https://commercial.raymarine.com/about/news/secom-terminal-s-100-route-exchange-building-the-foundation">Teledyne Raymarine, SECOM Terminal &amp; S-100 Route Exchange (2026)</a></li><li><a href="https://www.maritimetechnology.nl/en/news/sperry-marine-paper-sets-out-s-100-step-change-for-marine-navigation/">Netherlands Maritime Technology, Sperry Marine paper sets out S-100 step change (2025)</a></li><li><a href="https://safety4sea.com/imo-ncsr-12-key-outcomes/">SAFETY4SEA, IMO NCSR 12: Key outcomes (2025)</a></li><li><a href="https://www.imokorea.org/upfiles/board/NCSR%2013-WP.1-Rev.1%20-%20Draft%20Report%20To%20The%20Maritime%20Safety%20Committee%20(Secretariat).pdf">IMO NCSR 13/WP.1/Rev.1, Draft report to the Maritime Safety Committee (2026)</a></li><li><a href="https://www.dnv.com/news/2026/the-imo-sub-committee-on-navigation-communications-search-and-rescue-ncsr13/">DNV, The IMO Sub-Committee on NCSR 13 (2026)</a></li><li><a href="https://nauticalcharts.noaa.gov/updates/the-office-of-coast-surveys-ongoing-response-to-the-francis-scott-key-bridge-disaster/">NOAA Office of Coast Survey, Response to the Francis Scott Key Bridge disaster</a></li><li><a href="https://maritimeconnectivity.net/">Maritime Connectivity Platform</a></li><li><a href="https://iho.int/uploads/user/Services%20and%20Standards/ENCWG/ENCWG8/ENCWG8-4.4_2023_EN_IHO%20ENC_ECDIS%20Cyber%20Security%20Instruction.pdf">IHO ENCWG8, ENC and ECDIS cyber security instruction (2023)</a></li><li><a href="https://github.com/maritimeconnectivity/g1128-msr-service-specification">MCP, Maritime Service Registry (MSR) service specification</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3eae2ac1f3ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/%EC%84%A0%EB%B0%95%EA%B3%BC-%EC%9C%A1%EC%83%81-%EA%B0%84-%EB%B3%B4%EC%95%88-%ED%86%B5%EC%8B%A0%EC%9D%98-%ED%91%9C%EC%A4%80-secom-iec-63173-2-%EC%86%8C%EA%B0%9C-3eae2ac1f3ce">선박과 육상 간 보안 통신의 표준, SECOM(IEC 63173–2) 소개</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maritime Connectivity Platform (MCP) — A Common Foundation for Information Exchange at Sea]]></title>
            <link>https://medium.com/aivenautics/maritime-connectivity-platform-mcp-a-common-foundation-for-information-exchange-at-sea-adf91696b614?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/adf91696b614</guid>
            <category><![CDATA[mcps]]></category>
            <category><![CDATA[maritime-security]]></category>
            <category><![CDATA[maritime-industry]]></category>
            <category><![CDATA[maritime]]></category>
            <dc:creator><![CDATA[Seunghyeon.Lee]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 05:05:42 GMT</pubDate>
            <atom:updated>2026-11-23T05:05:41.431Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, I’m Seunghyeon Lee, an iOS developer at AIVeNautics. I’m responsible for iOS development on ChatSea, a maritime communications app built on MCP. In this article, I’ll explain how MCP addresses the challenges of exchanging information at sea.</p><h3>Exchanging Information at Sea</h3><p>At sea, ships, ports, traffic control centers, and all kinds of maritime services constantly exchange information. That includes navigational warnings, weather information, port arrival instructions, and route plans. But consider a few questions:</p><blockquote>Are we really communicating with the organization it claims to be?</blockquote><blockquote>Where can we find a service that provides the information we need?</blockquote><blockquote>Will the information still get through if the other party switches from the internet to VDES?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*alOcxnhohQ3DW_Rskkkmew.png" /></figure><p>If every country, vendor, and system solves these problems its own way, the result is predictable. You end up with islands of information that can’t communicate with one another. On land, the internet and HTTPS have already provided a common foundation for solving this problem. At sea, there was no equivalent shared foundation.</p><p>The maritime world needs a common foundation that lets organizations discover one another’s services and exchange information securely across national and vendor boundaries. That’s what interoperability means. MCP provides the common rules needed to verify identities, discover services, and deliver messages.</p><h3>MCP and Its Common Rules</h3><p>Common rules are especially important in the maritime domain. Information that serves the public interest and supports safety, such as information for safe navigation and distress response, is central to maritime operations. A single ship can pass through ports and traffic control areas in several countries. A standard used by only one company or country loses its usefulness as soon as a ship crosses a border. Information exchange serves its purpose when it works internationally.</p><p>That’s the starting point for MCP, the Maritime Connectivity Platform. The Maritime Connectivity Platform Consortium (MCC) describes it as “a decentralized platform that facilitates secure and reliable information exchange.” If we break information exchange at sea down into three questions, each of MCP’s three components answers one of them.</p><ul><li><strong>MIR</strong> (Maritime Identity Registry) — “Is this really who they claim to be?”</li><li><strong>MSR</strong> (Maritime Service Registry) — “Where can I find the service I need?”</li><li><strong>MMS</strong> (Maritime Messaging Service) — “How do I get the information there?”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4zoYTRL4foj0qzKLFHn2lw.png" /></figure><p>Decentralization is a core design principle. No single authority centrally controls all identities and information in MCP. Instead, multiple organizations each operate their own part of the platform and exchange information using common rules. MCP is also open source and vendor-neutral, and it adopts proven technologies that have long supported the web, including standards such as X.509 certificates.</p><h3>Three Pillars of Information Exchange</h3><h3>1. “Is this really who they claim to be?” — Identity (MIR)</h3><p>To exchange information, you first need a way to identify the other party. At sea, ships have traditionally been identified in several ways, including IMO numbers, Maritime Mobile Service Identities (MMSIs), and call signs. There was no single digital naming scheme that covered ships as well as organizations, devices, and services. MIR assigns each entity a globally unique identifier called a Maritime Resource Name (MRN). It looks like this.</p><pre>urn:mrn:mcp:entity:mcc:dma:alice</pre><p>An MRN on its own is simply a name tag. It provides no security by itself. To exchange information securely, you need to verify that it really came from the holder of that MRN. MIR therefore issues each entity a public/private key pair and a digital certificate (X.509) bound to its MRN. It also provides a way to check whether a certificate it issued is still valid. The sender signs the message with a private key that only they hold, and the recipient verifies the sender’s certificate and signature. Successful verification establishes two things. The information came from the holder of that MRN, and its contents remained intact in transit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kp7ZiXS7qeXOw6Tg5EH9_g.png" /></figure><p>This is where decentralization comes into play. No single authority centrally administers MRNs or operates the Maritime Identity Registry. Each organization can run its own identity server and issue certificates, and shared international standards allow organizations to verify one another’s identities. In an international environment where countries and organizations have different interests, this design lets each participant decide whom to trust and how far that trust extends.</p><h3>2. “Where can I find the service I need?” — Service Discovery (MSR)</h3><p>Think of MSR as the Yellow Pages for maritime services. Providers register their services, and users search for what they need. They can search by criteria such as who provides the service, what information it handles, or which waters it covers. Free and paid services, commercial and noncommercial alike, can all be discovered in one place. It brings service discovery into the internet era. Where once you could find a service by tuning to the right radio frequency, you can now search for it in a registry.</p><h3>3. “How do I get the information there?” — Message Delivery (MMS)</h3><p>Once you know who you’re communicating with (MIR) and where to find the service you need (MSR), what remains is to send and receive the information. MMS handles delivery, the final and most important step in the exchange.</p><p>MMS defines a new architecture and protocol for delivering messages reliably at sea, where connectivity can be poor and communication technologies vary. The MCC’s MMS Working Group spent several years refining the standard and its implementation together. The result is documented in the international standard RTCM 13900.0, <em>Maritime Messaging Service Architecture and Protocol</em>. MMS is where MCP’s maritime focus comes through most clearly.</p><p>Five scenarios illustrate how delivering information at sea differs from delivering it on land. MMS addresses each one.</p><h4>① The same approach across different communication links</h4><p>As ships sail, they switch between IP-based communications such as the internet and VDES (VHF Data Exchange System). Applications built on MMS send and receive information the same way regardless of which link is in use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c9eqb9eyfHpMsBOR6l1y_A.png" /></figure><h4>② One address, the MRN</h4><p>MMS uses the MRN issued by MIR as the recipient’s address in place of an IP address or phone number. Whatever link the recipient is currently using, the sender only needs to know the recipient’s MRN. The identifier used for identity in MIR also serves as the delivery address in MMS.</p><h4>③ Delivery even when the recipient is offline</h4><p>At sea, you have to assume that the recipient may be offline. If that happens, MMS holds the message and delivers it when the recipient reconnects. This is called <em>store-and-forward</em>.</p><h4>④ To one recipient or everyone interested</h4><p>MMS supports both one-to-one delivery to a specific MRN (<em>Direct Message</em>) and delivery to everyone subscribed to a particular subject in a single send (<em>Subject-cast Message</em>). Maritime safety information has long been distributed by radio broadcast, with a base station transmitting it across the surrounding waters. Subject-cast works through subscriptions and carries that same maritime practice into MMS by letting the sender deliver the same information to everyone who needs it in a single send.</p><h4>⑤ Protection against eavesdropping and tampering</h4><p>Messages may pass through intermediary nodes operated by different countries and organizations. MMS attaches the sender’s signature to every message. Its security protocol, SMMP, provides end-to-end encryption so only the sender and recipient can read the contents. MMS is currently the only way to provide security on a VDES network.</p><p>Together, these five capabilities make MMS a common delivery network for the maritime world. It gets information to the right recipients securely, across different communication links, even when delivery has to wait. A separate article on MMS explores its architecture and protocol in more detail.</p><h3>The Digitalization of Information Exchange and the Role of MCC</h3><p>Information exchange at sea is rapidly going digital. The International Maritime Organization (IMO) is advancing e-Navigation, an initiative for the electronic collection, integration, exchange, presentation, and analysis of marine information on board ships and ashore. It’s a shift toward digital exchange for information traditionally shared through paper charts, radio, and fax. For different systems to exchange information digitally, they first need common rules. That’s the role MCP plays.</p><p>The MCC is helping lead this effort. Established in February 2019 during the e-Navigation Underway International 2019 conference, the MCC is a neutral, nonprofit organization modeled on the World Wide Web Consortium (W3C). Its host members, which make up its board, are the Korea Research Institute of Ships and Ocean Engineering (KRISO), the General Lighthouse Authorities of the UK and Ireland (GLA), Finland’s Fintraffic, the Australian Maritime Safety Authority (AMSA), and the Canadian Coast Guard. South Korea’s Ministry of Oceans and Fisheries, the Japan Coast Guard, the Danish Maritime Authority, and the Swedish Maritime Administration participate as government observers. Advisory members include the International Organization for Marine Aids to Navigation (IALA) and the International Hydrographic Organization (IHO). A further 30 research institutions and companies participate as full members.</p><p>International organizations are also using MCP as a foundation for information exchange. IALA has officially approved an MCP test instance and made it available to its members and anyone else in the maritime sector. The instance includes an MIR that follows IALA Guideline G1183 and an MMS that follows RTCM 13900.0. Its MMS routers are operated in Sweden and South Korea. Organizations and companies from different countries can use this shared environment to test the standards and verify that their systems can exchange information in practice. The maritime world is moving toward a common set of rules for information exchange, and the MCC is helping lay the groundwork.</p><h3>In Summary</h3><ul><li><strong>Is this really who they claim to be?</strong> Use an MRN to identify the other party, then verify their identity with a certificate and a digital signature → MIR</li><li><strong>Where can I find the service I need?</strong> Search the maritime Yellow Pages using the criteria that matter to you → MSR</li><li><strong>How do I get the information there?</strong> Use the recipient’s MRN to deliver it securely, even if the communication link changes or the recipient is offline → MMS</li></ul><p>MCP brings these three capabilities together under a common set of rules so organizations across different countries can exchange information securely at sea. At the heart of that exchange is MMS, which handles delivery. I’ll return to this topic in a future article to explore how we integrated all three pillars into ChatSea, with a closer look at MMS.</p><h3>References</h3><ul><li><em>The Maritime Connectivity Platform (MCP) — Conceptual Overview</em>, Version 2.0</li><li><em>Maritime Connectivity Platform — MCP Consortium</em> (<a href="http://maritimeconnectivity.net/consortium">maritimeconnectivity.net/consortium</a>)</li><li>IALA, <em>MCP Test Instance</em> (<a href="https://www.iala.int/">iala.int</a>)</li><li>IALA Guideline G1183, <em>The Provision of Maritime Connectivity Platform (MCP) Identities</em>, Edition 1.1 (December 2024)</li><li>RTCM Standard 13900.0, <em>Maritime Messaging Service Architecture and Protocol</em></li><li><em>Maritime Connectivity Platform Documentation</em> (<a href="http://docs.maritimeconnectivity.net/">docs.maritimeconnectivity.net</a>)</li><li><em>MCP Consortium Open-Source Repositories</em> (<a href="http://github.com/maritimeconnectivity">github.com/maritimeconnectivity</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adf91696b614" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/maritime-connectivity-platform-mcp-a-common-foundation-for-information-exchange-at-sea-adf91696b614">Maritime Connectivity Platform (MCP) — A Common Foundation for Information Exchange at Sea</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maritime Connectivity Platform (MCP), 바다 위 정보 교환을 위한 공통 기반]]></title>
            <link>https://medium.com/aivenautics/maritime-connectivity-platform-mcp-%EB%B0%94%EB%8B%A4-%EC%9C%84-%EC%A0%95%EB%B3%B4-%EA%B5%90%ED%99%98%EC%9D%84-%EC%9C%84%ED%95%9C-%EA%B3%B5%ED%86%B5-%EA%B8%B0%EB%B0%98-d1f522c716f3?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/d1f522c716f3</guid>
            <category><![CDATA[maritime-industry]]></category>
            <category><![CDATA[maritime-security]]></category>
            <category><![CDATA[mcps]]></category>
            <category><![CDATA[maritime]]></category>
            <dc:creator><![CDATA[Seunghyeon.Lee]]></dc:creator>
            <pubDate>Thu, 19 Nov 2026 23:16:42 GMT</pubDate>
            <atom:updated>2026-11-23T04:47:17.918Z</atom:updated>
            <content:encoded><![CDATA[<p>안녕하세요. 에이브노틱스의 iOS 개발자 이승현입니다. 저는 MCP를 활용한 해상 통신 앱 ChatSea의 iOS 개발을 담당하고 있습니다. 이번 글에서는 MCP가 바다 위의 정보 교환 문제를 어떻게 푸는지 이야기해 보려고 합니다.</p><h3>바다 위의 정보 교환</h3><p>바다 위에서는 선박, 항만, 관제소, 그리고 온갖 해양 서비스가 끊임없이 정보를 주고받아요. 항행경보, 기상 정보, 입항 안내, 항로 계획 같은 것들이죠. 그런데 이런 질문들을 생각해볼게요. 지금 정보를 주고받는 상대가 진짜 그 기관이 맞을까요? 내가 필요한 정보를 주는 서비스는 어디서 찾죠? 상대가 인터넷에서 VDES로 회선을 바꿔도 정보가 제대로 전해질까요?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dk_MNxPzDUTF06Rm2Cyk_w.png" /></figure><p>만약 이걸 나라마다, 벤더마다, 시스템마다 제각각의 방식으로 풀고 있다면, 결과는 뻔해요. 서로 정보를 주고받지 못하는 섬들이 되는 거예요. 육지에서는 인터넷과 HTTPS라는 공통 기반이 이 문제를 이미 해결해줬지만, 바다에는 그런 통일된 토대가 없었어요.</p><p>바다에서도 국가와 제조사가 달라도 서로의 서비스를 찾고 안전하게 정보를 주고받을 수 있는 공통 기반이 필요해요. 이것이 바로 상호운용성(interoperability)이고, MCP는 이를 위해 신원 확인, 서비스 발견, 메시지 전달에 필요한 공통 규칙을 제공해요.</p><h3>공통의 규칙, MCP</h3><p>해양은 공통 규칙이 특히 중요한 도메인이에요. 항행 안전, 조난 대응 같은 공공·안전 정보가 핵심이고, 한 척의 배가 여러 나라의 항만과 관제 구역을 넘나들어요. 특정 회사나 국가만 쓰는 규격은 국경을 넘는 순간 쓸모가 없어져요. 정보 교환은 국제적으로 통용될 때 비로소 의미가 있으니까요.</p><p>MCP(Maritime Connectivity Platform)는 바로 이 지점에서 출발해요. MCP를 관리하는 MCP 컨소시엄(MCC)은 MCP를 “안전하고 신뢰할 수 있는 정보 교환을 돕는 탈중앙 플랫폼”이라고 소개해요. 바다 위 정보 교환을 세 가지 질문으로 나누면, MCP는 각 질문에 답하는 세 개의 컴포넌트로 이루어져 있어요.</p><ul><li>MIR (Maritime Identity Registry, 해양 신원 등록소) — “이 상대가 진짜 맞아?”</li><li>MSR (Maritime Service Registry, 해양 서비스 등록소) — “필요한 서비스는 어디 있지?”</li><li>MMS (Maritime Messaging Service, 해양 메시징 서비스) — “정보를 어떻게 전하지?”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xEdGhFSRam3CaBtqjPyQmQ.png" /></figure><p>설계의 핵심 원칙도 하나 있어요. 탈중앙이에요. MCP에는 모든 신원과 정보를 중앙에서 쥐고 관리하는 단일 기관이 없어요. 대신 여러 기관이 각자 자기 몫을 운영하고, 공통 규칙 덕분에 서로 정보를 주고받아요. 여기에 특정 벤더에 묶이지 않는 개방형 오픈소스라는 점, 웹을 지탱해 온 검증된 기술(X.509 인증서 같은 표준)을 그대로 가져왔다는 점이 더해져요.</p><h3>정보 교환을 위한 세 기둥</h3><h3>1. “이 상대가 진짜 맞아?” — 신원 (MIR)</h3><p>정보를 주고받으려면 먼저 상대를 부를 이름이 필요해요. 지금까지 바다에서 배를 부르는 이름은 IMO 번호, MMSI, 호출부호처럼 여러 가지가 뒤섞여 있었고, 배뿐 아니라 기관·기기·서비스까지 아우르는 통일된 디지털 이름은 없었어요. MIR은 여기에 MRN(Maritime Resource Name)이라는, 전 세계에서 유일한 식별자를 하나 부여해요. 아래와 같은 형식이에요.</p><pre>urn:mrn:mcp:entity:mcc:dma:alice</pre><p>다만 MRN은 그냥 이름표예요. 그 자체에는 보안 기능이 전혀 없어요. 정보를 안전하게 주고받으려면 “이 이름의 주인이 정말 보낸 정보인지”를 확인할 수 있어야 해요. 그래서 MIR은 각 주체에게 공개키/개인키 한 쌍과, 그 MRN에 묶인 디지털 인증서(X.509)를 발급하고, 발급한 인증서가 지금도 유효한지 확인해 주는 기능까지 제공해요. 보내는 쪽은 자기만 가진 개인키로 메시지에 서명하고, 받는 쪽은 발신자의 인증서와 서명을 검증해요. 이 과정을 통과하면 두 가지가 보장돼요. 이 정보는 진짜 그 MRN의 주인이 보냈다는 것, 그리고 중간에 내용이 바뀌지 않았다는 것이에요.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*393DjsQXoWgBRN9SdwWibg.png" /></figure><p>여기서 탈중앙 원칙이 드러나요. MRN이나 신원 등록소(MIR)를 중앙에서 도맡아 관리·운영하는 단일 기관은 없어요. 각 기관이 자기 신원 서버를 직접 운영하고 인증서를 발급하며, 국제 표준을 공유함으로써 서로의 신원을 검증할 수 있게 돼요. 나라와 조직마다 이해관계가 다른 국제 환경에서, “누구를 어디까지 믿을지”를 각자가 스스로 정할 수 있게 한 설계예요.</p><h3>2. “필요한 서비스는 어디 있지?” — 서비스 발견 (MSR)</h3><p>MSR은 쉽게 말해 해양 서비스의 옐로페이지(전화번호부)예요. 서비스 제공자는 자신의 서비스를 여기에 등록하고, 이용자는 원하는 조건으로 검색해서 찾아내요. 특정 제공자의 서비스, 특정 정보를 다루는 서비스, 특정 해역을 담당하는 서비스처럼 여러 기준으로 찾을 수 있어요. 무료든 유료든, 상업용이든 비상업용이든 한자리에서 발견되는 거예요. 예전엔 무전 주파수만 맞추면 됐던 “서비스 찾기”를, 인터넷 시대에 맞게 다시 풀어낸 장치라고 보면 돼요.</p><h3>3. “정보를 어떻게 전하지?” — 메시지 전달 (MMS)</h3><p>상대가 누구인지 알고(MIR), 어떤 서비스가 어디 있는지 찾았다면(MSR), 남은 일은 실제로 정보를 보내고 받는 거예요. 정보 교환의 마지막이자 가장 중요한 단계, 전달을 맡는 것이 MMS예요.</p><p>MMS는 통신 환경이 열악하고 통신 방식도 제각각인 바다 위에서도 메시지를 안정적으로 전달할 수 있도록 새로운 아키텍처와 프로토콜을 정의했어요. MCC의 MMS 워킹그룹이 여러 해에 걸쳐 표준과 구현을 함께 다듬었고 그 결과는 국제 표준 RTCM 13900.0(Maritime Messaging Service Architecture and Protocol)에 담겨 있어요. MCP가 해양에 특화된 플랫폼이라는 점이 가장 분명하게 드러나는 곳이 바로 MMS예요.</p><p>바다 위의 정보 전달이 육지와 다른 점은 다섯 가지 상황으로 정리할 수 있고, MMS는 각각에 답을 갖고 있어요.</p><p>① 회선이 바뀌어도 같은 방식으로</p><p>배는 항해하면서 인터넷 같은 IP 기반 통신과 VDES(VHF Data Exchange System) 사이를 오가요. MMS 위의 애플리케이션은 지금 어떤 회선이 쓰이는지 신경 쓰지 않고, 늘 같은 방식으로 정보를 보내고 받아요.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hlea-p8eDvO_ksF-_1QAlw.png" /></figure><p>② 주소는 MRN 하나로</p><p>정보를 받는 주소는 IP 주소나 전화번호가 아니라 MIR이 발급한 MRN이에요. 상대가 지금 어느 회선에 붙어 있든, 보내는 쪽은 상대의 MRN만 알면 돼요. 신원(MIR)이 그대로 전달(MMS)의 주소가 되는 거예요.</p><blockquote>③ 상대가 오프라인이어도</blockquote><p>바다 위에서는 상대가 지금 연결되어 있지 않을 수 있다는 것이 기본 전제예요. MMS는 받는 쪽이 오프라인이면 메시지를 대신 보관했다가, 다시 연결되는 순간 전달해요(저장 후 전달, store-and-forward).</p><p>④ 한 곳에, 또는 관심 있는 모두에게</p><p>특정 MRN 한 곳에 보내는 1:1 전송(Direct Message)과, 특정 주제(subject)를 구독한 모두에게 한 번에 보내는 전송(Subject-cast Message)을 함께 지원해요. 해양에서는 오래전부터 기지국이 주변 해역에 전파로 정보를 한꺼번에 뿌리는 브로드캐스트 방식으로 안전 정보를 전해 왔어요. Subject-cast는 그 브로드캐스트와 똑같지는 않지만, 같은 정보를 필요한 모두에게 한 번에 전하는 해양의 방식을 MMS 위에서 구현할 수 있게 해 줘요.</p><p>⑤ 아무도 엿보거나 바꾸지 못하게</p><p>메시지는 여러 나라와 조직이 운영하는 중간 노드를 거쳐 전달될 수 있어요. MMS는 모든 메시지에 발신자의 서명을 붙이고, 그 위의 보안 프로토콜(SMMP)로 보내는 쪽과 받는 쪽만 내용을 읽을 수 있는 종단 간 암호화를 제공해요. 현재 MMS는 VDES 망에서 보안성을 제공할 수 있는 유일한 방법이랍니다.</p><p>이 다섯 가지가 모여 MMS는 “누구에게, 어떤 회선으로, 언제든, 안전하게” 정보를 전하는 해양의 공통 전달망이 돼요. MMS의 구조와 프로토콜은 MMS를 다룬 별도의 글에서 더 자세히 살펴볼 수 있어요.</p><h3>정보 교환의 디지털화, 그리고 MCC</h3><p>바다의 정보 교환은 빠르게 디지털로 바뀌고 있어요. 국제해사기구(IMO)는 선박과 육상의 해양 정보를 전자적으로 수집·통합·교환·표시·분석하는 e-Navigation을 추진하고 있어요. 종이 해도와 무전, 팩스로 오가던 정보를 디지털로 주고받자는 흐름이에요. 그리고 디지털로 정보를 주고받으려면, 서로 다른 시스템이 따르는 공통 규칙이 먼저 있어야 해요. MCP가 바로 그 역할을 해요.</p><p>이 흐름을 이끄는 곳이 MCP 컨소시엄(MCC)이에요. MCC는 2019년 2월 e-Navigation Underway International 2019 회의 중에 설립된 비영리·중립 조직으로, 월드와이드웹 컨소시엄(W3C)을 본떠 만들어졌어요. 이사회를 이루는 호스트 멤버는 한국의 KRISO(선박해양플랜트연구소), 영국·아일랜드 등대청(GLA), 핀란드 Fintraffic, 호주 해사안전청(AMSA), 캐나다 해안경비대예요. 한국 해양수산부와 일본 해상보안청, 덴마크·스웨덴 해사청이 정부 옵서버로, 국제 항로표지 기구 IALA와 국제수로기구 IHO 등이 자문위원으로 참여하고, 연구기관과 기업 30곳이 정회원으로 함께하고 있어요.</p><p>국제기구도 MCP를 정보 교환의 기반으로 쓰고 있어요. IALA는 MCP 테스트 인스턴스를 공식 승인해 IALA 회원뿐 아니라 해양 분야의 누구나 쓸 수 있게 열어 두었어요. 이 인스턴스에는 IALA 가이드라인(G1183)을 따르는 MIR과, RTCM 13900.0을 따르는 MMS가 들어 있고, MMS 라우터는 스웨덴과 한국에서 운영돼요. 각국의 기관과 기업은 이 공통 무대에서 표준을 시험하고, 서로의 시스템이 실제로 정보를 주고받을 수 있는지 검증해요. 세계가 같은 규칙으로 바다의 정보를 주고받는 방향으로 가고 있고, MCC가 그 길을 닦고 있는 셈이에요.</p><h3>정리하면</h3><ul><li>이 상대가 진짜 맞아? → MRN으로 상대를 부르고, 인증서와 전자서명으로 진짜임을 증명해요. (MIR)</li><li>필요한 서비스는 어디 있지? → 해양 서비스의 옐로페이지에서 조건으로 검색해요. (MSR)</li><li>정보를 어떻게 전하지? → 회선이 바뀌어도, 상대가 오프라인이어도, MRN 하나로 안전하게 전해요. (MMS)</li></ul><p>MCP는 이 세 가지를 공통 규칙으로 묶어, 서로 다른 나라와 조직이 바다 위에서 안전하게 정보를 주고받을 수 있게 해요. 그 중심에는 실제 전달을 맡는 MMS가 있어요. 다음에는 ChatSea가 이 세 기둥, 특히 MMS를 실제 앱 안에 어떻게 녹여냈는지 소개할게요.</p><p>참고 자료</p><ul><li>The Maritime Connectivity Platform (MCP) — Conceptual Overview, Version 2.0</li><li>Maritime Connectivity Platform — MCP Consortium (<a href="http://maritimeconnectivity.net/consortium">maritimeconnectivity.net/consortium</a>)</li><li>IALA, MCP test instance (iala.int)</li><li>IALA Guideline G1183, The Provision of Maritime Connectivity Platform (MCP) Identities, Edition 1.1 (December 2024)</li><li>RTCM Standard 13900.0, Maritime Messaging Service Architecture and Protocol</li><li>Maritime Connectivity Platform Documentation (<a href="http://docs.maritimeconnectivity.net/">docs.maritimeconnectivity.net</a>)</li><li>MCP Consortium 오픈소스 (<a href="http://github.com/maritimeconnectivity">github.com/maritimeconnectivity</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1f522c716f3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/maritime-connectivity-platform-mcp-%EB%B0%94%EB%8B%A4-%EC%9C%84-%EC%A0%95%EB%B3%B4-%EA%B5%90%ED%99%98%EC%9D%84-%EC%9C%84%ED%95%9C-%EA%B3%B5%ED%86%B5-%EA%B8%B0%EB%B0%98-d1f522c716f3">Maritime Connectivity Platform (MCP), 바다 위 정보 교환을 위한 공통 기반</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MMS: A Standard for Maritime Messaging]]></title>
            <link>https://medium.com/aivenautics/mms-a-standard-for-maritime-messaging-5c9098b611a5?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/5c9098b611a5</guid>
            <category><![CDATA[mms]]></category>
            <category><![CDATA[maritime]]></category>
            <category><![CDATA[messaging]]></category>
            <category><![CDATA[maritime-industry]]></category>
            <category><![CDATA[mcps]]></category>
            <dc:creator><![CDATA[hyunjine]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 02:10:06 GMT</pubDate>
            <atom:updated>2026-11-05T02:10:04.901Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, I’m Hyunjin Yang, an Android developer at AIVeNautics.</p><p>I develop the Android app for Ch@tSea, which uses the Maritime Connectivity Platform (MCP) to serve maritime users. In this article, I’ll introduce <strong>MMS (Maritime Messaging Service)</strong> and explain how it enables users and services on MCP to exchange information securely.</p><h3>Introduction</h3><p>Maritime Messaging Service (MMS) is a <strong>store-and-forward</strong> messaging service designed to deliver information seamlessly across different communication links. Especially, It is not tied to a particular communication technology.</p><p>MMS primarily handles internet-based ship-to-shore communication, but it can also connect to other communication services through dedicated gateways. For example, a message sent by one vessel over VDES through MMS can be received by another vessel through a satellite internet terminal, and by a shore-based Vessel Traffic Service (VTS) operator over a DSL connection. This works because MMS supports roaming across communication links and uses the recipient’s <strong>MRN (Maritime Resource Name)</strong> as the endpoint address, rather than an address tied to a particular link. As a result, text and structured data such as XML can be exchanged across different communication technologies without changing the content.</p><h3>What Is MMS?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*UPyALWEJhXGl3cNdX7ANsQ.png" /></figure><p>The MMS architecture and protocols are defined in <strong>RTCM Standard 13900.0, Maritime Messaging Service Architecture and Protocol</strong> (<a href="https://rtcm.myshopify.com/products/rtcm-13900-0-for-maritime-messaging-service-architecture-protocol">RTCM 13900.0</a>). At Ch@tSea, we implement MMS in accordance with this standard.</p><p>Within MCP, the Maritime Identity Registry (MIR) establishes the identity of an entity, while the Maritime Service Registry (MSR) helps discover available services and where to access them. MMS makes it possible to <strong>send a message using only the recipient’s MRN, regardless of the communication link they are using</strong>. Just like mobile roaming, MMS handles the routing for you.</p><p>The vessels, ports, VTS systems, and meteorological agencies exchanging these messages use systems built by different companies in different countries. They need shared rules for addressing, authentication, and security. MMS standardizes those rules and provides five key capabilities:</p><ol><li><strong>Roaming across communication links</strong> — Applications exchange messages in the same way even as a vessel moves between IP-based communication and VDES (VHF Data Exchange System).</li><li><strong>MRN-based communication</strong> — Instead of an IP address or phone number, an MRN issued by MIR serves as the recipient’s address, or endpoint.</li><li><strong>Store-and-forward delivery</strong> — At sea, recipients may be offline. The network stores messages while the recipient is disconnected and delivers them when connectivity is restored.</li><li><strong>Direct Messages and Subject-cast Messages</strong> — MMS supports both one-to-one delivery to a specific MRN and publish/subscribe delivery to everyone subscribed to a particular subject.</li><li><strong>Message security through SMMP</strong> — End-to-end security allows only the sending and receiving Agents to read the message content, even when it passes through multiple intermediate nodes.</li></ol><p>Let’s look at how the MMS architecture supports these capabilities.</p><h3>The MMS Architecture</h3><p>MMS consists of three components: <strong>Agents</strong>, <strong>Edge Routers</strong>, and the <strong>Router Network</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*rEAOJ8kD2hAk9cZDjX_mYA.png" /></figure><h3>Agent</h3><p>An Agent is <strong>a module that enables an application to communicate over MMS</strong>. The application itself sits in a separate layer above it. The Agent serves as the application’s interface to the MMS network. A vessel’s navigation system, a weather information system, a port operations system, or a VTS system can each have an Agent. Our Ch@tSea app also includes one.</p><p>Agents do not locate and communicate with one another directly. <strong>Each Agent exchanges messages with other Agents through the Edge Router it is connected to.</strong></p><p>An Agent can connect to an Edge Router in one of two ways:</p><ul><li><strong>Authenticated connection</strong> — The Agent has an MCP certificate and an MRN. It can send and receive both Direct Messages and Subject-cast Messages.</li><li><strong>Unauthenticated connection</strong> — The Agent connects without a certificate. It can only receive Subject-cast Messages.</li></ul><h3>Edge Router</h3><p>An Edge Router is <strong>the gateway through which Agents access the MMS network</strong>. It receives messages from Agents and forwards them into the network, and it delivers incoming messages from the network to the appropriate Agents. Multiple Agents can connect to a single Edge Router without needing to understand the underlying network topology.</p><p>Each Agent communicates with its Edge Router using <strong>MMTP, a single protocol for both sending and receiving messages</strong>. This allows the Agent to communicate in the same way, regardless of how the Edge Router connects to the rest of the MMS network. We’ll cover MMTP in more detail shortly.</p><p><strong>The Edge Router handles the core messaging functions</strong> on behalf of its connected Agents, including roaming, Direct Messages, and Subject-cast Messages. It manages subject subscriptions and distributes incoming messages to the appropriate Agents. When Agents share an Edge Router, messages can be delivered locally without going through the Router Network. This also applies onboard a vessel, where Agents can continue communicating through their Edge Router even when its connection to the Router Network is lost.</p><p>To handle these interruptions, MMS uses <strong>store-and-forward delivery</strong>. Think of it as a mailbox addressed by an MRN. When a recipient is unreachable, whether because its Agent is offline or its Edge Router has lost network connectivity, the Router Network or a shore-side Edge Router holds incoming messages until delivery becomes possible. Each message has an expiration time (expires), after which it is discarded if it has not been delivered.</p><h3>Router Network</h3><p>The Router Network is the MMS delivery network, made up of multiple Routers. Each Router forwards messages to another Router or an Edge Router based on the destination, connecting Edge Routers in different locations.</p><h3>Two Ways to Deliver Messages</h3><h3>Direct Messages: Sending to a Specific MRN</h3><p>A Direct Message is a one-to-one message addressed to the recipient’s MRN. Here is how delivery works:</p><ol><li>The sending and receiving Agents each have an authenticated connection to their respective Edge Routers.</li><li>The sending Agent takes a message supplied by the application and sends it to its Edge Router, specifying the recipient’s MRN. The Agent does not create the message content; it passes the message along to another Agent identified by that MRN.</li><li>If the receiving Agent is connected to the same Edge Router, that Edge Router delivers the message directly.</li><li>If the receiving Agent is connected to a different Edge Router, the sending Edge Router forwards the message to the Router Network.</li><li>The Routers relay the message to the Edge Router serving the receiving Agent.</li><li>The receiving Edge Router delivers the message to the receiving Agent. If the Agent is offline, the message is stored until the Agent reconnects, provided it has not expired.</li></ol><h3>Subject-cast Messages: Sending to Everyone Subscribed to a Subject</h3><p>Subject-cast Messages use a <strong>publish/subscribe</strong> model. Instead of specifying a recipient’s MRN, the sender publishes a message to a <strong>subject</strong>, and every Agent subscribed to that subject receives it. For example, a port can publish notices to a subject associated with that port, or navigational warnings can be published to a subject associated with a particular sea area. Subscribed vessels receive the messages without the publisher having to maintain a list of recipients.</p><ol><li><strong>Subscribe</strong> — An Agent asks its Edge Router to subscribe to a subject. The Edge Router subscribes on behalf of the connected Agent.</li><li><strong>Publish</strong> — The sending Agent sends a message to its Edge Router, specifying a subject instead of a recipient.</li><li><strong>Propagate</strong> — The Router Network delivers the message to Edge Routers subscribed to that subject.</li><li><strong>Distribute</strong> — Each Edge Router distributes the message to its connected Agents that have subscribed to the subject.</li></ol><p>Unauthenticated Agents can also receive Subject-cast Messages, making this approach suitable for distributing public notices widely.</p><h3>Maritime Message Transfer Protocol (MMTP)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*rAUM5MB5YqX1KYdtMwucLg.png" /></figure><p><strong>MMTP (Maritime Message Transfer Protocol)</strong> defines how the components introduced in the preceding sections communicate with one another. As the underlying transfer protocol for MMS, it handles three tasks:</p><ul><li><strong>MRN-based Agent registration</strong> — An Agent connects to and registers with an Edge Router using its MRN.</li><li><strong>Authenticated message exchange</strong> — Agents send and receive Direct Messages and Subject-cast Messages.</li><li><strong>Subject subscriptions</strong> — Agents subscribe to and unsubscribe from subjects.</li></ul><p>MMTP is defined using Protocol Buffers (<a href="https://github.com/maritimeconnectivity/MMS/blob/master/mmtp/mmtp.proto">mmtp.proto</a>).</p><h3>Who Can Connect? The Current Implementation</h3><p>When an authenticated Agent first connects, <strong>the Edge Router validates the Agent’s certificate</strong>. The Edge Router performs this validation, rather than the Agent. In the current implementation, an Edge Router only accepts Agents whose certificates were issued under <strong>the same Root CA as its own certificate</strong>. On the initial connection, it also checks with MIR to confirm that the certificate is still valid and has not been revoked. For example, a certificate issued under the Ch@tSea Root CA cannot be used to connect to MCC’s MMS deployment.</p><h3>What MMTP Guarantees — and What It Does Not</h3><p>The MMTP specification provides two guarantees:</p><ul><li><strong>Delivery of Direct Messages and Subject-cast Messages</strong></li><li><strong>Authenticity</strong> — Messages carry the sending Agent’s digital signature, allowing the receiving side to verify who sent them.</li></ul><p>These guarantees are important, but they don’t keep messages private. As messages travel through Edge Routers and the Router Network, they may pass through infrastructure operated by different organizations in different countries. Without additional protection, these intermediate nodes could read the message contents.</p><p>That’s where <strong>SMMP</strong> comes in. The sending Agent encrypts the payload, and only the intended receiving Agent can decrypt it. This keeps the message private, even from the Routers that deliver it.</p><h3>Secure Maritime Messaging Protocol (SMMP)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Q2GciZKhcVPrJL9BejgupQ.png" /></figure><p><strong>SMMP (Secure Maritime Messaging Protocol)</strong> supports six messaging guarantees, including end-to-end encryption (E2EE). It is an <strong>end-to-end security protocol built on top of MMTP</strong>. The sending Agent encrypts the message payload, and only the receiving Agent can decrypt it. MMTP continues to handle routing, delivery, and subscriptions, while SMMP protects the payload <strong>from Agent to Agent</strong>, keeping it encrypted throughout its journey. Edge Routers and Routers can read the headers needed for routing, such as the sender, recipient, and expiration time, but they carry the payload as a sealed box.</p><p>SMMP provides six guarantees:</p><ul><li><strong>Confidentiality</strong> — Only the receiving Agent can decrypt the payload encrypted by the sending Agent. Anyone other than the sender and recipient, including intermediate nodes, can’t read its contents.</li><li><strong>Integrity</strong> — The message content has not been altered since it was sent.</li><li><strong>Authenticity</strong> — The recipient can verify who sent the message.</li><li><strong>Availability</strong> — The message reaches the recipient within a specified time, or the sender is notified of the delivery failure.</li><li><strong>Non-repudiation</strong> — The recipient must acknowledge receipt, providing evidence that the message was received.</li><li><strong>Segmentation</strong> — Large messages are split into smaller segments and reassembled by the recipient.</li></ul><p>SMMP is <strong>supported only for Direct Messages</strong>. It does not apply to Subject-cast Messages, which may have an open-ended set of subscribers.</p><h3>The SMMP Handshake</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*RBQrWxBnjZu8YJja9Yn_Cw.png" /></figure><blockquote><em>H, A, C, and D in the diagram are control bits in the SMMP message header. H (Handshake) identifies a handshake message. A (Acknowledgement) acknowledges the peer’s request. C (Confidentiality) indicates that the payload should be encrypted. D (Delivery Guarantee) requests delivery assurance through acknowledgements. For example, if both C and D are enabled during the handshake, the resulting session provides encryption and delivery guarantees.</em></blockquote><p>Before exchanging messages over SMMP, two Agents establish a secure session through a <strong>handshake</strong>. One Agent requests a session with a set of desired guarantees, and the other accepts that set. This takes place through a <strong>three-way handshake</strong>:</p><ol><li><strong>Session request</strong> — The initiating Agent sends a handshake request to the peer’s MRN. The request includes its certificate, allowing the peer to identify the requester and obtain its public key.</li><li><strong>Session acceptance</strong> — The receiving Agent validates the certificate and sends an acceptance response containing its own certificate.</li><li><strong>Confirmation</strong> — The initiating Agent validates the response and sends a confirmation message, establishing the session.</li></ol><p>When confidentiality is required, the two Agents perform a <strong>key exchange</strong> using the public keys from the exchanged certificates. They derive a <strong>session key</strong> from the resulting shared secret. Messages within the session are then encrypted with that session key, each message carries the sender’s signature, and the recipient returns an acknowledgement (ack). The session is closed when the conversation is complete. This allows both Agents to obtain the same session key without transmitting the key itself over the network. Intermediate Edge Routers and Routers cannot read the payload.</p><h3>The MCC MMS Working Group</h3><p>The MMS standard continues to evolve through the <strong>MMS Working Group</strong> of the Maritime Connectivity Platform Consortium (MCC). Just as MIR is discussed in the IDSec Working Group and MSR in the General Working Group, the MMS architecture, protocols, and reference implementation are developed through discussions within this group. <strong>Jinhyoung Park, CEO of AIVeNautics, chairs the MMS Working Group</strong>, and practical operational experience gained from developing Ch@tSea also contributes to these discussions.</p><p>Like MIR and MSR, the MMS reference implementation is available as open source:</p><ul><li><a href="https://github.com/maritimeconnectivity/MMS"><strong>maritimeconnectivity/MMS</strong></a> — The MMS reference implementation, including Edge Routers, Routers, and the MMTP protocol definition (mmtp.proto).</li><li><a href="https://github.com/maritimeconnectivity"><strong>The maritimeconnectivity GitHub organization</strong></a> — MCP components, including MIR (IdentityRegistry) and MSR (ServiceRegistry).</li></ul><h3>What MMS Provides</h3><p>To recap, MMS brings together the following capabilities:</p><ul><li><strong>An MRN as the address</strong> — Messages are addressed using an MRN issued by MIR, rather than an IP address or an address tied to a communication link.</li><li><strong>Two delivery models</strong> — Direct Messages reach a specific recipient, while Subject-cast Messages reach subscribers through a subject.</li><li><strong>Store-and-forward delivery</strong> — While an Agent is offline, the Router Network or an Edge Router holds its messages and delivers them when connectivity returns. This accommodates both connected and disconnected periods.</li><li><strong>Roaming across communication technologies</strong> — Applications exchange messages in the same way as a vessel moves between IP-based links and VDES.</li><li><strong>Two layers of trust</strong> — MMTP uses message signatures to establish who sent a message. SMMP adds end-to-end encryption and acknowledgements between Agents to protect the content and provide assurance of delivery.</li></ul><h3>Closing Thoughts</h3><p><strong>MMS standardizes how to address recipients and deliver messages securely, allowing maritime systems across countries and organizations to communicate in a consistent way.</strong> When navigational warnings, weather information, and port arrival notices can reach the right destination using a single MRN — regardless of where a vessel is or which communication link it uses — decisions at sea can become faster and safer. Ch@tSea brings this vision of maritime communication to life, powered by MMS.</p><h3>References</h3><ul><li><a href="https://rtcm.myshopify.com/products/rtcm-13900-0-for-maritime-messaging-service-architecture-protocol">RTCM Standard 13900.0, Maritime Messaging Service Architecture and Protocol</a></li><li><a href="https://maritimeconnectivity.net/mcp-documents/">MCP Documents</a></li><li><a href="https://www.iala.int/product/g1183-provison-of-mcp-identities/">IALA G1183: Provision of MCP Identities</a></li><li><a href="https://docs.maritimeconnectivity.net/en/latest/">Maritime Connectivity Platform Documentation</a></li><li><a href="https://github.com/maritimeconnectivity">MCP Consortium on GitHub</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c9098b611a5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/mms-a-standard-for-maritime-messaging-5c9098b611a5">MMS: A Standard for Maritime Messaging</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[해상 메시지 교환의 표준, MMS(Maritime Messaging Service) 소개]]></title>
            <link>https://medium.com/aivenautics/%ED%95%B4%EC%83%81-%EB%A9%94%EC%8B%9C%EC%A7%80-%EA%B5%90%ED%99%98%EC%9D%98-%ED%91%9C%EC%A4%80-mms-maritime-messaging-service-%EC%86%8C%EA%B0%9C-50ef9aaa8dbb?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/50ef9aaa8dbb</guid>
            <category><![CDATA[mms]]></category>
            <category><![CDATA[maritime-service]]></category>
            <category><![CDATA[maritime-messaging]]></category>
            <category><![CDATA[mcps]]></category>
            <dc:creator><![CDATA[hyunjine]]></dc:creator>
            <pubDate>Tue, 27 Oct 2026 07:28:32 GMT</pubDate>
            <atom:updated>2026-11-06T07:30:36.610Z</atom:updated>
            <content:encoded><![CDATA[<p>안녕하세요. 에이브노틱스의 Android 개발자 양현진입니다.</p><p>저는 MCP를 활용해 해상 유저를 위한 Ch@tSea의 Android 앱 개발을 담당하고 있습니다. 이번 글에서는 MCP의 사용자와 서비스가 정보를 안전하게 주고받을 수 있게 만드는 <strong>MMS(Maritime Messaging Service)</strong>에 대해 알아보려고 합니다.</p><h3>들어가며</h3><p>해상 메시징 서비스(Maritime Messaging Service, MMS)는 서로 다른 통신 링크 사이의 끊김 없는 정보 전달을 제공하기 위한 <strong>저장 후 전달(store-and-forward)</strong> 방식의 메시징 서비스입니다. 특정 통신 방식에 묶이지 않고, 선박의 위치 맥락까지 고려해 메시지를 전달합니다.</p><p>MMS는 기본적으로 인터넷 기반의 선박-육상 통신을 다루지만, 전용 게이트웨이를 통해 다른 통신 서비스도 연결해 쓸 수 있습니다. 예를 들어 한 선박이 MMS로 VDES를 통해 보낸 메시지를 다른 선박은 위성 인터넷 단말로, 육상의 VTS(해상교통관제) 운영자는 DSL 인터넷 회선으로 받을 수 있습니다. 이런 전달이 가능한 것은 MMS가 통신간 로밍을 지원하고, 회선의 주소 대신 상대의 MRN(Maritime Resource Name, 해상 자원 식별자)을 종단 주소로 쓰기 때문입니다. 이렇게 MMS는 통신 방식이 달라도 텍스트나 XML 같은 구조화된 데이터를 그대로 주고받을 수 있게 합니다.</p><h3>MMS란?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1XCrTwfb3Tz_L3O3dhmc-Q.png" /></figure><p>MMS의 아키텍처와 프로토콜은 국제 표준 <strong>RTCM Standard 13900.0, Maritime Messaging Service Architecture and Protocol</strong>로 정의되어 있습니다(<a href="https://rtcm.myshopify.com/products/rtcm-13900-0-for-maritime-messaging-service-architecture-protocol">RTCM 13900.0</a>). 누구나 이 표준에 따라 MMS를 구현하고 운영할 수 있습니다.</p><p>MCP의 다른 구성 요소인 MIR이 “누구인가”를, MSR이 “어떤 서비스가 어디에 있는가”를 알려 준다면, MMS는 <strong>상대가 어떤 회선에 있든 MRN만으로 메시지를 보낼 수 있게</strong> 해 줍니다. 해외에서 휴대폰 로밍을 쓸 때 메시지가 어떤 경로로 전달되는지 고민하지 않듯, 경로를 찾는 일은 MMS가 맡고 사용자는 메시지를 받을 상대의 MRN만 알면 됩니다.</p><p>메시지를 주고받는 선박·항만·관제 시스템(VTS)·기상 기관은 서로 다른 국가와 기업이 만든 시스템입니다. 그래서 주소·인증·보안에 대한 공통 약속이 필요하고, MMS는 이 약속을 표준으로 정합니다. 기존 통신 방식이 제공하지 않는 MMS만의 특징은 다섯 가지입니다.</p><ol><li><strong>통신 회선 사이의 로밍</strong> — 선박이 IP 기반 통신과 VDES(VHF Data Exchange System) 사이를 오가도, 애플리케이션은 같은 방식으로 메시지를 주고받습니다.</li><li><strong>MRN 기반 통신</strong> — IP 주소나 전화번호가 아니라, MIR이 발급한 MRN이 곧 메시지를 받는 주소(엔드포인트)입니다. 선박이 어느 회선으로 붙어 있든 MRN만 알면 메시지를 보낼 수 있습니다.</li><li><strong>저장 후 전달(Store-and-Forward)</strong> — 바다 위에서는 상대가 지금 오프라인일 수 있다는 것이 기본 전제입니다. 수신자가 오프라인이면 네트워크가 메시지를 보관했다가, 다시 연결되는 순간 전달합니다.</li><li><strong>Direct Message와 Subject-cast Message</strong> — 특정 MRN 한 곳에 보내는 1:1 전송과, 특정 주제(subject)를 구독한 모두에게 보내는 발행/구독 전송을 함께 지원합니다.</li><li><strong>메시지 보안(SMMP)</strong> — 여러 중간 노드를 거치더라도 발신 Agent와 수신 Agent만 내용을 읽을 수 있는 종단 간 보안을 제공합니다.</li></ol><p>이제 MMS가 어떤 구조로 이 특징들을 구현하는지 차례로 살펴보겠습니다.</p><h3>MMS의 구조</h3><p>MMS는 <strong>Agent</strong>, <strong>Edge Router</strong>, <strong>Router Network</strong> 세 가지 구성 요소로 이루어집니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6WmtTOdJYsxtD-RynriQUA.png" /></figure><h3>Agent</h3><p>Agent는 <strong>애플리케이션에서 MMS 통신을 가능하게 하는 모듈</strong>입니다. 애플리케이션 자체는 그 위의 별도 계층이고, Agent는 애플리케이션이 MMS 네트워크와 대화할 수 있게 해 주는 창구 역할만 합니다. 예를 들어 선박의 항법 시스템, 기상 정보 시스템, 항만 운영 시스템, VTS는 모두 Agent를 가질 수 있습니다. Ch@tSea 앱도 내부에 Agent를 두고 있습니다.</p><p>Agent는 다른 Agent를 직접 찾아가 통신하지 않습니다. <strong>Agent는 자신과 연결된 Edge Router를 통해 다른 Agent와 메시지를 주고받습니다.</strong></p><p>Agent가 Edge Router에 접속하는 방식은 두 가지입니다.</p><ul><li><strong>인증된 접속(authenticated)</strong> — MCP 인증서와 MRN을 가진 Agent입니다. Direct Message와 Subject-cast Message를 모두 보내고 받을 수 있습니다.</li><li><strong>인증되지 않은 접속(unauthenticated)</strong> — 인증서 없이 접속한 Agent입니다. Subject-cast Message를 받는 것만 가능합니다.</li></ul><h3>Edge Router</h3><p>Edge Router는 Agent가 MMS 네트워크에 들어오는 <strong>출입구(Gateway)</strong>입니다. Agent가 보낸 메시지를 받아 네트워크로 넘기고, 네트워크에서 온 메시지를 해당 Agent에게 전달합니다. 하나의 Edge Router에는 여러 Agent가 연결될 수 있고, Agent는 그 뒤의 복잡한 네트워크 구조를 알 필요가 없습니다.</p><p>MMS의 메시지 전달은 <strong>저장 후 전달(Store-and-Forward)</strong> 방식입니다. MRN을 주소로 쓰는 메일함을 떠올리면 쉽습니다. 선박 쪽 통신이 두절되어 Agent가 연결을 잃으면, 그 Agent에게 온 메시지는 Router Network나 육상 쪽 Edge Router가 대신 가지고 있다가, Agent가 다시 온라인이 되는 순간 전달됩니다. 앞에서 말한 저장 후 전달이 바로 여기서 이루어집니다. 다만 메시지에는 유효 기간(expires)이 있어서, 그 안에 Agent가 다시 연결되지 않으면 메시지는 폐기됩니다.</p><p>이 밖에도 Edge Router는 같은 Edge Router에 연결된 Agent끼리의 메시지를 네트워크를 거치지 않고 바로 전달하고, 연결된 Agent를 대신해 subject를 구독하며, 받은 Subject-cast Message를 구독한 Agent들에게 나눠 줍니다.</p><p>Agent와 Edge Router는 같은 선박 위에 함께 있을 수도 있습니다. 이때 바다 위에서 끊기는 쪽은 Agent와 Edge Router 사이가 아니라, Edge Router와 네트워크 사이입니다. Agent의 역할은 뒤에서 설명할 <strong>MMTP라는 하나의 프로토콜로 Edge Router와 양방향으로 일관되게 통신하는 것</strong>입니다. 로밍, 저장 후 전달, Direct Message와 Subject-cast Message 같은 <strong>MMS의 핵심 기능은 Edge Router가 수행합니다.</strong></p><h3>Router Network</h3><p>Router Network는 여러 Router로 구성된 MMS의 전달망입니다. Router는 목적지에 따라 메시지를 다른 Router나 Edge Router로 넘기며, 서로 떨어져 있는 Edge Router들을 이어 줍니다.</p><h3>메시지가 전달되는 두 가지 방식</h3><h3>Direct Message — 특정 MRN에게 보내기</h3><p>Direct Message는 수신자의 MRN을 지정해 보내는 1:1 전송입니다. 전달 흐름은 다음과 같습니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4kCFWbIFbsiZl-tBDhlcWA.png" /></figure><ol><li>송신 Agent와 수신 Agent는 각자 자신의 Edge Router에 인증된 접속으로 연결되어 있습니다.</li><li>송신 Agent는 애플리케이션이 넘겨준 메시지를, 수신자 MRN을 지정해 자신의 Edge Router로 보냅니다. Agent가 메시지 내용을 만드는 것이 아니라, 특정 MRN으로 식별되는 다른 Agent에게 전달할 뿐입니다.</li><li>수신 Agent가 같은 Edge Router에 연결되어 있다면, Edge Router가 바로 전달합니다.</li><li>다른 Edge Router에 연결되어 있다면, Edge Router가 메시지를 Router Network로 넘깁니다.</li><li>Router들이 수신 Agent가 연결된 Edge Router까지 메시지를 전달합니다.</li><li>수신 측 Edge Router가 메시지를 수신 Agent에게 전달합니다. 수신 Agent가 오프라인이라면 유효 기간 동안 보관했다가, 다시 접속했을 때 전달합니다.</li></ol><h3>Subject-cast Message — 주제를 구독한 모두에게 보내기</h3><p>Subject-cast Message는 발행/구독(Publish/Subscribe) 방식입니다. 수신자를 MRN으로 지정하는 대신, 메시지를 특정 <strong>주제(subject)</strong>로 발행하면 그 주제를 구독한 모든 Agent가 받습니다. 예를 들어 항만이 그 항만 주제로 안내를 발행하면 그 주제를 구독한 선박들이, 어떤 해역의 항행경보를 그 해역 주제로 발행하면 그 주제를 구독한 선박들이 각자 수신자 목록을 몰라도 메시지를 받을 수 있습니다.</p><blockquote><strong>구독</strong> — 수신을 원하는 Agent가 자신의 Edge Router에 특정 subject 구독을 요청합니다. Edge Router는 연결된 Agent를 대신해 그 subject를 구독합니다.</blockquote><blockquote><strong>발행</strong> — 발신 Agent가 수신자 대신 subject를 지정해 메시지를 자신의 Edge Router로 보냅니다.</blockquote><blockquote><strong>전파</strong> — 메시지는 Router Network를 통해 그 subject를 구독 중인 Edge Router들로 전달됩니다.</blockquote><blockquote><strong>분배</strong> — 각 Edge Router가 그 subject를 구독한 자신의 Agent들에게 메시지를 나눠 줍니다.</blockquote><p>Subject-cast Message는 인증되지 않은 Agent도 받을 수 있습니다. 공지성 정보를 넓게 퍼뜨리는 데 적합한 방식입니다.</p><h3>Maritime Message Transfer Protocol(MMTP)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pK1EHjA2BfZtM-T7HZFWJQ.png" /></figure><p>앞에서 본 구성 요소들이 실제로 어떤 언어로 대화하는지를 정의한 것이 <strong>MMTP(Maritime Message Transfer Protocol)</strong>입니다. MMTP는 MMS의 기본 전송 프로토콜로, 세 가지를 담당합니다.</p><ul><li><strong>MRN 기반 Agent 등록</strong> — Agent가 자신의 MRN으로 Edge Router에 접속하고 등록합니다.</li><li><strong>인증된 메시지 송수신</strong> — Direct Message와 Subject-cast Message를 주고받습니다.</li><li><strong>Subject 구독</strong> — 구독을 등록하고 해제합니다.</li></ul><p>MMTP는 Protocol Buffers로 정의되어 있습니다(<a href="https://github.com/maritimeconnectivity/MMS/blob/master/mmtp/mmtp.proto">mmtp.proto</a>).</p><h3>누가 접속할 수 있는가 (현재 구현)</h3><p>인증된 Agent가 처음 접속하면, <strong>Edge Router가 그 Agent의 인증서를 검증</strong>합니다. 검증의 주체는 Agent가 아니라 Edge Router입니다. 현재 구현에서 Edge Router는 <strong>자신과 같은 Root CA 아래에서 발급된 인증서</strong>로 접속한 Agent만 허용하고, 최초 접속 시 MIR에 요청해 그 인증서가 아직 유효한지(폐기되지 않았는지) 확인합니다. 예를 들어 MCC의 MMS는 Ch@tSea Root CA에서 발급받은 인증서로는 접속할 수 없습니다.</p><h3>MMTP가 보장하는 것과 보장하지 않는 것</h3><p>MMTP 스펙이 보장하는 것은 두 가지입니다.</p><ul><li><strong>Direct Message와 Subject-cast Message의 전달</strong></li><li><strong>Authenticity</strong> — 메시지에 발신 Agent의 전자서명이 붙어, 수신 측은 누가 보낸 메시지인지 확인할 수 있습니다.</li></ul><p>여기까지만 보면 “인증도 됐고 전자서명도 됐으니 충분하지 않나?” 싶을 수 있습니다. 하지만 MMTP만으로는 제3자가 메시지 내용을 열람하는 것을 방지할 수 없습니다. 메시지는 발신 Agent에서 수신 Agent까지 Edge Router와 여러 Router를 거치는데, 이 노드들은 여러 국가와 조직이 운영하는 것일 수 있습니다. 중간 노드가 내용을 읽지 못하게 하려면, <strong>보내는 Agent가 본문을 암호화하고 받는 Agent만 그것을 풀 수 있는 종단 간 암호화(end-to-end encryption)</strong>가 필요합니다.</p><h3>Secure Maritime Messaging Protocol(SMMP)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wjchS4R5MLoagsBCOpmRag.png" /></figure><p><strong>SMMP(Secure Maritime Messaging Protocol)</strong>는 종단간 암호화를 포함한 메시지의 여섯가지 보장을 지원합니다. SMMP는 MMTP 위에 구현된 <strong>종단 간(end-to-end) 보안 프로토콜</strong>입니다. 메시지를 보내는 Agent가 직접 본문을 암호화해서 보내고, 받는 Agent만 이를 풀 수 있는 <strong>종단 간 암호화</strong>를 제공합니다. 라우팅·전달·구독은 여전히 MMTP가 맡고, SMMP는 <strong>Agent에서 Agent까지</strong> 한 번도 풀리지 않는 채널을 만들어 그 페이로드를 지킵니다. Edge Router와 Router는 라우팅에 필요한 헤더(발신자, 수신자, 유효 기간 등)만 보고, 본문은 잠긴 상자 그대로 옮깁니다.</p><p>SMMP가 보장하는 것은 여섯 가지입니다.</p><ul><li><strong>Confidentiality</strong> — 발신 Agent가 암호화한 본문을 수신 Agent만 풀 수 있어, 발신자와 수신자 외에는 중간 노드를 포함해 누구도 내용을 읽을 수 없습니다.</li><li><strong>Integrity</strong> — 발신 이후 내용이 바뀌지 않았음을 보장합니다.</li><li><strong>Authenticity</strong> — 누가 보냈는지 확실히 알 수 있습니다.</li><li><strong>Availability</strong> — 메시지가 정해진 시간 안에 수신자에게 도달하거나, 그렇지 못하면 발신자에게 실패를 알립니다.</li><li><strong>Non-repudiation</strong> — 수신자는 수신 확인을 보내야 하므로, 받은 사실을 부인할 수 없습니다.</li><li><strong>Segmentation</strong> — 큰 메시지를 여러 조각으로 나눠 보내고 수신 측에서 다시 조립합니다.</li></ul><p>SMMP는 <strong>Direct Message에서만 지원</strong>됩니다. 불특정 다수가 구독하는 Subject-cast Message에는 적용되지 않습니다.</p><h3>SMMP 핸드셰이크</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SW4TNg_QVSgvuBdHHK0HuA.png" /></figure><blockquote><em>그림의 H, A, C, D는 SMMP 메시지 헤더의 제어 비트입니다. H(Handshake)는 핸드셰이크 메시지임을, A(Acknowledgement)는 상대의 요청을 확인했음을, C(Confidentiality)는 본문을 암호화할 것을, D(Delivery Guarantee)는 수신 확인으로 전달을 보장할 것을 뜻합니다. 핸드셰이크에서 C와 D를 함께 켜면, 암호화와 전달 보장이 적용되는 세션을 맺겠다는 의미가 됩니다.</em></blockquote><p>SMMP로 메시지를 주고받으려면 먼저 두 Agent가 <strong>핸드셰이크</strong>로 보안 세션을 맺어야 합니다. 한쪽이 원하는 보장을 담아 세션 시작을 요청하고 상대가 보장 목록을 받아들이는 과정이며, 세 번의 메시지 교환(3-way handshake)으로 이루어집니다.</p><ol><li><strong>세션 요청</strong> — 세션을 시작하려는 Agent가 상대의 MRN으로 핸드셰이크 요청을 보냅니다. 요청에는 자신의 인증서가 담겨, 상대는 요청자가 누구인지와 그 공개키를 알 수 있습니다.</li><li><strong>세션 수락</strong> — 요청을 받은 Agent는 인증서를 검증한 뒤, 자신의 인증서를 담아 수락 응답을 보냅니다.</li><li><strong>확인</strong> — 요청한 Agent가 응답을 검증하고 확인 메시지를 보내면 세션이 성립합니다.</li></ol><p>기밀성(Confidentiality)이 필요하면, 두 Agent는 교환한 인증서의 공개키로 <strong>키 교환</strong>을 수행합니다. 이렇게 얻은 공유 비밀로 <strong>세션 키</strong>를 만듭니다. 이후 세션 안의 메시지는 이 세션 키로 암호화되고, 각 메시지에는 발신자의 서명이 붙으며, 수신 측은 수신 확인(ack)을 돌려보냅니다. 대화가 끝나면 세션을 종료합니다. 이 과정 덕분에 키가 네트워크로 직접 오가지 않고도 양 끝의 Agent만 같은 세션 키를 갖게 되고, 중간의 Edge Router와 Router는 본문을 읽을 수 없습니다.</p><h3>MCC MMS Working Group</h3><p>MMS 표준은 MCC(Maritime Connectivity Platform Consortium)의 <strong>MMS Working Group</strong>에서 다듬어지고 있습니다. MIR이 IDSec Working Group에서, MSR이 General Working Group에서 논의되는 것처럼, MMS의 아키텍처와 프로토콜, 참조 구현은 이 그룹의 논의를 거쳐 정리됩니다. <strong>에이브노틱스 박진형 대표님이 MMS Working Group의 의장</strong>을 맡고 있고, Ch@tSea를 개발하며 얻은 실제 운영 경험도 이 논의에 함께 반영하고 있습니다.</p><p>MMS의 참조 구현은 MIR, MSR과 마찬가지로 오픈소스로 공개되어 있습니다.</p><ul><li><a href="https://github.com/maritimeconnectivity/MMS"><strong>maritimeconnectivity/MMS</strong></a> — Edge Router, Router, MMTP 프로토콜 정의(mmtp.proto) 등 MMS 참조 구현</li><li><a href="https://github.com/maritimeconnectivity"><strong>maritimeconnectivity GitHub 조직</strong></a> — MIR(IdentityRegistry), MSR(ServiceRegistry) 등 MCP 구성 요소 전체</li></ul><h3>MMS가 제공하는 것</h3><p>지금까지의 내용을 MMS가 제공하는 것으로 다시 정리하면 다음과 같습니다.</p><ul><li><strong>MRN이 곧 주소</strong> — 회선이나 IP 주소가 아니라 MIR이 발급한 MRN으로 상대를 부르고, 메시지를 보냅니다.</li><li><strong>두 가지 전달 방식</strong> — 특정 상대에게는 Direct Message로, 불특정 다수에게는 subject를 통한 Subject-cast Message로 보냅니다.</li><li><strong>저장 후 전달(Store-and-Forward)</strong> — Agent가 오프라인인 동안 Router Network나 Edge Router가 메시지를 가지고 있다가 다시 연결되면 전달합니다. 통신이 될 때와 안 될 때 모두에 대응합니다.</li><li><strong>통신 방식 사이의 로밍</strong> — IP와 VDES를 오가도 애플리케이션은 같은 방식으로 메시지를 주고받습니다.</li><li><strong>두 단계의 신뢰</strong> — MMTP는 메시지 서명으로 “누가 보냈는가”를 보장하고, SMMP는 Agent 사이의 종단 간 암호화와 수신 확인으로 “아무도 엿보거나 바꾸지 못했고, 확실히 전달되었는가”까지 보장합니다.</li></ul><h3>마치며</h3><p>MMS는 <strong>“누구에게, 어떻게 안전하게 전달할 것인가”를 표준으로 정해, 서로 다른 국가와 조직의 해양 시스템이 하나의 방식으로 메시지를 주고받을 수 있게 합니다.</strong> 선박이 어느 바다에 있든, 어떤 회선에 붙어 있든 항행경보와 기상 정보, 입항 안내가 MRN 하나로 필요한 곳에 닿는다면, 바다 위의 판단은 더 빠르고 안전해질 것입니다. Ch@tSea도 MMS 위에서 이런 해상 커뮤니케이션을 만들어 가고 있습니다.</p><h3>참고 자료</h3><ul><li><a href="https://rtcm.myshopify.com/products/rtcm-13900-0-for-maritime-messaging-service-architecture-protocol">RTCM Standard 13900.0, Maritime Messaging Service Architecture and Protocol</a></li><li><a href="https://maritimeconnectivity.net/mcp-documents/">MCP Documents</a></li><li><a href="https://www.iala.int/product/g1183-provison-of-mcp-identities/">G1183 Provison of MCP identities — IALA</a></li><li><a href="https://docs.maritimeconnectivity.net/en/latest/">Maritime Connectivity Platform (MCP) documentation — Maritime Connectivity Platform 1.3.0 documentation</a></li><li><a href="https://github.com/maritimeconnectivity">MCP Consortium</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50ef9aaa8dbb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/%ED%95%B4%EC%83%81-%EB%A9%94%EC%8B%9C%EC%A7%80-%EA%B5%90%ED%99%98%EC%9D%98-%ED%91%9C%EC%A4%80-mms-maritime-messaging-service-%EC%86%8C%EA%B0%9C-50ef9aaa8dbb">해상 메시지 교환의 표준, MMS(Maritime Messaging Service) 소개</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing the Maritime Service Registry (MSR)]]></title>
            <link>https://medium.com/aivenautics/introducing-the-maritime-service-registry-msr-b80255c68457?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/b80255c68457</guid>
            <category><![CDATA[mr]]></category>
            <category><![CDATA[maritime]]></category>
            <category><![CDATA[maritime-industry]]></category>
            <category><![CDATA[mcps]]></category>
            <dc:creator><![CDATA[yeonwoo]]></dc:creator>
            <pubDate>Tue, 20 Oct 2026 02:05:22 GMT</pubDate>
            <atom:updated>2026-10-20T02:07:18.529Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi, I’m Yeonwoo Kim, a backend developer at AIVeNautics. I build digital maritime services for people at sea. In this article, I’ll introduce the Maritime Service Registry (MSR).</p><h3>Introduction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MX8OeqKvcJZ30uj0PgXWzg.png" /></figure><p>Imagine a Korean-flagged bulk carrier rounding the Cape of Good Hope on its way to Santos, Brazil. It’s now in the middle of the South Atlantic, 1,500 km from the nearest land. The navigation officer needs to check navigational warnings for the waters ahead: drifting containers, marine survey operations, and malfunctioning buoys.</p><p>But where should the officer look?</p><p>In Korean waters, the Korea Hydrographic and Oceanographic Agency would be a natural starting point. Here, though, the ship is on the high seas, beyond any country’s jurisdiction. Next week it will enter Brazilian waters, after passing along the west coast of Africa. Maritime authorities in each region publish their own warnings, but the ship faces three challenges:</p><ul><li><strong>Service discovery:</strong> Which digital services do these authorities offer?</li><li><strong>Service access:</strong> Where are their endpoints?</li><li><strong>Interoperability:</strong> If formats and APIs differ, each service requires a separate integration.</li></ul><p>The problem isn’t a lack of information. It’s not knowing where to find it.</p><p><strong>MSR addresses that discovery problem: how do you find the service you need?</strong></p><h3>What Is MSR?</h3><p>The international guideline for MSR is IALA G1191, <em>Maritime Service Registry (MSR) Technical Specification</em>, first published in 2025. It describes MSR as follows:</p><blockquote><em>An MSR stores implementations of technical services, provides a reference point for registered service information, and makes those services discoverable.</em></blockquote><h3>Three Roles in MSR</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ifn0M7TaSzMkHawpx8QEng.png" /></figure><p>Three key roles make up the MSR ecosystem, each responsible for providing, consuming, or operating maritime services.</p><ul><li><strong>Service provider:</strong> An authority or company offering services such as navigational warnings, weather data, or port arrival booking. It registers services in a standard format so ships worldwide can find them without negotiating a separate integration with every provider.</li><li><strong>Service consumer:</strong> A shipboard or shore-based system that discovers and uses services. G1191 defines consumers as information systems, such as ECDIS or route-planning software, rather than people. The system retrieves relevant services and endpoints; the navigation officer sees the results on screen.</li><li><strong>MSR operator:</strong> An organization, such as a national maritime authority or an MCP operator, that deploys and runs an MSR. It sets its own registration policies, manages domestic service records, and connects with other MSRs through global search.</li></ul><p>A consumer can ask an MSR which services are available for its current position or planned route, without searching each provider separately.</p><h3>What Does MSR Do?</h3><p>MSR is a registry of <strong>service metadata</strong>, not the services themselves. Think of a directory that stores a business’s name, address, and phone number rather than the business itself. MSR stores the information needed to find and connect to a service.</p><p>It has four main responsibilities:</p><ol><li><strong>Registration and identification:</strong> Register each service with a unique Maritime Resource Name (MRN) and version. Multiple versions can coexist while providers roll out updates.</li><li><strong>Specification storage and validation:</strong> Store service descriptions in the IALA G1128 format. Providers can validate a specification through an MSR API before registering it.</li><li><strong>Status and information updates:</strong> Track whether services are in testing, released, deprecated, or deleted. Providers update endpoints, versions, and certificates, while MSR checks service availability daily.</li><li><strong>Location-based discovery:</strong> Find services whose registered coverage areas match a consumer’s location, route, and search criteria.</li></ol><h3>What MSR Does Not Do</h3><p>Because MSR stores metadata rather than running the services, three responsibilities remain outside its scope:</p><ul><li><strong>Connecting to a service:</strong> The consumer uses the endpoint returned by MSR. MSR neither joins the connection nor relays service data.</li><li><strong>Managing subscriptions and contracts:</strong> Prices, accounts, and access permissions are handled by providers and users. G1128 can indicate whether a service is commercial, but MSR does not broker the transaction.</li><li><strong>Issuing identities:</strong> The Maritime Identity Registry (MIR), covered in the previous article, issues MRNs and certificates. MIR and MSR are separate systems, and their service records are not automatically linked.</li></ul><h3>The Problems MSR Solves</h3><p>Our navigation officer faces three practical problems.</p><ol><li><strong>Services are hard to find.</strong> Maritime authorities, ports, weather agencies, and private companies publish service information across separate websites and documents. Finding out whether a suitable service even exists means checking each provider.</li><li><strong>Discovery doesn’t guarantee interoperability.</strong> Providers may expose the same type of navigational warning through different formats, APIs, and parameters. A ship may encounter a new service mid-voyage, when building an integration manually isn’t practical.</li><li><strong>Generic API directories aren’t route-aware.</strong> Most maritime services apply only to specific waters or ports. A Busan pilotage service is useful near Busan, not across the ocean. Consumers need to filter services by where they actually operate.</li></ol><h3>How Does MSR Solve Them?</h3><h3>1. Register Once, Keep Records Up to Date</h3><p>Service providers register their offerings with an MSR, giving consumers one place to search. Three mechanisms keep those records useful.</p><p><strong>Unique identifiers and versions</strong></p><p>Every service instance has an MRN and a version. Providers can publish a new version without taking the previous one offline. Consumers can search for a supported service design version range, such as 1.x, which matches versions from 1.0 up to, but not including, 2.0 (G1191 §3.1).</p><h4>Service Status</h4><p>G1128 defines four service states:</p><ul><li>provisional — In testing.</li><li>released — In production.</li><li>deprecated — Scheduled for retirement.</li><li>deleted — Removed.</li></ul><p>By default, MSR returns only released services. A service marked deleted immediately disappears from search results.</p><h4>Keeping Connection Details Up to Date</h4><p>Service metadata changes during operation. A server migration can change an endpoint; a new release can change a version; certificates need regular renewal. If an MSR record is outdated, a consumer may discover a service it cannot reach.</p><p>G1191 therefore requires an interface that allows a service to update its own registration. Five fields can be updated:</p><ul><li>Version.</li><li>Endpoint address.</li><li>Health-check address.</li><li>API documentation.</li><li>Certificate.</li></ul><p>The service signs the update request with its own certificate, allowing MSR to verify its origin.</p><p>Together, these mechanisms let a navigation system retrieve current endpoints for released, responsive services from one registry.</p><h3>2. Achieve Interoperability with G1128</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Z1kUlIp5E9xYo_aHiDbmA.png" /></figure><p>To support interoperability, IALA G1128 (<em>The Specification of e-Navigation Technical Services</em>) describes maritime services at three levels of abstraction. MSR follows the same data model.</p><ul><li><strong>Service Specification:</strong> A technology-neutral description of what a service does. It defines the service concept, operational requirements, use cases, logical operations, behavior, author information, and data model. Where possible, the data model refers to an S-100 product specification, such as S-124 for navigational warnings.</li><li><strong>Technical Design:</strong> A description of how the specification is implemented. It defines the technology (such as REST or SOAP), whether a standard interface such as SECOM is used, and how data is represented in messages (such as XSD or JSON). It does not describe a particular deployment.</li><li><strong>Service Instance:</strong> A deployed, running service. It provides its coverage area, keywords, UN/LOCODE, and endpoint URI.</li></ul><p>In short, the <strong>Service Specification defines the data and behavior</strong>, while the <strong>Technical Design defines how the data is exchanged</strong>. The Service Instance identifies where the deployed implementation can be accessed.</p><p>Each level is available as both a human-readable document (PDF) and machine-readable XML.</p><p>Here is an example of a Service Instance XML document:</p><pre>&lt;serviceInstance xmlns=&quot;&lt;http://iala-aism.org/g1128/v1.7/ServiceInstanceSchema.xsd&gt;&quot;&gt;<br>    &lt;id&gt;urn:mrn:mcp:service:test:org:instance:100&lt;/id&gt;<br>    &lt;version&gt;1&lt;/version&gt;<br>    &lt;name&gt;Test Service Instance No1&lt;/name&gt;<br>    &lt;status&gt;released&lt;/status&gt;<br>    &lt;description&gt;A simple service implementing a custom service specification&lt;/description&gt;<br>    &lt;keywords&gt;test mcp navigation&lt;/keywords&gt;<br>    &lt;endpoint&gt;&lt;https://testservice.mcp.enav.org/service/endpoint/&gt;&lt;/endpoint&gt;<br>    &lt;serviceDataModels&gt;<br>        &lt;serviceDataModel&gt;<br>            &lt;name&gt;S-125 Marine Navigational Services&lt;/name&gt;<br>            &lt;modelType&gt;S125&lt;/modelType&gt;<br>        &lt;/serviceDataModel&gt;<br>    &lt;/serviceDataModels&gt;<br>    &lt;coversAreas&gt;<br>        &lt;coversArea&gt;<br>            &lt;name&gt;Europe&lt;/name&gt;<br>            &lt;geometryAsWKT&gt;POLYGON(( 31.18 33.71, 34.55 34.47, ... ))&lt;/geometryAsWKT&gt;<br>        &lt;/coversArea&gt;<br>    &lt;/coversAreas&gt;<br>    &lt;implementsServiceDesigns&gt;<br>        &lt;implementsServiceDesign&gt;<br>            &lt;id&gt;urn:mrn:mcp:service:test:org:design:100&lt;/id&gt;<br>            &lt;version&gt;1&lt;/version&gt;<br>        &lt;/implementsServiceDesign&gt;<br>    &lt;/implementsServiceDesigns&gt;<br>&lt;/serviceInstance&gt;</pre><p>The final block links the three levels. implementsServiceDesign identifies the Technical Design implemented by this instance. The Technical Design, in turn, refers to its Service Specification through designsServiceSpecification. Each reference is an ID-and-version pair.</p><p>There is no need to create a new Technical Design for every instance. If a design is already registered, the instance can reference its ID and version.</p><p><strong>Validation before registration</strong></p><p>Providers can download a G1128 XSD schema from MSR with GET /api/xmls/schemas/{schema} and validate their XML using POST /api/xmls/validate/{schema}. During registration, MSR validates the XML and certificate and checks the service’s health-check interface before making the record searchable (G1191 §2.7).</p><p>After validation, MSR automatically extracts and indexes fields such as name, version, keywords, endpoint, and coverage area. Providers don’t need to enter the same metadata twice. They can also attach supporting documents, such as implementation manuals: machines read the XML, while developers read the manuals.</p><h4>How S-100 Fits In</h4><p>G1128 describes <strong>how a service is specified</strong>. The IHO’s S-100 framework describes <strong>which data products the service handles</strong>.</p><p>The serviceDataModel field in the XML connects the two. MSR indexes that value separately so consumers can search by data product type.</p><p>For our navigation officer in the South Atlantic, the request becomes: <strong>Find services that provide S-124 data along my route.</strong> One query can combine the data product type and a geographic search area.</p><p>If a newly discovered service implements a Technical Design the navigation system already supports, the system can connect without additional development, regardless of which country’s organization operates it.</p><h3>3. Search by Service Coverage and Location</h3><p>To find services relevant to a location or route, MSR needs two things: a coverage area registered for each service and a way to search against those areas.</p><h4>Coverage Area: Where Is the Service Available?</h4><p>When registering a service, the provider defines the geographic area where it applies. The geometryAsWKT field in the XML example represents that <strong>coverage area</strong>.</p><p>A Busan pilotage service might cover waters near Busan, while a South Atlantic navigational warning service covers its relevant ocean area.</p><p>The matching rule is straightforward: <strong>a service is returned when its coverage area intersects the requested search geometry</strong>. A point query matches areas containing the ship’s position; a route query matches areas intersecting the planned route.</p><h4>MSR’s Geographic Search</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r_Ex8KY0KspUZwSRxue6Tw.png" /><figcaption>Example of an Area-Based Search Interface</figcaption></figure><p>MSR performs geographic matching itself. The navigation system supplies a search area, and MSR determines which registered services apply.</p><p>Search geometry can take three forms:</p><ul><li><strong>Point:</strong> Services available at the ship’s current position.</li><li><strong>Line:</strong> Services available along a planned route.</li><li><strong>Polygon:</strong> Services covering an area of interest or a port zone.</li></ul><p>Route-based searches are especially useful before departure: a single query can identify services needed across the voyage. G1191 represents search geometry in Well-Known Text (WKT).</p><p>For example, a request for <strong>released services providing S-124 navigational warning data near the Port of Copenhagen</strong> looks like this:</p><pre>{<br>  &quot;envelope&quot;: {<br>    &quot;query&quot;: {<br>      &quot;dataProductType&quot;: &quot;S124&quot;,<br>      &quot;status&quot;: &quot;released&quot;<br>    },<br>    &quot;geometry&quot;: &quot;POLYGON((12.55 55.65, 12.68 55.65, 12.68 55.73, 12.55 55.73, 12.55 55.65))&quot;,<br>    &quot;localOnly&quot;: true,<br>    &quot;envelopeSignatureCertificate&quot;: [&quot;MIIEMjCCA7eg...&quot;],<br>    &quot;envelopeSignatureTime&quot;: &quot;2026-09-22T04:00:00Z&quot;<br>  },<br>  &quot;envelopeSignature&quot;: &quot;...&quot;<br>}</pre><p>The response includes the service name, provider MRN, endpoint URI, coverage area, and G1128 specification. The navigation system can read the specification and connect to the endpoint.</p><h4>The Standard SECOM Interface</h4><p>This request is not an MSR-specific API format. It implements the searchService interface from <strong>IEC 63173-2 SECOM (Secure Communication)</strong>.</p><p>A shipboard or shore-based system that already supports SECOM can use its existing client to query MSR, without a separate MSR integration.</p><p>Requests and responses use a SECOM <em>envelope</em>. The requester signs the envelope with its certificate. In the JSON example, envelopeSignatureCertificate and envelopeSignature carry the relevant certificate and signature information. MSR uses the signature to verify the requester’s MRN. This is where a certificate issued by MIR is used by MSR.</p><p>One restriction is worth noting: <strong>MMSI and IMO numbers cannot be used as standalone search parameters.</strong> They must be paired with designId, preventing misuse of the search interface to enumerate services associated with a specific vessel.</p><p>Before departure, a navigation system can query MSR with its planned route and receive only the services relevant to that route. If it supports SECOM, it can do so using an existing client.</p><h3>Distributed MSRs and Global Search</h3><p>So far, we’ve assumed a consumer can query a single MSR.</p><p>But <strong>there isn’t just one MSR</strong>. MCP is a distributed platform without a single operator. Maritime authorities can run their own registries and retain control over domestic service information, reflecting their own responsibilities and jurisdiction.</p><p>That creates another discovery problem: <strong>Which MSR should the ship query?</strong> A route spanning several countries cannot be covered reliably by searching only one registry.</p><p>IALA G1191 addresses this through <strong>global search</strong>. A consumer queries one MSR, which forwards the request to other relevant MSRs, collects the results, and returns them. The consumer doesn’t need a directory of every MSR worldwide (G1191 §1.3).</p><p>This is where the Maritime Messaging Service (MMS), the final component in this series, comes in. MSRs exchange global-search messages over MMS. This is a dedicated global-search messaging network, separate from ordinary MMS traffic. Only MSRs reviewed and approved by MCC can join it (G1191 §2.4.2, §3.2).</p><h3>Dividing the Ocean into Search Areas</h3><p>The key idea is to divide the ocean into regions so each MSR receives queries only for areas relevant to the services it holds.</p><p>Rather than inventing a new geographic system, MSR builds on <strong>NAVAREAs</strong>, the regions used by the Worldwide Navigational Warning Service (WWNWS), operated jointly by IHO and IMO. The system began with 16 areas in 1974 and expanded by five Arctic areas in 2007, bringing the total to 21. Each NAVAREA has a designated Area Coordinator responsible for issuing navigational warnings.</p><p>Each search area maps to an MMS messaging <em>subject</em>, identified by an MRN:</p><pre>urn:mrn:mcp:msr:search:searcharea:&lt;i~xxiv&gt;<br>urn:mrn:mcp:msr:search:global</pre><h3>Subject Subscriptions</h3><p>G1191 requires every MSR to subscribe to the global subject and the subjects for its relevant search areas (§3.1). MCC’s reference implementation manages these subscriptions automatically.</p><p>When a service instance is registered, the MSR checks which search areas intersect its coverage area and subscribes to their subjects. When the last instance in an area is deleted, it removes that subscription.</p><p>As a result, each MSR listens to the global subject and only the regional subjects where it holds service records. No manual subscription management is needed.</p><h3>How a Global Query Travels</h3><p>Suppose our ship in the South Atlantic submits a route-based global search.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zfy-v4ntoEpuspJa6AYKzg.png" /></figure><ol><li><strong>Submit:</strong> The ship sends its route and search criteria to a nearby MSR.</li><li><strong>Search locally:</strong> That MSR immediately returns local results with a transaction ID.</li><li><strong>Publish:</strong> It sends a query through MMS to subjects covering the route, including a callback URL.</li><li><strong>Search remotely:</strong> Subscribed MSRs receive the message and search their own databases.</li><li><strong>Return results:</strong> Each MSR signs its results with SECOM and uploads them to the callback URL, identifying the responding MSR.</li><li><strong>Aggregate:</strong> The initial MSR groups results by transaction ID and removes duplicates.</li><li><strong>Retrieve:</strong> The ship polls using the transaction ID. G1191 specifies checks at 3, 6, and 10 seconds after the initial response; the MSR keeps the transaction open for 30 seconds (§3.1).</li></ol><p>A few details matter here.</p><p><strong>The route limits query distribution.</strong> If the request includes a search geometry, MSR publishes only to subjects whose regions intersect it. A South Atlantic query won’t reach an MSR that holds services only in the Pacific. This reduces unnecessary traffic and responses. A keyword-only query with no geographic area uses the global subject.</p><p><strong>Global search is the default.</strong> The localOnly field in the earlier JSON example controls search scope. Under G1191, omitting it means false, so the search is global by default (§2.2.1). Setting localOnly to true, as in the Copenhagen example, limits the search to that MSR. A query with no search criteria is handled locally rather than distributed. Participation in global search is recommended (should), not mandatory, so some MSRs may operate only as local registries.</p><p><strong>Results are limited to participating MSRs.</strong> Services won’t appear if their MSR has not joined the network or subscribed to the relevant subject. Each MSR can also decide which results to expose globally (§3.1). Global search therefore does not guarantee access to every maritime service in the world.</p><p>From the navigation officer’s perspective, the process stays simple: send a route to one MSR. There’s no need to know which other registries to contact, and results from unrelated waters are filtered out before the query reaches them.</p><h3>Open Source and the MCC General Working Group</h3><p>As with MIR, the MSR specification and reference implementation are publicly available.</p><ul><li><a href="https://github.com/maritimeconnectivity/ServiceRegistry">**ServiceRegistry</a>:** An Apache 2.0-licensed, Spring Boot-based reference implementation using PostgreSQL with PostGIS for storage and Lucene for search indexing.</li><li><a href="https://msr.maritimeconnectivity.net/swagger-ui">**MCC MSR testbed API documentation</a>:** Swagger documentation for the MSR running in the MCC testbed.</li></ul><p>MCC maintains the MCP namespace, REST API specification, and reference implementation. Standards discussions take place in the MCC General Working Group and feed into IALA guidelines such as G1128 and G1191.</p><h3>Conclusion</h3><p>We’ve seen how MSR addresses the navigation officer’s three problems:</p><ul><li><strong>Finding services:</strong> Register services with MRNs and versions, and maintain current status and endpoint information.</li><li><strong>Using discovered services:</strong> Describe them in G1128’s three machine-readable layers.</li><li><strong>Finding route-relevant services:</strong> Search registered coverage areas through SECOM.</li><li><strong>Searching across countries:</strong> Extend discovery across participating registries through global search.</li></ul><p>Put simply, MSR answers three questions for a ship at sea: <strong>Which services can I use here, how do I call them, and where do I connect?</strong></p><p>In the next article, we’ll look at the final core component of MCP: the <strong>Maritime Messaging Service (MMS)</strong>, which we’ve briefly seen carrying global-search queries between registries.</p><p>Thanks for reading.</p><h3>References</h3><ul><li><a href="https://www.iala.int/product/g1128/">IALA G1128 — <em>The Specification of e-Navigation Technical Services</em>, Edition 1.6</a> (published December 2017; revised December 2024).</li><li><a href="https://www.iala.int/product/g1191/">IALA G1191 — <em>Maritime Service Registry (MSR) Technical Specification</em>, Edition 1.2</a> (published June 2025; revised June 2026).</li><li>IHO S-100 — <em>Universal Hydrographic Data Model</em>.</li><li><a href="https://iho.int/en/wwnws">IHO/IMO WWNWS — Worldwide Navigational Warning Service and NAVAREA regions</a>.</li><li>IEC SECOM — <em>Secure Communication</em> standard.</li><li><a href="https://docs.maritimeconnectivity.net/">MCP official documentation</a>.</li><li><a href="https://github.com/maritimeconnectivity/ServiceRegistry">MSR reference implementation</a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b80255c68457" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/introducing-the-maritime-service-registry-msr-b80255c68457">Introducing the Maritime Service Registry (MSR)</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[해사 서비스 저장소, MSR(Maritime Service Registry) 소개]]></title>
            <link>https://medium.com/aivenautics/%EB%93%A4%EC%96%B4%EA%B0%80%EB%A9%B0-d46f237dab3a?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/d46f237dab3a</guid>
            <category><![CDATA[maritime-service]]></category>
            <category><![CDATA[mcps]]></category>
            <category><![CDATA[secom]]></category>
            <category><![CDATA[mr]]></category>
            <dc:creator><![CDATA[yeonwoo]]></dc:creator>
            <pubDate>Thu, 15 Oct 2026 23:28:10 GMT</pubDate>
            <atom:updated>2026-10-20T02:03:27.177Z</atom:updated>
            <content:encoded><![CDATA[<p>안녕하세요. 에이브노틱스의 백엔드 개발자 김연우입니다. 저는 해상 유저들을 위한 여러 디지털 해사 서비스 개발을 담당하고 있습니다. 이번 글에서는 해사 서비스 저장소인 MSR에 대해서 소개하겠습니다.</p><h3>들어가며</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UQidYAt2VvYkmL3PDY_bkA.png" /></figure><p>한국 선적의 벌크선이 희망봉을 돌아 브라질 산토스항으로 향하고 있다고 해봅시다. 지금 위치는 남대서양 한가운데, 가장 가까운 육지까지 1,500km입니다. 항해사는 앞으로 며칠간 지날 해역의 <strong>항행경보</strong>를 확인하려 합니다. 표류 중인 컨테이너, 해양조사선 작업 구역, 부표 고장 같은 정보입니다.</p><p>그런데 어디에 물어봐야 할까요?</p><p>한국 해역이라면 국립해양조사원에 물으면 됩니다. 하지만 지금 있는 곳은 어느 나라의 관할도 아닌 공해이고, 다음 주에 지날 곳은 브라질 해역이며, 그 전에는 아프리카 서안을 스칩니다. 각국 해사기관이 저마다 항행경보를 발행하고 있을 텐데, 문제는 이것입니다.</p><ul><li>그 기관들이 어떤 디지털 서비스를 제공하는지 모릅니다.</li><li>안다고 해도 어떤 주소로 호출해야 하는지 모릅니다.</li><li>찾았다고 해도 기관마다 데이터 형식과 호출 방식이 다르면, 선박의 항해 시스템은 각각을 따로 개발해 붙여야 합니다.</li></ul><p>바다 위에서 정보를 얻지 못하는 이유는 정보가 없어서가 아닙니다. <strong>정보가 어디에 있는지 물어볼 곳이 없어서</strong>입니다.</p><p>MSR이 답하는 것은 두 번째 질문, <strong>“내가 필요한 서비스가 어디에 있는지 어떻게 찾는가”</strong>입니다.</p><h3>MSR은 무엇인가</h3><p>MSR의 국제 기준은 IALA가 2025년에 제정한 가이드라인 G1191 (Maritime Service Registry Technical Specification)입니다. G1191은 MSR을 이렇게 설명합니다.</p><blockquote><em>MSR은 기술 서비스(Technical Service)의 구현체를 등록해 두는 저장소입니다. 등록된 서비스 정보를 확인하는 기준점이 되고, 그 서비스들을 찾을 수 있게 해 줍니다.</em></blockquote><h3>MSR의 세 주체</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1sj5-sMkKhAlm1nnl7XueA.png" /></figure><ul><li><strong>MSR 운영자:</strong> MSR을 설치하고 운영하는 기관입니다. 각국 해사기관이나 MCP 운영 기관이 맡고, 어떤 서비스를 등록받을지 기준을 스스로 정합니다.<br> → 자국 서비스 정보를 자국 시스템에서 직접 관리하면서, 글로벌 검색으로 다른 나라 MSR과 하나의 네트워크처럼 연결됩니다.</li><li><strong>서비스 제공자:</strong> 항행경보, 기상 정보, 입항 예약 같은 해양 서비스를 만들어 운영하는 기관이나 기업입니다. 자기 서비스를 MSR에 등록합니다.<br> → 서비스를 한 번 등록해 두면 전 세계 선박이 찾을 수 있습니다. 표준 형식으로 기술해 두었으니 소비자마다 따로 연동을 협의하지 않아도 됩니다.</li><li><strong>서비스 소비자(선박 ,육상 시스템):</strong> 서비스를 찾아서 쓰는 쪽입니다. G1191은 소비자를 사람이 아니라 선박의 ECDIS나 항로 계획 시스템 같은 <strong>정보 시스템</strong>으로 봅니다. 시스템이 MSR에서 서비스를 찾아 연결하고, 항해사는 그 결과를 화면으로 받아 볼 수 있습니다.<br> → 기관마다 찾아다니지 않고 MSR에 한 번 물어서, 지금 위치와 항로에서 쓸 수 있는 서비스와 접속 주소를 받습니다.</li></ul><h3>MSR이 하는 일</h3><p>MSR은 이름 그대로 서비스를 등록해 두는 <strong>저장소</strong>입니다. 저장소에 오르는 것은 실물이 아니라 실물에 대한 정보입니다. 전화번호부에 가게가 아니라 상호와 주소, 전화번호가 실리는 것처럼, MSR에 담기는 것도 서비스 자체가 아니라 <strong>서비스를 찾고 연결하는 데 필요한 정보, 즉 메타데이터</strong>입니다. MSR은 이 메타데이터로 네 가지 일을 합니다.</p><p><strong>1. 등록과 식별:</strong> 서비스마다 고유한 이름(MRN)과 버전을 붙여 등록합니다. 같은 서비스의 여러 버전을 함께 등록할 수 있어서, 서비스 제공자는 기존 버전을 그대로 운영하면서 새 버전을 안전하게 출시할 수 있습니다.</p><p><strong>2. 명세 보관 및 검증:</strong> 서비스가 어떻게 동작하는지 IALA G1128 형식으로 기술한 명세를 보관합니다. 서비스 제공자는 MSR이 제공하는 검증 API에 명세를 제출해, 등록 전에 형식이 맞는지 미리 확인할 수 있습니다.</p><p><strong>3. 상태와 최신 정보 유지:</strong> 등록된 서비스마다 운영 상태(시험 단계·정식 운영·종료 예정·삭제)를 표시합니다. 소비자는 이 상태를 보고 정식 운영 중인 서비스만 골라 받을 수 있습니다.</p><p>서비스의 접속 주소나 버전, 인증서가 바뀌면 서비스가 직접 MSR에 등록된 정보를 갱신하고, MSR은 서비스가 정상적으로 응답하는지 매일 확인합니다.</p><p><strong>4. 위치와 조건 검색:</strong> 서비스마다 등록된 서비스 제공 영역을 바탕으로, 소비자의 위치·항로와 조건에 맞는 서비스를 찾아 줍니다.</p><h3>MSR의 범위 밖에 있는 것들</h3><p>여기까지가 MSR이 하는 일입니다. MSR이 보관하는 것은 메타데이터이지 서비스 자체가 아니기 때문에, 다음 세 가지는 MSR 바깥에서 이루어집니다.</p><ul><li><strong>서비스 연결:</strong> 검색으로 엔드포인트 주소를 받은 뒤 그 서비스에 접속하는 것은 소비자의 몫입니다. MSR은 이 통신 경로에 개입하지 않고, 서비스가 주고받는 데이터를 중계하지도 않습니다. 메타데이터에서 주소를 얻는 일과 그 주소로 연결하는 일은 별개의 단계입니다.</li><li><strong>서비스 이용 계약:</strong> 유료 구독 서비스라면 요금제 협의, 계정 발급, 이용 권한 부여가 모두 해당 서비스 제공자와 사용자 사이의 일입니다. MSR은 “그런 서비스가 존재하고 주소는 여기입니다”까지만 알려줍니다. G1128 명세에 상업 서비스 여부를 표시하는 필드가 있지만, MSR이 그 거래를 중개하지는 않습니다.</li><li><strong>신원 발급:</strong> 기관과 서비스에 MRN과 인증서를 발급하는 것은 지난 글에서 본 MIR의 역할입니다. MSR과 MIR은 별개의 시스템으로 운영되며, 양쪽의 서비스 정보가 자동으로 연결되어 있지는 않습니다.</li></ul><h3>해결하려는 문제</h3><p>항해사가 겪는 어려움은 세 가지로 정리됩니다.</p><p><strong>1. 어떤 서비스가 있는지 알 수 없습니다.</strong> 각국 해사기관과 항만, 기상청, 민간 업체가 저마다 서비스를 운영하고 있어도, 그 정보는 제공자의 웹사이트나 개별 문서에 흩어져 있습니다. 항해사는 필요한 서비스가 있는지부터 기관마다 따로 확인해야 합니다.</p><p><strong>2. 찾더라도 바로 쓸 수 없습니다.</strong> 같은 항행경보 서비스라도 기관마다 데이터 형식과 호출 방식, 파라미터가 다릅니다. 그래서 선박의 항해 시스템은 서비스마다 연동을 따로 개발해야 합니다. 더 큰 문제는 선박이 항해 중에 처음 보는 서비스를 만난다는 점입니다. 출항 전에는 몰랐던 서비스를 바다 위에서 바로 써야 하는데, 사람이 붙어 연동하는 방식으로는 할 수 없습니다.</p><p><strong>3. 내 위치와 항로에 맞는 서비스만 골라낼 수 없습니다.</strong> 해양 서비스는 대부분 특정 해역이나 항만에서만 의미가 있습니다. 부산항 입항 예약 서비스는 부산 앞바다에서만 쓸모가 있습니다. 그런데 일반적인 API 목록에는 ‘위치’라는 개념이 없어서, 항해사가 수많은 서비스 중 자기 항로에 해당하는 것을 직접 가려내야 합니다.</p><h3>어떻게 해결하는가?</h3><h4>1. 한 저장소에 등록, 최신으로 유지</h4><p>서비스 제공자가 자기 서비스를 MSR에 등록해 두면, 소비자는 기관마다 찾아다니지 않고 MSR 한 곳에 물으면 됩니다. 이 목록을 믿고 쓸 수 있도록 MSR은 세 가지 장치를 둡니다.</p><p>모든 서비스 인스턴스는 고유한 MRN과 버전을 가집니다. 같은 서비스의 여러 버전을 함께 등록할 수 있어서, 서비스 제공자는 기존 버전을 그대로 운영하면서 새 버전을 안전하게 출시할 수 있습니다. 소비자는 자기 장비가 지원하는 서비스 설계 버전을 1.x처럼 범위로 지정해 찾습니다. 이렇게 하면 1.0 이상 2.0 미만 버전을 구현한 서비스가 모두 검색됩니다(G1191 §3.1).</p><h4>상태표시</h4><p>등록된 서비스에는 지금 어느 단계에 있는지를 나타내는 상태(status)가 붙습니다. G1128이 정한 상태는 네 가지입니다.</p><p>provisional :시험 단계 <br>released :정식 운영 중 <br> deprecated :곧 종료 예정<br>deleted :삭제됨</p><p>소비자가 상태를 지정하지 않으면 MSR은 released 서비스만 돌려줍니다. deleted로 바뀐 서비스는 즉시 검색 결과에서 빠지게 됩니다.</p><h4>접속정보 업데이트</h4><p><strong>최신 접속 정보.</strong> 서비스 정보는 운영 중에도 계속 바뀝니다. 서버를 옮기면 접속 주소가, 새 버전을 배포하면 버전 번호가 바뀌고, 인증서는 매달 갱신됩니다. MSR에 등록된 정보가 실제와 다르면, 소비자가 찾은 주소로 연결해도 서비스에 닿지 않습니다.</p><p>그래서 G1191은 <strong>서비스가 직접</strong> 자기 정보를 갱신할 수 있는 인터페이스를 MSR에 두도록 요구합니다. 갱신 대상은 버전, 접속 주소, 상태 확인 주소, API 문서, 인증서 다섯 가지입니다. 갱신 요청에는 서비스 자신의 인증서로 서명하므로, MSR은 요청이 정말 그 서비스에서 왔는지 확인할 수 있습니다.</p><p><strong>결과적으로 항해 시스템은 MSR 한 곳에서, 정식 운영 중이고 실제로 응답하는 서비스의 최신 접속 주소를 받습니다.</strong></p><h4>2. 서비스를 세 층으로 나눠 기술 — G1128</h4><p>IALA의 <strong>G1128</strong>(e-Navigation 기술 서비스 명세 가이드라인)은 서비스들의 호환성을 위해 해양 서비스를 추상도에 따라 아래와 같이 세 단계로 나누었습니다. MSR의 데이터 모델은 이 계층을 그대로 따릅니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hgQRf3Z9YtY76Jqw1zKf-Q.png" /></figure><p><strong>Service Specification</strong> — 기술 중립적인 논리 수준의 서비스 설명입니다. “항행경보 서비스”라는 개념 자체를 정의합니다. 운영 맥락(요구사항, 유스케이스), 논리 연산, 동적 동작, 작성자 정보와 함께, 서비스가 다루는 <strong>데이터 모델</strong>을 지정합니다. 데이터 모델은 가능하면 S-100 제품 명세(예: S-124 항행경보)를 참조합니다.</p><p><strong>Technical Design</strong> — 그 명세를 어떤 기술로 구현할지 정합니다. REST인지 SOAP인지, SECOM 같은 표준 인터페이스를 쓰는지, 명세의 데이터 모델을 실제로 주고받는 메시지 형식(XSD, JSON 등)에 어떻게 담는지가 여기서 결정됩니다. 정리하면 <strong>어떤 데이터를 다룰지는 명세가, 그 데이터를 어떤 형식으로 보낼지는 설계가</strong> 정합니다. 특정 인스턴스에 대한 정보는 아직 없습니다.</p><p><strong>Service Instance</strong> — 실제로 어딘가에 배포되어 돌아가고 있는 서비스입니다. 서비스 제공 영역, 키워드 같은 서술 필드, UN/LOCODE, 그리고 접근할 URI가 들어갑니다.</p><p>세 층은 각각 <strong>사람이 읽는 문서(PDF)</strong> 와 <strong>기계가 읽는 XML</strong> 두 형태로 존재합니다.</p><p>실제 인스턴스 XML은 이런 모습입니다.</p><pre>   &lt;serviceInstance xmlns=&quot;http://iala-aism.org/g1128/v1.7/ServiceInstanceSchema.xsd&quot;&gt;<br>    &lt;id&gt;urn:mrn:mcp:service:test:org:instance:100&lt;/id&gt;<br>    &lt;version&gt;1&lt;/version&gt;<br>    &lt;name&gt;Test Service Instance No1&lt;/name&gt;<br>    &lt;status&gt;released&lt;/status&gt;<br>    &lt;description&gt;A simple service implementing a custom service specification&lt;/description&gt;<br>    &lt;keywords&gt;test mcp navigation&lt;/keywords&gt;<br>    &lt;endpoint&gt;https://testservice.mcp.enav.org/service/endpoint/&lt;/endpoint&gt;<br><br>    &lt;serviceDataModels&gt;<br>        &lt;serviceDataModel&gt;<br>            &lt;name&gt;S-125 Marine Navigational Services&lt;/name&gt;<br>            &lt;modelType&gt;S125&lt;/modelType&gt;<br>        &lt;/serviceDataModel&gt;<br>    &lt;/serviceDataModels&gt;<br><br>    &lt;coversAreas&gt;<br>        &lt;coversArea&gt;<br>            &lt;name&gt;Europe&lt;/name&gt;<br>            &lt;geometryAsWKT&gt;POLYGON(( 31.18 33.71, 34.55 34.47, ... ))&lt;/geometryAsWKT&gt;<br>        &lt;/coversArea&gt;<br>    &lt;/coversAreas&gt;<br><br>    &lt;implementsServiceDesigns&gt;<br>        &lt;implementsServiceDesign&gt;<br>            &lt;id&gt;urn:mrn:mcp:service:test:org:design:100&lt;/id&gt;<br>            &lt;version&gt;1&lt;/version&gt;<br>        &lt;/implementsServiceDesign&gt;<br>    &lt;/implementsServiceDesigns&gt;<br>&lt;/serviceInstance&gt;</pre><p>마지막 블록이 계층을 잇는 고리입니다. implementsServiceDesign은 이 인스턴스가 구현한 Technical Design을 가리키고, 그 Technical Design은 다시 designsServiceSpecification으로 Service Specification을 가리킵니다. 값은 어느 쪽이든 ID와 버전 한 쌍입니다.</p><p>한 가지 짚고 갈 점은, 상위 계층을 인스턴스마다 새로 만들 필요는 없다는 것입니다. 이미 등록된 Technical Design이 있다면 그 ID와 버전을 가리키기만 하면 됩니다.</p><p><strong>등록 전 검증.</strong> 서비스 제공자는 MSR에서 G1128 XSD 스키마를 내려받아(GET /api/xmls/schemas/{schema}) XML을 작성하고, 검증 API(POST /api/xmls/validate/{schema})에 제출해 등록 전에 형식 오류를 확인할 수 있습니다. 실제 등록 단계에서도 MSR은 XML과 인증서를 검증하고, 서비스의 상태 확인 인터페이스가 응답하는지 시험한 뒤에야 검색에 노출합니다(G1191 §2.7).</p><p>검증을 통과한 XML에서는 이름, 버전, 키워드, 접속 주소, 서비스 제공 영역 같은 값을 MSR이 자동으로 읽어 색인합니다. 같은 정보를 입력 양식에 다시 적을 필요가 없습니다. XML 외에 구현 매뉴얼 같은 문서도 함께 첨부할 수 있어서, 항해 시스템은 XML을, 개발자는 매뉴얼을 읽습니다.</p><h4>S-100과의 관계</h4><p>G1128이 <em>서비스를 어떻게 기술하는가</em>를 맡는다면, IHO의 <strong>S-100</strong> 은 <em>그 서비스가 어떤 데이터 제품을 다루는가</em>를 맡습니다. 위 XML의 serviceDataModel이 그 연결 고리이고, MSR은 이 값을 별도 필드로 색인해 검색 조건으로 씁니다.</p><p>남대서양의 항해사가 원하는 것은 결국 <strong>“내 항로 위에서 S-124를 제공하는 서비스”</strong> 이고, 이것은 데이터 제품 유형과 검색 영역을 조합한 한 번의 질의로 표현됩니다.</p><p><strong>G1128의 세 계층 덕분에 항해 시스템은 바다 위에서 처음 만난 서비스라도, 이미 지원하는 Technical Design을 구현한 서비스라면 추가 개발 없이 바로 연결할 수 있습니다.</strong> 어느 나라의 어느 기관이 운영하든 마찬가지입니다.</p><h4>3. 서비스 제공 영역과 위치로 탐색</h4><p>내 위치와 항로에 맞는 서비스만 골라내려면, 서비스마다 쓸 수 있는 바다 영역을 함께 등록하고 그 영역으로 검색할 수 있어야 합니다.</p><p><strong>서비스 제공 영역 — 이 서비스는 어디서 쓸 수 있는가<br></strong>서비스를 등록할 때는 그 서비스가 유효한 바다 영역을 함께 기입합니다. 이것을 <strong>서비스 제공 영역</strong>(coverage area)이라고 하고, 앞의 XML에서 본 geometryAsWKT가 그 자리입니다. 부산항 도선 서비스라면 부산 앞바다를, 남대서양 항행경보 서비스라면 그 해역을 그려 넣습니다.</p><p>검색 규칙은 단순합니다. <strong>소비자가 지정한 검색 영역과 서비스 제공 영역이 겹치면 결과에 포함됩니다.</strong> 선박이 자기 좌표로 물으면 그 점을 품은 서비스 제공 영역이 걸리고, 항로를 그려 물으면 그 선과 겹치는 서비스 제공 영역이 걸립니다.</p><h4>MSR의 위치 기반 검색</h4><p>MSR이 제공하는 기능 중 가장 실용적인 기능 중 하나입니다. 서비스마다 제공 영역을 함께 등록받고, <strong>위치로 서비스를 찾는 검색 기능</strong>을 직접 제공합니다. 항해 시스템은 검색 영역만 넘기면 되고, 어떤 서비스가 그 영역에 해당하는지는 MSR이 판정합니다. 검색 영역은 세 가지 형태로 지정할 수 있습니다.</p><ul><li><strong>점</strong> — 선박의 현재 좌표. “지금 여기서 쓸 수 있는 서비스”</li><li><strong>선</strong> — 계획한 항로. “앞으로 지날 경로 위에서 쓸 수 있는 서비스”</li><li><strong>면</strong> — 관심 해역이나 항만 구역. “이 영역에 걸쳐 있는 서비스”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F2OuC-rFc-4sNZhQfw0HRQ.png" /><figcaption>면으로 검색하는 화면 예시</figcaption></figure><p>실무에서는 <strong>선으로 묻는 형태가 가장 유용합니다.</strong> 출항 전에 항로를 한 번 그려 질의하면 항해 전 구간에서 필요한 서비스를 미리 확보할 수 있기 때문입니다. 좌표는 G1191이 정한 WKT 형식으로 넘깁니다</p><p>구체적인 예를 들어보겠습니다. <strong>“코펜하겐 항 부근에서 S-124 항행경보 데이터를 제공하는, 현재 운영 중인 서비스”</strong> 를 찾는 요청은 이렇게 구성됩니다.</p><pre>{<br>  &quot;envelope&quot;: {<br>    &quot;query&quot;: {<br>      &quot;dataProductType&quot;: &quot;S124&quot;,<br>      &quot;status&quot;: &quot;released&quot;<br>    },<br>    &quot;geometry&quot;: &quot;POLYGON((12.55 55.65, 12.68 55.65, 12.68 55.73, 12.55 55.73, 12.55 55.65))&quot;,<br>    &quot;localOnly&quot;: true,<br>    &quot;envelopeSignatureCertificate&quot;: [&quot;MIIEMjCCA7eg...&quot;],<br>    &quot;envelopeSignatureTime&quot;: &quot;2026-09-22T04:00:00Z&quot;<br>  },<br>  &quot;envelopeSignature&quot;: &quot;...&quot;<br>}</pre><p>응답으로 서비스 이름, 제공 기관 MRN, 엔드포인트 URI, 서비스 제공 영역, 그리고 G1128 명세가 함께 돌아옵니다. 항해 시스템은 이 명세를 읽고 해당 엔드포인트에 연결하면 됩니다.</p><h4>SECOM 표준 인터페이스</h4><p>눈여겨볼 것은 이 요청이 MSR이 임의로 설계한 형식이 아니라는 점입니다. IEC 63173–2 SECOM(Secure Communication) 표준의 <strong>searchService</strong> 인터페이스를 구현한 것입니다. SECOM을 지원하는 항해 장비나 육상 시스템이라면 MSR 전용 연동 코드를 따로 작성하지 않고, 이미 가진 SECOM 클라이언트로 질의할 수 있습니다.</p><p>요청과 응답은 SECOM 봉투(envelope)에 담기고, 요청자는 자신의 인증서로 봉투에 서명합니다. 위 JSON의 envelopeSignatureCertificate와 envelopeSignature가 그 부분입니다. MSR은 이 서명에서 요청자의 MRN을 확인합니다. MIR이 발급한 인증서가 MSR에서 쓰이는 지점이 바로 여기입니다.</p><p>참고로 <strong>MMSI나 IMO 번호만으로는 검색할 수 없습니다.</strong> 이 두 파라미터는 반드시 designId와 함께 써야 합니다. 특정 선박을 지목해 관련 서비스를 훑는 식의 오용을 막기 위한 제약입니다.</p><p><strong>정리하면, 항해 시스템은 출항 전에 항로를 한 번 그려 MSR에 물으면 그 항로 위에서 쓸 수 있는 서비스만 골라 받습니다.</strong> SECOM을 지원하는 장비라면 MSR 전용 연동 없이 이미 가진 클라이언트로 질의할 수 있습니다.</p><h3>분산된 MSR, 글로벌 검색</h3><p>지금까지의 해결책에는 전제가 하나 깔려 있습니다. “<strong>MSR 한 곳에 물으면 된다</strong>”는 것입니다.</p><p>하지만 MSR은 하나가 아닙니다. MCP는 단일 주체가 운영하지 않는 분산 플랫폼이고, 각국 해사기관이 저마다 MSR을 운영합니다. 자국 서비스 정보를 자국 시스템에서 관리하려는 것은 주권과 책임의 문제이니 자연스러운 선택입니다.</p><p>그럼 이번에는 어떤 서비스가 있는지가 아니라 <strong>어느 MSR에 물어야 하는지</strong>를 모릅니다. 항로가 여러 나라 해역을 지나니, 문제 3도 MSR 하나로는 풀리지 않습니다.</p><p>IALA G1191이 정의하는 <strong>MSR 글로벌 검색</strong>은 이 두 문제를 MSR 네트워크 전체로 넓혀 해결합니다. 아무 MSR에나 물으면, 그 MSR이 항로와 관련된 다른 MSR들에게 대신 묻고 결과를 모아 돌려줍니다. 소비자가 전 세계 MSR 목록을 미리 알 필요가 없습니다(G1191 §1.3).</p><p>여기서 시리즈의 마지막 구성요소인 <strong>MMS</strong>(Maritime Messaging Service)가 등장합니다. MSR끼리 질의를 주고받을 때 MMS를 씁니다. 이 MMS 네트워크는 일반 MMS와 분리된 글로벌 검색 전용 네트워크이고, MCC의 심사와 승인을 받은 MSR만 참여할 수 있습니다(§2.4.2, §3.2).</p><h3>세계를 항행구역으로 구분</h3><p>핵심 아이디어는 <strong>바다를 미리 나눠두고, 각 MSR이 자기 구역만 듣게</strong> 하는 것입니다.</p><p>나누는 기준은 새로 만들지 않고 이미 있는 <strong>NAVAREA</strong>를 바탕으로 합니다. IHO와 IMO가 함께 운영하는 전 세계 항행경보 서비스(WWNWS)가 쓰는 해역 구획으로, 1974년에 16개로 출발해 2007년 북극해 5개가 더해지면서 현재 21개 구역이 되었습니다. 각 구역에는 경보 발행을 책임지는 조정국(Area Coordinator)이 한 곳씩 지정되어 있습니다. 항행경보를 찾는 이야기에 항행경보를 위해 만들어진 구획을 바탕으로 삼은 셈입니다.</p><p>각 검색 구역은 MMS 메시징 주제(subject) 하나에 대응합니다. 형식은 MRN을 따릅니다.</p><pre>urn:mrn:mcp:msr:search:searcharea:&lt;i~xxiv&gt;<br>urn:mrn:mcp:msr:search:global</pre><h4><strong>주제구독</strong></h4><p>G1191은 모든 MSR이 전역 주제와 관련 검색 구역 주제를 구독하도록 요구합니다(§3.1). MCC 참조 구현은 이 구독을 자동으로 관리합니다. 서비스 인스턴스가 등록되면 그 서비스 제공 영역이 어느 검색 구역과 겹치는지 계산해 해당 구역의 주제를 구독하고, 어떤 구역의 마지막 인스턴스가 삭제되면 그 구독을 해제합니다.</p><p><strong>결과적으로 각 MSR은 전역 주제와, 자기가 실제로 서비스 정보를 보유한 해역의 주제만 듣게 됩니다.</strong> 관리자가 수동으로 설정할 일은 없고, 등록과 삭제에 따라 자동으로 따라갑니다.</p><h4>질의가 퍼져나가는 방식</h4><p>남대서양의 선박이 항로를 그려 글로벌 검색을 요청했다고 해봅시다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*slBZCIfeJE9omx1ZU3wa6Q.png" /></figure><ol><li>선박이 항로와 조건을 담아 가장 가까운 MSR에 검색을 요청합니다.</li><li>그 MSR은 먼저 자기 데이터베이스를 검색해 <strong>로컬 결과를 즉시 돌려줍니다.</strong> 이때 거래 ID(transaction ID)를 함께 줍니다.</li><li>동시에 항로와 겹치는 검색 구역 주제로 질의 메시지를 MMS에 발행합니다. 메시지에는 결과를 보낼 콜백 주소가 들어 있습니다.</li><li>그 주제를 구독 중인 다른 MSR들이 메시지를 받아 각자 자기 데이터베이스를 검색합니다.</li><li>각 MSR은 결과에 SECOM 서명을 붙여 콜백 주소로 업로드합니다. 어느 MSR이 준 결과인지도 함께 표시합니다.</li><li>처음 질의를 받은 MSR이 거래 ID별로 결과를 모으고 중복을 제거합니다.</li><li>선박은 거래 ID로 조회해 원격 MSR들의 결과를 받아갑니다. G1191은 첫 응답을 받은 뒤 3초, 6초, 10초에 결과를 조회하도록 정하고 있고, MSR은 30초 동안 거래를 열어 둡니다(§3.1).</li></ol><p>몇 가지 짚어둘 점이 있습니다.</p><p><strong>항로가 전파 범위를 정합니다.</strong> 질의에 검색 영역이 있으면 그 영역과 겹치는 구역 주제로만 요청이 나갑니다. 남대서양 항로로 질의하면 태평양 서비스만 가진 MSR은 애초에 요청을 받지 않습니다. 불필요한 트래픽과 응답이 줄어듭니다. 검색 영역 없이 키워드만으로 질의하면 전역 주제 하나로 발행됩니다.</p><p><strong>글로벌 검색이 기본입니다.</strong> 앞의 JSON 예시에 있던 localOnly 필드가 검색 범위를 정합니다. G1191에서는 이 값을 생략하면 false, 즉 글로벌 검색이 기본입니다. 사용자가 로컬과 글로벌 중 무엇을 할지 고르지 않아도 되도록, 항해 시스템이 필요에 따라 알아서 글로벌 검색을 하라는 취지입니다(§2.2.1). 앞의 코펜하겐 예시처럼 localOnly를 true로 명시하면 해당 MSR 안에서만 찾습니다. 다만 조건을 하나도 넣지 않은 검색은 글로벌로 퍼뜨리지 않고 로컬 검색으로 처리합니다. MSR의 글로벌 검색 참여는 권고(should) 사항이라, 로컬 저장소로만 운영하는 MSR도 있을 수 있습니다.</p><p><strong>닿는 범위는 참여 중인 MSR까지입니다.</strong> 글로벌 검색 네트워크에 참여하지 않았거나 해당 구역을 구독하지 않은 MSR의 서비스는 검색되지 않습니다. 각 MSR이 글로벌 검색에 어떤 결과를 내보낼지 스스로 정할 수도 있습니다(§3.1). 글로벌 검색이 “세상의 모든 해양 서비스”를 보장하지는 않습니다.</p><p><strong>항해사 입장에서 정리하면, 가장 가까운 MSR 한 곳에 항로를 넘기기만 하면 됩니다.</strong> 어느 MSR에 물어야 할지 몰라도 되고(문제 1), 항로와 관계없는 해역의 결과는 처음부터 오지 않습니다(문제 3).</p><h3>오픈소스 &amp; MCC General Working Group</h3><p>MSR의 스펙과 참조 구현도 MIR과 마찬가지로 오픈소스로 공개되어 있습니다.</p><ul><li><a href="https://github.com/maritimeconnectivity/ServiceRegistry"><strong>ServiceRegistry</strong></a> — MSR 참조 구현체 (Apache 2.0). Spring Boot 기반이며, PostgreSQL + PostGIS를 저장소로, Lucene을 검색 색인으로 사용합니다.</li><li>MCC 테스트베드에서 동작 중인 MSR의 API 문서는 <a href="https://msr.maritimeconnectivity.net/swagger-ui/index.html">msr.maritimeconnectivity.net/swagger-ui</a>에서 볼 수 있습니다.</li></ul><p>MCC가 MSR에 대해 관장하는 것은 MCP 네임스페이스, REST API 규격, 그리고 이 참조 구현체입니다. 표준 논의는 MCC General <strong>Working Group</strong>에서 이루어지고, 그 결과가 IALA G1128과 G1191 같은 가이드라인으로 정리됩니다.</p><h3>마치며</h3><p>지금까지 남대서양의 항해사가 겪는 세 가지 문제를 MSR이 어떻게 푸는지 살펴봤습니다.</p><ul><li><strong>어떤 서비스가 있는지 모르는 문제:</strong> 서비스를 MRN과 버전으로 한 곳에 등록하고, 상태와 접속 주소를 늘 최신으로 유지해 풀었습니다.</li><li><strong>찾아도 바로 쓸 수 없는 문제:</strong> G1128의 세 계층으로 서비스를 기계가 읽을 수 있게 기술해 풀었습니다.</li><li><strong>내 항로에 맞는 서비스를 골라낼 수 없는 문제:</strong> 서비스 제공 영역과 위치 기반 검색(SECOM)으로 풀었습니다.</li><li>그리고 <strong>글로벌 검색</strong>이 이 해결책들을 여러 나라의 MSR 전체로 넓혔습니다.</li></ul><p>MSR이 하는 일을 한 문장으로 요약하면, <strong>바다 위에서 “지금 내가 쓸 수 있는 서비스가 무엇이고, 어떤 규격으로 호출해야하며, 어디로 연결해야 하는가”라는 질문에 답을 줍니다.</strong></p><p>다음에는 MCP의 마지막 핵심 구성 요소이자, 이 글에서 글로벌 검색의 전달 경로로 잠깐 등장했던 <strong>MMS(Maritime Messaging Service)</strong> 로 찾아오겠습니다.</p><p>감사합니다.</p><h4>참고 자료</h4><ul><li><strong>IALA G1128</strong> — <em>The Specification of e-Navigation Technical Services</em>, Edition 1.6 (2017년 12월 제정, 2024년 12월 개정) — <a href="https://www.iala.int/product/g1128/">https://www.iala.int/product/g1128/</a></li><li><strong>IALA G1191</strong> — <em>Maritime Service Registry (MSR) Technical Specification</em>, Edition 1.2 (2025년 6월 제정, 2026년 6월 개정) — <a href="https://www.iala.int/product/g1191/">https://www.iala.int/product/g1191/</a></li><li><strong>IHO S-100</strong> — Universal Hydrographic Data Model</li><li><strong>IHO/IMO WWNWS</strong> — 전 세계 항행경보 서비스, NAVAREA 구획 — <a href="https://iho.int/en/wwnws">https://iho.int/en/wwnws</a></li><li><strong>IEC SECOM</strong> — Secure Communication 표준</li><li>MCP 공식 문서 — <a href="https://docs.maritimeconnectivity.net/">https://docs.maritimeconnectivity.net/</a></li><li>MSR 참조 구현 — <a href="https://github.com/maritimeconnectivity/ServiceRegistry">https://github.com/maritimeconnectivity/ServiceRegistry</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d46f237dab3a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/%EB%93%A4%EC%96%B4%EA%B0%80%EB%A9%B0-d46f237dab3a">해사 서비스 저장소, MSR(Maritime Service Registry) 소개</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modular Architecture in ChatSea App]]></title>
            <link>https://medium.com/aivenautics/modular-architecture-in-chatsea-app-d8675c99d9b8?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/d8675c99d9b8</guid>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[modularization]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[modular-architecture]]></category>
            <dc:creator><![CDATA[Seunghyeok Kim]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 08:08:28 GMT</pubDate>
            <atom:updated>2026-09-23T08:08:27.414Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello! I’m Seunghyeok from AIVeNautics.</p><p>Our team builds ChatSea, a maritime navigation app that lets users view various types of maritime information on a map and share information with other vessels through chat. In this post, I’d like to introduce the modular architecture we adopted for ChatSea. It’s a structure we chose specifically with coding agents in mind.</p><h3>The Architectures We’ve Been Through</h3><p>ChatSea didn’t start out with a modular architecture. As the app grew, we changed its architecture twice. I’d like to walk through what we tried along the way and where each approach fell short. This also explains how we ended up with the structure we use today.</p><h4>MVE Architecture</h4><p>MVE is a structure Apple uses in its sample code: organizing an app into Model, View, and Environment. Because it makes full use of the capabilities provided by the UI framework (SwiftUI), it was the fastest way for us to get started. It also required the least amount of code.</p><p>The problem was that there was almost no separation between features. The chat feature and the map feature shared the same Environment, and we often ended up modifying the same files. As the team grew, merge conflicts became a daily occurrence, and there was no clear answer to the question, “Where should this code go?”</p><h4>Clean Architecture</h4><p>Clean Architecture separates a codebase into layers such as Presentation, Domain, and Data, with dependencies always pointing inward, toward the business logic. Introducing layers gave us clearer boundaries between different parts of the codebase, so we finally had an answer to the question, “Where should this code go?” But it didn’t solve everything.</p><p>We still had conflicts between tasks. The layers were separated, but the workspaces for individual features weren’t completely isolated. Someone working on chat and someone working on the map could still end up touching the same folders.</p><p>Testing was also cumbersome. Because all the layers lived in a single target, even testing a single screen required building the entire app. Swapping real implementations for mocks also took a fair amount of work.</p><p>We also made import mistakes. Because the layer rules were represented only by folders, the compiler wouldn’t stop Presentation from directly importing a Data implementation. If we failed to catch it during code review, it became a problem.</p><p>So we started looking into modular architecture: an architecture that would be more robust than Clean Architecture and better suited to parallel development.</p><h3>What Is Modular Architecture?</h3><p>Splitting one product into several modules, building and reviewing each on its own, then putting them back together — that’s modular. The concept of modularity existed in many different places long before software engineering. You can find it in factories that manufacture products, in building-block toys we play with at home, and throughout both industry and everyday life.</p><p>Modular architecture brings this concept of modularity into software engineering to design and manage a product. In an app, each module becomes both a build target and an independent workspace. Unless Module A explicitly declares a dependency on Module B, it can’t even import B’s code.</p><p>These two properties — “a module is a workspace” and “only declared dependencies are allowed” — change more than you might expect. They make it possible to work in parallel and replace parts of the codebase at the module level, while allowing the build system, rather than people, to enforce dependency rules.</p><h3>Why We Chose Modular Architecture</h3><p>Until now, modular architecture has primarily been used in large codebases where preventing conflicts and enabling parallel development are critical. We’re a small team, but what mattered to us was that splitting the codebase into modules addressed many of the shortcomings we had experienced with the previous two architectures.</p><p>Once modules are divided by feature, the answer to “Where should this code go?” becomes the module itself. The person working on chat and the person working on the map work in different targets, so conflicts stop at module boundaries. We can build and test a single module independently, so there’s no need to build the entire app. And because modules can only depend on explicitly declared dependencies, an incorrect import becomes a compile error. The compiler enforces rules that people previously had to enforce themselves.</p><p>Of course, there are downsides. One reason modular architecture has traditionally been used mainly in large codebases is that managing the following overhead requires resources:</p><ul><li>Module scope: the never-ending question of where one module should begin and end</li><li>Complex rules: managing many modules requires clear rules for each one</li><li>Dependency management: preventing circular dependencies</li><li>Growing module count: as the number of modules increases, understanding the system as a whole becomes more difficult</li></ul><p>With the emergence of coding agents, however, the barrier to adopting a modular structure is getting lower, while its benefits are becoming even greater. In a modular architecture, coding agents can be used in ways like these:</p><ul><li>Rules, Skills, and Hooks: Have agents follow predefined rules and delegate module management to them.</li><li>Parallel agents: Assign each agent to a single module and let them work in parallel.</li><li>Large codebases: Separate AI-generated code by module so it can be reviewed and managed independently.</li></ul><p>The downside of increasing management complexity as the number of modules grows has also become more manageable with CI/CD and agent-based code review. That’s what made modular architecture a viable choice even for a small team like ours.</p><p>We implemented this modular architecture around two axes: TMA, which defines how each individual module is structured, and layer rules, which define how those modules are arranged. Let’s start with TMA.</p><h3>TMA</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gLS3cRbXIL8SsfCvSqm4ew.png" /><figcaption>TMA: one module, five targets</figcaption></figure><p>TMA (The Modular Architecture) is an approach to modular architecture proposed by the group behind Tuist. It was originally called the μFeatures (microfeatures) architecture, but it is now introduced as TMA. TMA describes a module as a collection of the following five targets:</p><ul><li>Interface: Abstract space, for interface(protocol in Swift) and models that the module exposes externally. An independent target with no dependencies. This is where this module promises what it will provide.</li><li>Source: The module’s code and resources. Depends on Interface and turns the promised functionality into working code. Sometimes called Implementation.</li><li>Testing: Depends on Interface and provides the mocks and dummy data needed for testing. A mock keeps the promise (Interface) but is deliberately different from the real thing so that it&#39;s easy to test against. We&#39;ll look at this more closely in the examples below.</li><li>Tests: The module’s unit and integration tests. Depends on Testing and Source, allowing tests to run in an environment isolated from other modules.</li><li>Example: Depends on Testing and Source, and provides a small app where developers (and designers) can independently inspect the module’s UI/UX and functionality. On our team, we call this target Demo.</li></ul><p>This may be difficult to visualize from the description alone, so let’s walk through an example.</p><h3>TMA Example</h3><h4>1. Dependencies Within a Module</h4><p>Let’s assume we have two modules, A and B. A needs functionality provided by B. In TMA, each module has five targets, so both A and B have the same structure. For now, let’s focus on A.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8k3xN5vS1v7B2bv5BKC5dQ.png" /><figcaption>Inside a module: everything converges on Interface</figcaption></figure><p>As described above, Interface has no dependencies. Source and Testing depend only on Interface, while Tests and Example depend on Source and Testing.</p><p>Interface defines the functionality the module promises to provide. Source implements that promise as actual code. Testing provides fake implementations and dummy data needed for testing. Tests and Example combine those pieces to verify or run the module.</p><p>But the Interface that Source depends on doesn’t have to belong only to its own module. It can also depend on the Interfaces of other modules. This is the key idea behind TMA.</p><h4>2. Dependencies Between Modules</h4><p>We’ve seen what dependencies look like within a module. So what happens between modules? When depending on another module, you only need to depend on that module’s Interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rfvYy4F7qqA61BDgze8DRQ.png" /><figcaption>Between modules: you only see the other side’s Interface</figcaption></figure><p>Module A depends only on Module B’s interface, not on B’s implementation. In other words, A only needs to know what B promises to provide; how B fulfills that promise is entirely B’s responsibility. This separation means that B’s internal implementation can change freely without affecting A, as long as the interface remains unchanged.</p><h4>3. Dependencies for Testing</h4><p>In the actual app, Module A would receive B’s real implementation and run against it. During development, however, B may not be ready yet. As dependencies grow, waiting for every dependent module to be completed quickly becomes inefficient. If A can be developed and tested in isolation, without requiring the entire app to be available, teams can work much more independently and in parallel.</p><p>This is where the separation described in step 2 becomes useful. A’s source code only depends on B’s interface, not on B’s concrete implementation. From A’s point of view, it does not matter whether it receives the real B or some other implementation that conforms to the same interface. The compiler makes the same distinction: it only sees a type that satisfies the interface. There is no built-in notion of a “real” implementation versus a “fake” one. For testing, we can therefore provide a substitute implementation — a mock — in place of the real B.</p><p>The basic pattern proposed by TMA is for each module’s Testing target to provide its own fake implementation. If B’s Testing target provides a fake B, A’s Tests can inject that fake into A’s Source and exercise A independently. A’s Example target can use the same fake implementation to run A as a lightweight standalone app. As a result, development of A no longer has to wait for the real B to be completed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aaot5hjnHya40GKr9iBepQ.png" /><figcaption>The default TMA shape: reuse the mock the lower module ships</figcaption></figure><p>So what goes into A’s Testing target? As shown in the diagram, it contains “fake A” and “A’s dummy data.” Fake A is the mock that higher-level modules can use when testing. Dummy data consists of sample values for tests. Interface contains not only functionality but also models, and when writing tests, we often need to compare input and output values. That means we need somewhere to store dummy data created from models defined in Interface. Testing is that place. This is why Testing contains both mocks and dummy data, making it — as the name suggests — a target specifically for Tests and Example.</p><h4>4. Adaptation: Creating Fakes Directly from Interfaces</h4><p>Our team doesn’t use this basic form exactly as-is. Using mocks provided by lower-level modules is convenient, but it also means you can’t modify those mocks to suit your own tests. Team members also need to agree on the structure of the mocks they provide.</p><p>So instead of consuming mocks from other modules, we decided that each module’s Testing target would depend only on the Interfaces of lower-level modules and create the fakes it needs itself. In other words, A’s Testing target looks at B’s Interface and creates its own fake B.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G8V2OJMZ44LqA73f8LgoaQ.png" /><figcaption>Our variant: Testing builds its own fakes from the Interface</figcaption></figure><p>This requires a little more work to create mocks, but each module is free to create fakes that fit its own tests exactly. It also means that every dependency on another module — whether from Source or Testing — ends at a single Interface. We decided this approach better aligns with the principle of showing only what needs to be shown and hiding everything else.</p><p>That’s TMA. Split a module into five targets, expose only Interface to other modules, and put test fakes and dummy data in Testing. That’s all there is to it. It’s a simple set of rules, but once the Interface dependencies are defined, it becomes a very powerful structure because development of other modules has no impact on your own.</p><p>But once you have dozens of modules structured this way, you need to answer another question: “Which modules are allowed to depend on which other modules?” Our second axis, layers, provides the answer.</p><h3>Layers</h3><p>If TMA answers “How should we split an individual module?” and “How should modules depend on one another?”, layers answer “How should those modules be arranged?”</p><p>First, let’s define a few terms.</p><ul><li>Layer: think of a layer as a collection of conceptually similar modules.</li><li>Module: a collection of code required to serve a specific purpose. Each module follows the TMA structure.</li><li>Unidirectional dependency: a relationship where A depends on B, but B knows nothing about A. A can be affected by changes to B, but B remains unaffected no matter how A changes.</li></ul><p>For layers, we have only two rules:</p><ol><li>Modules within the same layer do not depend on (or know about) each other.</li><li>Dependencies between layers are always unidirectional.</li></ol><h3>Why Do We Need Layers?</h3><p>In the previous TMA example, there were only two modules: A and B. At that scale, you don’t really need rules. A depends on B. That’s it.</p><p>But as an app grows, the number of modules naturally increases. ChatSea currently has 40 modules. If all 40 could depend on each other freely, that gets hard to manage. In particular, every time we added a new dependency, we would have to ask, “Could this create a circular dependency?”</p><p>Layers are our solution to this problem. By assigning every module to a “layer” and enforcing just the two rules above, circular dependencies stop being something we have to “carefully avoid” and become something that simply cannot be created. Lower layers don’t even know that upper layers exist, and modules don’t know about their neighbors within the same layer. No matter how many modules we add, the decision we need to make is reduced to a single question: “Which layer does this module belong to?”</p><h3>ChatSea’s Layer Structure</h3><p>ChatSea has five layers. Drawing every module would make the diagram unreadable, so we’ve selected only a few. Every arrow points to the Interface of the module it depends on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hl0kWDkNzjffSLe4tOUYQ.png" /><figcaption>ChatSea’s layers: modules only depend downward</figcaption></figure><ul><li>App — This layer focuses on the app itself. It contains the entry point, AppDelegate, deep link handling, and the DI container and Router that assemble Features into the actual app. We keep this layer as thin as possible so that it only performs assembly and contains no logic.</li><li>Feature — This corresponds to Presentation in Clean Architecture. It contains View + ViewModel + UI-specific models. The screens users interact with directly live here, in modules like FeatureChat and FeatureMap.</li><li>Data — This is where we combine Domain and Data from Clean Architecture. It contains Entities, Repository protocols, and their implementations. This is where most of the actual business logic is performed. For example, in the diagram above, DataChat combines CoreAPIClient (server), CoreLocalDB (local storage), and CoreMaritimeMessagingService (maritime communication).</li><li>Core — This is the infrastructure layer. It contains technical solutions such as the API client, Keychain, CoreData, and UserDefaults.</li><li>Shared — This contains common modules that need to be used across multiple layers. Examples include DesignSystem, Localization, Platform (permissions and device-related functionality), and Logger. However, modules that use UI, such as DesignSystem and Platform, can only be depended on by Feature and higher layers. Core and Data can only use Foundation-only modules such as Logger.</li></ul><p>We use naming conventions such as Feature{Name}, Data{Name}, and Core{Name} so that you can tell which layer a module belongs to just by looking at its name. If we see code where FeatureChat tries to import CoreLocalDB directly, we can catch it immediately during code review. It may seem minor, but once you have dozens of modules, naming conventions like these end up doing a surprising amount of work for you.</p><h3>Wrapping Up</h3><p>We’ve looked at the two axes of our architecture: TMA and layers. To summarize:</p><ul><li>TMA splits an individual module into Interface/Source/Testing/Tests/Example, ensuring that only Interface is exposed between modules.</li><li>Layers arrange those modules into levels and enforce unidirectional dependencies.</li></ul><p>Both are saying the same thing in the end: show only what needs to be shown and hide everything else. As a result, when modifying a module, the scope we need to consider is reduced to that module and the interfaces it depends on. The three problems we encountered at the beginning are now prevented by the build system rather than by people.</p><p>Of course, the overhead we mentioned earlier hasn’t disappeared entirely. “Where should the boundary of this module be?” is still something we discuss every time we create a new module, and as the number of targets has grown, our project configuration and CI setup have grown with it. But most of these costs are concentrated at the point when a module is created, whereas the three problems above were costs we paid every day. As a small team, we chose modular architecture because we decided that trade-off was worth it.</p><p>So if you’re considering adopting modular architecture, I’d suggest looking at these factors alongside the size of your team. Do you frequently run into code conflicts? Do you have to build the entire app just to check a single screen? And are the rules you’ve written for your coding agents enforced only on paper? Does someone still have to read AI-generated code to check whether those rules were followed? If any of these continue to bother you, modular architecture may be worth considering.</p><p>That’s it for ChatSea’s modular architecture. Thank you for reading.</p><h4>Further Reading</h4><p><a href="https://tuist.dev/docs/guides/features/projects/tma-architecture">https://tuist.dev/docs/guides/features/projects/tma-architecture</a></p><p><a href="https://developer.android.com/topic/modularization">https://developer.android.com/topic/modularization</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8675c99d9b8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/modular-architecture-in-chatsea-app-d8675c99d9b8">Modular Architecture in ChatSea App</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ChatSea 앱의 모듈러 아키텍쳐]]></title>
            <link>https://medium.com/aivenautics/chatsea-%EC%95%B1%EC%9D%98-%EB%AA%A8%EB%93%88%EB%9F%AC-%EC%95%84%ED%82%A4%ED%85%8D%EC%B3%90-4ffdd3e96650?source=rss----fb80afd1e99d---4</link>
            <guid isPermaLink="false">https://medium.com/p/4ffdd3e96650</guid>
            <category><![CDATA[modular]]></category>
            <category><![CDATA[modular-architecture]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[android-app-development]]></category>
            <dc:creator><![CDATA[Seunghyeok Kim]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 06:52:04 GMT</pubDate>
            <atom:updated>2026-09-23T06:52:03.084Z</atom:updated>
            <content:encoded><![CDATA[<p>안녕하세요! 주식회사 에이브노틱스의 김승혁입니다. 저희 팀이 만든 ChatSea는 해상의 다양한 정보를 지도 위에서 확인하고, 다른 선박과 채팅으로 정보를 공유하는 해양 내비게이션 앱입니다. 이번 글에서는 ChatSea에 도입한 모듈러 아키텍쳐를 소개해보려 합니다. 코딩 에이전트와 함께 일하기 위해 선택한 구조예요.</p><h3>저희가 거쳐온 아키텍쳐들</h3><p>ChatSea는 처음부터 모듈러 아키텍쳐로 시작한 게 아닙니다. 앱이 커지면서 구조를 두 번 변경했어요. 그 과정에서 무엇을 시도하였고, 무엇이 아쉬웠는지를 적어보겠습니다. 저희가 왜 지금의 구조에 도착했는지가 여기서 설명되거든요.</p><h4><em>MVE 아키텍쳐</em></h4><p>MVE는 Apple이 예시 코드에 사용하는 구조로, Model, View, Environment로 나누어 만드는 패턴입니다. UI 프레임워크(SwiftUI)의 기능을 최대한 활용하는 구조라 처음 시작하기엔 가장 빨랐어요. 코드도 가장 적었습니다.</p><p>문제는 기능 간의 구분이 거의 없다는 점이었습니다. 채팅 기능과 지도 기능이 같은 Environment를 공유하고, 같은 파일을 건드리는 일이 잦았어요. 사람이 늘자 코드 충돌이 일상이 됐고, “이 코드는 어디에 있어야 하지?”라는 질문에 답이 없었습니다.</p><h4>클린 아키텍쳐</h4><p>클린 아키텍쳐는 Presentation, Domain, Data로 계층(Layer)을 나누고, 의존은 항상 안쪽(비즈니스 로직)을 향하게 하는 구조입니다. 계층을 도입함으로서, 코드 사이에 구분이 생기면서 “이 코드는 어디에?”라는 질문에는 답이 생겼지만, 모든 문제가 해결되진 않았습니다.</p><p>작업간 충돌이 발생했습니다. 계층은 나뉘었지만 기능별로 작업 공간이 완전히 분리된 건 아니어서, 채팅을 만드는 사람과 지도를 만드는 사람이 같은 폴더를 건드리는 일이 생겼어요.</p><p>또한 테스트가 번거로웠습니다. 계층이 전부 한 타겟 안에 있어서, 화면 하나를 테스트하려 해도 앱 전체를 빌드해야 했고, 실제 구현에 목업을 바꿔 끼우는 것도 손이 많이 갔습니다.</p><p>import 실수가 생겼습니다. 계층 규칙이 폴더로만 표현되어 있어서, Presentation에서 Data 구현체를 직접 import해도 컴파일러는 막지 않았어요. 코드 리뷰에서 잡아내지 못하면 문제가 되었습니다.</p><p>그래서 저희는 클린 아키텍쳐보다 더 견고하면서, 병렬로 작업하기 좋은 아키텍쳐인 모듈러 아키텍쳐에 대해 검토하게 되었습니다.</p><h3>모듈러 아키텍쳐란?</h3><p>하나의 프로덕트를 여러 모듈로 나누어 각각 만들고 검토한 뒤, 다시 하나로 합치는 방식을 모듈러라고 합니다. 이 모듈러 개념은 소프트웨어 엔지니어링 이전부터, 꽤 다양한 장소에 존재해왔습니다. 제품을 만드는 공장이나, 가정에서 즐기는 블럭 장난감 등, 산업과 일상에 깊이 스며들어 있죠.</p><p>모듈러 아키텍쳐는 소프트웨어 엔지니어링에서 이 모듈러 개념을 도입해 프로덕트를 설계 및 관리하는 것입니다. 앱에서는 모듈 하나가 곧 빌드 타겟이자 작업 공간 하나예요. 모듈 A가 모듈 B를 의존한다고 선언하지 않으면, B의 코드는 import조차 되지 않습니다.</p><p>이 “모듈이 작업 공간이다”와 “선언한 의존만 허용된다”는 성질이 생각보다 많은 것을 바꿔줍니다. 모듈 단위로 병렬 작업과 부분 교체가 가능해지고, 의존 규칙을 사람이 아니라 빌드 시스템이 강제하게 되거든요.</p><h3>모듈러 아키텍쳐를 선택한 이유</h3><p>모듈러 아키텍쳐는 지금까지는 충돌 방지와 병렬 작업이 절실한 대규모 코드베이스에서 주로 써왔습니다. 저희는 작은 팀이지만, 앞서 두 구조에서 아쉬웠던 점들이 모듈을 나눔으로써 해결된다는 점이 컸습니다.</p><p>기능 단위로 모듈이 나뉘니 “이 코드는 어디에 있어야 하지?”의 답이 모듈이 됩니다. 채팅 담당과 지도 담당이 다른 타겟에서 일하니, 충돌은 모듈 경계에서 멈춥니다. 모듈 하나만 따로 빌드해서 테스트할 수 있으니, 앱 전체를 빌드 할 필요가 없어졌어요. 모듈 사이의 의존은 선언한 것만 가능하니 import 실수는 컴파일 에러가 되고요. 사람이 지키던 규칙을 컴파일러가 대신 지켜주는 겁니다.</p><p>물론 단점도 있습니다. 모듈러가 지금까지 대규모 코드베이스에서 주로 쓰인 것도, 아래의 부담을 감당할 인력이 필요했기 때문이에요.</p><ul><li>모듈의 범위: 어디까지를 한 모듈로 볼지, 끝나지 않는 고민</li><li>복잡한 규칙: 많은 모듈을 관리하려면 모듈마다 명확한 규칙이 필요</li><li>의존 관리: 순환 참조 예방</li><li>많아지는 모듈: 위와 맞물려, 개수가 늘면 전체를 파악하기 어려움</li></ul><p>그리고 코딩 에이전트가 등장하면서 모듈러 구조의 진입 장벽이 더 낮아지고, 효용성이 더 올라가고 있습니다. 모듈러 구조에서는 코딩 에이전트를 이렇게 활용할 수 있거든요.</p><ul><li>Rules, Skills, Hook: 정의한 규칙을 에이전트에게 따르게 하여, 모듈 관리를 위임할 수 있습니다.</li><li>병렬 에이전트: 각 에이전트가 하나의 모듈을 맡아 병렬로 작업합니다.</li><li>큰 코드 베이스: AI가 생성하는 코드를 모듈 단위로 분리해 검토, 관리할 수 있습니다.</li></ul><p>모듈이 늘수록 관리가 복잡해진다는 단점도, CI/CD 및 에이전트 코드 리뷰를 활용함으로써 감당할 만해졌어요. 작은 팀인 저희가 모듈러를 고를 수 있었던 이유입니다.</p><p>저희는 이 모듈러 아키텍쳐를 두 축으로 구체화했습니다. 모듈 하나를 어떻게 구성할지 정하는 TMA와, 그 모듈들을 어떻게 배치할지 정하는 계층(Layer) 규칙이에요. 먼저 TMA부터 살펴보겠습니다.</p><h3>TMA</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Maxl1PyWsYpN8agjwhh5tw.png" /><figcaption>TMA — 모듈 하나를 이루는 다섯 개의 타겟</figcaption></figure><p>TMA(The Modular Architecture)는 Tuist라는 그룹에서 제안한 모듈러 아키텍쳐 접근 방식입니다. 원래는 μFeatures(마이크로피처) 아키텍쳐라고 불렀는데, 지금은 TMA라는 이름으로 소개하고 있네요. TMA는 하나의 모듈을 다음 다섯 가지 타겟의 집합으로 설명합니다.</p><ul><li>Interface : 모듈이 외부에 공개하는 interface(protocol in Swift)와 model. 아무것도 의존하지 않는 독립적인 타겟이며, 이 모듈이 어떤 기능을 제공할지 약속하는 곳입니다.</li><li>Source: 모듈의 코드와 리소스.Interface를 의존해서, 약속한 기능을 실제로 동작하는 코드로 만드는 공간입니다.Implementation이라고 부르기도 해요.</li><li>Testing:Interface를 의존해서, 테스트에 필요한 mock과 더미 데이터를 만드는 곳입니다. mock은 약속(Interface)은 따르되, 테스트하기 쉽도록 일부러 실제와 다르게 만든 구현입니다. 아래 예시에서 더 자세히 보겠습니다.</li><li>Tests: 모듈의 Unit 및 Integration test. Testing과 Source를 의존해서, 다른 모듈에 영향이 안 가는 환경에서 테스트를 수행합니다.</li><li>Example:Testing과 Source를 의존해서, 개발자(와 디자이너)가 모듈의 UI/UX와 기능을 따로 확인해볼 수 있는 작은 앱입니다. 저희 팀에서는 이 타겟을 Demo라고 부르고 있어요.</li></ul><p>설명만으로는 잘 와닿지 않으실 것 같아요. 예시를 보면서 따라가 보겠습니다.</p><h3>예시</h3><h4>1. 모듈 안의 의존</h4><p>A, B 두 개의 모듈이 있다고 가정해봅시다. A는 B의 기능이 필요해요. TMA에서는 각 모듈이 다섯 개의 타겟을 가지니, A와 B도 마찬가지입니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6IZzUrjOgpgNpt5eHepWWQ.png" /><figcaption>모듈 안의 의존</figcaption></figure><p>지금은 A에 집중해서 살펴볼게요. 위에 적힌 대로, Interface는 아무것도 의존하지 않고, Source와 Testing은 Interface만, Tests와 Example은 Source와 Testing을 의존하고 있네요.</p><p>Interface에는 이 모듈이 제공할 기능을 약속해두고, Source는 그 약속을 실제 코드로 구현하고, Testing은 테스트에 필요한 가짜 구현과 더미 데이터를 만들고, Tests와 Example은 그 둘을 조합해서 검증하거나 실행해봅니다.</p><p>그런데 Source가 의존하는 Interface는 자기 자신의 것만이 아닙니다. 다른 모듈의 Interface도 의존할 수 있는데, 이게 TMA의 핵심이에요.</p><h4>2. 모듈 사이의 의존</h4><p>모듈 안에서의 의존은 위와 같습니다. 그러면 모듈 사이의 의존은 어떻게 될까요? 다른 모듈을 의존할 때는, 그 모듈의 Interface만 의존하면 됩니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lP0b6ja7p7gvTEm57fN49w.png" /><figcaption>모듈 사이의 의존 — 상대의 Interface만 본다</figcaption></figure><p>A의 Source에서는, B의 기능을 사용하기 위해 B의 Interface를 불러옵니다. B의 Source는 부르지 않아요.(몰라도 되니까요!) A가 아는 것은 “B가 무엇을 약속했는가”뿐이고, 그 약속을 실제로 어떻게 구현하는지는 B의 사정입니다. 덕분에 B의 Source가 어떻게 바뀌든, Interface만 그대로라면 A는 아무 영향을 받지 않습니다.</p><h4>3. 테스트를 위한 의존</h4><p>실제 앱에서는 진짜 B의 Source를 A에게 넘겨줘서 동작할 거예요. 하지만 개발 중에는 B가 아직 만들어지는 중일 수도 있고, 의존하는 모듈이 많아질수록 그 모듈들이 전부 완성되기를 기다리는 건 비효율적이죠. 전체 앱과 상관없이 A만을 위한 독립적인 환경에서 개발하고 테스트할 수 있다면 협업의 효율이 크게 올라가게 됩니다.</p><p>여기서 2번의 성질을 역이용할 수 있습니다. A의 Source는 B의 Interface만 알고 있죠. 그러니 그 자리에 진짜 B의 Source가 오든, Interface만 따르는 낯선 코드가 오든 문제가 생기지 않습니다. 컴파일러 입장에서는 “Interface를 만족하는 타입”이 있을 뿐, “진짜 구현”과 “가짜 구현”이라는 구분 자체가 없거든요. 그래서 테스트에서는 진짜 대신 끼워 넣을 가짜(mock)를 만듭니다.</p><p>이때 TMA가 제시하는 기본 형태는, 각 모듈의 Testing이 자기 자신의 가짜를 만들어 두는 것입니다. B의 Testing이 가짜 B를 만들어 두면, A의 Tests는 그 가짜 B를 A의 Source에게 넘겨줘서, A를 실행시킨 뒤 테스트를 진행합니다. A의 Example은 같은 가짜 B를 넘겨줘서, A를 가벼운 앱으로 돌려보고요. 실제 B의 개발과 상관없이, A의 개발을 먼저 시작하고 끝낼 수 있는 거예요.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Wzkt-j03G2funk9r2afZA.png" /><figcaption>TMA 기본형 — 하위 모듈이 만든 mock을 그대로 쓴다</figcaption></figure><p>그럼 A의 Testing에는 뭐가 담겨 있을까요? 다이어그램에 적힌 대로 “가짜 A”와 “A의 더미 데이터”입니다. 가짜 A는 A의 상위 모듈이 테스트할 때 가져다 쓸 mock이에요. 더미 데이터는 테스트용 샘플 값입니다. Interface에는 기능뿐 아니라 모델도 담기는데, 테스트를 작성하다 보면 입력값과 출력값을 대조해야 하니, Interface에 정의된 모델로 만든 더미 데이터를 보관할 장소가 필요하거든요. 그 장소가 Testing이에요. 그래서 Testing은 mock과 더미 데이터가 공존하는, 이름 그대로 Tests와 Example을 위한 타겟이 됩니다.</p><h4>4. 응용: Interface만 의존해 직접 만들기</h4><p>저희 팀은 이 기본 형태를 그대로 쓰지 않고, 조금 응용했습니다. 하위 모듈이 만들어 준 mock을 그대로 쓰면 편하지만, 내 테스트에 맞게 mock을 바꿀 수 없다는 뜻이기도 하거든요. 팀원들 사이에 사용할 mock의 구조가 합의되어야 하기도 하구요.</p><p>그래서 저희는 mock을 받아 쓰는 대신, 각 모듈의 Testing이 하위 모듈의 Interface만 의존해서 필요한 가짜를 직접 만들기로 했습니다. A의 Testing이 B의 Interface를 보고 가짜 B를 만드는 거예요.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hihrzPc5bINRFTmGiXcEiw.png" /><figcaption>ChatSea의 응용 — Testing이 Interface만 보고 직접 만든다</figcaption></figure><p>mock을 만드는 수고는 조금 늘지만, 각 모듈이 자기 테스트에 딱 맞는 가짜를 자유롭게 만들 수 있습니다. 그리고 다른 모듈로의 의존이 Source든 Testing이든 전부 Interface 하나로 끝나게 되죠. 보여줄 것만 보여주고 나머지는 숨긴다는 원칙에는, 이쪽이 더 맞다고 판단했어요.</p><p>여기까지가 TMA입니다. 모듈 하나를 다섯 개의 타겟으로 쪼개고, 다른 모듈에게는 Interface만 보여주며, 테스트를 위한 가짜와 더미 데이터는 Testing에 담는다. 이게 전부예요. 간단한 규칙이지만, 의존하는 Interface들만 정해지면 다른 모듈 개발에 아무 영향을 안받기에 매우 강력한 구조가 됩니다.</p><p>그런데 이렇게 쪼갠 모듈이 수십 개가 되면, 이제는 “어떤 모듈이 어떤 모듈을 의존해도 되는가”를 정해야 합니다. 두 번째 축인 계층(Layer)이 이 질문에 대한 답입니다.</p><h3>계층(Layer)</h3><p>TMA가 “모듈 하나를 어떻게 쪼갤 것인가”와 “모듈끼리의 의존을 어떻게 할 것인가”에 대한 답이라면, 계층은 “모듈들을 어떻게 배치할 것인가”에 대한 답입니다.</p><p>먼저 용어를 정리하고 가야 될 것 같아요.</p><ul><li>계층: 개념적으로 비슷한 모듈들을 모아놓은 집합이라고 이해해주시면 됩니다!</li><li>모듈: 특정 목적을 수행하는 데 필요한 코드 뭉치. TMA 구조를 따릅니다.</li><li>단방향 의존: A는 B를 의존하지만, B는 A를 모르는 관계. A는 B의 변경에 영향을 받지만, B는 A가 어떻게 변하든 영향을 받지 않습니다.</li></ul><p>그리고, 계층과 관련해서는 딱 두 가지 규칙만 두었습니다.</p><ol><li>같은 계층 안에 있는 모듈들은 서로를 의존(인지)하지 않는다</li><li>계층 사이의 의존은 항상 단방향으로 이루어진다</li></ol><h3>계층이 왜 필요한가</h3><p>앞의 TMA 예시에는 모듈이 A, B 두 개뿐이었습니다. 이 정도면 규칙이 없어도 됩니다. A가 B를 의존한다, 끝이에요.</p><p>그런데 앱을 개발하다 보면 모듈의 수는 자연스럽게 늘어나게 됩니다. ChatSea에는 지금 모듈이 40개 있는데요, 이 40개의 모듈이 서로 자유롭게 의존할 수 있다면, 관리가 좀 어려워지게 됩니다. 특히, 새 의존을 추가할 때마다 “순환 참조 문제가 발생하지 않을까?”를 따져봐야 합니다.</p><p>계층은 이 문제에 대한 해결책입니다. 모든 모듈을 “층”에 소속되게 하고, 위 두 규칙만 지키게 하면 순환 참조는 “조심해서 피하는 것”이 아니라 “만들 수 없는 것”이 됩니다. 아래쪽 계층은 위쪽 계층의 존재 자체를 모르고, 같은 층의 이웃도 모르니까요. 모듈이 몇 개로 늘어나든 판단해야 할 것은 “이 모듈이 어느 계층에 속하는가” 하나로 줄어듭니다.</p><h3>ChatSea의 계층 구조</h3><p>ChatSea는 다섯 개의 계층을 두고 있습니다. 전체 모듈을 다 그리면 읽을 수 없으니, 일부만 골라서 그려봤습니다. 화살표는 전부 상대 모듈의 Interface를 향합니다.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cuFkhOS500LFviwlWlDN9Q.png" /><figcaption>ChatSea의 계층 구조 — 모듈은 아래로만 의존한다</figcaption></figure><ul><li>App — 앱 그 자체에 집중하는 계층입니다. 진입점, AppDelegate, 딥링크 처리, 그리고 Feature들을 조립해 실제 앱으로 만드는 DI 컨테이너와 Router가 여기에 있습니다. 로직을 갖지 않고 조립만 하도록, 최대한 얇게 유지합니다.</li><li>Feature — 클린 아키텍쳐의 Presentation에 해당합니다. View + ViewModel + UI 전용 모델. 사용자와 직접 상호작용하는 화면들이 여기 있습니다. FeatureChat, FeatureMap 같은 모듈들이죠.</li><li>Data — 클린 아키텍쳐의 Domain과 Data를 합친 자리입니다. Entity와 Repository 프로토콜, 그리고 그 구현체. 사실상의 비즈니스 로직이 수행되는 곳입니다. 위 그림에서 DataChat이 CoreAPIClient(서버), CoreLocalDB(로컬 저장), CoreMaritimeMessagingService(해상 통신) 셋을 조합하는 것처럼요.</li><li>Core — 인프라입니다. API 클라이언트, Keychain, CoreData, UserDefaults처럼 기술적인 해결책이 도입되는 부분이에요.</li><li>Shared — 여러 계층이 함께 써야 하는 공용 모듈들입니다. DesignSystem, Localization, Platform(권한·기기 관련), Logger 등이 있습니다. 단, DesignSystem·Platform처럼 UI를 쓰는 모듈은 Feature 위쪽 계층만 의존할 수 있습니다. Core/Data가 쓸 수 있는 건 Logger 같은 Foundation 전용 모듈뿐이에요.</li></ul><p>모듈 이름만 봐도 소속 계층을 알 수 있도록 Feature{Name}, Data{Name}, Core{Name} 규칙을 씁니다. FeatureChat이 CoreLocalDB을 직접 import하려는 코드가 있다면, 코드 리뷰에서 바로 잡아낼 수 있어요. 사소해 보이지만, 모듈이 수십 개가 되면 이런 이름 규칙이 꽤 많은 일을 대신 해줍니다.</p><h3>마무리</h3><p>TMA와 계층, 두 축을 살펴봤습니다. 정리하면 이렇습니다.</p><ul><li>TMA는 모듈 하나를 Interface/Source/Testing/Tests/Example로 쪼개서, 모듈 간에는 Interface만 노출되게 만듭니다.</li><li>계층은 그 모듈들을 층으로 배치하고, 의존을 단방향으로 강제합니다.</li></ul><p>둘 다 결국 같은 이야기를 하고 있어요. 보여줘야 하는 것만 보여주고 나머지는 숨긴다는 겁니다. 덕분에 모듈 하나를 고칠 때 봐야 할 범위가 그 모듈과, 그 모듈이 의존하는 Interface들로 줄어듭니다. 처음에 아쉬웠던 세 가지를 이제 사람이 아니라 빌드 시스템이 막아주고 있고요.</p><p>물론 앞에서 적은 부담이 완전히 사라진 건 아닙니다. “이건 어디까지가 한 모듈인가”는 새 모듈을 만들 때마다 여전히 토론거리고, 타겟이 늘어난 만큼 프로젝트 설정과 CI도 같이 커졌습니다. 다만 이 비용은 대체로 모듈을 만드는 시점에 몰려 있는 반면, 앞의 세 문제는 매일 치르던 비용이었어요. 작은 팀인 저희가 모듈러를 고른 것도, 이 교환이 충분히 가치 있다고 판단했기 때문입니다.</p><p>그래서 도입을 고민 중이시라면 팀 규모와 더불어 이런 것들을 살펴보시면 좋겠습니다. 코드 충돌이 자주 발생하시는지, 화면 하나 확인하려고 앱 전체를 빌드하고 있는지. 그리고 에이전트에게 지키라고 적어둔 규칙이 문서로만 존재하는지, AI가 생성한 코드가 그 규칙을 지켰는지를 결국 사람이 읽어서 확인하고 있는지. 계속 마음에 걸리는 부분이 있다면, 모듈러를 한번 검토해 보셔도 좋을 것 같습니다.</p><p>여기까지 ChatSea의 모듈러 아키텍쳐였습니다. 긴 글 읽어주셔서 감사합니다.</p><h4>읽을거리</h4><p><a href="https://tuist.dev/ko/docs/guides/features/projects/tma-architecture">https://tuist.dev/ko/docs/guides/features/projects/tma-architecture</a></p><p><a href="https://developer.android.com/topic/modularization?hl=ko">https://developer.android.com/topic/modularization?hl=ko</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ffdd3e96650" width="1" height="1" alt=""><hr><p><a href="https://medium.com/aivenautics/chatsea-%EC%95%B1%EC%9D%98-%EB%AA%A8%EB%93%88%EB%9F%AC-%EC%95%84%ED%82%A4%ED%85%8D%EC%B3%90-4ffdd3e96650">ChatSea 앱의 모듈러 아키텍쳐</a> was originally published in <a href="https://medium.com/aivenautics">AIVeNautics</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>