Monday, August 1, 2011

OSI Layer~

Description of OSI layers

According to recommendation X.200, there are seven layers, each generically known as an N layer. An N+1 entity requests services from the N entity.
At each level, two entities (N-entity peers) interact by means of the N protocol by transmitting protocol data unit.
service data unit (SDU) is a specific unit of data that has been passed down from an OSI layer to a lower layer, and which the lower layer has not yet encapsulated into a protocol data unit (PDU). An SDU is a set of data that is sent by a user of the services of a given layer, and is transmitted semantically unchanged to a peer service user.
The PDU at any given layer, layer N, is the SDU of the layer below, layer N-1. In effect the SDU is the 'payload' of a given PDU. That is, the process of changing a SDU to a PDU, consists of an encapsulation process, performed by the lower layer. All the data contained in the SDU becomes encapsulated within the PDU. The layer N-1 adds headers or footers, or both, to the SDU, transforming it into a PDU of layer N-1. The added headers or footers are part of the process used to make it possible to get data from a source to a destination.
OSI Model
Data unitLayerFunction
Host
layers
Data7. ApplicationNetwork process to application
6. PresentationData representation, encryption and decryption, convert machine dependent data to machine independent data
5. SessionInterhost communication
Segments4. TransportEnd-to-end connections and reliability, flow control
Media
layers
Packet/Datagram3. NetworkPath determination andlogical addressing
Frame2. Data LinkPhysical addressing
Bit1. PhysicalMedia, signal and binary transmission
Some orthogonal aspects, such as management and security, involve every layer.
Security services are not related to a specific layer: they can be related by a number of layers, as defined by ITU-T X.800 Recommendation.
These services are aimed to improve the CIA triad (i.e.confidentiality, integrity,availability) of transmitted data. Actually the availability of communication service is determined by network design and/or network management protocols. Appropriate choices for these are needed to protect against denial of service.


Layer 1: Physical Layer

The Physical Layer defines electrical and physical specifications for devices. In particular, it defines the relationship between a device and a transmission medium, such as a copper or optical cable. This includes the layout of pins, voltages, cable specifications, hubs, repeaters, network adapters, host bus adapters (HBA used instorage area networks) and more.
To understand the function of the Physical Layer, contrast it with the functions of the Data Link Layer. Think of the Physical Layer as concerned primarily with the interaction of a single device with a medium, whereas the Data Link Layer is concerned more with the interactions of multiple devices (i.e., at least two) with a shared medium. Standards such as RS-232 do use physical wires to control access to the medium.
The major functions and services performed by the Physical Layer are:
  • Establishment and termination of a connection to a communications medium.
  • Participation in the process whereby the communication resources are effectively shared among multiple users. For example, contention resolution and flow control.
  • Modulation, or conversion between the representation of digital data in user equipment and the corresponding signals transmitted over a communications channel. These are signals operating over the physical cabling (such as copper and optical fiber) or over a radio link.
Parallel SCSI buses operate in this layer, although it must be remembered that the logical SCSI protocol is a Transport Layer protocol that runs over this bus. Various Physical Layer Ethernet standards are also in this layer; Ethernet incorporates both this layer and the Data Link Layer. The same applies to other local-area networks, such as token ring, FDDI, ITU-T G.hn and IEEE 802.11, as well as personal area networks such as Bluetooth and IEEE 802.15.4.


Layer 2: Data Link Layer

