CN105843548B - Connection method and device for extended storage device - Google Patents

Connection method and device for extended storage device Download PDF

Info

Publication number
CN105843548B
CN105843548B CN201510018231.XA CN201510018231A CN105843548B CN 105843548 B CN105843548 B CN 105843548B CN 201510018231 A CN201510018231 A CN 201510018231A CN 105843548 B CN105843548 B CN 105843548B
Authority
CN
China
Prior art keywords
electronic device
link
extended storage
storage mode
electronic equipment
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
CN201510018231.XA
Other languages
Chinese (zh)
Other versions
CN105843548A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510018231.XA priority Critical patent/CN105843548B/en
Publication of CN105843548A publication Critical patent/CN105843548A/en
Application granted granted Critical
Publication of CN105843548B publication Critical patent/CN105843548B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a connection method and a connection device of an extended storage device, after the extended storage mode is started by first electronic equipment, the second electronic equipment is informed that the extended storage mode is started, the second electronic equipment sends information of a first link to the first electronic equipment, the first electronic equipment is connected to the second electronic equipment through the first link, and as the first link is a wireless link, the first electronic equipment is connected to the second electronic equipment through the wireless link and serves as the extended storage device of the second electronic equipment, therefore, the connection of the extended storage device can be realized without a data line, and the use of a user is facilitated.

Description

