CN103729152A - Method and equipment for sharing disk of Android - Google Patents

Method and equipment for sharing disk of Android Download PDF

Info

Publication number
CN103729152A
CN103729152A CN201410034996.8A CN201410034996A CN103729152A CN 103729152 A CN103729152 A CN 103729152A CN 201410034996 A CN201410034996 A CN 201410034996A CN 103729152 A CN103729152 A CN 103729152A
Authority
CN
China
Prior art keywords
shared disk
connection
android
shared
triggered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410034996.8A
Other languages
Chinese (zh)
Inventor
陈晓东
张昊
黄祖方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuzhou Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics 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 Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201410034996.8A priority Critical patent/CN103729152A/en
Publication of CN103729152A publication Critical patent/CN103729152A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and equipment for sharing a disk of Android. The method comprises the following steps: 10, calling CIFS (common internet file system) drive, and searching a shared disk through communication connection; 20, transmitting a connection request of the shared disk; 30, after the shared disk is connected successfully, mounting the connected shared disk to a file manager. Through the method, the file sharing efficiency on Android equipment of a user is improved; the problem that files need to be transmitted and received on the Android equipment one by one by a user, so that the efficiency is low is solved.

Description

A kind of method and apparatus of Android shared disk
Technical field
The present invention relates to Android device sharing field, be specifically related to a kind of method and apparatus of Android shared disk.
Background technology
Along with the development of mobile phone, the calculation process ability of embedded chip is more and more stronger, and increasing embedded device no longer only moves some simple softwares, but can carry out more more complicated application.The equipment of Android system is housed as existing, comprises Android mobile phone, Android flat board etc., can be used for multimedia and office, now often will carry out with other equipment transmission and the exchange of file.But existing Android equipment cannot be shared the shared disk on network (or shared disk) file, and can only should be used for carrying out file transfer one by one by installing, cannot can cause very large trouble to user by shared disk, reduce work efficiency.
Summary of the invention
The technical problem to be solved in the present invention, is to provide a kind of method and apparatus of Android shared disk, solves the problem that existing Android equipment cannot shared disk.
The present invention is achieved in that.
A method for Android shared disk, is applied on Android equipment, comprises the steps:
Step 10, call CIFS drive, by communication connection, search for shared disk;
The connection request of step 20, transmission shared disk;
After step 30, successful connection, the shared disk having connected is mounted to file manager.
Further, after described step 10, also comprise the steps:
Step 11: demonstrate the facility information with shared disk having searched, connect after trigger event is triggered and enter step 20 at shared disk.
Further, in described step 11, after shared disk connection trigger event is triggered, entering step 20 is specially:
After shared disk connection trigger event is triggered, shows link information inputting interface, and enter step 20 after connection confirmation event is triggered;
Wherein the connection request of step 20 comprises described link information.
Further, described facility information is shared disk connection status, device name or IP address.
Further, described communication connection is that network connects or USB connects.
And the present invention also provides a kind of Android equipment of shared disk based on the above method, comprise communication connection module, shared disk search module, shared disk link block and shared disk carry module; Wherein:
Communication connection module is used for establishing a communications link;
Shared disk search module is used for calling CIFS and drives, and by communication connection, searches for shared disk;
Shared disk link block is for sending the connection request of shared disk;
Shared disk carry module, for after successful connection, is mounted to file manager by the shared disk having connected.
Further, also comprise shared disk display module, for demonstrating the facility information with shared disk having searched, at shared disk, connect after trigger event is triggered and enable shared disk link block.
Further, described shared disk display module connects trigger event at shared disk and enables shared disk link block after being triggered and be:
After shared disk connection trigger event is triggered, shows link information inputting interface, and enable shared disk link block after connection confirmation event is triggered;
Wherein the connection request of shared disk link block comprises described link information.
Further, described facility information is shared disk connection status, device name or IP address.
Further, described communication connection is that network connects or USB connects.
Tool of the present invention has the following advantages: make Android equipment can as local file, browse, operate the file of shared disk, and do not want file one by one, remove sending and receiving, improved the efficiency of file transfer and exchange.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Fig. 2 is file manager of the present invention interface schematic diagram.
Fig. 3 is the interface schematic diagram of demonstration shared disk information of the present invention.
Fig. 4 is link information inputting interface schematic diagram of the present invention.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized object and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
Refer to Fig. 1 to shown in Fig. 4, the invention provides a kind of method of Android shared disk, be applied on Android equipment, Android equipment when shared disk, first will with shared disk provide equipment to communicate to be connected.The equipment that provides of common shared disk is the PC that Windows operating system is installed, as long as disk or file that will be shared be shared to setting on PC.The shared disk agreement of Windows operating system is CIFS agreement.When Android equipment application this method is carried out shared disk, first want scanning disk, enter step S101 and call CIFS driving, by communication connection, search for shared disk.Communication connection can be arbitrary form, as long as can allow the equipment that provides of Android equipment and shared disk communicate, common communication connection is that network connects or USB connects.The trigger event of step S101 can be automatically to trigger or the clicked rear triggering of scanning trigger button.
Android equipment, after scanning, can get the facility information that equipment is provided of shared disk, connection status, device name or IP address that common facility information is shared disk.Android equipment will be shared the shared disk having searched, and will send at step S102 the connection request of shared disk.Connection request includes the link informations such as user name, password, for the equipment that provides of shared disk, Android equipment is carried out to verification.In certain embodiments, Android equipment can directly send user administrators, guest by name, and password is that empty link information is carried out connection request, because these user names are usually used on the PC of Windows operating system.
If link information is by verification succeeds, i.e. successful connection, enters after step S103 successful connection, and the shared disk having connected is mounted to file manager.The implementation of concrete file manager can be as shown in Figure 2, and main interface is the interface of file manager 1, lists built-in storage card 10, PC-001 disk 11 and PC-002 disk 12 on the interface of file manager 1.Wherein PC-001 disk 11 and PC-002 disk 12 are disk shared on Android equipment.Then on file manager 1, can carry out shared disk browsing file, read and write, consistent with the built-in storage card 10 that operation is local, and need not send reception to file one by one, greatly improved the convenience of file transfer.Particularly, user is when file manager 1 operates shared disk, Android equipment can detect these operations, and operation information is sent to the equipment that provides of shared disk, the equipment that provides of shared disk can respond and reply response message, Android equipment responds response message after receiving response message, and finally responds user's operation.
For realize user selectively Connection Sharing disk equipment is provided, further, this method also comprises demonstration shared disk information step after step S101, demonstrate the facility information with shared disk having searched, at shared disk, connect after trigger event is triggered and enter step S102.The interface that shows shared disk information can be as shown in Figure 3, comprises and trigger the search button 20 of step S101 and the facility information 21,22 and 23 of multiple shared disks.The facility information of multiple shared disks can demonstrate connection status, device name or IP address etc.Shared disk connection trigger event can be set as the facility information of shared disk and by touch screen, clicked or double-clicked by mouse, when user's touch screen is clicked or when mouse double-clicks the facility information of shared disk showing, as trigger be the facility information 21 of shared disk time, Android equipment can enter step S102 and send the connection request of shared disk, to the equipment of the facility information of triggered shared disk, sends the connection request of shared disk.Thereby realized the connection that equipment is provided to specific shared disk.
Certainly, if the equipment that provides of shared disk is encrypted, the user name of the acquiescence of above-mentioned direct transmission cannot be proved to be successful, in order to realize the connection of the shared disk to having encrypted, this method also includes link information input step, after shared disk connection trigger event is triggered, show link information inputting interface, as shown in Figure 4.Link information inputting interface includes facility information 30, user name 31, the password 32 of the shared disk having triggered and is connected button etc.Connect button settings for connecting confirmation event, determine and use the username and password of current input to connect.After connection confirmation event is triggered, Android equipment enters the connection request of step S102 transmission shared disk, now in connection request, includes the link information of user's input, and is addressed to the equipment of the facility information of the shared disk having triggered.For the link information of user's input, Android equipment can be preserved, and connect convenient next time.When showing link information inputting interface, if there is the link information of preservation, show simultaneously.
To sum up, this method can complete Android equipment the disk of PC is shared, and also facilitates user's connection to specific shared disk on Android equipment simultaneously, has improved the efficiency of file transfer.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a method for Android shared disk, is applied on Android equipment, it is characterized in that: comprise the steps:
Step 10, call CIFS drive, by communication connection, search for shared disk;
The connection request of step 20, transmission shared disk;
After step 30, successful connection, the shared disk having connected is mounted to file manager.
2. the method for a kind of Android shared disk according to claim 1, is characterized in that: after described step 10, also comprise the steps:
Step 11: demonstrate the facility information with shared disk having searched, connect after trigger event is triggered and enter step 20 at shared disk.
3. the method for a kind of Android shared disk according to claim 2, is characterized in that: in described step 11, after shared disk connection trigger event is triggered, enter step 20 and be specially:
After shared disk connection trigger event is triggered, shows link information inputting interface, and enter step 20 after connection confirmation event is triggered;
Wherein the connection request of step 20 comprises described link information.
4. the method for a kind of Android shared disk according to claim 2, is characterized in that: connection status, device name or IP address that described facility information is shared disk.
5. the method for a kind of Android shared disk according to claim 1, is characterized in that: described communication connection is that network connects or USB connects.
6. an Android equipment for shared disk, is characterized in that: comprise communication connection module, shared disk search module, shared disk link block and shared disk carry module; Wherein:
Communication connection module is used for establishing a communications link;
Shared disk search module is used for calling CIFS and drives, and by communication connection, searches for shared disk;
Shared disk link block is for sending the connection request of shared disk;
Shared disk carry module, for after successful connection, is mounted to file manager by the shared disk having connected.
7. the Android equipment of a kind of shared disk according to claim 6, it is characterized in that: also comprise shared disk display module, for demonstrating the facility information with shared disk having searched, at shared disk, connect after trigger event is triggered and enable shared disk link block.
8. the Android equipment of a kind of shared disk according to claim 7, is characterized in that: described shared disk display module enables shared disk link block and is after shared disk connection trigger event is triggered:
After shared disk connection trigger event is triggered, shows link information inputting interface, and enable shared disk link block after connection confirmation event is triggered;
Wherein the connection request of shared disk link block comprises described link information.
9. the Android equipment of a kind of shared disk according to claim 7, is characterized in that: connection status, device name or IP address that described facility information is shared disk.
10. the Android equipment of a kind of shared disk according to claim 6, is characterized in that: described communication connection is that network connects or USB connects.
CN201410034996.8A 2014-01-24 2014-01-24 Method and equipment for sharing disk of Android Pending CN103729152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410034996.8A CN103729152A (en) 2014-01-24 2014-01-24 Method and equipment for sharing disk of Android

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410034996.8A CN103729152A (en) 2014-01-24 2014-01-24 Method and equipment for sharing disk of Android

