This description relates to updating extensions for opening and processing documents.
Extensions may modify the performance of an application. New extensions may be made available at times that are not convenient for a server to install the extensions.
According to one example, a non-transitory computer-readable storage medium may comprise instructions stored thereon. When executed by at least one processor, the instructions may be configured to cause a backend server to at least receive, from an administrator webserver, an extension, store the extension and an associated timestamp in a repository, the associated timestamp indicating a time at which the extension was received from the administrator webserver, receive a request for the extension from a customer webserver, the request for the extension identifying the extension, and in response to receiving the request for the extension, fetch the extension from the repository, and send the extension to the customer webserver.
According to another example, a non-transitory computer-readable storage medium may comprise instructions stored thereon. When executed by at least one processor, the instructions may be configured to cause a customer webserver to at least receive a request to open a document, the document identifying an extension, determine a most recent time at which the extension was updated on the customer webserver, and send an extension update request to a backend server, the extension update request identifying the extension and including the most recent time at which the extension was updated on the customer webserver.
According to another example, a method may include receiving, by a backend server from an administrator webserver, an extension, storing the extension and an associated timestamp in a repository, the associated timestamp indicating a time at which the extension was received by the backend server from the administrator webserver, receiving, by a customer webserver, a request to open a document, the document identifying the extension, determining, by the customer webserver, a most recent time at which the extension was updated on the customer webserver, sending an extension update request from the customer webserver to the backend server, the extension update request identifying the extension and including the most recent time at which the extension was updated on the customer webserver, determining, by the backend server, that the most recent time at which the extension was updated on the customer webserver is earlier than the timestamp associated with the extension stored in the repository, and based on determining that the most recent time at which the extension was updated on the customer webserver is earlier than the timestamp associated with the extension stored in the repository, fetching, by the backend server, the extension from the repository, and sending the extension from the backend server to the customer webserver.
The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims.
The administrator 101 may send the extension file to a backend server 106 via an administrator webserver 102. The administrator webserver 102 may be a server that handles updates to the system provided by the administrative personnel. The administrative webserver 102 may authenticate and log administrative personnel in, and facilitate the administrative personnel providing updates and/or modifications to the backend server 106. The administrator 101 may upload the extension file to the administrator webserver 102. The administrator webserver 102 may respond to receiving the extension file from the administrator 102 by sending the extension file to the backend server 106. The administrator webserver 102 may compress and/or zip the extension file before sending the extension file to the backend server 106, and may send the compressed and/or zipped file to the backend server 106.
The backend server 106 may provide support and updates to customer webservers 110. The backend server 106 may be included in an extension system 104, which also includes a repository 108 for storing the extensions, updates to extensions, and associated metadata. The extension system 104 may store the extensions and respond to extension requests from customer webservers. The backend webserver 106 may handle modifications and/or updates received from the administrative webserver 102, and may receive extensions and/or extension files uploaded to the backend server 106 by the administrator server 102. While one backend server 106 is shown in
The backend server 106 may store and/or upload the extensions, and associated metadata such as timestamps associated with each extension, in a repository 108. In an example in which the administrator webserver 102 compressed and/or zipped the extension file, the backend server 106 may decompress the extension file and/or extract the extension from the zip file. The timestamps may indicate times at which the backend server 106 received the extensions from the administrator webserver 102, and/or times at which the administrator webserver 102 uploaded the extensions to the backend server 106. When the backend server 106 receives a more recent version of an extension, the more recent version of the extension may replace the previous version of the extension, deleting the previous version of the extension and storing the more recent version of the extension.
The repository 108 may store data on behalf of the backend server 106. The repository 108 may also store the extensions, which the repository 108 received form the backend server 106, and associated metadata such as timestamps. The repository 108 may transmit data, such as the stored extensions and associated metadata, to the backend server 106 upon request by the backend server 106.
The customer webserver 110 may provide software as a service, such as by running web applications, to users of customer computers 111 (while
The customer webserver 110 may open documents upon request by the user of the customer computer 111. The request by the user of the customer computer 111 may take the form of an instruction, such as a textual command in a command-line interface, or clicking on an icon associated with the document in a graphical user interface. The customer webserver 110 may open the documents using software applications, software applications running extensions, and/or extensions. The document may be associated with an application that uses the extension, or the document may rely directly on the extension to open the document. The customer webserver 110 may receive the extensions from the backend server 106.
When the customer webserver 110 receives a request from the customer computer 111 to open a document, the customer webserver 110 may request a most recent version of a extension associated with the document from the backend server, or may determine whether an extension associated with the document is available, and/or a more recent extension is available than the customer webserver 110 has already installed. In one example, the customer webserver 110 may determine if a more recent extension is available by sending a query to the backend server 106, with the query identifying the extension and indicating a most recent version of the extension installed by the customer webserver 110 and/or a most recent time at which the customer webserver 110 installed the extension. In this example, the backend server 106 may determine whether a more recent version of the extension is available by querying the repository 108 for a timestamp associated with the extension, and comparing the timestamp to the most recent time indicated by the query received from the customer webserver 110.
In another example, the customer webserver 110 may determine whether a more recent version of the extension is available by sending a query to the backend server 106, with the query identifying the extension and requesting the backend server 106 to send the timestamp, indicating the time at which the most recent version of the extension was received, to the customer webserver 110. In this example, the backend server 106 may respond to the query by retrieving the timestamp from the repository 108 and sending the timestamp to the customer webserver 110. The customer webserver 110 may then compare the timestamp received from the backend server 106 to a time at which a most recent version of the extension was received by the customer webserver 110. If the time included in the timestamp is later and/or more recent than the time at which a most recent version of the extension was received by the customer webserver 110, then the customer webserver 110 may determine that a more recent version of the extension is available. If the customer webserver 110 determines that a more recent version of the extension is available, then the customer webserver 110 may send a request for the extension to the backend server 106.
If the backend server 106 determines that a more recent version of the extension is available, and/or the backend server 106 receives a request for the extension from the customer webserver 110, then the backend server 106 may retrieve the extension from the repository 108, such as by sending a request or fetch instruction to the repository 108 and subsequently receiving the extension from the repository 108, and may send the extension to the customer webserver 110. After receiving the most recent version of the extension from the backend server 106, the customer webserver 110 may install the most recent version of the extension. After installing the most recent version of the extension, the customer webserver 110 may open the document using the installed extension and/or using an application that uses the installed extension.
In an example implementation, the backend server 106 may serve multiple customer webservers. When the backend server 106 receives an extension and/or an updated extension from the administrator webserver 102 (or another administrator webserver in an example of multiple administrator webservers), rather than push the extension and/or updated extension to the multiple customer webservers, the backend server 106 may wait for the customer webservers to request the extensions and/or updated extensions from the backend server 106. The backend server 106 may respond to the requests from each of the customer webservers individually, and send the extension and/or updated extension to the individual webservers on-demand and/or as needed or requested by the customer webservers.
By sending the extension and/or updated extension to the individual customer webservers as needed, rather than every time the backend server 106 receives an updated extension from the administrator webserver 102, the backend server 106 may reduce network traffic and server processing by reducing the number of updating extensions sent from the backend server 106 to customer webservers. Sending only the most recent and/or newest version of the extensions from the backend server 106 to the customer webservers may reduce network traffic and/or processing by the backend server 106 and customer webservers. Sending the extension and/or updated extension to the individual customer webservers only as needed may also obviate the need to restart the customer webservers to install the updated extensions, avoiding a denial or interruption of service to users currently logged in and interacting with applications running on the customer webservers when the customer webservers are restarted.
The backend server 106 may include an extension handler 202. The extension handler 202 may receive extensions and/or updated extensions from the administrator webserver 102 (not shown in
The extension handler 202 may include a receiver 204. The receiver 204 may receive, handle, and/or process the extensions received by the backend server 106 from the administrator webserver 102. The receiver 204 may, for example, examine and/or parse the received extensions to determine a document type and/or application associated with each received extension. The receiver 204 may also determine a timestamp associated with the received extensions, which may be based on a time that the administrator webserver 102 sent the extension to the backend server 106 or based on a time that the backend server 106 received the extension from the administrator webserver 102.
The extension handler 202 may include a storer 206. The storer 206 may store the extensions, and any associated metadata, in the repository 108. The associated metadata may include the timestamp, and an identifier of the extension (which may be considered an extension ID) and/or type of document or application which uses the extension.
The extension handler 202 may include a fetcher 208. The fetcher 208 may fetch and/or retrieve extensions from the repository 108 in response to requests from the customer webserver 110 for the extensions and/or based on determinations that more recent versions of the extensions are available and/or stored in the repository 108.
The extension handler 202 may include a sender 210. The sender 210 may send the extensions to the customer webserver 110 upon request from the customer webserver 110 and/or based on determinations that more recent versions of the extensions are available and/or stored in the repository 108.
The extension handler 202 may include a compressor 212. The compressor 212 may compress the extension files before the storer 206 stores the extension files in the repository 108.
The extension handler 202 may include a decompressor 214. The decompressor 214 may decompress and/or extract compressed or zipped extension files received from the administrator webserver 102 before the storer 206 stores the extension files in the repository 108. The decompressor 214 may decompress compressed files that the fetcher 208 retrieves from the repository 108.
The backend server 106 may include a timestamp comparer 216. The timestamp comparer 216 may compare timestamps of extensions stored in the repository 108 to most recent times at which extensions were installed in the customer webserver 110, and/or a time stored by the customer webserver 110 in association with the extension. If the timestamp is the same, then no update to the customer webserver 110 may be needed. If the timestamp stored in the repository 108 is more recent, then the backend server 106 may determine that the backend server 106 should send an extension update and/or most recent extension to the customer webserver 110.
The backend server 106 may include an installation determiner 218. The installation determiner 218 may determine whether any version of an extension has been installed on a particular customer webserver 110. If a version of the extension has been installed on the customer webserver 110, then the timestamp comparer 216 may determine whether a more recent version of the extension should be installed on the customer webserver 110. If no version of the extension has been installed on the backend server 106, then the backend server 106 may not need to compare the timestamp, and the backend server 106 may determine that the extension should be installed on the customer webserver 110.
The backend server 106 may include a memory 220. The memory 220 may include at least one non-transitory computer-readable storage medium, such as a storage device. The memory 220 may include instructions. The instructions, when executed by at least one processor, may be configured to cause the backend server 106 to perform any combination of the methods, functions, and/or processes described herein. The memory 220 may also include data. The data may include data generated as a result of performing any of the methods, functions, and/or processes described herein, and/or used to perform any of the methods, functions, and/or processes described herein.
The backend server 106 may include at least one processor 222. The at least one processor 222 may execute instructions, such as instructions stored in memory 220, to cause the backend server 106 to perform any combination of the methods, functions, and/or techniques described herein.
The backend server 106 may also include an input/output module 224. The input/output module 224 may include one or more input interfaces and one or more output interfaces. The input interfaces and output interfaces may include wired or wireless nodes for communicating with other computing systems, such as the administrator webserver 102, repository 108, and customer webserver 110. The input interface(s) may also include a keyboard, mouse, touchscreen, and/or microphone, as non-limiting examples. The output interface(s) may include a display and/or speaker, as non-limiting examples.
The customer webserver 110 may include a request receiver 252. The request receiver 252 may receive, from the customer computer 111, requests to open documents. The customer computer 111 may have sent a request to open a document to the customer webserver 110 in response to an instruction from a user, such as via a keyboard or mouse, to open the document.
The customer webserver 110 may include a document opener 254. The document opener 254 may open documents in response to the request receiver 252 receiving a request to open the document. The document opener 254 may open and begin processing the document. The document opener 254 may open and/or process the document using any extension installed on the customer webserver 110 which is identified by the document and/or associated with an application used to open the document.
The customer webserver 110 may include an extension installer 256. The extension installer 256 may install extensions on the customer webserver 110. The customer webserver 110 may have received the installed extensions from the backend server 106.
The customer webserver 110 may include a time storer 258. The time storer 258 may store times associated with installed extensions. The stored times may be times at which the customer webserver 110 received the extensions, or may be the timestamps stored by the backend server 106 and sent to the customer webserver 110 with the extensions.
The customer webserver 110 may include a request generator 260. The request generator 260 may generate and send requests for extensions to the backend server 106. The request generator 260 may generate and send requests for extensions to the backend server 106 in response to a request to open a document.
The customer webserver 110 may include an extension receiver 262. The extension receiver 262 may receive the extensions from the backend server 106 and pass the extensions to the extension installer 256 for installation on the customer webserver 110.
The customer webserver 110 may include a message processor 264. The message processor 264 may receive and process messages from the backend server 106, such as messages indicating that an extension, and/or a more recent version of an extension, is available or is not available. If an extension or more recent version of an extension is not available, then the request generator 260 may not send a request for the extension to the backend server 106. If an extension or more recent version of an extension is available, then the request generator 260 may send a request for the extension to the backend server 106.
In response to receiving the extension (302), the administrator webserver 102 may upload the extension (304) to the repository 108. The administrator webserver 102 may upload the extension (304) to the repository 108 via the backend server 106 (not shown in
The customer webserver 110 may respond to the request to open the document (402) by sending an extension query to the backend server 106, which may forward the query (404) to the repository 108. In the example shown and described with respect to
If the timestamp is not equal to the timestamp stored in association with the document, or if the timestamp is later than the timestamp associated with the application, and/or if the application has not installed the extension, then the customer web server 110 may determine that a more recent version of the extension is available. Based on determining that the more recent version of the timestamp is available, the customer webserver 110 may send an extension request (410) to the repository. The extension request (410) may include an identifier of the extension. The repository 108 may respond to the extension request (410) by sending the identified extension (412), which may include unzipping and downloading the extension, to the customer webserver 110. The repository 108 may also update the bundle ID list and/or the timestamp associated with the extension to indicate the version of the extension that the repository 108 sent to the customer webserver 110. Upon receiving the extension (412), the customer webserver 110 may install the extension (413) and open the document (414), using the extension, for the user of the customer computer 111 to open and interact with. Opening the document (414) may include returning the document to the workspace.
416-424 show an example in which a more recent version of the extension is not available. In this example, the customer computer 111 may open a document (416) in response to a request or instruction from a user, sending a request to the customer webserver 110. The customer webserver 110 may respond to the request from the customer computer 111 to open the document (416) by determining an extension associated with the document, and sending an extension query (418), which identifies the determined extension, to the repository 108. As discussed above, communication between the customer webserver 110 and the repository 108 may be via the backend server 106.
The repository 108 may respond to the extension query (418) by sending a timestamp (420) to the customer webserver 110. The timestamp (420) may indicate a most recent time at which the extension was updated. The customer webserver 110 may determine that the most recent version of the extension is not more recent than the version installed on the customer webserver 110 (422) by comparing the timestamp (420) to a time stored on the customer webserver 110. Based on determining that the most recent version of the extension is not more recent than the version installed on the customer webserver 110 (422), the customer webserver 110 may open the document (424), for viewing and interaction with the customer computer 111, without installing a new version of the extension.
According to an example implementation, the request for the extension may identify the extension and indicate a most recent time at which the customer webserver updated the extension. In this example, the method may further include the backend server fetching the extension from the repository and sending the extension to the customer webserver, if the most recent time at which the customer webserver updated the extension is earlier than the time indicated by the associated timestamp, and not fetching the extension from the repository and not sending the extension to the customer webserver, if the most recent time at which the customer webserver updated the extension is the same as the time indicated by the associated timestamp.
According to an example implementation, the method may further include the backend server sending a message to the customer webserver indicating that no updated extension is available, if the most recent time at which the customer webserver updated the extension is the same as the time indicated by the associated timestamp.
According to an example implementation, the request for the extension may identify the extension and indicate a most recent time at which the customer webserver updated the extension. In this example, the method may further include the backend server determining whether the customer webserver has installed the extension, fetching the extension from the repository and sending the extension to the customer webserver, if the customer webserver has not installed the extension or the most recent time at which the customer webserver updated the extension is earlier than the time indicated by the associated timestamp, and not fetching the extension from the repository and not sending the extension to the customer webserver, if the customer webserver has installed the extension and the most recent time at which the customer webserver updated the extension is the same as the time indicated by the associated timestamp.
According to an example implementation, the method may further include the backend server, in response to receiving the request for the extension, fetching the extension and the associated timestamp from the repository, and sending the extension and the associated timestamp to the customer webserver.
According to an example implementation, the customer webserver may be a first customer webserver and the request for the extension may be a first request for the extension. In this example, the method may further include the backend server receiving a second request for the extension from a second customer webserver, the second request for the extension identifying the extension and being after the first request for the extension and after sending the extension to the first customer webserver, and, in response to receiving the second request for the extension, fetching the extension from the repository, and sending the extension to the second customer webserver.
According to an example implementation, the storing the extension may include storing the extension and the associated timestamp in the repository without restarting the backend server and without restarting the customer webserver.
According to an example implementation, the storing the extension may include compressing the extension, and storing the compressed extension and the associated timestamp.
According to an example implementation, the method may further include the backend server, in response to receiving the request for the extension, fetching the compressed extension from the repository, decompressing the compressed extension, and sending the decompressed extension to the customer webserver.
According to an example implementation, the extension may enhance visualization of data included in a document to be opened by the customer webserver.
According to an example implementation, the backend server may share the repository with multiple other backend servers.
According to an example implementation, the customer webserver may use the extension to open a document, the document identifying the extension.
According to an example implementation, the sending the extension to the customer webserver may include not sending the extension to any other customer webservers until receiving requests for the extension from the other customer webservers.
According to an example implementation, the method may further include the customer webserver receiving the extension from the backend server, installing the extension, and opening the document with the installed extension.
According to an example implementation, the method may further include the customer webserver receiving a message from the backend server, the message indicating that a more recent version of the extension is not available.
According to an example implementation, the storing the extension may include storing the extension and the associated timestamp in the repository without restarting the backend server and without restarting the customer webserver.
According to an example implementation, the backend server storing the extension may include the backend server compressing the extension, and the backend server storing the compressed extension and the associated timestamp in the repository.
According to an example implementation, the method may further include the backend server, in response to receiving the request for the extension, fetching the compressed extension from the repository, decompressing the compressed extension, and sending the decompressed extension to the customer webserver.
Implementations of the various techniques described herein may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Implementations may implemented as a computer program product, i.e., a computer program tangibly embodied in an information carrier, e.g., in a machine-readable storage device, for execution by, or to control the operation of, data processing apparatus, e.g., a programmable processor, a computer, or multiple computers. A computer program, such as the computer program(s) described above, can be written in any form of programming language, including compiled or interpreted languages, and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network.
Method steps may be performed by one or more programmable processors executing a computer program to perform functions by operating on input data and generating output. Method steps also may be performed by, and an apparatus may be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. Elements of a computer may include at least one processor for executing instructions and one or more memory devices for storing instructions and data. Generally, a computer also may include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. Information carriers suitable for embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory may be supplemented by, or incorporated in special purpose logic circuitry.
To provide for interaction with a user, implementations may be implemented on a computer having a display device, e.g., a cathode ray tube (CRT) or liquid crystal display (LCD) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.
Implementations may be implemented in a computing system that includes a back-end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front-end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation, or any combination of such back-end, middleware, or front-end components. Components may be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN) and a wide area network (WAN), e.g., the Internet.
While certain features of the described implementations have been illustrated as described herein, many modifications, substitutions, changes and equivalents will now occur to those skilled in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the embodiments of the invention.
Number | Name | Date | Kind |
---|---|---|---|
6718549 | Narin | Apr 2004 | B1 |
20090119062 | Owens | May 2009 | A1 |
20090138869 | Fitzgerald | May 2009 | A1 |
20090279549 | Ramanathan | Nov 2009 | A1 |
20090292734 | Miloushev | Nov 2009 | A1 |
20130104118 | Somani | Apr 2013 | A1 |
20140033193 | Palaniappan | Jan 2014 | A1 |
20140304246 | Helmich | Oct 2014 | A1 |
20140325470 | Padmavilasom | Oct 2014 | A1 |
20140344803 | Wang | Nov 2014 | A1 |
20150339113 | Dorman | Nov 2015 | A1 |
20160092205 | Seovic | Mar 2016 | A1 |
20160379426 | Tholen | Dec 2016 | A1 |
Number | Date | Country | |
---|---|---|---|
20170177320 A1 | Jun 2017 | US |