CN105141678B - The method and apparatus that a kind of pair of file is managed - Google Patents

The method and apparatus that a kind of pair of file is managed Download PDF

Info

Publication number
CN105141678B
CN105141678B CN201510496534.2A CN201510496534A CN105141678B CN 105141678 B CN105141678 B CN 105141678B CN 201510496534 A CN201510496534 A CN 201510496534A CN 105141678 B CN105141678 B CN 105141678B
Authority
CN
China
Prior art keywords
file
local
browser window
browser
user
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.)
Expired - Fee Related
Application number
CN201510496534.2A
Other languages
Chinese (zh)
Other versions
CN105141678A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510496534.2A priority Critical patent/CN105141678B/en
Publication of CN105141678A publication Critical patent/CN105141678A/en
Application granted granted Critical
Publication of CN105141678B publication Critical patent/CN105141678B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses the device that a kind of pair of file is managed, which includes user's input module, is configured to receive the instruction of user's input, and determine the type of the corresponding object of the instruction;Loading module is configured to load corresponding browser window according to the type of the determining object;Display module is configured to show the content of the object in the browser window;Wherein, user's input module is additionally configured to judge whether the type of the object is uniform resource position mark URL, if so, determining that the object is network object;Whether the type for judging the object is local path, if so, determining that the object is native object.The present invention also provides the methods being managed accordingly to file.

Description

