CN106161759A - The wireless storage method and system of mobile terminal - Google Patents
The wireless storage method and system of mobile terminal Download PDFInfo
- Publication number
- CN106161759A CN106161759A CN201510196922.9A CN201510196922A CN106161759A CN 106161759 A CN106161759 A CN 106161759A CN 201510196922 A CN201510196922 A CN 201510196922A CN 106161759 A CN106161759 A CN 106161759A
- Authority
- CN
- China
- Prior art keywords
- client
- mobile terminal
- nfs
- authentication
- address
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses the wireless storage method and system of a kind of mobile terminal, be applied to client and the mobile terminal serviced by support NFS NFS that short-range wireless networks connects, including: the NFS service of configuration mobile terminal;Mobile terminal receives the request command that client sends, and client carries out authentication and returns authentication result;After client is by authentication, it is allowed to described client carries out carry to respective directories.The present invention can solve the problem that in prior art, smart mobile phone needs install software and generate the problem that bibliographic structure realizes data transmission as wireless memory apparatus.
Description
Technical field
The present invention relates to wireless field of storage, particularly relate to a kind of wireless storage method of mobile terminal and be
System.
Background technology
Along with the development of smart mobile phone, smart mobile phone has become as everyone necessary now.Mesh
Before, the memory capacity of common smart mobile phone is all at more than 16GB, it is sufficient to meet the storage of people's daily file
Demand.Some people even can carry with the smart mobile phone of more than two.Therefore, increasing people
Start smart mobile phone as the memorizer carried with, use smart mobile phone to replace USB flash disk storage file,
Such as picture, video, office document etc., thus without carrying USB flash disk.People store data in certainly
On oneself smart mobile phone or others' smart mobile phone, the most convenient but also take full advantage of the storage of smart mobile phone
Resource.
In prior art, wirelessly can obtain the bibliographic structure of the mobile phone as storage device, so
Carried out the read-write of file afterwards by directory name, thus realize the mobile phone function as wireless memory apparatus.So
And, in the program, the mobile phone as storage device needs to install software to realize above-mentioned functions.And, should
The efficiency of scheme is not high enough, needs be read out passing as generation bibliographic structure on the mobile phone of storage device
Defeated.
Summary of the invention
In order to solve above-mentioned technical problem, the present invention provides a kind of wireless storage method of mobile terminal and is
System, being used for solving smart mobile phone in prior art needs install software and generate mesh as wireless memory apparatus
The problem that directory structures realizes data transmission.
In order to reach above-mentioned technical purpose, the present invention provides a kind of wireless storage method of mobile terminal, should
For support NFS (NFS, the Network File connected by short-range wireless networks
System) client serviced and mobile terminal, including: the NFS service of configuration mobile terminal;Institute
State mobile terminal and receive the request command that client sends, described client is carried out authentication and returns
Authentication result;After described client is by authentication, it is allowed to described client is to respective directories
Carry out carry.
Further, the NFS service of described configuration mobile terminal includes: by the procotol of client
(IP) address, mobile terminal share to the catalogue of described client and directory operation authority is added to moving
The NFS configuration file of dynamic terminal.
Further, described client is carried out authentication include: when IP address and the shifting of client
IP address in the NFS configuration file of dynamic terminal is consistent, and the request that the request command of client carries
When the mobile terminal that mount directory is included in NFS configuration file shares in the catalogue of described client,
Described authentication result is that client passes through authentication, when IP address and the mobile terminal of client
NFS configuration file in IP address inconsistent, or, the request mount directory of client does not includes
When mobile terminal in NFS configuration file shares in the catalogue of described client, described identity is tested
Card result is that client does not passes through authentication.
Further, described after described client is by authentication, it is allowed to described client is to accordingly
After catalogue carries out carry, also include: receive the client operational order to mount directory.
Further, described short-range wireless networks includes bluetooth, WIFI.
The present invention also provides for the wireless storage structure of a kind of mobile terminal, is arranged at and passes through short-range wireless networks
The mobile terminal being connected with client, described client supports NFS service, described wireless storage structure
Including: configuration module, for configuring the NFS service of mobile terminal;Authentication module, is used for receiving visitor
The request command that family end sends, carries out authentication and returns authentication result described client;Place
Reason module, after in described client by authentication, it is allowed to respective directories is entered by described client
Row carry.
Further, described configuration module, include for configuring the NFS service of mobile terminal: by visitor
The IP address of family end, mobile terminal share to catalogue and the interpolation of directory operation authority of described client
NFS configuration file to mobile terminal.
Further, described authentication module, include for client is carried out authentication: work as client
IP address consistent with the IP address in the NFS configuration file of mobile terminal, and client request life
The mobile terminal that the request mount directory that order is carried is included in NFS configuration file shares to described client
Time in the catalogue of end, described authentication result is that client passes through authentication, as the IP of client
Address is inconsistent with the IP address in the NFS configuration file of mobile terminal, or, the request of client
The mobile terminal that mount directory is not included in NFS configuration file shares in the catalogue of described client
Time, described authentication result is that client does not passes through authentication.
Further, described short-range wireless networks includes bluetooth, WIFI.
Further, described client is equipment based on (SuSE) Linux OS.
The wireless storage method of the mobile terminal that the present invention provides, is applied to be connected by short-range wireless networks
Support NFS service client and mobile terminal, first configure mobile terminal NFS service, afterwards,
Mobile terminal receives the request command that client sends, and client carries out authentication and returns identity and test
Card result, after client is by authentication, it is allowed to client carries out carry to respective directories.This
Bright based on NFS with short-range wireless host-host protocol, user can be helped easily and efficiently to support NFS clothes
On the equipment of business (such as PC, panel computer or mobile phone), access other support NFS
File system on the mobile terminal (such as smart mobile phone) of service, it is not necessary to pass through data wire, it is not necessary to soft
Part generates bibliographic structure to carry out data transmission, and simplifies operation, improves Consumer's Experience.
Accompanying drawing explanation
The flow chart of the wireless storage method of the mobile terminal that Fig. 1 provides for present pre-ferred embodiments;
The flow chart of the wireless storage method of the mobile terminal that Fig. 2 provides for the embodiment of the present invention one;
The schematic diagram of the wireless storage structure of the mobile terminal that Fig. 3 provides for present pre-ferred embodiments.
Detailed description of the invention
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that following institute
The preferred embodiment illustrated is merely to illustrate and explains the present invention, is not intended to limit the present invention.
The flow chart of the wireless storage method of the mobile terminal that Fig. 1 provides for present pre-ferred embodiments.As
Shown in Fig. 1, the wireless storage method of the mobile terminal that present pre-ferred embodiments provides, it is applied to pass through
Support NFS (NFS, the Network File System) service that short-range wireless networks connects
Client and mobile terminal, comprise the following steps:
Step 11: the NFS service of configuration mobile terminal.
In this step, by procotol (IP, the Internet Protocol) address of client, movement
The NFS that terminal shares to the catalogue of described client and directory operation authority is added to mobile terminal joins
Put file.
Step 12: mobile terminal receives the request command that client sends, and client is carried out identity and tests
Demonstrate,prove and return authentication result.
In this step, after mobile terminal receives the request command that client sends, it is judged that the IP of client
The request mount directory that address and request command carry and the IP ground in the NFS configuration file of mobile terminal
The catalogue that location shares to this client with mobile terminal is the most consistent, when IP address and the movement of client
IP address in the NFS configuration file of terminal is consistent, and the request that the request command of client carries is hung
When the mobile terminal that load catalogue is included in NFS configuration file shares in the catalogue of described client,
Authentication result is that client passes through authentication, as IP address and the NFS of mobile terminal of client
IP address in configuration file is inconsistent, or, the request mount directory of client is not included in NFS
When mobile terminal in configuration file shares in the catalogue of described client, authentication result is client
End does not passes through authentication.
Step 13: after client is by authentication, it is allowed to respective directories is carried out by described client
Carry.
Specifically, after client is returned to client by the result of authentication by mobile terminal,
Respective directories is mounted in the file system of oneself by client.Wherein, client carries out the corresponding of carry
Catalogue is catalogue or the request command of described client that described mobile terminal shares to described client
The request mount directory carried.
After this step, the method also includes: receive the client operational order to mount directory.
In the present embodiment, short-range wireless networks includes bluetooth, WIFI.
The flow chart of the wireless storage method of the mobile terminal that Fig. 2 provides for the embodiment of the present invention one.Such as figure
Shown in 2, in the present embodiment, client is that equipment based on (SuSE) Linux OS is (such as notebook electricity
Brain etc.), mobile terminal is the smart mobile phone supporting NFS service.Wherein, Linux behaviour it is currently based on
The equipment making system all supports NFS.
Hereinafter each step of the present embodiment is described in detail.
Step 111: connect client and mobile terminal by short-range wireless networks.
Specifically, client and shifting are connected by short-range wireless networks (such as WIFI or bluetooth)
Dynamic terminal, and it is determined by wireless connections success.
Step 112: the NFS service of configuration mobile terminal.
Specifically, after the wireless connections success of client and mobile terminal, configuration mobile terminal
NFS services, particularly as follows: read the IP address of client (as mobile terminal is connected by wireless network
Read the IP address of client), the IP address of client, mobile terminal are shared to described client
Catalogue and directory operation authority add the NFS configuration file of mobile terminal to.Wherein, Mei Geke
The IP address of family end, mobile terminal are shared with the catalogue of this client and directory operation authority is corresponding.
For each client ip address, mobile terminal shares to catalogue and the directory operation power of this client
Limit can be according to practical situation by user setup.It addition, above-mentioned interpolation operation can be manually implemented by user.
Step 113: client sends request command to mobile terminal.
Specifically, client by remote procedure call (RPC, Remote Procedure Call) to
Mobile terminal sends request command, such as, can be realized by socket communication.Wherein, request command carries
The request mount directory of client.
Step 114: mobile terminal reception request command also carries out authentication.
Specifically, after mobile terminal receives the request command that client sends, carry out authentication,
I.e. judge the IP in the IP address of client and the NFS configuration file of request mount directory and mobile terminal
The catalogue that address shares to this client with mobile terminal is the most consistent.IP address and shifting when client
IP address in the NFS configuration file of dynamic terminal is consistent, and the request that the request command of client carries
When the mobile terminal that mount directory is included in NFS configuration file shares in the catalogue of described client,
The i.e. IP address of client and request mount directory is present in the NFS configuration file of mobile terminal and visitor
The corresponding relation of the IP address of family end and request mount directory is correct, then client passes through authentication,
Entering step 115, the request command that otherwise client is not sent by authentication, i.e. client is failed,
Client can resend request command.
Step 115: the mount directory of client carry request.
Specifically, after client is returned to client by the result of authentication by mobile terminal, visitor
Request mount directory is mounted in the file system of oneself by family end.In this, client also can own by carry
Mobile terminal shares to the catalogue of described client.But, this is not limited by the present invention.
Step 116: the file directory of client operation carry.
Specifically, after client will ask the success of mount directory carry, can weigh according to existing directory operation
Mount directory is operated (as read by limit (the directory operation authority as arranged in NFS configuration file)
The operation such as write).
Step 117: client terminates the operation to mount directory.
Specifically, after the read-write etc. of mount directory has been operated by client, client is optional to be cancelled
Carry to mobile terminal share directory, transmission cancellation carry order is to mobile terminal, simultaneously optional disconnected
Open short-range wireless networks to connect.
Wherein it is desired to explanation: for the system directory of the mobile phones such as Android (android), due to net
Network or applications do not have access rights to system directory, therefore, it can arrange and only share outside mobile phone
Put storage card, i.e. cell phone system can be by the file-sharing in external storage card to client.
The schematic diagram of the wireless storage structure of the mobile terminal that Fig. 3 provides for present pre-ferred embodiments.As
Shown in Fig. 3, the wireless storage structure of the mobile terminal that present pre-ferred embodiments provides, it is arranged at and passes through
The mobile terminal that short-range wireless networks is connected with client, client support NFS service, including: join
Put module, for configuring the NFS service of mobile terminal;Authentication module, is used for receiving client and sends
Request command, client is carried out authentication and returns authentication result;Processing module, is used for
After described client is by authentication, it is allowed to described client carries out carry to respective directories.
In preferred embodiment, described configuration module, include for configuring the NFS service of mobile terminal:
The IP address of client, mobile terminal are shared to catalogue and the directory operation authority of described client
Add the NFS configuration file to mobile terminal.
In preferred embodiment, described authentication module, include for client is carried out authentication: when
The IP address of client is consistent with the IP address in the NFS configuration file of mobile terminal, and client
The mobile terminal that the request mount directory that request command carries is included in NFS configuration file shares to institute
When stating in the catalogue of client, described authentication result is that client passes through authentication, works as client
IP address inconsistent with the IP address in the NFS configuration file of mobile terminal, or, client
The mobile terminal that request mount directory is not included in NFS configuration file shares to the mesh of described client
Time in record, described authentication result is that client does not passes through authentication.
In preferred embodiment, described short-range wireless networks includes bluetooth, WIFI.
In preferred embodiment, described client is equipment based on (SuSE) Linux OS.
It addition, about the specific operation process of said system with described in said method, therefore repeat no more in this.
In sum, the wireless storage method and system of the mobile terminal that present pre-ferred embodiments provides,
Based on NFS and short-range wireless host-host protocol, user can be helped easily and efficiently to grasp based on Linux
Make (such as PC, panel computer or mobile phone) on the equipment of system, access other mobile end
File system on end (such as smart mobile phone), it is not necessary to pass through data wire, it is not necessary to tie by Software Create catalogue
Structure carries out data transmission, and simplifies operation, improves Consumer's Experience.
The ultimate principle of the present invention and principal character and advantages of the present invention have more than been shown and described.This
Bright it is not restricted to the described embodiments, the simply explanation present invention's described in above-described embodiment and description
Principle, without departing from the spirit and scope of the present invention, the present invention also has various changes and modifications,
These changes and improvements both fall within scope of the claimed invention.
Claims (10)
1. the wireless storage method of a mobile terminal, it is characterised in that be applied to pass through short-range wireless
The client of the support NFS NFS service that network connects and mobile terminal, including:
The NFS service of configuration mobile terminal;
Described mobile terminal receives the request command that client sends, and described client is carried out authentication
And return authentication result;
After described client is by authentication, it is allowed to described client carries out carry to respective directories.
2. the method for claim 1, it is characterised in that the NFS of described configuration mobile terminal
Service includes: the procotol IP address of client, mobile terminal share to the mesh of described client
Record and directory operation authority add the NFS configuration file to mobile terminal.
3. method as claimed in claim 2, it is characterised in that described client is carried out identity test
Card includes: when the IP address of client is consistent with the IP address in the NFS configuration file of mobile terminal,
And the mobile end asking mount directory to be included in NFS configuration file that the request command of client carries
When end shares in the catalogue of described client, described authentication result is that client is tested by identity
Card, when the IP address of client is inconsistent with the IP address in the NFS configuration file of mobile terminal, or
Person, the mobile terminal that the request mount directory of client is not included in NFS configuration file shares to institute
When stating in the catalogue of client, described authentication result is that client does not passes through authentication.
4. the method for claim 1, it is characterised in that: described pass through body in described client
After part checking, it is allowed to after described client carries out carry to respective directories, also include: receive client
Operational order to mount directory.
5. the method for claim 1, it is characterised in that: described short-range wireless networks includes indigo plant
Tooth, WIFI.
6. a wireless storage structure for mobile terminal, is arranged at by short-range wireless networks and client
The mobile terminal connected, described client supports NFS service, it is characterised in that including:
Configuration module, for configuring the NFS service of mobile terminal;
Authentication module, for receiving the request command that client sends, carries out identity to described client and tests
Demonstrate,prove and return authentication result;
Processing module, after in described client by authentication, it is allowed to described client is to accordingly
Catalogue carries out carry.
7. system as claimed in claim 6, it is characterised in that: described configuration module, it is used for configuring
The NFS service of mobile terminal includes: the IP address of client, mobile terminal are shared to described client
The catalogue of end and directory operation authority add the NFS configuration file to mobile terminal.
8. system as claimed in claim 7, it is characterised in that: described authentication module, for visitor
Family end carries out authentication and includes: when in the IP address of client with the NFS configuration file of mobile terminal
IP address consistent, and the request mount directory that the request command of client carries is included in NFS configuration
When mobile terminal in file shares in the catalogue of described client, described authentication result is client
Hold by authentication, the IP in the IP address of client with the NFS configuration file of mobile terminal
Address is inconsistent, or, the request mount directory of client is not included in the shifting in NFS configuration file
When dynamic terminal shares in the catalogue of described client, described authentication result is that client does not passes through body
Part checking.
9. system as claimed in claim 6, it is characterised in that: described short-range wireless networks includes indigo plant
Tooth, WIFI.
10. system as claimed in claim 6, it is characterised in that: described client is based on Linux
The equipment of operating system.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510196922.9A CN106161759A (en) | 2015-04-23 | 2015-04-23 | The wireless storage method and system of mobile terminal |
PCT/CN2015/079398 WO2016169079A1 (en) | 2015-04-23 | 2015-05-20 | Mobile terminal wireless storage method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510196922.9A CN106161759A (en) | 2015-04-23 | 2015-04-23 | The wireless storage method and system of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106161759A true CN106161759A (en) | 2016-11-23 |
Family
ID=57144478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510196922.9A Withdrawn CN106161759A (en) | 2015-04-23 | 2015-04-23 | The wireless storage method and system of mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106161759A (en) |
WO (1) | WO2016169079A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107577421A (en) * | 2017-07-31 | 2018-01-12 | 深圳市牛鼎丰科技有限公司 | Smart machine expansion method, device, storage medium and computer equipment |
CN108989295A (en) * | 2018-06-28 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of nfs client carry authority control method |
CN111511045A (en) * | 2020-04-10 | 2020-08-07 | 玳能科技(杭州)有限公司 | Interaction method and device of mobile terminal and computer, electronic equipment and storage medium |
CN112152717A (en) * | 2019-06-28 | 2020-12-29 | Oppo广东移动通信有限公司 | Information pushing method and device, terminal, information pushing equipment and electronic equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103746998B (en) * | 2014-01-10 | 2016-08-17 | 中南大学 | A kind of method realizing NFS support wireless network carry |
CN103885885A (en) * | 2014-04-15 | 2014-06-25 | 珠海迈科电子科技有限公司 | Method for using WiFi to carry out simulation an ddebugging on embedded software |
CN104283941A (en) * | 2014-09-16 | 2015-01-14 | 深圳市同洲电子股份有限公司 | Data access method, device and system |
-
2015
- 2015-04-23 CN CN201510196922.9A patent/CN106161759A/en not_active Withdrawn
- 2015-05-20 WO PCT/CN2015/079398 patent/WO2016169079A1/en active Application Filing
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107577421A (en) * | 2017-07-31 | 2018-01-12 | 深圳市牛鼎丰科技有限公司 | Smart machine expansion method, device, storage medium and computer equipment |
CN108989295A (en) * | 2018-06-28 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of nfs client carry authority control method |
CN112152717A (en) * | 2019-06-28 | 2020-12-29 | Oppo广东移动通信有限公司 | Information pushing method and device, terminal, information pushing equipment and electronic equipment |
CN111511045A (en) * | 2020-04-10 | 2020-08-07 | 玳能科技(杭州)有限公司 | Interaction method and device of mobile terminal and computer, electronic equipment and storage medium |
CN111511045B (en) * | 2020-04-10 | 2023-06-02 | 玳能科技(杭州)有限公司 | Interaction method and device for mobile terminal and computer, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2016169079A1 (en) | 2016-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9883321B2 (en) | Method and apparatus for M2M device subscription | |
US11039299B2 (en) | ESIM card activation method, wireless router, and user terminal | |
KR102442706B1 (en) | Electronic device and method for providing communication service based on subscriber identity information in the electronic device | |
CN105933888B (en) | A kind of eSIM card method for burn-recording and device based on NFC | |
US11102646B1 (en) | Triggering electronic subscriber identity module activation | |
CN106031119B (en) | A kind of security domain management method, apparatus and system | |
CN110248358A (en) | ESIM management method and system based on Internet of Things | |
CN102158819B (en) | For mobile device display E-mail processing method, server and mobile device | |
CN106161759A (en) | The wireless storage method and system of mobile terminal | |
JP2020144911A (en) | Implicit file generation in APDU script | |
CN103312660A (en) | Service realization method based on ability opening platform and ability opening platform | |
CN104581785A (en) | Wireless network testing method, testing device and mobile terminal | |
CN107623908A (en) | A kind of hair fastener method and subscriber identification module card | |
US9591434B1 (en) | Virtual private network (VPN) tunneling in a user equipment (UE) brokered by a radio frequency identity (RFID) chip communicatively coupled to the user equipment | |
US20190342738A1 (en) | Method and Device for Sharing File Between Different Terminals | |
KR102538663B1 (en) | Electronic device, external electronic device and method for managing embedded subscriber identity module of the external electronic device | |
CN105657781A (en) | Method and device for accessing WiFi network | |
CN106230977A (en) | A kind of client functionality loading method, system, client and service end | |
US20220286861A1 (en) | Subscriber Identity Module (SIM) Remote Update Agent | |
CN105828094A (en) | Private cloud system based on smart TV and implementation method thereof | |
CN104702634A (en) | Method, device and system for processing data operation request | |
CN105530714B (en) | MIFI communications service system and its MIFI and communication means | |
CN104410679B (en) | Share extracting method, client, server and the system of file/folder | |
CN105282821A (en) | Terminal and method for connecting the terminal with wireless fidelity WiFi access point | |
KR101437430B1 (en) | Method for providing IoT POS service and computer readable recording medium applying the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20161123 |
|
WW01 | Invention patent application withdrawn after publication |