CN105915603B - File management method and device - Google Patents

File management method and device Download PDF

Info

Publication number
CN105915603B
CN105915603B CN201610232745.XA CN201610232745A CN105915603B CN 105915603 B CN105915603 B CN 105915603B CN 201610232745 A CN201610232745 A CN 201610232745A CN 105915603 B CN105915603 B CN 105915603B
Authority
CN
China
Prior art keywords
mobile device
file
network
connection
request message
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
CN201610232745.XA
Other languages
Chinese (zh)
Other versions
CN105915603A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610232745.XA priority Critical patent/CN105915603B/en
Publication of CN105915603A publication Critical patent/CN105915603A/en
Application granted granted Critical
Publication of CN105915603B publication Critical patent/CN105915603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure is directed to a kind of file management method and devices.The described method includes: receiving the request message that client device is used to manage the file of the mobile device storage, wherein carry the server domain name of the file server run in the mobile device in the request message;According to the request message, Xiang Suoshu client device returning response message, wherein carry the chained address of the mobile device file in the response message.When disclosed technique scheme can solve the driver for not having successfully to install mobile device in client device, it is impossible to manage mobile device file on a client device, lead to manage cumbersome, the problem of being not easy of file in mobile device.

Description

File management method and device
Technical field
This disclosure relates to network technique field more particularly to a kind of file management method and device.
Background technique
With the extensive use of mobile device (such as smart phone), user can be got by mobile device and for example be regarded Frequently, a variety of files such as picture, these files are stored in mobile device.When user wants for file to be saved on computer When, the file management mode that mobile device can be set is media transmission protocol (Media Transfer Protocol, MTP), Then the file in mobile device is managed on computers, but when in computer does not have that the driver of mobile device is successfully installed When, the file that user cannot will manage on computers in mobile device leads to manage the cumbersome, no of file in mobile device Easily, the experience that user uses mobile device is directly affected.
Summary of the invention
To overcome the problems in correlation technique, the embodiment of the present disclosure provides a kind of file management method and device, uses With solve the problems, such as management mobile device in store file it is cumbersome, be not easy.
According to the first aspect of the embodiments of the present disclosure, a kind of file management method is provided, using on the mobile apparatus, can be wrapped It includes:
Receive the request message that client device is used to manage the file of the mobile device storage, wherein the request The server domain name of the file server run in the mobile device is carried in message;
According to the request message, Xiang Suoshu client device returning response message, wherein carried in the response message There is the chained address of the mobile device file.
In one embodiment, the method may also include that
Operation is in the file server application program on backstage;
The corresponding server domain name of the file server application program is registered in the mobile device.
In one embodiment, described that the corresponding service of the file server application program is registered in the mobile device Device domain name, it may include:
The server domain name and IP address letter of the file server are added in the domain name list of the mobile device Breath.
In one embodiment, the method may also include that
Receive the operational order for setting current network connection type to WIFI hot spot and sharing network of user's triggering;
It controls the mobile device and network connection is switched to the connection that WIFI hot spot shares network;
IP address is distributed for the mobile device and with the client device for being connected to the WIFI hot spot.
In one embodiment, the method may also include that
Receive the operational order for setting current network connection type to USB and sharing network of user's triggering;
It controls the mobile device and network connection is switched to the connection that USB shares network;
IP address is distributed for the mobile device and the client device for sharing network with the mobile device.
According to the second aspect of an embodiment of the present disclosure, a kind of file management method is provided, it, can using on a client device Include:
The request message for managing the file that the mobile device stores is sent to mobile device, wherein the request The server domain name of the file server run in the mobile device is carried in message;
Receive the response message that the mobile device is returned according to the request message, wherein take in the response message The chained address of file with mobile device storage;
Manage the file that the chained address is linked to.
In one embodiment, the method may also include that
When receiving the instruction message of the shared network of the mobile device, controls the client device and access the shifting The shared network that dynamic equipment provides, wherein the shared network is that the WIFI hot spot shares network or USB shares network.
In one embodiment, the request sent to mobile device for managing the file that the mobile device stores disappears Breath, comprising:
The operation that the user is triggered by physical keyboard is received, or, passing through touch screen in the use of the client device The operation triggered on the interface of family;
The solicited message is generated according to the operation, and executes and described sends to mobile device for managing the movement The step of request message of the file of equipment storage.
According to the third aspect of an embodiment of the present disclosure, a kind of document management apparatus is provided, using on the mobile apparatus, can be wrapped It includes:
First receiving module is configured as receiving asking for file of the client device for managing the mobile device storage Seek message, wherein the server domain name of the file server run in the mobile device is carried in the request message;
First sending module is configured as the request message received according to first receiving module, Xiang Suoshu Client device returning response message, wherein the chained address of the mobile device file is carried in the response message.
In one embodiment, described device may also include that
Module is run, the file server application program that operation is in backstage is configured as;
Registration module is configured as registering the file server of the operation module operation in the mobile device The corresponding server domain name of application program.
In one embodiment, the registration module can include:
Submodule is added, is configured as adding the service of the file server in the domain name list of the mobile device Device domain name and IP address information.
In one embodiment, described device may also include that
Second receiving module, be configured as reception user's triggering sets WIFI hot spot for current network connection type The operational order of shared network;
First control module is configured as the operational order received according to second receiving module, controls institute It states mobile device and network connection is switched to the connection that WIFI hot spot shares network;
First distribution module is configured as controlling the mobile device for the network connection when first control module When being switched to the WIFI hot spot and sharing the connection of network, for the mobile device and with the visitor that is connected to the WIFI hot spot Family end equipment distributes IP address.
In one embodiment, described device may also include that
Third receiving module is configured as receiving setting USB for current network connection type and sharing for user's triggering The operational order of network;
Second control module is configured as the operational order received according to the third receiving module, controls institute It states mobile device and network connection is switched to the connection that USB shares network;
Second distribution module is configured as controlling the mobile device for the network connection when first control module When being switched to the connection of the shared network of the USB, it is the mobile device and shares the client of network with the mobile device End equipment distributes IP address.
According to a fourth aspect of embodiments of the present disclosure, a kind of document management apparatus is provided, it, can using on a client device Include:
Second sending module is configured as sending asking for the file for managing the mobile device storage to mobile device Seek message, wherein the server domain name of the file server run in the mobile device is carried in the request message;
4th receiving module, be configured as receiving the mobile device according to second sending module send described in ask The response message for asking message to return, wherein the chain ground connection of the file of the mobile device storage is carried in the response message Location;
Management module, be configured as managing carried in the response message that the 4th receiving module receives it is described The file that chained address is linked to.
In one embodiment, described device may also include that
AM access module is configured as controlling the visitor when receiving the instruction message of the shared network of the mobile device Family end equipment accesses the shared network that the mobile device provides, wherein the shared network is that the WIFI hot spot shares net Network or USB share network.
In one embodiment, second sending module can include:
Receiving submodule is configured as receiving the operation that the user is triggered by physical keyboard, or, being existed by touch screen The operation triggered in the user interface of the client device;
Submodule is generated, the operation received according to the receiving submodule is configured as and generates the request letter Breath, and the step of executing the request message sent to mobile device for managing the file that the mobile device stores.
According to a fifth aspect of the embodiments of the present disclosure, a kind of document management apparatus is provided, using on the mobile apparatus, can be wrapped It includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the request message that client device is used to manage the file of the mobile device storage, wherein the request The server domain name of the file server run in the mobile device is carried in message;
According to the request message, Xiang Suoshu client device returning response message, wherein carried in the response message There is the chained address of the mobile device file.
According to a sixth aspect of an embodiment of the present disclosure, a kind of document management apparatus is provided, it, can using on a client device Include:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The request message for managing the file that the mobile device stores is sent to mobile device, wherein the request The server domain name of the file server run in the mobile device is carried in message;
Receive the response message that the mobile device is returned according to the request message, wherein take in the response message The chained address of file with mobile device storage;
Manage the file that the chained address is linked to.
The technical scheme provided by this disclosed embodiment can include the following benefits: when user wants to set in client When the file stored in standby upper management mobile device, it can trigger client device to mobile device and send request message, and move Equipment receives request message Shi Kexiang client device returning response message, and mobile device text is carried in the response message The chained address of part, user clicks the chained address on a client device can execute corresponding management to mobile device file Operation, thus can be set to avoid there is no not managing movement in client device when the driver for successfully installing mobile device The problem of standby file, simplifies the operation of management mobile device file, optimizes the experience that user uses mobile device.
Also, by operating file server application in a mobile device, and corresponding server domain name is registered, it can So that mobile device provides the permission for the management file that file server can be provided to client device, client device is only This document server need to be may have access to by server domain name, and enjoy the permission of management mobile device file, simplify management The operation of mobile device file.
Network connection is switched to the connection that WIFI hot spot shares network by control mobile device, is the mobile device And IP address is distributed with the client device for being connected to the WIFI hot spot, allow client device to access mobile device Provided WIFI hot spot shares network, and then realizes that client device accesses the function of this document server by server domain name Energy.
By control mobile device will network connection be switched to USB share network connection, be mobile device and with shifting The client device of dynamic collaborative share network distributes IP address, and client device can be allowed to access mobile device and provided USB share network, and then realize that client device accesses the function of this document server by server domain name.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Figure 1A is the flow chart of file management method shown according to an exemplary embodiment.
Figure 1B is the scene figure of file management method shown according to an exemplary embodiment.
Fig. 2A is the flow chart according to the file management method shown in an exemplary embodiment one.
Fig. 2 B is the flow chart according to the step 201 shown in an exemplary embodiment one.
Fig. 3 A is the flow chart according to the file management method shown in an exemplary embodiment two.
Fig. 3 B is the flow chart according to the step 301 shown in an exemplary embodiment two.
Fig. 4 is the flow chart according to the file management method shown in an exemplary embodiment three.
Fig. 5 is the flow chart according to the file management method shown in an exemplary embodiment four.
Fig. 6 is a kind of block diagram of document management apparatus shown according to an exemplary embodiment.
Fig. 7 is the block diagram of another document management apparatus shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of document management apparatus shown according to an exemplary embodiment.
Fig. 9 is the block diagram of another document management apparatus shown according to an exemplary embodiment.
Figure 10 is a kind of block diagram suitable for document management apparatus shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Figure 1A is the flow chart of file management method shown according to an exemplary embodiment, and Figure 1B is exemplary according to one Implement the scene figure of the file management method exemplified;This document management method can apply mobile device (such as: intelligent hand Machine, tablet computer) on, as shown in Figure 1A, this document management method the following steps are included:
In a step 101, the request message that client device is used to manage the file of mobile device storage is received.
In one embodiment, the server domain name of the file server run in mobile device is carried in request message.
In one embodiment, file server is that can provide the server that file stores and accesses, for example, file service Device can be ftp server.
In a step 102, according to request message, to client device returning response message.
In one embodiment, the chained address of mobile device file is carried in response message.
In an exemplary scene, as shown in Figure 1B, network connection is switched to WIFI hot spot and shared by mobile device 11 It is mobile device 11 and the distribution IP address of client device 12 for accessing WIFI hot spot, thus client is set after the connection of network The WIFI hot spot that standby 12 accessible mobile device provides shares network;Then mobile device 11 can run the clothes of the file in backstage Business device application program.In the disclosure, client device 12 can send request message to mobile device 11, and mobile device 11 connects 12 returning response message of request message Shi Kexiang client device is received, carries mobile device file in the response message Chained address, user 13 clicks the chained address on a client device can execute corresponding management behaviour to mobile device file Make, such as views, deletes, copies, downloads, moving operation.
In another exemplary scene, as shown in Figure 1B, mobile device 11 passes through 11 connection client of USB data line connection Equipment 12, and mobile device 11 by network connection be switched to USB share network after, client device 12 can receive an access USB shares the prompt information of network, if user 13, which triggers client device 12 according to the prompt information, accesses the shared network of USB Request message, Dynamic Host Configuration Protocol server can for mobile device 11 USB interface distribute an IP address, such as 192.168.31.1, and The IP address in an IP address pond is distributed for client device 12, realizes that client device 12 accesses USB and shares network;Then Mobile device 11 can run the file server application program in backstage.In the disclosure, client device 12 can Xiang Yidong Equipment 11 sends request message, and mobile device 11 receives 12 returning response of request message Shi Kexiang client device and disappears It ceases, the chained address of mobile device file is carried in the response message, user 13 clicks chain ground connection on a client device Location can execute corresponding management operation to mobile device file.
In the present embodiment, client device sends request message to mobile device, and mobile device receives the request and disappears Shi Kexiang client device returning response message is ceased, the chained address of mobile device file, user are carried in the response message Corresponding management operation can be executed to mobile device file by clicking the chained address on a client device, thus can be to avoid There is no the problem of can not managing mobile device file when the driver for successfully installing mobile device in client device, simplifies The operation of management mobile device file optimizes the experience that user uses mobile device.
In one embodiment, method may also include that
Operation is in the file server application program on backstage;
The corresponding server domain name of registration file server application program in a mobile device.
In one embodiment, the corresponding server domain name of file server application program is registered in a mobile device, can be wrapped It includes:
The server domain name and IP address information of file server are added in the domain name list of mobile device.
In one embodiment, method may also include that
Receive the operational order for setting current network connection type to WIFI hot spot and sharing network of user's triggering;
Network connection is switched to the connection that WIFI hot spot shares network by control mobile device;
IP address is distributed for mobile device and with the client device for being connected to WIFI hot spot.
In one embodiment, method may also include that
Receive the operational order for setting current network connection type to USB and sharing network of user's triggering;
Network connection is switched to the connection that USB shares network by control mobile device;
IP address is distributed for mobile device and the client device for sharing network with mobile device.
Specifically how to realize file management, please refers to subsequent embodiment.
So far, the above method that the embodiment of the present disclosure provides may be implemented mobile device to client device and provide file The permission for the management file that server can be provided, has to client device and provides the permission of file-management services, client Equipment only need to may have access to this document server by server domain name, and enjoy the permission of management mobile device file, simplify The operation of management mobile device file.
The technical solution of embodiment of the present disclosure offer is provided below with specific embodiment.
Fig. 2A is according to the flow chart of the file management method shown in an exemplary embodiment one, and Fig. 2 B is according to an example The flow chart of step 201 shown in property embodiment one;The above method that the present embodiment utilizes the embodiment of the present disclosure to provide, with movement Network connection is switched to the connection of the shared network of WIFI hot spot and realizes that client device management mobile device file is by equipment Example illustrates, and as shown in Figure 2 A, includes the following steps:
In step 201, the WIFI hot spot that control client device access mobile device provides is shared in network.
In one embodiment, the detailed description of step 201 may refer to Fig. 2 B, as shown in Figure 2 B, include the following steps:
In step 211, the WIFI hot spot that sets current network connection type to for receiving user's triggering shares network Operational order.
In the step 212, network connection is switched to the connection that WIFI hot spot shares network by control mobile device.
In step 213, the DHCP service of mobile device is enabled.
In step 214, control DHCP service is that mobile device distributes IP address.
In step 215, it receives the connection that client device is sent and establishes request.
In the step 216, IP address is distributed for client device, so that client device access WIFI hot spot shares net Network.
In step 202, operation is in the file server application program on backstage.
In one embodiment, file server is that can provide the server that file stores and accesses, for example, file service Device can be ftp server.
In step 203, the corresponding server domain name of file server application program is registered in a mobile device.
In one embodiment, the corresponding server domain name of registration file server application program includes: in a mobile device The server domain name and IP address information of file server are added in the domain name list of mobile device.For example, if can be It is 192.168.31.1 that IP address is added in domain name list, and domain name is the registration information of share.ftp.phone.
In step 204, the request message that client device is used to manage the file of mobile device storage is received.
In one embodiment, the server domain name of the file server run in mobile device is carried in request message.
In one embodiment, when mobile device receives the request message of user access server, can inquiry field rank Table can directly forward request message if there are the registration informations of the server carried in request message in domain name list To corresponding server.
In one embodiment, if the file of the entitled mobile device running background of the server domain carried in request message takes The server domain name of business device, then will directly respond the request message by the file server in mobile device.
In step 205, according to request message, to client device returning response message.
In one embodiment, the chained address of mobile device file is carried in response message.
Property scene as an example illustrates, mobile device so that file server is ftp server as an example After network connection is switched to the shared network of WIFI hot spot, mobile device can be the client of mobile device and access WIFI hot spot Equipment distributes IP address, and the WIFI hot spot that thus client device can access that mobile device provides shares network;Then movement is set The standby ftp server application program that can run backstage starts ftp server, and ftp server domain name, such as Share.ftp.phone is registered in the domain name list of mobile device, user can be inputted in client device ftp: Share.ftp.phone accesses mobile device file.
In the present embodiment, network connection is switched to by the connection that WIFI hot spot shares network by control mobile device, is Mobile device and be connected to WIFI hot spot client device distribute IP address, allow client device to access movement WIFI hot spot provided by equipment shares network, and then realizes that client device accesses this document server by server domain name Function.
Fig. 3 A is according to the flow chart of the file management method shown in an exemplary embodiment two, and Fig. 3 B is according to an example Property embodiment two shown in step 301 flow chart, the present embodiment utilize the embodiment of the present disclosure provide the above method, with movement Network connection is switched to USB by equipment to be shared the connection of network and realizes and carry out for client device management mobile device file Exemplary illustration includes the following steps: as shown in Figure 2 A
In step 301, the USB that control client device access mobile device provides shares in network.
In one embodiment, client device needs to connect by USB data line with mobile device.
In one embodiment, the detailed description of step 301 may refer to Fig. 3 B, as shown in Figure 3B, include the following steps:
In step 311, the operation for setting current network connection type to USB and sharing network of user's triggering is received Instruction.
In step 312, network connection is switched to the connection that USB shares network by control mobile device.
In step 313, the DHCP service of mobile device is enabled.
In a step 314, control DHCP service is that mobile device distributes IP address.
In step 315, it receives the connection that client device is sent and establishes request.
In step 316, IP address is distributed for client device, so that client device access USB shares network.
In step 302, operation is in the file server application program on backstage.
In step 303, the corresponding server domain name of file server application program is registered in a mobile device.
In step 304, the request message that client device is used to manage the file of mobile device storage is received.
In one embodiment, the server domain name of the file server run in mobile device is carried in request message.
In step 305, according to request message, to client device returning response message.
In one embodiment, the chained address of mobile device file is carried in response message.
The detailed description of step 304 and step 305 may refer to the step 101 and step 102 of Figure 1A embodiment.
Property scene as an example illustrates, mobile device so that file server is ftp server as an example By USB data line connection 11 connection client devices, and mobile device by network connection be switched to USB share network after, visitor Family end equipment can receive the prompt information that an access USB shares network, if user triggers client according to the prompt information Equipment accesses the request message that USB shares network, and Dynamic Host Configuration Protocol server can distribute an IP address for the USB interface of mobile device, The IP address in an IP address pond is distributed such as 192.168.31.1, and for client device, realizes that client device accesses USB Shared network;Then mobile device can run the ftp server application program on backstage, start ftp server, and FTP service Device domain name, if share.ftp.phone is registered in the domain name list of mobile device, user can input in client device Ftp: share.ftp.phone accesses mobile device file.
In the present embodiment, network connection is switched to by the connection that USB shares network by control mobile device, is set for movement Client device that is standby and sharing network with mobile device distributes IP address, client device can be allowed to access movement USB provided by equipment shares network, and then realizes that client device accesses the function of this document server by server domain name Energy.
Fig. 4 is according to the flow chart of the file management method shown in an exemplary embodiment three, and this document management method can To apply on client device (such as: computer), as shown in figure 4, this document management method the following steps are included:
In step 401, the request message for managing the file that mobile device stores is sent to mobile device.
In one embodiment, the server domain name of the file server run in mobile device is carried in request message.
In step 402, the response message that mobile device is returned according to request message is received.
In one embodiment, the chained address of the file of mobile device storage is carried in response message.
In step 403, the file that management chained address is linked to.
In one embodiment, according to chained address, mobile device file can be checked;In another embodiment, according to link Address can delete mobile device file;In another embodiment, according to chained address, reproducible mobile device file;Another In embodiment, according to chained address, mobile device file can be downloaded;In another embodiment, according to chained address, moving should Under mobile device file to other storage catalogues.
It, as shown in Figure 1B, can after client device 12 accesses 11 shared networks of mobile device in an exemplary scene Request message is sent to mobile device 11, and the chained address in the response message returned according to mobile device 11 is realized to movement The management of device file.
In the present embodiment, the file server service that client device can be provided by mobile device is accessed in mobile device File, can be to avoid there is no that mobile device can not be managed when the driver for successfully installing mobile device in client device The problem of file, simplifies the operation of management mobile device file, optimizes the experience that user uses mobile device.
In one embodiment, method may also include that
When receiving the instruction message of the shared network of mobile device, control client device access mobile device is provided Shared network, wherein shared network is that WIFI hot spot shares network or USB shares network.
In one embodiment, the request message for managing the file that mobile device stores is sent to mobile device, can wrapped It includes:
The operation that user is triggered by physical keyboard is received, or, through touch screen in the user interface of client device The operation of triggering;
Solicited message is generated according to operation, executes and sends asking for the file for managing mobile device storage to mobile device The step of seeking message.
Fig. 5 is according to the flow chart of the file management method shown in an exemplary embodiment four, and the present embodiment utilizes this public affairs The above method for opening embodiment offer, illustrates, this document by taking client device management mobile device file as an example Management method the following steps are included:
In step 501, when receiving the instruction message of the shared network of mobile device, control client device access is moved The shared network that dynamic equipment provides.
In one embodiment, sharing network is that WIFI hot spot shares network or USB shares network.
In step 502, the operation that user is triggered by physical keyboard is received, or, by touch screen in client device User interface on the operation that triggers.
In step 503, solicited message is generated according to operation.
In step 504, the request message for managing the file that mobile device stores is sent to mobile device.
Wherein, the server domain name of the file server run in mobile device is carried in request message.
In step 505, the response message that mobile device is returned according to request message is received.
In one embodiment, the chained address of the file of mobile device storage is carried in response message.
In step 506, the file that management chained address is linked to.
The detailed description of step 504 to 506, which can refer to, is described in detail the step 401 that may refer to Fig. 4 embodiment to step 403。
In the present embodiment, client device can further pass through shifting by sharing network provided by access mobile device The server domain name of file server in dynamic equipment manages mobile device file, simplifies the behaviour of management mobile device file Make.
Corresponding with the embodiment of aforementioned document management method, the disclosure additionally provides the corresponding implementation of file management method Example.
Fig. 6 is a kind of block diagram of document management apparatus shown according to an exemplary embodiment, which applies in movement In equipment, as shown in fig. 6, the device includes:
First receiving module 610 is configured as receiving asking for file of the client device for managing mobile device storage Seek message, wherein the server domain name of the file server run in mobile device is carried in request message;
First sending module 620 is configured as the request message received according to the first receiving module 610, to client Equipment returning response message, wherein the chained address of mobile device file is carried in response message.
Fig. 7 is the block diagram of another document management apparatus shown according to an exemplary embodiment, as shown in fig. 7, in Fig. 6 On the basis of embodiment, in one embodiment, device may also include that
Module 630 is run, the file server application program that operation is in backstage is configured as;
Registration module 640 is configured as registering the file server application journey that operation module 630 is run in a mobile device The corresponding server domain name of sequence.
In one embodiment, registration module 640 can include:
Submodule 641 is added, is configured as adding the server domain of file server in the domain name list of mobile device Name and IP address information.
In one embodiment, device may also include that
Second receiving module 650, be configured as reception user's triggering sets WIFI for current network connection type Hot spot shares the operational order of network;
First control module 660 is configured as the operational order received according to the second receiving module, controls mobile device Network connection is switched to the connection that WIFI hot spot shares network;
First distribution module 670 is configured as being switched to network connection when the first control module control mobile device When WIFI hot spot shares the connection of network, IP is distributed for mobile device and with the client device for being connected to WIFI hot spot Location.
In one embodiment, device may also include that
Third receiving module 680 is configured as receiving setting USB for current network connection type and being total to for user's triggering Enjoy the operational order of network;
Second control module 690 is configured as the operational order received according to third receiving module, controls mobile device Network connection is switched to the connection that USB shares network;
Second distribution module 700 is configured as that network connection is switched to USB when the first control module control mobile device When the connection of shared network, IP address is distributed for mobile device and the client device for sharing network with mobile device.
Fig. 8 is a kind of block diagram of document management apparatus shown according to an exemplary embodiment, which can be applicable to visitor In the end equipment of family, as shown in figure 8, the device can include:
Second sending module 810 is configured as sending asking for the file for managing mobile device storage to mobile device Seek message, wherein the server domain name of the file server run in mobile device is carried in request message;
4th receiving module 820 is configured as receiving the request message that mobile device is sent according to the second sending module 810 The response message of return, wherein the chained address of the file of mobile device storage is carried in response message;
Management module 830 is configured as the chain ground connection carried in the response message that the 4th receiving module 820 of management receives The file that location is linked to.
Fig. 9 is the block diagram of another document management apparatus shown according to an exemplary embodiment, as shown in figure 9, in Fig. 8 On the basis of embodiment, in one embodiment, device may also include that
AM access module 840 is configured as when receiving the instruction message of the shared network of mobile device, and control client is set The shared network that standby access mobile device provides, wherein shared network is that WIFI hot spot shares network or USB shares network.
In one embodiment, the second sending module 810 can include:
Receiving submodule 811 is configured as receiving the operation that user is triggered by physical keyboard, or, existing by touch screen The operation triggered in the user interface of client device;
Submodule 812 is generated, the operation received according to receiving submodule 811 is configured as and generates solicited message, and hold Row sends the step of request message for managing the file that mobile device stores to mobile device.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein being used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying wound In the case that the property made is worked, it can understand and implement.
Figure 10 is a kind of block diagram suitable for document management apparatus shown according to an exemplary embodiment.For example, device 1000 can be smart phone, tablet computer, personal digital assistant etc..
Referring to Fig.1 0, device 1000 may include following one or more components: processing component 1002, memory 1004, Power supply module 1006, multimedia component 1008, audio component 1010, the interface 1012 of input/output (I/O), sensor module 1014 and communication component 1010.
The integrated operation of the usual control device 1000 of processing component 1002, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing element 1002 may include one or more processors 1020 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1002 may include one or more moulds Block, convenient for the interaction between processing component 1002 and other assemblies.For example, processing component 1002 may include multi-media module, To facilitate the interaction between multimedia component 1008 and processing component 1002.
Memory 1004 is configured as storing various types of data to support the operation in equipment 1000.These data Example includes the instruction of any application or method for operating on device 1000, contact data, telephone book data, Message, picture, video etc..Memory 1004 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1006 provides electric power for the various assemblies of device 1000.Electric power assembly 1006 may include power management System, one or more power supplys and other with for device 1000 generate, manage, and distribute the associated component of electric power.
Multimedia component 1008 includes the screen of one output interface of offer between device 1000 and user.Some In embodiment, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen It may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensors To sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, But also detection duration and pressure relevant to touch or slide.In some embodiments, multimedia component 1008 Including a front camera and/or rear camera.When equipment 1000 is in operation mode, such as screening-mode or video mode When, front camera and/or rear camera can receive external multi-medium data.Each front camera and postposition camera shooting Head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1010 is configured as output and/or input audio signal.For example, audio component 1010 includes a wheat Gram wind (MIC), when device 1000 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1004 or via communication Component 1010 is sent.In some embodiments, audio component 1010 further includes a loudspeaker, is used for output audio signal.
I/O interface 1012 provides interface, above-mentioned peripheral interface module between processing component 1002 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1014 includes one or more sensors, and the state for providing various aspects for device 1000 is commented Estimate.For example, sensor module 1014 can detecte the state that opens/closes of equipment 1000, the relative positioning of component, such as group Part is the display and keypad of device 1000, and sensor module 1014 can be with 1,000 1 groups of detection device 1000 or device The position change of part, the existence or non-existence that user contacts with device 1000,1000 orientation of device or acceleration/deceleration and device 1000 temperature change.Sensor module 1014 may include proximity sensor, be configured to connect in not any physics It is detected the presence of nearby objects when touching.Sensor module 1014 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1010 is configured to facilitate the communication of wired or wireless way between device 1000 and other equipment.Dress The wireless network based on communication standard, such as WIFI can be accessed by setting 1000,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1010 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, communication component 1010 further includes near-field communication (NFC) module, to promote short range communication. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1000 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1004 of instruction, above-metioned instruction can be executed by the processor 1020 of device 1000 to complete the above method.Example Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
Specific structure suitable for client device can be found in block diagram shown in Fig. 10 and corresponding description, here no longer It is described in detail.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (18)

