asked 173k views
3 votes
Do me a paragraph refernce IEEE style for this

client-server system that exchanges information about flights at a certain airport. The emphasis in this project is on client/server architecture, network communication, multithreading, API, and applying good coding practices.
The system should consist of two Python scripts (the server and the client). The server should retrieve data of a selected airport from aviationstack.com via the proper API, extract the required information from the retrieved data, manage connections with multiple simultaneous clients, and respond to client requests.
The Server Script
The server should start by asking about the target airport (ICAO code) and retrieve the information about flights at the specified airport over an API. Then the server should be
1
ready to handle the clients with their requests. It should extract the needed information from the API response and send it to the client.
The server should conduct the following tasks:
1. Once the server starts up, it should ask the user to enter the airport code (arr_icao).
2. Uses the proper API to retrieve 100 records of flights at the specified airport (use
avaitionstack.com).
3. Store the retrieved data in a JSON file called "group_ID.json" (for testing and
evaluation purposes)
4. Wait for clients' requests to connect (should accept at least three connections
simultaneously).
a. Accept the connection.
b. Store the client’s name and display it on the terminal.
5. Wait for clients’ requests, search the retrieved data for matching, and send a reply with the matching information.
a. All arrived flights (return flight IATA code, departure airport name, arrival time, arrival terminal number, and arrival gate).
b. All delayed flights (return flight IATA code, departure airport, original departure time, the estimated time of arrival), arrival terminal, delay, and arrival gate.
c. All flights from a specific airport using the airport ICAO code (return flight IATA code, departure airport, original departure time, estimated arrival time, departure gate, arrival gate, and status).
d. Details of a particular flight (return flight IATA code; departure airport, gate, and terminal; arrival airport, gate, and terminal; status; scheduled departure time; and scheduled arrival time).
The server should display the following details clearly on its screen:
1. The acceptance of a new connection with the client’s name.
2. The requester name, type of request, and request parameters.
3. The disconnection of a client with its name.
The Client Script
The client script should connect to the server and stays on until the user selects the Quit option. The client should present multiple options for the user; different request types and quit options. The client should send different types of requests, and receive and display the responses. The client should be user-friendly and display the options and results neatly. The client should stay connected and ready to send new requests until the user chooses to quit.
2

1 Answer

3 votes

Answer:

This system is all about getting information on flights at a specific airport using a client-server setup. The server, written in Python, talks to an aviation website to fetch flight data and then serves this data to clients. The server can handle multiple clients at once. It asks for the airport code, fetches flight info, and responds to clients' requests, like showing all arrivals, delayed flights, or details of a specific flight. The client script connects to the server, offers options to the user, sends requests, and displays the results neatly. The goal is to make getting flight data easy and efficient for users while following good coding practices.

Step-by-step explanation:

answered
User IBlackVikingl
by
7.3k points