Publications (1)

Publication Number Publication Date
CN103729152A true CN103729152A (en) 2014-04-16

Family

ID=50453243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410034996.8A Pending CN103729152A (en) 2014-01-24 2014-01-24 Method and equipment for sharing disk of Android

Country Status (1)

Country Link
CN (1) CN103729152A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019062109A1 (en) * 2017-09-30 2019-04-04 深圳市华德安科技有限公司 Method of mounting disk array, android device and storage medium
CN110688057A (en) * 2018-07-05 2020-01-14 阿里巴巴集团控股有限公司 Distributed storage method and device
CN113342281A (en) * 2021-06-28 2021-09-03 深圳市瑞驰信息技术有限公司 Method for realizing mounting in android system based on rbd storage

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120185520A1 (en) * 2011-01-13 2012-07-19 John Joseph Iarocci Ad hoc file sharing
CN103227832A (en) * 2013-04-28 2013-07-31 华为终端有限公司 Shared resource processing method and device
CN103428277A (en) * 2013-07-31 2013-12-04 深圳市华讯方舟科技有限公司 Method for accessing removable storage devices in physical connection with wireless routers through intelligent devices in wireless connection with wireless routers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120185520A1 (en) * 2011-01-13 2012-07-19 John Joseph Iarocci Ad hoc file sharing
CN103227832A (en) * 2013-04-28 2013-07-31 华为终端有限公司 Shared resource processing method and device
CN103428277A (en) * 2013-07-31 2013-12-04 深圳市华讯方舟科技有限公司 Method for accessing removable storage devices in physical connection with wireless routers through intelligent devices in wireless connection with wireless routers

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019062109A1 (en) * 2017-09-30 2019-04-04 深圳市华德安科技有限公司 Method of mounting disk array, android device and storage medium
CN110688057A (en) * 2018-07-05 2020-01-14 阿里巴巴集团控股有限公司 Distributed storage method and device
CN110688057B (en) * 2018-07-05 2023-05-23 阿里巴巴集团控股有限公司 Distributed storage method and device
CN113342281A (en) * 2021-06-28 2021-09-03 深圳市瑞驰信息技术有限公司 Method for realizing mounting in android system based on rbd storage

