Monday, 16 February 2015

P2- Unit 9

Network protocols and standards

Task 2 (P2)

TCP/IP (Transmission Control Protocol/ Internet Protocol)

TCP/IP is several communication protocols used to connect hosts on the internet. It uses several protocols, including TCP and IP. Web browsers use TCP when they connect to servers on the internet. It is also used to deliver email and transfer files to different locations.

AppleTalk

AppleTalk is a relatively cheap local-area network architecture built into Apple Macintosh computers and laser printers. AppleTalk supports Apple’s local talk cabling system, as well as Ethernet.it will connect Mac computers and printers if they are all equipped with AppleTalk hardware and software.[1]

UDP (User Datagram Protocol)

UDP is a transport layer protocol that uses the IP network layer protocol. It provides a datagram service to an IP host. UDP is an unreliable service that provides no guarantees for delivery and no security from duplication.[2]

802.11

802.11 And 802.11x is a family of wireless technologies that have been developed by the IEEE. 802.11 is an over the air (OTA) interface that is between a wireless client e.g. a smartphone and a base station. It can also be used between two wireless clients. E.g. an iPhone can be tethered with an iPad to provide Wi-Fi between the two. There are quite a few different specifications in the 802.11 family.
802.11 applies to wireless Local Access Networks and will provide a 1-2 mbps speed the 2.4GHz frequency.
802.11a is an extension to 802.11 that applies to wireless Local Access Networks and provides up to 54-Mbps on the 5GHz frequency.
802.11b is an extension that can provide 11Mbps speeds on the 2.4GHz frequency.
802.11g applies to wireless LANs and used for wireless data transmission over short distances at up 54 Mbps in the 2.4GHz frequency.
802.11n is a wireless technology that can include multiple-input multiple-output (MIMO). The second transmitter and receiver antennas allow increased data through increased range. The real speed of this is 100Mbit/s.
802.11ac can deliver data speeds of up to 433Mbps per spatial stream or 1.3Gbps in a three antenna design. This operates on the 5GHz frequency.

Infrared

Infrared in mobile phones uses infrared waves to send data from one mobile phone to another. Infrared works to different to other wireless sending media because both phones have to be in very close proximity and in line of each other. Both sensors must be facing each other in order for the infrared to work.

3G

3G is an abbreviation of third generation of mobile telecommunications technology. 3G is based on a set of standards used for mobile devices and mobile telecommunications that comply with the International Mobile Telecommunications-2000 specification by the International Telecommunication Union. 3G is used for a wide range of services, such as telephony, mobile internet access, fixed wireless internet access, video chats and mobile TV.
3G can provide mobile data at a transfer rate of at least 200kbit/s.

4G

4G is short for fourth generation of mobile communications technology. It is a faster and more adapted version of 3G. 4G provides ultra-broadband internet access as well as the normal voice and SMS services. 4G users can often get speeds beyond 100Mbps which can support high quality video streaming. There were pre-4G technologies available by network operators but it would often fall short of 100Mbps

802.2

802.2 divides the data link between sub layers in the OSI model. It defines Logical Link Control, which is the upper portion of the OSI model. The 802.2 sub layer adds some control information to the message that has been created by the upper layer.

802.3

802.3 is the standard which Ethernet operates by. It is the standard for CSMA/CD. CSMA/CD is what Ethernet uses to control access to the network cable. The original 802.3 standard is 10Mbps.

FDDI

FDDI is a set of ANSI protocols for sending data over fibre optic cabling. FDDI networks are token passing networks and support data rates of up to 100 Mbps. FDDI networks are commonly used with WANs

802.5

The token is a frame that is designed to travel to each node around the ring. When it doesn’t have any data attached to it, a node on the network can modify the frame. Each node on the network checks the token as it passes through to see if the data is connected to that node.

Bluetooth

Bluetooth is a wireless technology for exchanging data over a short distance. The Bluetooth chip is mainly used in computers, mobile devices and digital cameras. Bluetooth uses a special radio frequency to transmit data. It is very secure and can connect up to eight devices at any one time.

Factors affecting range and speed of wireless technologies

Electronic Interference

Wireless networks commonly use the 2.4GHz frequency wave to send and receive data. When there are other nearby devices such as mobiles and tablets emit this frequency, they will interfere with the networks signal. Once the interference stops the network returns to optimal speeds.

Physical Obstacles