1. a kind of file management method, using on the mobile apparatus, which is characterized in that the described method includes:
Receive the request message that client device is used to manage the file of the mobile device storage, wherein the request message In carry the server domain name of the ftp file server run in the mobile device;
According to the request message, Xiang Suoshu client device returning response message, wherein carried in the response message State the chained address of mobile device file;
The connection for having WIFI hot spot to share network is established between the client device and the mobile device or USB shares net The connection of network.
2. the method according to claim 1, wherein the method also includes:
Operation is in the file server application program on backstage;
The corresponding server domain name of the file server application program is registered in the mobile device.
3. according to the method described in claim 2, it is characterized in that, described register the file service in the mobile device The corresponding server domain name of device application program, comprising:
The server domain name and IP address information of the file server are added in the domain name list of the mobile device.
4. the method according to claim 1, wherein the method also includes:
Receive the operational order for setting current network connection type to WIFI hot spot and sharing network of user's triggering;
It controls the mobile device and network connection is switched to the connection that WIFI hot spot shares network;
IP address is distributed for the mobile device and with the client device for being connected to the WIFI hot spot.
5. the method according to claim 1, wherein the method also includes:
Receive the operational order for setting current network connection type to USB and sharing network of user's triggering;
It controls the mobile device and network connection is switched to the connection that USB shares network;
IP address is distributed for the mobile device and the client device for sharing network with the mobile device.
6. a kind of file management method, using on a client device, which is characterized in that the described method includes:
The request message for managing the file that the mobile device stores is sent to mobile device, wherein the request message In carry the server domain name of the ftp file server run in the mobile device;
Receive the response message that the mobile device is returned according to the request message, wherein carry in the response message The chained address of the file of the mobile device storage;
Manage the file that the chained address is linked to;
The connection for having WIFI hot spot to share network is established between the client device and the mobile device or USB shares net The connection of network.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
When receiving the instruction message of the shared network of the mobile device, controls the client device access movement and set The standby shared network provided, wherein the shared network is that the WIFI hot spot shares network or USB shares network.
8. according to the method described in claim 6, it is characterized in that, described send to mobile device sets for managing the movement The request message of the file of standby storage, comprising:
The operation that user is triggered by physical keyboard is received, or, through touch screen in the user interface of the client device The operation of triggering;
The request message is generated according to the operation, and executes and described sends to mobile device for managing the mobile device The step of request message of the file of storage.
9. a kind of document management apparatus, using on the mobile apparatus, which is characterized in that described device includes:
First receiving module, the request for being configured as receiving the file that client device is used to manage the mobile device storage disappear Breath, wherein the server domain name of the ftp file server run in the mobile device is carried in the request message;
First sending module is configured as the request message received according to first receiving module, Xiang Suoshu client End equipment returning response message, wherein the chained address of the mobile device file is carried in the response message;
The connection for having WIFI hot spot to share network is established between the client device and the mobile device or USB shares net The connection of network.
10. device according to claim 9, which is characterized in that described device further include:
Module is run, the file server application program that operation is in backstage is configured as;
Registration module is configured as registering the file server application of the operation module operation in the mobile device The corresponding server domain name of program.
11. device according to claim 10, which is characterized in that the registration module includes:
Submodule is added, is configured as adding the server domain of the file server in the domain name list of the mobile device Name and IP address information.
12. device according to claim 9, which is characterized in that described device further include:
Second receiving module is configured as receiving setting WIFI hot spot for current network connection type and sharing for user's triggering The operational order of network;
First control module is configured as the operational order received according to second receiving module, controls the shifting Network connection is switched to the connection that WIFI hot spot shares network by dynamic equipment;
First distribution module is configured as switching the network connection when first control module controls the mobile device When sharing the connection of network for the WIFI hot spot, for the mobile device and with the client that is connected to the WIFI hot spot Equipment distributes IP address.
13. device according to claim 9, which is characterized in that described device further include:
Third receiving module, the USB that sets current network connection type to for being configured as receiving user's triggering share network Operational order;
Second control module is configured as the operational order received according to the third receiving module, controls the shifting Network connection is switched to the connection that USB shares network by dynamic equipment;
Second distribution module is configured as switching the network connection when second control module controls the mobile device When sharing the connection of network for the USB, set for the mobile device and the client for sharing network with the mobile device Back-up matches IP address.
14. a kind of device of file management, using on a client device, which is characterized in that described device includes:
Second sending module is configured as disappearing to the request that mobile device is sent for managing the file that the mobile device stores Breath, wherein the server domain name of the ftp file server run in the mobile device is carried in the request message;
4th receiving module, is configured as receiving the mobile device and is disappeared according to the request that second sending module is sent Cease the response message returned, wherein the chained address of the file of the mobile device storage is carried in the response message;
Management module is configured as managing the link carried in the response message that the 4th receiving module receives The file that address is linked to;
The connection for having WIFI hot spot to share network is established between the client device and the mobile device or USB shares net The connection of network.
15. device according to claim 14, which is characterized in that described device further include:
AM access module is configured as controlling the client when receiving the instruction message of the shared network of the mobile device Equipment accesses the shared network that the mobile device provides, wherein the shared network be the WIFI hot spot share network or Person USB shares network.
16. device according to claim 14, which is characterized in that second sending module includes:
Receiving submodule is configured as receiving the operation that user is triggered by physical keyboard, or, by touch screen in the client The operation triggered in the user interface of end equipment;
Submodule is generated, the operation received according to the receiving submodule is configured as and generates the request message, and The step of executing the request message sent to mobile device for managing the file that the mobile device stores.
17. a kind of document management apparatus, using on the mobile apparatus, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the request message that client device is used to manage the file of the mobile device storage, wherein the request message In carry the server domain name of the ftp file server run in the mobile device;
According to the request message, Xiang Suoshu client device returning response message, wherein carried in the response message State the chained address of mobile device file;
The connection for having WIFI hot spot to share network is established between the client device and the mobile device or USB shares net The connection of network.
18. a kind of document management apparatus, using on a client device, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The request message for managing the file that the mobile device stores is sent to mobile device, wherein the request message In carry the server domain name of the ftp file server run in the mobile device;
Receive the response message that the mobile device is returned according to the request message, wherein carry in the response message The chained address of the file of the mobile device storage;
Manage the file that the chained address is linked to;
The connection for having WIFI hot spot to share network is established between the client device and the mobile device or USB shares net The connection of network.
CN201610232745.XA 2016-04-14 2016-04-14 File management method and device Active CN105915603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610232745.XA CN105915603B (en) 2016-04-14 2016-04-14 File management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610232745.XA CN105915603B (en) 2016-04-14 2016-04-14 File management method and device