The method and apparatus that a kind of pair of file is managed
The application be on November 16th, 2012 application No. is the 201210464749.2, applying date, it is entitled " a kind of The divisional application of the patent application of the method and apparatus that file is managed ".
Technical field
The present invention relates to network application fields, and in particular to the method and apparatus that a kind of pair of file is managed.
Background technique
Browser refers to HTML (the Hypertext Markup that can show web page server or file system Language, hypertext markup language) file content, and allow a kind of software of user and these file interactions.Web browser Mainly interacted by http protocol (HyperText Transfer Protocol, hypertext transfer protocol) with web page server And webpage is obtained, these webpages are referred to by URL (Uniform/Universal Resource Locator, uniform resource locator) Fixed, file format is usually HTML, and by MIME (Multipurpose Internet Mail Extension, multipurpose network Border Mail Extension) it is indicated in http protocol.
It may include multiple documents in one webpage, each document is to obtain respectively from server.It is most clear Device itself of looking at supports the picture formats such as extensive format, such as JPEG, PNG, GIF in addition to html, and can extend Support numerous plug-in units (plug-ins).In addition, many browsers also support others URL type and its corresponding agreement, such as FTP (File Transfer Protocol, File Transfer Protocol), Gopher (The Internet Gopher Protocol, RFC-1436 internet gopher protocol), HTTPS (encryption version of http protocol).HTTP content type and URL protocol specification are permitted Perhaps Web page maker's embedded images, animation, video, sound, Streaming Media etc. in webpage.Common web page browsing on PC Device includes the Safari of Firefox, Apple of the Internet Explorer (referred to as IE) of Microsoft, Mozilla, Opera, Google Chrome, GreenBrowser browser, 360 secure browsers, search dog high speed browser, everyday browser, Tencent TT, proud trip browser, baidu browser, Tencent QQ browser etc..
In addition, browser is also equipped with other function in addition to the function of directly opening webpage.For example, being had in browser Collection exists, and is used for the webpage that user checks collection.
But current browser is seldom for the access interface of the file system of browser local.Browser pair as a result, It is not very convenient in the access and operation of local file system, and then the management of local file cannot be carried out very well.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the method for problem being managed to file and the device being managed accordingly to file.
According to one aspect of the present invention, the method that a kind of pair of file is managed is provided, comprising:
The instruction of user's input is received, and determines the type of the corresponding object of the instruction;
According to the type of determining object, corresponding browser window is loaded;
The content of object is shown in browser window;
Wherein it is determined that the type of the corresponding object of the instruction includes:
Whether the type for judging object is uniform resource position mark URL, if so, determining that object is network object;
Whether the type for judging object is local path, if so, determining that object is native object.
Optionally, when object is network object,
According to the type of determining object, corresponding browser window is loaded, comprising:
Load networks browser window;And
Contents of object is shown in browser window, comprising: in web browser window, show in corresponding webpage Hold.
Optionally, when object is native object,
According to the type of determining object, corresponding browser window is loaded, comprising: load local browser window;
Contents of object is shown in browser window, comprising: in local browser window, show in corresponding local Hold.
Optionally, in local browser window, corresponding local content is shown, comprising:
According to local path, corresponding local file is searched;
In local browser window, the local file found is shown.
Optionally, in local browser window, the local file found is shown, comprising:
When local file is file, the file and file for including in file are shown in local browser window Information;
When local file is single file, the information of single file is shown in the form of web pages in local browser window.
Optionally, when local file is file, the file for including in file is shown in local browser window The information of folder and file, comprising:
In local browser window, the information of the file and file that include in file is shown with tree structure, In, node of each file as the tree structure.
Optionally, after local browser window shows local file, comprising:
According to the instruction that user inputs, at least one of following management is carried out to local file and is operated:
Local file is accessed, local file is saved, modification local file, Delete Local File, merges local file, uploads Local file.
Optionally, in browser window, different display contents is directed toward using different labels,
The content of object is shown in browser window, comprising:
When being directed toward the content of object of the newest inquiry of user according to new label, before being directed toward using the label having been displayed The contents of object of display, wherein new label and the label having been displayed are simultaneously displayed in browser window.
Optionally, the above method further include: local file historical record is shown in browser window.
Optionally, local file plug-in unit of this method for viewing on device, wherein the local file plug-in unit is provided separately within In the browser, alternatively, the local file plug-in unit is arranged in other plug-in units of the browser.
According to another aspect of the invention, the device that a kind of pair of file is managed is provided, comprising:
User's input module is configured to receive the instruction of user's input, and determines the type of the corresponding object of the instruction;
Loading module is configured to the type according to determining object, loads corresponding browser window;
Display module is configured to show the content of object in browser window;
Wherein, user's input module is additionally configured to judge whether the type of object is uniform resource position mark URL, if so, Then determine that object is network object;Whether the type for judging object is local path, if so, determining that object is native object.
Optionally,
Loading module is additionally configured to when object is network object, load networks browser window;
Display module is additionally configured in web browser window, shows corresponding web page contents.
Optionally,
Loading module is additionally configured to when object is native object, loads local browser window;
Display module is additionally configured in local browser window, shows corresponding local content.
Optionally, display module is additionally configured to search corresponding local file according to local path;In local browser window In mouthful, the local file found is shown.
Optionally, display module is additionally configured to show text in local browser window when local file is file The information of the file and file that include in part folder;When local file is single file, in local browser window with webpage Form shows the information of single file.
Optionally, display module is additionally configured in local browser window, to include in tree structure display file File and file information, wherein node of each file as the tree structure.
Optionally, above-mentioned apparatus further include:
Management module is configured to the instruction inputted according to user, carries out at least one of following management to local file and operates:
Local file is accessed, local file is saved, modification local file, Delete Local File, merges local file, uploads Local file.
Optionally, in browser window, different display contents is directed toward using different labels, at this point,
Display module is additionally configured to when being directed toward the content of object of the newest inquiry of user according to new label, and utilization has been shown The contents of object that the label shown is shown before being directed toward, wherein new label and the label having been displayed are simultaneously displayed on browser window In mouthful.
Optionally, display module is additionally configured to show local file historical record in browser window.
Optionally, which is arranged in the local file plug-in unit of browser, wherein the local file plug-in unit is separately provided In the browser, alternatively, the local file plug-in unit is arranged in other plug-in units of the browser.
In embodiments of the present invention, browser window is not limited to display from network server or file system acquisition Web page contents, but the content of different objects can be shown according to the demand of user, for example, the interior of local file can be shown Hold.It can be seen that can show different contents of object in browser window using method provided in an embodiment of the present invention, also It is to say, browser can call different types of object, and then can local file system be accessed and be operated, thus It realizes and utilizes management of the browser to local file, the user of terminal does not need specially to go to open again file explorer to this Ground file is managed, realize web browser for browser local file manager integrate, save the resource of system, And improve browse efficiency.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the process flow diagram of the method according to an embodiment of the invention being managed to file;
Fig. 2 shows the process flow diagrams that browser according to an embodiment of the invention is managed local file;
Fig. 3 shows the specific flow chart of the method according to an embodiment of the invention being managed to file;
Fig. 4 shows the schematic diagram of the page of the catalogue of load document management system according to an embodiment of the invention;
Fig. 5 shows the schematic diagram of the catalogue of tree structure according to an embodiment of the invention;And
Fig. 6 shows the structural schematic diagram of the device according to an embodiment of the invention being managed to file.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
It refers in the related technology, current browser is seldom for the access interface of the file system of browser local.Cause This, browser is not very convenient for the access and operation of local file system, and then cannot carry out local file very well Management.
And in the application process of terminal, in addition to being browsed to the webpage obtained from web page server or file system Outside, terminal it may also be desirable to the file being locally stored be browsed or executed other operations.To reach the function, set in terminal File explorer (File Explorer) has been set, window explorer (Windows Explorer) has been once called as, is Windows checks the basic tool of file.In Windows 8, this program is renamed as into file explorer.Usual Windows User will not pay special attention to this function, and start menu is used only mostly and opens the files such as " document ", " picture ", " music ", It is in fact exactly to use window explorer while checking file.
For the browser client for getting used to windows file management, browser is for local file system It is not very convenient to access and operate, and cannot be managed using browser to local file, such as executes webpage and save, under software The access and operation for local file system such as load, file upload.
In order to solve the above technical problems, the embodiment of the present invention improves existing browser, improved browser is utilized A kind of file management method is provided.Fig. 1 shows the processing stream of the method according to an embodiment of the present invention being managed to file Cheng Tu.Referring to Fig. 1, this includes step S102 to S106 to the method that file is managed.
Step S102, the instruction of user's input is received, and determines the type of the corresponding object of the instruction.
Step S104, according to the type of determining object, corresponding browser window is loaded.
Step S106, the content of object is shown in loading successful browser window.
In embodiments of the present invention, browser window is not limited to display from network server or file system acquisition Web page contents, but the content of different objects can be shown according to the demand of user, for example, the interior of local file can be shown Hold.It can be seen that can show different contents of object in browser window using method provided in an embodiment of the present invention, also It is to say, browser can call different types of object, and then can local file system be accessed and be operated, thus It realizes and utilizes management of the browser to local file, the user of terminal does not need specially to go to open again file explorer to this Ground file is managed, realize web browser for browser local file manager integrate, save the resource of system, And improve browse efficiency.
Process as shown in Figure 1, step S102 are proposed when implementing it needs to be determined that the corresponding object of instruction of user's input Type.It should be noted that the type of the object can be to be a variety of, for example, it may be network file is (usually with URL address table Show), it can also be local file (usually indicating with local path), can also be that certain external memories (such as flash memory) stores File etc..Usually using it is more be therefore the address URL and local path when implementing, can preferentially judge object Whether type is uniform resource position mark URL, if so, determining that object is network object.If it is not, then may determine that object Whether type is local path, if so, determining that object is native object.If not it is both above-mentioned, then go to judge whether it is it His the third or the 4th seed type.In the following description of the present invention, to simplify the description, native object (local content) is wide Free burial ground for the destitute contains other objects (other content) in addition to network object, such as the content that is locally stored and can also be certain The content etc. of a little external memory (such as flash memory) storages.
Preferably, when the object indicated by the instruction of user's input is network object, then network object (such as net is selected Page) processing mode.At this point, load corresponding browser window just should load networks browser window, correspondingly, loading In successful web browser window, web page contents corresponding to the network object are shown.
If object indicated by the instruction of user's input when being native object, selects native object (such as local file Or file) processing mode.At this point, local browser window should just be loaded by loading corresponding browser window.Correspondingly, In loading successful local browser window, the corresponding local content of the native object is shown.
Certainly, before showing local content, corresponding native object is required to look up.It can determine according to user instructions The local path of the native object, and then corresponding native object is found according to determining local path, obtain its content with It is shown for subsequent in browser window.
Different according to the type of native object, the contents of object shown in local browser window is also not exactly the same. Two specific examples are now lifted to be explained.
If native object is local file, then, it is contemplated that file itself be it is single, content is relatively simple, then can be with Directly show the content of this document in the form of web pages in local browser window.Specifically, according to the confirmation command of user this The local path of ground file finds corresponding local file according to the local path, then, in local browser window, Show the local file found.
When local file is local folders, since file itself is multiple level, it is also possible to wrap in file Include file or including multiple files.At this point, all contents can not be shown in a browser window, therefore, only The information of the file and file that include in file is shown in the local browser window.Certainly, there is foot in terminal Enough browser windows, then it is also feasible for providing a browser window to carry out display for each file in local folders , a large amount of resource can be only expended, and user is typically not required and opens simultaneously multiple files.By this document press from both sides in letter Breath is presented to the user, and the file or file for selecting it to need to open by user can save vast resources, also for user's Acquisition of information is also more quick.
It, therefore, can be preferably with tree structure in local browser window in view of the multi-stratification of file itself The information of the file and file that include in display file, wherein node of each file as the tree structure.Tree-like knot Structure can sufficiently, clearly illustrate set membership between each hierarchical file folder, improve the visual effect of user.
Further, local file can be called and shown in local browser window, then, browser can also be in this example Other access and operation are carried out to the local file of display, to realize management of the browser to local file.Fig. 2 shows roots According to the process flow diagram that the browser of one embodiment of the invention is managed local file, including step S202 is to step S204。
Step S202, the instruction (such as management instruction) of user's input is received.
Step S204, the instruction inputted according to user, carry out at least one management as follows to local file and operate: access is originally Ground file saves local file, modification local file, Delete Local File, merges local file, uploads local file.
Management operation herein is only to enumerate, and does not cause to limit to management operation, in the practical application of browser Other operations can also be selected according to the demand of user.
In addition, multiple display contents can be presented simultaneously on browser interface, how to distinguish different display contents with And the content for opening display how to be selected just to need corresponding settling mode.This example provides a kind of preferred solutions, that is, In browser window, different display contents is directed toward using different labels.Correspondingly, showing object in browser window Content, so that it may shown using label, when being directed toward the content of object of the newest inquiry of user according to new label, benefit The contents of object shown before being directed toward with the label having been displayed, wherein new label is simultaneously displayed on clear with the label having been displayed It lookes in device window.For example, user wants the contents of object of the front opening referred to after showing newest contents of object, then can select Select click before contents of object label could switch to before interface.According to one embodiment of present invention, the mark Label may include web tab and local label to be respectively directed to network object content and native object content.
Further, browser can choose shows local file historical record in browser window, in this way, user is under When the certain local files of secondary lookup, can directly it be searched from local file historical record, it is every without gradually opening A file path can save resource.
In practical applications, user open file accompany certain regularity, for example, user may will part work in Storage is stored into working folder, the opening frequency of this document folder is necessarily higher, for another example the private data of user is usual It is also to open the higher a part of frequency.Therefore, browser can arrange local file historical record, will open frequency Higher file is stood out.In addition, browser can also be ranked up local file historical record according to opening time. By there is the local file historical record of certain sequence, user more can more easily find rapidly pair for needing to call display As.
Local file plug-in unit of the file management method provided in an embodiment of the present invention for viewing on device, wherein the local File plug-in unit can be provided separately in the browser, alternatively, other plug-in units of the browser are arranged in the local file plug-in unit In, such as in tool box plug-in unit, in the plug-in unit of such as collection etc..
It now provides a specific embodiment file management method of the embodiment of the present invention is explained in detail and is illustrated.
Embodiment one
In this example, local file plug-in unit is arranged in the plug-in unit of collection.Since Local File Manager usually exists The catalogue of file is unfolded in the side frame of the left side, therefore, this example will also use same expansion mode.
Fig. 3 shows the specific flow chart of the method according to an embodiment of the invention being managed to file.Ginseng See Fig. 3, in this example includes step S302 to step S310 to the method that file is managed.
Step S302, when left side side frame is unfolded, the catalogue of load document management system, specific schematic diagram refers to Fig. 4.
Step S304, the click event in the side frame of the left side is judged, judge the click event it is corresponding be URL or File (local file).
Step S306, different display windows is loaded in browser window according to judging result, then executes step if URL Rapid S308;If file, S310 is thened follow the steps.
Step S308, web (network) browser window is loaded, web page contents are displayed for a user.
Step S310, local browser window is loaded, local content is displayed for a user.Specifically, if single file, then Directly to display for a user file content, for the type of this document, inserted what browser side had loaded and installed according to it Part type loads the plug-in unit and shows this document.Such as: pdf document, word document, various pictures etc..If file, then According to the catalogue of the click expansion different tree form structure of user, Fig. 5 provides a specific schematic diagram.
In the left frame of the browser of Fig. 4, it is network profile that initial plug-in unit, which is shown, is beaten wherein clicking in user When opening the generation of left frame event, other than the load of existing network profile, PC local disk will also be added, including Mobile device, various language have corresponding function to be supported (Environment class, etc. in such as C#), and successively to it It carries out content expansion and is shown after click, as a result will be arranged in the browser forms on the right side.
Step S304, specifically, user clicks the project in left frame, judges that the project being clicked is when implementing URL is also the option of the file class of non-URL.When judgement is URL, webpage to be opened can be assert, it can dynamically on the right Web window is loaded in window loads the corresponding web page tag of above-mentioned URL (tab).When judging between right and wrong URL, it can assert and want Opened file folder or the file information understand dynamically load file window (local browser window) in window on the right and load phase File and folder information and load document label under the catalogue answered, file label therein can mutually be distinguished with web page tag It opens, to illustrate to distinguish.In this example, what file label indicated is the label of local file.Local label is according to the spy of local file Property can be there are many implementation.Several specific examples are now provided, for example, can be using the address of local file as files-designated Label, alternatively, can be using the filename of local file as file label, alternatively, can be made with the search key of local file For file label.When it is implemented, in order to be easier to distinguish file label and web page tag, it may be considered that set file label to Highlighted word etc. is to distinguish display.The acquisition of file and folder information at this is the tree-like of the file manager clicked from user At a node in catalogue, the file and folder information under the node are obtained.
When further, for loading in Web window, file being shown, it can show that this document exists in address field Local path.Tab label therein can mutually be distinguished with other Web page, to illustrate to distinguish.
Combination between Web browser and local browser is realized using file management method provided in this embodiment, It is convenient for users to use.
Fig. 6 shows the structural schematic diagram of the device according to an embodiment of the invention being managed to file.It should Same inventive concept is belonged to the method that file is managed with what is be mentioned above to the device that file is managed.Referring to Fig. 6, Document management module includes user's input module 610, loading module 620 and display module 630.Now respectively to the function of each module Energy and framework are illustrated.
Firstly, user's input module 610 receives the instruction of user's input, and determine the type of the corresponding object of the instruction. The type of object herein can be a variety of, for example, it may be network file (usually being indicated with the address URL), can also be this Ground file (is usually indicated with local path), can also be the file etc. of certain external memories (such as flash memory) storage.It is logical Being often used more is therefore the address URL and local path when implementing, can preferentially judge whether the type of object is system One Resource Locator URL, if so, determining that object is network object.If it is not, whether the type that then may determine that object is this Ground path, if so, determining that object is native object.If not both above-mentioned, then go to judge whether it is it is other the third or 4th seed type.
Secondly, loading module 620, couples with user's input module 610, can be determined according to user's input module 610 The type of object loads corresponding browser window.
Then, display module 630, couple with loading module 620, and the content of object is shown in browser window.
Wherein, it is preferred that when user's input module 610 judges that object indicated by the instruction of user's input is network pair As when, then select the processing mode of network object (such as webpage).At this point, loading module 620 can load corresponding browser window Mouth just should load networks browser window, correspondingly, display module 630 in loading successful web browser window, is shown Show web page contents corresponding to the network object.
If user's input module 610 judges that object indicated by the instruction of user's input is native object, select The processing mode of native object (such as local file or file).At this point, loading module 620 can load corresponding browser window Mouth should just load local browser window.Correspondingly, display module 630 in loading successful local browser window, is shown Show the corresponding local content of the native object.
Certainly, before showing local content, corresponding native object is required to look up.Preferably, 630 meeting of display module The local path of the native object is determined according to user instructions, and then corresponding local text is searched according to determining local path Part, obtains its content and in local browser window, shows the local file found.
Different according to the type of native object, the contents of object shown in local browser window is also not exactly the same. If native object is local file, then, it is contemplated that file itself be it is single, content is relatively simple, then can directly this Ground browser window shows the content of this document in the form of web pages.Specifically, when local file is single file, display module 630 show the information of single file in local browser window in the form of web pages.
When local file is local folders, since file itself is multiple level, it is also possible to wrap in file Include file or including multiple files.At this point, all contents can not be shown in a browser window, therefore, only The information of the file and file that include in file is shown in the local browser window.Certainly, there is foot in terminal Enough browser windows, then it is also feasible for providing a browser window to carry out display for each file in local folders , a large amount of resource can be only expended, and user is typically not required and opens simultaneously multiple files.By this document press from both sides in letter Breath is presented to the user, and the file or file for selecting it to need to open by user can save vast resources, for the letter of user It is also more quick that breath, which obtains,.Specifically, display module 630 is in local browser window when local file is file The information of the file and file that include in display file.
In view of the multi-stratification of file itself, it is preferred, therefore, that in local browser window, display module 630 The information of the file and file that include in file is shown with tree structure, wherein each file is as the tree structure Node.Tree structure can sufficiently, clearly illustrate set membership between each hierarchical file folder.
It further include management module 640 to the device that file is managed referring to Fig. 3.The management module 640 and user input 610 phase of module coupling, the instruction that can be inputted according to user received in user's input module 610, carries out such as local file At least one of lower management operation:
Local file is accessed, local file is saved, modification local file, Delete Local File, merges local file, uploads Local file.
Management operation herein is only to enumerate, and does not cause to limit to management operation, in the practical application of browser Other operations can also be selected according to the demand of user.
In addition, can use different labels in browser window and be directed toward different display contents, wherein new mark The label signed and had been displayed is simultaneously displayed in browser window.At this point, being directed toward the newest inquiry of user according to new label When the content of object, display module 630 can use the contents of object shown before the label having been displayed is directed toward.For example, aobvious After showing newest contents of object, user wants the contents of object of the front opening referred to, then can choose the contents of object before clicking Label could switch to before interface.According to one embodiment of present invention, the label may include web tab and Local label is to be respectively directed to network object content and native object content.
Further, display module 630 can choose shows local file historical record in browser window, in this way, with Family can directly be searched from local file historical record, when searching certain local files next time without gradually Each file path is opened, resource can be saved.
The local file plug-in unit provided in an embodiment of the present invention that the device that file is managed can be set in browser In, wherein the local file plug-in unit is provided separately in the browser, alternatively, the local file plug-in unit is arranged in the browser Other plug-in units in.
The device provided by the above embodiment being managed to file is only to carry out module division according to its function, in reality This in the application of border is likely present other structures or module or component or device to the device that file is managed, however it is not limited to this The framework provided is provided.
Using the method provided in an embodiment of the present invention being managed to file and related device, can reach has as follows Beneficial effect:
In embodiments of the present invention, browser window is not limited to display from network server or file system acquisition Web page contents, but the content of different objects can be shown according to the demand of user, for example, the interior of local file can be shown Hold.It can be seen that can show different contents of object in browser window using method provided in an embodiment of the present invention, also It is to say, browser can call different types of object, and then can local file system be accessed and be operated, thus It realizes and utilizes management of the browser to local file, the user of terminal does not need specially to go to open again file explorer to this Ground file is managed, realize web browser for browser local file manager integrate, save the resource of system, And improve browse efficiency.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) are realized in the device according to an embodiment of the present invention being managed to file Some or all components some or all functions.The present invention is also implemented as executing side as described herein Some or all device or device programs (for example, computer program and computer program product) of method.It is such It realizes that program of the invention can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (14)

