CN104809753A - File treatment method - Google Patents
File treatment method Download PDFInfo
- Publication number
- CN104809753A CN104809753A CN201510157786.2A CN201510157786A CN104809753A CN 104809753 A CN104809753 A CN 104809753A CN 201510157786 A CN201510157786 A CN 201510157786A CN 104809753 A CN104809753 A CN 104809753A
- Authority
- CN
- China
- Prior art keywords
- file
- content
- picture
- terminal
- 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.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention relates to the technical field of communication, and provides a file treatment method. The method comprises the steps of acquiring a file receiving instruction through a terminal; responding to the file receiving instruction to receive a file; converting the file content of the file into at least one image file; then storing the at least one picture file according to the preset storage rules. With the adoption of the method, a user can quickly obtain the file content in the received file as requirement; the operation is simple; the user experience of the user is increased.
Description
Technical field
The present invention relates to communication technical field, be specifically related to a kind of document handling method.
Background technology
Current, intelligent terminal (as mobile phone, PAD etc.) is no longer simple communication and converter tools for user, in most cases, intelligent terminal also plays the role of office's outreach tool in the daily life of user and work, as user can pass through intelligent terminal for reception file (as word file, pdf document etc.), viewing files even shares file etc.And intelligent terminal usually receives file by third-party application and is stored in the file corresponding with third-party application by the file received, when user needs partial file content (some page as this file) using this file, after finding this file, user need browse whole file, and this makes user cannot get the file content needing use fast.
Summary of the invention
Embodiments provide a kind of document handling method, user can be made to get fast in the file received needs the file content of use.
Embodiments provide a kind of document handling method, comprising:
Obtain file reception instruction;
Respond described file reception command reception file;
Convert the file content of described file at least one picture file;
At least one picture file described is stored according to default storage rule.
In the embodiment of the present invention, first terminal obtains file reception instruction, and respond this file reception command reception file, then convert the file content of this file at least one picture file, finally store at least one picture file above-mentioned according to default storage rule.Visible, the file transform received can be become at least one picture file by the embodiment of the present invention, when user needs to use partial file content, user can browse multiple picture file simultaneously, user can be made to get the file content needing use fast, simple to operate, and improve the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of document handling method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of document handling method that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of another terminal that the embodiment of the present invention provides;
Fig. 6 is the structural representation of another terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of another terminal that the embodiment of the present invention provides;
Fig. 8 is the structural representation of another terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of document handling method, user can be made to obtain fast in the file finding and receive needs the file content of use, simple to operate, and improves the experience of user.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of document handling method that the embodiment of the present invention provides.Wherein, method shown in Fig. 1 can be applied in the terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palm PC and mobile internet device (Mobile Internet Devices, MID), PAD.As shown in Figure 1, this document handling method can comprise the following steps:
S101, the instruction of acquisition file reception.
In the embodiment of the present invention, this file reception instruction can be the handle icon that exports of user's touch terminal and the instruction that generates, also can be the instruction that user presses physical button in terminal or user and inputs certain gestures and generate, can also be the instruction that terminal generates automatically when the file existing and need to receive being detected, the embodiment of the present invention limit.
S102, responds above-mentioned file reception command reception file.
In the embodiment of the present invention, terminal can receive file by third party's instant messaging application of installing in terminal.
S103, convert the file content of above-mentioned file at least one picture file.
In the embodiment of the present invention, at least one in the transformation rule that the quantity of the picture file that the file content receiving file converts to by terminal can be preset according to self-demand by the quantity of the index of the number of pages of this file, this file and user determines, the embodiment of the present invention does not limit, and different picture files has different marks, facilitate user's select target picture file like this.
S104, store at least one picture file above-mentioned according to default storage rule.
In the embodiment of the present invention, above-mentioned file transform is become at least one picture file and stores by terminal, and this can make user be obtained the file content of above-mentioned file by least one picture file stored when terminal does not install the document reader for opening above-mentioned file.For example, the chat tool supposing in terminal receive pdf document that other users send and terminal does not install the PDF reader for opening this pdf document time, at least one picture file that this pdf document can be converted to by terminal by user obtains the file content of this pdf document, without the need to making user install PDF reader in terminal, improve the experience of user.
As the optional embodiment of one, terminal converts the file content of above-mentioned file at least one picture file and can comprise:
According to the division rule pre-set, the file content of above-mentioned file is divided at least one son file content;
Respectively each son file Content Transformation of at least one son file content above-mentioned is become picture file, to obtain at least one picture file.
As the optional embodiment of one, the concrete mode that the file content of above-mentioned file to be divided at least one son file content according to the division rule pre-set by terminal can be:
Obtain the file content of every one page of above-mentioned file, and the file content of every one page is defined as a sub-file content, to obtain at least one son file content.
In the embodiment of the present invention, after the file content of every one page being defined as a sub-file content, each son file Content Transformation is become picture file by terminal again, each picture file has unique mark, and the mark of each picture file can be the page number of the file content that this picture file is corresponding, the mark etc. that also can generate according to the mark create-rule preset for terminal, the embodiment of the present invention does not limit.
In the embodiment of the present invention, for example, suppose that the file that terminal receives is pdf document, and one has 20 pages, then first terminal obtains every one page of this pdf document, and every one page is converted to picture file (picture file as jpg form), namely terminal the most at last this pdf document of 20 pages be converted to 20 picture files, and the mark of these 20 picture files is respectively: 1.jpg, 2.jpg,, 20.jpg.
As the optional embodiment of another kind, the concrete mode that the file content of above-mentioned file to be divided at least one son file content according to the division rule pre-set by terminal can also be:
Obtain the index of above-mentioned file, and file content corresponding for each index is defined as a sub-file content, to obtain at least one son file content.
In the embodiment of the present invention, when the file that terminal receives has index, first terminal can obtain all indexes of this file, and file content corresponding for each index is defined as a sub-file content, then each son file Content Transformation is become picture file, each picture file has unique mark, and the mark of each picture file can be the index mark of the file content that this picture file is corresponding, the mark etc. that also can generate according to the mark create-rule preset for terminal, the embodiment of the present invention does not limit.
As the optional embodiment of one, terminal stores at least one picture file above-mentioned according to default storage rule and can comprise:
Obtain the file identification of above-mentioned file;
The file being folder identifier with above-mentioned file identification is set up in the memory location pre-set;
At least one picture file above-mentioned is stored in above-mentioned file.
In the embodiment of the present invention, memory location can be the memory location (as picture library etc.) of terminal acquiescence, also can be the memory location that user is arranged according to self-demand, as the main screen etc. of terminal, the embodiment of the present invention does not limit, can user friendlyly search like this, and set up in the memory location pre-set the file being folder identifier with the file identification of above-mentioned file, when terminal receives multiple file continuously, the file that fast finding in numerous files of user in the memory location pre-set can be facilitated like this to need to user and in file browsing pictures file, this mode can make user find fast needs the file browsed, facilitate the operation of user, improve the experience of user.
As the optional embodiment of one, after the step S104 that is finished, terminal can also perform following operation:
From at least one picture file above-mentioned, obtain Target Photo file, and this Target Photo file is sent to terminal corresponding to other users.
In the embodiment of the present invention, most of third party's instant messaging application of installing in terminal directly can send picture, when user needs to send the partial file content of above-mentioned file to other users, user directly can determine the file at above-mentioned file place according to the file identification of above-mentioned file from above-mentioned memory location and the file content sent as required selects corresponding Target Photo file from above-mentioned file, when get Target Photo file that user selects from least one picture file above-mentioned and user's input for the transmission instruction of Target Photo file after, terminal is sent to terminal corresponding to other users by the third party's instant messaging application in terminal.
The enforcement embodiment of the present invention can not only make user get fast in the file received needs the file content used also to share file content by the mode sending picture file with other users, but also at least one picture file that user can be made when terminal does not install the document reader for the file received to pass through to store obtains the file content of file, without the need to making user, corresponding document reader is installed in the terminal, simple to operate, and improve the experience of user.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the another kind of document handling method that the embodiment of the present invention provides.Wherein, method shown in Fig. 2 can be applied in the terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palm PC and mobile internet device (Mobile Internet Devices, MID), PAD.As shown in Figure 2, this document handling method can comprise the following steps:
S201, the instruction of acquisition file reception.
In the embodiment of the present invention, this file reception instruction can be the handle icon that exports of user's touch terminal and the instruction that generates, also can be the instruction that user presses physical button in terminal or user and inputs certain gestures and generate, can also be the instruction that terminal generates automatically when the file existing and need to receive being detected, the embodiment of the present invention limit.
S202, responds above-mentioned file reception command reception file.
In the embodiment of the present invention, terminal can receive file by third party's instant messaging application of installing in terminal.
S203, export the first information.
In the embodiment of the present invention, whether this first information carries out format conversion to the file that terminal receives for pointing out user, namely the file content for pointing out user whether terminal to be received file converts at least one picture file to, and this first information can be the information of voice prompt that terminal exports, as " whether carrying out format conversion to file ", also can be the prompting frame that terminal exports, and this prompting frame can comprise prompting text, as " whether carrying out format conversion to file ", and the handle icon for making user input the operational order for prompting text, as handle icon " being (YES) " and handle icon " no (NO) ", the embodiment of the present invention does not limit.
The response message that S204, reception user input for above-mentioned first information.
In the embodiment of the present invention, this response message is used to indicate terminal and whether converts the file content of above-mentioned file at least one picture file.For example, when above-mentioned first information is information of voice prompt and the response message of user's input is voice-response information "Yes", terminal can assert that this response message is used to indicate terminal and the file content of above-mentioned file is changed at least one picture file, and terminal performs step S205; When the response message of user's input is voice-response information "No", terminal can assert that this response message is used to indicate terminal and the file content of above-mentioned file is not changed at least one picture file, and terminal can terminate this flow process.
S205, when above-mentioned response message indicating terminal converts the file content of above-mentioned file at least one picture file, authentication is carried out to user.
In the embodiment of the present invention, when above-mentioned response message indicating terminal converts the file content of above-mentioned file at least one picture file, terminal carries out authentication to user, and terminal to the concrete mode that user carries out authentication can be:
Export checking interface, this checking interface is used for user's input validation is identified, and this checking interface can be password authentification interface, pattern checking interface or fingerprint authentication interface etc., and the embodiment of the present invention does not limit;
Receive the checking mark of user's input, and judge whether the checking mark that user inputs identifies identical with the checking prestored in terminal, if identical, then subscriber authentication is passed through, and terminal performs step S206, if different, then subscriber authentication is not passed through, and terminal can terminate this flow process, also can export to user and be used to indicate the unsanctioned indication information of subscriber authentication, and again export checking interface.
For example, suppose that the checking interface that terminal exports is fingerprint authentication interface, and user needs the multiple fingerprint of input (fingerprint string) continuously in preset time period, when terminal judges goes out to get the fingerprint string of user's input in preset time period and this fingerprint string is identical with the fingerprint string prestored in terminal, terminal can assert that subscriber authentication is passed through.
S206, when subscriber authentication by time, convert the file content of this file at least one picture file.
In the embodiment of the present invention, at least one in the transformation rule that the quantity of the picture file that the file content receiving file converts to by terminal can be preset according to self-demand by the quantity of the index of the number of pages of this file, this file and user determines, the embodiment of the present invention does not limit, and different picture files has different marks, facilitate user's select target picture file like this.
S207, store at least one picture file above-mentioned according to default storage rule.
In the embodiment of the present invention, above-mentioned file transform is become at least one picture file and stores by terminal, and this can make user be obtained the file content of above-mentioned file by least one picture file stored when terminal does not install the document reader for opening above-mentioned file.
As the optional embodiment of one, terminal converts the file content of above-mentioned file at least one picture file and can comprise:
According to the division rule pre-set, the file content of above-mentioned file is divided at least one son file content;
Respectively each son file Content Transformation of at least one son file content above-mentioned is become picture file, to obtain at least one picture file.
As the optional embodiment of one, the concrete mode that the file content of above-mentioned file to be divided at least one son file content according to the division rule pre-set by terminal can be:
Obtain the file content of every one page of above-mentioned file, and the file content of every one page is defined as a sub-file content, to obtain at least one son file content.
In the embodiment of the present invention, after the file content of every one page being defined as a sub-file content, each son file Content Transformation is become picture file by terminal again, each picture file has unique mark, and the mark of each picture file can be the page number of the file content that this picture file is corresponding, the mark etc. that also can generate according to the mark create-rule preset for terminal, the embodiment of the present invention does not limit.
As the optional embodiment of another kind, the concrete mode that the file content of above-mentioned file to be divided at least one son file content according to the division rule pre-set by terminal can also be:
Obtain the index of above-mentioned file, and file content corresponding for each index is defined as a sub-file content, to obtain at least one son file content.
In the embodiment of the present invention, when the file that terminal receives has index, first terminal can obtain all indexes of this file, and file content corresponding for each index is defined as a sub-file content, then each son file Content Transformation is become picture file, each picture file has unique mark, and the mark of each picture file can be the index mark of the file content that this picture file is corresponding, the mark etc. that also can generate according to the mark create-rule preset for terminal, the embodiment of the present invention does not limit.
As the optional embodiment of one, terminal stores at least one picture file above-mentioned according to default storage rule and can comprise:
Obtain the file identification of above-mentioned file;
The file being folder identifier with above-mentioned file identification is set up in the memory location pre-set;
At least one picture file above-mentioned is stored in above-mentioned file.
In the embodiment of the present invention, memory location can be the memory location (as picture library etc.) of terminal acquiescence, also can be the memory location that user is arranged according to self-demand, as the main screen etc. of terminal, the embodiment of the present invention does not limit, can user friendlyly search like this, and set up in the memory location pre-set the file being folder identifier with the file identification of above-mentioned file, when terminal receives multiple file continuously, the file that fast finding in numerous files of user in the memory location pre-set can be facilitated like this to need to user and in file browsing pictures file, this mode can make user find fast needs the file browsed, facilitate the operation of user, improve the experience of user.
S208, from least one picture file above-mentioned, obtain Target Photo file, and this Target Photo file is sent to terminal corresponding to other users.
In the embodiment of the present invention, most of third party's instant messaging application of installing in terminal directly can send picture, when user needs to send the partial file content of above-mentioned file to other users, user directly can determine the file at above-mentioned file place according to the file identification of above-mentioned file from above-mentioned memory location and the file content sent as required selects corresponding Target Photo file from above-mentioned file, when get Target Photo file that user selects from least one picture file above-mentioned and user's input for the transmission instruction of Target Photo file after, terminal is sent to terminal corresponding to other users by the third party's instant messaging application in terminal.
In an optional embodiment, after terminal performs step S207, before terminal performs step S208, terminal can also perform following operation:
Export the second information, wherein, this second information is complete for pointing out the file content of the above-mentioned file of user to change.
In the embodiment of the present invention, when terminal converts the file content of above-mentioned file to picture file and is stored to by picture file in the file established, terminal notifying user, to facilitate user to carry out associative operation to picture file, improves the experience of user.
In an optional embodiment, after terminal performs step S208, terminal can also perform following operation:
Delete above-mentioned file.
The embodiment of the present invention, after Target Photo file user selected when terminal is sent to terminal corresponding to other users, terminal can delete above-mentioned file automatically, to save the storage space in terminal.
In an optional embodiment, before the above-mentioned file of deletion, terminal can also perform following operation:
Obtain user for the last time to the running time that any picture file in above-mentioned file or above-mentioned file operates;
Judging whether the time interval of current time and aforesaid operations time is more than or equal to prefixed time interval threshold value, when judged result is for being, performing the operation of deleting above-mentioned file.
In the embodiment of the present invention, user can include but not limited to replicate run, paste operation, shearing manipulation, mobile operation or transmit operation etc. to the operation that any picture file in above-mentioned file or above-mentioned file carries out, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, when any picture file operates in above-mentioned file or above-mentioned file, terminal records the running time, and obtain the running time of the last time of terminal record, then judge whether current time and the time interval of last running time of terminal are greater than prefixed time interval threshold value, if, namely terminal assert that user no longer needs above-mentioned file and carries out deletion action to above-mentioned file, no longer need to carry out deletion action to above-mentioned file when above-mentioned file when identification user like this, namely the storage space in terminal is saved, turn improve the experience of user.
In an optional embodiment, terminal can also perform following operation:
The file receiving user's input recovers instruction, responds this file and recovers instruction, recover deleted file.
In the embodiment of the present invention, after file is deleted, if user needs to operate file again, user can to the file recovery instruction of terminal input for deleted file folder, instruction is recovered to make this file of terminal response, recovery deleted file presss from both sides, and further increases the experience of user.
In the embodiment of the present invention, before the file content receiving file in end-on carries out format conversion, first terminal points out user whether to carry out format conversion to the file content receiving file, determine whether carry out format conversion to make user according to self-demand, improve the experience of user, and when user's indicating terminal carries out format conversion to file content, terminal carries out authentication to user, and when subscriber authentication is passed through, terminal just converts the file content receiving file at least one picture file, improve the security that terminal carries out file processing, the enforcement embodiment of the present invention can not only make user get fast in the file received needs the file content used also to share file content by the mode sending picture file with other users, but also at least one picture file that user can be made when terminal does not install the document reader for the file received to pass through to store obtains the file content of file, simple to operate, further increase the experience of user.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of terminal that the embodiment of the present invention provides.As shown in Figure 3, this terminal can comprise the first acquiring unit 301, first input block 302, first converting unit 303 and the first storage unit 304, wherein:
First acquiring unit 301 is for obtaining file reception instruction.
In the embodiment of the present invention, this file reception instruction can be the handle icon that exports of user's touch terminal and the instruction that generates, also can be the instruction that user presses physical button in terminal or user and inputs certain gestures and generate, can also be the instruction that terminal generates automatically when the file existing and need to receive being detected, the embodiment of the present invention limit.
First input block 302 is for responding above-mentioned file reception command reception file.
In the embodiment of the present invention, the first input block 302 can receive file by third party's instant messaging application of installing in terminal.
First converting unit 303 is for converting the file content of above-mentioned file at least one picture file.
In the embodiment of the present invention, at least one in the transformation rule that the quantity of the picture file that the file content receiving file converts to by the first converting unit 303 can be preset according to self-demand by the quantity of the index of the number of pages of this file, this file and user determines, the embodiment of the present invention does not limit, and different picture files has different marks, facilitate user's select target picture file like this.
First storage unit 304 is for storing at least one picture file above-mentioned according to default storage rule.
In the embodiment of the present invention, above-mentioned file transform is become at least one picture file to first converting unit 303 and the first storage unit 304 stores at least one picture file above-mentioned, and this can make user be obtained the file content of above-mentioned file by least one picture file stored when terminal does not install the document reader for opening above-mentioned file.
Optionally, as shown in Figure 4, first storage unit 304 can comprise second acquisition unit 3041, set up unit 3042 and the second storage unit 3043, first converting unit 303 can comprise division unit 3031 and the second converting unit 3032, Fig. 4 is the structural representation of the another kind of terminal that the embodiment of the present invention provides, wherein:
Division unit 3031 is for being divided at least one son file content according to the division rule pre-set by the file content of above-mentioned file.
Second converting unit 3032 is for becoming picture file, to obtain at least one picture file by each son file Content Transformation of at least one son file content above-mentioned respectively.
Second acquisition unit 3041 is for obtaining the file identification of above-mentioned file.
Set up unit 3042 for setting up in the memory location pre-set the file being folder identifier with above-mentioned file identification.
Second storage unit 3043 is for being stored at least one picture file above-mentioned in above-mentioned file.
Optionally, the concrete mode that the file content of above-mentioned file to be divided at least one son file content according to the division rule pre-set by division unit 3031 can be:
Obtain the file content of every one page of above-mentioned file, and the file content of every one page is defined as a sub-file content, to obtain at least one son file content; Or
Obtain the index of above-mentioned file, and file content corresponding for each index is defined as a sub-file content, to obtain at least one son file content.
In the embodiment of the present invention, memory location can be the memory location (as picture library etc.) of terminal acquiescence, also can be the memory location that user is arranged according to self-demand, as the main screen etc. of terminal, the embodiment of the present invention does not limit, can user friendlyly search like this, and when user is follow-up need the file content browsing above-mentioned file time, user only in the memory location pre-set, the file corresponding with file need be found by the file identification of above-mentioned file and in file browsing pictures file, this mode can make user find fast needs the file browsed, facilitate the operation of user, improve the experience of user.
Optionally, the first acquiring unit 301 second storage unit 3043 that can also be used in the first storage unit 304 obtains Target Photo file after being stored in above-mentioned file by least one picture file above-mentioned from least one picture file above-mentioned.And as shown in Figure 5, terminal can also comprise the structural representation that the first output unit 305, Fig. 5 is another terminal that the embodiment of the present invention provides, wherein:
First output unit 305 is for being sent to terminal corresponding to other users by above-mentioned Target Photo file.
In the embodiment of the present invention, most of third party's instant messaging application of installing in terminal directly can send picture, when user needs to send the partial file content of above-mentioned file to other users, user directly can determine the file at above-mentioned file place according to the file identification of above-mentioned file from above-mentioned memory location and the file content sent as required selects corresponding Target Photo file from above-mentioned file, when the first acquiring unit 301 get Target Photo file that user selects from least one picture file above-mentioned and user's input for the transmission instruction of Target Photo file after, first output unit 305 is sent to terminal corresponding to other users by the third party's instant messaging application in terminal.
Optionally, as shown in Figure 6, terminal can also comprise the structural representation that the second output unit 306, second input block 307 and authentication unit 308, Fig. 6 are another terminals that the embodiment of the present invention provides, wherein:
Second output unit 306, for when the first input block 302 receives file, exports the first information, and wherein, whether this first information converts the file content of above-mentioned file at least one picture file for pointing out user.
Second input block 307 is for receiving the response message of user for above-mentioned first information input, and wherein, this response message is used to indicate terminal and whether converts the file content of above-mentioned file at least one picture file.
Authentication unit 308, for when above-mentioned response message indicating terminal converts the file content of above-mentioned file at least one picture file, carries out authentication to user.
First converting unit 303, specifically for when subscriber authentication is passed through, converts the file content of above-mentioned file at least one picture file.
Optionally, the second output unit 307 can also be used for exporting the second information, and wherein, this second information is complete for pointing out the file content of the above-mentioned file of user to change.
Optionally, first acquiring unit 301 can also be used for obtaining user for the last time to the running time that any picture file in above-mentioned file or above-mentioned file operates, and as shown in Figure 7, terminal can also comprise judging unit 309, delete cells 310 and recovery unit 311, wherein:
Judging unit 309 is for judging whether the time interval of current time and aforesaid operations time is more than or equal to prefixed time interval threshold value.
Delete cells 310, for when the judged result of judging unit 309 is for being, deletes above-mentioned file.
The file that second input block 307 can also be used for receiving user's input recovers instruction.
Recovery unit 311 recovers instruction for responding above-mentioned file, recovers deleted file.
Optionally, delete cells 310 can also be used for after Target Photo file is sent to terminal corresponding to other users by the first output unit 305, automatically deletes above-mentioned file.
The enforcement embodiment of the present invention can not only make user get fast in the file received needs the file content used also to share file content by the mode sending picture file with other users, but also at least one picture file that user can be made when terminal does not install the document reader for the file received to pass through to store obtains the file content of file, without the need to making user, corresponding document reader is installed in the terminal, simple to operate, and improve the experience of user.
Refer to Fig. 8, Fig. 8 is the structural representation of another terminal that the embodiment of the present invention provides.As shown in Figure 8, this terminal can comprise: at least one processor 801, as CPU, input media 802, output unit 803, storer 804 and at least one communication bus 805, storer 804 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), as at least one magnetic disk memory, optionally, storer 804 can also be that at least one is positioned at the memory storage away from aforementioned processor 801.Wherein:
Communication bus 805 is for realizing the connection communication between these assemblies;
Processor 801 calls the program code stored in storer 804, for performing following operation:
Obtain file reception instruction.
Input media 802 is for responding above-mentioned file reception command reception file, and wherein, this input media 802 can comprise the communication interface in terminal.
Processor 801 calls the program code stored in storer 804, also for performing following operation:
Convert the file content of above-mentioned file at least one picture file;
At least one picture file above-mentioned is stored according to default storage rule.
In one embodiment, the concrete mode that processor 801 stores at least one picture file above-mentioned according to default storage rule can be:
Obtain the file identification of above-mentioned file;
The file being folder identifier with above-mentioned file identification is set up in the memory location pre-set;
At least one picture file above-mentioned is stored in above-mentioned file.
In one embodiment, processor 801 calls the program code stored in storer 804, also for performing following operation:
From at least one picture file above-mentioned, obtain Target Photo file, namely obtain by input media 802 the Target Photo file that user selects from least one picture file above-mentioned.
Output unit 803 is for being sent to terminal corresponding to other users by above-mentioned Target Photo file, and wherein, this output unit 803 can comprise the communication interface in terminal.
In one embodiment, processor 801 converts the file content of above-mentioned file at least one picture file and can comprise:
According to the division rule pre-set, the file content of above-mentioned file is divided at least one son file content;
Respectively each son file Content Transformation of at least one son file content above-mentioned is become picture file, to obtain at least one picture file.
In one embodiment, the concrete mode that the file content of above-mentioned file to be divided at least one son file content according to the division rule pre-set by processor 801 can be:
Obtain the file content of every one page of above-mentioned file, and the file content of every one page is defined as a sub-file content, to obtain at least one son file content.
In one embodiment, the concrete mode that the file content of above-mentioned file to be divided at least one son file content according to the division rule pre-set by processor 801 can also be:
Obtain the index of above-mentioned file, and file content corresponding for each index is defined as a sub-file content, to obtain at least one son file content.
In one embodiment, before processor 801 converts the file content of above-mentioned file at least one picture file, output unit 803 can also be used for exporting the first information, wherein, whether this first information converts the file content of above-mentioned file at least one picture file for pointing out user, and one or more in output unit 803 can also comprise in terminal sensor, touch-screen, physical button and loudspeaker, the embodiment of the present invention does not limit.
Input media 802 can also be used for receiving the response message of user for above-mentioned first information input, and wherein, this response message is used to indicate terminal and whether converts the file content of above-mentioned file at least one picture file.
Processor 801 calls the program code stored in storer 804, also for performing following operation:
When above-mentioned response message indicating terminal converts the file content of above-mentioned file at least one picture file, authentication is carried out to user, and when subscriber authentication is passed through, perform the operation file content of above-mentioned file being converted at least one picture file.
In one embodiment, after processor 801 stores at least one picture file above-mentioned according to default storage rule, and before obtain Target Photo file from least one picture file above-mentioned, output unit 803 can also be used for exporting the second information, wherein, the file content conversion of the above-mentioned file of these the second information bulls prompting user is complete.
In one embodiment, after above-mentioned Target Photo file is sent to terminal corresponding to other users by output unit 803, processor 801 calls the program code stored in storer 804, also for performing following operation:
Delete above-mentioned file.
In one embodiment, after above-mentioned Target Photo file is sent to terminal corresponding to other users by output unit 803, before above-mentioned file deleted by processor 801, processor 801 calls the program code stored in storer 804, also for performing following operation:
Obtain user for the last time to the running time that any picture file in above-mentioned file or above-mentioned file operates;
Judging whether the time interval of current time and aforesaid operations time is more than or equal to prefixed time interval threshold value, when judged result is for being, performing the operation of Delete Folder.
In one embodiment, after above-mentioned file deleted by processor 801, the file that input media 802 can also be used for receiving user's input recovers instruction.
Processor 801 calls the program code stored in storer 804, also for performing following operation:
Respond above-mentioned file and recover instruction, recover deleted file.
The enforcement embodiment of the present invention can not only make user get fast in the file received needs the file content used also to share file content by the mode sending picture file with other users, but also at least one picture file that user can be made when terminal does not install the document reader for the file received to pass through to store obtains the file content of file, without the need to making user, corresponding document reader is installed in the terminal, simple to operate, and improve the experience of user.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and unit might not be that the present invention is necessary.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
Unit described in the embodiment of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, special IC).
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above a kind of document handling method that the embodiment of the present invention provides is described in detail, apply instantiation herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. a document handling method, is characterized in that, comprising:
Obtain file reception instruction;
Respond described file reception command reception file;
Convert the file content of described file at least one picture file;
At least one picture file described is stored according to default storage rule.
2. method according to claim 1, is characterized in that, described according to default storage rule storage at least one picture file described, comprising:
Obtain the file identification of described file;
The file being folder identifier with described file identification is set up in the memory location pre-set;
At least one picture file described is stored in described file.
3. method according to claim 1 and 2, is characterized in that, described according to after default storage rule storage at least one picture file described, described method also comprises:
From at least one picture file described, obtain Target Photo file, and described Target Photo file is sent to terminal corresponding to other users.
4. method according to claim 1, is characterized in that, the described file content by described file converts at least one picture file to, comprising:
According to the division rule pre-set, the file content of described file is divided at least one son file content;
Respectively each son file Content Transformation of at least one son file content described is become picture file, to obtain at least one picture file.
5. method according to claim 4, is characterized in that, the file content of described file is divided at least one son file content by the division rule that described basis pre-sets, and comprising:
Obtain the file content of every one page of described file, and the described file content of every one page is defined as a sub-file content, to obtain at least one son file content; Or
Obtain the index of described file, and file content corresponding for each described index is defined as a sub-file content, to obtain at least one son file content.
6. method according to claim 3, is characterized in that, before the described file content by described file converts at least one picture file to, described method also comprises:
Export the first information, whether described first information converts the file content of described file at least one picture file for pointing out user;
Receive the response message of user for described first information input, described response message is used to indicate described terminal and whether converts the file content of described file at least one picture file;
When described response message indicates described terminal to convert the file content of described file at least one picture file, authentication is carried out to user;
When subscriber authentication is passed through, perform the operation that the described file content by described file converts at least one picture file to.
7. method according to claim 6, is characterized in that, described store at least one picture file described according to default storage rule after, described from least one picture file described, obtain Target Photo file before, described method also comprises:
Export the second information, described second information is complete for pointing out the file content of file described in user to change.
8. method according to claim 7, is characterized in that, described described Target Photo file is sent to terminal corresponding to other users after, described method also comprises:
Delete described file.
9. method according to claim 8, is characterized in that, described described Target Photo file is sent to terminal corresponding to other users after, before the described file of described deletion, described method comprises:
Obtain user for the last time to the running time that any picture file in described file or described file operates;
Judging whether the time interval of current time and described running time is more than or equal to prefixed time interval threshold value, when judged result is for being, performing the operation of the described file of described deletion.
10. method according to claim 9, is characterized in that, after the described file of described deletion, described method also comprises:
The file receiving user's input recovers instruction;
Respond described file and recover instruction, recover deleted described file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510157786.2A CN104809753A (en) | 2015-04-03 | 2015-04-03 | File treatment method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510157786.2A CN104809753A (en) | 2015-04-03 | 2015-04-03 | File treatment method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104809753A true CN104809753A (en) | 2015-07-29 |
Family
ID=53694558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510157786.2A Pending CN104809753A (en) | 2015-04-03 | 2015-04-03 | File treatment method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104809753A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106022019A (en) * | 2016-05-12 | 2016-10-12 | 深圳市金立通信设备有限公司 | Terminal operation management method and terminal |
CN106557706A (en) * | 2016-11-30 | 2017-04-05 | 广东欧珀移动通信有限公司 | Date storage method, device and mobile terminal |
CN107729485A (en) * | 2017-10-17 | 2018-02-23 | 广东欧珀移动通信有限公司 | A kind of data managing method, device, terminal and computer-readable recording medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355634A (en) * | 2011-06-29 | 2012-02-15 | 惠州Tcl移动通信有限公司 | Document transmission method and mobile phone thereof |
CN102567525A (en) * | 2011-12-29 | 2012-07-11 | 深圳市万兴软件有限公司 | Method and system for modifying files stored in electronic terminals |
CN103607455A (en) * | 2013-11-20 | 2014-02-26 | 珠海金山办公软件有限公司 | Method and system for file transmission |
CN103955421A (en) * | 2014-05-06 | 2014-07-30 | 珠海市君天电子科技有限公司 | Method and system for file deletion |
CN104123129A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Method and device for quickly selecting file |
CN104281661A (en) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | Data downloading method |
CN104281475A (en) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | Data downloading method |
CN104281365A (en) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | Terminal |
CN104331301A (en) * | 2014-09-24 | 2015-02-04 | 深圳市金立通信设备有限公司 | Terminal |
CN104424225A (en) * | 2013-08-26 | 2015-03-18 | 联想(北京)有限公司 | File processing method and device based on file transfer process |
-
2015
- 2015-04-03 CN CN201510157786.2A patent/CN104809753A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102355634A (en) * | 2011-06-29 | 2012-02-15 | 惠州Tcl移动通信有限公司 | Document transmission method and mobile phone thereof |
CN102567525A (en) * | 2011-12-29 | 2012-07-11 | 深圳市万兴软件有限公司 | Method and system for modifying files stored in electronic terminals |
CN104123129A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Method and device for quickly selecting file |
CN104424225A (en) * | 2013-08-26 | 2015-03-18 | 联想(北京)有限公司 | File processing method and device based on file transfer process |
CN103607455A (en) * | 2013-11-20 | 2014-02-26 | 珠海金山办公软件有限公司 | Method and system for file transmission |
CN103955421A (en) * | 2014-05-06 | 2014-07-30 | 珠海市君天电子科技有限公司 | Method and system for file deletion |
CN104281661A (en) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | Data downloading method |
CN104281475A (en) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | Data downloading method |
CN104281365A (en) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | Terminal |
CN104331301A (en) * | 2014-09-24 | 2015-02-04 | 深圳市金立通信设备有限公司 | Terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106022019A (en) * | 2016-05-12 | 2016-10-12 | 深圳市金立通信设备有限公司 | Terminal operation management method and terminal |
CN106557706A (en) * | 2016-11-30 | 2017-04-05 | 广东欧珀移动通信有限公司 | Date storage method, device and mobile terminal |
CN106557706B (en) * | 2016-11-30 | 2019-09-13 | Oppo广东移动通信有限公司 | Date storage method, device and mobile terminal |
CN107729485A (en) * | 2017-10-17 | 2018-02-23 | 广东欧珀移动通信有限公司 | A kind of data managing method, device, terminal and computer-readable recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105068731B (en) | A kind of picture Zoom method and user terminal | |
CN104571866A (en) | Screen capture method | |
US10811016B2 (en) | Method of controlling terminal using context awareness and terminal thereof | |
CN104536711A (en) | Control method of terminal display | |
CN105205374A (en) | Application program encrypting method and user terminal | |
CN104469717A (en) | Short message sending method and device | |
CN105512033A (en) | Automated testing method and device of mobile terminal and mobile terminal | |
CN104980414A (en) | File transmission method and terminal | |
CN104158720A (en) | Chatting record clearing method and system, and mobile terminal | |
CN104580705A (en) | Terminal | |
CN105159475A (en) | Character input method and device | |
CN105843903A (en) | File management method and terminal | |
CN104809753A (en) | File treatment method | |
CN102968270A (en) | Data deleting method and terminal equipment thereof | |
CN104571865A (en) | Terminal | |
CN105491237A (en) | Contact information display method and terminal | |
CN106557706B (en) | Date storage method, device and mobile terminal | |
CN106528007A (en) | Printing control system and printing method thereof | |
CN105425997A (en) | Method for displaying interface after reboot of user terminal and user terminal | |
EP3611629A1 (en) | Photo processing method and apparatus, and computer device | |
CN109542357B (en) | Command parameter assembling method, system, equipment and computer storage medium | |
CN104809167A (en) | Terminal | |
CN104796519A (en) | Terminal | |
CN105068709A (en) | File processing method and apparatus | |
CN104951253A (en) | Method for processing memory capacity and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150729 |