Part 1 Control Server Room

Print   

02 Nov 2017

Disclaimer:
This essay has been written and submitted by students and is not an example of our work. Please click this link to view samples of our professional work witten by our professional essay writers. Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of EssayCompany.

Chapter 7

Implementation

The following Figure shows how the final design of the project will look like

Is shown in the Figure the design have more than more part and the following is the exploring of each part and how we implement it software and hardware:

7.1 Part 1 (Control Server Room)

The server room which located on the high way host the server software code that control a number of display clients in asynchronies connection between them.

At least we need 5 personal computers on the control server room, in addition, to lighting the place. each Pc has Current= , Volt= and Power=200W.

Total Power for 5 Pc's + Lighting=1KW/h.

Converter 12/220V [Dc to Ac].

One Solar Cell gives 1KW/h plus 10 Rechargeable Batteries 200A/12v

7.2 Part 2 (Display Client Device)

This is the display client device which continues the embedded board kit that hosts the display client software of the project .this board is responsible to receive data from the control server room and display it on the client display. The selected board for this project was the lenovo6072 think center that is shown in the following picture.

We setup inside the display client device microprocessor kit our mean programs that need to create the software code that allow transmitting and receiving between both of control server room and the display clients, in high speed transfer process.

Current= , Volt= and Power=200W.

This microprocessor kit was selected because of its features that are required to implement this project and the following is the describe of this features:

VGA Connection

This connection is required to connect with the client display screen to display our media packets the videos, images, texts and wireless cameras live stream on it. Most of the available display screens on the market support this connection so I will cause no problem to select the required screen easily the following is the zoomed shot for this connection.

Power Connect

This is the way for the power to that display client device, it is a DC socket and the power required as shown on the following zoomed picture is 5V/3A.

USB Connection

This connection is required to connect the Internet USB modem to the display client devise to give it the ability to connect with the control server room via the mobile cellular network Internet USB modem and the following is the zoomed picture of that connection.

Part 3 (The VAG Connector Cable)

The VGA (screen) connector cable that is required to connect the embedded board kit (display client device) with the display client to send texts, images, videos and camera live stream over it. The following is a picture for that cable.

Part 4 (Display Client Screen)

There is more than one type of the display screens but the selected type is the LED screen because of its good display in outdoor that is required for that project .this screen is connects to the embedded board kit (display client device) via the VGA connector to display all the data packets on it. The following is a Figure for one of that type.

The resolution of that screen is not required to be high as it will placed at high place so it will not be closed to people and this will give it a good display for them.

Current=10A, Volt=50v and Power=500W

7.5 Part 5 (Internet Connection)

The used protocol in connected the control server room and the display clients for seeing each other over the internet network is the TCP /IP protocol since, it will be used to exchange data packets between them, that for we developed a function on the software code allow the server room and the display clients getting IP's to transmit the data.

This protocol uses the IP as an address for both the control server room and the display clients' devices. If any of the display clients want to talk with listener thread at control server unit it must know the IP address of that control server room and it is port, also the same for the control server room to talk with any of the display clients it must know the IP address of that display client. To do this the IP address for both of the control server room and the display clients must be static but this statics IPs cost more than the Dynamic IPs. The idea was that the IP address for the control server room will be static and the IP's addresses for the display clients screens will be dynamic, and there will be a folder for every display client on the control server room and the display clients know the IP of the control server room so it is easy for it to get the required data packets from this server and also it is easy for the control server room to replay for that display client by extracting the IP address of the source of the display client from the received Packet.

Part 6 (USB Internet Modems)

Both of the display client device and the control server room is connected to USB modem via the USB port. It is used to connect with internet wireless by any cellular mobile network covers and give the display client device the ability to connect with the control server room and exchange data with it .the used protocol will be the TCP/IP protocol which considered in the client listener thread. The following is one of the available USP GPRS modems that can be used.

Part 7 (Outdoor Wireless IP Camera)

