CN107506494B - Document handling method, mobile terminal and computer readable storage medium - Google Patents

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

Info

Publication number
CN107506494B
CN107506494B CN201710891566.1A CN201710891566A CN107506494B CN 107506494 B CN107506494 B CN 107506494B CN 201710891566 A CN201710891566 A CN 201710891566A CN 107506494 B CN107506494 B CN 107506494B
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.)
Active
Application number
CN201710891566.1A
Other languages
Chinese (zh)
Other versions
CN107506494A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application is suitable for field of communication technology, provides a kind of document handling method, mobile terminal and computer readable storage medium, comprising: receive the information of new files, 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 obtains the second catalogue ID of the new files according to the first catalogue ID of the new files in the information of the new files;Under the second catalogue that the information of the new files is stored to the new files into the disk of the mobile terminal.By the application the real-time refreshing of mobile terminal can be realized when external equipment operates the file in mobile terminal.

Description

Document handling method, mobile terminal and computer readable storage medium
Technical field
The application belongs to field of communication technology more particularly to document handling method, mobile terminal and computer-readable storage Medium.
Background technique
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 Mobile terminal is usually connected by part with external equipment (such as computer), by being deposited in external device management mobile terminal The file of storage.However, cannot achieve the real-time brush of mobile terminal when external equipment operates the file in mobile terminal Newly.
Therefore, it is necessary to propose a kind of new technical solution, to solve the above technical problems.
Summary of the invention
In view of this, this application provides a kind of document handling method, mobile terminal and computer readable storage medium, with When external equipment operates 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:
Receive the information of new files, 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 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 traversing institute The database of the Disk Mapping of mobile terminal is stated, 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 are 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 into 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 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 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 traversing 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 storing the information of the new files 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, the processor are realized such as when executing the computer program The step of document handling method described in above-mentioned first aspect.
The fourth aspect of the application provides a kind of computer readable storage medium, and the computer readable storage 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 realizes the document handling method as described in above-mentioned first aspect 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 in the information for receiving 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 When 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 Under the second catalogue for storing the new files into the disk of mobile terminal.The application passes through in the letter for receiving new files After breath, the second catalogue of the new files is obtained according to the first catalogue ID of the new files in the information of the new files ID, and the information of the new files stored under the second catalogue of the new files into the disk of mobile terminal, so as to It realizes in external equipment new files, which is stored into the disk of mobile terminal, and then realize mobile terminal Real-time refreshing.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached 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.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the present invention.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, 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 determination " 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, 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 computer in face (for example, touch-screen display and/or touch tablet) etc it is other Portable device.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 tablet).
In following discussion, the mobile terminal including display and touch sensitive surface is described.However, should manage Solution, mobile terminal may include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects Jaws equipment.
Mobile terminal supports various application programs, such as one of the following or multiple: drawing application program, demonstration application Program, word-processing application, website creation 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 to answer With program, digital music player application and/or video frequency player application program.
At least one of such as touch sensitive surface can be used in the various application programs that can be executed on mobile terminals 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.In this way, terminal public physical structure (for example, Touch sensitive surface) it can support the various application programs with user interface intuitive and transparent for a user.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in the present embodiment, each process Execution sequence should be determined by its function and internal logic, and the implementation process without coping with the embodiment of the present application constitutes any restriction.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
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 ease of description, Illustrate only part relevant 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 passes through USB connection 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 realize the real-time refreshing of mobile terminal when external equipment operates the file in 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 receiving the information of new files, inspection The information that whether there is the new files is surveyed in the Virtual File System of mobile terminal 11, 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, 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 Referring under the catalogue that the ID in the Virtual File System for detecting the mobile terminal is the second catalogue ID of the new files is No there are the information of the new files, if so, determining the letter of the existing new files in the Virtual File System Breath, no longer executes subsequent 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 To the catalogue for the first catalogue ID that ID in the Virtual File System is the new files.
The Virtual File System is the database by traversing 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 second of the new files of the detection of mobile terminal 11 in the disk of the mobile terminal 11 The information that whether there is 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 referring to fig. 2, is the implementation process schematic diagram for the document handling method that the embodiment of the present application two provides, this document processing Method is applied to mobile terminal, and this document processing method as shown in the figure may comprise steps of:
Step S201 receives the information of new files, wherein the information of the new files is sent by external equipment 's.
In the embodiment of the present application, external equipment is after creating the file in mobile terminal, 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 detects the information that whether there is the new files in the Virtual File System of 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 the database by traversing 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 inspection It whether there is under the catalogue that the ID surveyed in the Virtual File System of the mobile terminal is the first catalogue ID of the new files The information of the new files, if so, determining the information of the existing new files in the Virtual File System, no longer Execute subsequent 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, which is stored into the Virtual File System, refers to that the information by the new files is stored to the void In quasi- file system under catalogue of the ID for the first catalogue ID of the new files.
Optionally, the mobile terminal and the external equipment are in media transmission protocol MTP connection mode.
In the embodiment of the present application, when the mobile terminal is established MTP with external equipment and connect, the external equipment can be with Check the file in mobile terminal.The external equipment is not the file in the disk for directly access the mobile terminal, and It is the file in the Virtual File System accessed by the Disk Mapping of the mobile terminal, i.e. external equipment is set to the outside When file in standby shown mobile terminal is operated, be file in the Virtual File System to the mobile terminal into Row operation.
After storing the information of the new files 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 same file Second file ID) and file ID (i.e. the first file ID) in the Virtual File System be set as 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 set as different.
The information of the new files is stored the new files into the disk of the mobile terminal by step S203 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 catalogue of the second catalogue ID 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 there are the information of the new files under the catalogue, prompt user that should create Whether the information of file is existing, and prompt to be covered, and executes corresponding operation according to the user's choice;If under the catalogue not There are the information of the new files, 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 second that ID is the new files Under the catalogue of catalogue ID, and the information of the new files is updated, such as can will be 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 repaired It is changed to the second file ID of the new files, 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 title, the size of the new files, creation Date etc. can remain unchanged, and can also modify the title of the new files according to the needs of users.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 detecting the preservation instruction that user sends, after saving modification The new files title.
The embodiment of the present application by after receiving the information of new files, according in the information of the new files this 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, thus 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, this document processing referring to Fig. 3 Method is applied to mobile terminal, and this document processing method as shown in the figure may comprise steps of:
Step S301 receives the information of new files, wherein the information of the new files is sent by external equipment 's.
The step is identical as step S201, and for details, reference can be made to the associated descriptions of step S201, and details are not described herein.
Step S302 detects the information that whether there is the new files in the Virtual File System of mobile terminal, 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 traversing 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 that the ID in the Virtual File System for detecting the mobile terminal is the first catalogue ID of the new files whether There are the information of the new files, if so, determine the information of the existing new files in the Virtual File System, No longer execute subsequent 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 that the information by the new files is stored to institute It states under the catalogue of the first catalogue ID that ID in Virtual File System is the new files.
Optionally, the mobile terminal and the external equipment are in media transmission protocol MTP connection mode.
In the embodiment of the present application, when the mobile terminal is established MTP with external equipment and connect, the external equipment can be with Check the file in mobile terminal.The external equipment is not the file in the disk for directly access the mobile terminal, and It is the file in the Virtual File System accessed by the Disk Mapping of the mobile terminal, i.e. external equipment is set to the outside When file in standby shown mobile terminal is operated, be file in the Virtual File System to the mobile terminal into Row operation.
After storing the information of the new files 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 same file Second file ID) and file ID (i.e. the first file ID) in the Virtual File System be set as 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 set as 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 of the uniqueness of characterization 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, detecting 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 catalogue of the second catalogue ID 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 there are the information of the new files under the catalogue, prompt user that should create Whether the information of file is existing, and prompt to be covered, and executes corresponding operation according to the user's choice;If under the catalogue not There are the information of the new files, 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 second that ID is the new files Under the catalogue of catalogue ID, and the information of the new files is updated, such as can will be 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 repaired It is changed to the second file ID of the new files, 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 title, the size of the new files, creation Date etc. can remain unchanged, and can also modify the title of the new files according to the needs of users.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 detecting the preservation instruction that user sends, after saving 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 in the disk for accessing the mobile terminal and own The solicited message of file is also possible to access the solicited message of new files described in the disk of the mobile terminal, herein not It limits.
The embodiment of the present application by after receiving the information of new files, according in the information of the new files this 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, thus 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.
It referring to fig. 4, is that the schematic diagram of mobile terminal that the embodiment of the present application four provides illustrates only for ease of description Part relevant 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 whether there is the letter of the new files in the Virtual File System for detecting mobile terminal Breath, if it is not, then storing 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 traversing the Disk Mapping of the mobile terminal, and the first catalogue ID of the new files is described new The ID of file affiliated catalogue in the external equipment is built, 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 storing the information of the new files It builds under the second catalogue of file.
Optionally, the processing module 42 is specifically used for:
Using the difference of the first catalogue ID of the new files and default bias amount as the second mesh of the new files Record ID;
The mobile terminal further include:
Display module 44, for when receiving the accessing request information to the disk of the mobile terminal, described new It builds under the second catalogue of file and shows the information of the new files;
The memory module 43 is specifically used for:
It detects 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 and the external equipment are in media transmission protocol MTP connection mode.
Fig. 5 is the schematic diagram for the mobile terminal that the embodiment of the present application five provides.The mobile terminal as shown in the figure 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 Equipment 503 and memory 504 are connected by bus 505 out.Memory 504 for storing instruction, deposit for executing by processor 501 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 The database of the Disk Mapping of the mobile terminal is gone through, 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, is also used 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 and the external equipment are in media transmission protocol MTP connection mode.
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, thereby executing various function application and data processing, by the newly-built text The information of part stores under the second catalogue of the new files into the disk of the mobile terminal.
It should be appreciated that in the embodiment of the present application, the processor 501 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 502 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone, data receiver interface etc..Output equipment 503 may include display (LCD etc.), loudspeaker, data Transmission interface etc..
The memory 504 may include read-only memory 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 described in the embodiment of the present application, 503 and of output equipment Implementation described in the embodiment of document handling method provided by the embodiments of the present application can be performed in memory 504, can also Implementation described in mobile terminal described in example IV is executed, details are not described herein.
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 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 executing the computer program 62 in above-mentioned each document handling method embodiment The step of, such as step S201 to S203 shown in Fig. 2.Alternatively, reality when the processor 60 executes 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.
Illustratively, 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 executed by the processor 60, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which 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 It is cut into information receiving module, processing module, memory module and display module, 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 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 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 traversing 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 storing the information of the new files Under second catalogue of file.
Optionally, the processing module is specifically used for:
Using the difference of the first catalogue ID of the new files and default bias amount as the second mesh of the new files Record ID;
The mobile terminal further include:
Display module, for being created described 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 file;
The memory module is specifically used for:
It detects 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 and the external equipment are in media transmission protocol MTP connection mode.
The mobile terminal 6 can be the calculating such as desktop PC, notebook, palm PC and cloud server and 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 does not constitute the restriction to mobile terminal 6, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, 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 or other programmable logic device, discrete gate or Transistor logic, discrete hardware components etc..General processor can be microprocessor or the processor is also possible to appoint What conventional processor etc..
The memory 61 can be the internal storage unit of the mobile terminal 6, such as the hard disk or interior of mobile terminal 6 It deposits.The memory 61 is also possible to the External memory equipment of the mobile terminal 6, such as be equipped on 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 for storing 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 according to need and by above-mentioned function distribution by different functional units, mould Block is completed, i.e., the internal structure of the mobile terminal is divided into different functional unit or module, described above to complete All or part of function.Each functional unit in embodiment, module can integrate in one processing unit, be also possible to each A unit physically exists alone, and can also be integrated in one unit with two or more units, and above-mentioned integrated unit was both It can take the form of hardware realization, can also realize in the form of software functional units.In addition, each functional unit, module Specific name be also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Unit in above system, The specific work process of module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, 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 can pass through it Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list Member division, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown The mutual coupling or direct-coupling or communication connection shown or discussed can be through some interfaces, between device or unit Coupling or communication connection are connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on 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 certain intermediate forms etc..The computer-readable medium It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice Subtract, such as does not include electric carrier signal and electricity according to legislation and patent practice, computer-readable medium in certain jurisdictions Believe signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Comprising within the scope of protection of this application.