Similar Documents

Publication Publication Date Title
JP6515207B2 (en) Internet access authentication method and client, and computer storage medium
WO2018192487A1 (en) Method and apparatus for controlling smart device linkage
CN103345361B (en) A kind of group's Adding Way and relevant device, system
CN104636924B (en) Secure payment method, server and system
US10769710B2 (en) System of providing product information using copy/paste function of electronic commerce shopping cart, method thereof and non-transitory computer readable storage medium having computer program recorded thereon
CN103067257B (en) Method and server and system for achieving data mutual communication in social networking service
CN105407074A (en) Authentication method, apparatus and system
CN104580117A (en) Authentication method, device and system
CN103384369A (en) Method, device and system for building data connection
CN104253741A (en) Information sending method and device and system thereof
CN108280020B (en) Monitoring method and device of computer equipment, terminal and computer storage medium
CN105430747A (en) Communication method, device and system
JP2018502404A (en) Message display method, message display device, and message display device
KR101367036B1 (en) Method for connecting a remote network and system for connecting a remote network
CN103716230A (en) Message sending method, device and server
CN103561063A (en) Method and terminal for logging onto set top box
CN103729152A (en) Method and equipment for sharing disk of Android
WO2014067258A1 (en) Cloud service triggering method, cloud server and thin client
CN112235412B (en) Message processing method and device
CN104639973A (en) Information pushing method and device
CN102647291A (en) Intelligent multidevice management method based on account group
CN103379037A (en) Route equipment and method and system thereof
CN105426190A (en) Data transmission method and device
CN102868766B (en) A kind of mthods, systems and devices for realizing remote control
CN104156372A (en) Method, devices and system for opening page

Legal Events

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

Address after: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant before: Fuzhou Rockchip Semiconductor Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140416