🗊Презентация ASN.1 & BER

Нажмите для полного просмотра!
ASN.1 & BER, слайд №1ASN.1 & BER, слайд №2ASN.1 & BER, слайд №3ASN.1 & BER, слайд №4ASN.1 & BER, слайд №5ASN.1 & BER, слайд №6ASN.1 & BER, слайд №7ASN.1 & BER, слайд №8ASN.1 & BER, слайд №9ASN.1 & BER, слайд №10ASN.1 & BER, слайд №11ASN.1 & BER, слайд №12ASN.1 & BER, слайд №13ASN.1 & BER, слайд №14ASN.1 & BER, слайд №15ASN.1 & BER, слайд №16ASN.1 & BER, слайд №17ASN.1 & BER, слайд №18ASN.1 & BER, слайд №19ASN.1 & BER, слайд №20ASN.1 & BER, слайд №21ASN.1 & BER, слайд №22ASN.1 & BER, слайд №23ASN.1 & BER, слайд №24ASN.1 & BER, слайд №25ASN.1 & BER, слайд №26ASN.1 & BER, слайд №27

Вы можете ознакомиться и скачать презентацию на тему ASN.1 & BER. Доклад-сообщение содержит 27 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1





ASN.1 & BER
Описание слайда:
ASN.1 & BER

Слайд 2





ASN.1
Purpose of ASN.1
One of the fundamental problems confronting users communicating with different systems is the efficient transfer of data in such a way that the data received is the same data transmitted. In the OSI model, the representation of data types and structures to facilitate this transfer is a function of the Application Layer; the encoding of the data into a specific sequence of bits for transfer isattributed to the Presentation Layer.
Описание слайда:
ASN.1 Purpose of ASN.1 One of the fundamental problems confronting users communicating with different systems is the efficient transfer of data in such a way that the data received is the same data transmitted. In the OSI model, the representation of data types and structures to facilitate this transfer is a function of the Application Layer; the encoding of the data into a specific sequence of bits for transfer isattributed to the Presentation Layer.

Слайд 3





ASN.1
The fundamental unit of ASN.1 is the module. The sole purpose of a module is to name a collection of type definitions and/or value definitions (assignments) that constitute a data specification.
Описание слайда:
ASN.1 The fundamental unit of ASN.1 is the module. The sole purpose of a module is to name a collection of type definitions and/or value definitions (assignments) that constitute a data specification.

Слайд 4





ASN.1
A type definition is used to define and name a new type by means of a type assignment and a value definition is used to define and name a specific value, when it is necessary, by means of a value assignment.
Описание слайда:
ASN.1 A type definition is used to define and name a new type by means of a type assignment and a value definition is used to define and name a specific value, when it is necessary, by means of a value assignment.

Слайд 5





ASN.1 - Type Assignment
A type assignment consists of a type reference (the name of the type), the character sequence ::= (‘‘is defined as’’), and the appropriate type.
Описание слайда:
ASN.1 - Type Assignment A type assignment consists of a type reference (the name of the type), the character sequence ::= (‘‘is defined as’’), and the appropriate type.

Слайд 6





InventoryList {1 2 0 0 6 1} DEFINITIONS ::=
InventoryList {1 2 0 0 6 1} DEFINITIONS ::=
		BEGIN
			{
				ItemId ::= SEQUENCE
					{
					partnumber IA5String,
					quantity INTEGER,
					wholesaleprice REAL,
					saleprice REAL
					}
				StoreLocation ::= ENUMERATED
					{
					Baltimore (0),
					Philadelphia (1),
					Washington (2)
					}
			}
		END
Описание слайда:
InventoryList {1 2 0 0 6 1} DEFINITIONS ::= InventoryList {1 2 0 0 6 1} DEFINITIONS ::= BEGIN { ItemId ::= SEQUENCE { partnumber IA5String, quantity INTEGER, wholesaleprice REAL, saleprice REAL } StoreLocation ::= ENUMERATED { Baltimore (0), Philadelphia (1), Washington (2) } } END

Слайд 7





ASN.1 - Value assignment
A value assignment consists of a value reference (the name of the value), the type of the value, ::= (``is assigned the value''), and a valid value notation. A value reference must begin with a lower case letter, but otherwise has the same syntax as a type assignment.
Описание слайда:
ASN.1 - Value assignment A value assignment consists of a value reference (the name of the value), the type of the value, ::= (``is assigned the value''), and a valid value notation. A value reference must begin with a lower case letter, but otherwise has the same syntax as a type assignment.

Слайд 8





ASN.1 - Value assignment
example
gadget ItemId ::=
		{
			partnumber "7685B2",
			quantity 73,
			wholesaleprice 13.50,
			saleprice 24.95
		}
Описание слайда:
ASN.1 - Value assignment example gadget ItemId ::= { partnumber "7685B2", quantity 73, wholesaleprice 13.50, saleprice 24.95 }

Слайд 9





ASN.1 – Simple Types
Описание слайда:
ASN.1 – Simple Types

Слайд 10





ASN.1 – Character String Type
Описание слайда:
ASN.1 – Character String Type

Слайд 11





ASN.1 – Structured types
Описание слайда:
ASN.1 – Structured types

Слайд 12





ASN.1 – Structured types
example
{
	"American", "1106", { 320, 107, 213 }, { "BWI", "LAX" }, 10
}
AirlineFlight ::= SEQUENCE
	{
	airline IA5String,
	flight NumericString,
	seats SEQUENCE
		{
		maximum INTEGER,
		occupied INTEGER,
		vacant INTEGER
		},
	airport SEQUENCE
		{
		origin IA5String,
		stop1 [0] IA5String OPTIONAL,
		stop2 [1] IA5String OPTIONAL,
		destination IA5String
		},
	crewsize ENUMERATED
		{
		six (6),
		eight (8),
		ten (10)
		},
	cancel BOOLEAN DEFAULT FALSE
	}