Claims (10)

1. a kind of document handling method, which is characterized in that the document handling method includes:
Receive the information of new files, wherein the information of the new files is that external equipment is being detected to mobile terminal Carry out transmission when new file operation;
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 traversing the shifting The database of the Disk Mapping of dynamic terminal, the first catalogue ID of the new files is 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;
Under the second catalogue that the information of the new files is stored to the new files into the disk of the mobile terminal, And update the information of the new files;
Include: with the presence or absence of the information of the new files in the Virtual File System of the detection mobile terminal
Detecting under the catalogue for the first catalogue ID that the ID in the Virtual File System of the mobile terminal is the new files is It is no that there are the information of the new files.
2. document handling method as described in claim 1, which is characterized 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:
Using the difference of the first catalogue ID of the new files and default bias amount as the second catalogue ID of the new files.
3. document handling method as described in claim 1, which is characterized in that storing the information of the new files to described After under second catalogue of the new files in the disk of mobile terminal, further includes:
When receiving the accessing request information to the disk of the mobile terminal, shown under the second catalogue of the new files Show the information of the new files.
4. document handling method as described in claim 1, which is characterized 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
It detects 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. such as the described in any item document handling methods of Claims 1-4, which is characterized in that the mobile terminal and described outer Portion's equipment is in media transmission protocol MTP connection mode.
6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Information receiving module, for receiving the information of new files, wherein the information of the new files is that external equipment exists Detect transmission when to mobile terminal progress new file operation;
Processing module 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 traversing the Disk Mapping of 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 are the new files described mobile whole 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 into the disk of the mobile terminal The second catalogue under, and update the information of the new files;
The processing module is specifically used for:
Detecting under the catalogue for the first catalogue ID that the ID in the Virtual File System of the mobile terminal is the new files is It is no that there are the information of the new files.
7. mobile terminal as claimed in claim 6, which is characterized in that the processing module is specifically used for:
Using the difference of the first catalogue ID of the new files and default bias amount as the second catalogue ID of the new files;
The mobile terminal further include:
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:
It detects 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, which is characterized in that the mobile terminal is in the external equipment Media transmission protocol MTP connection mode.
9. a kind of mobile terminal, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program The step of any one document handling method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and 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 CN107506494A (en) 2017-12-22
CN107506494B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376126B (en) * 2018-09-26 2021-01-15 Oppo广东移动通信有限公司 File or folder processing method, mobile terminal and storage medium
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
CN111291007B (en) * 2020-02-29 2022-07-19 苏州浪潮智能科技有限公司 File aggregation method, system, device and medium