The Data Link Layer provides the functional and procedural means to transfer data between network entities and to detect and possibly correct errors that may occur in the Physical Layer. Originally, this layer was intended for point-to-point and point-to-multipoint media, characteristic of wide area media in the telephone system. Local area network architecture, which included broadcast-capable multiaccess media, was developed independently of the ISO work in IEEE Project 802. IEEE work assumed sub layering and management functions not required for WAN use. In modern practice, only error detection, not flow control using sliding window, is present in data link protocols such as Point-to-Point Protocol (PPP), and, on local area networks, the IEEE 802.2 LLC layer is not used for most protocols on the Ethernet, and on other local area networks, its flow control and acknowledgment mechanisms are rarely used. Sliding window flow control and acknowledgment is used at the Transport Layer by protocols such as TCP, but is still used in niches where X.25 offers performance advantages.
The ITU-T G.hn standard, which provides high-speed local area networking over existing wires (power lines, phone lines and coaxial cables), includes a complete Data Link Layer which provides both error correction and flow control by means of a selective repeat Sliding Window Protocol.
Both WAN and LAN service arrange bits, from the Physical Layer, into logical sequences called frames. Not all Physical Layer bits necessarily go into frames, as some of these bits are purely intended for Physical Layer functions. For example, every fifth bit of the FDDI bit stream is not used by the Layer.


WAN Protocol architecture

Connection-oriented WAN data link protocols, in addition to framing, detect and may correct errors. They are also capable of controlling the rate of transmission. A WAN Data Link Layer might implement a sliding window flow control and acknowledgment mechanism to provide reliable delivery of frames; that is the case for SDLC and HDLC, and derivatives of HDLC such as LAPB and LAPD.


IEEE 802 LAN architecture

Practical, connectionless LANs began with the pre-IEEE Ethernet specification, which is the ancestor of IEEE 802.3. This layer manages the interaction of devices with a shared medium, which is the function of a Media Access Control (MAC) sublayer. Above this MAC sublayer is the media-independent IEEE 802.2 Logical Link Control (LLC) sublayer, which deals with addressing and multiplexing on multiaccess media.
While IEEE 802.3 is the dominant wired LAN protocol and IEEE 802.11 the wireless LAN protocol, obsolescent MAC layers include Token Ring and FDDI. The MAC sublayer detects but does not correct errors.


Layer 3: Network Layer

The Network Layer provides the functional and procedural means of transferring variable length data sequences from a source host on one network to a destination host on a different network, while maintaining the quality of service requested by the Transport Layer (in contrast to the data link layer which connects hosts within the same network). The Network Layer performs network routing functions, and might also perform fragmentation and reassembly, and report delivery errors. Routers operate at this layer—sending data throughout the extended network and making the Internet possible. This is a logical addressing scheme – values are chosen by the network engineer. The addressing scheme is not hierarchical.
Careful analysis of the Network Layer indicated that the Network Layer could have at least three sublayers:
  1. Subnetwork Access – that considers protocols that deal with the interface to networks, such as X.25;
  2. Subnetwork Dependent Convergence – when it is necessary to bring the level of a transit network up to the level of networks on either side;
  3. Subnetwork Independent Convergence – which handles transfer across multiple networks.
The best example of this latter case is CLNP, or IPv7 ISO 8473. It manages the connectionless transfer of data one hop at a time, from end system to ingress router, router to router, and from egress router to destination end system. It is not responsible for reliable delivery to a next hop, but only for the detection of erroneous packets so they may be discarded. In this scheme, IPv4 and IPv6 would have to be classed with X.25 as subnet access protocols because they carry interface addresses rather than node addresses.
A number of layer management protocols, a function defined in the Management Annex, ISO 7498/4, belong to the Network Layer. These include routing protocols, multicast group management, Network Layer information and error, and Network Layer address assignment. It is the function of the payload that makes these belong to the Network Layer, not the protocol that carries them.

[edit]Layer 4: Transport Layer