Описание слайда:
ASN.1 – Structured types example { "American", "1106", { 320, 107, 213 }, { "BWI", "LAX" }, 10 } AirlineFlight ::= SEQUENCE { airline IA5String, flight NumericString, seats SEQUENCE { maximum INTEGER, occupied INTEGER, vacant INTEGER }, airport SEQUENCE { origin IA5String, stop1 [0] IA5String OPTIONAL, stop2 [1] IA5String OPTIONAL, destination IA5String }, crewsize ENUMERATED { six (6), eight (8), ten (10) }, cancel BOOLEAN DEFAULT FALSE }

Слайд 13





ASN.1 – Tagged
Type TAGGED is used to enable the receiving system to correctly decode values from several datatypes that a protocol determines may be transmitted at any given time. TAGGED has no value notation of its own. Its type notation consists of three elements: a user-defined tag, possibly followed by IMPLICIT or EXPLICIT, followed by the value notation of the type being tagged.
Описание слайда:
ASN.1 – Tagged Type TAGGED is used to enable the receiving system to correctly decode values from several datatypes that a protocol determines may be transmitted at any given time. TAGGED has no value notation of its own. Its type notation consists of three elements: a user-defined tag, possibly followed by IMPLICIT or EXPLICIT, followed by the value notation of the type being tagged.

Слайд 14





ASN.1 – Tagged
The user-defined tag consists of a class and class number contained in braces. Class is
   UNIVERSAL, APPLICATION, PRIVATE, CONTEXT-SPECIFIC.
The UNIVERSAL class is restricted to the ASN.1 built-in types. It defines an application-independent data type that must be distinguishable from all other data types. The other three classes are user defined. 
The APPLICATION class distinguishes data types that have a wide, scattered use within a particular presentation context. 
PRIVATE distinguishes data types within a particular organization or country. 
CONTEXT-SPECIFIC distinguishes members of a sequence or set, the alternatives of a CHOICE, or universally tagged set members. 
Only the class number appears in braces for this data type; the term COONTEXT-SPECIFIC does not appear.
Описание слайда:
ASN.1 – Tagged The user-defined tag consists of a class and class number contained in braces. Class is UNIVERSAL, APPLICATION, PRIVATE, CONTEXT-SPECIFIC. The UNIVERSAL class is restricted to the ASN.1 built-in types. It defines an application-independent data type that must be distinguishable from all other data types. The other three classes are user defined. The APPLICATION class distinguishes data types that have a wide, scattered use within a particular presentation context. PRIVATE distinguishes data types within a particular organization or country. CONTEXT-SPECIFIC distinguishes members of a sequence or set, the alternatives of a CHOICE, or universally tagged set members. Only the class number appears in braces for this data type; the term COONTEXT-SPECIFIC does not appear.

Слайд 15





ASN.1 – Tagged
Описание слайда:
ASN.1 – Tagged

Слайд 16





ASN.1 – Tagged
As we indicated in the above discussion of type SET, the representation in a) is invalid in ASN.1 because its instances can be ambiguous. 
The tagging in representations b), c), and d) overcome the problem and allow instances to be transmitted uniquely.
IMPLICIT in c) indicates that an original tag is replaced by any of the three user-defined tags. 
EXPLICIT tagging would be appropriate when strong-type-checking is more important than compact representation; it can be used when the original tag is accompanied by a user-defined tag. 
The context-specific tagging in d) is similar to the APPLICATION class tagging in b) except that the class of the tag is not specifically transmitted.
Описание слайда:
ASN.1 – Tagged As we indicated in the above discussion of type SET, the representation in a) is invalid in ASN.1 because its instances can be ambiguous. The tagging in representations b), c), and d) overcome the problem and allow instances to be transmitted uniquely. IMPLICIT in c) indicates that an original tag is replaced by any of the three user-defined tags. EXPLICIT tagging would be appropriate when strong-type-checking is more important than compact representation; it can be used when the original tag is accompanied by a user-defined tag. The context-specific tagging in d) is similar to the APPLICATION class tagging in b) except that the class of the tag is not specifically transmitted.

Слайд 17





ASN.1 – Listing of Universal Tags
Описание слайда:
ASN.1 – Listing of Universal Tags

Слайд 18





ASN.1 – Listing of Universal Tags
Описание слайда:
ASN.1 – Listing of Universal Tags

Слайд 19


ASN.1 & BER, слайд №19
Описание слайда:

Слайд 20





Abstract Syntax und Transfer Syntax
Описание слайда:
Abstract Syntax und Transfer Syntax

Слайд 21





Задача
Дефиниране на типове данни за следния обект:
LAN – мрежова карта:
Индекс : 			0
Производител : 		3Com
Получени пакети: 	521
Изпратени пакети:	130
Описание слайда:
Задача Дефиниране на типове данни за следния обект: LAN – мрежова карта: Индекс : 0 Производител : 3Com Получени пакети: 521 Изпратени пакети: 130

Слайд 22





Type assignments
Описание слайда:
Type assignments

Слайд 23





Value assignments
Описание слайда:
Value assignments

Слайд 24





BER - кодиране
Описание слайда:
BER - кодиране

Слайд 25





BER - кодиране
Описание слайда:
BER - кодиране

Слайд 26





BER - кодиране
Описание слайда:
BER - кодиране

Слайд 27





BER - кодиране
Описание слайда:
BER - кодиране



Теги ASN.1 & BER
Похожие презентации
Mypresentation.ru
Загрузить презентацию