Connection method and device for extended storage device
Technical Field
The present application relates to the field of electronic information, and in particular, to a method and an apparatus for connecting an extended storage device.
Background
Generally, most electronic devices can be used as an extended storage device of another electronic device, for example, a mobile terminal can be used as an extended storage device of a PC.
At present, when one electronic device is used as an extended storage device of another electronic device, it needs to be connected to the other electronic device through a data line, and after the connection through the data line, the electronic device can be identified and accessed by the other electronic device. For example, after the mobile terminal needs to be connected to a PC through a USB data line, the PC can recognize the mobile terminal as an extended storage device. That is, in the prior art, one electronic device is connected as an extended storage device of another electronic device, and must be implemented by a data line.
However, in the large trend of rapid development of wireless communication, the dependence on the data line may cause inconvenience for users.
Content of application
The embodiment of the application provides a connection method and a connection device of an extended storage device, and aims to solve the problem that the user is inconvenient to use because the opening and the access of the extended storage device are realized through a data line.
In order to achieve the above object, the embodiments of the present application provide the following technical solutions:
a connection method of an expansion storage device comprises the following steps:
the first electronic equipment starts an extended storage mode;
the first electronic equipment informs the second electronic equipment that the extended storage mode is started;
the first electronic equipment receives information of a first link sent by the second electronic equipment, the first link is used for the second electronic equipment to access the first electronic equipment serving as the extended storage electronic equipment, and the first link is a wireless link;
the first electronic equipment is connected to the second electronic equipment through the first link.
Optionally, the accessing, by the first electronic device, the second electronic device through the first link includes:
and the first electronic equipment sends an access path of the storage space in the first electronic equipment to the second electronic equipment through the first link, wherein the access path is used for the second electronic equipment to access the storage space of the first electronic equipment.
Optionally, the first electronic device turning on the extended storage mode includes:
when a preset first trigger condition is met, the first electronic device starts an extended storage mode, where the preset first trigger condition at least includes one of: the distance between the first electronic device and the second electronic device is smaller than a first numerical value, the first electronic device senses a preset first gesture, or the first electronic device receives a preset first instruction.
Optionally, the notifying, by the first electronic device, that the extended storage mode is turned on by the second electronic device includes:
and the first electronic equipment informs the second electronic equipment that the extended storage mode is started through a second link, wherein the second link is different from the first link.
Optionally, the first electronic device starts an extended storage mode, including:
the first electronic equipment starts a first extended storage mode specified by an extended storage protocol.
Optionally, the first extended storage mode includes a file transfer protocol, FTP, shared storage mode.
Optionally, after the first electronic device accesses the second electronic device through the first link, the method further includes:
the first electronic device turns off an extended storage mode;
the first electronic device notifies the second electronic device that the extended storage mode has been turned off.
Optionally, the turning off the extended storage mode by the first electronic device includes:
when a preset second trigger condition is met, the first electronic device closes the extended storage mode, wherein the second trigger condition at least comprises one of the following items: the distance between the first electronic device and the second electronic device is not less than a first value, the first electronic device senses a preset second gesture, or the first electronic device receives a preset second instruction.
A connection method of an extended storage electronic device comprises the following steps:
after receiving a notification sent by first electronic equipment that an extended storage mode is started, second electronic equipment sends information of a first link to the first electronic equipment, wherein the first link is used for the second electronic equipment to access the first electronic equipment serving as the extended storage electronic equipment of the second electronic equipment, and the first link is a wireless link;
and the second electronic equipment is connected with the first electronic equipment through the first link.
Optionally, the second electronic device is connected to the first electronic device through the first link, and includes:
and the second electronic equipment receives an access path of the storage space in the first electronic equipment, which is sent by the first electronic equipment, through the first link, wherein the access path is used for the second electronic equipment to access the storage space of the first electronic equipment.
Optionally, after the second electronic device receives, through the first link, an access path of the storage space in the first electronic device sent by the first electronic device, the method further includes:
and the second electronic equipment displays the identifier of the first electronic equipment as the extended storage electronic equipment, and establishes an access directory of the first electronic equipment according to the access path.
Optionally, the sending information of the first link to the first electronic device includes:
sending a name of a wireless access point to the first electronic device;
before the sending the information of the first link to the first electronic device, further comprising:
and opening the wireless access point.
Optionally, after the second electronic device is connected to the first electronic device through the first link, the method further includes:
after receiving the notification that the extended storage mode is closed, which is sent by the first electronic device, the second electronic device closes the wireless access point, and deletes the identifier of the first electronic device and the access directory.
A connecting device for expanding storage equipment, which is applied to a first electronic device, comprises:
the extended storage mode starting module is used for starting an extended storage mode of the first electronic equipment;
the notification module is used for notifying second electronic equipment that the first electronic equipment starts an extended storage mode;
a receiving module, configured to receive information of a first link sent by the second electronic device, where the first link is used for the second electronic device to access the first electronic device as its extended storage electronic device, and the first link is a wireless link;
and the access module is used for accessing the second electronic equipment through the first link.
Optionally, the accessing module is configured to access the second electronic device through the first link, and includes:
the access module is specifically configured to send, to the second electronic device through the first link, an access path of a storage space in the first electronic device, where the access path is used for the second electronic device to access the storage space of the first electronic device.
Optionally, the extended storage mode starting module is configured to start an extended storage mode of the first electronic device, and includes:
the extended storage mode starting module is specifically configured to start the extended storage mode when a preset first trigger condition is met, where the preset first trigger condition at least includes one of: the distance between the first electronic device and the second electronic device is smaller than a first numerical value, the first electronic device senses a preset first gesture, or the first electronic device receives a preset first instruction.
Optionally, the notifying module is configured to notify the second electronic device that the extended storage mode of the first electronic device is turned on, and includes:
the notification module is specifically configured to notify the second electronic device that the first electronic device has started the extended storage mode through a second link, where the second link is different from the first link.
Optionally, the extended storage mode starting module is configured to start an extended storage mode of the first electronic device, and includes:
the extended storage mode starting module is specifically used for starting a first extended storage mode specified by an extended storage protocol.
Optionally, the starting module of the extended storage mode is configured to start a first extended storage mode specified by an extended storage protocol, and includes:
the extended storage mode starting module is specifically used for starting a File Transfer Protocol (FTP) shared storage mode.
Optionally, the method further comprises:
the extended storage mode closing module is used for closing the extended storage mode after the second electronic equipment is accessed through the first link;
the notification module is further configured to notify the second electronic device that the first electronic device has closed the extended storage mode.
Optionally, the extended storage mode closing module is configured to close an extended storage mode, and includes:
the extended storage mode closing module is specifically configured to close the extended storage mode when a preset second trigger condition is met, where the second trigger condition at least includes one of: the distance between the first electronic device and the second electronic device is not less than a first value, the first electronic device senses a preset second gesture, or the first electronic device receives a preset second instruction.
A connecting device for extending storage electronic equipment, which is applied in a second electronic equipment, the device comprises:
the device comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending information of a first link to a first electronic device after receiving a notification sent by the first electronic device that an extended storage mode is started, the first link is used for the second electronic device to access the first electronic device serving as the extended storage electronic device, and the first link is a wireless link;
and the connecting module is used for connecting with the first electronic equipment through the first link.
Optionally, the connecting module is configured to connect to the first electronic device through the first link, and includes:
the connection module is specifically configured to receive, through the first link, an access path of a storage space in the first electronic device sent by the first electronic device, where the access path is used by the second electronic device to access the storage space of the first electronic device.
Optionally, the method further comprises:
and the display module is used for displaying the identifier of the first electronic equipment serving as the extended storage electronic equipment after receiving the access path of the storage space in the first electronic equipment, which is sent by the first electronic equipment, through the first link, and establishing the access directory of the first electronic equipment according to the access path.
Optionally, the method further comprises:
a wireless opening module, configured to open the wireless access point before the information of the first link is sent to the first electronic device;
the sending module is configured to send information of a first link to the first electronic device, and includes:
the sending module is specifically configured to send the name of the wireless access point to the first electronic device.
Optionally, the method further comprises:
and the clearing module is used for closing the wireless access point and deleting the identifier of the first electronic equipment and the access directory after receiving a notification that the extended storage mode is closed and sent by the first electronic equipment after the first electronic equipment is connected with the first electronic equipment through the first link.
According to the connection method and device for the extended storage device, after the first electronic device starts the extended storage mode, the second electronic device is informed that the extended storage mode is started, the second electronic device sends the information of the first link to the first electronic device, the first electronic device is connected to the second electronic device through the first link, and as the first link is a wireless link, the first electronic device is connected to the second electronic device through the wireless link and serves as the extended storage device of the second electronic device, therefore, the extended storage device can be connected without a data line, and use of a user is facilitated.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a connection method for an extended storage device according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a connection method for an extended storage device according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating a connection method for an extended storage device according to an embodiment of the present disclosure;
FIG. 4 is a diagram illustrating an example of a use of a connection method for an extended storage device according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a connecting apparatus for an expansion storage device according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a connection device for an extended storage device according to an embodiment of the present application.
Detailed Description
The embodiment of the application discloses a connection method and a connection device of an extended storage device, which can be applied to a scene that a first electronic device is used as the extended storage device of a second electronic device, and aims to facilitate the connection of the two electronic devices.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The connection method for the extended storage device disclosed in the embodiment of the present application, as shown in fig. 1, includes the following steps:
s101: the first electronic equipment starts an extended storage mode;
s102: the first electronic equipment informs the second electronic equipment that the extended storage mode is started;
s103: the second electronic equipment sends first link information to the first electronic equipment after receiving a notification sent by the first electronic equipment that the extended storage mode is started;
in this embodiment, the first link is a wireless link. For example, the first link may be, but is not limited to: bluetooth, wireless communication link, etc.
After the first electronic device is used as an extended storage device of the second electronic device, the second electronic device can access the first electronic device, and the first link is used for the second electronic device to access the first electronic device.
S104: and the first electronic equipment receives the first link information sent by the second electronic equipment, accesses the second electronic equipment through the first link information, and simultaneously, the second electronic equipment is connected with the first electronic equipment through the first link.
In this embodiment, when the first electronic device is used as the extended storage device of the second electronic device, the first electronic device is connected to the second electronic device through the wireless link. Meanwhile, because the first electronic device or the second electronic device can move due to the wireless connection, the first electronic device can also be accessed as an extended storage device of the second electronic device during the moving process, and therefore, compared with a mode of connection through a data line, the connection method of the extended storage device in the embodiment can support long-time data connection.
As shown in fig. 2, the method for connecting an extended storage device disclosed in the embodiment of the present application includes the following steps:
s201: when a preset first trigger condition is met, a first extended storage mode specified by an extended storage protocol of the first electronic equipment is set;
specifically, the first extended storage mode specified by the extended storage protocol may be a file transfer protocol FTP shared storage mode;
in this embodiment, the preset first trigger condition at least includes one of the following items: the distance between the first electronic device and the second electronic device is smaller than a first numerical value, the first electronic device senses a preset first gesture, or the first electronic device receives a preset first instruction, wherein the first instruction can be generated by operating the first electronic device by a user, for example, the user opens an "extended storage device" option on the first electronic device; the first instruction may also be issued by the second electronic device to the first electronic device.
The transfer protocol FTP shared storage mode enables the first electronic device and the second electronic device to share files, and the first electronic device can simultaneously access certain resources of the first electronic device.
S202: the first electronic equipment informs the second electronic equipment that the extended storage mode is started;
s203: the method comprises the steps that after receiving a notification sent by first electronic equipment that an extended storage mode is started, the second electronic equipment sends first link information to the first electronic equipment, wherein the first link is a wireless link;
s204: the method comprises the steps that a first electronic device sends an access path of a storage space in the first electronic device to a second electronic device through a first link;
and the access path of the storage space is used for the second electronic equipment to access the storage space of the first electronic equipment.
S205: after the second electronic device receives the access path of the storage space in the first electronic device, which is sent by the first electronic device, through the first link, the second electronic device displays the identifier of the first electronic device, and establishes an access directory of the first electronic device according to the access path;
s206: the first electronic equipment closes the extended storage mode;
in this embodiment, specifically, the first electronic device may close the extended storage mode after a preset second trigger condition is met, where the second trigger condition may include at least one of: the distance between the first electronic device and the second electronic device is not less than a first value, the first electronic device senses a preset second gesture, or the first electronic device receives a preset second instruction.
S207: the first electronic equipment informs the second electronic equipment that the extended storage mode is closed;
s208: and after receiving the notification of closing the extended storage mode sent by the first electronic equipment, the second electronic equipment deletes the identifier of the first electronic equipment and accesses the directory.
According to the method in the embodiment, after the starting condition is met, the first electronic device can start the extended storage mode, notify the second electronic device to connect with the second electronic device through the wireless link, after the closing condition is met, the first electronic device closes the extended storage mode and disconnects the second electronic device, the first electronic device starts the FTP shared storage mode, and the second electronic device displays the identifier and the access path of the first electronic device, so that the two electronic devices can be more conveniently interconnected and shared.
As shown in fig. 3, the method for connecting an extended storage device disclosed in the embodiment of the present application includes the following steps:
s301: the first electronic equipment starts an extended storage mode;
s302: the first electronic equipment informs the second electronic equipment that the extended storage mode is started through the second link;
in this embodiment, the second link may be a wireless link or a wired link.
S303: the second electronic equipment starts the wireless access point after receiving the notification that the first electronic equipment starts the extended storage mode;
it is emphasized that in the case where the second link is a wireless link, the second link is two different wireless links from the first link, for example, in the present embodiment, the first link is a wireless communication link (wireless access point), but the second link is bluetooth. This is done to ensure correctness of the access of the expansion device and to ensure a fast response of the second device to access the first device.
S304: the second electronic equipment sends the name of the wireless access point to the first electronic equipment;
s305: a first electronic device sends an access path of a storage space in the first electronic device to a second electronic device through a first link corresponding to a wireless access point;
s306: the second electronic equipment displays the identification of the first electronic equipment as the extended storage electronic equipment, and establishes an access directory of the first electronic equipment according to the access path;
s307: the first electronic equipment closes the extended storage mode;
s308: the first electronic equipment informs the second electronic equipment of closing the extended storage mode through a second link;
s309: after receiving the notification that the extended storage mode is closed, which is sent by the first electronic device, the second electronic device closes the wireless access point, and deletes the identifier of the first electronic device and the access directory.
For example, as shown in fig. 4, the mobile phone starts the extended storage mode, starts the bluetooth, informs the PAD that the extended storage mode is started by the PAD itself through the bluetooth, the PAD uses itself as an AP, starts the wireless access point, and sends parameters of the AP to the mobile phone through the bluetooth, the mobile phone sends the access directory of its storage space to the PAD through the bluetooth, and the PAD displays the identifier and the access directory of the mobile phone on the display screen, so far, the user can access the storage space of the mobile phone on the PAD through the connection of the wireless access point.
Therefore, the method of the embodiment can be used for conveniently connecting two electronic devices through a wireless link.
Corresponding to the above method embodiment, an embodiment of the present application further discloses a connection apparatus for extending a storage device, which is applied to a first electronic device, and as shown in fig. 5, the apparatus in this embodiment includes:
an extended storage mode starting module 501, configured to start an extended storage mode of the first electronic device;
a notification module 502, configured to notify a second electronic device that an extended storage mode of the first electronic device has been started;
a receiving module 503, configured to receive information of a first link sent by the second electronic device, where the first link is used for the second electronic device to access the first electronic device as its extended storage electronic device, and the first link is a wireless link;
an accessing module 504, configured to access the second electronic device through the first link.
In this embodiment, specifically, a specific implementation manner of the access module accessing the second electronic device through the first link may be as follows: and sending an access path of the storage space in the first electronic device to the second electronic device through the first link, wherein the access path is used for the second electronic device to access the storage space of the first electronic device.
The specific implementation manner of the extended storage mode starting module starting the extended storage mode of the first electronic device may be as follows: when a preset first trigger condition is met, starting an extended storage mode, wherein the preset first trigger condition at least comprises one of the following items: the distance between the first electronic device and the second electronic device is smaller than a first numerical value, the first electronic device senses a preset first gesture, or the first electronic device receives a preset first instruction.
The specific implementation manner of the notification module notifying the second electronic device that the extended storage mode of the first electronic device has been opened may be: and informing the second electronic device that the first electronic device has started an extended storage mode through a second link, wherein the second link is different from the first link.
The specific implementation manner of the extended storage mode starting module starting the extended storage mode of the first electronic device may be as follows: and opening a File Transfer Protocol (FTP) shared storage mode.
Further, the apparatus according to this embodiment may further include: an extended storage mode closing module 505, configured to close the extended storage mode after accessing the second electronic device through the first link.
In this case, the notification module may be further configured to notify the second electronic device that the first electronic device has turned off the extended storage mode.
The specific implementation manner of the extended storage mode closing module closing the extended storage mode may be: when a preset second trigger condition is met, closing the extended storage mode, wherein the second trigger condition at least comprises one of the following items: the distance between the first electronic device and the second electronic device is not less than a first value, the first electronic device senses a preset second gesture, or the first electronic device receives a preset second instruction.
The device of the embodiment can enable the electronic equipment to be used as the expansion storage equipment to be accessed into other electronic equipment through the wireless link, thereby being convenient for users to use.
Another connecting device for an extended storage electronic device disclosed in the embodiment of the present application is applied to a second electronic device, and as shown in fig. 6, the device includes:
a sending module 601, configured to send information of a first link to a first electronic device after receiving a notification that an extended storage mode has been started and sent by the first electronic device, where the first link is used for the second electronic device to access the first electronic device serving as its extended storage electronic device, and the first link is a wireless link;
a connection module 602, configured to connect the second electronic device to the first electronic device through the first link.
In this embodiment, specifically, the connection module may be connected to the first electronic device through the first link in a specific implementation manner: and receiving an access path of the storage space in the first electronic device, which is sent by the first electronic device, through the first link, wherein the access path is used for the second electronic device to access the storage space of the first electronic device.
Further, the apparatus in this embodiment may further include: a display module 603, configured to display, after receiving, through the first link, an access path of a storage space in the first electronic device sent by the first electronic device, an identifier of the first electronic device as its extended storage electronic device, and establish an access directory of the first electronic device according to the access path.
A wireless opening module 604, configured to open the wireless access point before the information of the first link is sent to the first electronic device.
In this case, a specific implementation manner of the sending module for sending the information of the first link to the first electronic device may be: and sending the name of the wireless access point to the first electronic equipment.
A clearing module 605, configured to close the wireless access point and delete the identifier of the first electronic device and the access directory after receiving a notification that the extended storage mode has been closed and sent by the first electronic device after connecting to the first electronic device through the first link.
The apparatus described in this embodiment can send the information of the wireless link to its extended storage device, so that the apparatus is connected to the extended storage device through the wireless link, thereby facilitating the use of the user.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (24)

