亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? architecture.tex.svn-base

?? 在Diameter3588協(xié)議的基礎(chǔ)上開發(fā)的軟件
?? SVN-BASE
?? 第 1 頁 / 共 3 頁
字號:
\documentclass{article}\usepackage{graphicx}\usepackage{times}\begin{document}\title{Open Diameter Software Architecture}\author{Victor Fajardo and Yoshihiro Ohba}\date{August 26, 2002}\maketitleThis white paper describes the software architecture taken by OpenDiameter in implementing the Diameter base protocol\cite{basep}.  Thisarchitecutre is geared towards achieving a modular, extensible andthread-safe solution for Diameter implementation.\tableofcontents\pagenumbering{arabic}\pagebreak\section{Overview\label{sec:overview}}The architecture of the Open Diameter implementation borrows heavilyfrom the design patterns developed in ACE \cite{ace}. In particular, thesocket acceptor, connector and thread pooling patterns are employed. Inaddition to using ACE based patterns, the OS abstraction layer providedby the ACE library is heavily utilized in this implementation. Thisdocument will concentrate on the overall architecture of the OpenDiameter libraries and detailed implementation is not described in thisdocument.  Especially, the focus will be on the ACE patterns used in theOpen Diameter implementation.\subsection{Programming Language\label{sec:language}}The programming language of choice is C++. It is our intent to takeadvantage of object methodology, widespread familiarity and abundantsupport offered by C++. In addition, a decision was made to utilizestandard C++ libraries to allow for speed of development.  C++ alsobecomes a necessity to support highly preferred development tools suchas ACE which is implemented only in C++.\subsection{Platform/System Support\label{sec:platform}}Care has been given to allow the code to be as platform independent aspossible. All system calls are abstracted by an utilities provided byACE. In addition all system calls not covered within the base ACE OSabstraction layer are made as POSIX compliant as possible. With theintegral use of ACE, supported platforms for the Open Diameter librarywill fall within the supported platforms of ACE.%\section{Diameter Implementation\label{sec:implementation}}\section{Modules and Libraries\label{sec:modules}}The current architecture of Open Diameter software is divided into four(4) logical modules. An application core, a session management module, atransport management module and a message parsing module. These first(3) modules comprise a Diameter base protocol engine and is containedwithin a single library (libdiameter). The message parsing module isimplemented as a separate library (libdiamparser) so that it can be usedfor application programs that utilize AAA services to communicate withthe Open Diameter program by using the Diameter message format.These two libraries are written in C++ and provide the Diameter C++ API\cite{api} to provide applications the functionalities of the Diameterbase protocol \cite{basep}.Figure~\ref{fig:modules} shows the relationship between the logicalmodules and applications.\begin{figure}[htbp]\center{\leavevmode\includegraphics[scale=0.8]{figs/modules.eps}\caption{Diameter Library Modules\label{fig:modules}}}\end{figure}As shown in Figure~\ref{fig:modules}, the Diameter message parserlibrary (libdiamparser) is implemented as a separate library from thelibrary for the Diameter base protocol engine (libdiameter).  Bothlibraries are common to any client or server authentication applicationthat uses them. Details of all logical modules are described in thesucceeding sections.\subsection{Application Core\label{sec:appcore}}The application core is a central storage for all global data and forinitialization and termination services for the entire Diameterlibrary. For each application wishing to use the library, an instance ofthe application core has to be created. This is reflected in the designof the draft API \cite{api}. As shown in Figure~\ref{fig:modules}, whetherthe user application is a client or server authentication application ora mere proxy/relay application, an instance of the application core isrequired. Since an application core is heap based memory, it is possiblein certain cases to create multiple instances of an application coreswithin a single program. However, it is recommended that a singleapplication core be created for each software program since there willbe a likely contentions over the transport level listening ports withwhich each application core needs to listen to.Included in the global data store of the application core are all thestatic data contained in the XML configuration files(Section~\ref{sec:configuration}). The session database, peer serviceswhich houses the peer and routing tables, application subscription listand the factory are all referenced here.  The initialization of theapplication core is achieved via its encompassing class(AAAApplicationCore) as specified in the draft API\cite{api}. Initialization involves startup of the factory (masterthread, Section~\ref{sec:mastert}), loading of configuration files,etc. Termination of the application core would be the symmetric oppositeof the operations in initialization. However, some wait states areneeded in termination to ensure that all existing threads exitsproperly.\subsection{Transport Manager\label{sec:transport}}The transport manager is an integral partner of the applicationcore. Its main responsibility is to maintain connection states withother Diameter peers (which includes recovery) as well as routing anddelivery of Diameter messages. Delivery of local Diameter messages,i.e. those for local sessions, means that the transport managementmodule passes the message to the session manager.With the introduction of ACE communications acceptor/connector pattern,the implementation of the transport manager revolves around ACE servicehandler classes (Section~\ref{sec:peert}). As noted inSection~\ref{sec:peert}, the factory resides in the application core andhence the ACE acceptor and connector object are actually serviced withinthe factory (master thread, Section~\ref{sec:mastert}). A singletonclass acts as initializer and terminator for the transport managementmodule (Section~\ref{sec:peert}). Since connection activity detailsreside within ACE, the service handlers can concentrate on the mainfunctions that the transport manager is responsible for.As shown in Figure~\ref{fig:modules}, in using the Diameter library, thetransport management module will always be required by the applicationcore no matter what type of application uses the library. Since there isno need for the application to interact with this module the draft API\cite{api} has no direct reference to this module. It is a hidden yetintegral module which all upper level modules require.\subsection{Session Manager\label{sec:session}}The session management module is responsible for storing and maintainingDiameter sessions for client/server authentication application using theDiameter library. A red-black tree serves as a database of sessionskeyed by session id's \cite{basep}. Each session stores the currentsession state, active timers and other session relatedinformation. Since an application relates to the Diameter library viasessions, the draft API \cite{api} exposes necessary functionality inmanipulating a session. It also relates transmission of messages fromthe an application via an existing session hence associate everyapplication generated message will be associated with a session.As noted in Section~\ref{sec:pool}, the execution context of thesession manager is based upon a thread pool. So each session in thedatabase also contains a job queue that enables the thread pool toserially execute all the necessary events for a given session. Thesession database itself as well as the job queues(Section~\ref{sec:session}) for each session is protected by mutexlocks. As noted in Section~\ref{sec:appcore}, the session database ispart of the application core but the underlying methods and functions tomaintain the state of each session are in the session managementmodule. Interaction between session manager and transport manager isdiscussed in detail in Section~\ref{sec:msgtransport}.\subsection{Message Parser\label{sec:msgparser}}The message parser module is used for parsing Diameter messagesincluding header and payload, where the payload part is consist of Diameter AVP(s).In the message parser module, all known AVP's and command codes areloaded into memory during initialization phase via the dictionary filesto construct a runtime dictionary database.  These dictionary files,like configuration files, are XML based. The XML format is well knownand hence very well supported.  Apache's Xerces C++ XML library is usedto parse the dictionary files. It is open source library which isheavily utilized in the apache web environment.  Extendibility of thedictionary will be provided with the use of XML.Mutual exclusion protection is not necessary for the runtime dictionarydatabase despite serving a threaded environment since all access to it'sruntime database is read-only.\section{Threaded View of the Architecture\label{sec:architecture}}The threaded view of the entire architecture for the Open Diameterimplementation is shown in Figure~\ref{fig:architecture}.\begin{figure}[htbp]\center{\leavevmode\includegraphics[scale=0.8]{figs/architecture.eps}\caption{Threaded View of Open Diameter Architecture\label{fig:architecture}}}\end{figure}As shown in the Figure~\ref{fig:architecture}, the execution context for

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
免费观看在线色综合| 欧美日韩亚洲综合| 欧美做爰猛烈大尺度电影无法无天| 色丁香久综合在线久综合在线观看| 精品日韩欧美一区二区| 亚洲色图欧美偷拍| 国产成人精品免费在线| 欧美久久久久久蜜桃| 亚洲丝袜自拍清纯另类| 美女精品自拍一二三四| 91成人看片片| 国产精品无圣光一区二区| 七七婷婷婷婷精品国产| 欧美三级在线播放| 亚洲女子a中天字幕| 国产**成人网毛片九色| 精品国产1区二区| 青青草国产成人av片免费| 91官网在线免费观看| 亚洲欧美一区二区不卡| 国产美女av一区二区三区| 91精品国产综合久久婷婷香蕉| 亚洲黄色录像片| 91蝌蚪porny| 中文字幕一区二区三区蜜月| 国产成人在线网站| 国产女人aaa级久久久级| 国内精品写真在线观看| 日韩美女天天操| 久久精品国产精品亚洲综合| 日韩欧美中文一区| 久久精品国产一区二区| 日韩精品专区在线影院重磅| 另类中文字幕网| 精品美女一区二区三区| 韩国精品主播一区二区在线观看| 日韩视频在线你懂得| 蜜桃视频一区二区三区| 精品久久久久久最新网址| 精品中文字幕一区二区小辣椒| 欧美r级在线观看| 国产不卡一区视频| ㊣最新国产の精品bt伙计久久| 成人美女视频在线看| 日韩一区日韩二区| 欧美性猛交xxxx黑人交| 偷窥少妇高潮呻吟av久久免费| 4438x成人网最大色成网站| 蜜臀精品久久久久久蜜臀| 欧美r级电影在线观看| 国产成人精品免费网站| 日韩毛片视频在线看| 在线中文字幕不卡| 日韩成人精品在线观看| 精品国产亚洲一区二区三区在线观看| 国产在线一区二区| 中文字幕在线不卡| 欧美日韩成人一区二区| 精品一区二区在线看| 国产欧美日韩另类一区| 日本高清免费不卡视频| 免费高清在线一区| 中文字幕色av一区二区三区| 欧美日韩色综合| 国产精品69久久久久水密桃| 亚洲视频一二区| 欧美电影免费观看高清完整版在线| 国产精品一区二区视频| 一区二区三区四区不卡在线 | 亚洲另类春色国产| 欧美日韩三级在线| 国产福利电影一区二区三区| 一区二区三区不卡视频| 久久久噜噜噜久噜久久综合| 91福利国产成人精品照片| 国产一区三区三区| 亚洲一区在线观看视频| 久久嫩草精品久久久久| 欧美亚洲自拍偷拍| 成人开心网精品视频| 美女任你摸久久| 亚洲国产日韩a在线播放性色| 久久免费美女视频| 91精品婷婷国产综合久久性色| 99精品视频在线播放观看| 激情欧美日韩一区二区| 亚洲一区二区三区爽爽爽爽爽| 国产婷婷色一区二区三区在线| 欧美人妖巨大在线| 日本高清不卡视频| 成人教育av在线| 久久se精品一区二区| 五月天网站亚洲| 亚洲精品综合在线| 国产精品久久久久精k8 | 欧美视频在线一区二区三区| 国产麻豆精品95视频| 日韩精品一区第一页| 亚洲激情男女视频| 亚洲精品国产高清久久伦理二区| 久久精品视频在线免费观看| 欧美不卡视频一区| 制服丝袜一区二区三区| 欧美色窝79yyyycom| 一本久久精品一区二区| 成人蜜臀av电影| 成人黄色一级视频| 国产999精品久久久久久绿帽| 久草在线在线精品观看| 麻豆91在线播放免费| 日本在线观看不卡视频| 日韩电影一区二区三区四区| 亚洲国产精品麻豆| 亚洲精品国久久99热| 一区二区三区在线播放| 亚洲一区二区黄色| 五月天激情综合网| 日本网站在线观看一区二区三区| 亚洲123区在线观看| 天天爽夜夜爽夜夜爽精品视频| 亚洲成人手机在线| 日韩av一区二区三区四区| 日本亚洲三级在线| 久久99深爱久久99精品| 国产精品一区不卡| 成人国产免费视频| 色综合天天综合狠狠| 欧美在线免费观看亚洲| 欧美精品在线一区二区| 日韩一区二区电影在线| 久久久久久久久久久久久夜| 日本一区二区不卡视频| 一区二区三区中文字幕电影| 婷婷丁香久久五月婷婷| 美女免费视频一区二区| 国产白丝网站精品污在线入口| 91在线一区二区三区| 欧美性猛片aaaaaaa做受| 日韩你懂的电影在线观看| 久久久精品免费网站| 亚洲色图欧洲色图婷婷| 日韩国产欧美三级| 国产成人综合亚洲91猫咪| 色狠狠色狠狠综合| 日韩午夜激情电影| 自拍偷拍国产亚洲| 另类的小说在线视频另类成人小视频在线 | 天天综合色天天综合| 韩国理伦片一区二区三区在线播放 | 视频在线观看一区二区三区| 狠狠色伊人亚洲综合成人| av不卡在线播放| 日韩欧美亚洲另类制服综合在线| 久久精品一区二区三区不卡牛牛| 国产精品三级av在线播放| 肉色丝袜一区二区| 成人av动漫网站| 欧美一区二区三区四区久久| 国产精品伦一区| 日本在线不卡视频一二三区| 成人av电影在线网| 精品少妇一区二区三区免费观看| 亚洲免费在线看| 国产麻豆精品在线观看| 欧美精品在线视频| 亚洲欧美视频在线观看| 国产伦精品一区二区三区视频青涩| 色视频一区二区| 中文av一区二区| 精品一区二区三区在线观看| 日本久久精品电影| 中文字幕 久热精品 视频在线 | 国产一区二区美女诱惑| 欧美午夜精品久久久久久孕妇| 久久网站热最新地址| 日韩精品国产欧美| 欧美在线免费视屏| 亚洲视频 欧洲视频| 国产真实乱对白精彩久久| 欧美裸体一区二区三区| 亚洲卡通动漫在线| 成人精品一区二区三区四区| 久久综合九色综合97_久久久| 日韩电影在线观看电影| 欧美性生活影院| 亚洲精品国产一区二区精华液| 成人黄动漫网站免费app| 国产喷白浆一区二区三区| 精东粉嫩av免费一区二区三区| 欧美福利电影网| 日韩vs国产vs欧美| 9191精品国产综合久久久久久 | 精品一区二区三区影院在线午夜 | 一区二区国产视频| 91老师片黄在线观看| 18成人在线观看| 91丨九色丨国产丨porny| 国产精品久久久久久久蜜臀| 成人性视频网站| 国产精品丝袜91|