There is more than one type of the outdoor wireless IP cameras, required to supports Wi-Fi, IR, P/T, Night vision and view angle azimuth 360 degree, elevation ±90 degree. That can be remotely controlled manually through the control server room. the selected camera contain high Digital zoom long distance up to miles which is required for that project .this outdoor wireless IP camera is connect to the control server room via the internet to keep trilling the highway movements and to display on our outdoor LED screens. The following is a Figure for one of that type.

The Eagle Vision EV3000-D-IR 500 & 1000, Range up to 10 km cooled thermal camera / Day color.

Current=10A, Volt=28v and Power=280W.

Current=A, Volt=v and Power=W.

Total Power=W  Converter 12/220V [Dc to Ac].

One Solar Cell gives W/h plus one Rechargeable Batteries A/v.

Part 8 (Solar Cell)

The solar cell is used to give the project devices the required power and to charge the battery also to provide the required power in night .the selection of the solar cell is depend on the required power required by the project and this estimated power is calculated at the end of chapter 3. The following is a picture for one of the available solar cell and chargeable battery.

Hardware Total Power=

Hardware Total Power plus Safety= Total Power + 25% * Total Power.

Hardware Total Solar Cells=

Type of Solar Cell Mono-Crystalline

Hardware Total Rechargeable Batteries=

Each rechargeable battery 200A/12v

Inverter

7.9 Estimation of practical project parts prices

7.10 Simulation

7.10.1 Hardware Parts

Display Client Screen: we used LED Display SAMSUNG S19B300 size 19 inch

Current=1.34A, Volt=14v and Power=18.76W

Current=1.5A, Volt=16v and Power=24W

Control Server Room: we used Laptop as a server TOSHIBA which we can use any Personal Computer

At least we need 5 personal computers on the control server room, in addition, to lighting the place. each Pc has Current= , Volt= and Power=200W.

Total Power for 5 Pc's + Lighting=1KW/h.

Converter 12/220V [Dc to Ac].

One Solar Cell gives 1KW/h plus 10 Rechargeable Batteries 200A/12v

Display Client Device: we used the LENOVO 6072 Microprocessor Kit Intel Core 2 Duo processor with 2.2 GHz speed.

Current= , Volt= and Power=200W.

LENOVO 6072 Parts:

Motherboard: Intel Core 2 Duo processor with 2.2 GHz speed.

HDD: 80 GB / RAM 1024MB.

Input/output features:

25- Pin Extended Capabilities Port (ECP)/Extended Parallel Port (EPP)

9- Pin serial connector

8- USB connectors (two on front panel and six on rear panel)

1- Ethernet connector

1-VGA monitor connector

3- Audio connectors (line in, line out, and microphone) on rear panel

2- Audio connectors (microphone and headphone) on front panel

1- eSATA connector on the rear panel

Power Supply.

Fan.

Wireless IP Camera: we used Optical Zoom Wireless IP Camera that supports Wi-Fi, IR, P/T, and Night vision.

Current=2A, Volt=5v and Power=10W.

Current=3A, Volt=8v and Power=24W.

Total Power=24W  Converter 12/220V [Dc to Ac].

One Solar Cell gives 24W/h plus one Rechargeable Batteries 150A/12v.

USB Internet Modem: we used two internet USB Flash modems

Connector Cables: we used VAG connector cable and two Power connector cables

Internet Protocol: we used two static IP's for both of the control server room and the wireless IP camera, also dynamic IP for the display client

Source Power Supply: we used Solar Cells and Rechargeable Batteries as a source power for switching devices

Hardware Total Power=

Hardware Total Power plus Safety= Total Power + 25% * Total Power.

Hardware Total Solar Cells=

Type of Solar Cell Mono-Crystalline

Hardware Total Rechargeable Batteries=

Each rechargeable battery 200A/12v

Inverter

7.10.2 Software Parts

The Power of Windows Embedded System: we setup Windows 7 Ultimate as windows operating system to run our developed software code since Microsoft windows operating systems are common and easy for the server users since the large user base that use, also the available learning material and the good support for it. And we run for both the control server room personal computer and the display client device.

The Programming Language: we setup Microsoft Visual Studio C# .version.2010