1. A method for connecting an expansion storage device, comprising:
the first electronic equipment starts an extended storage mode;
the first electronic equipment informs the second electronic equipment that the extended storage mode is started through the second link;
the first electronic device receives information of a first link which is sent by the second electronic device through the second link and comprises parameters of a wireless access point after the second electronic device receives a notification that the first electronic device starts an extended storage mode, wherein the first link is used for the second electronic device to access an access directory of a storage space of the first electronic device serving as the extended storage electronic device of the second electronic device, the first link is a wireless link, and the second link is different from the first link;
the first electronic equipment is connected to the second electronic equipment through the first link.
2. The method of claim 1, wherein the first electronic device accessing the second electronic device through the first link, comprises:
and the first electronic equipment sends an access path of the storage space in the first electronic equipment to the second electronic equipment through the first link, wherein the access path is used for the second electronic equipment to access the storage space of the first electronic equipment.
3. The method of claim 1 or 2, wherein the first electronic device turning on an extended storage mode comprises:
when a preset first trigger condition is met, the first electronic device starts an extended storage mode, where the preset first trigger condition at least includes one of: the distance between the first electronic device and the second electronic device is smaller than a first numerical value, the first electronic device senses a preset first gesture, or the first electronic device receives a preset first instruction.
4. The method of claim 1, wherein the first electronic device turns on an extended storage mode comprising:
the first electronic equipment starts a first extended storage mode specified by an extended storage protocol.
5. The method of claim 4, wherein the first extended storage mode comprises:
and sharing a storage mode by using a File Transfer Protocol (FTP).
6. The method of claim 1, further comprising, after the first electronic device accesses the second electronic device through the first link:
the first electronic device turns off an extended storage mode;
the first electronic device notifies the second electronic device that the extended storage mode has been turned off.
7. The method of claim 6, wherein the first electronic device turning off the extended storage mode comprises:
when a preset second trigger condition is met, the first electronic device closes the extended storage mode, wherein the second trigger condition at least comprises one of the following items: the distance between the first electronic device and the second electronic device is not less than a first value, the first electronic device senses a preset second gesture, or the first electronic device receives a preset second instruction.
8. A method for connecting an extended storage electronic device, comprising:
after receiving a notification that an extended storage mode is started and sent by a first electronic device through a second link, a second electronic device starts a wireless access point, and sends information of a first link including parameters of the wireless access point to the first electronic device through the second link, wherein the first link is used for the second electronic device to access an access directory of a storage space of the first electronic device serving as an extended storage electronic device of the second electronic device, and the first link is a wireless link; the second link is different from the first link;
and the second electronic equipment is connected with the first electronic equipment through the first link.
9. The method of claim 8, wherein the second electronic device is connected to the first electronic device through the first link, comprising: and the second electronic equipment receives an access path of the storage space in the first electronic equipment, which is sent by the first electronic equipment, through the first link, wherein the access path is used for the second electronic equipment to access the storage space of the first electronic equipment.
10. The method of claim 8, further comprising, after the second electronic device receives, through the first link, an access path of the memory space in the first electronic device sent by the first electronic device, the method further comprising:
and the second electronic equipment displays the identifier of the first electronic equipment as the extended storage electronic equipment, and establishes an access directory of the first electronic equipment according to the access path.
11. The method of claim 10, wherein sending the information of the first link to the first electronic device comprises:
sending a name of a wireless access point to the first electronic device;
before the sending the information of the first link to the first electronic device, further comprising:
and opening the wireless access point.
12. The method of claim 11, further comprising, after the second electronic device is connected to the first electronic device via the first link:
after receiving the notification that the extended storage mode is closed, which is sent by the first electronic device, the second electronic device closes the wireless access point, and deletes the identifier of the first electronic device and the access directory.
13. A connecting apparatus for extending a storage device, applied in a first electronic device, the apparatus comprising:
the extended storage mode starting module is used for starting an extended storage mode of the first electronic equipment;
a notification module, configured to notify a second electronic device that an extended storage mode of the first electronic device has been turned on, including: the notification module is specifically configured to notify the second electronic device that the extended storage mode of the first electronic device has been started through a second link;
a receiving module, configured to receive, through the second link, information that the second electronic device starts a first link, which is sent by a wireless access point and includes parameters of the wireless access point, after receiving a notification that the first electronic device has started an extended storage mode, where the first link is used for the second electronic device to access an access directory of a storage space of the first electronic device as its extended storage electronic device, and the first link is a wireless link; the second link is different from the first link;
and the access module is used for accessing the second electronic equipment through the first link.
14. The apparatus of claim 13, wherein the means for accessing the second electronic device via the first link comprises:
the access module is specifically configured to send, to the second electronic device through the first link, an access path of a storage space in the first electronic device, where the access path is used for the second electronic device to access the storage space of the first electronic device.
15. The apparatus of claim 13, wherein the extended storage mode enabling module is configured to enable an extended storage mode of the first electronic device and comprises:
the extended storage mode starting module is specifically configured to start the extended storage mode when a preset first trigger condition is met, where the preset first trigger condition at least includes one of: the distance between the first electronic device and the second electronic device is smaller than a first numerical value, the first electronic device senses a preset first gesture, or the first electronic device receives a preset first instruction.
16. The apparatus of claim 13, wherein the extended storage mode enabling module is configured to enable an extended storage mode of the first electronic device and comprises:
the extended storage mode starting module is specifically used for starting a first extended storage mode specified by an extended storage protocol.
17. The apparatus of claim 13, wherein the extended storage mode enabling module is configured to enable a first extended storage mode specified by an extended storage protocol, and comprises:
the extended storage mode starting module is specifically used for starting a File Transfer Protocol (FTP) shared storage mode.
18. The apparatus of claim 13, further comprising:
the extended storage mode closing module is used for closing the extended storage mode after the second electronic equipment is accessed through the first link;
the notification module is further configured to notify the second electronic device that the first electronic device has closed the extended storage mode.
19. The apparatus of claim 18, wherein the extended storage mode shutdown module is configured to shut down extended storage modes and comprises:
the extended storage mode closing module is specifically configured to close the extended storage mode when a preset second trigger condition is met, where the second trigger condition at least includes one of: the distance between the first electronic device and the second electronic device is not less than a first value, the first electronic device senses a preset second gesture, or the first electronic device receives a preset second instruction.
20. A connecting device for an expansion storage electronic device, applied in a second electronic device, the device comprising:
a sending module, configured to, after receiving a notification that an extended storage mode has been started and sent by a first electronic device through a second link, start a wireless access point and send, to the first electronic device through the second link, information of a first link including parameters of the wireless access point, where the first link is used for the second electronic device to access an access directory of a storage space of the first electronic device as an extended storage electronic device of the second electronic device, and the first link is a wireless link; the second link is different from the first link;
and the connecting module is used for connecting with the first electronic equipment through the first link.
21. The apparatus of claim 20, wherein the connection module is configured to connect to the first electronic device via the first link and comprises:
the connection module is specifically configured to receive, through the first link, an access path of a storage space in the first electronic device sent by the first electronic device, where the access path is used by the second electronic device to access the storage space of the first electronic device.
22. The apparatus of claim 21, further comprising:
and the display module is used for displaying the identifier of the first electronic equipment serving as the extended storage electronic equipment after receiving the access path of the storage space in the first electronic equipment, which is sent by the first electronic equipment, through the first link, and establishing the access directory of the first electronic equipment according to the access path.
23. The apparatus of claim 22, further comprising:
a wireless opening module, configured to open the wireless access point before the information of the first link is sent to the first electronic device;
the sending module is configured to send information of a first link to the first electronic device, and includes:
the sending module is specifically configured to send the name of the wireless access point to the first electronic device.
24. The apparatus of claim 23, further comprising:
and the clearing module is used for closing the wireless access point and deleting the identifier of the first electronic equipment and the access directory after receiving a notification that the extended storage mode is closed and sent by the first electronic equipment after the first electronic equipment is connected with the first electronic equipment through the first link.
CN201510018231.XA 2015-01-14 2015-01-14 Connection method and device for extended storage device Active CN105843548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510018231.XA CN105843548B (en) 2015-01-14 2015-01-14 Connection method and device for extended storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510018231.XA CN105843548B (en) 2015-01-14 2015-01-14 Connection method and device for extended storage device