Physical obstacles can cause interference for wireless signals. When the data is being sent through the signals through large obstacles, degradation occurs because the object absorbs the signals and scatters it. Thicker objects such as thick walls absorb a larger portion of the signals.

Bandwidth Use

Network traffic can affect the performance of other devices attached to the network. Bandwidth determines the maximum data rate that can be transferred over a network.

Domain Name System (DNS)

A DNS protocol maps text names to IP addresses automatically. Before DNS was created, computers used simple text file maintained by the network information centre that mapped names to IP addresses. By having DNS, when searching for webpages all you would have to remember is www.apple.com instead of an IP address like 216.27.22.162.

Dynamic Host Configuration Protocol (DHCP)

A DHCP protocol assigns dynamic IP addressed to devices on a network. With dynamic addressing, a device can have a different IP address every time it connects to the network.

HyperText Transfer Protocol (HTTP)

HTTP is the underlying used by the World Wide Web. It defines how messages are formatted and transmitted and what actions web browsers should take in response to various commands. E.g. when you enter a websites URL into your web browser, this sends a HTTP command to the web server directing it to fetch the web page.

File Transfer Protocol (FTP)

The FTP protocol exchanges files over the internet. It works in the same way as HTTP. FTP uses the internet’s TCP/IP protocols to enable data transfer.

Simple Mail Transfer Protocol (SMTP)

SMTP is a protocol for sending e-mail messages between web servers. A lot of e-mail systems that send mail over the internet use SMTP to send messages from one server to another. These messages can then be retrieved by using an e-mail client that supports either POP or IMAP.

Post Office Protocol (POP)

The POP protocol is used to retrieve e-mail from a mail server. On most e-mail applications, you can use POP to retrieve e-mails or IMAP. POP3 can be used to send messages to another mail server without the use of SMTP.


Monday, 29 September 2014

P4- Unit 31

How to use Flash
Contents
What Is Flash?. 1
What is good work practice?. 1
Graphics. 2
Layers. 2
Symbols. 3
Frame by frame animation. 3
Tweening. 3
Nested Animations. 4
Inverse Kinematics for Articulated Motion. 5
Masking. 6
Interactivity through use of ActionScript 3.0. 7

What Is Flash?

Adobe Flash is a multimedia and software program that is used to create, graphics, animation and games. These can be viewed and executed in Adobe Flash Player. Flash is also the system that supports streaming video on sites like YouTube. Flash is most commonly used within browsers to play games and watch medium such as YouTube videos. It can also be used on mobile devices.

What is good work practice?

Good work practice relates to the organisation of Layers in Flash. When using layers in Flash, it is always good to name them appropriately, for example, if you are creating a man in Flash and you want a new layer for an Arm, then you can rename the layer as Arm 1. It is good to also put layers into a folder. By having folders on your work, it will allow any other user to understand what layers are where and it will also help you to understand.

Graphics

This is the coffee cup. I have created this to represent a 3D looking image. I have done this by creating several aspects to this cup. The first is the front of the cup. This was done by creating a shape with the rectangle tool. I then selected the free transform tool. This allows you to change the size of the shape. I made it thinner on both sides to give it the look of a cup. The next thing to do is add a circle on top of the shape you have just created. This will be for the coffee inside of the cup. Once you have drawn it, use the free transform tool to get rid of all the overhanging edges. It should then look like there is something inside of the cup.

Layers

A layer is a different level when creating digital media. They are in theory different steps piled on top of each other to create a finished product. It is good to have layers for every part of the work you do. All layers can be re arranged so that the end product is different to what you first thought it might be. You can use layers to give freedom when editing. If you created a whole piece of work on one layer and you done something wrong, it would make it hard to delete the errors.
This is the layer area for Flash. It is good to select new layers for each individual objects that you add to the stage. To add a new layer, press the new layer button at the bottom left.

Once you have pressed the button, it will create a new layer. You can rename them by double clicking on them.
Layers can be hidden if you want to work on certain layers at a time. On the two dots after each layer name, the first one is to hide the layer and the second is to lock. Locking the layers while working on others is good so that nothing is mistakenly moved while working.

Symbols

A symbol is any object stored in your flash library. To create a symbol in Flash, go to ‘Insert> New Symbol. There are three different types of symbols, Graphic, Button and Movie clip symbol. Make sure you pick the right symbol that you want to use from the drop down list. Once you have given it a name, press Ok and a new symbol will be created. Once you have a symbol you can then edit so it is ready to insert into your animation. Symbols can be used as many times as you want during your animation and they are also very low in memory.

