Page 99 - Demo
P. 99


                                    Automatic Identification System Data Fusion87Marine Research of the National Academy of Marine ResearchDOI: 10.29677/MR.202406_4(1).0006 An application programming interface (API) allows for the analysis and processing of input data and its presentation or storage in a designated interface or environment. By utilizing an API, communication between different hardware devices, computer software, and platform facilities can be achieved. An API serves as a bridging interface between different environments, significantly reducing the complexity and cost of datatransmission and computation. With the increasing scale and variety of software and hardware in recent years, communication between different complex systems has become crucial. APIs enable the proper division of responsibilities among software systems in different environments. Well-designed APIs can reduceinterdependencies between systems, thereby enhancing system maintainability and scalability, as shown in Figure 5. In this study, the powerful data interoperability of APIs was leveraged between different software applications. AIS data was transmitted in different data formats among compiled programs, front-end webpages, mobile devices, and backend databases, while preserving the integrity of the original data. APIs are categorized into five main types. This study utilized protocol-based APIs, device APIs, and web APIs to achieve high compatibility across different operating environments. The data format is an important component of APIs, and the designers of these interfaces have the freedom to determine the format and specifications of the data to be returned. As for an HTTP API, it serves as the communication medium for data transmission between the database server and the user interface. HTTP utilizes the HTML structure as the original format for data exchange between web servers and computer system browsers. Nowadays, users can access the internet on various devices such as computers, smartphones, and wearable devices. The availability of different devices allows for diverse approaches to data processing. When using an HTTP API or web API to transmit data, there are commonly two response formats. In this study, the JSON format was used as the primary format fortransmitting AIS data.Figure 5. API interface architecture.
                                
   93   94   95   96   97   98   99   100   101   102   103