• SyncML Client realizes the research

        The mobile communication technology and computer technology’s progress promoted the motion computation and communication facility’s unpopularity, the people start to use more and more moreover are various mobile termination equipment carry on the correspondence, processes and saves each kind of data and the information. The numerous terminal devices cause between the different equipment the same data and the information are at the inconsistent condition frequently, this needs to carry on the motion data synchronization. In the current motion data synchronization domain, has the numerous mutually incompatible different manufacturer respective data synchronization standard, for the end-user, the equipment manufacturer, the application procedure developer and served the provider to bring many questions. In view of this kind of chaotic condition, formulates a unified general number Fan to be able the data which and the information synchronized any kind of agreement defines between any kind of network transport protocols and the random data equipment.

    1 SyncML synopsis
        The SyncML data synchronization standard (1-6) is organizes SyncML by the data synchronization forum to initiate the group (SyncML Initiative) a formulation conventional data synchronization standard. Because the SyncML data synchronization standard is by internationally numerous including Ericsson, IBM, Lotus, Matsushita, Motorola, Nokia, Openwave and the Starfish numerous companies, formulates together according to the conventional data synchronization standard’s request completes, therefore this standard already became one at present the industrial world general synchronization which widely accepts
    Protocol standard. The International Telecommunication Union has approved it for the next generation mobile communication standard constituent.
        The SyncML data synchronization standard mainly includes 3 parts, namely the SyncML synchronous protocol (SyncML Sync Protoc01), the SyncML expression agreement (SyncML Representation Protoc01) and the SyncML transmission mode binding (only includes SyncML HTTP Binding, SyncML OBEXBinding and SyncML WSP Binding at present). The SyncML synchronous protocol has mainly defined in the data synchronous operation conversation flow, the conversation process data interactive process, synchronized both sides handshake process and data synchronization SYncML expression agreements and so on type has mainly defined the data type which, the forms of field orders as well as the SYncML message format which the synchronization supports transmits in each kind of network. The SyncML news may wired and in the wireless network transmits in any kind, has defined in SYncML agreement’s transmission mode binding in HTT P (HyperText Transfer Protocol, HyperText Transfer Protocol), WSP (Wireless Session Protocol, wireless session protocol), OBEX (Object Exchange Protocol, object swap agreement) in three kind of agreement’s network links transmits the SyncML news way. These three kind of transport protocols has basically covered all long-distance and the short distance connection.

        In the SyncML synchronous protocol, has defined between the SyncML client side and the SyncML server end the news interactive process, including synchronized both sides data identifier definition and mapping, time database revision data security measure and so on. The definition data synchronization type including the bidirectional synchronization (two-way wync), the slow synchronization (slow syne), the client side initiates the unidirectional synchronization (one-way sync from client only), the client side to initiate the refurbishing synchronization (refresh sync from client only), the server end to initiate the unidirectional synchronization (one-way sync from server only), the server end to initiate the refurbishing synchronization (refresh syne from server only), the server end request synchronization (server alerted sync) and so on. Figure 1 explained SyncML client side and time server end synchronization news interactive situation, the mobile phone takes the SyncML synchronization the client side, a network server takes the SyncML synchronization the server end. The mobile phone transmission contains the data revision information the SyncML news for the network server, the network server acts according to the SyncML news the data to carry on each kind of synchronous operation, the data which in the synchronized server saves, then gives the revision result information response the mobile phone.

    2 SRTK analyses
        In order to facilitate the SyncML data synchronization standard the promotion and realizes, simultaneously also to confirm the sYncML data synchronization standard the realizability, SyncML initiated the group to issue an open sound code’s SyncML reference realized - the SyncML reference tool bag. This tool guarantees serviceability the C language to carry on the development, contains a comprehensive C storehouse, uses in founding, the transmission, receiving and to analyze the SyncML news. SRTK is a quite mature product. May translates in the Windows platform and the Linux platform. In addition, it was also the EPOC platform and the Palm platform has reserved the connection. It supports XML and the WBXML code, supports HTTP (to use on Web the synchronization), WSP (use and 0BEX (in IrDA or on blue tooth use) transmits on WAP). At present, the SyncML reference tool bag is (http://sourceforge.nct/) on is entrusted with in SourceForge, the project name is SyncML C T00lkit, the newest edition was 4.3 editions (issue in October 27, 2003).
    2.1 SRTK gross structure
        SyncML refers to tool bag’s exterior structure and internal gross structure as shown in Figure 2. SyncML Reference Implementation (i.e. SyncML reference tool bag) provides the data synchronization service through a series of application programming interface for the upper formation application procedure, the upper formation application procedure completes the data receiving and dispatching work through the transmission processing connection use independent network transmission module. Application layer API which provides besides the use lower level, but must provides a series of call-back function to the lower level network transmission module and SRTK, completes functions and so on error processing, synchronization demand processing and SyncML news lamination transmission.

        What because SRTK mainly realizes is SyncML functions and so on news foundation, analysis and related business processing, itself does not have the network data receiving and dispatching function, therefore the upper formation application procedure needs to use the independent network transmission to realize the data synchronization function. In SRTK actual development, to facilitate, in SyncML refers to tool bag’s foundation to carry on the related synchronized application procedure the development, SyncML initiates the group while to compile SRTK, also realized has been able to carry on HTTP, WSP and the 0BEX transmission correspondence tool bag (Communication Toolkit), and issued together with the SyncML tool bag.
        SyncML refers to tool bag’s interior to realize the structure mainly to divide into three, respectively is the SyncML core level, the SyncML plug-in unit level and the SyncML basic storehouse level. The SyncML core level mainly realizes the SyncML reference which transfers for the application layer to realize the connection. This independence in the concrete system platform, mainly includes three parts: The SyncML business management module, the primary cognizance synchronization business management, including multi-synchronization’s coordinated, the work area buffer visits in control and the synchronized receiving and dispatching pattern cut and so on; The SyncML order production module, the primary cognizance produces the SYncML synchronization news, only uses in the synchronized transmission pattern; The SyncML demand processing module, the primary cognizance analysis receives the SyncML synchronization news and transfers the call-back function which the application layer provides to complete the corresponding synchronous operation, only uses in the synchronized receive pattern. The middle SyncML plug-in unit level mainly realizes a series of the lower level function which transfers for the SyncML core level, mainly includes two parts, namely the SyncML work area administration module (uses in storing the svncML news responsibly work area buffer assignment and recovery work) and SyncML arranges the decoding module (to be responsible for XML either WBXML form SyncML news code or analysis work). In the SyncML reference tool bag, this basis concrete movement platform has carried on the certain extent optimization. Because it is designed the plug-in unit level, therefore it allows simultaneously to have many SyncML work area administration module or SyncML arranges the decoding module existence, the actual synchronization realizes may act according to the different situation to transfer the different plug-in unit. Most next is the SyncML basic storehouse level, mainly realizes the first floor such as functions and so on store management, string of character processing. This leading role is the probability which the enhancement realizes.
    2.2 SRTK synchronization pattern
        According to the SyncML synchronization role’s difference, the SyncML reference tool bag works separately in two kind of different patterns: When the SyncML synchronization software takes the synchronized news when sponsor, the SyncML reference tool bag work in the synchronized transmission pattern, this time the SyncML demand processing module is not at the off-position; When the SyncML synchronization software takes the synchronized news when receive, the SyncML reference tool bag work in the synchronized receive pattern, this time the SyncML order production module is not at the off-position.
    2.2.1 synchronized transmission pattern
        When needs to initiate the SyncML synchronization (client side) or responds opposite party SyncML synchronization (server end), the SyncML business management module will cause SRTK to work in the synchronized transmission pattern. First, the application procedure transfers smllnitlnstane(), founds a SyncMI synchronization business (at the same time for its assignment work area buffer), in the essential situation may transfer SyncSetSeesion Options(), the establishment synchronization business’s parameter. After business succeeds the foundation, the application procedure may transfer smlStarMessage(), starts to found the synchronized news documents. After the application procedure completes the related synchronized order, transfer connection smlEndMessage(), conclusion synchronization news documents preliminary groundwork. Between these two connection transfer, the application procedure may act according to the different synchronous operation order to transfer the different connection, increases the synchronization command information to the synchronized news documents. After the application procedure completes the synchronized news documents the preliminary groundwork, the application procedure may transfer the smILockReadButffer() locking work area buffer, simultaneously gains the production synchronized news documents. Afterward, may transfer the network transmission module the xptSendData() transmission synchronization news, after the transmission completes, the application procedure must transfer smlUnlockReadBuffer(), and releases the work area buffer the work area buffer unlocking. Finally, the application procedure transferred smlTerminatelnstance(), conclusion synchronization business.
    2.2.2 synchronized receive pattern
        when needs to receive opposite party SyncML synchronization response (client side) or receives the SyncML synchronization which opposite party initiates (server end), the SyncMI business management module will cause SRTK to work in the synchronized receive pattern. First, the application procedure transfers smllnitlnstance() to found a SyncMI synchronization business (at the same time for its assignment work area buffer). In the essential situation may transfer SyncSetSeesionOptions(), the establishment synchronization business’s parameter. After business succeeds the foundation, the application procedure may transfer smlLockWrite the Buffer() locking work area buffer, simultaneously and preserves in the work area buffer using the connection xptReceiveData() receive synchronization news documents. After the application procedure completes the synchronized news documents the receive, transfers connection smlUnlockWrIte Buffer() to give the documents SRTK to carry on processing. After SRTK receives the synchronized news documents, will transfer smlProcessData() to carry on processing. This connection transfer lower level module analysis synchronization news documents, and complete the corresponding synchronous operation according to the analysis result call corresponding demand processing call-back function. Finally, the application procedure transferred the smlTerminatelnstance() conclusion synchronization business.

    3 SyncML CIient realizes
        In view of the fact that majority mobile termination equipment handling ability and memory property limitedly with mobile communication network narrow band width, long time delay, high cost and unreliable and so on characteristics, generally can only realize lightweight SyncML on the mobile termination equipment the Client software, moreover as a result of the mobile termination market’s steep competition, factors and so on software development’s cost and going on the market time has become the quite sensitive target. The SyncML reference tool bag as a result of its authority, the simplification, the good probability, the opening sound code and may characteristics and so on free use, become the first choice which on the present mobile termination equipment SyncML Client realizes.
    3.1 SyncMt CIilent design
        The SyncML reference tool bag realizes as the opening sound code’s official, to further develop the SyncML synchronization software to provide the good beginning, but the SyncML reference tool bag was not enough obviously merely. This article in SyncML refers to tool bag’s foundation, studied and has realized the work in mobile termination SyncMI the Client software.
        In view of the fact that the mobile termination platform’s multiplicity, this software will possibly be taken the independent module to transplant to the different hardware platform and the software platform, therefore this software will consider software’s portability as far as possible in the design. In order to serve this purpose, this software system has used the lamination design concept, on the one hand mainly realizes the SyncML data synchronization logic to seal as far as possible, realizes its platform independency, on the other hand, the distinction will be independent to and to under with the specific software and hardware environment related part constitutes the SyncML synchronization user interface level and the platform adaptive level. Thus, when needs to carry on the software transplants, the development personnel only need act according to the specific software and hardware environment to realize the corresponding SyncML synchronization user interface level and the platform adaptive level, thus has guaranteed the transplant conveniences in the greatest degree and quick. In addition, considered the mobile termination and the mobile communication network’s actual state, fully had also considered in the design the embedded software development’s request, argues vigorously enables the system to have the low memory demand, the low time expenses, the redundant reliability, high nimble 1 to live, the high interoperability and the complete function realizes and so on characteristics.
        Figure 3 is mobile termination SyncML the Cllent software’s structural design. The SyncML synchronization user interface is software’s man-machine interaction contact surface, it provided the start to the user, to stop, the layout data synchronization connection, simultaneously the user could also through this connection real-time gain synchronization status messages and the result information. The SyncML synchronization supervisor is the entire synchronized software’s core. It acts according to the upper formation the related disposition information and the command information, the analysis diary administration module record synchronized object information, reads in the database to be related the synchronized object data and transfers the SyncML reference tool bag production synchronization news, finally transfers the correspondence conversation administration module the API transmission synchronization news. In addition, it also receives the synchronized news which the correspondence conversation administration module receives, transfers the SyncML reference tool bag to carry on the analysis, then the basis analysis result call database interface revision synchronization object information, simultaneously the synchronization revises the diary information, finally upward level SyncML synchronization user interface report synchronization result information. The correspondence conversation administration module is responsible for between the synchronized software and the SyncML server’s agreement alternately with news receiving and dispatching, simultaneously manages the local conversation information and business cuts the work, is equal initiates the group in SyncML the correspondence tool bag which issued together along with the SyncML reference tool bag. The SyncML reference tool bag is responsible for the synchronized news the production and the analysis work. The diary administration module is responsible to record the synchronized object the revision information, to realize with the SyncML server’s fast synchronization provides the basis. The database interface realizes synchronized operations and so on object deposit and revision. The platform adaptive level supplies the essential system software and hardware platform information for the above module.

    3.2 SyncML CIient realizes
        According to the above design proposal, we have realized SyneML based on the general intelligent handset software and hardware platform the Client software. In the actual intelligent handset software and hardware platform choice, based on the cost and the reality system requirements’ consideration, has selected take Epson Slc33209 as the core hardware platform and take Epson the ROS33 operating system as the core software platform. The development kit has selected Microsoft Visual C 6 and the Epson series translation, the link, downloading and the debugging aids. In the lower level communication protocol’s choice, we have realized HTTP and the WSP transport protocols.
        In actual SyncMI Client realizes, this software is mainly uses in individual information tube (Personal Information Management, PIM) software’s information synchronization. To be specific is on the synchronization mobile termination and the far-end server’s address book and the program arrangement information. And the address book information’s coding form follows vCard2.1 and vCard the 3.O standard, the program arrangement information’s coding form follows vCanlendar 1.O and the iCanlendar 2.0 standards.
        In order to guarantee that in the greatest degree the interoperability, enables SyncML the Cli_ent software to be able with any to conform to the SyncML data synchronization standard server to carry on the data synchronous operation, we request according to the SyncML data synchronization standard 1.1.1 edition’s uniformities to carry on software’s development work strictly. Develops SyncML the Client software function includes: Supports bidirectional synchronized, slow synchronized and the server end request synchronization three kind of synchronization types; Supports all synchronized client side element type which in the SyncML expression agreement requests; Supports XML and the WBXML two kind of form synchronizing informations arranges the decoding function; Supports two safe authentication ways, namely basic authentication way and MD5 abstract authentication way; The support the big synchro data package will analyze Cheng Duoge the network news transmission the mechanism and Large the Objects pattern; Realizes the database level synchronized anchor (Strnc Anchors); Supports at the same time the terminal and many server synchronizations, this locality retains many synchronized diary information (most to be possible simultaneously to preserve 5 synchronized diary information) to support uses in the electronic name card exchange the vCard 2.1 standards and the vCard3.0 standard; The support uses in the calendar and traveling schedule exchange of information vCalendar the l.0 standard and the iCalendar 2.0 standards; Supports HTTP and the WSP transport protocols.
        A software development process’s main difficulty is software’s later period tests the platform the construction. The current domestic clear’s SyncML server are very few, the related operator’s SyncML service material is very deficient, has brought the suitable difficulty for software’s test. In the actual test, we through constructed our SyncML server and the testing environment have overcome this, on the one hand difficulty. We utilize Nexthaus SyncJe(tm)Personal Servel, Outlook Edi-tion to take the far-end the SyncML synchronization server, simultaneously analyzes the corresponding synchronized news through WildPackets EtherPeek NX for Windows, can thus test SyncML in the actual motion network the Cli_ent software.

    Conclusion
        Along with motion computation day-by-day popularization, the people are strengthening unceasingly regarding the motion data synchronization’s demand, already presented SyncMI in some leading mobile termination manufacturer’s product the trace. The SyncML reference tool bag initiates the official reference which as SyncML the group provides to realize, it sped up the SyncML synchronization software’s development and the popularization to a great extent. Although because to a certain extent it has massive API, and the unfriendly development documents, cross the threshold are quite difficult, but speaking of the long-term SyncMl synchronization software development, the SyncML reference tool bag has become a quite good choice.

    Share/Save/Bookmark

No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

TOP
Copyright © 51 Research and Design, Electronic Engineers website - Embedded Systems, MCU, DSP, EDA, Test and Measurement, Components, Communications, Power, Microelectronics, Semiconductors
Powered by WordPress | Theme by mg12 | Valid XHTML 1.1 and CSS 3