Publications (2)

Publication Number Publication Date
CN105915603A CN105915603A (en) 2016-08-31
CN105915603B true CN105915603B (en) 2019-09-10

Family

ID=56746214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610232745.XA Active CN105915603B (en) 2016-04-14 2016-04-14 File management method and device

Country Status (1)

Country Link
CN (1) CN105915603B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991176A (en) * 2017-04-06 2017-07-28 广州视源电子科技股份有限公司 File management method, device, equipment and storage medium
CN109165000A (en) * 2018-10-29 2019-01-08 深圳市元征科技股份有限公司 A kind of method, system and the associated component of data transmission

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202222017U (en) * 2011-08-29 2012-05-16 中兴通讯股份有限公司 Communication system
CN103298147A (en) * 2013-05-30 2013-09-11 北京奇虎科技有限公司 Method, device and system for realizing wireless management of mobile terminals on computing device side
CN103473198A (en) * 2013-09-13 2013-12-25 吴涛 Method for sharing and transmitting files between mobile terminals
CN103687059A (en) * 2013-11-21 2014-03-26 北京奇虎科技有限公司 Method and device for establishing connection between computing device and mobile device
CN103686293A (en) * 2013-12-30 2014-03-26 天津三星电子有限公司 Television control terminal and data transmission connection establishing method
CN104378435A (en) * 2014-11-20 2015-02-25 北京安奇智联科技有限公司 Method for transmitting file between browser of computing device and mobile terminal
CN104394208A (en) * 2014-11-20 2015-03-04 北京安奇智联科技有限公司 File transmission method and server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202222017U (en) * 2011-08-29 2012-05-16 中兴通讯股份有限公司 Communication system
CN103298147A (en) * 2013-05-30 2013-09-11 北京奇虎科技有限公司 Method, device and system for realizing wireless management of mobile terminals on computing device side
CN103473198A (en) * 2013-09-13 2013-12-25 吴涛 Method for sharing and transmitting files between mobile terminals
CN103687059A (en) * 2013-11-21 2014-03-26 北京奇虎科技有限公司 Method and device for establishing connection between computing device and mobile device
CN103686293A (en) * 2013-12-30 2014-03-26 天津三星电子有限公司 Television control terminal and data transmission connection establishing method
CN104378435A (en) * 2014-11-20 2015-02-25 北京安奇智联科技有限公司 Method for transmitting file between browser of computing device and mobile terminal
CN104394208A (en) * 2014-11-20 2015-03-04 北京安奇智联科技有限公司 File transmission method and server