the selected language used to create two software codes to both control server room and display client since the development of the software code will run in windows operating system developed by the same company that develop the C# language this make the development easier, and the software developed in this project will be able to connect to internet and with the control server room also to display videos, images, texts and the cameras live stream automatically as soon as they are available in the control room server.

The Wireless Camera IP Program: we setup in the control server room to keep update controlling the wireless cameras that connected with to display our camera live stream for the display client, where which developed on the software code for both server and display client. + Program Fetcher's

7.10.3 Hardware Parts assembling

We connect the display client device with the LED display screen through the VAG connector cable and both switched after connected to the power source.

We connect the control server room Pc to the power source.

We setup the windows operation system widows 7 to our display client device microprocessor kit and to control server room Pc.

Both of the control server room and the display client device accessed the internet since we connected them through the USB ports with wireless USB internet flash.

We setup the wireless IP camera program for our control server room that through we control the wireless IP camera.

We connect the wireless IP camera to power source inside wireless internet network.

We get two static IP's for the control server room and the wireless IP camera, and one dynamic IP for the display client.

7.10.4 The Network Programing Checked

We checked the network exchange data packets between the control server room and the display client to see how will the networks Transmission Control Protocol (TCP) over the Internet Protocol (IP) work on the network to display data in the display screen:

We setup the network and sharing center after we run our Microsoft Windows operating system Widows 7 Ultimate with respect to internet connection to get know the IP's of both control server room and the display client. So we setup it is IPv4 that got from the network on both to let them ping each other. The IPv4 continue the IP address, the Subnet mask and the Default gateway.

We checked the possibilities without getting an Internet network connection, so when the server connected to the display through a router plus two cross cables where also connected with both the server and the display due made a Home group network which could able to share files between them .where it given a one way through share the data between them only so far it couldn’t be control and send a real time multimedia messages at same time.

And the result was:

Allowed to share files between the server and the display only.

Unable to send a real time multimedia message since no control on the display.

It was limited operation.

TCP/IP Protocol was null.

We checked the possibilities with respect to have internet network connection both ways wired (LAN cable) and wireless (Wi-Fi modem).

This gives the same results except the TCP/IP Protocol since we have get network connection.

We used a program Called Team Viewer to have a full control on the display since the previous cases show limited process of transmitting data packets to display.

The Team Viewer program is an application we must install it on both the control server room and the display client device after we set both IP's to them we started the team viewer that will asked to give the IP address of the display to let it control this display and transmit and show the data that send.

And the result was:

Using Team Viewer since we got internet network connection (Wired or Wireless) and have the IP’s addresses of the display and server, we will get a full control.

Easy to setup and use.

7.10.5 The Team Viewer program software

Team Viewer is an intuitive, fast and secure application for meetings and remote control. As an all-in-one solution, Team Viewer can be used to:

Show your desktop for meetings, presentations or collaboration.

Use the Team Viewer meeting function, e.g. for training sessions.

Use the meeting apps for Android and iOS to participate in a meeting while being on the road.

Provide ad-hoc remote support to colleagues, friends or customers.

Establish a connection between computers with different operating systems. Team Viewer runs under Windows, Mac OS or Linux.

7.10.6 The Team Viewer program manual

This manual describes the use of Team Viewer for meetings. If you are looking for help about the Team Viewer remote control functions, please read the Team Viewer 7 Remote Control Manual available separately on our website. Unless stated otherwise, the described functionality always refers to the Team Viewer full version for Microsoft Windows.

Instructions are given on the assumption that the Team Viewer full version is already installed on your computer. If you need help installing the program, read section 6, page 44first.

The Mac OS and Linux version are mostly identical to the Windows version, although some of the functions are not yet available. Feel free to use our free trial versions to get an idea of the various functions and contact our support team if you need further assistance.

Mac OS, iPhone and iPad are trademarks of Apple Inc. Linux® are a registered trademark of Linus Torvalds in the US and other countries. Android is a trademark of Google Inc. Windows, Microsoft and Outlook are registered trademarks of Microsoft Corporation in the US and other countries. For simplification purposes, this manual refers to the operating systems Microsoft® Windows® 2000, Microsoft® Windows® XP, Microsoft® Windows® Vista and Microsoft® Windows® 7 simply as "Windows."

