CN108460128A - Document management method and device, electronic device and readable storage medium storing program for executing - Google Patents

Document management method and device, electronic device and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108460128A
CN108460128A CN201810171009.7A CN201810171009A CN108460128A CN 108460128 A CN108460128 A CN 108460128A CN 201810171009 A CN201810171009 A CN 201810171009A CN 108460128 A CN108460128 A CN 108460128A
Authority
CN
China
Prior art keywords
document
application program
icon
module
destination
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.)
Granted
Application number
CN201810171009.7A
Other languages
Chinese (zh)
Other versions
CN108460128B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810171009.7A priority Critical patent/CN108460128B/en
Publication of CN108460128A publication Critical patent/CN108460128A/en
Application granted granted Critical
Publication of CN108460128B publication Critical patent/CN108460128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of document management method and device, electronic device and readable storage medium storing program for executing, method includes:Check the icon attribute of each document in document management module, it is empty destination document for the icon attribute checked, search and the matched application program of the destination document from Internet resources, and in displaying content of the destination document in document management module, add the icon of the application program.Compared with the existing technology, checking in document management template by way of the icon attribute of each document, it is empty destination document to icon attribute, in it shows content, the icon of addition and the matched application program of destination document, since destination document can be opened with the matched application program of destination document, allow to the icon for being directly viewable the application program that can open destination document, suitable application program can be quick and precisely found, user is not needed and manually selects application program, success rate is high.

Description

