CN102841750B - File opening method and device - Google Patents

File opening method and device Download PDF

Info

Publication number
CN102841750B
CN102841750B CN201210249251.4A CN201210249251A CN102841750B CN 102841750 B CN102841750 B CN 102841750B CN 201210249251 A CN201210249251 A CN 201210249251A CN 102841750 B CN102841750 B CN 102841750B
Authority
CN
China
Prior art keywords
file
application
management platform
fileinfo
desktop management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210249251.4A
Other languages
Chinese (zh)
Other versions
CN102841750A (en
Inventor
罗璇
胡海斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210249251.4A priority Critical patent/CN102841750B/en
Publication of CN102841750A publication Critical patent/CN102841750A/en
Application granted granted Critical
Publication of CN102841750B publication Critical patent/CN102841750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a file opening method and device, belonging to the technical field of computers. The method comprises the following steps of: when a desktop management platform receives a file opening instruction, acquiring information of a file; acquiring application associated with the file information through the desktop management platform according to the information of the file; and opening the file by the acquired application. The device comprises an acquisition module, an application acquisition module and a processing module. According to the method and the device, the application for opening the file can be acquired through the desktop management platform, and the file is opened by the application, therefore, the processes of manually searching, downloading and installing the application by a user are eliminated; and compared with the prior art, the method and the device have the advantage that the time is shortened.

Description

File Open method and apparatus
Technical field
The present invention relates to field of computer technology, particularly a kind of File Open method and apparatus.
Background technology
Development along with computer technology, user, in using computer procedures, can install various application, on computers to can use computing machine to browse various types of files, when user need to open file, directly use the respective application that local computer is installed to open.And once respective application is not installed on local computer, also just cannot open file, need user's manual search, download and application be installed, process is loaded down with trivial details, length consuming time has caused impact to user's normal use.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of File Open method and apparatus.Described technical scheme is as follows:
On the one hand, a kind of File Open method, described method comprises:
When desktop management platform receives the OPEN to file, obtain the fileinfo of described file;
According to the fileinfo of described file, by described desktop management platform, obtain the application being associated with described fileinfo;
Described file is opened in the application that use gets.
On the other hand, a kind of File Open device, described device comprises:
Acquisition module, when receiving the OPEN to file when desktop management platform, obtains the fileinfo of described file;
Application acquisition module, for according to the fileinfo of described file, obtains by described desktop management platform the application being associated with described fileinfo;
Processing module, for being used the application getting to open described file.
The embodiment of the present invention provides a kind of File Open method and apparatus, when receiving the OPEN to file when desktop management platform, obtains the fileinfo of described file; According to the fileinfo of described file, by described desktop management platform, obtain the application being associated with described fileinfo; Described file is opened in the application that use gets.Adopt technical scheme provided by the invention, by desktop management platform, obtain the application that can open file, and use this application to open file, saved the process of user's manual search, download and installation, compared with prior art, reduced consuming time.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic diagram of a kind of desktop management platform of providing of the embodiment of the present invention;
Fig. 2 is the process flow diagram of a kind of File Open method of providing of the embodiment of the present invention;
Fig. 3 is the process flow diagram of a kind of File Open method of providing of the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of File Open device of providing of the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
For convenience of explanation, the embodiment of the present invention is referred to as application by the plug-in unit of application program and application program.
The embodiment of the present invention provides a kind of desktop management platform, this desktop management platform can be the mirror image desktop of system desktop, for carrying local application, and local application is carried out to Classification Management, the list of application that comprises a plurality of application messages for safeguarding that the server of desktop management platform provides also, for user provides open, abundant in content application.In addition, this desktop management platform can also carry and manage third-party application, particularly, this desktop management platform provides open API(Application Programming Interface for third-party application, application programming interface), described API is the supplier of desktop management platform and the interface that described third party consults in advance, described third-party application can be linked into described desktop management platform by described API, like this, user just can obtain described third-party application by described desktop management platform, here, described third party refers to the application supplier except the server of described desktop management platform and described desktop management platform.
Fig. 1 is the schematic diagram of a kind of desktop management platform of providing of the embodiment of the present invention.Referring to Fig. 1, this desktop management platform at least comprises: a plurality of specification areas, each specification area comprises and the corresponding shortcut of this specification area attribute, application, file or folder icon, desktop management platform also comprises the desktop toggle control of switching between system desktop and desktop management platform, for switching to the list of application toggle control of list of application, for switching to the recommendation control of recommending plug-in unit, application program etc., for showing the network address control of network address.
Fig. 2 is the process flow diagram of a kind of File Open method of providing of the embodiment of the present invention.The executive agent of this document deployment method is the desktop management platform of terminal device, and this terminal device is mobile terminal or fixed terminal, and this fixed terminal is personal computer etc.Referring to Fig. 2, described File Open method comprises:
201,, when desktop management platform receives the OPEN to file, obtain the fileinfo of described file;
File can or be positioned at the file of network for terminal device local file in the present embodiment, the embodiment of the present invention does not limit this document position, and preferably, this terminal device is in desktop management platform operational process, when user need to open file, by executive modes such as clicks, trigger the OPEN to file, when terminal device receives the OPEN of file, obtain the fileinfo of described file.
File can be video file, audio file, document files or any file layout, and the fileinfo of this document at least comprises extension name, as " .rmvb ", " .pdf ", " .avi ", " .dwg " etc.And the fileinfo of file further comprises: file header information, broadcasting daily record, file size, file modification date, file creation date etc.
202,, according to the fileinfo of described file, by described desktop management platform, obtain the application being associated with described fileinfo;
For application, the application being associated with described fileinfo refers to the application of the file that can open this document type.When the fileinfo by file and application, judge this application and can open this document, this is applied to be associated with this document information, that is to say the processing such as this application can show this document, broadcasting.
In addition, this obtains can be to call this application, to use this application to open this document, can also be to download this application, to this application is installed, then calls the interface of this application and uses this application to open this document.
203, use the application getting to open described file.
When getting by desktop management platform the application being associated with fileinfo, this document is opened in the application that use gets, when this application has been stored in this locality but has not installed, this application is installed and after installation, calls the interface of this application and use this application to open this document, and work as this application, be not stored in this locality, but at network, according to user's selection down load application, this application is installed and after installation, calls the interface of this application and use this application to open this document.
The embodiment of the present invention provides a kind of File Open method, when receiving the OPEN to file when desktop management platform, obtains the fileinfo of described file; According to the fileinfo of described file, by described desktop management platform, obtain the application being associated with described fileinfo; Described file is opened in the application that use gets.Adopt technical scheme provided by the invention, by desktop management platform, obtain the application that can open file, and use this application to open file, avoid the user's intervention causing due to respective application not being installed, saved the process of user's manual search, download and installation, compared with prior art, reduced consuming time, and because its acquisition process carries out in backstage, compared with prior art, can not interrupt user's normal use.
Alternatively, on basis embodiment illustrated in fig. 2, step 202 " according to the fileinfo of described file; obtain by described desktop management platform the application being associated with described fileinfo ", comprise: in described desktop management platform, have the first plug-in unit, obtain described the first plug-in unit, described the first plug-in unit is associated with described fileinfo.
Further alternatively, described the first plug-in unit is associated with described fileinfo and refers to that the plugin information of described the first plug-in unit comprises described fileinfo, or the broadcasting daily record in described fileinfo comprises the plugin name of described the first plug-in unit, or described fileinfo indicates described file to be opened by described the first plug-in unit.Particularly, the fileinfo of this document at least comprises extension name, the fileinfo of file further comprises: file header information, file journalization, file size, file modification date, file creation date etc., when the plugin information of plug-in unit comprises the extension name in fileinfo, think that this plug-in unit can open this document, this plug-in unit is associated with fileinfo; And file journalization in fileinfo is for recording the contents such as play history of this document, therefore, while comprising plugin name in file journalization, can think that this document once opened with this plug-in unit, this plug-in unit is associated with fileinfo; File header information in described fileinfo is used to indicate the type and size of this document etc., file header information in described fileinfo indicates described file to be opened by described the first plug-in unit, when the plugin information that is to say this plug-in unit comprises the file type in this document header, this plug-in unit is associated with fileinfo.
Preferably, desktop management platform carries several plug-in units, each plug-in unit has its different function, and the plugin information of each plug-in unit can comprise the function of this plug-in unit, that is to say the extension name of the file that this plug-in unit can be opened, if this plug-in unit is a player, the function of this player is to open audio file as mp3 file, wma file etc., and the plugin information of this plug-in unit comprises the extension name " .mp3 " of mp3 file, the extension name " .wma " of wma file.
When getting fileinfo, according to the extension name in fileinfo, whether first judge in several plug-in units of desktop management platform has plugin information to comprise the plug-in unit of this extension name, if, think that desktop management platform has the plug-in unit that can open this document, obtain the plug-in unit that this plugin information comprises this extension name, to comprise that according to this plugin information the plug-in unit of this extension name opens this document follow-up.It should be noted that, different according to the type of file, this is opened can be for playing, show, decompressing etc., and the present embodiment is not specifically limited.
Alternatively, on basis embodiment illustrated in fig. 2, step 202 " according to the fileinfo of described file, is obtained the application being associated with described fileinfo " by desktop management platform, also comprise the steps any one in (1), (2) and (3) or appoint the combination of several:
(1) in described desktop management platform, there is no the first plug-in unit, call the first specified interface of described desktop management platform, and from described local registration table, obtain the first application by described the first specified interface, described first is applied as the application being associated with described fileinfo in described local registration table;
In the present embodiment, after getting the fileinfo of file, first judge in several plug-in units of desktop management platform and whether have the first plug-in unit, if, think that desktop management platform has the plug-in unit that can open this document, obtain the first plug-in unit, to open this document follow-up according to this first plug-in unit, if not, think that desktop management platform does not have the plug-in unit that can open this document, need inquiry this locality whether the application being associated with this document information has been installed, particularly, call the first specified interface of described desktop management platform, and from described local registration table, obtain the first application by described the first specified interface, wherein, the first specified interface refers to for inquiring about the API of local registration table and obtaining application.Those skilled in the art can know, once application has been arranged on this locality, in local registration table, the extension name in the fileinfo of this application and its file that can open etc. can be associated.
It should be noted that, the application that may have the extension name in a plurality of and described fileinfo to be associated in local registration table, need the application that the extension name in the plurality of and described fileinfo is associated to offer user, so that this user selects, obtain the application that user selects.
(2) in described desktop management platform, there is no the first plug-in unit, the list of application providing, obtain the second application from described desktop management platform, described the second application is associated with described fileinfo;
In the present embodiment, after getting the extension name of file, first judge in several plug-in units of desktop management platform and whether have the first plug-in unit, if, think that desktop management platform has the plug-in unit that can open this document, obtain the first plug-in unit, to open this document follow-up according to this first plug-in unit, if not, think that desktop management platform does not have the plug-in unit that can open this document, the list of application that can provide from described desktop management platform, search the application being associated with described fileinfo.Usually, desktop management platform can provide a list of application that comprises several application, by whether having the second application in the several application in inquiry list of application, in the several application in list of application, comprises the second application, obtains the second application.
(3) in described desktop management platform, there is no the first plug-in unit, call the second specified interface of described desktop management platform, and from network, obtain and described the 3rd application by described the second specified interface, described the 3rd application is associated with described fileinfo.
In the present embodiment, after getting the fileinfo of file, first whether judge in several plug-in units of desktop management platform the first plug-in unit, if, think that desktop management platform has the plug-in unit that can open this document, obtain the first plug-in unit, to open this document follow-up according to this first plug-in unit, if not, think that desktop management platform does not have the plug-in unit that can open this document, call the second specified interface of described desktop management platform, and from network, obtain the 3rd application by described the second specified interface.Wherein, the second specified interface is for carrying out the API of web search according to the key word of file.Should be the web search that desktop management platform carries out automatically from Network Capture, the key word that its web search is used can be the extension name of this document, when searching the application message of include file extension name, application corresponding to application message that this include file extension name is described can be opened this document, this application being offered to user selects, when receive user obtain instruction time, application corresponding to application message being associated described in obtaining.
Wherein, described the 3rd application is associated with described fileinfo and refers to that the application message of described the 3rd application comprises described fileinfo, or the file journalization in described fileinfo comprises the Apply Names of described the 3rd application, or the file header information in described fileinfo indicates described file to be opened by described the 3rd application.
It should be noted that, the application corresponding to application message of the include file extension name obtaining through web search can have one or more, when this application has when a plurality of, can download at random and one of them is installed, or download and install according to the star (i.e. degree of recommendation) of application, and this to download and install can be all that carry out rear end at desktop management platform, and at front end, do not show, other operations of user are impacted avoiding.
Alternatively, and above-mentioned steps (1), (2) and (3) can also coordinate and carry out, specific as follows:
While there is no the first plug-in unit in several plug-in units of described desktop management platform, call the first specified interface of described desktop management platform, and from described local registration table, inquire about whether there is the first application by described the first specified interface, if have the first application in described local registration table, by described the first specified interface, from described local registration table, obtain the first application, if there is no the first application in described local registration table, the list of application providing from described desktop management platform, whether inquiry has the second application, if list of application has the second application, in the list of application that described desktop management platform provides, obtain the second application, if list of application does not have the second application, call the second specified interface of described desktop management platform, and from network, obtain the 3rd application by described the second specified interface.
Further alternatively, when getting the application being associated with described fileinfo, can also obtain the application being associated with fileinfo from list of application or network, and recommend user, when user has selected the application of recommendation, obtain this application.
The embodiment of the present invention provides a kind of File Open method, when receiving the OPEN to file when desktop management platform, obtains the fileinfo of described file; According to the fileinfo of described file, by described desktop management platform, obtain the application being associated with described fileinfo; Described file is opened in the application that use gets.Adopt technical scheme provided by the invention, by desktop management platform, obtain the application that can open file, and use this application to open file, avoid the user's intervention causing due to respective application not being installed, saved the process of user's manual search, download and installation, compared with prior art, reduced consuming time, and because its acquisition process carries out in backstage, compared with prior art, can not interrupt user's normal use.Further, avoided to the full extent user's intervention, convenient for users to use.By the standard interface of the application of desktop management platform active correlation and file, the plug-in unit carrying from desktop management platform, list of application or this locality obtain the application that can open this document, realization is when file needs local application to support, can provide suitable software for user, user need not be concerned about whether related software has been installed, and direct access file content.
Alternatively, on basis embodiment illustrated in fig. 2, step 201 " described when receive file OPEN time, obtain the fileinfo of described file ", comprise: when receive file OPEN time, obtain fileinfo and the positional information of described file; Correspondingly, step 203 " described file is opened in the application that use gets ", comprising: using described positional information as File Open path, according to the described application getting and described positional information, open described file.
Wherein, when file is local file, this positional information is file store path, and when file is network file or high in the clouds file, this positional information can be the URL (Uniform Resourse Locator, uniform resource locator) of current file.
In the present embodiment, the memory location of file is not limited, therefore when file is local file, the application getting can be used the file store path of this document to open this document, and when file is network file or high in the clouds file, can file not downloaded, but buffer memory limit, limit opens, can save the stand-by period.
Alternatively, on basis embodiment illustrated in fig. 2, step 203 " described file is opened in the application that use gets ", comprises the steps (a) and (b):
(a) according to the user ID of described desktop management platform, obtain the progress msg of described file;
The file that once read or opened for user, for the ease of user, from last end position, start to check, when file being carried out to opening operation by desktop management platform, also need to obtain the progress msg of described file, the progress msg of file can once be opened while finishing upper by user, upload onto the server, described progress msg at least comprises the end position of file identification and file last time, and when user opens file, the file identification of this document is uploaded onto the server, by server, according to file identification, inquired about, when inquiring the progress msg with this document sign, this progress msg is handed down to this desktop management platform, opening of this can be carried out according to this progress msg, that is to say from the end position of user's last time and open this document.
(b) according to the progress msg of described file and described in the application that gets, open described file and the corresponding part of described progress msg.
The storage format of this document information can be json form, and the pdf file of take is example, and the progress msg of this pdf file is:
The embodiment of the present invention provides a kind of File Open method, when receiving the OPEN to file when desktop management platform, obtains the fileinfo of described file; According to the fileinfo of described file, by described desktop management platform, obtain the application being associated with described fileinfo; Described file is opened in the application that use gets.Adopt technical scheme provided by the invention, by desktop management platform, obtain the application that can open file, and use this application to open file, avoid the user's intervention causing due to respective application not being installed, saved the process of user's manual search, download and installation, compared with prior art, reduced consuming time, and because its acquisition process carries out in backstage, compared with prior art, can not interrupt user's normal use.Further, by using progress msg to identify opening of file, make application to open this document from optional position, improved the efficiency of File Open.
Above-mentioned all optional technical schemes can adopt combinable mode arbitrarily in conjunction with the optional embodiment that forms the embodiment of the present invention, at this, illustrate no longer one by one.
Fig. 3 is the process flow diagram of a kind of File Open method of providing of the embodiment of the present invention.This is embodiment illustrated in fig. 3 combines and embodiment illustrated in fig. 1 File Open method is described in detail, and is a preferred embodiment of the present invention, and referring to Fig. 3, this embodiment comprises:
301,, when desktop management platform receives the OPEN to file, obtain fileinfo and the positional information of described file;
Wherein, fileinfo need obtain when receiving OPEN, and can be to obtain with fileinfo the opportunity of obtaining of positional information simultaneously, can be also to obtain after getting the application that can open this document.
302, in described desktop management platform, have the first plug-in unit, obtain described the first plug-in unit, described the first plug-in unit is associated with described fileinfo, execution step 308;
303, in described desktop management platform, there is no the first plug-in unit, call the first specified interface of described desktop management platform, and from described local registration table, obtain the first application by described the first specified interface, described first is applied as the application being associated with described fileinfo in described local registration table;
If have the first application in 304 local registration tablies, call the first specified interface of desktop management platform, and by the first specified interface, from local registration table, obtain the first application, first is applied as the application being associated with fileinfo in local registration table, execution step 308;
If there is no the first application in 305 described local registration tablies, the list of application providing from described acquisition of information platform, whether inquiry has the second application;
If 306 list of applications have the second application, the list of application providing from described desktop management platform, obtain the second application, described second is applied as the application being associated with described fileinfo in described list of application, execution step 308;
If 307 list of applications do not have the second application, call the second specified interface of described desktop management platform, and from network, obtain and described the 3rd application by described the second specified interface, the described the 3rd is applied as the application being associated with described fileinfo in described network, execution step 308;
308,, using described positional information as File Open path, according to the described application getting and described positional information, open described file.
The embodiment of the present invention provides a kind of File Open method, when receiving the OPEN to file when desktop management platform, obtains the fileinfo of described file; According to the fileinfo of described file, by described desktop management platform, obtain the application being associated with described fileinfo; Described file is opened in the application that use gets.Adopt technical scheme provided by the invention, by desktop management platform, obtain the application that can open file, and use this application to open file, avoid the user's intervention causing due to respective application not being installed, saved the process of user's manual search, download and installation, compared with prior art, reduced consuming time, and because its acquisition process carries out in backstage, compared with prior art, can not interrupt user's normal use.Fig. 4 is the structural representation of a kind of File Open device of providing of the embodiment of the present invention.Referring to Fig. 4, described device comprises:
Acquisition module 10, when receiving the OPEN to file when desktop management platform, obtains the fileinfo of described file; This acquisition module 10 is connected with application acquisition module 20, and application acquisition module 20, for according to the fileinfo of described file, obtains by described desktop management platform the application being associated with described fileinfo; This application acquisition module 20 is connected with processing module 30, and processing module 30, for being used the application getting to open described file.
Alternatively, on basis embodiment illustrated in fig. 4, described application acquisition module 20, specifically for have the first plug-in unit in described desktop management platform, obtains described the first plug-in unit, and described the first plug-in unit is associated with described fileinfo.
Described the first plug-in unit is associated with described fileinfo and refers to that the plugin information of described the first plug-in unit comprises described fileinfo, or the file journalization in described fileinfo comprises the plugin name of described the first plug-in unit, or the file header information in described fileinfo indicates described file to be opened by described the first plug-in unit.
Described application acquisition module 20 is not also for there is no the first plug-in unit when described desktop management platform, call the first specified interface of described desktop management platform, and from described local registration table, obtain the first application by described the first specified interface, described first is applied as the application being associated with described fileinfo in described local registration table; And/or,
Described application acquisition module 20 is not also for there is no the first plug-in unit when described desktop management platform, the list of application providing from described desktop management platform, obtain the second application, described second is applied as the application being associated with described fileinfo in described list of application, and/or
Described application acquisition module 20 is not also for there is no the first plug-in unit when described desktop management platform, call the second specified interface of described desktop management platform, and from network, obtain and described the 3rd application by described the second specified interface, the described the 3rd is applied as the application being associated with described fileinfo in described network.Described acquisition module 20 during specifically for OPEN when receiving file, obtains fileinfo and the positional information of described file;
Correspondingly, described processing module 30, specifically for using described positional information as File Open path, is opened described file according to the described application getting and described positional information.
Described processing module 30 is specifically for obtaining the progress msg of described file according to the user ID of described desktop management platform; According to the progress msg of described file and described in the application that gets, open described file and the corresponding part of described progress msg.
Described progress msg at least comprises the end position of file identification and file last time.
File Open device embodiment illustrated in fig. 4, take and comprise that above-mentioned all optional technical schemes describe technical scheme of the present invention as example, in practical application, above-mentioned all optional technical schemes can adopt any combinative mode to form the optional technical scheme of the embodiment of the present invention, at this, give an example no longer one by one.
The File Open device of the present embodiment, by adopting above-mentioned module to realize File Open, identical with the realization mechanism of above-mentioned correlation technique embodiment, can, with reference to the record of above-mentioned correlation technique embodiment, not repeat them here in detail.
It should be noted that: the File Open device that above-described embodiment provides is when File Open, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure of the equipment of being about to is divided into different functional modules, to complete all or part of function described above.In addition, File Open device and File Open embodiment of the method that above-described embodiment provides belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The embodiment of the present invention provides a kind of File Open device, when receiving the OPEN to file when desktop management platform, obtains the fileinfo of described file; According to the fileinfo of described file, by described desktop management platform, obtain the application being associated with described fileinfo; Described file is opened in the application that use gets.Adopt technical scheme provided by the invention, by desktop management platform, obtain the application that can open file, and use this application to open file, saved the process of user's manual search, download and installation, compared with prior art, reduced consuming time.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a File Open method, is characterized in that, described method comprises:
When desktop management platform receives the OPEN to file, obtain the fileinfo of described file;
In described desktop management platform, have the first plug-in unit, obtain described the first plug-in unit, described the first plug-in unit is associated with described fileinfo; Or,
In described desktop management platform, there is no the first plug-in unit, call the first specified interface of described desktop management platform, and from local registration table, obtain the first application by described the first specified interface, described first is applied as the application being associated with described fileinfo in described local registration table; Or,
In described desktop management platform, there is no the first plug-in unit, the list of application providing, obtain the second application from described desktop management platform, described second is applied as the application being associated with described fileinfo in described list of application; Or,
In described desktop management platform, there is no the first plug-in unit, call the second specified interface of described desktop management platform, and from network, obtain the 3rd application by described the second specified interface, the described the 3rd is applied as the application being associated with described fileinfo in described network;
Described file is opened in the application that use gets;
Wherein, described desktop management platform is for carrying local application, local application is carried out to Classification Management, and the list of application that comprises a plurality of application messages for safeguarding that the server of described desktop management platform provides also, also for carrying with manage third-party application.
2. method according to claim 1, it is characterized in that, described the first plug-in unit is associated with described fileinfo and refers to that the plugin information of described the first plug-in unit comprises described fileinfo, or the file journalization in described fileinfo comprises the plugin name of described the first plug-in unit, or the file header information in described fileinfo indicates described file to be opened by described the first plug-in unit.
3. method according to claim 1, is characterized in that, when desktop management platform receives the OPEN to file, obtains the fileinfo of described file, comprising:
When receive file OPEN time, obtain fileinfo and the positional information of described file;
Correspondingly, use the application getting to open described file, comprising:
Using described positional information as File Open path, according to the described application getting and described positional information, open described file.
4. method according to claim 1, is characterized in that, uses the application getting to open described file, comprising:
According to the user ID of described desktop management platform, obtain the progress msg of described file;
According to the progress msg of described file and described in the application that gets, open described file and the corresponding part of described progress msg.
5. method according to claim 4, is characterized in that, described progress msg at least comprises the end position of file identification and file last time.
6. a File Open device, is characterized in that, described device comprises:
Acquisition module, when receiving the OPEN to file when desktop management platform, obtains the fileinfo of described file;
Application acquisition module, for having the first plug-in unit when described desktop management platform, obtains described the first plug-in unit, and described the first plug-in unit is associated with described fileinfo; And/or,
Described application acquisition module is not also for there is no the first plug-in unit when described desktop management platform, call the first specified interface of described desktop management platform, and from local registration table, obtain the first application by described the first specified interface, described first is applied as the application being associated with described fileinfo in described local registration table; And/or,
Described application acquisition module is not also for there is no the first plug-in unit when described desktop management platform, the list of application providing from described desktop management platform, obtain the second application, described second is applied as the application being associated with described fileinfo in described list of application, and/or
Described application acquisition module is not also for there is no the first plug-in unit when described desktop management platform, call the second specified interface of described desktop management platform, and from network, obtain the 3rd application by described the second specified interface, the described the 3rd is applied as the application being associated with described fileinfo in described network;
Processing module, for being used the application getting to open described file;
Wherein, described desktop management platform is for carrying local application, local application is carried out to Classification Management, and the list of application that comprises a plurality of application messages for safeguarding that the server of described desktop management platform provides also, also for carrying with manage third-party application.
7. device according to claim 6, it is characterized in that, described the first plug-in unit is associated with described fileinfo and refers to that the plugin information of described the first plug-in unit comprises described fileinfo, or the file journalization in described fileinfo comprises the plugin name of described the first plug-in unit, or the file header information in described fileinfo indicates described file to be opened by described the first plug-in unit.
8. device according to claim 6, is characterized in that, described acquisition module during specifically for OPEN when receiving file, obtains fileinfo and the positional information of described file;
Correspondingly, described processing module, specifically for using described positional information as File Open path, is opened described file according to the described application getting and described positional information.
9. device according to claim 6, is characterized in that, described processing module is specifically for obtaining the progress msg of described file according to the user ID of described desktop management platform; According to the progress msg of described file and described in the application that gets, open described file and the corresponding part of described progress msg.
10. device according to claim 9, is characterized in that, described progress msg at least comprises the end position of file identification and file last time.
CN201210249251.4A 2012-07-18 2012-07-18 File opening method and device Active CN102841750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210249251.4A CN102841750B (en) 2012-07-18 2012-07-18 File opening method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210249251.4A CN102841750B (en) 2012-07-18 2012-07-18 File opening method and device

Publications (2)

Publication Number Publication Date
CN102841750A CN102841750A (en) 2012-12-26
CN102841750B true CN102841750B (en) 2014-12-03

Family

ID=47369165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210249251.4A Active CN102841750B (en) 2012-07-18 2012-07-18 File opening method and device

Country Status (1)

Country Link
CN (1) CN102841750B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866322B (en) * 2015-06-10 2019-03-29 联想(北京)有限公司 A kind of the transmission display methods and electronic equipment of data information
CN105183513A (en) * 2015-08-31 2015-12-23 小米科技有限责任公司 Application recommendation method and apparatus
CN105897830A (en) * 2015-12-01 2016-08-24 乐视网信息技术(北京)股份有限公司 File opening tool recommending client, server, system and method
CN105786515B (en) * 2016-03-01 2020-01-14 惠州Tcl移动通信有限公司 Electronic book file, generation processing method and opening processing method thereof
CN108874814B (en) * 2017-05-10 2022-05-27 北京国双科技有限公司 Legal document processing method and device
CN108287917B (en) * 2018-02-13 2020-03-10 Oppo广东移动通信有限公司 File opening method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1392477A (en) * 2001-06-14 2003-01-22 互慧科技股份有限公司 Automatic file opening system and method
CN1855047A (en) * 2005-04-29 2006-11-01 宏碁股份有限公司 Method for opening specific files automatically
CN101086735A (en) * 2006-06-09 2007-12-12 联想(北京)有限公司 A system and method for realizing electronic bookmark
CN101924798A (en) * 2010-09-08 2010-12-22 北京大学 Transparent Android component loading method and system based on file types

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020188695A1 (en) * 2001-06-07 2002-12-12 Frank Tso Auto file opening system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1392477A (en) * 2001-06-14 2003-01-22 互慧科技股份有限公司 Automatic file opening system and method
CN1855047A (en) * 2005-04-29 2006-11-01 宏碁股份有限公司 Method for opening specific files automatically
CN101086735A (en) * 2006-06-09 2007-12-12 联想(北京)有限公司 A system and method for realizing electronic bookmark
CN101924798A (en) * 2010-09-08 2010-12-22 北京大学 Transparent Android component loading method and system based on file types

Also Published As

Publication number Publication date
CN102841750A (en) 2012-12-26

Similar Documents

Publication Publication Date Title
CN102841750B (en) File opening method and device
CN102520987B (en) Online experience and installation method, device, server and management system of application program
CN100411341C (en) Parallel downloading method and terminal
CN102752457B (en) Method and system for installing applications
CN110096660B (en) Method and device for loading page pictures and electronic equipment
CN103227812B (en) Smart machine is supported method for down loading and the device of breakpoint transmission
US20140013238A1 (en) File transfer method and device
CN102368785B (en) Network file uploading method, device and system
WO2009082730A1 (en) Apparatus and methods for retrieving/ downloading content on a communication device
CN105512294B (en) Multimedia file update prompting method and device
CN104298523A (en) Component loading method and device and terminal
CN102769641A (en) Method and system for displaying webpage content by means of self-adaption control
US9503551B2 (en) Hybrid native networked applications
CN103634393A (en) IVR (interactive voice response) and realization method thereof
CN102959929A (en) Terminal application search system
CN108196902A (en) For showing the method and apparatus for advertisement of spreading its tail
CN105187562A (en) System and method for operating remote file
US20140053075A1 (en) Content supplying apparatus, content supplying method, portal system and storage medium storing computer program
CN104281661A (en) Data downloading method
CN104268162A (en) Data storage method and device
CN102722404A (en) Management system, device and method for application software in intelligent terminal
CN102752401B (en) Content acquisition method and device
US10291743B2 (en) Configuring service endpoints in native client applications
CN102457552B (en) System, device, and method used for acquiring service of provider
CN104717286A (en) Data processing method, terminal, server and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151224

Address after: The South Road in Guangdong province Shenzhen city Fiyta building 518057 floor 5-10 Nanshan District high tech Zone

Patentee after: Shenzhen Tencent Computer System Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Futian District SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.