The Transport Layer provides transparent transfer of data between end users, providing reliable data transfer services to the upper layers. The Transport Layer controls the reliability of a given link through flow control, segmentation/desegmentation, and error control. Some protocols are state- and connection-oriented. This means that the Transport Layer can keep track of the segments and retransmit those that fail. The Transport layer also provides the acknowledgement of the successful data transmission and sends the next data if no errors occurred.
Although not developed under the OSI Reference Model and not strictly conforming to the OSI definition of the Transport Layer, typical examples of Layer 4 are the Transmission Control Protocol (TCP) and User Datagram Protocol (UDP).
Of the actual OSI protocols, there are five classes of connection-mode transport protocols ranging from class 0 (which is also known as TP0 and provides the least features) to class 4 (TP4, designed for less reliable networks, similar to the Internet). Class 0 contains no error recovery, and was designed for use on network layers that provide error-free connections. Class 4 is closest to TCP, although TCP contains functions, such as the graceful close, which OSI assigns to the Session Layer. Also, all OSI TP connection-mode protocol classes provide expedited data and preservation of record boundaries, both of which TCP is incapable. Detailed characteristics of TP0-4 classes are shown in the following table:[4]
Feature NameTP0TP1TP2TP3TP4
Connection oriented networkYesYesYesYesYes
Connectionless networkNoNoNoNoYes
Concatenation and separationNoYesYesYesYes
Segmentation and reassemblyYesYesYesYesYes
Error RecoveryNoYesYesYesYes
Reinitiate connection (if an excessive number of PDUs are unacknowledged)NoYesNoYesNo
Multiplexing and demultiplexing over a single virtual circuitNoNoYesYesYes
Explicit flow controlNoNoYesYesYes
Retransmission on timeoutNoNoNoNoYes
Reliable Transport ServiceNoYesNoYesYes
Perhaps an easy way to visualize the Transport Layer is to compare it with a Post Office, which deals with the dispatch and classification of mail and parcels sent. Do remember, however, that a post office manages the outer envelope of mail. Higher layers may have the equivalent of double envelopes, such as cryptographic presentation services that can be read by the addressee only. Roughly speaking, tunneling protocols operate at the Transport Layer, such as carrying non-IP protocols such as IBM's SNA or Novell's IPX over an IP network, or end-to-end encryption with IPsec. While Generic Routing Encapsulation (GRE) might seem to be a Network Layer protocol, if the encapsulation of the payload takes place only at endpoint, GRE becomes closer to a transport protocol that uses IP headers but contains complete frames or packets to deliver to an endpoint. L2TPcarries PPP frames inside transport packet.


Layer 5: Session Layer

The Session Layer controls the dialogues (connections) between computers. It establishes, manages and terminates the connections between the local and remote application. It provides for full-duplexhalf-duplex, or simplex operation, and establishes checkpointing, adjournment, termination, and restart procedures. The OSI model made this layer responsible for graceful close of sessions, which is a property of the Transmission Control Protocol, and also for session checkpointing and recovery, which is not usually used in the Internet Protocol Suite. The Session Layer is commonly implemented explicitly in application environments that use remote procedure calls.


Layer 6: Presentation Layer

The Presentation Layer establishes context between Application Layer entities, in which the higher-layer entities may use different syntax and semantics if the presentation service provides a mapping between them. If a mapping is available, presentation service data units are encapsulated into session protocol data units, and passed down the stack.
This layer provides independence from data representation (e.g., encryption) by translating between application and network formats. The presentation layer transforms data into the form that the application accepts. This layer formats and encrypts data to be sent across a network. It is sometimes called the syntax layer.[5]
The original presentation structure used the basic encoding rules of Abstract Syntax Notation One (ASN.1), with capabilities such as converting an EBCDIC-coded text file to an ASCII-coded file, or serialization of objects and other data structures from and to XML.


Layer 7: Application Layer

The Application Layer is the OSI layer closest to the end user, which means that both the OSI application layer and the user interact directly with the software application. This layer interacts with software applications that implement a communicating component. Such application programs fall outside the scope of the OSI model. Application layer functions typically include identifying communication partners, determining resource availability, and synchronizing communication. When identifying communication partners, the application layer determines the identity and availability of communication partners for an application with data to transmit. When determining resource availability, the application layer must decide whether sufficient network or the requested communication exist. In synchronizing communication, all communication between applications requires cooperation that is managed by the application layer. Some examples of application layer implementations also include:

Wednesday, June 22, 2011

What Is Love In My Life