Citations (5)

* 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
CN107168666A (en) * 2017-04-21 2017-09-15 陈景雄 The system and method for USB interface-based audio video transmission and multi-screen mapping

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10585861B2 (en) * 2016-02-12 2020-03-10 Red Hat, Inc. Overlay-based file tagging using virtual file systems

Patent Citations (5)

* 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
CN107168666A (en) * 2017-04-21 2017-09-15 陈景雄 The system and method for USB interface-based audio video transmission and multi-screen mapping

Also Published As

Publication number Publication date
CN107506494A (en) 2017-12-22

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
CN107193598A (en) One kind application startup method, mobile terminal and computer-readable recording medium
CN107451244A (en) File naming method, mobile terminal and computer-readable recording medium
CN110225104A (en) Data capture method, device and terminal device
CN107656966A (en) The method and server of a kind of processing data
CN108804175A (en) Multilingual adaptation method, mobile terminal and computer readable storage medium
CN109151337A (en) Recognition of face light compensation method, recognition of face light compensating apparatus and mobile terminal
CN108920704A (en) File access pattern method, file restoring device and mobile terminal
CN107679222A (en) Image processing method, mobile terminal and computer-readable recording medium
CN107332988A (en) Information processing method, mobile terminal and computer-readable recording medium
CN108366298A (en) Video broadcasting method, mobile terminal and computer readable storage medium
CN108520186A (en) Record screen method, mobile terminal and computer readable storage medium
CN108566334A (en) Householder method, terminal based on chat software and 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
CN107609119A (en) Document handling method, mobile terminal and computer-readable recording medium
CN108521460A (en) Information-pushing method, device, mobile terminal and computer readable storage medium
CN109298956A (en) Document transmission method, device and terminal device
CN109544587A (en) A kind of FIG pull handle method, apparatus and terminal device
CN109062476A (en) Menu treating method, mobile terminal and the computer readable storage medium of application
CN109492249A (en) Rapid generation, device and the terminal device of design drawing
CN109104481A (en) file integrity detection method, file integrity detection device and terminal device
WO2023066258A1 (en) Data processing method and apparatus for private data, computer device and medium

Legal Events

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

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