This application claims priority to Chinese Patent Application No. 201210315043.X, filed Aug. 30, 2012, incorporated by reference herein for all purposes.
The present invention is directed to computer technology. More particularly, the invention provides systems and methods for information processing. Merely by way of example, the invention has been applied to computer files. But it would be recognized that the invention has a much broader range of applicability.
After a certain software is installed, an association between the installed software and types of flies that the installed software can open may be written into a. registry of an operating system (e.g., Windows). In response to an instruction to open a file, the operating system (e.g., Windows) searches for software associated with the file type in the system registry and opens the file using the software. If no software associated with the file type can be found, such a file is an unknown file to the operating system (e.g., Windows).
Conventionally, in response to an instruction to open an unknown file, the operating system (e.g., Windows) usually generates a popup prompt window to indicate that the operating system cannot open this file and provide two options: 1, use the Web service to find a correct program; 2, select a program from a list of installed programs. Oftentimes, a user cannot find the correct program from the list of installed programs. If the user selects using the Web service to find the correct program, the user interface may switch to a webpage in which information related to the unknown file may be shown. The user may further switch from the current webpage to a search page and the user may need to search for a proper link from a large number of webpage links provided in the search page. Once the user clicks on a certain link and is connected to a webpage associated with the link, the user often needs to search for an entry point for downloading an installer program, and then performs a series of operations required during the installation process. After the installation completes, the user may need to go back to a folder containing the unknown file and try to open the unknown file manually.
In the conventional method, many different user interfaces often need to be visited during the process from receiving the instruction to open the unknown file to finally opening the file. The user usually needs to participate in the whole process and perform multiple operations. In addition, the process often takes a long time. It is usually not efficient to open an unknown file using the conventional method.
Hence it is highly desirable to improve the tee es for opening unknown files.
The present invention is directed to computer technology. More particularly, the invention provides systems and methods for information processing. Merely by way of example, the invention has been applied to computer files. But it would be recognized that the invention has a much broader range of applicability.
According to one embodiment, a method is provided for opening an unknown file. For example, whether a software matching with an unknown file is locally installed is detected; in response to the software being locally installed, the unknown file is opened using the installed software; and in response to the software not being locally installed, the software is downloaded and the unknown file is opened using the downloaded software.
According to another embodiment, a device for opening an unknown file includes a local-software-detection module, a download module, and a file-opening module. The local-software-detection module is configured to detect whether a software matching with an unknown file is locally installed. The download module is configured, in response to the software not being locally installed, to download the software. The file-opening module is configured, in response to the software being locally installed, to open the unknown file with the installed software and, in response to the software not being locally installed, open the unknown file with the downloaded software.
According to yet another embodiment, a method is provided for opening an unknown file. For example, whether a software matching with an unknown file is locally installed is detected; in response to the software being locally installed, the unknown file is opened using the installed software; and in response to the software not being locally installed, the software is downloaded and the unknown file is opened using the downloaded software. The opening the unknown file using the installed software include, repairing an association between a file type related to the unknown file and the installed software in a registry of an operating system; providing an instruction to the operating system to open the unknown file; and in response to failing to repair the association between the file type related to the unknown file and the installed software in the registry of the operating system, downloading the software and opening the unknown file using the downloaded software. The repairing an association between a file type related to the unknown file and the installed software in a registry of an operating system includes: displaying a prompt for repairing the association between the file type related to the unknown file and the installed software in the registry of the operating system; and receiving a confirmation for repairing the association between the file type related to the unknown file and the installed software. The opening the unknown file using the downloaded software includes: installing the downloaded software; setting an association between a file type related to the unknown file and the downloaded software; and providing an instruction to the operating system to open the unknown file. The downloading the software includes: displaying a prompt for downloading the software; and receiving a confirmation for downloading the software.
In one embodiment, a device for opening an unknown file includes a local-software-detection module, a download module, a file-opening module, a display module, and an instruction-fetching module, The local-software-detection module is configured to detect whether a software matching with an unknown file is locally installed. The download module is configured, in response to the software not being locally installed, to download the software. The file-opening module is configured, in response to the software being locally installed, to open the unknown file with the installed software and, in response to the software not being locally installed, open the unknown file with the downloaded software. The display module is configured to display a prompt for repairing an association between a file type related to the unknown file and the installed software in a registry of an operating system and display a prompt for downloading the software. The instruction-fetching module is configured to receive a confirmation for repairing the association between the file type related to the unknown file and the installed software in the registry of the operating system and receive a confirmation for downloading the software. The file-opening module includes a registry-writing module, an instruction-generation module, and an installation module. The registry-writing module is configured, in response to the software being locally installed, to repair the association between the file type related to the unknown file and the installed software in the registry of the operating system and, in response to the software not being locally installed, set the association between the file type related to the unknown file and the downloaded software in the registry of the operating system. The instruction-generation module is configured to provide an instruction to the operating system to open the unknown file. The installation module is configured, in response to the software not being locally installed, to install the downloaded software. The download module is further configured, in response to failing to repair the association between the file type related to the unknown file and the installed software in the registry of the operating system, to download the software. The file-opening module is further configured, in response to failing to repair the association between the file type related to the unknown file and the installed software in the registry of the operating system, to open the unknown file using the downloaded software.
In another embodiment, a non-transitory computer readable storage medium comprises programming instructions for opening an unknown file. The programming instructions are configured to cause a processing system to execute operations comprising: detecting whether a software matching with an unknown file is locally installed; in response to the software being locally installed, opening the unknown file using the installed software; and in response to the software not being locally installed, downloading the software and opening the unknown file using the downloaded software.
In yet another embodiment, a compute implemented system for opening an unknown file includes one or more data processors and a computer-readable storage medium. The computer-readable storage medium is encoded with instructions for commanding the data processors to execute operations including: detecting whether a software matching with an unknown file is locally installed; in response to the software being locally installed, opening the unknown file using the installed software; and in response to the software not being locally installed, downloading the software and opening the unknown file using the downloaded software.
Depending upon embodiment, one or more benefits may be achieved. These benefits and various additional objects, features and advantages of the present invention can be fully appreciated with reference to the detailed description and accompanying drawings that follow.
For example, the systems and methods described herein may be configured to open an unknown file, where user participation is barely needed to use locally installed software to open the unknown file or automatically download a matching software to open the unknown file, in order to increase the convenience fear user operations and improve the efficiency of opening an unknown file. In another example, the systems and methods described herein may be configured to open an unknown file, where interface switching is rarely needed in the process of opening the unknown file so as to facilitate user operations. In yet another example, the systems and methods described herein may be configured to implement one or more prompt windows for opening an unknown file, where different prompt windows are closely related so as to conveniently guide users to perform relevant operations.
The present invention is directed to computer technology. More particularly, the invention provides systems and methods for information processing. Merely by way of example, the invention has been applied to computer files. But it would be recognized that the invention has a much broader range of applicability.
When an operating system (e.g., Windows) receives an instruction to open an unknown file, the operating system may send an instruction to generate a pop-up prompt window and a prompt window pops up in response. It may be indicated in the prompt window that the file cannot be opened, and two options may be provided—“use the Web service to find a correct program,” and “select a program from a list of installed programs.”
According to one embodiment, it is detected whether an instruction to open an unknown file is received. For example, if the instruction to open an unknown file is received, a system instruction to generate a pop-up prompt window from the operating system (e.g., Windows) is intercepted to prevent the prompt window from popping up. The process S101 is then executed, in some embodiments.
Specifically, information associated with a software that matches with the unknown file is obtained, including an identification of an application program that can open the unknown file, according to certain embodiments. For example, it is detected whether configuration files of locally installed software contain extensions related to the unknown file. As an example, if the configuration files of a particular software co in such extensions, this software matches with the unknown file.
Furthermore, it is detected whether the matching software is included in a software list within a registry of the operating system or included in an application list within the Start menu, according to another embodiment. For example, if the matching software is found in either the software list or the application list, the matching software has been locally installed.
According to yet another embodiment, at the process S102, the unknown file is opened using the installed matching software. For example, an association between the file type of the unknown file and the matching software within the system registry is repaired, and then an instruction is sent to the operating system to open the unknown file.
When the operating system (e.g., Windows) receives the instruction to open a certain file, the operating system may search in the system registry for a software associated with the type of the file to be opened, and run the software to open the file. In one embodiment, at the process S102, the association between the file type of the unknown file and the installed matching software in the system registry has been repaired. For example, the operating system runs the matching software to open the unknown file. In another embodiment, if the process for repairing the association between the file type related to the unknown file and the installed matching software in the system registry has failed, the matching software is downloaded and the unknown file is then opened using the downloaded matching software.
Referring to
Specifically, in one embodiment, information associated with relationship between file types and corresponding software (i.e., the software capable of opening files of one or more file types) is saved in advance. For example, a software that corresponds to the file type of the unknown file and the identification information of such a matching software are obtained based on the information associated with the relationship between file types and corresponding software, at the process S103.
In another embodiment, information associated with relationship between software identification information and corresponding download addresses is saved in advance. For example, a download address that corresponds to the identification information of the matching software is located and the matching software is downloaded from the located download address, at the process S103.
Furthermore, the downloaded matching software is installed, in some embodiments. For example, an association between the file type of the unknown file and the downloaded matching software is set in the system registry, and an instruction is provided to the operating system to open the unknown file.
According to some embodiments, the process S202 includes displaying a prompt for downloading the matching software. In one embodiment, the prompt includes a window that contains a download-control component For example, the download-control component is used to fetch a confirmation instruction for downloading the matching software.
As shown in
Referring back to
As shown in
Referring back to
Referring to
Referring back to
Referring to
The process S208 includes repairing the association between the file type of the unknown file and the installed software in the system registry, and providing an instruction to the operating system to open the unknown file, according to certain embodiments. For example, the association between the file type of the unknown file and the matching software in the system registry is repaired after receiving the confirmation instruction.
According to one embodiment, if the repairing process fails, as shown in
According to one embodiment, the local-software-detection module 10 is configured to detect whether a software matching with an unknown file is locally installed. When an operating system (e.g., Windows) receives an instruction to open an unknown file, the operating system may send an instruction to generate a. pop-up prompt window and a prompt window pops up in response. It may be indicated in the prompt window that the file cannot be opened, and two options may be provided—“use the Web service to find a correct program,” and “select a program from a list of installed programs.”
According to another embodiment, the local-software-detection module 10 is configured to detect whether an instruction to open an unknown file is received. For example, if the instruction to open an unknown file is received, the local-software-detection module 10 is configured to intercept a system instruction to generate a pop-up prompt window from the operating system (e.g., Windows) to prevent the prompt window from popping up. As an example, the local-software-detection module 10 is further configured to detect whether a software that matches with the unknown file has been installed locally.
Specifically, in some embodiments, information associated with a software that matches with the unknown file is obtained, including an identification of an application program that can open the unknown file. For example, the local-software-detection module 10 is configured to detect whether configuration files of locally installed software contain extensions related to the unknown file. As an example, if the configuration files of a particular software contain such extensions, this software matches with the unknown file.
Furthermore, the local-software-detection module 10 is configured to detect whether the matching software is included in a software list within a system registry or included in an application list within the Start menu, according to another embodiment. For example, if the matching software is found in either the software list or the application list, the matching software has been locally, installed.
According to another embodiment, the file-opening module 20 is configured, in response to the software being locally installed, to open the unknown file with the installed software and, in response to the software not being locally installed, open the unknown file with the downloaded software.
According to one embodiment, the registry-writing module 201 is configured, in response to the software being locally installed, to repair an association between a file type related to the unknown file and the installed software in a registry of an operating system, For example, the instruction-generation module 202 is configured to provide an instruction to the operating system to open the unknown file.
According to another embodiment, an association between the file type of the unknown file and the matching software within the system registry is repaired, and then an instruction is sent to the operating system to open the unknown file. When the operating system (e.g., Windows) receives the instruction to open a certain file, the operating system may search in the system registry for a software associated with the type of the file to be opened, and run the associated software to open the file. For example, the registry-writing module 201 is configured to repair the association between the file type of the unknown file and the matching software in the system registry. In another example, the instruction-generation module 202 is configured to send an instruction to open the unknown file to the operating system (e.g., Windows) which runs the matching software to open the unknown file. in one embodiment, in response to a failure of repairing the association between the file type related to the unknown file and the installed software in the system registry, the matching software is downloaded, and the unknown file is then opened using the downloaded software.
Referring hack to Figure l 0, the download module 30 is configured, in response to the software not being locally installed, to download the software, according to certain embodiments. For example, information associated with relationship between file types and corresponding software the software capable of opening files of one or more file types) is saved in advance. As an example, the download module 30 is configured to locate a software that corresponds to the file type of the unknown file and obtain the identification information of the matching software based on the information associated with the relationship between file types and corresponding software.
In another embodiment, information associated with relationship between software identification information and corresponding download addresses is saved in advance. For example, the download module 30 is configured to locate the download address that corresponds to the identification information of the matching software and download the matching software from the located download address.
In yet another embodiment, the file-opening module 20 is further configured, in response to the matching software not being locally installed, to download the matching software and open the unknown file using the downloaded software.
According to one embodiment, the installation module 203 is configured, in response to the software not being locally installed, to install the downloaded software. For example, the registry-writing module 201 is further configured, in response to the software not being locally installed, to set the association between the file type related to the unknown file and the downloaded software in the system registry, In another example, the instruction-generation module 202 is further configured to provide an instruction to the operating system to open the unknown file.
According to another embodiment, the download module 30 is further configured, in response to a failure of repairing the association between the file type related to the unknown file and the installed software in the system registry, to download the software. For example, the file-opening module 20 is further configured, in response to a failure of repairing the association between the file type related to the unknown file and the installed software in the system registry, to open the unknown file using the downloaded software.
According to one embodiment, the display module 40 is configured to display a prompt fur repairing the association between the file type related to the unknown file and the installed software in the system registry, e.g., before the registry-writing module 201 repairs the association between the file type of the unknown file and the matching software in the system registry. For example, the prompt is a window including a repair-control component which can be used to receive a confirmation instruction for repairing the association between the file type of the unknown file and the matching software.
According to another embodiment, the instruction-fetching module 50 is configured to receive a confirmation for repairing the association between the file type related to the unknown file and the installed software in the system registry, e.g., before the registry-writing module 201 repairs the association between the file type of the unknown file and the matching software in the system registry. For example, when a user clicks on the repair-control component, the instruction-fetching module 50 is configured to receive the user confirmation.
In one embodiment, the display module 40 is further configured to display a prompt for downloading the matching software, e.g., before the download module 30 downloads the matching software. For example, the prompt includes a window that contains a download-control component. In another example, the download-control component is used to fetch a confirmation instruction for downloading the matching software.
In another embodiment, the instruction-fetching module 50 is further configured to receive a confirmation for downloading the software, e.g., before the download module 30 downloads the matching software. For example, when a user clicks on the download-control component, the instruction-fetching module 50 is configured to receive the user confirmation for downloading the matching software.
According to one embodiment, a method is provided for opening an unknown file. For example, whether a software matching with an unknown file is locally installed is detected; in response to the software being locally installed, the unknown file is opened using the installed software; and in response to the software not being locally installed, the software is downloaded and the unknown file is opened using the downloaded software. For example, the method is implemented according to at least
According to another embodiment, a device for opening an unknown file includes a local-software-detection module, a download module, and a file-opening module. The local-software-detection module is configured to detect whether a software matching with an unknown file is locally installed. The download module is configured, in response to the software not being locally installed, to download the software. The file-opening module is configured, in response to the software being locally installed, to open the unknown file with the installed software and, in response to the software not being locally installed, open the unknown file with the downloaded software. For example, the device is implemented according to at least
According to yet another embodiment, a method is provided for opening an unknown file. For example, whether a software matching with an unknown file is locally installed is detected; in response to the software being locally installed, the unknown file is opened using the installed software; and in response to the software not being locally installed, the software is downloaded and the unknown file is opened using the downloaded software. The opening the unknown file using the installed software include, repairing an association between a file type related to the unknown file and the installed software in a registry of an operating system; providing an instruction to the operating system to open the unknown file; and in response to failing to repair the association between the file type related to the unknown file and the installed software in the registry of the operating system, downloading the software and opening the unknown file using the downloaded software. The repairing an association between a file type related to the unknown file and the installed software in a registry of an operating system includes: displaying a prompt fir repairing the association between the file type related to the unknown file and the installed software in the registry of the operating system; and receiving a confirmation for repairing the association between the file type related to the unknown file and the installed software, The opening the unknown file using the downloaded software includes: installing the downloaded software; setting an association between a file type related to the unknown file and the downloaded software; and providing an instruction to the operating system to open the unknown file. The downloading the software includes: displaying a prompt for downloading the software; and receiving a confirmation for downloading the software. For example, the method is implemented according to at least
In one embodiment, a device for opening an unknown file includes a local-so are-detection module, a download module, a file-opening module, a display module, and an instruction-fetching module. The local-software-detection module is configured to detect whether a software matching with an unknown file is locally installed. The download module is configured, in response to the software not being locally installed, to download the software. The file-opening module is configured, in response to the software being locally installed, to open the unknown file with the installed software and, in response to the software not being locally installed, open the unknown file with the downloaded software. The display module is configured to display a prompt for repairing an association between a file type related to the unknown file and the installed software in a registry of an operating system and display a prompt for downloading the software. The instruction-fetching module is configured to receive a confirmation for repairing the association between the file type related to the unknown file and the installed software in the registry of the operating system and receive a confirmation for downloading the software. The file-opening module includes a registry-writing module, an instruction-generation module, and an installation module. The registry-writing module is configured, in response to the software being locally installed, to repair the association between the file type related to the unknown file and the installed software in the registry of the operating system and, in response to the software not being locally installed, set the association between the file type related to the unknown file and the downloaded software in the registry of the operating system. The instruction-generation module is configured to provide an instruction to the operating system to open the unknown file. The installation module is configured, in response to the software not being locally installed, to install the downloaded software. The download module is further configured, in response to failing to repair the association between the file type related to the unknown file and the installed software in the registry of the operating system, to download the software. The file-opening module is further configured, in response to failing to repair the association between the file type related to the unknown file and the installed software in the registry of the operating system, to open the unknown file using the downloaded software. For example, the device is implemented according to at least
In another embodiment, a non-transitory computer readable storage medium comprises programming instructions for opening an unknown file. The programming instructions are configured to cause a processing system to execute operations comprising: detecting whether a software matching with an unknown file is locally installed; in response to the software being locally installed, opening the unknown file using the installed software; and in response to the software not being locally installed, downloading the software and opening the unknown file using the downloaded software. For example, the storage medium is implemented according to at least
In yet another embodiment, a computer-implemented system for opening an unknown file includes one or more data processors and a computer-readable storage medium. The computer-readable storage medium is encoded with instructions for commanding the data processors to execute operations including: detecting whether a software matching with an unknown file is locally installed; in response to the software being locally installed, opening the unknown file using the installed software; and in response to the software not being locally installed, downloading the software and opening the unknown file using the downloaded software. For example, the system is implemented according to at least
The above only describes several scenarios presented by this invention, and the description is relatively specific and detailed, yet it cannot therefore be understood as limiting the scope of this invention's patent. It should be noted that ordinary technicians in the field may also, without deviating from the invention's conceptual premises, make a number of variations and modifications, which are all within the scope of this invention. As a result, in terms of protection, the patent claims shall prevail.
For example, some or all components of various embodiments of the present invention each are, individually and/or in combination with at least another component, implemented using one or more software components, one or more hardware components, and/or one or more combinations of software and hardware components. In another example, some or all components of various embodiments of the present invention each are, individually and/or in combination with at least another component, implemented in one or more circuits, such as one or more analog circuits and/or one or more digital circuits, In yet another example, various embodiments and/or examples of the present invention can be combined.
Additionally, the methods and systems described herein may be implemented on many different types of processing devices by program code comprising program instructions that are executable by the device processing subsystem. The software program instructions may include source code, object code, machine code, or any other stored data that is operable to cause a processing system to perform the methods and operations described herein. Other implementations may also be used, however, such as firmware or even appropriately designed hardware configured to carry out the methods and systems described herein.
The systems' and methods' data (e.g., associations, mappings, data input, data output, intermediate data results, final data results, etc.) may be stored and implemented in one or more different types of computer-implemented data stores, such as different types of storage devices and programming constructs (e.g., RAM, ROM, Flash memory, flat files, databases, programming data structures, programming variables, IF-THEN (or similar type) statement constructs, etc.). It is noted that data structures describe formats for use in organizing and storing data in databases, programs, memory, or other computer-readable media for use by a computer program.
The systems and methods may be provided on many different types of computer-readable media including computer storage mechanisms (e.g., CD-ROM, diskette, RAM, flash memory, computer's hard drive, etc.) that contain instructions (e.g., software) for use in execution by a processor to perform the methods' operations and implement the systems described herein.
The computer components, software modules, functions, data stores and data structures described herein may be connected directly or indirectly to each other in order to allow the flow of data needed for their operations. It is also noted that a module or processor includes but is not limited to a unit of code that performs a software operation, and can be implemented for example as a subroutine unit of code, or as a software function unit of code, or as an object (as in an object-oriented paradigm), or as an applet, or in a computer script language, or as another type of computer code. The software components and/or functionality may be located on a single computer or distributed across multiple computers depending upon the situation at hand.
The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
While this specification contains many specifics, these should not be construed as limitations on the scope or of what may be claimed, but rather as descriptions of features specific to particular embodiments. Certain features that are described in this specification in the context or separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
Although specific embodiments of the present invention have been described, it will be understood by those of skill in the art that there are other embodiments that are equivalent to the described embodiments. Accordingly, it is to be understood that the invention is not to be limited by the specific illustrated embodiments, but only by the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201210315043.X | Aug 2012 | CN | national |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2013/082566 | Aug 2013 | US |
Child | 14097897 | US |