7.10.7 The Team Viewer program work

With Team Viewer, you can easily and quickly start meetings or join them. With the use of a Meeting ID (which is automatically generated by Team Viewer and forwarded by the initiator), participants can connect to a meeting. The minimum requirement for connecting is the Team Viewer full version or a corresponding module and the Meeting ID.

All Team Viewer connections are highly encrypted and are thus protected from being accessed by third parties. For detailed technical information regarding connections, security and data privacy in Team Viewer, see the security statement on our website at: http://www.teamviewer.com/en/products/security.aspx.

7.10.8 The Wireless IP Camera Description

Features:

Powerful high-speed video protocol processor.

High-sensitivity 1/4" CMOS sensor.

300K Pixels.

IR night vision (Range: 3~5m).

Optical zoom.

Optimized MJPEG video compression for transmission.

Multi-level user's management and passwords definition.

Embedded Web Server for users to visit by IE.

Supports wireless network (Wi-Fi/802.11/b/g).

Supports Dynamic IP (DDNS) and UPnP LAN.

Gives alarm in cause of motion detection.

Supports one-way (I/O) alarm connection.

Supports image snapshot.

Supports audio monitoring.

Supports multiple network protocols:

HTTP/TCP/UDP/STMP/DDNS/SNTP/DHCP/FTP.

P2P connection to mobile devices with Wi-Fi function, such as laptop, iPad, iPhone, and smartphone. (IP camera itself needs no network connection in this case)

Easy installation with detailed instructions.

Specifications:

Image Sensor

Image Sensor: 1/4'' Color CMOS Sensor.

Display Resolution: 640 x 480 Pixels (300k Pixels).

Lens : f:3.6 mm, F:2.4 (IR Lens).

Mini. Illumination: 0.5Lux.

Lens

Lens Type: Glass Lens.

Viewing Angle: 67 Degree.  

Zoom: optical zoom.

Audio: 2-way audio.

Video

Image Compression: MJPEG.

Image Frame Rate: 15fps (VGA),30fps(QVGA).

Resolution: 640 x 480(VGA), 320 x 240(QVGA).

Flip Mirror Images: Vertical / Horizontal.

Light Frequency: 50Hz, 60Hz or Outdoor.

Video Parameters: Brightness, Contrast.

Night vision:

LED quantity: 12pcs.

IR distance: 3-5m.

P/T 

Motor: built-in motor control.

Rotation angle: horizontal 270,vertical 90.

Network

Network Interface: Build in 10/100Mbps, RJ-45.

Supported Protocol: HTTP,FTP,TCP/IP, UDP, SMTP, DHCP, PPPoE, DDNS, UPnP, GPRS.

Wireless Standard: IEEE 802.11b/g.

Data Rate: 802.11b: 11Mbps (Max.), 802.11g: 54Mbps (Max.).

Wireless Security: 64/128-bit WEP Encyption.

Alarm

Input/Output: 1/1.

Motion Detection: Supported.

Alarm action: Supports email alarm, ftp photo upload, etc.

Environment

Operate Temper: 0° ~ 55°C  (14°F ~ 131°F).

Operating  Humidity: 20% ~ 85% non-condensing.

Storage Temper:-10°C ~ 60° (14°F ~ 140°F).

Storage Humidity: 0% ~ 90% non-condensing.

PC System Requirements

CPU: 2.0GHZ or above (suggested 3.0GHz).

Memory Size:256MB or above (suggested 1.0GHz).

Display Card: 64M or above.

Network card: 10M or above.

Supported OS: Microsoft Windows 2000/XP/Vista/7.

Browser: IE6.0/7.0/8.0/Firefox2.0&3.0/Safari/Google chrome or other standard browsers.

Other 

Power Supply

Input: 100-240V,50/60Hz.

Output: DC 5V/2.0A.