1. the method that a kind of pair of file is managed, comprising:
The instruction of user's input is received, and determines the type of the corresponding object of the instruction;
According to the type of the determining object, corresponding browser window is loaded by browser;
The content of the object is shown in the browser window;
Wherein, the type of the corresponding object of the determination instruction, comprising:
Whether the type for judging the object is uniform resource position mark URL, if so, determining that the object is network object;
Whether the type for judging the object is local path, if so, determining that the object is native object;
The type according to the determining object, loads corresponding browser window by browser;And in the browsing The content of the object is shown in device window, comprising:
When the object is network object, by the browser load networks browser window, in web browser window, Show corresponding web page contents;
When the object is native object, local browser window is loaded by the browser, in local browser window, Show corresponding local content;
In the browser window, different display contents is directed toward using different labels, and
The content of the object is shown in the browser window, comprising:
When being directed toward the content of object of the newest inquiry of user according to new label, shown before being directed toward using the label having been displayed Contents of object, wherein the new label and the label having been displayed are simultaneously displayed in the browser window.
2. showing corresponding local content according to the method described in claim 1, described in local browser window, comprising:
According to the local path, corresponding local file is searched;
In local browser window, the local file found is shown.
3. showing the local text found according to the method described in claim 2, described in local browser window Part, comprising:
When the local file is file, the file for including in the file is shown in the local browser window The information of folder and file;
When the local file is single file, the single file is shown in the form of web pages in the local browser window Information.
4. according to the method described in claim 3, when the local file is file, in the local browser window Show the information of the file and file that include in the file, comprising:
In the local browser window, the letter of the file and file that include in the file is shown with tree structure Breath, wherein node of each file as the tree structure.
5. according to the described in any item methods of claim 2-4, the local browser window show the local file it Afterwards, comprising:
According to the instruction that user inputs, at least one of following management is carried out to the local file and is operated:
Access local file saves local file, modification local file, Delete Local File, merges local file, uploads locally File.
6. method according to claim 1-4, further includes: show that local file is gone through in the browser window Records of the Historian record.
7. method according to claim 1-4, local file plug-in unit of this method for viewing on device, wherein The local file plug-in unit is provided separately in the browser, alternatively, the local file plug-in unit be arranged in the browser other insert In part.
8. the device that a kind of pair of file is managed, comprising:
User's input module is configured to receive the instruction of user's input, and determines the type of the corresponding object of the instruction;
Loading module, is configured to the type according to the determining object, loads corresponding browser window by browser;
Display module is configured to show the content of the object in the browser window;
Wherein, user's input module is additionally configured to judge whether the type of the object is uniform resource position mark URL, if It is, it is determined that the object is network object;Whether the type for judging the object is local path, if so, described in determining Object is native object;
The loading module is additionally configured to when the object is network object, by the browser load networks browser window Mouthful;And the display module is additionally configured in the web browser window, shows corresponding web page contents;
The loading module is additionally configured to when the object is native object, loads local browser window by the browser Mouthful;And the display module is additionally configured in the local browser window, shows corresponding local content;
In the browser window, different display contents is directed toward using different labels, at this point,
The display module is additionally configured to when being directed toward the content of object of the newest inquiry of user according to new label, and utilization has been shown The contents of object that the label shown is shown before being directed toward, wherein the new label and the label having been displayed are simultaneously displayed on In the browser window.
9. device according to claim 8, the display module is additionally configured to be searched corresponding according to the local path Local file;In local browser window, the local file found is shown.
10. device according to claim 9, the display module is additionally configured to when the local file is file, The information of the file and file that include in the file is shown in the local browser window;When the local file When being single file, the information of the single file is shown in the form of web pages in the local browser window.
11. device according to claim 10, the display module is additionally configured in the local browser window, with Tree structure shows the information of the file and file that include in the file, wherein each file is as the tree structure Node.
12. according to the described in any item devices of claim 9-11, further includes:
Management module is configured to the instruction inputted according to user, carries out at least one of following management to the local file and operates:
Access local file saves local file, modification local file, Delete Local File, merges local file, uploads locally File.
13. according to the described in any item devices of claim 8-11, the display module is additionally configured in the browser window Show local file historical record.
14. according to claim 8-11 described in any item devices, the device is arranged in the local file plug-in unit of browser, In, which is provided separately in the browser, alternatively, other of the browser are arranged in the local file plug-in unit In plug-in unit.
CN201510496534.2A 2012-11-16 2012-11-16 The method and apparatus that a kind of pair of file is managed Expired - Fee Related CN105141678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510496534.2A CN105141678B (en) 2012-11-16 2012-11-16 The method and apparatus that a kind of pair of file is managed

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210464749.2A CN103023972B (en) 2012-11-16 2012-11-16 A kind of method and apparatus that file is managed
CN201510496534.2A CN105141678B (en) 2012-11-16 2012-11-16 The method and apparatus that a kind of pair of file is managed

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210464749.2A Division CN103023972B (en) 2012-11-16 2012-11-16 A kind of method and apparatus that file is managed

