Method and System for Establishing a User-Friendly Data Transfer Service Application Executing Within a Heterogeneous Distributed Service Application Execution Environment
Various embodiments of the present invention are directed to methods and systems for data transfer between electronic, hand-held devices, including cell phones, and computer systems, including servers and PCs, as well as component methods and systems of these data-transfer methods and systems. Component methods and systems of the present invention include secure links between various devices, enhancements to electronic hand-held devices that enable service applications to run continuously or intermittently on the devices, deployment of dynamically created service applications to electronic, hand-held devices, and various additional component methods and systems that facilitate the above-mentioned component methods and systems. One embodiment of the present invention is a robust, efficient, secure, and user-friendly method and system for transferring data between cell phones and personal computers.
Latest Ontela Inc. Patents:
- Method and System for Establishing a User-Friendly Data Transfer Service Application Executing Within a Heterogeneous Distributed Service Application Execution Environment
- SYSTEM AND METHOD FOR ALLOWING A USER TO OPT FOR AUTOMATIC OR SELECTIVELY SENDING OF MEDIA
- Method and system for phone-number discovery and phone-number authentication for mobile communications devices
- System and method for automatic transfer of data from one device to another
- Method and system for phone-number discovery and phone-number authentication for mobile communications devices
This application is a division of U.S. patent application Ser. No. 11/540,497, filed Sep. 28, 2006 and entitled “METHOD AND SYSTEM FOR ESTABLISHING A USER-FRIENDLY DATA TRANSFER SERVICE APPLICATION EXECUTING WITHIN A HETEROGENEOUS DISTRIBUTED SERVICE APPLICATION EXECUTION ENVIRONMENT,” which claims the benefit of Provisional Application No. 60/721,262, filed Sep. 28, 2005, the disclosures of which are hereby incorporated herein by reference.
TECHNICAL FIELDThe present invention is related to data transfer and data management in electronic systems and, in particular, to a method and system for executing service applications in heterogeneous environments, including a service application for securely transferring data between a wide variety of different types of electronic devices, with varying capabilities and capacities, interconnected by multiple communications media.
BACKGROUND OF THE INVENTIONIn the early days of computing, data was transferred between computers by physically transferring the data encoded in physical media, including punch cards and, later, magnetic disk platters. With the advent of sophisticated, high-bandwidth electronic communications media, data-transfer protocols, and various higher-level protocols, such as HTTP over TCP/IP, data transfer between various types of computer systems, including main frames, high-end servers, and PCs has become routine and extremely economical. For example, during the span of a second, enormous amounts of textual, graphical, audio, and video data are transferred across the world between web servers and PCs via the Internet.
During the past ten years, there has been a spectacular increase in the availability and use of wireless, hand-held electronic devices, including cell phones, email devices, personal digital assistants (“PDAs”), and other such devices. Although the sophistication and capabilities of these small, hand-held devices have increased significantly, they are still generally far less sophisticated, and have far less computational power than, personal computers and computer systems. Moreover, these devices are generally interconnected through different communications infrastructures than those used to interconnect computer systems, although, in certain cases, both computers and hand-held electronic devices may be interconnected through common communications media.
The difficulties associated with transferring digital images from cell phones to personal computers, from a first cell phone to a second cell phone, and difficulties associated with transferring other types of data from cell phones and other types of electronic, hand-held devices to personal computers and remote electronic, hand-held devices are becoming more noticeable and annoying to consumers as the capabilities of electronic, hand-held devices increase, and as consumers become more familiar with the existing, highly robust, and user-friendly data-transfer systems for transferring data between and among personal computers and servers. Therefore, users, manufacturers, vendors, and developers of cell phones and cell phone-related technologies have all recognized the need for a more robust, user-friendly, efficient, and economical method and system for transferring data between cell phones and computer systems, between various types of electronic hand-held devices, from personal computers to electronic hand-held devices, and other such data transfers in heterogeneous environments.
BRIEF SUMMARY OF THE INVENTIONVarious embodiments of the present invention are directed to methods and systems for data transfer between electronic, hand-held devices, including cell phones, and computer systems, including servers and PCs, as well as component methods and systems of these data-transfer methods and systems. Component methods and systems of the present invention include secure links between various devices, enhancements to electronic hand-held devices that enable service applications to run continuously or intermittently on the devices, deployment of dynamically created service applications to electronic, hand-held devices, and various additional component methods and systems that facilitate the above-mentioned component methods and systems. One embodiment of the present invention is a robust, efficient, secure, and user-friendly method and system for transferring data between cell phones and personal computers.
One embodiment of the present invention is a method and system for transferring images from a camera-equipped phone to a personal computer through a file server. The camera-equipped phone generates a digital image, for example by taking a digital photo with a built-in or attached camera, and transmits the digital image over a standard wireless network, for example the cellular GSM/GPRS network, to a file server. The personal computer is connected to the internet. The file server is connected both to the standard wireless network and to Internet, and receives digital images from a camera-equipped phone over the network and transmits digital images to the personal computer through the Internet. Both the camera-equipped phone and the personal computer run an image-transfer software program, and use unique addresses to enable the camera-equipped phone to direct images through the file server to the personal computer.
For a more complete understanding of the present invention, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
The present invention is directed to methods and systems for robust, efficient, secure, and user-friendly data transfer between electronic, hand-held devices and personal computers. The present invention is described, below, in the context of a method and system for transferring digital-image data from cell phones to personal computers, personal computers to cell phones, and between cell phones, but the present invention is directed to a much broader and more general transfer method for transferring many different types of data between many different types of electronic devices, as well as for establishing a service-application environment and virtual communications medium and network to support the data-transfer application. In a first subsection, below, an overview of one approach to transferring data between electronic hand-held devices and personal computers is provided. In subsequent subsections, individual component methods and systems that enable implementation of the data-transfer method and system outlined in the first subsection are discussed, in detail, with reference to control-flow diagrams and other technical presentations. In a final subsection, a more detailed discussion of the exemplary data-transfer method and system outlined in the first subsection is provided.
Overview of a Data-Transfer Method and System that Represents One Embodiment of the Present InventionThe virtual communications medium and network (302 in
As discussed in the previous section, with reference to
In step 804, the routine “deploy” collects information from the requester and, optionally, from additional users identified in the request, needed for establishing and configuring the requested service with respect to the target electronic devices. In step 806, the routine “deploy” undertakes a process to identify and characterize each target device to which the service application is to be deployed. In step 808, the routine “deploy” creates a DCA for each target device. Service applications are dynamically created for each target device in order to, at the least, incorporate target-device-specific information into each service application, and, more generally, to tailor the service application for the specific target device. In step 810, the routine “deploy” delivers the DCAs created in step 808 to their respective target devices. Finally, in step 812, the routine “deploy,” when necessary, undertakes installment of the delivered DCAs within their respective target devices. These final two steps are commonly combined and interleaved, but are shown separately in
Next, in step 906, the routine “collectInformation” may collect additional user-related information, including the PC network address for the user's PC, the user's email address, billing information, if the billing information has not been previously stored, characteristics and capabilities of the user's PC or other device, and other such information. If the user is not the entity requesting deployment, as determined in step 907, then the routine “collectInformation” may optionally request permission of a user for deployment of the service application to the user's devices in steps 908 and 909. Next, in step 910, the routine “collectInformation” determines the target devices for the currently considered user to which the service application is to be deployed. This information may be included in the request received in step 802 of
Otherwise, in step 1022, the handler selects a probe application for the device and transmits the probe application to the target device. A probe application is selected based on the best guess as to the type of device that can be made based on the response/request message received from the device and any other device information previously accessed and associated with the target device. If, in addition to sending the probe application, a separate installation message or signal needs to be sent by the handler in order to launch or invoke the probe application on the target device, as determined in step 1024, then, in step 1026, the handler transmits the installation message or signal to the target device following a sufficient period of time for the transmitted probe application to be received and processed by the target device. Rather than waiting for the needed period of time, the handler may simply transmit the probe application, in step 1022, and then set a timer to subsequently reawaken the handler for transmitting the installation message or signal. Next, in step 1028, the handler sets a timer associated with deployment of the probe application to the target device and, in step 1029, records the fact that the probe application was sent to the target device and sets a retry counter to 0, in step 1029. If the event that awakened the handler is a response to a probe installation, as determined in step 1030, then, in step 1032, the handler invokes a routine to determine the type of the target device and characterize the target device based on a message received from the executing probe application. If, as determined in step 1034, the type of device is fully determined and the device sufficiently characterized based on the probe-application message, then, in step 1036, the device type and characterization is stored in memory, and state information associated with the target device is deleted. Otherwise, in step 1038, the failure to identity the device from the probe information is noted in memory. If, as determined in step 1040, there is another probe application that may be sent to the target device to attempt to identify the type of the target device, the next probe application is selected and transmitted to the target device in step 1042, and control flows to previously described step 1024 for installation of the transmitted probe application and setting of a timer associated with transmission of the probe application. If no additional probe application can be sent to the target device, then, in step 1044, the failure to identify or characterize the target device is recorded, and target device information is removed from the user/target list to prevent additional service-application-deployment steps directed to the target device. Various different types of actions may be taken, upon failure to identify and characterize the target device, in different implementations of the DCA creation and deployment method of the present invention.
If, as determined in step 1046, the event that wakened the handler is an expiration of a timer associated with a transmission of a first installation message, then, in step 1048, the handler determines the number of times that target identification has been tried. If the number of attempts to identify the device exceeds a maximum threshold value, as determined in step 1050, then complete failure to identify and characterize the device is noted in step 1052, and the target device is removed from the user/target list prepared in step 911 in
The handler implementation is somewhat simplified, in
Next, in step 1118, the routine “createDCA” determines whether additional clients need to be activated for provision of particular functions on the target device, transmitted to, and installed on, the target device, or otherwise invoked on the target device. Clients are executables or libraries that provide a set of well-defined functions that can be called by one or more service applications, and may be separate entities or embedded in service applications. If additional clients need to be transmitted to, or activated on, the target device, then, in step 1120, the minimal set of clients that need to be transmitted to, or activated on, the target device is determined. The clients may be included in the DCA or separately transmitted to, and installed on, the target device.
Next, in step 1122, the routine “createDCA” determines whether additional data needs to be included in the DCA. If so, then, in step 1124, the routine “createDCA” determines whether any of the additional data needs to be transformed into executable code. If so, then that portion of the additional data that needs to be transformed into executable code is so transformed in step 1126. For example, the DCA may need to access data describing a screen layout or menu that forms part of a user interface for the service application on the target device. The data may be explicitly included in the DCA, or executable code may be included in a DCA to generate the data when executable code is executed on the target device. In step 1128, the routine “createDCA” determines whether any additional data needs to be appended to the DCA. If so, then that additional data is appended to the DCA in step 1130. In step 1132, the routine “createDCA” determines whether the DCA requires references, such as URLs, to data stored remotely from the target device. If so, then those references to remotely stored data are added to the DCA in step 1134. Thus, data needed by the service application on the target device may be transmitted for storage on the target device, generated by executables running on the target device, or accessed by the service application from remote data sources during execution of the service application on the target device. In step 1136, the assembled executables generated in step 1116 are packaged together with the added references, data, and data-generating executables produced in steps 1126, 1130, and 1134 to produce a final DCA. If the DCA needs to be signed and/or encrypted, as determined in step 1138, then the DCA is digitally signed and/or encrypted in step 1140. A wide variety of different digital signing and encryption techniques, including public/private encryption key-based techniques, can be employed to ensure that a DCA created and tailored to a particular target device cannot be intercepted and used by another device.
If the event corresponds to reception of an improper installation message, as determined in step 1248, then the improper installation problem is diagnosed, in step 1250. In certain cases, as determined in step 1252, installation may be retried, while in other cases, DCA deployment is considered to have failed, and the DCA information associated with the event is deleted from memory and the failure noted, in step 1254. Any other events are handled by a default event handler in step 1256. In the described embodiment, the handler waits to receive a delivery-complete message from the target device for considering the DCA to be successfully deployed. In alternate embodiments, the “deliverDCA” routine may explicitly inquire, via messaging or other means, whether the target device has received and successfully deployed the DCA.
Next, the method for determining the minimal set of clients to add to a DCA, a routine for which is invoked in step 1120 of
Many hand-held electronic devices have limited memories and limited computational capacities. In these devices, it is important to install only as many clients as needed by the services currently deployed to the target device and by the native target-device control program and application. Thus, when a DCA is deployed to a target device, method and system embodiments of the present invention endeavor, in step 1120 of
There are many different ways to monitor deployment and activation of clients and functions provided by clients on target devices, and to determine a minimum set of additional clients and function activations needed for deployment of a particular service application. In one embodiment, information related to deployment of service applications and clients to target devices is maintained in a set of relational-database tables on a server, which are used in order to determine a minimal set of client deployments and client-function activations needed during deployment of a service application, in step 1120 of
S=service_ID of service to be installed
T=device_ID of target device.
First, in step 1602, the routine determines the functions that are needed by the service application to be deployed. SQL-like pseudocode for this step, using the relational tables shown in
If there are no functions needed, as determined in step 1604, then an indication that no clients need to be added is returned, in step 1606. Next, in step 1608, the routine determines which of the needed functions are provided by compatible clients already installed on the target device. SQL-like pseudocode for this step is next provided:
In step 1610, the functions already provided by compatible clients, determined in step 1608, are subtracted from the functions needed by the service application, determined in 1602, to produce a final list of functions needed on the target device for the service application. SQL-like pseudocode for this step is next provided:
Next, in step 1612, the routine determines whether any of the already-available functions, determined in step 1608, need activation. Those functions needing activation are noted in a list of needed function activations in step 1614 that are eventually returned to the routine “createDCA.” SQL-like pseudocode for determining functions that need activation is next provided:
If functions are still needed on the target device, as determined in step 1616, then, in step 1618, the routine determines a set of candidate clients that provide the needed functions. SQL-like pseudocode for this step is next provided:
If a single candidate client can provide all the needed functions, as determined in step 1620, then a single candidate client is selected from all candidate clients that provide all the needed functions in step 1622 and added to the return list. SQL-like pseudocode for obtaining a list of candidate clients that provide all of the needed functions is next provided:
Otherwise, in the for-loop of steps 1622-1625, possible combinations of two, three, and greater numbers of candidate clients are considered to determine the minimal number of candidate clients necessary to provide all the needed functions. Once a suitable candidate combination is found, that client combination is returned in step 1624. If no combination of clients can be found to provide the needed functions, then failure is returned in step 1626. The list returned by the routine to the routine “createDCA” can then be used by the routine “createDCA” to include clients and instructions for function activation of existing clients into the DCA, to undertake explicit function-activation steps with respect to the target device, and/or other steps in order to ensure that the minimal set of clients as needed by the service application is installed on the target device and that the needed functions are activated.
In certain embodiments of the present invention, a user may invoke a method for removing a service application from a target device, or the method may alternatively be automatically invoked by the user's PC or the server under certain circumstances.
As discussed in previous subsections, with particular reference to
The secure connections between devices and the server are implemented by clients deployed to the device.
As discussed above, many electronic hand-held devices, including many cell phones, lack the hardware and software to provide a robust, multi-tasking environment for execution of service applications. In general, service applications need to continuously or intermittently execute on an electronic device, in order to field and respond to a variety of events associated with service provision, just as an operating system needs to continually execute on a personal computer in order to respond to user commands, incoming communications, and various interrupts and device-related events. On a single-processor system, continuous execution is simulated by running concurrently executing processes for small periods of time, or time slices, and interleaving the time slices of different processes to provide the illusion that all executing processes are executing simultaneously. In other words, process execution is time-multiplexed on the processor. Method and system embodiments of the present invention establish a robust, multi-tasking computing environment on electronic hand-held devices prior to deployment of, or as part of the process of deploying, service applications to the electronic, hand-held devices. When the devices are sufficiently sophisticated to offer a robust, multi-tasking environment, method and system embodiments of the present invention avail themselves of that functionality. However, in the more common case that a robust, multi-tasking environment is not provided by the electronic, hand-held device, method and system embodiments of the present invention use whatever tools that are available within the electronic, hand-held device, the network interconnecting the electronic, hand-held device with a server, and the server to establish a computational environment in which service applications can be deployed to, and execute on, the electronic, hand-held device.
Applications running in multi-tasking environments commonly need a mechanism for interprocess communication. In computer systems, interprocess communication is commonly implemented using shared memory and/or interprocess messaging facilities.
Processes running in multi-tasking environments generally need to be able to persistently store data, so that the process can continue to work on a task over a number of time slices and periods of quiescence.
Processes running within multi-tasking systems in a single-processor environment need to be able to quiesce, or relinquish the processor, and then be automatically reawakened at a later time to continue processing tasks.
One exemplary service application that can be deployed and executed using the above-described component methods and systems of the present invention is next described. The exemplary service application allows for digital images captured by cell phone to be easily, securely, and seamlessly transferred from the cell phone to the cell phone user's personal computer, other personal computers, or third party systems.
Although the present invention has been described in terms of particular embodiments, it is not intended that the invention be limited to these embodiments. Modifications within the spirit of the invention will be apparent to those skilled in the art. For example, any of a huge number of different types of service applications can be implemented according to the method and system embodiments of the present invention. Service applications may be used for transferring data, collecting data, launching display-generating applications, conducting periodic tasks of a wide variety of natures, and many other such types of tasks and activities. Such applications may be implemented using any of a wide variety of different programming languages, control structures, modular organizations, data structures, variables, and other such programming characteristics. The component method and system embodiments of the present invention can be tailored to any particular device and server embodiment, including a wide variety of different types of communications media, protocols, and systems by which devices interact with each other and communicate with the server. Implementation of the virtual communications medium or network can be tailored to any of a large number of different types of devices, servers, and device/server interconnection environments. In certain systems, user interfaces may be presented by deployed service applications to allow users to control, acknowledge, and grant permission for operation of the service applications. Service applications may additionally be controlled by out-of-band messages exchanged between devices, such as between cell phones through the phone network. Although multitasking environments are favored for service-application execution, service applications may, when it is not possible to create multitasking environments on particular device, nevertheless be executed, at worst by repeatedly retransmitting the service application to device, as needed.
Upon installation on the phone, the image-transfer phone software is generally configured with the address of the fileserver, plus any additional configuration parameters necessary for the image-transfer phone software to operate. The image-transfer software may come with a set of options predefined, including the location of the fileserver as well as an FTP account and password for that user.
The image-transfer phone software may be automatically started when the user powers on the phone. After turning on the phone, the user can generate an image, for example by taking a picture with the camera-equipped phone. When the picture is taken, it is usually written to the file system located on the phone's internal persistent memory (internal or on a memory card). The image-transfer phone software running on the camera becomes aware of the new image, for example by regularly polling the file system on the camera-equipped phone looking for new images. When a new image is detected, the Photosync Phone Client software opens its connection to the fileserver over one of the network access systems available on the phone.
After opening the connection, for example via FTP, the image-transfer phone software transfers the image onto the fileserver. The file may be stored in a directory named by the camera-equipped phone's phone number (by storing the images in a unique directory, there are no collisions between the files uploaded by one camera-equipped phone and the files uploaded by another camera-equipped phone). When the transfer is complete, the file may be deleted from the camera-equipped phone, leaving room for more images. Images uploaded onto the server may be persisted until deleted by the PC client software.
On both the server and the client, unique filenames can prevent collisions or race conditions resulting in data loss. To provide this, the image-transfer phone software can upload the image file with a new name. The file name of the new file created on the fileserver can be created by concatenating the following text strings:
-
- The original image file name as recorded on the phone
- The precise date and time of the photo's creation,
- An additional index (like a “(2)” or “—2”) to account for existing duplicate files
- The string “.transfer”
The final suffix string “.transfer” may be used to indicate to any other clients on the fileserver that the file is still being uploaded by the client. When the file is completely uploaded, the file may be renamed on the file server by the image-transfer phone software to remove the “.transfer” suffix.
The personal-computer image-transfer software is then able to download the files. The personal-computer image-transfer software may be started when the PC is powered on, or when the user is logged into the PC. To download the files, the personal-computer image-transfer software connects to the fileserver, for example via FTP. The personal-computer image-transfer software need not be running simultaneously with the arrival of the photos on the server, but it can be. The personal-computer image-transfer software typically polls the fileserver (
When the FTP file upload from the image-transfer phone software is complete, and the file renamed to remove the “.transfer” suffix, the personal-computer image-transfer software can assert the file has completed transfer to the file server and can begin download of the file to the PC. The personal-computer image-transfer software may download the file using standard binary FTP protocol (
The above describes only one possible implementation. Many alternative implementations are possible:
-
- Data files other than images can be transferred by this system. In any case in this document in which images are described, data other than photos may be substituted. Examples include videos, text notes, or address book records. Note that in this document “photos”, “images”, etc. may be described, but any type of file may be used.
- Image transfer may be in made in either direction. The PC can upload photos to 30 the fileserver, and the image-transfer phone software can download them.
Consequently, any time a image-transfer phone software and personal-computer image-transfer software are specified in this document, the scenario may be reversed. Additionally, transfers may be made from personal-computer image-transfer software to personal-computer image-transfer software or image-transfer phone software to image-transfer phone software. Consequently, the personal-computer image-transfer software and image-transfer phone software are interchangeable.
-
- There are different ways the linkage between the image-transfer phone software and personal-computer image-transfer software can be configured or declared by the user. For example, the pairing between the image-transfer phone software and the personal-computer image-transfer software could be contingent on the user entering a passcode into both the phone and the client, thereby proving that they have physical access to both.
- The linkage between the image-transfer phone software and personal-computer image-transfer software may be automatically configured without specific action from the user. Instead of forcing the user to indicate the pairing between the image-transfer phone software and personal-computer image-transfer software, the user may download software for the phone and client that have been paired before delivery. For example, the user might enter their phone number on a website. The website would then add the user's phone number to the phone software installer and then send it directly to the phone, ready for use. Likewise, it would add the user's phone number to the client software installer and then initiate a download of it.
- The file to be transferred may be generated from different programs or hardware. The standard camera-equipped phone software may be used to generate an image, or the image-transfer phone software might cause the onboard camera to take a picture to generate an image, or a third party program may generate an image from code or from the camera or another hardware device. Files may come from any conceivable source, including user input, additional hardware, or transfers from other devices.
- The file might not be written to persistent storage on the phone. For example, pictures may be transferred directly from the camera chip to the server, and never written to local phone storage.
- Polling may be replaced with notification. Instead of requiring the image-transfer phone software to poll the phone's file system to detect a new image, for example, an event, interrupt, or message may be generated by the software that creates the file (e.g., the onboard camera application). This would trigger the file transfer to begin.
- The image-transfer phone software or personal-computer image-transfer software may be turned on or off by a variety of means. It could be controlled by the phone's ringing profile, explicit request by the user, or any other method that is used to control software startup/ending.
- The image-transfer phone software, personal-computer image-transfer software, and fileserver may delete files according to any policy. For example, the image-transfer phone software may delete pictures as soon as they are taken, or leave them on the phone. The personal-computer image-transfer software may delete files smaller/larger than a certain size. The server may delete photos after the personal-computer image-transfer software has downloaded them, or it may wait for a deletion instruction from the personal-computer image-transfer software, or it may leave them in place for 30 days so a user could view them with a web browser in the interim.
- The image-transfer phone software may store files on different storage media. For example, the camera-equipped phone may be physically attached to a third party storage device, or may be mapping a remote network storage device as local phone storage. In either event, the files could still be uploaded to the fileserver. Alternately, the device might act as the fileserver.
- The image-transfer phone software might be connected to the fileserver through alternate means. For example, the phone might be connected by USB cable or by an 802.11 network connection, instead of by the phone data network.
- The fileserver might not write the files to disk. For example, the files may be kept in memory in part, transfer parts of the file to the client as is possible, or may be kept in memory wholly, with the system functioning identically as before.
- The usage of a unique directory may be made transparent to the software. This may be accomplished by configuring the FTP user login to use a specific directory as its root.
- Multiple clients can transfer images to each other. One or more image-transfer phone softwares belonging to one or more users may transfer images to one or more personal-computer image-transfer softwares belong to one or more users (which may or may not be the same set of users as the first).
- Multiple servers may be used. A variety of servers can accomplish load balancing, enhanced security, and other goals. All servers may serve a single transaction, or each transaction may be assigned to one or more servers, or any other such combination. Servers may be assigned based on any criteria, such as geographical proximity, network proximity, type of file being transferred, or identity of user.
- Transfers could be only file metadata, not the entire file. The image-transfer phone software may upload information about files (e.g., filenames) to the fileserver instead of the actual files. The personal-computer image-transfer software can then select pictures to download, either programmatically or with end-user input.
- The personal-computer image-transfer software may deposit the files in one or more different locations on the PC. For example, it might both place them in the My Pictures folder and archive them to tape backup.
- The personal-computer image-transfer software may signal the arrival of files to the user. An icon on the screen may change appearance, a dialog box may display a thumbnail of the file, or a sound may be played, for example.
- A variety of coping strategies exist when the fileserver goes offline. The image-transfer phone software may resend later, store the files without resending them, or delete the files, for example. The personal-computer image-transfer software may notify the user or not, retry download or not, or fail over to another server, for example.
- A variety of coping strategies exist when the personal-computer image-transfer software goes offline. The server may hold the files indefinitely or for a finite length of time before deleting them. The server may transfer them to an alternate client. The server may notify the user.
- Roundtrip confirmation is possible. The image-transfer phone software may receive acknowledgement of a successful transaction. For example, when the file has been successfully written the personal-computer image-transfer software and its checksum verified, the personal-computer image-transfer software may inform the fileserver, which would in turn notify the image-transfer phone software. The image-transfer phone software could then choose to, for example, delete the file, knowing it had been safely transferred.
- Files may be transferred to a third party server instead of the fileserver or the personal-computer image-transfer software. For example, photos might be transferred to an internet-based third-party photo hosting service. The transfer could occur directly from the phone, bypassing the fileserver; it could occur from the fileserver, bypassing the personal-computer image-transfer software, or it could occur once the files had been sent to the personal-computer image-transfer software, as examples.
- Any part of the system can configure any other. For example, a user could configure the image-transfer phone software, fileserver, or personal-computer image-transfer software behavior from the image-transfer phone software, the fileserver (via, for example, a web page), or from the personal-computer image-transfer software. This would allow the user to, for example, indicate from her phone that she intends the files to be stored in the “My Pictures” folder on her PC.
- Files transferred may be routed selectively. For example, the files can be routed to different locations based on the file type as determined by the three letter file extension, MIME type, or other metadata. This can happen at the image-transfer phone software, fileserver, or personal-computer image-transfer software level.
- Files may be acted on immediately. Files may be routed to specific applications for immediate handling, instead of being saved to disk. For example, a sound might be routed to a media player for immediate playback when it is received at the personal-computer image-transfer software.
- Different mechanisms may be used to track the state of the transfer. Instead of changing the file name to indicate the state of the file transfer, a secondary file may record the state of the transfer process, or an altogether separate communication channel. The phone, fileserver, and/or personal-computer image-transfer software may be used to send transfer status. It is also possible to not record transfer status at all, and have the PC transfer whatever is available immediately, or to have the personal-computer image-transfer software infer when transfer is done (for example when less bits are transferred than the stated JPG image size, the file is not complete).
- File transfer may occur before the file has completely arrived at the phone or file server. For example, a video might be streamed over the network instead of storing it locally, or it might be stored in part locally, possibly with the local data deleted as it is sent off to the fileserver I personal-computer image-transfer software.
- The system may transfer files in discrete parts. The image-transfer phone software may transfer an image file in segments, to be reassembled into the complete image file, either on the file server or on the personal-computer image-transfer software.
- The fileserver may push the images to the client without being requested. The personal-computer image-transfer software may maintain a connection to the file server, over which the fileserver pushes files as they arrive on the system. For example, the personal-computer image-transfer software's drive might simply be mapped to the fileserver so it can write the files to it using standard network protocols.
- The image-transfer phone software may be polled by the file server to request photos. The Photo PC may maintain an open connection to the file server, over which the file server may send the request to send photos present on the phone.
- The image-transfer phone software may send photos to the fileserver which were created before the image-transfer phone software was started. Before the image-transfer phone software is initialized/installed, files may be created (e.g., pictures taken) by the user. These are stored in the normal fashion. When the image-transfer phone software is installed/initialized, these files can be transferred. Similarly, files queued up on the fileserver may be transferred to a new or newly-active personal-computer image-transfer software.
- Different network protocols and systems may be used to transmit the data. The server may use something other than FTP as the file transfer protocol for transmitting files to the client. Any protocol that allows the transfer of files would be sufficient. For example, the phone may send the picture via the MMS protocol. In this case, the server would receive the MMS message, decode the attachment, and then proceed as if it had been conventionally uploaded. Or, the files may be sent as E-mail, in which case the server can receive and forward email as per a standard e-mail server.
- A proprietary piece of software may serve as the file server. The server may be running specialized software that does not allow the client or the phone to have direct access to its file system, as FTP does. It may have specialized software that supports any of the following features:
- It can recognize authorized image-transfer phone softwares, for example using a proprietary interface to retrieve a unique identifier from the phone and verifying the validity of the identifier against a master lookup table.
- It can recognize authorized software, for example by exchanging secret keys that are stored in the program.
- When new image-transfer phone softwares or personal-computer image-transfer softwares connect to the server, it may create a new user-account for the user of these devices and/or prompt for an existing user account (including username and password) to properly associate the devices.
- When the personal-computer image-transfer software first attempts to specify the image-transfer phone software that it wishes to be “paired” with, the fileserver may issue a verification request to the image-transfer phone software, and only allow the pairing if the request is successful. For example, it may transmit a message to the image-transfer phone software via SMS asking the user to agree to the pairing. The user agrees by opening a link contained in the SMS message in the phone's browser. That link leads the phone back to the fileserver, verifying for the server that the pairing will be allowed.
- The server may “pass through” the data directly to the client, without ever storing it.
- The connection may be additionally secured. The image-transfer phone software software may allow the user to specify a password, which the fileserver software would require of any personal-computer image-transfer softwares before allowing a successful connection. Various security and cryptographic systems may be used to secure the connection further.
- A fee may be charged for some or all aspects of this service. Fees could be monthly, per-kb, or using any other pricing scheme. Additional fees may be charged by service providers, for example bandwidth charges billed through the phone carrier.
- Files on the server may be accessible through other means. The user may be able to access the photos while they reside on the server using an alternate means, such as a web browser.
- Data may be transformed at any point in the transfer process. The image-transfer phone software, fileserver, or personal-computer image-transfer software may encode, decode, or otherwise modify the file automatically. For example, the image-transfer phone software might lower the resolution of the picture before transferring it to the fileserver, and the fileserver might re-encode the picture to a file format compatible with the personal-computer image-transfer software before transferring it to the personal-computer image-transfer software.
- Additional actions may occur as a result of the file transfers. For example, the file server may record how often files are delivered by a user, how often they are downloaded by the client, or how large the images are.
- The image-transfer phone software and personal-computer image-transfer softwares may send diagnostic information to the fileservers. If a client on either device encounters an error or exception, it may send a message to the fileserver (in the form a file in the image directory, or by an altogether separate communication mechanism).
- The image-transfer phone software, fileserver, and personal-computer image-transfer software may update themselves. For example, the image-transfer phone software might poll the fileserver to find a new version of itself, and if found, download and install it.
- The user may configure which personal-computer image-transfer softwares receive files. For example, a user might indicate to the image-transfer phone software that a particular file is to go to a home PC instead of the default work PC.
The foregoing description, for purposes of explanation, used specific nomenclature to provide a thorough understanding of the invention. However, it will be apparent to one skilled in the art that the specific details are not required in order to practice the invention. The foregoing descriptions of specific embodiments of the present invention are presented for purpose of illustration and description. They are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously many modifications and variations are possible in view of the above teachings. The embodiments are shown and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Claims
1. A method for providing a service-application-execution environment in a heterogeneous computing environment comprising electronic, hand-held devices, a server, and personal computers interconnected by multiple communications media and networks, the method comprising:
- deploying a dynamically created device-side service application on a plurality of electronic, hand-held devices, the device-side service application specifically tailored for deployment to the electronic, hand-held device and preconfigured to allow for communications with the server and, when multitasking facilities are not available to the device-side service application on the electronic, hand-held device, employing features and functions provided by one or more of the electronic, hand-held device, server, and a network to establish a multitasking environment on the electronic, hand-held device; and
- establishing secure connections between each electronic, hand-held device and the server.
2. The method of claim 1 wherein employing features and functions provided by one or more of the electronic, hand-held device, server, and a network to establish a multitasking environment on the electronic, hand-held device further includes:
- using features and functions provided by one or more of the electronic, hand-held device, server, and a network to provide for inter-process communication for processes associated with the electronic, hand-held device;
- using features and functions provided by one or more of the electronic, hand-held device, server, and a network to provide for persistent data storage for processes associated with the electronic, hand-held device; and
- using features and functions provided by one or more of the electronic, hand-held device, server, and a network to provide for launching and reawakening processes associated with the electronic, hand-held device.
3. The method of claim 2 wherein features and functions used to provide for inter process communication include one or more of:
- an internal messaging facility within the electronic, hand-held device;
- network messages;
- memory local to the electronic, hand-held device; and
- a remote-procedure-call facility within the electronic, hand-held device.
4. The method of claim 2 wherein features and functions used to provide for persistent data storage include one or more of:
- an internal messaging facility within the electronic, hand-held device;
- network messages;
- memory local to the electronic, hand-held device;
- server memory; and
- server message queues.
5. The method of claim 2 wherein features and functions used to provide for launching and reawakening processes include one or more of:
- an operating system or control program native to the electronic, hand-held device; an event handling facility within the electronic, hand-held device;
- a scheduling and monitoring process running within the electronic, hand-held device; an timer facility within the electronic, hand-held device;
- a monitor program running on the server; and
- simulation by execution of processes on the server.
6. The method of claim 1 wherein establishing a secure connection between an electronic, hand-held device and the sewer further includes:
- generating a public/private encryption-key pair by a client running on the electronic, hand-held device;
- generating an identifier by the client running on the electronic, hand-held device; using a server public key included in the client to encrypt the generated public key and identifier and sending the encrypted generated public key and identifier to the server; receiving from the server an indication of whether or not the public key and identifier are accepted for communications, the indication digitally signed by the server;
- using the server public key included in the client to verify that the indication was sent by the server; and
- when the indication indicates acceptance of the generated public key and identifier, using the identifier as a client and/or device identifier for subsequent communications via the secure connection and using the public/private encryption-key pair to encrypt and decrypt messages and data exchanged with the server.
7. A digital-image transfer service application running within a service-application execution environment created by the method of claim 1, the digital-image transfer service application transferring digital images captured by a digital camera included in a cell phone through the server to user device.
8. The method of claim 1 wherein the dynamically created device-side service application includes credentials tailored for each of the plurality of electronic, hand held devices, said credentials configured to facilitate communication between the plurality of electronic, hand held devices and a server.
9. An apparatus for providing a service-application-execution environment in a heterogeneous computing environment comprising electronic, hand-held devices, a server, and personal computers interconnected by multiple communications media and networks, the apparatus comprising:
- means for deploying a dynamically created device-side service application on a plurality of electronic, hand-held devices, the device-side service application specifically tailored for deployment to the electronic, hand-held device and preconfigured to allow for communications with the server and, when multitasking facilities are not available to the device-side service application on the electronic, hand-held device, means for employing features and functions provided by one or more of the electronic, hand-held device, server, and a network to establish a multitasking environment on the electronic, hand-held device; and
- means for establishing secure connections between each electronic, hand-held device and the server.
10. The apparatus of claim 9 wherein the means for employing features and functions provided by one or more of the electronic, hand-held device, server, and a network to establish a multitasking environment on the electronic, hand-held device further includes:
- means for using features and functions provided by one or more of the electronic, hand-held device, server, and a network to provide for inter-process communication for processes associated with the electronic, hand-held device;
- means for using features and functions provided by one or more of the electronic, hand-held device, server, and a network to provide for persistent data storage for processes associated with the electronic, hand-held device; and
- means for using features and functions provided by one or more of the electronic, hand-held device, server, and a network to provide for launching and reawakening processes associated with the electronic, hand-held device.
11. The apparatus of claim 10 wherein features and functions used to provide for inter process communication include one or more of:
- an internal messaging facility within the electronic, hand-held device;
- network messages;
- memory local to the electronic, hand-held device; and
- a remote-procedure-call facility within the electronic, hand-held device.
12. The apparatus of claim 10 wherein features and functions used to provide for persistent data storage include one or more of:
- an internal messaging facility within the electronic, hand-held device;
- network messages;
- memory local to the electronic, hand-held device;
- server memory; and
- server message queues.
13. The apparatus of claim 10 wherein features and functions used to provide for launching and reawakening processes include one or more of:
- an operating system or control program native to the electronic, hand-held device; an event handling facility within the electronic, hand-held device;
- a scheduling and monitoring process running within the electronic, hand-held device; an timer facility within the electronic, hand-held device;
- a monitor program running on the server; and
- simulation by execution of processes on the server.
14. The apparatus of claim 9 wherein the means for establishing a secure connection between an electronic, hand-held device and the sewer further includes:
- means for generating a public/private encryption-key pair by a client running on the electronic, hand-held device;
- means for generating an identifier by the client running on the electronic, hand-held device; using a server public key included in the client to encrypt the generated public key and identifier and sending the encrypted generated public key and identifier to the server; receiving from the server an indication of whether or not the public key and identifier are accepted for communications, the indication digitally signed by the server;
- means for using the server public key included in the client to verify that the indication was sent by the server; and
- when the indication indicates acceptance of the generated public key and identifier, means for using the identifier as a client and/or device identifier for subsequent communications via the secure connection and using the public/private encryption-key pair to encrypt and decrypt messages and data exchanged with the server.
15. A digital-image transfer service application running within a service-application execution environment created by the apparatus of claim 9, wherein the digital-image transfer service application is configured to transfer digital images captured by a digital camera included in a cell phone through the server to user device.
16. The apparatus of claim 9 wherein the dynamically created device-side service application includes credentials tailored for each of the plurality of electronic, hand held devices, said credentials configured to facilitate communication between the plurality of electronic, hand held devices and a server.
17. A device for providing a service-application-execution environment in a heterogeneous computing environment comprising electronic, hand-held devices, a server, and personal computers interconnected by multiple communications media and networks, the device comprising:
- a processor for deploying a dynamically created device-side service application on a plurality of electronic, hand-held devices, the device-side service application specifically tailored for deployment to the electronic, hand-held device and preconfigured to allow for communications with the server and, when multitasking facilities are not available to the device-side service application on the electronic, hand-held device, employing features and functions provided by one or more of the electronic, hand-held device, server, and a network to establish a multitasking environment on the electronic, hand-held device; and
- a processor for establishing secure connections between each electronic, hand-held device and the server.
18. The device of claim 17 wherein the dynamically created device-side service application includes credentials tailored for each of the plurality of electronic, hand held devices, said credentials configured to facilitate communication between the plurality of electronic, hand held devices and a server.
Type: Application
Filed: Jan 22, 2010
Publication Date: May 20, 2010
Applicant: Ontela Inc. (Seattle, WA)
Inventors: Charles Zapata (Redmond, WA), Daniel Shapiro (Seattle, WA), Brian Schultz (Seattle, WA)
Application Number: 12/692,458
International Classification: H04L 9/32 (20060101); G06F 15/173 (20060101); G06F 9/46 (20060101); G06F 9/54 (20060101);