What is love? It is one of the most difficult questions for the mankind. Centuries have passed by, relationships have bloomed and so has love. But no one can give the proper definition of love. To some Love is friendship set on fire for others Maybe love is like luck. You have to go all the way to find it. No matter how you define it or feel it, love is the eternal truth in the history of mankind.

Love is patient, love is kind. It has no envy, nor it boasts itself and it is never proud. It rejoices over the evil and is the truth seeker. Love protects; preserves and hopes for the positive aspect of life. Always stand steadfast in love, not fall into it. It is like the dream of your matter of affection coming true.

Love can occur between two or more individuals. It bonds them and connects them in a unified link of trust, intimacy and interdependence. It enhances the relationship and comforts the soul. Love should be experienced and not just felt. The depth of love can not be measured. Look at the relationship between a mother and a child. The mother loves the child unconditionally and it can not be measured at all. A different dimension can be attained between any relationships with the magic of love. Love can be created. You just need to focus on the goodness of the other person. If this can be done easily, then you can also love easily. And remember we all have some positive aspect in us, no matter how bad our deeds maybe. And as God said �Love all�

Depending on context, love can be of different varieties. Romantic love is a deep, intense and unending. It shared on a very intimate and interpersonal and sexual relationship. The term Platonic love, familial love and religious love are also matter of great affection. It is more of desire, preference and feelings. The meaning of love will change with each different relationship and depends more on its concept of depth, versatility, and complexity. But at times the very existence of love is questioned. Some say it is false and meaningless. It says that it never exist, because there has been many instances of hatred and brutality in relationships. The history of our world has witnessed many such events. There has been hatred between brothers, parents and children, sibling rivalry and spouses have failed each other. Friends have betrayed each other; the son has killed his parents for the throne, the count is endless. Even the modern generation is also facing with such dilemmas everyday. But �love� is not responsible for that. It is us, the people, who have forgotten the meaning of love and have undertaken such gruesome apathy.

In the past the study of philosophy and religion has done many speculations on the phenomenon of love. But love has always ruled, in music, poetry, paintings, sculptor and literature. Psychology has also done lot of dissection to the essence of love, just like what biology, anthropology and neuroscience has also done to it.

Psychology portrays love as a cognitive phenomenon with a social cause. It is said to have three components in the book of psychology: Intimacy, Commitment, and Passion. Also, in an ancient proverb love is defined as a high form of tolerance. And this view has been accepted and advocated by both philosophers and scholars. Love also includes compatibility. But it is more of journey to the unknown when the concept of compatibility comes into picture. Maybe the person whom we see in front of us, may be least compatible than the person who is miles away. We might talk to each other and portray that we love each other, but practically we do not end up into any relationship. Also in compatibility, the key is to think about the long term successful relationship, not a short journey. We need to understand each other and must always remember that no body is perfect.

Be together, share your joy and sorrow, understand each other, provide space to each other, but always be there for each others need. And surely love will blossom to strengthen your relationship with your matter of affection.

Love all, trust a few, do wrong to none.
William Shakespeare.

Tuesday, June 21, 2011

Love Is Not A Fight



Love is not a place
to come and go as we please
It's a house we enter in
then commit to never leave

So lock the door behind you
Throw away the key
Work it out together
Let it bring us to our knees

Love is a shelter
in a raging storm
Love is peace
in the middle of a war
And if we try to leave
May God send angels to guard the door
No, Love is not a fight
but its something worth fighting for

To some love is a word
that they can fall into.
But when they're falling out
keeping that word is hard to do

Love is a shelter
in a raging storm
Love is peace
in the middle of a war
And if we try to leave;
May God send angels to guard the door
No, Love is not a fight
but its something worth fighting for

Love will come to save us
If we'll only call
He will ask nothing from us
but demand we give our all

Love is a shelter
in a raging storm
Love is peace
in the middle of a war
And if we try to leave;
May God send angels to guard the door
No, Love is not a fight
but its something worth fighting for.
Cause I Will Fight For You
Would You Fight For Me
It's Worth Fighting For.




