Users of personal information manager (PIM) mobile devices such as, e.g., notebook, tablet and handheld personal computers (PCs), and personal digital assistants (PDAs), often have the need to synchronize data contained on the mobile devices with a master version of the data, often stored on a desktop computer or on a server. Typically, a synchronization operation involves the user connecting the mobile device to the master device with a cable or through a wireless connection. A synchronization application program then proceeds through a series of synchronization tasks in a fixed order. For example, the synchronization application might synchronize a calendar, then a contact list, then a task list, then a notepad, then an expense record and finally an e-mail in-box.
Conventionally, if any one of the synchronization tasks fails or is interrupted, the entire synchronization process must restart. Synchronization failure is rare for wired connections, but wireless connections are prone to more frequent interruptions if the mobile device is moved due to the transient and intermittent nature of the wireless connection. Additionally, the user cannot choose the ordering of the synchronization tasks. If, e.g., in the order presented above, the user only cares that the e-mail inbox be synchronized, the user must conventionally wait for all of the other synchronization tasks to be completed first before the user's e-mail is synchronized.
Various exemplary features and advantages of the invention will be apparent from the following, more particular description of exemplary embodiments of the present invention, as illustrated in the accompanying drawings wherein like reference numbers generally indicate identical, functionally similar, and/or structurally similar elements. The left most digits in the corresponding reference number indicate the drawing in which an element first appears.
A preferred embodiment of the invention is discussed in detail below. While specific exemplary embodiments may be discussed, it should be understood that this is done for illustration purposes only. A person skilled in the relevant art will recognize that other components and configurations may be used without parting from the spirit and scope of the invention.
An exemplary embodiment of the present invention may include a system, method, and computer program product for priority-based synchronization of personal information manager (PIM) items that may be user-defined. The system may allow the user to assign the order in which PIM items may be synchronized. The system may further allow a synchronization process to be interrupted before all synchronization tasks have been completed. The process of synchronizing data may include, e.g., updating data to or replicating from a common database, and/or merging data from two sources including resolving any conflicts.
The mobile device 102 may be a communications device or computing device such as, e.g., (but not limited to) a tablet personal computer (PC), a handheld PC, a subnotebook PC a notebook PC, a laptop PC, a personal digital assistant (PDA), or other device such as a desktop PC or workstation, etc. Mobile device 102 may include any of various operating systems (OS) upon which application software programs may execute. Exemplary operating systems that may be used on such mobile devices 102 may include, e.g., (but not limited to) a WINDOWS MOBILE™ for Pocket PCs operating system, available from MICROSOFT® CORPORATION of Redmond, Wash., U.S.A. Although mobile device 102 in an exemplary embodiment may be described as mobile, the device need not be mobile, and may actually be stationary. The base device 104 may be another mobile device, a desktop computer, or some other source of data that may be synchronized with the data on the mobile device 102. The base device 104 as depicted in the exemplary embodiment of diagram 100 may include, e.g., (but not limited to) a synchronization session manager 106, a synchronization policy manager 108, one or more synchronization tasks A 110a, B 110b, C 110c (collectively referred to as synchronization tasks 110), and a synchronization task database 112, etc.
Synchronization tasks 110 in an exemplary embodiment may include, e.g., (but not limited to) the individual synchronization transactions between applications on separate mobile and base devices 102, 104. For example, (but not limited to) coordinating data between a calendar application on an exemplary wireless PDA mobile device 102 and a calendar application on an exemplary desktop base device 104 is an example of a synchronization task 110. Synchronization tasks 110 may be defined or created at different levels of granularity. A first exemplary level of granularity of synchronization task 110 might be all calendar transactions. A second exemplary level of more detailed granularity could divide calendar transactions tasks into sub-categories based on, e.g., (but not limited to) calendar transactions types such as, e.g., appointment adds, deletes, and changes, etc. The smaller the granularity of specificity of synchronization task 110, the more robust the prioritization of synchronization tasks may be possible. Further, in an exemplary embodiment, an elemental level of a synchronization task may be referred to as a synchronization item (not shown). The synchronization item may correspond to a pair of data elements (such as, e.g., (but not limited to) databases, data records, or data fields, etc.), one element of the pair of data elements being a data element on mobile device 102, and a second element of the pair of data elements being a data element on base device 104.
The synchronization session manager 106 may execute the synchronization tasks 110 in an order of priority assigned by the synchronization policy manager 108. The synchronization session manager 106 may be started manually by user 101 (who may be a user of mobile device 102, base device 104, or both devices 102, 104, etc.), or automatically by an event, such as, e.g., (but not limited to) when the mobile device 102 comes within a range of the base device 104 (as described further below with reference to flow diagram 200 of
The synchronization policy manager 108 may assign synchronization priorities to the synchronization tasks 110. In an exemplary embodiment, the synchronization priorities may be assigned according to implicit, or explicit factors. Briefly, an exemplary, but not limiting, implicit factor may include prioritization based on application usage frequency. An exemplary, but not limiting explicit factor might include a user specified order of priority. Of course other factors may be used. Generally, exemplary explicit factors may include a factor that may specify a priority directly, i.e., a specified priority. Exemplary implicit factors may include a factor that may derive a priority indirectly from, e.g., other factors. Of course, a combination of implicit and explicit factors may also be used to assign synchronization priorities to synchronization tasks 110. The synchronization policy manager 108 may execute on the mobile device 102, base device 104, or another device (not shown).
The synchronization policy manager 108 may use application usage data 114 as shown in diagram 100 to implicitly determine which applications may be most often used by the user and to set the synchronization tasks 110 related to that application to have the highest priority. For example, (but not limited to) if the application usage data 114 indicates that a calendar application is used the most on the mobile device 102, then the synchronization policy manager 108 may set calendar-related synchronization tasks 110 to have the highest priority. Another implicit prioritization may relate to a type of data. For example, assuming use of a detailed level of synchronization task granularity, then, e.g., (but not limited to) all electronic mail (e-mail), e.g., might be divided into separate different categories such as, e.g., (but not limited to) unopened e-mail, new e-mail, e-mail including hypertext transfer protocol (http) information, e-mail from specific users, e-mail containing no attachments, internal company e-mail, e-mail from a given domain, etc., corresponding to different synchronization tasks 110, and then each different synchronization task 110 could be assigned a different synchronization prioritization, etc. For example, (but not limited to) internal company e-mail could be set to a lowest relative priority level. Synchronization priority levels may be derived from, e.g., (but not limited to) other tags, network priority indication, or indications of priority, such as, e.g., (but not limited to) quality of service levels, type of service (TOS) indications, differentiated services (DIFFSERV) levels, virtual private network (VPN) tags, etc.
Thus, in an exemplary embodiment, the synchronization policy manager 108 may use, e.g., (but not limited to) frequency of task synchronization as an indication of priority of a synchronization task 110. A synchronization task 110 that executes frequently over time may be indicative of, e.g., (but not limited to) a dynamic data source, as compared to a data source that executes rarely. Probabilistically, in an exemplary embodiment, it may make sense to prioritize the more dynamic data source ahead of the less dynamic source on an assumption that the former may be more likely to have changed than the latter, in the time since the last synchronization event.
The synchronization policy manager 108, may also accept, e.g., (but not limited to) explicit user priority specifications 116 to set the priorities of the synchronization tasks 110.
The synchronization policy manager 108, as noted above, may also use a combination of application usage data 114 and user specified priorities 116 to set task priorities. In an exemplary embodiment, the synchronization policy manager 108 may schedule an order of execution of synchronization tasks by classifying different categories of synchronization tasks and then selecting in order of highest priority a schedule according to a prioritization process such as, e.g., (but not limited to) hierarchical class based prioritization (HCBP), weighted fair queuing (WFQ), or any of a number of other well known queuing and scheduling methods, etc.
In an exemplary embodiment, the synchronization policy manager 108 may order a queue of synchronization tasks 110 in order ranked by synchronization priorities.
In an exemplary embodiment, the synchronization session manager 106 may operate so as to maintain a synchronization state 118. If the mobile device 102 and base device 104 go out of range of one another, in an exemplary embodiment, the synchronization session state 118 may be stored along with synchronization tasks remaining to be completed. Upon the mobile device 102 and base device 104 returning to being within the range of one another, then the state of synchronization 118 may be retrieved, and remaining synchronization tasks 110 in the queue may then be executed by synchronization session manager 106 in priority order as determined by synchronization policy manager 108.
In an exemplary embodiment, different items of the same synchronization task 110 may have different subpriorities. For example, (but not limited to) items within a to-do list might be prioritized according to due date. Within the to-do list synchronization task, the to-do list items with the nearest due date might be synchronized first.
The computer system 400 may include one or more processors, such as, e.g., processors 404. The processor(s) 404 may be coupled to a communication infrastructure 406 (e.g., a communications bus, cross-over bar, or network). Various software embodiments may be described in terms of this exemplary computer system. After reading this description, it will become apparent to a person skilled in the relevant art(s) how to implement the invention using other computer systems and/or architectures.
Computer system 400 may include a display interface 402 that forwards, e.g., (but not limited to) graphics, text, and other data, etc. from the communication infrastructure 406 (or from a frame buffer not shown) for display on the display unit 430.
The computer system 400 may also include, e.g., (but not limited to) a main memory 408, preferably random access memory (RAM), and a secondary memory 410, etc. The secondary memory 410 may include, for example, (but not limited to) a hard disk drive 412 and/or a removable storage drive 414, representing a floppy diskette drive, a magnetic tape drive, an optical disk drive, a compact disk drive CD-ROM, etc. The removable storage drive 414 may read from and/or write to a removable storage unit 418 in a well known manner. Removable storage unit 418, also called a program storage device, machine readable medium, or a computer program product, may represent, e.g., (but not limited to) a floppy disk, magnetic tape, optical disk, compact disk, etc., which may be read from and written to by removable storage drive 414. As will be appreciated, the removable storage unit 418 may include a computer usable storage medium having stored therein computer software and/or data. For example, the machine-readable medium may include flash memory devices; electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.), and others.
In alternative exemplary embodiments, secondary memory 410 may include other similar devices for allowing computer programs or other instructions to be loaded into computer system 400. Such devices may include, for example, (but not limited to) a removable storage unit 422 and an interface 420. Examples of such may include a program cartridge and cartridge interface (such as, e.g., those found in video game devices), a removable memory chip (such as, e.g., an erasable programmable read only memory (EPROM), or programmable read only memory (PROM) and associated socket), and other removable storage units 422 and interfaces 420, etc., which may allow software and data to be transferred from the removable storage unit 422 to computer system 400.
Computer 400 may also include an input device such as, e.g., (but not limited to) a mouse or other pointing device such as a digitizer, and a keyboard or other data entry device, etc. (none of which are labeled).
Computer 400 may also include output devices, such as, e.g., (but not limited to) display 430, and display interface 402, etc. Computer 400 may include input/output (I/O) devices such as, e.g., communications interface 424, cable 428 and communications path 426. These may include, e.g., a network interface card, and modems (neither are labeled). Communications interface 424 may allow software and data to be transferred between computer system 400 and external devices. Examples of communications interface 424 may include, e.g., (but not limited to) a modem, a network interface (such as, e.g., an Ethernet card), a communications port, a Personal Computer Memory Card International Association (PCMCIA) slot and card, etc. Software and data transferred via communications interface 424 may be in the form of signals 428 which may be electronic, electromagnetic, optical or other signals capable of being received by communications interface 424. These signals 428 may be provided to communications interface 424 via a communications path (e.g., channel) 426. This channel 426 may carry signals 428 and may be implemented using, e.g., (but not limited to) wire or cable, fiber optics, a telephone line, a cellular link, a radio frequency (RF) link and other communications channels, etc.
In the following description and claims, the terms “coupled” and “connected,” along with their derivatives, may be used. It should be understood that these terms are not intended as synonyms for each other. Rather, in particular embodiments, “connected” may be used to indicate that two or more elements are in direct physical or electrical contact with each other. “Coupled” may mean that two or more elements are in direct physical or electrical contact. However, “coupled” may also mean that two or more elements are not in direct contact with each other, but yet still cooperate or interact with each other.
An algorithm is here, and generally, considered to be a self-consistent sequence of acts or operations leading to a desired result. These include physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers or the like. It should be understood, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities.
Unless specifically stated otherwise, as apparent from the following discussions, it is appreciated that throughout the specification discussions utilizing terms such as “processing,” “computing,” “calculating,” “determining,” or the like, refer to the action and/or processes of a computer or computing system, or similar electronic computing device, that manipulate and/or transform data represented as physical, such as electronic, quantities within the computing system's registers and/or memories into other data similarly represented as physical quantities within the computing system's memories, registers or other such information storage, transmission or display devices.
In a similar manner, the term “processor” may refer to any device or portion of a device that processes electronic data from registers and/or memory to transform that electronic data into other electronic data that may be stored in registers and/or memory. A “computing platform” may comprise one or more processors.
Embodiments of the present invention may include apparatuses for performing the operations herein. An apparatus may be specially constructed for the desired purposes, or it may comprise a general purpose device selectively activated or reconfigured by a program stored in the device.
In this document, the terms “computer program medium” and “computer readable medium” may be used to generally refer to media such as, e.g., removable storage drive 414, a hard disk installed in hard disk drive 412, and signals 428. These computer program products provide software to computer system 400. The invention may be directed to such computer program products.
Computer programs (also called computer control logic), including object oriented computer programs, may be stored in main memory 408 and/or the secondary memory 410 and/or removable storage units 414, also called computer program products. Such computer programs, when executed, may enable the computer system 400 to perform the features of the present invention as discussed herein. In particular, the computer programs, when executed, may enable the processor 404 to perform the features of the present invention. Accordingly, such computer programs may represent controllers of the computer system 400.
In another exemplary embodiment, the invention may be directed to a computer program product comprising a computer readable medium having control logic (computer software) stored therein. The control logic, when executed by the processor 404, may cause the processor 404 to perform the functions of the invention as described herein. In another exemplary embodiment where the invention may be implemented using software, the software may be stored in a computer program product and loaded into computer system 400 using removable storage drive 414, hard drive 412 or communications interface 424. The control logic (software), when executed by the processor 404, may cause the processor 404 to perform the functions of the invention as described herein. The computer software may run as a standalone software application program running atop an operating system, or may be integrated into the operating system.
In yet another exemplary embodiment, the invention may be implemented primarily in hardware using, for example, hardware components such as application specific integrated circuits (ASICs), or one or more state machines. Implementation of the hardware state machine to perform the functions described herein will be apparent to persons skilled in the relevant art(s). In another exemplary embodiment, the invention may be implemented in firmware. In yet another exemplary embodiment, the invention may be implemented using a combination of any of hardware, firmware and software.
Embodiments of the invention may also be implemented as instructions stored on a machine-readable medium, which may be read and executed by a computing platform to perform the operations described herein. A machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer).
The exemplary embodiment of the present invention makes reference to wireless personal area networks. A brief discussion of various exemplary wireless network technologies that might be used to implement the exemplary embodiments of the present invention may now be discussed. Exemplary wireless network technology types, may include, e.g., (but not limited to) IrDA wireless technology, and various wireless radio frequency (RF) technologies such as, e.g., short-range RF technologies, Bluetooth, SWAP, wireless fidelity (Wi-Fi), or other IEEE standard 802.11 wireless LANs, and ultrawideband (UWB), etc.
Infrared Data Association (IrDA) is a standard method for devices to communicate using infrared light pulses. Since IrDA devices use infrared light, they may depend on being in line of sight with each other.
Bluetooth is an example of a short-range wireless radio frequency (RF) emerging wireless technology promising to unify several wireless technologies for use in low power radio frequency (RF) networks.
Examples of other short-range wireless RF technologies may include, e.g., (but not limited to) shared wireless access protocol (SWAP) developed by Home radio frequency (HomeRF), and wireless fidelity (Wi-Fi), a derivative of IEEE 802.11, advocated by the wireless ethernet compatibility alliance (WECA), etc.
The IEEE 802.11 wireless LAN standard refers to various technologies that adhere to one or more of various wireless LAN standards. An IEEE 802.11 compliant wireless LAN may comply with any of one or more of the various IEEE 802.11 wireless LAN standards including, e.g., wireless LANs compliant with IEEE std. 802.11a, b, d or g, such as, e.g., (but not limited to) of version IEEE Std 802.11, 1999 Edition; or IEEE Std 802.11a-1999, IEEE Std 802.11b-1999, IEEE Std 802.11b-1999/Cor 1-2001, IEEE Std 802.11d-2001, IEEE Std 802.11-1999 (R2003), and/ or IEEE 802.11g-2003, etc.
Another exemplary short-range RF wireless communication system is UWB. UWB may use small pulses of energy in the time domain that in the frequency domain may be spread across a very wide bandwidth and may be transmitted at a very low power level that is on the order of noise. The pulses may be encoded to carry information by, e.g., differing the timing of arrival of pulses in the time domain.
While embodiments of the invention have been described above using such terms as “base” and “mobile,” it is to be understood that the invention is not limited to any particular communication and/or computing devices. Additionally, such devices may be stationary or mobile.
While various exemplary embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should instead be defined only in accordance with the following claims and their equivalents.