Publications (2)

Publication Number Publication Date
CN105141678A CN105141678A (en) 2015-12-09
CN105141678B true CN105141678B (en) 2019-03-08

Family

ID=47972098

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510496534.2A Expired - Fee Related CN105141678B (en) 2012-11-16 2012-11-16 The method and apparatus that a kind of pair of file is managed
CN201210464749.2A Active CN103023972B (en) 2012-11-16 2012-11-16 A kind of method and apparatus that file is managed

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201210464749.2A Active CN103023972B (en) 2012-11-16 2012-11-16 A kind of method and apparatus that file is managed

Country Status (1)

Country Link
CN (2) CN105141678B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141678B (en) * 2012-11-16 2019-03-08 北京奇虎科技有限公司 The method and apparatus that a kind of pair of file is managed
US10353979B2 (en) 2013-04-25 2019-07-16 Tencent Technology (Shenzhen) Company Limited Web-user navigating information recording method, apparatus and storage medium
CN104123292B (en) * 2013-04-25 2018-07-06 腾讯科技(深圳)有限公司 Information recording method, device, browser and electronic equipment
CN106339400B (en) * 2015-07-13 2019-09-17 阿里巴巴集团控股有限公司 The method, device and equipment of tree-like file is presented
CN108376089A (en) * 2018-01-26 2018-08-07 中国科学院上海高等研究院 Application support method, system, storage medium and electronic equipment based on browser
CN110442553B (en) * 2019-07-05 2021-02-26 深圳赛安特技术服务有限公司 File management method and device, computer equipment and storage medium
CN113132763A (en) * 2019-12-31 2021-07-16 西安诺瓦星云科技股份有限公司 Program updating method, device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431713B (en) * 2007-11-09 2010-07-14 中国移动通信集团公司 Resource access method and equipment
CN103023972B (en) * 2012-11-16 2015-11-25 北京奇虎科技有限公司 A kind of method and apparatus that file is managed

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070033155A1 (en) * 2005-08-02 2007-02-08 Landsman Richard A Client/server web application architectures for offline usage, data structures, and related methods
CN100481080C (en) * 2006-05-29 2009-04-22 陈鹰 Storage and update method of browsers local page
US8549099B2 (en) * 2007-07-12 2013-10-01 Viasat, Inc. Methods and systems for javascript parsing
CN101419602A (en) * 2007-10-24 2009-04-29 英业达股份有限公司 Edition interface generating method of office document based on web
JP5455582B2 (en) * 2009-11-27 2014-03-26 キヤノン株式会社 Information processing apparatus, control method therefor, and program
CN102200976B (en) * 2010-03-23 2014-11-05 日电(中国)有限公司 Customizing system and method for converting desktop application into network application
CN102087664A (en) * 2011-01-27 2011-06-08 深圳市五巨科技有限公司 Optimizing method of mobile terminal access network, system and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431713B (en) * 2007-11-09 2010-07-14 中国移动通信集团公司 Resource access method and equipment
CN103023972B (en) * 2012-11-16 2015-11-25 北京奇虎科技有限公司 A kind of method and apparatus that file is managed