Size

Products:13cm*10cm*9.5cm.

Package:22cm*17cm*12.5cm.

Weight

Products: 346g.

Certification: CE, FCC, RoHS.

7.10.9 The Implement software Codes

The Visual Studio C # software codes implement

Control Server Room software code:

We create server thread which continues the server listener, and we got two threads the first one is the Graphical User Interface (GUI) and the second one is the client listener thread. The GUI response for

Starting server.

Getting display information.

Sending information to displays. Whatever this information Text, Image, Video or Camera live stream.

So with using GUI the server user can edit the display information in each display client connected and can reset any display client.

The server main control box continues

Text Packet: has much information such as text length, text color, text string, and text font.

Image Packet: continue the image length.

Video Packet: continue the video length, due to we need to send large video file we split the video file in to small parts.

Camera Live Stream Packet: continue the wireless camera address.

Reset Packet: server user need to restart the connected display client for troubles may face, so we design a reset packet which response for restarting the selected connected display client device.

Information Packet: this packet continue every display client location and size since server user need to get these information we design this packet to get information.

Client Unit List: server application should delete the display object from the connected display list to inform the server user that tis display is disconnected from the server.

Once we click server start button the server will start listening the incoming connection, so if any display connect to the server this thread will create a display client object which continue the connection socket information. This object will be added to the display unit list.

After connection the server user can select any connected display client and send one of our data packets: Text, Image, Video and Camera live stream. The server create an object for each incoming display client connection, this object continue the socket information by which server application can send and receive any data form and to the corresponding display client, also this object will continue the following parameters

Display location.

Display size.

Display IP.

Display Port.

We create server thread response for

Getting the local machine name, which in turn we added the location name to every display client device save at file in the hard disc memory called when server user start it.

Getting all IP's of that machine.

Getting the server IP.

Putting the port equal to 5000, where that a fixed port.

When the server thread run it will start listen to the incoming connection then it will create a display object for each display connection which allow adding the display object in the display list, so on it inform the user that there are a new connection has been done in a certain time and display it in the server log text box. The server user will view the action happened in the server when he will click the server starting button and so he will see that a new incoming connection happened which means when the start server button clicked a method is called, so this method is concerned with starting the server thread; if the server user need to close the server a function will be called to finish all thread opened and close all connections and in similar way if the server user clicked the exit button a method will be called to begin closing the server application.

If the server user select any display client in the list there is an application will send information packet to that selected display which will receive by the display client which in turn will respond by the location and size information packet.

We create server multimedia packets and server camera live stream packet that continue and response for

Text Packet where we add for it is method the main parameters functions that need to show text on the display client as well for showing such as: text font edit, text length size edit, text string edit and text color edit.

If the server user need to show a text message on any display client he will first select the display client from the list then click the Text button to send this information packet, and so same procedure if the server user need to show an Image message on the display client first select from the list the display client then click the Image button to send this image packet.

Image Packet that continue a browse method, this method let the server user browse for the images that need to show which will be save in different folders for each display client. And continue a stretch method, this method stretch image to be the same size of the picture box for viewing same as the display client full screen size.

As both Text and Image Packets, if the server user needs to show a Video message on any display client he will first select the display client from the list then click the Video button to send this information packet.

Video Packet continue a browse method, this method let the server user browse for the video file that need to show which will be save in different folders for each display client, and continue three buttons one for play the selected video, second for pause the selected video and the third for stop the selected video . And we make the video area size to be the same as the size of the displayed panel.

But for the video packet we notice that it take a long period of time to upload, so we create a method to split the video file, this method will be called if the server user need to send the selected video file, so this method first will send the length of the file then it will split the video file into many equal parts to be easier in sending to the selected display device and send it then it will begin to split and send.

The server user need to keep trilling and follow the display clients to show cameras live streams, media packets and information packets continuously so we create a timer tic function that will check all the time that if the connected display client connection is still valid or if the connection is not valid so the server application will remove it from the list then delete it. Means that this timer tic responsible for removing the specific display client from the list due to that invalid connection.

