CN104317911A - File uploading method and device - Google Patents

File uploading method and device Download PDF

Info

Publication number
CN104317911A
CN104317911A CN201410584971.5A CN201410584971A CN104317911A CN 104317911 A CN104317911 A CN 104317911A CN 201410584971 A CN201410584971 A CN 201410584971A CN 104317911 A CN104317911 A CN 104317911A
Authority
CN
China
Prior art keywords
file
type
uploaded
select command
file type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410584971.5A
Other languages
Chinese (zh)
Inventor
刘道宽
杨春贺
唐尧
刘率
邢鑫岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410584971.5A priority Critical patent/CN104317911A/en
Publication of CN104317911A publication Critical patent/CN104317911A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The invention discloses a file uploading method and device. The method includes acquiring a request, for determining files to be uploaded, of uploading the files; determining the type of the files to be uploaded; querying the files with the type locally; outputting a file identifier corresponding to at least one queried file; receiving a first selecting command, including a target file identifier selected from the file identifiers corresponding to at least one queried file by a user, of the file identifier; uploading the files corresponding to the target file identifier to a network storage directory corresponding to the type of the files according to the target file identifier included by the first selecting command. The method is used for assisting the user in querying the files in the same type, and the file uploading efficiency is improved.

Description

The method of upload file and device
Technical field
The disclosure relates to communication and computer disposal field, particularly relates to method and the device of upload file.
Background technology
Along with the development of Internet technology, user can from the various information of interconnected online enquiries.Internet is that user provides abundant information resources.Further, along with the development of hardware, a lot of operation commercial city provides the service of net dish.The personal information of oneself can be stored into network by user.Like this, where no matter user walk, and can obtain the personal information of oneself easily, do not need to carry with memory device.
Inventor of the present disclosure finds, in correlation technique, user, when upload file, needs the first file needing to upload at local search.In this query script, user needs to enter one-level level catalogue, and may need repeatedly to repeat said process and could obtain the file that all needs upload.In this process, user operation is comparatively loaded down with trivial details, and efficiency is not high.Therefore, how more effective upload file is problem demanding prompt solution.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of method and device of upload file.
According to the first aspect of disclosure embodiment, a kind of method of upload file is provided, comprises:
Obtain the request of upload file, described request is used to specify file to be uploaded;
Determine the file type of described file to be uploaded;
There is at local search the file of described file type;
The file identification that at least one file inquired described in output is corresponding;
Receive for the first select command of described file identification, in described first select command, comprise the file destination mark that user chooses from file identification corresponding at least one file described;
According to the file destination mark that the first select command comprises, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment, when user needs upload file, filters out local All Files of the same type, selects to upload for user.Decrease the process of user's one-level level directory seek file, decrease the response of terminal to user's query script, improve the efficiency determining file to be uploaded, thus improve the efficiency of upload file.
In one embodiment, the described file type determining described file to be uploaded, comprising:
Output packet is containing the first information of the option of file type;
Receive the second select command of the option for file type of input;
The file type of described file to be uploaded is determined according to described second select command.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment can export several conventional file type option to user, selects for user.According to the file of the selection result inquiry corresponding document type of user, select the file needing to upload for user, improve the efficiency determining file to be uploaded, thus improve the efficiency of upload file.
In one embodiment, the described file type determining described file to be uploaded, comprising:
Obtain the request selecting network storage catalogue;
The file type corresponding according to the network storage catalogue selected determines the file type of described file to be uploaded.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the store path determination file type that the present embodiment can exist according to user, and according to the file of this file type queries corresponding document type, the file needing to upload is selected for user, improve the efficiency determining file to be uploaded, thus improve the efficiency of upload file.
In one embodiment, the described request obtaining selection network storage catalogue, comprising:
Output packet is containing the second information of file type option;
Receive the 3rd select command for file type of input;
The network storage catalogue corresponding with the file type selected is determined according to described 3rd select command.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment also can export prompting to user when user selects store path, is convenient to user's selection store path faster, can determine file type according to this selection simultaneously.According to the file of this file type queries corresponding document type, select the file needing to upload for user, improve the efficiency determining file to be uploaded, thus improve the efficiency of upload file.
In one embodiment, the described file type determining described file to be uploaded, comprising:
Receive the keyword of input;
The file type of described file to be uploaded is determined according to the described keyword received.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the present embodiment also supports that user inputs keyword to determine file type, is applicable to the situation of the file type not having user to need in the prompting exported.
According to the second aspect of disclosure embodiment, a kind of device of upload file is provided, comprises:
Request module, for obtaining the request of upload file, described request is used to specify file to be uploaded;
Type block, for determining the file type of the file described to be uploaded specified by described request module;
Enquiry module, for having the file of the determined file type of described type block at local search;
Output module, for exporting file identification corresponding at least one file that described enquiry module inquires;
Selecting module, for receiving the first select command of the file identification exported for described output module, in described first select command, comprising the file destination mark that user chooses from file identification corresponding at least one file described;
Upper transmission module, the file destination mark that the described selection module for comprising according to the first select command is chosen, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
In one embodiment, described type block comprises:
Prompting submodule, for first information of output packet containing file type option;
Chooser module, for receiving the second select command of the option of the file type exported for described prompting submodule of input;
First determines submodule, and the second select command for receiving according to described chooser module determines the file type of described file to be uploaded.
In one embodiment, described type block comprises:
Catalogue submodule, for obtaining the request selecting network storage catalogue;
Second determines submodule, determines the file type of described file to be uploaded for the file type corresponding according to the network storage catalogue of described catalogue submodule selection.
In one embodiment, described catalogue submodule output packet is containing the second information of file type option; Receive the 3rd select command for file type of input; The network storage catalogue corresponding with the file type selected is determined according to described 3rd select command.
In one embodiment, described type block comprises:
Keyword submodule, for receiving the keyword of input;
3rd determines submodule, and the file type of described file to be uploaded determined in the keyword for receiving according to described keyword submodule.
According to the third aspect of disclosure embodiment, a kind of device of upload file is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the request of upload file, described request is used to specify file to be uploaded;
Determine the file type of described file to be uploaded;
There is at local search the file of described file type;
The file identification that at least one file inquired described in output is corresponding;
Receive for the first select command of described file identification, in described first select command, comprise the file destination mark that user chooses from file identification corresponding at least one file described;
According to the file destination mark that the first select command comprises, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of the method for a kind of upload file according to an exemplary embodiment.
Fig. 2 is a kind of schematic diagram of pointing out interface according to an exemplary embodiment.
Fig. 3 is a kind of schematic diagram of pointing out interface according to an exemplary embodiment.
Fig. 4 is the process flow diagram of the method for a kind of upload file according to an exemplary embodiment.
Fig. 5 is the process flow diagram of the method for a kind of upload file according to an exemplary embodiment.
Fig. 6 is the block diagram of the device of a kind of upload file according to an exemplary embodiment.
Fig. 7 is the block diagram of a kind of type block according to an exemplary embodiment.
Fig. 8 is the block diagram of a kind of type block according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of type block according to an exemplary embodiment.
Figure 10 is the block diagram of a kind of device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
In correlation technique, if user needs to upload multiple video file, and under the plurality of video file is stored in different catalogues.User needs the catalogue entering into basecoat of one-level level, selects the video file needing to upload.Then exit this catalogue, again the catalogue entering into basecoat of one-level level, select the video file needing to upload.Need repeatedly to repeat said process could obtain the video file that all needs upload and upload.This process operation is comparatively loaded down with trivial details, affects the efficiency of upload file.
For solving this problem, the present embodiment first determines the file type of described file to be uploaded, and then inquiry has the All Files of this file type, selects for user.User only needs to select under this first class catalogue, decreases the operating process of one-level level directory, and terminal decreases the process of response user operation, improves the efficiency obtaining file and upload file.
Fig. 1 is the process flow diagram of the method for a kind of upload file according to an exemplary embodiment, and as shown in Figure 1, the method can be realized by mobile terminal, comprises the following steps:
In a step 101, obtain the request of upload file, described request is used to specify file to be uploaded.
In a step 102, the file type of described file to be uploaded is determined.
In step 103, there is at local search the file of described file type.
At step 104, the file identification that at least one file inquired described in output is corresponding.
In step 105, receive the first select command for described file identification, in described first select command, comprise the file destination mark that user chooses from file identification corresponding at least one file described.
In step 106, according to the file destination mark that the first select command comprises, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
The present embodiment, when user needs upload file, filters out the All Files of file type needed for user, selects for user.Decrease the process of user's one-level level directory seek file, decrease the response of terminal to user's query script, improve the efficiency determining file to be uploaded, thus improve the efficiency of upload file.
Need files passe on router for user.APP (application) for controlling router is housed in terminal.User opens this application, and this application can support that the configuration of routers and storage file are to functions such as routers.User comforms multi-functional middle selection route memory function.Terminal response selects the order of route memory function, and be equivalent to the request obtaining upload file in step 101, described request is used to specify file to be uploaded.Then terminal determines the file type of described file to be uploaded.And there is at local search the file of described file type.This query context can be whole terminal, also can certain storage card in terminal or disk, also can be certain file.This query context can be arranged by user, also can by terminal default setting.Then, the mark of the file inquired is exported to user by terminal, as shown in Figure 2.User can choose file to be uploaded, is equivalent to terminal in step 105 and receives the first select command for described file identification, comprises the file destination mark that user chooses from file identification corresponding at least one file described in described first select command.User selects the mode of file to be uploaded to be not limited to the mode shown in Fig. 2, and other selection mode is also applicable to the present embodiment.User clicks " completing " button, represents that selection is complete.Terminal is under the triggering clicking " completing " button, and files passe user chosen is to router.Under the file received is stored into the store path (or claiming storage directory) corresponding with the file type of this file by router.Wherein, router is configured with corresponding store path for different file types in advance.Router also can be that the file type of this file creates a store path and storage file when receiving file.
In step 103, after determining file type, there is by various ways inquiry the file of this file type.Mode 1: mated by the extension name of file.Such as, the extension name that video file is common has: .avi .mpeg .mpg .mpe .mlv .dat .m2v .vob .ra .rm .rmvb .mov .qt .asf .wmv .wmvhd .mkv .divx .xvid .mp4 .3gp .flv .f4v .ogm .m2ts .mts .ts .tp .trp .ask; The common extension name of audio file has: .mp3 .wma .acc .ac3 .ogg .flac .ape .m4a .amr .wav .pcm .mid .midi .mka .mpc .mp+ .cda .voc .aif .svx .snd .vqf; The common extension name of picture file has: .bmp .jpg .jpeg .png .gif .raw .GIFf .tga .pcx.By identifying the extension name of file, will sort out out with class file, easy-to-look-up.
Mode 2: mated by the coded format of file.Such as, the common coding of video file has: MEPG coded format, DivX/XviD form, H.264/X264 form, WMA-HD/VC-1 form; The common coding of audio file has: pcm encoder, WAVE coding, MP3 coding, OGG coding, MPC coding, mp3PRO coding, WMA coding, RA coding, APE coding; The establishment coding of picture file has: compressed encoding, run-length encoding, Huffman coding, dct transform coding, hybrid coding.By identifying the coded format of file, judge that file belongs to that type, they being sorted out of intelligence.
In one embodiment, step 102 can have multiple implementation, as mode A-mode C.
Mode A:
In steps A 1, output packet is containing the first information of file type option.
In steps A 2, receive the second select command of the option for file type of input.
In steps A 3, determine the file type of described file to be uploaded according to described second select command.
The option of several frequently seen file type can be exported in the present embodiment to user, select for user.Selection according to user can determine file type easily.
Such as, user selects route memory function after entering route application.Then this application exports the first information to user, as shown in Figure 3.Such as, the file type option that the first information comprises has video, music, picture and text.User can click the way selection that corresponding button or employing are chosen.Terminal response user button click or the process chosen are the process receiving the second select command in steps A 2.Just can determine the file type that user selects after the selection of terminal response user, accordingly inquiry file, Query Result can be shown in Figure 2.
Mode B:
In step bl is determined., the request selecting network storage catalogue is obtained.
In step B2, the file type corresponding according to the network storage catalogue selected determines the file type of described file to be uploaded.
In the present embodiment, user oneself can select the path that the file uploaded will store, and namely selects network storage catalogue.This network storage catalogue can be that router creates in advance, also can be that user creates temporarily.The corresponding file type of each network storage catalogue.User selects the process of network storage catalogue, namely can determine the memory location of file, can also determine file type.
Step B1 can also be realized by step B11-step B13.
In step B11, output packet is containing the second information of file type option.
In step B12, receive the 3rd select command for file type of input.
In step B13, determine the network storage catalogue corresponding with the file type selected according to described 3rd select command.
In the present embodiment, user is when selecting network storage catalogue, also can export the second information to user.For user's select File type.User can be helped fast to select network storage catalogue according to the file type that user selects.And select to determine file type during network storage catalogue, a multiple object of process implementation, further increases treatment effeciency.Second information can be shown in Figure 3.If a file type, to there being multiple network storage catalogue, can determine final network storage catalogue according to the selection of user.
Mode C:
In step C1, receive the keyword of input.
In step C2, determine the file type of described file to be uploaded according to the described keyword received.
The present embodiment can also support that user inputs keyword, determines file type accordingly.Such as, the keyword of user's input is video, then all forms of video are the file type that user determines.Or, after user's input video, the various file types of video are exported to user, are selected further by user.User also can direct input file type, as " .txt " etc.The present embodiment can also support fuzzy matching, and such as user does not have input video, but " film " of input.Terminal can determine that film is a kind of video, then determine that file type is video.
The information exported to user in mode A and mode B generally comprises the option of common several file types.If these options are not all user's file types to be selected, then user can adopt mode C.Several mode combines the demand that fully can meet user, is applicable to most of application scenarios.
In mode A-mode C, can also support that user selects multiple file type simultaneously.For multiple file type inquiry file, select for user.After files passe user selected is to router.Router carries out classification according to file type to the file received and stores.
The implementation procedure of upload file is introduced in detail below by several embodiment.
Fig. 4 is the process flow diagram of the method for a kind of upload file according to an exemplary embodiment, and as shown in Figure 4, the method can be realized by mobile terminal, comprises the following steps:
In step 401, the request of upload file is obtained.
In step 402, output packet is containing the first information of file type option.
In step 403, the second select command of the option for file type of input is received.
In step 404, the file type comprised according to the second select command has the file of this file type at local search.
In step 405, the mark of the file inquired is exported.
In a step 406, the first select command of the mark for file of input is received.
In step 407, according to the mark of the file that the first select command comprises, by the files passe of this mark correspondence under the network storage catalogue corresponding with the file type of this file.
The present embodiment achieves the information containing file type to user's output packet, selects for user.Then the file type selected according to user inquires about corresponding file, is again selected by user.When upload file, according to the file type of the file uploaded, classification is carried out to file and store.Storing process can not need the participation of user, reduces the operation of user.
Fig. 5 is the process flow diagram of the method for a kind of upload file according to an exemplary embodiment, and as shown in Figure 5, the method can be realized by mobile terminal, comprises the following steps:
In step 501, the request selecting network storage catalogue is obtained.
In step 502, output packet is containing the second information of file type option.
In step 503, the 3rd select command for file type of input is received.
In step 504, the network storage catalogue corresponding with the file type selected is determined according to described 3rd select command.
In step 505, there is at local search according to file type corresponding to network storage catalogue selected the file of this file type.
In step 506, the mark of the file inquired is exported.
In step 507, receive the first select command of the mark for file of input.
In step 508, according to the mark of the file that the first select command comprises, by the network storage catalogue of the files passe of this mark correspondence to described selection.
Support in the present embodiment that user selects network storage path, the process in selection network storage path is also the process of select File type.An operation obtains two effects, simplifies the operation of user, further increases the efficiency of upload file.
By being described above the implementation procedure of having separated upload file, this process is realized by mobile terminal, is introduced below for the inner structure of equipment and function.
Fig. 6 is the device schematic diagram of a kind of upload file according to an exemplary embodiment.With reference to Fig. 6, this device comprises: request module 601, type block 602, enquiry module 603, output module 604, selection module 605 and upper transmission module 606.
Request module 601, for obtaining the request of upload file, described request is used to specify file to be uploaded.
Type block 602, for determining the file type of the file described to be uploaded specified by described request module.
Enquiry module 603, for having the file of the determined file type of described type block at local search.
Output module 604, for exporting file identification corresponding at least one file that described enquiry module inquires.
Selecting module 605, for receiving the first select command of the file identification exported for described output module, in described first select command, comprising the file destination mark that user chooses from file identification corresponding at least one file described.
Upper transmission module 606, the file destination mark that the described selection module for comprising according to the first select command is chosen, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
In one embodiment, as shown in Figure 7, described type block 602 comprises: prompting submodule 6021, chooser module 6022 and first determine submodule 6023.
Prompting submodule 6021, for first information of output packet containing file type option.
Chooser module 6022, for receiving the second select command of the option of the file type exported for described prompting submodule of input.
First determines submodule 6023, and the second select command for receiving according to described chooser module determines the file type of described file to be uploaded.
In one embodiment, as shown in Figure 8, described type block 602 comprises: catalogue submodule 6024 and second determines submodule 6025.
Catalogue submodule 6024, for obtaining the request selecting network storage catalogue.
Second determines submodule 6025, determines the file type of described file to be uploaded for the file type corresponding according to the network storage catalogue of described catalogue submodule selection.
In one embodiment, described catalogue submodule 6024 output packet is containing the second information of file type option; Receive the 3rd select command for file type of input; The network storage catalogue corresponding with the file type selected is determined according to described 3rd select command.
In one embodiment, as shown in Figure 9, described type block 602 comprises: keyword submodule 6026 and the 3rd determines submodule 6027.
Keyword submodule 6026, for receiving the keyword of input.
3rd determines submodule 6027, and the file type of described file to be uploaded determined in the keyword for receiving according to described keyword submodule.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 10 is the block diagram of a kind of device 1000 for upload file according to an exemplary embodiment.Such as, device 1000 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 10, device 1000 can comprise following one or more assembly: processing components 1002, storer 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of I/O (I/O), sensor module 1014, and communications component 1016.
The integrated operation of the usual control device 1000 of processing components 1002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1002 can comprise one or more processor 1020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assemblies is mutual.Such as, processing element 1002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1008 and processing components 1002.
Storer 1004 is configured to store various types of data to be supported in the operation of equipment 1000.The example of these data comprises for any application program of operation on device 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1004 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 1006 is device 1000 provide electric power.Electric power assembly 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1000 and be associated.
Multimedia groupware 1008 is included in the screen providing an output interface between described device 1000 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1008 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1000 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1010 comprises a microphone (MIC), and when device 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1004 further or be sent via communications component 1016.In certain embodiments, audio-frequency assembly 1010 also comprises a loudspeaker, for output audio signal.
I/O interface 1012 is for providing interface between processing components 1002 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1014 comprises one or more sensor, for providing the state estimation of various aspects for device 1000.Such as, sensor module 1014 can detect the opening/closing state of equipment 1000, the relative positioning of assembly, such as described assembly is display and the keypad of device 1000, the position of an assembly of all right pick-up unit 1000 of sensor module 1014 or device 1000 changes, the presence or absence that user contacts with device 1000, the temperature variation of device 1000 orientation or acceleration/deceleration and device 1000.Sensor module 1014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1016 is configured to the communication being convenient to wired or wireless mode between device 1000 and other equipment.Device 1000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1004 of instruction, above-mentioned instruction can perform said method by the processor 1020 of device 1000.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A device for upload file, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the request of upload file, described request is used to specify file to be uploaded;
Determine the file type of described file to be uploaded;
There is at local search the file of described file type;
The file identification that at least one file inquired described in output is corresponding;
Receive for the first select command of described file identification, in described first select command, comprise the file destination mark that user chooses from file identification corresponding at least one file described;
According to the file destination mark that the first select command comprises, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
Described processor can also be configured to:
The described file type determining described file to be uploaded, comprising:
Output packet is containing the first information of file type option;
Receive the second select command of the option for file type of input;
The file type of described file to be uploaded is determined according to described second select command.
Described processor can also be configured to:
The described file type determining described file to be uploaded, comprising:
Obtain the request selecting network storage catalogue;
The file type corresponding according to the network storage catalogue selected determines the file type of described file to be uploaded.
Described processor can also be configured to:
The described request obtaining selection network storage catalogue, comprising:
Output packet is containing the second information of file type option;
Receive the 3rd select command for file type of input;
The network storage catalogue corresponding with the file type selected is determined according to described 3rd select command.
Described processor can also be configured to:
The described file type determining described file to be uploaded, comprising:
Receive the keyword of input;
The file type of described file to be uploaded is determined according to the described keyword received.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of method of upload file, described method comprises:
Obtain the request of upload file, described request is used to specify file to be uploaded;
Determine the file type of described file to be uploaded;
There is at local search the file of described file type;
The file identification that at least one file inquired described in output is corresponding;
Receive for the first select command of described file identification, in described first select command, comprise the file destination mark that user chooses from file identification corresponding at least one file described;
According to the file destination mark that the first select command comprises, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
Instruction in described storage medium can also comprise:
The described file type determining described file to be uploaded, comprising:
Output packet is containing the first information of file type option;
Receive the second select command of the option for file type of input;
The file type of described file to be uploaded is determined according to described second select command.
Instruction in described storage medium can also comprise:
The described file type determining described file to be uploaded, comprising:
Obtain the request selecting network storage catalogue;
The file type corresponding according to the network storage catalogue selected determines the file type of described file to be uploaded.
Instruction in described storage medium can also comprise:
The described request obtaining selection network storage catalogue, comprising:
Output packet is containing the second information of file type option;
Receive the 3rd select command for file type of input;
The network storage catalogue corresponding with the file type selected is determined according to described 3rd select command.
Instruction in described storage medium can also comprise:
The described file type determining described file to be uploaded, comprising:
Receive the keyword of input;
The file type of described file to be uploaded is determined according to the described keyword received.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a method for upload file, is characterized in that, comprising:
Obtain the request of upload file, described request is used to specify file to be uploaded;
Determine the file type of described file to be uploaded;
There is at local search the file of described file type;
The file identification that at least one file inquired described in output is corresponding;
Receive for the first select command of described file identification, in described first select command, comprise the file destination mark that user chooses from file identification corresponding at least one file described;
According to the file destination mark that the first select command comprises, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
2. the method for upload file according to claim 1, is characterized in that, the described file type determining described file to be uploaded, comprising:
Output packet is containing the first information of file type option;
Receive the second select command of the option for file type of input;
The file type of described file to be uploaded is determined according to described second select command.
3. the method for upload file according to claim 1, is characterized in that, the described file type determining described file to be uploaded, comprising:
Obtain the request selecting network storage catalogue;
The file type corresponding according to the network storage catalogue selected determines the file type of described file to be uploaded.
4. the method for upload file according to claim 3, is characterized in that, the described request obtaining selection network storage catalogue, comprising:
Output packet is containing the second information of file type option;
Receive the 3rd select command for file type of input;
The network storage catalogue corresponding with the file type selected is determined according to described 3rd select command.
5. the method for upload file according to claim 1, is characterized in that, the described file type determining described file to be uploaded, comprising:
Receive the keyword of input;
The file type of described file to be uploaded is determined according to the described keyword received.
6. a device for upload file, is characterized in that, comprising:
Request module, for obtaining the request of upload file, described request is used to specify file to be uploaded;
Type block, for determining the file type of the file described to be uploaded specified by described request module;
Enquiry module, for having the file of the determined file type of described type block at local search;
Output module, for exporting file identification corresponding at least one file that described enquiry module inquires;
Selecting module, for receiving the first select command of the file identification exported for described output module, in described first select command, comprising the file destination mark that user chooses from file identification corresponding at least one file described;
Upper transmission module, the file destination mark that the described selection module for comprising according to the first select command is chosen, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
7. the device of upload file according to claim 6, is characterized in that, described type block comprises:
Prompting submodule, for first information of output packet containing file type option;
Chooser module, for receiving the second select command of the option of the file type exported for described prompting submodule of input;
First determines submodule, and the second select command for receiving according to described chooser module determines the file type of described file to be uploaded.
8. the device of upload file according to claim 6, is characterized in that, described type block comprises:
Catalogue submodule, for obtaining the request selecting network storage catalogue;
Second determines submodule, determines the file type of described file to be uploaded for the file type corresponding according to the network storage catalogue of described catalogue submodule selection.
9. the device of upload file according to claim 8, is characterized in that, described catalogue submodule output packet is containing the second information of file type option; Receive the 3rd select command for file type of input; The network storage catalogue corresponding with the file type selected is determined according to described 3rd select command.
10. the device of upload file according to claim 6, is characterized in that, described type block comprises:
Keyword submodule, for receiving the keyword of input;
3rd determines submodule, and the file type of described file to be uploaded determined in the keyword for receiving according to described keyword submodule.
The device of 11. 1 kinds of upload files, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain the request of upload file, described request is used to specify file to be uploaded;
Determine the file type of described file to be uploaded;
There is at local search the file of described file type;
The file identification that at least one file inquired described in output is corresponding;
Receive for the first select command of described file identification, in described first select command, comprise the file destination mark that user chooses from file identification corresponding at least one file described;
According to the file destination mark that the first select command comprises, by files passe corresponding for described file destination mark in the network storage catalogue corresponding with described file type.
CN201410584971.5A 2014-10-27 2014-10-27 File uploading method and device Pending CN104317911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410584971.5A CN104317911A (en) 2014-10-27 2014-10-27 File uploading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410584971.5A CN104317911A (en) 2014-10-27 2014-10-27 File uploading method and device