Also Published As

Publication number Publication date
CN105915603A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
JP6159896B2 (en) SMART DEVICE BINDING METHOD AND DEVICE, PROGRAM, AND RECORDING MEDIUM
JP6214812B2 (en) Transfer processing method and apparatus
CN106375479B (en) Data sharing method and device
CN104684048B (en) WIFI list shows method and apparatus
KR101723556B1 (en) Method, device, program and recording medium for deleting smart scene
EP2975821B1 (en) Network connection method and apparatus
CN105337747B (en) Group history message treatment method and device
KR20160077011A (en) Method and apparatus for adjusting operating status of smart home device
CN106487622A (en) Equipment control sharing method and device
CN105119790B (en) Apparatus control method and device
CN106254467A (en) Sharing files method and device
CN105516508A (en) Method and device for activating virtual SIM card
CN105430715B (en) Control the method and device of WIFI scanning
JP6556832B2 (en) Wireless access point control method, apparatus, program, and recording medium
CN105610700A (en) Group creating method and apparatus and electronic device
CN107391063A (en) Method for information display, device and computer-readable recording medium
CN107370772A (en) Account login method, device and computer-readable recording medium
JP6321193B2 (en) Equipment control method and apparatus
CN110061904B (en) Method, device and system for acquiring social information, electronic equipment and storage medium
CN106385351A (en) Control method and device of intelligent household equipment
CN105208176B (en) Contact person record processing method and processing device
CN105933465B (en) Access the method and device of wireless network
CN106600367A (en) Order information processing method and order information processing device
CN109922098A (en) A kind of content share method, device and the device for content share
CN105915603B (en) File management 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
GR01 Patent grant
GR01 Patent grant