Frame by frame animation

Frame by frame animation changes the contents of the stage in each frame of the layer. When an image changes slightly in every frame, it will look like it is an animation when you preview the animation. To do this start a new blank animation and import all the media you want to use. Make the first frame a keyframe by pressing F6

Tweening

Tweening is an easier method of frame by frame animation. It allows an object to be brought in from anywhere around the page in one single motion. To use motion tween, you will have to make the object you want to use into a symbol. This will be done when you right click the object and select ‘Create Motion Tween’. Once you have created a motion tween, drag the object to your desired starting location. Once you have done this, create a key frame on the next frame along. Then drag the object down to your desired finishing location. This should then create your motion tween. If you drag the pinhead across the frames, you should see where the object moves.

 

Nested Animations

1.    In the Library panel, double-click the alien movie clip symbol icon.

2.    Choose the Selection tool then right-click on the alien’s right arm and choose Create Motion Tween.
3.    Choose the Free Transform tool then drag the corner rotation control points to rotate the arm upward to the alien’s shoulder height.
4.    Move the red playhead back to frame 1 and create a motion tween for the alien’s other arm. Right-click on the left arm and choose Create Motion Tween.
5.    Choose the Free Transform tool and drag the corner rotation control points to rotate the arm upward to the alien’s shoulder height.
6.    Select the last frame in all the other layers and insert frames (F5) so that the head, body, and feet remain on the stage for the same amount of time as the moving arms.
7.    Exit symbol-editing mode by clicking the Scene 1 button at the top-left of the Stage and if you preview what you have just created the arms should move up and down.


Use of Motion Editor

The motion editor panel is used for in depth editing capabilities for all properties of a motion tween. To get to the motion editor, go to Window> Motion Editor.

Change property values

1.       Next to the colour effect property, click on the plus icon and the press alpha.
2.       Once you have done this, select the alpha amount.
3.       Click on the first keyframe and drag it down to 0%.
4.       The alien then becomes transparent from frame 1

Inverse Kinematics for Articulated Motion

Inverse kinematics are good to incorporate into an animation as it gives an added effect to what is happening in the scene. Inverse Kinematics can be used in either author time or runtime. To incorporate inverse kinematics into your animation you will have to use the bone tool. This can be selected from the toolbar on the left hand side. The object has to be a symbol in order for the bone tool to work. You can make it a symbol by clicking the Modify Tab> Convert to symbol. You will have to choose a graphic symbol. Once you have done this, you can use the bone tool to in theory create limbs on an object. Just click the start point and drag to where you want it to end and you will have created a limb which you will be able to move if your animation is in runtime.

Masking

Masking is a great thing to do in Flash. Masking involves using a shape to hide or reveal parts of a piece of media in flash.
Create a new layer called mask. Double click on the icon for the layer and choose masked, as shown above. This will allow your flash image to be masked.
Create a shape on either the left or right hand side of the media. This should cover the whole of the stage. Right click on this shape and press create a motion tween. Once you have created the motion tween. Click on the free transform tool, and hold ALT while you drag the side of the shape over the flash.
Once you have dragged the shape over the stage, create a new layer and call it action. Go to frame 24 on the new layer and press F6. This will create a key frame. Once you have created the key frame, press F9 and it will bring up the ActionScript 3.0 window. This will allow the mask to stop when it has moved across the page. Type in ‘stop();’ to make the mask stop. Once you have done this, press Ctrl+Enter to preview the flash, and the mask should move across the page.

Interactivity through use of ActionScript 3.0

Flash can be used to create an interactive interface. To start creating buttons for the interface, go to Insert> New Symbol (alternatively press Ctrl+F8). Once the window comes up insert a name for your button.


Make sure you select Button from the drop down list. This is so it will create a button for interface.


Once you have been launched into the edit window, go to layer 1 and press hit then F5. This will create a blank frame. Drag your thumbnail onto the edit screen to create the Up state. Once you have dragged your thumbnail into position, create a new layer and press the Down state then F6.
Once you have done this, you can drag the preview on top of the thumbnail.






Once you have done the preview, create a new layer for the Down State. Press F6 for the Down State. This will allow you to put the click sound onto the button.

Once you have done this exit the editor and the button will be created.