Publications (1)

Publication Number Publication Date
CN104317911A true CN104317911A (en) 2015-01-28

Family

ID=52373143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410584971.5A Pending CN104317911A (en) 2014-10-27 2014-10-27 File uploading method and device

Country Status (1)

Country Link
CN (1) CN104317911A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683764A (en) * 2015-02-03 2015-06-03 青岛大学 3G remote transmission network camera based on FPGA (Field Programmable Gate Array) image compression technology
CN106294591A (en) * 2016-07-29 2017-01-04 北京金山安全软件有限公司 File storage method and device and electronic equipment
CN106934003A (en) * 2017-03-06 2017-07-07 宇龙计算机通信科技(深圳)有限公司 A kind of document handling method and mobile terminal
CN116992496A (en) * 2023-09-28 2023-11-03 武汉彤新科技有限公司 Data resource safety supervision system for enterprise service management

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002029A (en) * 2012-11-26 2013-03-27 北京百度网讯科技有限公司 Management method, system and client for uploaded files
US20130151638A1 (en) * 2011-12-13 2013-06-13 Huawei Technologies Co., Ltd. Method, apparatus, and system for transferring file to user of instant message system
CN103973693A (en) * 2014-05-14 2014-08-06 小米科技有限责任公司 Router accessing method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130151638A1 (en) * 2011-12-13 2013-06-13 Huawei Technologies Co., Ltd. Method, apparatus, and system for transferring file to user of instant message system
CN103002029A (en) * 2012-11-26 2013-03-27 北京百度网讯科技有限公司 Management method, system and client for uploaded files
CN103973693A (en) * 2014-05-14 2014-08-06 小米科技有限责任公司 Router accessing method, device and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
GUI_HAPPY: "手机百度网盘怎么上传文件", 《百度经验:HTTP://JINGYAN.BAIDU.COM/ARTICLE/948F59245BC828D80FF5F981.HTML》 *
ROBOTAI: "【最强Android路由器应用】小米路由器Android客户端全功能详解", 《HTTP://WWW.MIUI.COM/THREAD-1864253-1-1.HTML》 *
星空_809: "如何使用360手机云盘", 《百度经验:HTTP://JINGYAN.BAIDU.COM/ARTICLE/C843EA0B81E56D77931E4A0A.HTML》 *
蛋蛋K: "如何用手机百度云上传照片", 《百度经验:HTTP://JINGYAN.BAIDU.COM/ARTICLE/36D6ED1F5F22E71BCF4883E8.HTML》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683764A (en) * 2015-02-03 2015-06-03 青岛大学 3G remote transmission network camera based on FPGA (Field Programmable Gate Array) image compression technology
CN106294591A (en) * 2016-07-29 2017-01-04 北京金山安全软件有限公司 File storage method and device and electronic equipment
CN106934003A (en) * 2017-03-06 2017-07-07 宇龙计算机通信科技(深圳)有限公司 A kind of document handling method and mobile terminal
CN106934003B (en) * 2017-03-06 2021-01-15 宇龙计算机通信科技(深圳)有限公司 File processing method and mobile terminal
CN116992496A (en) * 2023-09-28 2023-11-03 武汉彤新科技有限公司 Data resource safety supervision system for enterprise service management
CN116992496B (en) * 2023-09-28 2023-12-29 武汉彤新科技有限公司 Data resource safety supervision system for enterprise service management