Also Published As

Publication number Publication date
CN105141678A (en) 2015-12-09
CN103023972A (en) 2013-04-03
CN103023972B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105141678B (en) The method and apparatus that a kind of pair of file is managed
US20210042274A1 (en) Unified data object management system and the method
US8521732B2 (en) Presentation of an extracted artifact based on an indexing technique
CN103631875B (en) Method for carrying out network search on browser side and browser
KR101120301B1 (en) Persistent saving portal
US8533238B2 (en) Sharing information about a document across a private computer network
CN103744853B (en) The method and device of Research of Search Engine Website Snapshot System information is provided
CN102930057B (en) Search implementation method and device
US20060155728A1 (en) Browser application and search engine integration
CN102982174B (en) A kind of browser carries out method and the device of Webpage search
US8156448B2 (en) Site navigation and site navigation data source
US20170337168A1 (en) System and method for generating and monitoring feedback of a published webpage as implemented on a remote client
CN103034518B (en) The method and browser of loading browser control instrument
US20180239834A1 (en) Data transmission method and device
US20070288477A1 (en) Information processing apparatus, information processing system, information processing method, and computer program
US10289747B2 (en) Dynamic file concatenation
CN103955475B (en) A kind of display methods, device and the browser of web page tag information
US20120216124A1 (en) Bundling web browser session contexts
CN103024010B (en) document display apparatus and method
CN102999591B (en) File management method and device
US20130268832A1 (en) Method and system for creating digital bookmarks
CN104361007B (en) The processing method of browser and its collection
CN101611423B (en) Structural data is used for online investigation
CN103002033B (en) Data transmission method and device
US20140189478A1 (en) Web browsers for mobile and small screen devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190308