This song it was full with meaning~
After i heard this song~
There is a deep feeling inside of me~
That i can't determine it~
It feels like I was in a deep pain~
Where i don't know the reason that i was in pain~
But after i listen to it carefully and deeply~
I understand the meaning~

When we fight for Love~
God is fighting for us too~
And when we ignore His call~
It will hurt Him much more than the hurt we got from the rejection from our partner~
Because He is the one who created us~
He is the one who be by our side when we are in pain and sorrow~
But we don't even care about His feeling,
Because we think it might just a little mistake~
but for Him, Everyone in this world is His Child, even they doesn't believe in Him~

Love is everything
Because He is the one who created Love
Love can be good and also can be bad~
It is up to us how to use it~
Without Love in this world~
We are empty~

Lydia
21/06/2011
06.20 pm

Monday, June 20, 2011

Old Memories n New Memories~

Hey, it has already been 2 or 3 week i didn't post anything here,
Well but at least i posted at my website~
Wanna take a look?
Go to http://jyparklife.webs.com/

What i gonna wrote this time will be a lil emotional and mature,
Old memories, that is what people like to remember
But if the memories was totally screwed, will you remember it?
But almost everyone can't let go of the old memories,
Because they aren't ready for something that more new and adventure in the future.
But do you guys ever think
The old memories might bring happiness or maybe unhappy life to you?
For me, i rather lost my memories.
I don't want to remember something that will hurt myself
Because it wasn''t only hurting me but it might include my brother as well
He might not understand what i meant right now
But 弟弟 you'll get it in no time~

But what about new memories?
I know i wasn't good enough to make this kind of speech~
But to tell the truth, i would choose the future rather than the past
Because, past was past and there is still a long waiting for us there in the future
We can choose to make beautiful memories or maybe a sad memories
Everything was on our hand actually
It is just up to us to decide
Whether the decision was right or wrong
It has already been done
We can only follow the flow of life

wow~!
am i crazy?
Yes i am~
Because i was getting weird and weirder day by day~

Lydia
21/06/2011
07.21 am

Sunday, June 5, 2011

Are you there?


Will you be there for me?
That's the question that i often asked myself when i was alone and lonely
Did everything happend because of myself or it was destined?

Most of the people in this world must be saying that i was crazy if they saw this~
A 16 years old girl will have this kind of trouble, well it wasn't anything to me anymore~
It was already a part in my life, been lonely and also been in a up side down life~
It doesn't matter much for me to keep it on but sometimes i was really tired with this kind of life~
A ordinary life or maybe an extraordinary life for others~

I never thought of getting more and more better in my own world~
Truly i say, i wasn't ready for everything that i going to face in the future or maybe in a while more~
Sometimes a human also need a rest other than sleeping~
You guys must be laughing right now an i right?
It was okay for me~

Is it a poison to listen to me even once?
Would it kill if you listen to me even once?
Will it really make you feel bad if you listen to me?
Is it because i was a girl a 16 years old girl~
An unmature gurl......

But in my opinion an unmuture girl is having a trouble will be a mature girl~
But in others eyes she will always be unmature because she wanted other to notice her~
Is it wrong to have other noticing me?
Is it awful?
Is it bad of painful to understand me?

Do you guys make friends with me because of my atitiude?
Or it is because of other reason that i myself doesn't know~!

It is up to you guys to think whatever you like~
But i tell you guys something, i am a girl that won't change myself for other people needs~

Lydia~

Wednesday, April 27, 2011

Live On Forever

It's ridiculous how selfish we all can be and how much we take our lives for granted when people like Aya are out there optimistically being unselfish and trying to figure out what they can do for others. She was an amazing and inspirational person. Maybe she was given that disease because God knew she would use it to change the world. If you can even help the life of one other person, isn't that amazing?

Saturday, April 16, 2011

**

I miss you so much~!!!!!!
I hope that i can really see you right now~~
OMG god help me~!!!!
I'm helpless in this love flow that i create myself~!!!!!
 

Show Me The Stars Template by Carly Lloyd Designs