Similar Documents

Publication Publication Date Title
CN104159275B (en) Method for connecting network and device
CN104834665A (en) Target picture acquiring method and device
CN105487863A (en) Interface setting method and device based on scene
CN104820678A (en) Audio information recognition method and device
CN105183513A (en) Application recommendation method and apparatus
CN105550251A (en) Picture play method and device
CN104462296A (en) File managing method and device and terminal
CN104951443A (en) Wallpaper downloading method, wallpaper uploading method, server and terminal
CN106201734A (en) Sharing files method and device
CN104735670A (en) Network access method and device
CN105354017A (en) Information processing method and apparatus
CN105488374A (en) Unlocking method and device
CN105389113A (en) Gesture-based application control method and apparatus and terminal
CN105554064A (en) Method and device for setting head portrait
CN106535191A (en) Network connection establishing method and device
CN105302572A (en) Method and device for importing file into software
CN104317911A (en) File uploading method and device
CN104978113A (en) Dockbar processing method and apparatus
CN104320707A (en) Playback method and device of network video
CN105468775A (en) Method and device used for electronic explanation
CN105515923A (en) Equipment control method and device
CN105320768A (en) Search method and apparatus
CN104486295A (en) Audio playing method and device
CN104636064A (en) Gesture generating method and device
CN104375760A (en) Information display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150128