Since, the far distance long between the control server room and the display clients we create a Reset button, once the reset button is clicked from the server user with selecting the display client this function will be called, so a reset packet will be send to the corresponding display client which let this display client to restart switching.

Display Client software code:

The display client will initialize the corresponding server IP and port to be able to connect to it, also will read the location and size parameter from it is display client device that we added before in the memory. We create the display client thread that concerned with connection and receiving data from server, so when starting the display thread if the connection between the server and the display client is valid the display client will begin read the incoming data, where this data will be one type of the following

Text data: that views the text and gets the color and size of it.

Image data: that views the image with same size as the client display.

Video data: that views the video file with same size as the client display.

Reset Packet: that restart the device immediately.

Information request packet: that responds with the following information:

Location.

Size.

Unless, if the connection becomes not valid the display client will retry to connect to the server room.

In the video packet situation when the display client receive a video file the display client will save the video file in a fixed location in the hard disk, and at the same time the display client application will run the video.

So if the server user send video packet to the display client we create functions to run, stop, and pause this received video files, and update the display with the received text.

Since, we need to transmit the data packets and the camera live stream to the display client maybe in a few time difference between them we managed the visibility of the different received data packets to the display client over create a timer function. And another timer function that will replay the video file after it finishes it is show length.

And we create adjust function, this function will adjust the objects located in the application form to viewed in maximized mode since, we need to show our data packets in full mode to the same as the size of the displayed panel. Also if the display client application closed there is function will end the connection with server in the control room.

7.10.9.3 Smart Highway Guide Webpage

Our Site Requirement

User can login

User make comment

Site must be dynamically add new roads

Each road was defined a name and some cameras

Also user can use any camera to know what happen over the selected road

Admin can manage the database of the site to add a new road and add news concerned with each road

We use my SQL to store data of the website

Any login user can access the cameras located in the selected road

Also user can comment on any news for any road

7.11 Estimation of simulation project parts prices

Part

Price

Display Client Device

80 $

Led Display Samsung S19B300.19inch

90 $

2 USB Internet modem

50 $ (per month)

Solar cell

$

Chargeable battery

350 $

Windows Operating System

100 $ (we need only one for all screens )

Visual studio

Free(express edition)

Course s

500 $

Battery Controller

150 $

Total

$

Chapter 8

Conclusion and Recommendations

Conclusion

By applying this project The Monitoring And Controlling The Highway Using Real Time Multimedia Message And Display Screen as a practical in any country; a lot of earned benefits will be achieved as solving our main problem that cause traffic congestion which has a serious negative impact or negative side effect on a lot of country fields like the Wasted Power Productivity due to wasted time, Economic, Tourism, Health, Education,…etc.

Wherefore, by managing and guiding this problems and solving it this device will serves as a tool to guide the drivers to the Easiest and Safest roads and help to get the highway easier to use, also all of this fields will Progress, thrive, and grow. and that is the aim of this project.

Recommendations

In future for more improve and develop to this project it is recommended to design a special Outdoor AMOLED display screen, and design wireless network with high coverage range. Instead, use the Solar Cells Panels and Rechargeable Batteries to give the power that our server room need to work if we used it in an International high way, where assumed that some uninhabited areas could be the high way pass through. This option keeps the high performance and quality that exist in any other high way or place will use this device in at 24/7 worked without worry loss energy.



rev

Our Service Portfolio

jb

Want To Place An Order Quickly?

Then shoot us a message on Whatsapp, WeChat or Gmail. We are available 24/7 to assist you.

whatsapp

Do not panic, you are at the right place

jb

Visit Our essay writting help page to get all the details and guidence on availing our assiatance service.

Get 20% Discount, Now
£19 £14/ Per Page
14 days delivery time

Our writting assistance service is undoubtedly one of the most affordable writting assistance services and we have highly qualified professionls to help you with your work. So what are you waiting for, click below to order now.

Get An Instant Quote

ORDER TODAY!

Our experts are ready to assist you, call us to get a free quote or order now to get succeed in your academics writing.

Get a Free Quote Order Now