Publications (2)

Publication Number Publication Date
CN105843548A CN105843548A (en) 2016-08-10
CN105843548B true CN105843548B (en) 2020-07-24

Family

ID=56579806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510018231.XA Active CN105843548B (en) 2015-01-14 2015-01-14 Connection method and device for extended storage device

Country Status (1)

Country Link
CN (1) CN105843548B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690942A (en) * 2004-04-19 2005-11-02 联想(北京)有限公司 Method for data storage by a mobile terminal and mobile terminal storage device
EP1868075A2 (en) * 2006-06-08 2007-12-19 Hitachi, Ltd. Storage virtualization system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4429763B2 (en) * 2004-02-26 2010-03-10 株式会社日立製作所 Information processing apparatus control method, information processing apparatus, and storage apparatus control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690942A (en) * 2004-04-19 2005-11-02 联想(北京)有限公司 Method for data storage by a mobile terminal and mobile terminal storage device
EP1868075A2 (en) * 2006-06-08 2007-12-19 Hitachi, Ltd. Storage virtualization system and method

Also Published As

Publication number Publication date
CN105843548A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN107708168B (en) SIM card switching method, mobile terminal and computer readable storage medium
US10341569B2 (en) Method and apparatus for varying focal length of camera device, and camera device
US20170371678A1 (en) Method and apparatus for running game client
CN104853043A (en) Notification message filtering and control method, smart phone and system
CN104717125B (en) Graphic code store method and device
EP3079330B1 (en) Method for wireless access of memory device, and mobile hotspot device
CN107682910B (en) Traffic resource sharing method and device, mobile terminal and storage medium
EP3454240A1 (en) Unlocking methods and related products
CN102883285A (en) Method, device and system for processing instant communication information and setting priorities of terminals
CN106507269B (en) Data migration method and terminal equipment
CN108121681B (en) Hot plug implementation method, terminal and storage medium
CN106658753B (en) Data migration method and terminal equipment
CN104902479A (en) Network security management equipment and method and mobile terminal
CN106569910B (en) Data backup and transmission method and mobile terminal
US20140012943A1 (en) Method and storage apparatus for switching data transmission path to transmit data
CN108090345B (en) Linux system external command execution method and device
CN103906170A (en) Method for setting hardware Wi-Fi access point information
CN106445743A (en) Data backup transmission method and mobile terminal
CN104363501A (en) Icon classification management method and system and player terminal
CN106484563B (en) Data migration method and terminal equipment
CN106792434B (en) Hotspot establishing method and terminal equipment
CN107045610B (en) Data migration method, terminal device and computer readable storage medium
CN103856936B (en) A kind of method and device for updating the mobile terminal time
CN105843548B (en) Connection method and device for extended storage device
CN108874591B (en) Document processing method and related product

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