Document management method and device, electronic device and readable storage medium storing program for executing
Technical field
The present invention relates to technical field of document management more particularly to a kind of document management method and device, electronic device and Readable storage medium storing program for executing.
Background technology
In an electronic, user's various application programs (Application, APP) used in everyday have fixed number According to format, operating system identifies different documents by the distinctive file extension that application program is registered in system.When When user opens a document in electronic device, operating system will be which is utilized according to the determination of the file extension of the document Application program opens the document.
Currently, user, when opening document, it is possible that the case where document is not opened, in this case, operation is System can prompt user that an application program is selected to attempt to open from existing the application list, however, user's selection Mode can not quick and precisely find suitable application program, and success rate is low.
Invention content
A kind of document management method and device of offer of the embodiment of the present invention, electronic device and readable storage medium storing program for executing, can solve In the case where document is not opened, user selects the mode of application program that can not quick and precisely find suitable application program, at Power is low.
In order to achieve the above objectives, first aspect of the embodiment of the present invention provides a kind of document management method, and this method includes:
Check the icon attribute of each document in document management module;
It is empty destination document for the icon attribute checked, searches for from Internet resources and matched with the destination document Application program;
In displaying content of the destination document in the document management module, the figure of the application program is added Mark.
In order to achieve the above objectives, second aspect of the embodiment of the present invention provides a kind of document management apparatus, which includes:
Check module, the icon attribute for checking each document in document management module;
Search module is empty destination document for the icon attribute for checking, search and institute from Internet resources State the matched application program of destination document;
Add module is used in the displaying content in the destination document in the document management module, described in addition The icon of application program.
In order to achieve the above objectives, the third aspect of the embodiment of the present invention provides a kind of electronic device, memory, processor and deposits The computer program that can be run in the memory and on the processor is stored up, the processor executes the computer journey When sequence, each step in document management method as described in relation to the first aspect is realized.
In order to achieve the above objectives, fourth aspect of the embodiment of the present invention provides a kind of readable storage medium storing program for executing, is stored thereon with meter Calculation machine program when the computer program is executed by processor, is realized each in document management method as described in relation to the first aspect A step.
In embodiments of the present invention, the icon attribute for checking each document in document management module, for the figure checked The destination document that attribute is empty is marked, search and the matched application program of the destination document from Internet resources, and in target text In displaying content of the shelves in document management module, the icon of the application program is added.Compared with the existing technology, by checking text The mode of the icon attribute of each document in shelves administrative template, is empty destination document to icon attribute, in it shows content, The icon of addition and the matched application program of destination document, since target text can be opened with the matched application program of destination document Shelves so that the icon for the application program that can open destination document can be directly viewable, it is suitable quick and precisely to find Application program does not need user and manually selects application program, and success rate is high.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those skilled in the art without having to pay creative labor, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of structure diagram of electronic device;
Fig. 2 is a flow diagram of document management method in the embodiment of the present invention;
Fig. 3 is another flow diagram of document management method in the embodiment of the present invention;
Fig. 4 is the schematic diagram of document administration interface in the embodiment of the present invention;
Fig. 5 is a structural schematic diagram of document management apparatus in the embodiment of the present invention;
Fig. 6 is another structural schematic diagram of document management apparatus in the embodiment of the present invention.
Specific implementation mode
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality It is only a part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiments of the present invention, people in the art The every other embodiment that member is obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of structure diagram of electronic device.Video provided in an embodiment of the present invention based on multi-cam Method for recording can be applied in electronic device 10 as shown in Figure 1, electronic device 10 can be, but not limited to include:It is taken the photograph with multiple As head can carry out smart mobile phone, notebook, tablet computer and the wearable smart machine etc. of video record.
As shown in Figure 1, electronic device 10 includes memory 101, storage control 102, one or more (is only shown in figure One) processor 103, Peripheral Interface 104, radio-frequency module 105, key-press module 106, audio-frequency module 107, Touch Screen 108 with And multiple cameras 109.These components are mutually communicated by one or more communication bus/signal wire 110.
It is appreciated that structure shown in FIG. 1 is only to illustrate, the structure of electronic device is not caused to limit.Electronics fills It sets 10 and may also include than shown in Fig. 1 more either less components or with the configuration different from shown in Fig. 1.It is shown in FIG. 1 Hardware, software, or its combination realization may be used in each component.
Memory 101 can be used for storing software program and module, as in the embodiment of the present invention based on multi-cam Video recording method and the corresponding program instruction/module of device, processor 103 are stored in soft in memory 101 by operation Part program and module are realized and above-mentioned are implemented in electronic device 10 to perform various functions application and data processing The video recording method based on multi-cam.
Memory 101 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 101 can further comprise The memory remotely located relative to processor 103, these remote memories can pass through network connection to electronic device 10.On The example for stating network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 103 And other possible components can carry out the access of memory 101 under the control of storage control 102.
Peripheral Interface 104 couples various input/output devices to CPU and memory 101.The operation of processor 103 is deposited Various softwares, instruction in reservoir 101 are to execute the various functions of electronic device 10 and carry out data processing.
In some embodiments, Peripheral Interface 104, processor 103 and storage control 102 can be in one single chips It realizes.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 105 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with Communication network or other equipment are communicated.Radio-frequency module 105 may include the various existing electricity for executing these functions Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, Memory etc..Radio-frequency module 105 can be with the wireless network progress of various networks such as internet, intranet, preset type Communication is communicated by the wireless network of preset type with other equipment.The wireless network of above-mentioned preset type can wrap Include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).The wireless network of above-mentioned preset type can use various communications Standard, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE) is wide Band Code Division Multiple Access (Wideband Code Division Multiple Access, W-CDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), Bluetooth, adopting wireless fidelity technology (Wireless-Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over Internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, instant messaging and short message agreement and any other is suitable Communications protocol.
Key-press module 106 provides the interface that is inputted to electronic device of user, user can by press it is different by Key is so that electronic device 10 executes different functions.
Audio-frequency module 107 provides a user audio interface, may include that one or more microphones, one or more raises Sound device and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 104, and voice data is converted to power information, Power information is transmitted to loud speaker.Power information is converted to the sound wave that human ear can be heard by loud speaker.Voicefrequency circuit is also from microphone Place receives power information, converts electrical signals to voice data, and by data transmission in network telephony to Peripheral Interface 104 with into advancing one The processing of step.Audio data can obtain from memory 101 or by radio-frequency module 105.In addition, audio data can also It stores into memory 101 or is sent by radio-frequency module 105.In some instances, audio-frequency module 107 may also include One earphone broadcasts hole, for providing audio interface to earphone or other equipment.
Touch Screen 108 provides an output and input interface simultaneously between electronic device and user.Specifically, touch-control Screen 108 shows that video output, the content of these videos output may include word, figure, video and its arbitrary group to user It closes.Some outputs are the result is that correspond to some user interface objects.Touch Screen 108 also receives the input of user, such as user The gesture operations such as click, sliding, so that user interface object responds the input of these users.It detects input by user Technology can be based on resistance-type, condenser type or any other possible touch control detection technology.108 display unit of Touch Screen Specific example include but is not limited to liquid crystal display or light emitting polymer displays.
Multiple cameras 109 can be used for the shooting of static images or the recording of dynamic video document, be generally positioned at electricity The back side and front of sub-device 10 are provided with and are commonly referred to as front camera in 10 positive camera of electronic device, is set to The camera at 10 back side of electronic device is commonly referred to as rear camera.It is to be appreciated that in practical applications, with electronic device skill The development of art, multiple cameras can be not limited to be set to the front and the back side of electronic device, may also be disposed on electronic device Any other position, such as side.
Referring to Fig. 2, Fig. 2 is the flow diagram of document management method in the embodiment of the present invention, this method includes:
Step 201, the icon attribute for checking each document in document management module;
In embodiments of the present invention, above-mentioned document management method is applied to document management apparatus (hereinafter referred to as:Management dress Set), which is program module, can be stored in the readable storage medium storing program for executing of electronic device, the processing in electronic device Device can read and run the managing device in readable storage medium storing program for executing, to realize above-mentioned document management method.
Wherein, above-mentioned electronic device typically refers to mobile device, for example, smart mobile phone, PAD, wearable device etc..Electricity Document can be stored in sub-device, is typically stored in document management module, for managing electronics when the document management module Document in device.Wherein, which can be an application program.
Wherein, at the document management interface of document management module, each document will be shown by pre-set mode Show that content, displaying content include at least the title of document and the file extension of document, for example, displaying content can be " the First.bat ", wherein " the first " is the title of document, and " .bat " is the file extension of document.Further, it opens up Show in content to further include icon attribute item, the icon attribute of document can be sky, or non-empty, in the icon attribute of document For non-empty when, show that the application program for being mounted with that the document can be opened in electronic device, above-mentioned icon attribute are Type for showing the document, and be by way of icon shows, wherein icon attribute includes:Icon Color, size, Transparency, shade etc..For example, for a text document, in document management showing interface, it is successively:Document icon, Document title, file extension.When the icon attribute of document is empty, show that installation can not open in electronic device at this time The application program of the document, at this point, the type due to not knowing document, usually in document management interface can with "" replace text Shelves icon, i.e., when the icon attribute of document is empty, displaying content of the document at document management interface includes successively:, document name Claim, file extension.It is understood that when be based on icon attribute being empty, the application journey that can open the document is not installed Sequence this point finds the document for needing to be managed according to the embodiment of the present invention.
Wherein, file extension is a kind of mechanism for flagged documents type, and usually, a file extension is It follows subsequent in root name, is detached by separator.File extension is considered the metadata of a type.Often File extension has:Txt, doc, doxc, PDF, PPT etc..
Step 202 is empty destination document for the icon attribute checked, search and the target from Internet resources The application program of document matches;
Step 203, in displaying content of the destination document in the document management module, addition is described to apply journey The icon of sequence.
In embodiments of the present invention, managing device will check the icon attribute of each document in document management module.For Icon attribute is the document of non-empty, determines the application program installed and opened the document, will be not processed, be for icon attribute Empty document, then using the document as destination document, and search and the matched application program of the destination document from Internet resources, It is understood that referring to that can open the application program of the destination document with the matched application program of destination document.
Further, managing device will also obtain with the icon of the matched application program of the destination document, and be added to mesh It marks in displaying content of the document in document management module so that at document management interface, the destination document is in displaying, displaying Content includes successively:, document title, file extension, icon.Wherein, "" still indicate not installing and can open the target The application program of document, " icon " are then used to indicate the application program belonging to the icon can be used to open answering for the destination document With program at a glance so that user can find out the application program that do not install and can open the destination document, and be which applies journey Sequence can open the application program of the destination document.And it is further, if detecting to the clicking operation of " icon ", trigger The down operation of application program belonging to the icon, and installed after downloading installation kit, after application program installation, if Destination document is clicked, then mounted application program is called to open destination document automatically.
In embodiments of the present invention, managing device checks the icon attribute of each document in document management module, for inspection The icon attribute found is the destination document of sky, search and the matched application program of the destination document from Internet resources, and In displaying content of the destination document in document management module, the icon of the application program is added.Compared with the existing technology, lead to The mode for checking the icon attribute of each document in document management template is crossed, is empty destination document to icon attribute, in its exhibition Show in content, addition and the icon of the matched application program of destination document, due to can be with the matched application program of destination document Open destination document so that it can be directly viewable the icon for the application program that can open destination document, it can be quick and precisely Suitable application program is found, user is not needed and manually selects application program, success rate is high.
Referring to Fig. 3, for another flow diagram of document management method in the embodiment of the present invention, this method includes:
Step 301, the icon attribute for checking each document in document management module;
It is understood that step 301 is similar to the content that the step 201 in embodiment illustrated in fig. 2 describes, do not do herein It repeats.
Step 302 is empty destination document for the icon attribute checked, obtains the file extent of the destination document Name;
Step 303, in the file extent list of file names of pre-set non-enforceability document, search the destination document File extension;Continue to execute step 304 or step 305;
In embodiments of the present invention, it is empty destination document for the icon attribute checked, managing device will obtain should The file extension of destination document can specifically be obtained from the existing displaying content of the destination document.
Wherein, save non-enforceability document and enforceability document in the document management module of electronic device, it is non-can The document that feasibility document typically refers to the document of operating system calling or application program operation is called, is that can not beat It opens, for example, the document of the entitled bat of file extent.It includes specific content that enforceability document, which typically refers to inside documents, can By supporting what the application program of the file extension of the document was opened, for example, doc documents, PPT documents etc..It is appreciated that , it refers to effective content for showing document carrying " to open " in embodiments of the present invention.
Due to what can not be opened when non-enforceability document, need not also open, even if being scanned for from Internet resources, Also can not search can open the application program of such document, and therefore, in order to avoid wasting searching resource, managing device is being examined After finding the destination document that icon attribute is empty, by elder generation pre-set non-enforceability document file extent list of file names In, search the file extension of the destination document, wherein it includes existing non-executable document that this document, which extends in list of file names, All Files extension name.
If step 304, the file extension for finding the destination document, in the destination document in the document pipe It manages in the displaying content in module, adds attribute-bit, the attribute-bit is non-executable for identifying the destination document Property document;
If step 305, the file extension for not finding the destination document, searches for and support from the Internet resources The application program of the file extension, using the application program searched as with the matched application program of the destination document; Continue to execute step 306;
In embodiments of the present invention, if finding the file extension of destination document, show that the destination document is non-holds Row document, further, in order to avoid user click open the destination document and caused by system resource and user time Waste, managing device add attribute-bit, the attribute-bit by displaying content of the destination document in document management module It is non-enforceability document for identifying destination document.And it is further, if user clicks the attribute-bit, it will show the attribute Corresponding additional information is identified, such as:This document is unfeasibility document, can not open the application program of the document.
If not finding the file extension of destination document, managing device will be searched for from Internet resources can open this The application program of file extension, specifically, this document extension name is sent to server by managing device, server receives this After file extension, the type for the document for possessing this document extension name is determined, and search the application program for supporting the type.Example Such as, if the entitled doc of file extent, the application program that can open file extension searched is office office application journeys Sequence.If it is understood that not searching the application program that can open this document extension name, show this document extension name pair The document answered belongs to non-enforceability document, and the document extension name is added to the file extent list of file names of non-enforceability document In.
Step 306, the icon for obtaining the application program, the thumbnail of the icon is generated using the icon;
Step 307, in displaying content of the destination document in the document management module, add the icon Thumbnail.
In embodiments of the present invention, it is searching with after the matched application program of destination document, is obtaining the application program Icon, generate thumbnail using the icon, and in displaying content of the destination document in the document management module, add Add the thumbnail of the icon.
It is understood that managing device can check in a document management module respectively at interval of pre-set duration The icon attribute of document, and for the document of icon attribute non-empty, then it is without any processing, it is empty text for icon attribute Shelves, then handled according to the technical solution in the embodiment of the present invention.Alternatively, managing device is monitoring new document every time When preserving into document management module, each document newly preserved is checked.
In embodiments of the present invention, checking in document management template by way of the icon attribute of each document, to figure Mark the destination document that attribute is empty, in it shows content, the icon of addition and the matched application program of destination document, due to The matched application program of destination document can open destination document so that can be directly viewable can open answering for destination document With the icon of program, suitable application program can be quick and precisely found, user is not needed and manually selects application program, success rate It is high.And by determining whether destination document is non-enforceability document, the occupancy of system resource can be effectively reduced, and save The time of user.
In embodiments of the present invention, it is required in order to remind user to open document to show the thumbnail in content Application program.On the basis of Fig. 2 and Fig. 3, after the thumbnail of addition icon, it can also continue to execute following steps
Step A:In response to entering the instruction of document management module, according to the displaying of each document in the document management module Content shows each document in document management interface;
Step B:In response to the click commands to thumbnail, the corresponding application program of the thumbnail is downloaded.
In embodiments of the present invention, it if user wants to check document, can be generated by click or other modes The instruction of document management module, managing device will be responsive to the instruction for entering document management module, according to document management module In each document displaying content, each document is shown in document management interface, referring to Fig. 4, in the embodiment of the present invention, document The schematic diagram of administration interface, wherein document " configmanager.json " is non-enforceability document, before the document “" indicating that its icon attribute is sky, the subsequent circle for including X-shaped of document is attribute-bit, and mark the document is non-holds Row document will show the attribute-bit if user clicks the attribute-bit or by cursor placement on the attribute-bit Corresponding additional information, i.e. " this document is unfeasibility document, can not open the application program of the document ".It is appreciated that , schematic diagram when Fig. 4 is additional information triggering display.Wherein, document " popt1207.xmind " is enforceability text Grade, before the document "" indicate that its icon attribute is sky, in electronic device the application journey that can open the document is not installed Sequence, the subsequent label comprising " mind map " of the document are the thumbnail for the application program for opening the document, and can open The application program of the document is the application program of a entitled " mind map ".
Wherein, if user clicks thumbnail, click commands will be generated, managing device will be responsive to the sound to the thumbnail It should instruct, download the corresponding application program of the thumbnail.It is understood that managing device can first show prompt message, with It is confirmed whether to need to download the corresponding application program of thumbnail, if user, which confirms, downloads application program, using under the thumbnail The installation kit of corresponding application program is carried, and is installed.
In embodiments of the present invention, for not installing the application program that can open destination document it the case where, need not use Family selection is attempted to open destination document using which mounted application program, but will can open the destination document in advance The thumbnail of application program is added in displaying content, so that user can intuitively view the destination document needs which passes through A application program is opened.
Referring to Fig. 5, for the structural schematic diagram of document management apparatus in the embodiment of the present invention, which includes:
Check module 501, the icon attribute for checking each document in document management module;
Search module 502, for being empty destination document for the icon attribute that checks, from Internet resources search with The matched application program of destination document;
Add module 503 is used in the displaying content in the destination document in the document management module, adds institute State the icon of application program.
Wherein, at the document management interface of document management module, each document will be shown by pre-set mode Show that content, displaying content include at least the title of document and the file extension of document, for example, displaying content can be " the First.bat ", wherein " the first " is the title of document, and " .bat " is the file extension of document.Further, it opens up Show in content to further include icon attribute item, the icon attribute of document can be sky, or non-empty, in the icon attribute of document For non-empty when, show that the application program for being mounted with that the document can be opened in electronic device, above-mentioned icon attribute are Type for showing the document, and be by way of icon shows, wherein icon attribute includes:Icon Color, size, Transparency, shade etc..For example, for a text document, in document management showing interface, it is successively:Document icon, Document title, file extension.When the icon attribute of document is empty, show that installation can not open in electronic device at this time The application program of the document, at this point, the type due to not knowing document, usually in document management interface can with "" replace text Shelves icon, i.e., when the icon attribute of document is empty, displaying content of the document at document management interface includes successively:, document name Claim, file extension.It is understood that when be based on icon attribute being empty, the application journey that can open the document is not installed Sequence this point finds the document for needing to be managed according to the embodiment of the present invention.
Wherein, file extension is a kind of mechanism for flagged documents type, and usually, a file extension is It follows subsequent in root name, is detached by separator.File extension is considered the metadata of a type.Often File extension has:Txt, doc, doxc, PDF, PPT etc..
In embodiments of the present invention, check that module 501 will check the icon attribute of each document in document management module.It is right In the document that icon attribute is non-empty, determines the application program installed and opened the document, will be not processed, for icon attribute For empty document, then search module 502 is using the document as destination document, and search and the destination document from Internet resources The application program matched, it is to be understood that with the matched application program of destination document refer to that can open answering for the destination document Use program.
Further, add module 503 will obtain with the icon of the matched application program of the destination document, and be added to mesh It marks in displaying content of the document in document management module so that at document management interface, the destination document is in displaying, displaying Content includes successively:, document title, file extension, icon.Wherein, "" still indicate not installing and can open the target The application program of document, " icon " are then used to indicate the application program belonging to the icon can be used to open answering for the destination document With program at a glance so that user can find out the application program that do not install and can open the destination document, and be which applies journey Sequence can open the application program of the destination document.And it is further, if detecting to the clicking operation of " icon ", trigger The down operation of application program belonging to the icon, and installed after downloading installation kit, after application program installation, if Destination document is clicked, then mounted application program is called to open destination document automatically.
In embodiments of the present invention, managing device checks the icon attribute of each document in document management module, for inspection The icon attribute found is the destination document of sky, search and the matched application program of the destination document from Internet resources, and In displaying content of the destination document in document management module, the icon of the application program is added.Compared with the existing technology, lead to The mode for checking the icon attribute of each document in document management template is crossed, is empty destination document to icon attribute, in its exhibition Show in content, addition and the icon of the matched application program of destination document, due to can be with the matched application program of destination document Open destination document so that it can be directly viewable the icon for the application program that can open destination document, it can be quick and precisely Suitable application program is found, user is not needed and manually selects application program, success rate is high.
Referring to Fig. 6, for another structural schematic diagram of document management apparatus in the embodiment of the present invention, which includes:Such as Inspection module 501, search module 502 in embodiment illustrated in fig. 5 and add module 503, and with described in embodiment illustrated in fig. 5 Content it is similar, be not repeated herein.
In embodiments of the present invention, search module 502 includes:
Acquisition module 601, the file extension for obtaining the destination document;
Software search module 602, for searching for the application program for supporting the file extension from the Internet resources, Using the application program searched as with the matched application program of the destination document.
Further, search module 502 further includes:
Searching module 603, for after acquisition module 601, expanding in the file of pre-set non-enforceability document It opens up in list of file names, searches the file extension of the destination document;
Add module 604 is identified, if the file extension for finding the destination document, in the destination document In displaying content in the document management module, attribute-bit is added, the attribute-bit is for identifying the target text Shelves are non-enforceability document;
And if software search module 602 is specifically used for not finding the file extension of the destination document, from described The application program of the file extension is supported in search in Internet resources, using the application program searched as literary with the target The matched application program of shelves.
In embodiments of the present invention, add module 503 includes:
Generation module 605 is obtained, the icon for obtaining the application program generates the icon using the icon Thumbnail;
Thumbnail add module 606 is used in the displaying content in the destination document in the document management module, Add the thumbnail of the icon.
In embodiments of the present invention, it is empty destination document for the icon attribute checked, acquisition module 601 will obtain The file extension of the destination document can specifically be obtained from the existing displaying content of the destination document.
Wherein, save non-enforceability document and enforceability document in the document management module of electronic device, it is non-can The document that feasibility document typically refers to the document of operating system calling or application program operation is called, is that can not beat It opens, for example, the document of the entitled bat of file extent.It includes specific content that enforceability document, which typically refers to inside documents, can By supporting what the application program of the file extension of the document was opened, for example, doc documents, PPT documents etc..It is appreciated that , it refers to effective content for showing document carrying " to open " in embodiments of the present invention.
Due to what can not be opened when non-enforceability document, need not also open, even if being scanned for from Internet resources, Also can not search can open the application program of such document, therefore, in order to avoid wasting searching resource, check icon After attribute is empty destination document, searching module 603 by elder generation pre-set non-enforceability document file extension In list, the file extension of the destination document is searched, wherein it includes existing non-executable text that this document, which extends in list of file names, The All Files extension name of shelves.
In embodiments of the present invention, if finding the file extension of destination document, show that the destination document is non-holds Row document, further, in order to avoid user click open the destination document and caused by system resource and user time Waste, mark add module 604 add attribute-bit by displaying content of the destination document in document management module, should Attribute-bit is non-enforceability document for identifying destination document.And it is further, if user clicks the attribute-bit, by exhibition Show the corresponding additional information of the attribute-bit, such as:This document is unfeasibility document, can not open the application of the document Program.
If not finding the file extension of destination document, software search module 602 will search for energy from Internet resources The application program for enough opening this document extension name, specifically, this document extension name is sent to service by software search module 602 Device after server receives this document extension name, determines the type for the document for possessing this document extension name, and searching support should The application program of type.If for example, the entitled doc of file extent, what is searched can open the application program of file extension For office office application programs.If it is understood that do not search the application program that can open this document extension name, Show that the corresponding document of this document extension name belongs to non-enforceability document, the document extension name is added to non-enforceability text In the file extent list of file names of shelves.
In embodiments of the present invention, it is searching with after the matched application program of destination document, is obtaining generation module 605 The icon for obtaining the application program generates thumbnail using the icon, and thumbnail add module 606 is in the destination document described In displaying content in document management module, the thumbnail of the icon is added.
It is understood that managing device can check in a document management module respectively at interval of pre-set duration The icon attribute of document, and for the document of icon attribute non-empty, then it is without any processing, it is empty text for icon attribute Shelves, then handled according to the technical solution in the embodiment of the present invention.Alternatively, managing device is monitoring new document every time When preserving into document management module, each document newly preserved is checked.
In embodiments of the present invention, checking in document management template by way of the icon attribute of each document, to figure Mark the destination document that attribute is empty, in it shows content, the icon of addition and the matched application program of destination document, due to The matched application program of destination document can open destination document so that can be directly viewable can open answering for destination document With the icon of program, suitable application program can be quick and precisely found, user is not needed and manually selects application program, success rate It is high.And by determining whether destination document is non-enforceability document, the occupancy of system resource can be effectively reduced, and save The time of user.
In embodiments of the present invention, it is required in order to remind user to open document to show the thumbnail in content Application program, on the basis of Fig. 5 and Fig. 6, device further includes:
Display module, for the instruction in response to entering document management module, according to each text in the document management module The displaying content of shelves, shows each document in document management interface;
Download module, in response to the click commands to thumbnail, downloading the corresponding application program of the thumbnail.
In embodiments of the present invention, it if user wants to check document, can be generated by click or other modes The instruction of document management module, display module will be responsive to the instruction for entering document management module, according to document management module In each document displaying content, each document is shown in document management interface, referring to Fig. 4, in the embodiment of the present invention, document The schematic diagram of administration interface, wherein document " configmanager.json " is non-enforceability document, before the document “" indicating that its icon attribute is sky, the subsequent circle for including X-shaped of document is attribute-bit, and mark the document is non-holds Row document will show the attribute-bit if user clicks the attribute-bit or by cursor placement on the attribute-bit Corresponding additional information, i.e. " this document is unfeasibility document, can not open the application program of the document ".It is appreciated that , schematic diagram when Fig. 4 is additional information triggering display.Wherein, document " popt1207.xmind " is enforceability text Grade, before the document "" indicate that its icon attribute is sky, in electronic device the application journey that can open the document is not installed Sequence, the subsequent label comprising " mind map " of the document are the thumbnail for the application program for opening the document, and can open The application program of the document is the application program of a entitled " mind map ".
Wherein, if user clicks thumbnail, click commands will be generated, download module will be responsive to the sound to the thumbnail It should instruct, download the corresponding application program of the thumbnail.It is understood that managing device can first show prompt message, with It is confirmed whether to need to download the corresponding application program of thumbnail, if user, which confirms, downloads application program, using under the thumbnail The installation kit of corresponding application program is carried, and is installed.
In embodiments of the present invention, for not installing the application program that can open destination document it the case where, need not use Family selection is attempted to open destination document using which mounted application program, but will can open the destination document in advance The thumbnail of application program is added in displaying content, so that user can intuitively view the destination document needs which passes through A application program is opened.
The embodiment of the present invention also provides a kind of electronic device, including memory, processor and is stored in the memory And the computer program that can be run on the processor, when the processor executes the computer program, realize such as Fig. 2 or Each step in document management method described in embodiment illustrated in fig. 3.
The embodiment of the present invention also provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, computer program quilt When processor executes, each step in the document management method in embodiment as shown in Figure 2 or Figure 3 is realized.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or module Letter connection can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separated, aobvious as module The component shown may or may not be physical module, you can be located at a place, or may be distributed over multiple On network module.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing module, it can also That modules physically exist alone, can also two or more modules be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It should be noted that for each method embodiment above-mentioned, describe, therefore it is all expressed as a series of for simplicity Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is to a kind of document management method and device provided by the present invention, electronic device and readable storage medium storing program for executing above Description, for those skilled in the art, the thought of embodiment according to the present invention, in specific embodiments and applications It will change, to sum up, the content of the present specification should not be construed as limiting the invention.

Claims (12)

1. a kind of document management method, which is characterized in that the method includes:
Check the icon attribute of each document in document management module;
Be empty destination document for the icon attribute that checks, from Internet resources search with the destination document is matched answers Use program;
In displaying content of the destination document in the document management module, the icon of the application program is added.
2. according to the method described in claim 1, it is characterized in that, the search from Internet resources and the destination document The icon for the application program matched, including:
Obtain the file extension of the destination document;
The application program of the file extension is supported in search from the Internet resources, using the application program searched as with The matched application program of destination document.
3. according to the method described in claim 2, it is characterized in that, the file extension for obtaining the destination document, it After further include:
In the file extent list of file names of pre-set non-enforceability document, the file extent of the destination document is searched Name;
If finding the file extension of the destination document, in exhibition of the destination document in the document management module Show in content, add attribute-bit, the attribute-bit is non-enforceability document for identifying the destination document;
If not finding the file extension of the destination document, continue to execute from the Internet resources described in search support The application program of file extension, using the application program searched as the step with the matched application program of the destination document Suddenly.
4. according to the method described in claims 1 to 3 any one, which is characterized in that it is described in the destination document described In displaying content in document management module, the icon of the application program is added, including:
The icon for obtaining the application program generates the thumbnail of the icon using the icon;
In displaying content of the destination document in the document management module, the thumbnail of the icon is added.
5. according to the method described in claim 4, it is characterized in that, the thumbnail of the addition icon, further includes later:
In response to entering the instruction of document management module, according to the displaying content of each document in the document management module, in text Displaying each document in shelves administration interface;
In response to the click commands to thumbnail, the corresponding application program of the thumbnail is downloaded.
6. a kind of document management apparatus, which is characterized in that described device includes:
Check module, the icon attribute for checking each document in document management module;
Search module, for for the destination document that the icon attribute checked is sky, being searched for and the mesh from Internet resources Mark the application program of document matches;
Add module is used in the displaying content in the destination document in the document management module, adds the application The icon of program.
7. device according to claim 6, which is characterized in that described search module includes:
Acquisition module, the file extension for obtaining the destination document;
Software search module will be searched for for the application program of the search support file extension from the Internet resources The application program arrived as with the matched application program of the destination document.
8. device according to claim 7, which is characterized in that described search module further includes:
Searching module is used for after acquisition module, in the file extent list of file names of pre-set non-enforceability document, Search the file extension of the destination document;
Add module is identified, if the file extension for finding the destination document, in the destination document described In displaying content in document management module, attribute-bit is added, the attribute-bit is non-for identifying the destination document Enforceability document;
If the software search module is specifically used for not finding the file extension of the destination document, provided from the network The application program of the file extension is supported in search in source, is matched using the application program searched as with the destination document Application program.
9. according to the device described in claim 6 to 8 any one, which is characterized in that the add module includes:
Generation module is obtained, the icon for obtaining the application program generates the thumbnail of the icon using the icon;
Thumbnail add module is used in the displaying content in the destination document in the document management module, adds institute State the thumbnail of icon.
10. device according to claim 9, which is characterized in that described device further includes:
Display module, for the instruction in response to entering document management module, according to each document in the document management module It shows content, each document is shown in document management interface;
Download module, in response to the click commands to thumbnail, downloading the corresponding application program of the thumbnail.
11. a kind of electronic device, including memory, processor and it is stored in the memory and can transports on the processor Capable computer program, which is characterized in that when the processor executes the computer program, realize such as claim 1 to 5 times Each step in document management method described in meaning one.
12. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the computer program is handled When device executes, each step in the document management method as described in claim 1 to 5 any one is realized.
CN201810171009.7A 2018-03-01 2018-03-01 Document management method and device, electronic device and readable storage medium Active CN108460128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810171009.7A CN108460128B (en) 2018-03-01 2018-03-01 Document management method and device, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810171009.7A CN108460128B (en) 2018-03-01 2018-03-01 Document management method and device, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN108460128A true CN108460128A (en) 2018-08-28
CN108460128B CN108460128B (en) 2020-11-20

Family

ID=63217008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810171009.7A Active CN108460128B (en) 2018-03-01 2018-03-01 Document management method and device, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN108460128B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408465A (en) * 2018-10-29 2019-03-01 Oppo广东移动通信有限公司 The recording method of file attaching information, device, storage medium and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125610A1 (en) * 2008-11-18 2010-05-20 At&T Intellectual Property I, L.P. Multimedia file drop in a wireless device
JP2011096079A (en) * 2009-10-30 2011-05-12 Nomura Research Institute Ltd File open system
CN102799468A (en) * 2011-05-27 2012-11-28 腾讯科技(深圳)有限公司 Method and device for opening unknown file
CN103106094A (en) * 2013-03-06 2013-05-15 广东欧珀移动通信有限公司 File opening method and intelligent mobile terminal
CN106095456A (en) * 2016-06-17 2016-11-09 北京奇虎科技有限公司 User is guided to download the method for application program, device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125610A1 (en) * 2008-11-18 2010-05-20 At&T Intellectual Property I, L.P. Multimedia file drop in a wireless device
JP2011096079A (en) * 2009-10-30 2011-05-12 Nomura Research Institute Ltd File open system
CN102799468A (en) * 2011-05-27 2012-11-28 腾讯科技(深圳)有限公司 Method and device for opening unknown file
CN103106094A (en) * 2013-03-06 2013-05-15 广东欧珀移动通信有限公司 File opening method and intelligent mobile terminal
CN106095456A (en) * 2016-06-17 2016-11-09 北京奇虎科技有限公司 User is guided to download the method for application program, device and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408465A (en) * 2018-10-29 2019-03-01 Oppo广东移动通信有限公司 The recording method of file attaching information, device, storage medium and terminal

Also Published As

Publication number Publication date
CN108460128B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN106873854B (en) Terminal and interface interaction control method, and contact object creation method and device
CN104243517B (en) Content share method and device between different terminals
CN104462128B (en) The method, apparatus and terminal device of multimedia file processing
CN109656980A (en) Data processing method, electronic equipment, device and readable storage medium storing program for executing
US20150213127A1 (en) Method for providing search result and electronic device using the same
CN110035004B (en) User name card sharing method, friend adding method and related device
CN109154946A (en) A kind of method and terminal of display collection object
CN105262878B (en) The processing method and mobile terminal of call automatic recording
CN104898914A (en) Multi-page display method and device
CN104239317A (en) Method and device for compiling pictures in browser
WO2022078295A1 (en) Device recommendation method and electronic device
CN106033337A (en) Instant-messaging emoticon generating method and device
CN106254791A (en) The startup method of photographic head and mobile terminal
CN106126377B (en) The method and device of system starting
CN106201748A (en) Method, device and the mobile terminal of a kind of Message Processing based on mobile terminal
CN107608720A (en) Using the display methods of footmark, device, mobile terminal and storage medium
CN108924647A (en) Video editing method, video editing apparatus, terminal
CN106294707A (en) A kind of countdown information output intent and device
WO2015101330A1 (en) Method and apparatus for opening data processing page
CN105933492A (en) Phone number obtaining method and device
CN107678822B (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN105095161B (en) Method and device for displaying rich text information
CN105897567B (en) A kind of method and device of information sharing
CN104426685A (en) Information management method and apparatus
CN108803972A (en) Method for information display, device, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant