CN107506494A - Document handling method, mobile terminal and computer-readable recording medium - Google Patents

Document handling method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107506494A
CN107506494A CN201710891566.1A CN201710891566A CN107506494A CN 107506494 A CN107506494 A CN 107506494A CN 201710891566 A CN201710891566 A CN 201710891566A CN 107506494 A CN107506494 A CN 107506494A
Authority
CN
China
Prior art keywords
new files
catalogue
mobile terminal
information
disk
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
CN201710891566.1A
Other languages
Chinese (zh)
Other versions
CN107506494B (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 CN201710891566.1A priority Critical patent/CN107506494B/en
Publication of CN107506494A publication Critical patent/CN107506494A/en
Application granted granted Critical
Publication of CN107506494B publication Critical patent/CN107506494B/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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • 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/13File access structures, e.g. distributed indices
    • 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/18File system types
    • G06F16/188Virtual file systems

Abstract

The application is applied to communication technical field, there is provided a kind of document handling method, mobile terminal and computer-readable recording medium, including:The information of new files is received, wherein, the information of the new files is sent by external equipment;Detect the information that whether there is the new files in the Virtual File System of mobile terminal, if not, then the information of the new files is stored into the Virtual File System, and the second catalogue ID of the new files is obtained according to the first catalogue ID of the new files in the information of the new files;The information of the new files is stored to the second catalogue of the new files in the disk of the mobile terminal.The real-time refreshing of mobile terminal can be realized when external equipment operates to the file in mobile terminal by the application.

Description

Document handling method, mobile terminal and computer-readable recording medium
Technical field
The application belongs to communication technical field, more particularly to document handling method, mobile terminal and computer-readable storage Medium.
Background technology
With the fast development of mobile terminal, the function of mobile terminal is also more and more diversified, is stored in mobile terminal File (such as picture, audio-video document etc.) it is also more and more.In order to more easily manage the text stored in mobile terminal Part, generally mobile terminal is connected with external equipment (such as computer), with by being deposited in external device management mobile terminal The file of storage.However, when external equipment operates to the file in mobile terminal, the real-time brush of mobile terminal can not be realized Newly.
Therefore, it is necessary to a kind of new technical scheme is proposed, to solve above-mentioned technical problem.
The content of the invention
In view of this, this application provides a kind of document handling method, mobile terminal and computer-readable recording medium, with When external equipment operates to the file in mobile terminal, the real-time refreshing of mobile terminal is realized.
The first aspect of the application provides a kind of document handling method, and the document handling method includes:
The information of new files is received, wherein, the information of the new files is sent by external equipment;
The information that whether there is the new files in the Virtual File System of mobile terminal is detected, if it is not, then by described in The information of new files is stored into the Virtual File System, and according to the newly-built text in the information of the new files First catalogue ID of part obtains the second catalogue ID of the new files, wherein, the Virtual File System is by traveling through State the database of the Disk Mapping of mobile terminal, the first catalogue ID of the new files is the new files in the outside The ID of affiliated catalogue in equipment, the second catalogue ID of the new files is disk of the new files in the mobile terminal In affiliated catalogue ID;
The information of the new files is stored to the second mesh of the new files in the disk of the mobile terminal Under record.
The second aspect of the application provides a kind of mobile terminal, and the mobile terminal includes:
Information receiving module, for receiving the information of new files, wherein, the information of the new files is by outside What equipment was sent;
Processing module, it whether there is the information of the new files in the Virtual File System for detecting mobile terminal, If it is not, then store the information of the new files into the Virtual File System, and according to the information of the new files In the first catalogue ID of the new files obtain the second catalogue ID of the new files, wherein, the virtual file system System is the database by traveling through the Disk Mapping of the mobile terminal, and the first catalogue ID of the new files is described newly-built The ID of file affiliated catalogue in the external equipment, the second catalogue ID of the new files are the new files described The ID of affiliated catalogue in the disk of mobile terminal;
Memory module, it is described newly-built into the disk of the mobile terminal for the information of the new files to be stored Under second catalogue of file.
The third aspect of the application provides a kind of mobile terminal, including memory, processor and is stored in described deposit In reservoir and the computer program that can run on the processor, realized such as during computer program described in the computing device Described in above-mentioned first aspect the step of document handling method.
The fourth aspect of the application provides a kind of computer-readable recording medium, and the computer-readable recording medium is deposited Computer program is contained, the document handling method as described in above-mentioned first aspect is realized when the computer program is executed by processor The step of.
The 5th aspect of the application provides a kind of computer program product, and the computer program product includes computer Program, the document handling method as described in above-mentioned first aspect is realized when the computer program is executed by one or more processors The step of.
Existing beneficial effect is the application compared with prior art:The application when receiving the information of new files, The information that whether there is the new files in the Virtual File System of mobile terminal is detected, and is not present in Virtual File System During the information of the new files, the information of the new files is stored into Virtual File System, according to the new files First catalogue ID of the new files in information obtains the second catalogue ID of the new files, and by the information of the new files Store to the second catalogue of the new files in the disk of mobile terminal.The application is by receiving the letter of new files After breath, the first catalogue ID of the new files in the information of the new files obtains the second catalogue of the new files ID, and the information of the new files is stored to the second catalogue of the new files in the disk of mobile terminal, so as to Realize in external equipment new files, the new files are stored into the disk of mobile terminal, and then realize mobile terminal Real-time refreshing.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical scheme in the embodiment of the present application In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description are only some of the application Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the network architecture diagram for the document handling system that the embodiment of the present application one provides;
Fig. 2 is the implementation process schematic diagram for the document handling method that the embodiment of the present application two provides;
Fig. 3 is the implementation process schematic diagram for the document handling method that the embodiment of the present application three provides;
Fig. 4 is the mobile terminal schematic diagram that the embodiment of the present application four provides;
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides;
Fig. 6 is the schematic diagram for the mobile terminal that the embodiment of the present application six provides.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present application.However, it will be clear to one skilled in the art that there is no these specific The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
It should be appreciated that ought be in this specification and in the appended claims in use, special described by the instruction of term " comprising " Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in present specification and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the mobile terminal described in the embodiment of the present application is including but not limited to such as with the sensitive table of touch Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other Portable set.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the mobile terminal including display and touch sensitive surface is described.However, it should manage Solution, one or more of the other physical User that mobile terminal can include such as physical keyboard, mouse and/or control-rod connect Jaws equipment.
Mobile terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered With program, telephony application, videoconference application, email application, instant messaging applications, forging Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on mobile terminals can use at least one of such as touch sensitive surface Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick Feel the corresponding information shown in the one or more functions and terminal on surface.So, terminal public physical structure (for example, Touch sensitive surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence in the present embodiment, each process Execution sequence should determine that the implementation process without tackling the embodiment of the present application forms any restriction with its function and internal logic.
In order to illustrate technical scheme described herein, illustrated below by specific embodiment.
It is the network architecture diagram for the document handling system that the embodiment of the present application one provides referring to Fig. 1, for convenience of description, It illustrate only the part related to the embodiment of the present application.
As shown in figure 1, the document handling system includes mobile terminal 11 and external equipment 12.The external equipment 12 is Refer to the equipment that can be connected to by the external interface on mobile terminal 11 on the mobile terminal 11, such as pass through USB connections Equipment.The mobile terminal 11 can connect the external equipment 12 by USB so that the mobile terminal 11 with it is described External equipment 12 is in media transmission protocol (Media Transfer Protocol, MTP) connection mode, because MTP can be real On present usb protocol.
In order to when external equipment operates to the file in mobile terminal, realize the real-time refreshing of mobile terminal.This In application embodiment external equipment 12 detect the file in mobile terminal is operated when, such as new files, by this The information of new files is sent to the mobile terminal 11, and the mobile terminal 11 is after the information of new files is received, inspection Survey in the Virtual File System of mobile terminal 11 and whether there is the information of the new files, if it is not, then by the new files Information store into the Virtual File System, and according to first of the new files in the information of the new files Catalogue ID obtains the second catalogue ID of the new files, and the information of the new files is stored to the magnetic of the mobile terminal Under second catalogue of the new files in disk, so as to realize the real-time refreshing of the mobile terminal 11.
Wherein, the information in the Virtual File System of the detection mobile terminal 11 with the presence or absence of the new files can be with It is under the catalogue for referring to detect the second catalogue ID that the ID in the Virtual File System of the mobile terminal is the new files The no information that the new files be present, if, it is determined that the letter of the existing new files in the Virtual File System Breath, no longer performs follow-up operation;If not, it is determined that the information of the new files is not present in the Virtual File System. The information by the new files, which is stored into the Virtual File System, to be referred to the information storage of the new files Into the Virtual File System, ID is under the first catalogue ID of new files catalogue.
The Virtual File System is the database by traveling through the Disk Mapping of the mobile terminal, the new files The first catalogue ID be the new files affiliated catalogue in the external equipment ID, the second catalogue of the new files ID is the ID of the new files affiliated catalogue in the disk of the mobile terminal.
Optionally, the mobile terminal 11 using the difference of the first catalogue ID of the new files and default bias amount as Second catalogue ID of the new files.
Optionally, the mobile terminal 11 stores the information of the new files into the disk of the mobile terminal After under second catalogue of the new files, when receiving the accessing request information to the disk of the mobile terminal, The information of the new files is shown under second catalogue of the new files.
Optionally, the mobile terminal 11 detects second of the new files in the disk of the mobile terminal 11 It whether there is the information of the new files under catalogue, if it is not, then storing the information of the new files to the newly-built text Under second catalogue of part.
It is the implementation process schematic diagram for the document handling method that the embodiment of the present application two provides referring to Fig. 2, this document processing Method is applied to mobile terminal, and this document processing method may comprise steps of as shown in the figure:
Step S201, the information of new files is received, wherein, the information of the new files is sent by external equipment 's.
In the embodiment of the present application, external equipment is after the file progress in mobile terminal is newly-built, by new files Information is sent to mobile terminal.Wherein, the information of the new files includes but is not limited to the title, big of the new files Small, date created, store path, the first catalogue ID and first file ID etc..First catalogue ID of the new files can be The ID of the new files affiliated catalogue in the external equipment, the first file ID of the new files can be described new Build ID of the file in the external equipment.
Step S202, the information that whether there is the new files in the Virtual File System of mobile terminal is detected, if it is not, Then the information of the new files is stored into the Virtual File System, and according to the institute in the information of the new files The the first catalogue ID for stating new files obtains the second catalogue ID of the new files.
Wherein, the Virtual File System is the database by traveling through the Disk Mapping of the mobile terminal, described new The the second catalogue ID for building file is the ID of the new files affiliated catalogue in the disk of the mobile terminal.
Information in the Virtual File System of the detection mobile terminal with the presence or absence of the new files can refer to examine The ID surveyed in the Virtual File System of the mobile terminal is that whether there is under the first catalogue ID of new files catalogue The information of the new files, if, it is determined that the information of the existing new files in the Virtual File System, no longer Perform follow-up operation;If not, it is determined that the information of the new files is not present in the Virtual File System.It is described by institute The information for stating new files stores into the Virtual File System and refers to store the information of the new files to the void Intend under the first catalogue ID catalogue that ID in file system is the new files.
Optionally, the mobile terminal is in media transmission protocol MTP connection modes with the external equipment.
In the embodiment of the present application, when the mobile terminal is established MTP with external equipment and is connected, the external equipment can be with The file checked in mobile terminal.The external equipment is not the file in the disk for directly access the mobile terminal, and It is to access to be set to the outside by the file in the Virtual File System of the Disk Mapping of the mobile terminal, i.e. external equipment It is that the file in the Virtual File System to the mobile terminal enters when file in standby shown mobile terminal is operated Row operation.
After the information of the new files is stored into the Virtual File System, the information of the new files is not Become.It is the ID in the disk of the mobile terminal to preferably distinguish the ID and catalogue ID of a file, or described ID in Virtual File System, can be by file ID of this document in the disk of the mobile terminal (i.e. for identical file Second file ID) and file ID (i.e. the first file ID) in the Virtual File System be arranged to different, this document is existed Catalogue ID (i.e. the second catalogue ID) in the disk of the mobile terminal and catalogue ID in the Virtual File System (i.e. One catalogue ID) it is arranged to different.
Step S203, the information of the new files is stored to the new files in the disk of the mobile terminal The second catalogue under.
In the embodiment of the present application, mobile terminal is obtaining the newly-built text according to the first catalogue ID of the new files After second catalogue ID of part, detect under the second catalogue ID catalogue that ID in the disk of the mobile terminal is the new files With the presence or absence of the information of the new files, if the information of the new files under the catalogue be present, prompt user that this is newly-built Whether the information of file is existing, and prompt to be covered, and corresponding operation is performed according to the selection of user;If under the catalogue not The information of the new files be present, then store the information of the new files to the catalogue.
The information of the new files is stored into the disk of the mobile terminal ID as the second of the new files Under catalogue ID catalogue, and the information of the new files is updated, such as can be by described in the information of the new files First catalogue ID of new files is revised as the second catalogue ID of the new files, and the first file ID of the new files is repaiied The second file ID of the new files is changed to, the store path of the new files is revised as the disk in the mobile terminal In store path.Other information in the information of the new files, such as the title of the new files, size, create Date etc. can keep constant, according to the needs of user, can also change the title of the new files.Optionally, to institute State the new files stored in the disk of mobile terminal information be updated after, can show for the new files Title modification frame, the current title of the new files is shown in the modification frame, user can incite somebody to action in the modification frame The current name modifications of the new files are other titles, after the preservation instruction that user sends is detected, after preserving modification The new files title.
The embodiment of the present application is by the way that after the information of new files is received, this in the information of the new files is new The the first catalogue ID for building file obtains the second catalogue ID of the new files, and the information of the new files is stored to mobile whole Under second catalogue of the new files in the disk at end, so that when can realize portion's equipment new files outside, by the newly-built text Part is stored into the disk of mobile terminal, and then realizes the real-time refreshing of mobile terminal.
It is the implementation process schematic diagram for the document handling method that the embodiment of the present application three provides referring to Fig. 3, this document processing Method is applied to mobile terminal, and this document processing method may comprise steps of as shown in the figure:
Step S301, the information of new files is received, wherein, the information of the new files is sent by external equipment 's.
The step is identical with step S201, for details, reference can be made to step S201 associated description, will not be repeated here.
Step S302, the information that whether there is the new files in the Virtual File System of mobile terminal is detected, if it is not, Then the information of the new files is stored into the Virtual File System, and by the first catalogue ID of the new files with Second catalogue ID of the difference of default bias amount as the new files.
Wherein, the Virtual File System is the database by traveling through the Disk Mapping of the mobile terminal, described new The the first catalogue ID for building file is the ID of the new files affiliated catalogue in the external equipment, the of the new files Two catalogue ID are the ID of the new files affiliated catalogue in the disk of the mobile terminal.
Wherein, the information in the Virtual File System of the detection mobile terminal with the presence or absence of the new files can be Refer under the catalogue for the first catalogue ID that the ID in the Virtual File System for detecting the mobile terminal is the new files whether The information of the new files be present, if, it is determined that the information of the existing new files in the Virtual File System, No longer perform follow-up operation;If not, it is determined that the information of the new files is not present in the Virtual File System.It is described The information of the new files is stored into the Virtual File System and refers to store the information of the new files to institute State under the first catalogue ID catalogue that ID in Virtual File System is the new files.
Optionally, the mobile terminal is in media transmission protocol MTP connection modes with the external equipment.
In the embodiment of the present application, when the mobile terminal is established MTP with external equipment and is connected, the external equipment can be with The file checked in mobile terminal.The external equipment is not the file in the disk for directly access the mobile terminal, and It is to access to be set to the outside by the file in the Virtual File System of the Disk Mapping of the mobile terminal, i.e. external equipment It is that the file in the Virtual File System to the mobile terminal enters when file in standby shown mobile terminal is operated Row operation.
After the information of the new files is stored into the Virtual File System, the information of the new files is not Become.It is the ID in the disk of the mobile terminal to preferably distinguish the ID and catalogue ID of a file, or described ID in Virtual File System, can be by file ID of this document in the disk of the mobile terminal (i.e. for identical file Second file ID) and file ID (i.e. the first file ID) in the Virtual File System be arranged to different, this document is existed Catalogue ID (i.e. the second catalogue ID) in the disk of the mobile terminal and catalogue ID in the Virtual File System (i.e. One catalogue ID) it is arranged to different.
In order to distinguish the new files affiliated catalogue and magnetic in the mobile terminal in the Virtual File System Affiliated catalogue in disk, can by the new files in the Virtual File System ID of affiliated catalogue and default bias amount Difference affiliated catalogue ID in the disk of the mobile terminal as the new files.
The first catalogue ID and the second catalogue ID can be the identity number for the uniqueness for characterizing catalogue, move The ID of different directories is different in the disk of dynamic terminal, and the ID of different directories is different in the Virtual File System of mobile terminal.
Step S303, detect and whether there is under the second catalogue of the new files in the disk of the mobile terminal The information of the new files, if it is not, then storing the information of the new files to the second catalogue of the new files.
In the embodiment of the present application, mobile terminal is obtaining the newly-built text according to the first catalogue ID of the new files After second catalogue ID of part, detect under the second catalogue ID catalogue that ID in the disk of the mobile terminal is the new files With the presence or absence of the information of the new files, if the information of the new files under the catalogue be present, prompt user that this is newly-built Whether the information of file is existing, and prompt to be covered, and corresponding operation is performed according to the selection of user;If under the catalogue not The information of the new files be present, then store the information of the new files to the catalogue.
The information of the new files is stored into the disk of the mobile terminal ID as the second of the new files Under catalogue ID catalogue, and the information of the new files is updated, such as can be by described in the information of the new files First catalogue ID of new files is revised as the second catalogue ID of the new files, and the first file ID of the new files is repaiied The second file ID of the new files is changed to, the store path of the new files is revised as the disk in the mobile terminal In store path.Other information in the information of the new files, such as the title of the new files, size, create Date etc. can keep constant, according to the needs of user, can also change the title of the new files.Optionally, to institute State the new files stored in the disk of mobile terminal information be updated after, can show for the new files Title modification frame, the current title of the new files is shown in the modification frame, user can incite somebody to action in the modification frame The current name modifications of the new files are other titles, after the preservation instruction that user sends is detected, after preserving modification The new files title.
Step S304, when receiving the accessing request information to the disk of the mobile terminal, in the new files The second catalogue under show the information of the new files.
In the embodiment of the present application, the accessing request information can refer to access owns in the disk of the mobile terminal The solicited message of file or the solicited message for accessing new files described in the disk of the mobile terminal, herein not It is construed as limiting.
The embodiment of the present application is by the way that after the information of new files is received, this in the information of the new files is new The the first catalogue ID for building file obtains the second catalogue ID of the new files, and the information of the new files is stored to mobile terminal Disk in the new files the second catalogue under, and when receiving the accessing request information to the disk of mobile terminal, The information of the new files is shown under the second catalogue of the new files, so that when can realize portion's equipment new files outside, The new files are stored into the disk of mobile terminal, and then realize the real-time refreshing of mobile terminal.
Referring to Fig. 4, it is the schematic diagram for the mobile terminal that the embodiment of the present application four provides, for convenience of description, illustrate only The part related to the embodiment of the present application.
The mobile terminal includes:
Information receiving module 41, for receiving the information of new files, wherein, the information of the new files is by outer What portion's equipment was sent;
Processing module 42, it whether there is the letter of the new files in the Virtual File System for detecting mobile terminal Breath, if it is not, then store the information of the new files into the Virtual File System, and according to the letter of the new files First catalogue ID of the new files in breath obtains the second catalogue ID of the new files, wherein, the virtual file System is the database by traveling through the Disk Mapping of the mobile terminal, and the first catalogue ID of the new files is described new Build the ID of file affiliated catalogue in the external equipment, the second catalogue ID of the new files is the new files in institute State the ID of affiliated catalogue in the disk of mobile terminal;
Memory module 43 is described new into the disk of the mobile terminal for the information of the new files to be stored Build under the second catalogue of file.
Optionally, the processing module 42 is specifically used for:
The second mesh using the difference of the first catalogue ID of the new files and default bias amount as the new files Record ID;
The mobile terminal also includes:
Display module 44, for when receiving the accessing request information to the disk of the mobile terminal, described new Build under the second catalogue of file and show the information of the new files;
The memory module 43 is specifically used for:
Detect under the second catalogue of the new files in the disk of the mobile terminal with the presence or absence of described newly-built The information of file, if it is not, then storing the information of the new files to the second catalogue of the new files.
Optionally, the mobile terminal is in media transmission protocol MTP connection modes with the external equipment.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.The mobile terminal as depicted can wrap Include:One or more processors 501 (only show one) in figure;One or more input equipments 502 (one is only shown in figure), One or more output equipments 503 (one is only shown in figure) and memory 504.It is above-mentioned processor 501, input equipment 502, defeated Go out equipment 503 and memory 504 is connected by bus 505.Memory 504 is used for store instruction, and processor 501 is deposited for execution The instruction that reservoir 504 stores.Wherein:
The processor 501, for receiving the information of new files, wherein, the information of the new files is by outer What portion's equipment was sent;The information that whether there is the new files in the Virtual File System of mobile terminal is detected, if it is not, then will The information of the new files is stored into the Virtual File System, and according to described new in the information of the new files The the first catalogue ID for building file obtains the second catalogue ID of the new files, wherein, the Virtual File System be by time Go through the database of the Disk Mapping of the mobile terminal, the first catalogue ID of the new files is the new files described The ID of affiliated catalogue in external equipment, the second catalogue ID of the new files are the new files in the mobile terminal The ID of affiliated catalogue in disk;The information of the new files is stored to the newly-built text into the disk of the mobile terminal Under second catalogue of part.
Optionally, the processor 501, specifically for by the first catalogue ID of the new files and default bias amount Second catalogue ID of the difference as the new files.
Optionally, the processor 501, it is additionally operable in the accessing request information for receiving the disk to the mobile terminal When, the information of the new files is shown under the second catalogue of the new files.
Optionally, the processor 501, specifically for detecting the new files in the disk of the mobile terminal The second catalogue under whether there is the new files information, if it is not, then the information of the new files is stored to described Under second catalogue of new files.
Optionally, the mobile terminal is in media transmission protocol MTP connection modes with the external equipment.
The memory 504, for storing software program and module.The processor 501 is stored in institute by operation The software program and module of memory 504 are stated, so as to perform various function application and data processing, by the newly-built text The information of part is stored to the second catalogue of the new files in the disk of the mobile terminal.
It should be appreciated that in the embodiment of the present application, the processor 501 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 502 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone, data receiver interface etc..Output equipment 503 can include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 504 can include read-only storage and random access memory, and to processor 501 provide instruction and Data.The a part of of memory 504 can also include nonvolatile RAM.For example, memory 504 can also be deposited Store up the information of device type.
In the specific implementation, processor 501, input equipment 502, the and of output equipment 503 described in the embodiment of the present application Memory 504 can perform the implementation described in the embodiment of the document handling method of the embodiment of the present application offer, also may be used The implementation described in mobile terminal described in example IV is performed, will not be repeated here.
Fig. 6 is the schematic diagram for the mobile terminal that the embodiment of the present application six provides.As shown in fig. 6, the mobile end of the embodiment End 6 includes:Processor 60, memory 61 and it is stored in the meter that can be run in the memory 61 and on the processor 60 Calculation machine program 62.The processor 60 is realized when performing the computer program 62 in above-mentioned each document handling method embodiment The step of, such as the step S201 to S203 shown in Fig. 2.Or the processor 60 is real when performing the computer program 62 The function of each module/unit in existing above-mentioned each mobile terminal embodiment, such as the function of module 41 to 44 shown in Fig. 4.
Exemplary, the computer program 62 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are performed by the processor 60, to complete the present invention.Described one Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for Implementation procedure of the computer program 62 in the mobile terminal 6 is described.For example, the computer program 62 can be divided Information receiving module, processing module, memory module and display module are cut into, each module concrete function is as follows:
Information receiving module, for receiving the information of new files, wherein, the information of the new files is by outside What equipment was sent;
Processing module, it whether there is the information of the new files in the Virtual File System for detecting mobile terminal, If it is not, then store the information of the new files into the Virtual File System, and according to the information of the new files In the first catalogue ID of the new files obtain the second catalogue ID of the new files, wherein, the virtual file system System is the database by traveling through the Disk Mapping of the mobile terminal, and the first catalogue ID of the new files is described newly-built The ID of file affiliated catalogue in the external equipment, the second catalogue ID of the new files are the new files described The ID of affiliated catalogue in the disk of mobile terminal;
Memory module, it is described newly-built into the disk of the mobile terminal for the information of the new files to be stored Under second catalogue of file.
Optionally, the processing module is specifically used for:
The second mesh using the difference of the first catalogue ID of the new files and default bias amount as the new files Record ID;
The mobile terminal also includes:
Display module, for when receiving the accessing request information to the disk of the mobile terminal, described newly-built The information of the new files is shown under second catalogue of file;
The memory module is specifically used for:
Detect under the second catalogue of the new files in the disk of the mobile terminal with the presence or absence of described newly-built The information of file, if it is not, then storing the information of the new files to the second catalogue of the new files.
Optionally, the mobile terminal is in media transmission protocol MTP connection modes with the external equipment.
The mobile terminal 6 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The mobile terminal may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 The only example of mobile terminal 6, the restriction to mobile terminal 6 is not formed, can included than illustrating more or less portions Part, some parts or different parts are either combined, such as the mobile terminal can also include input-output equipment, net Network access device, bus etc..
Alleged processor 60 can be central processing unit CPU, can also be other general processors, Digital Signal Processing Device DSP, application-specific integrated circuit ASIC, ready-made programmable gate array FPGA either other PLDs, discrete gate or Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor can also be appointed What conventional processor etc..
The memory 61 can be the internal storage unit of the mobile terminal 6, such as the hard disk of mobile terminal 6 or interior Deposit.The memory 61 can also be the External memory equipment of the mobile terminal 6, such as be equipped with the mobile terminal 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the mobile terminal 6 Member also includes External memory equipment.The memory 61 is used to store needed for the computer program and the mobile terminal Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.Institute The technical staff in category field can be understood that, for convenience of description and succinctly, only with above-mentioned each functional unit, module Division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functional units, mould Block is completed, will the internal structure of the mobile terminal be divided into different functional units or module, it is described above to complete All or part of function.Each functional unit, module in embodiment can be integrated in a processing unit or each Individual unit is individually physically present, can also two or more units it is integrated in a unit, above-mentioned integrated unit was both It can be realized, can also be realized in the form of SFU software functional unit in the form of hardware.In addition, each functional unit, module Specific name also only to facilitate mutually distinguish, be not limited to the protection domain of the application.Unit in said system, The specific work process of module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method, it can be passed through Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list The division of member, only a kind of division of logic function can have an other dividing mode when actually realizing, for example, multiple units or Component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, show Show or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, between device or unit Coupling or communication connection are connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-mentioned implementation All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, electric carrier signal and electricity are not included according to legislation and patent practice, computer-readable medium Believe signal.
Embodiment described above is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to foregoing reality Example is applied the application is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application, all should Within the protection domain of the application.

Claims (10)

1. a kind of document handling method, it is characterised in that the document handling method includes:
The information of new files is received, wherein, the information of the new files is sent by external equipment;
The information that whether there is the new files in the Virtual File System of mobile terminal is detected, if it is not, then will be described newly-built The information of file is stored into the Virtual File System, and according to the new files in the information of the new files First catalogue ID obtains the second catalogue ID of the new files, wherein, the Virtual File System is by traveling through the shifting The database of the Disk Mapping of dynamic terminal, the first catalogue ID of the new files are the new files in the external equipment In affiliated catalogue ID, the second catalogue ID of the new files is new files institute in the disk of the mobile terminal Belong to the ID of catalogue;
The information of the new files is stored to the second catalogue of the new files in the disk of the mobile terminal.
2. document handling method as claimed in claim 1, it is characterised in that in the information according to the new files The second catalogue ID that first catalogue ID of the new files obtains the new files includes:
The second catalogue ID using the difference of the first catalogue ID of the new files and default bias amount as the new files.
3. document handling method as claimed in claim 1, it is characterised in that store the information of the new files to described After under second catalogue of the new files in the disk of mobile terminal, in addition to:
When receiving the accessing request information to the disk of the mobile terminal, show under the second catalogue of the new files Show the information of the new files.
4. document handling method as claimed in claim 1, it is characterised in that the information by the new files store to Include under second catalogue of the new files in the disk of the mobile terminal:
Detect and whether there is the new files under the second catalogue of the new files in the disk of the mobile terminal Information, if it is not, then the information of the new files is stored to the second catalogue of the new files.
5. the document handling method as described in any one of Claims 1-4, it is characterised in that the mobile terminal with it is described outer Portion's equipment is in media transmission protocol MTP connection modes.
6. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Information receiving module, for receiving the information of new files, wherein, the information of the new files is by external equipment Send;
Processing module, it whether there is the information of the new files in the Virtual File System for detecting mobile terminal, if it is not, Then the information of the new files is stored into the Virtual File System, and according to the institute in the information of the new files The the first catalogue ID for stating new files obtains the second catalogue ID of the new files, wherein, the Virtual File System is logical The database for the Disk Mapping for traveling through the mobile terminal is crossed, the first catalogue ID of the new files is that the new files exist The ID of affiliated catalogue in the external equipment, the second catalogue ID of the new files is that the new files are whole in the movement The ID of affiliated catalogue in the disk at end;
Memory module, for the information of the new files to be stored to the new files in the disk of the mobile terminal The second catalogue under.
7. mobile terminal as claimed in claim 6, it is characterised in that the processing module is specifically used for:
The second catalogue ID using the difference of the first catalogue ID of the new files and default bias amount as the new files;
The mobile terminal also includes:
Display module, for when receiving the accessing request information to the disk of the mobile terminal, in the new files The second catalogue under show the information of the new files;
The memory module is specifically used for:
Detect and whether there is the new files under the second catalogue of the new files in the disk of the mobile terminal Information, if it is not, then the information of the new files is stored to the second catalogue of the new files.
8. mobile terminal as claimed in claims 6 or 7, it is characterised in that the mobile terminal is in the external equipment Media transmission protocol MTP connection modes.
9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 5 described in the computing device during computer program The step of any one document handling method.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In the step of realization document handling method as described in any one of claim 1 to 5 when the computer program is executed by processor Suddenly.
CN201710891566.1A 2017-09-27 2017-09-27 Document handling method, mobile terminal and computer readable storage medium Active CN107506494B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710891566.1A CN107506494B (en) 2017-09-27 2017-09-27 Document handling method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710891566.1A CN107506494B (en) 2017-09-27 2017-09-27 Document handling method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107506494A true CN107506494A (en) 2017-12-22
CN107506494B CN107506494B (en) 2019-04-12

Family

ID=60699809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710891566.1A Active CN107506494B (en) 2017-09-27 2017-09-27 Document handling method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107506494B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376126A (en) * 2018-09-26 2019-02-22 Oppo广东移动通信有限公司 A kind of file or folder processing method, mobile terminal and storage medium
CN109819034A (en) * 2019-01-25 2019-05-28 平安科技(深圳)有限公司 File uploading method, device, terminal and storage medium
CN110968552A (en) * 2018-09-28 2020-04-07 北京国双科技有限公司 Application information storage method and device
CN111291007A (en) * 2020-02-29 2020-06-16 苏州浪潮智能科技有限公司 File aggregation method, system, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101027668A (en) * 2004-07-21 2007-08-29 海滩无极限有限公司 Distributed storage architecture based on block map caching and VFS stackable file system modules
CN103227818A (en) * 2013-03-27 2013-07-31 福建伊时代信息科技股份有限公司 Terminal, server, file transferring method, file storage management system and file storage management method
CN105530273A (en) * 2014-09-29 2016-04-27 国际商业机器公司 Method and device for data migration
CN106775488A (en) * 2016-12-27 2017-05-31 维沃移动通信有限公司 The storage method and mobile terminal of a kind of file
US20170235765A1 (en) * 2016-02-12 2017-08-17 Red Hat, Inc. Overlay-based file tagging using virtual file systems
CN107168666A (en) * 2017-04-21 2017-09-15 陈景雄 The system and method for USB interface-based audio video transmission and multi-screen mapping

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101027668A (en) * 2004-07-21 2007-08-29 海滩无极限有限公司 Distributed storage architecture based on block map caching and VFS stackable file system modules
CN103227818A (en) * 2013-03-27 2013-07-31 福建伊时代信息科技股份有限公司 Terminal, server, file transferring method, file storage management system and file storage management method
CN105530273A (en) * 2014-09-29 2016-04-27 国际商业机器公司 Method and device for data migration
US20170235765A1 (en) * 2016-02-12 2017-08-17 Red Hat, Inc. Overlay-based file tagging using virtual file systems
CN106775488A (en) * 2016-12-27 2017-05-31 维沃移动通信有限公司 The storage method and mobile terminal of a kind of file
CN107168666A (en) * 2017-04-21 2017-09-15 陈景雄 The system and method for USB interface-based audio video transmission and multi-screen mapping

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376126A (en) * 2018-09-26 2019-02-22 Oppo广东移动通信有限公司 A kind of file or folder processing method, mobile terminal and storage medium
CN110968552A (en) * 2018-09-28 2020-04-07 北京国双科技有限公司 Application information storage method and device
CN110968552B (en) * 2018-09-28 2024-02-13 北京国双科技有限公司 Application information storage method and device
CN109819034A (en) * 2019-01-25 2019-05-28 平安科技(深圳)有限公司 File uploading method, device, terminal and storage medium
CN111291007A (en) * 2020-02-29 2020-06-16 苏州浪潮智能科技有限公司 File aggregation method, system, device and medium
CN111291007B (en) * 2020-02-29 2022-07-19 苏州浪潮智能科技有限公司 File aggregation method, system, device and medium

Also Published As

Publication number Publication date
CN107506494B (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN109636278A (en) Material replenishing method, material goods compensator and terminal device
CN107451244A (en) File naming method, mobile terminal and computer-readable recording medium
CN107656966A (en) The method and server of a kind of processing data
CN107357718A (en) One kind structure method of testing and device
CN108400868A (en) Storage method, device and the mobile terminal of seed key
CN106991179A (en) Data-erasure method, device and mobile terminal
CN107193598A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN107862352A (en) A kind of Quick Response Code sharing method and Quick Response Code share equipment
CN108804175A (en) Multilingual adaptation method, mobile terminal and computer readable storage medium
CN107679222A (en) Image processing method, mobile terminal and computer-readable recording medium
CN107332988A (en) Information processing method, mobile terminal and computer-readable recording medium
CN107783932A (en) Information processing method, mobile terminal and the computer-readable recording medium of calculator
CN107609119A (en) Document handling method, mobile terminal and computer-readable recording medium
CN107301236A (en) Application searches method, mobile terminal, server and computer-readable recording medium
CN107330058A (en) Application searches method, mobile terminal and computer-readable recording medium
CN108520186A (en) Record screen method, mobile terminal and computer readable storage medium
CN108366298A (en) Video broadcasting method, mobile terminal and computer readable storage medium
CN107248078A (en) Mobile payment means of defence, mobile terminal and computer-readable recording medium
CN109213662A (en) A kind of user's touch-control behavioral data collection method and terminal
CN108521460A (en) Information-pushing method, device, mobile terminal and computer readable storage medium
CN109492249A (en) Rapid generation, device and the terminal device of design drawing
CN109062476A (en) Menu treating method, mobile terminal and the computer readable storage medium of application
CN109104481A (en) file integrity detection method, file integrity detection device and terminal device

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

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant