The content of the invention
Therefore, the embodiment of the present invention provides a kind of data interactive method, apparatus and system, not supported in current device
In the case of the file system format that external connection storage apparatus uses, current device is succeeded and carry out data friendship with storage device
Mutually.
The embodiment of the present invention adopts the following technical scheme that:
First aspect, there is provided a kind of data interactive method, applied to the first electronic equipment, first electronic equipment includes
The data-interface being connected with external equipment, the data interactive method include:
When detecting the access of storage device, judge whether to support the file system format that the storage device uses;
If the file system format for not supporting the storage device to use, it is in same to first electronic equipment
The other equipment of self-organizing network sends file system requests frame, so that the other equipment is according to the file system requests
Frame returns to file system requests in the case of judging itself for target device and replys frame;Wherein, the file system requests frame bag
Target file system information is included, the target file system information corresponds to the file system format that the storage device is supported;
Receive the file system requests that target device returns and reply frame and target corresponding with target file system information peace
Fill file;And
Run the target installation file, and storage device described in carry.
With reference in a first aspect, in the first possible implementation, the file system for receiving target device and returning
Frame and target installation file corresponding with target file system information are replied in request, including:
Receive the file system requests that an at least target device returns and reply frame;Wherein, first electronic equipment is preset
File system record sheet, the file system record sheet are used to record the first device identification corresponding to the other equipment;It is described
File system requests, which reply frame, includes the second device identification corresponding to target device;
The minimum target of the first device identification is set in an at least target device according to determining second device identification
It is standby;
The target device minimum to first device identification sends file system push request, so that first equipment
Identify minimum target device and request transmission mesh corresponding with the target file system information is pushed according to the file system
Mark installation file;
Receive the target installation file.
With reference in a first aspect, in second of possible implementation, the operation target installation file, and carry
Also include after the storage device:
File system beacon frame is sent to the other equipment, so that the first electronics of the other equipment more new record is set
Standby facility information;Wherein, the file system beacon frame includes the facility information of equipment itself, and the facility information includes setting
Standby self identification and the file system format supported.
With reference in a first aspect, in the third possible implementation, the data interactive method also includes:
When detecting and adding the self-organizing network, to the other equipment broadcast file system beacon frame, so that
The other equipment, which records the facility information of the first electronic equipment and returns to file system beacon, replys frame;The file system letter
Mark frame includes the facility information of equipment itself, and the facility information includes equipment self identification and the file system format supported;
Receive and parse through the file system beacon and reply frame, obtain the file system format that the other equipment is supported;
Record the file system format that the other equipment is supported.
With reference in a first aspect, in the 4th kind of possible implementation, the data interactive method also includes:
When leaving the self-organizing network, frame is deleted to the other equipment broadcast file system, so that other equipment
Delete the facility information of first electronic equipment;Wherein, the file system, which deletes frame, includes the facility information of equipment itself,
The facility information includes equipment self identification and the file system format supported.
Second aspect, there is provided a kind of data interactive method, including:
When receiving the file system requests frame of the first electronic equipment transmission, determined according to the file system requests frame
Whether itself is target device;Wherein, the file system requests frame includes target file system information, the file destination system
System information corresponds to the file system format of storage device support, and the storage device is connected with the first electronic equipment;
It is determined that sending file system requests to first electronic equipment in the case that itself is target device replys frame
And target installation file corresponding with target file system information.
It is described to be determined according to the file system requests frame in the first possible implementation with reference to second aspect
Whether itself is that target device includes:
The file system requests frame is parsed, obtains the target file system information in the file system requests frame;
The target file system information is matched from local file system record sheet;If the match is successful, it is determined that itself
For target device.
The third aspect, there is provided a kind of data interactive method, it is described applied to the self-organizing network for including the first electronic equipment
First electronic equipment includes the data-interface being connected with external equipment, and the data interactive method includes:
First electronic equipment judges whether to support the text that the storage device uses when detecting the access of storage device
Part system format;If the file system format for not supporting the storage device to use, it is in first electronic equipment
The other equipment of same self-organizing network sends file system requests frame;
The other equipment when receive the first electronic equipment transmission file system requests frame when, according to the file
System request frame determines whether itself is target device;And it is determined that to first electronics in the case that itself is target device
Equipment sends file system requests and replys frame and target installation file corresponding with target file system information;
First electronic equipment receives the file system requests that target device returns and replys frame and and target file system
Target installation file corresponding to information;
Wherein, the file system requests frame includes target file system information, and the target file system information is corresponding
The file system format that the storage device is supported.
Fourth aspect, there is provided a kind of data interaction device, applied to the first electronic equipment, first electronic equipment includes
The data-interface being connected with external equipment, the data interaction device include:
Judge module, for when detecting the access of storage device, judging whether to support what the storage device used
File system format;
First sending module, in the case of not supporting the file system format that the storage device uses in judgement,
To be in first electronic equipment same self-organizing network other equipment send file system requests frame so that it is described its
His equipment returns to file system requests in the case where judging that itself is target device according to the file system requests frame and replied
Frame;Wherein, the file system requests frame includes target file system information, is deposited described in the target file system information correspondence
The file system format that storage device is supported;
Receiving module, for receive target device return file system requests reply frame and with target file system information
Corresponding target installation file;And
Carry module, for running the target installation file, and storage device described in carry.
5th aspect, there is provided a kind of data interaction device, including:
Determining module, for when receive the first electronic equipment transmission file system requests frame when, according to the file
System request frame determines whether itself is target device;Wherein, the file system requests frame includes target file system information,
The target file system information corresponds to the file system format of storage device support, the storage device and the first electronic equipment
Connection;
Second sending module, for it is determined that sending text to first electronic equipment in the case that itself is target device
Part system request replys frame and target installation file corresponding with target file system information.
6th aspect, there is provided a kind of electronic equipment, including the data interaction device as described in fourth aspect.
7th aspect, there is provided a kind of electronic equipment, including the data interaction device as described in terms of the 5th.
Eighth aspect, there is provided a kind of data interaction system, including:
First electronic equipment, for when detecting the access of storage device, judging whether to support the storage device to make
File system format;If the file system format for not supporting the storage device to use, set to first electronics
The standby other equipment in same self-organizing network sends file system requests frame;
The other equipment, for when receive the first electronic equipment transmission file system requests frame when, according to institute
State file system requests frame and determine whether itself is target device;And it is determined that to described the in the case that itself is target device
One electronic equipment sends file system requests and replys frame and target installation file corresponding with target file system information;
First electronic equipment, be additionally operable to receive target device return file system requests reply frame and with target text
Target installation file corresponding to part system information;
Wherein, the file system requests frame includes target file system information, and the target file system information is corresponding
The file system format that the storage device is supported.
9th aspect, there is provided a kind of electronic equipment, there is the data-interface being connected with external equipment, including:
Memory;
One or more processors;And
One or more modules, one or more of modules are stored in the memory and are configured to by described
One or more processors perform, and one or more of modules are used for the instruction for performing following steps:
When detecting the access of storage device, judge whether to support the file system format that the storage device uses;
If the file system format for not supporting the storage device to use, it is in same to first electronic equipment
The other equipment of self-organizing network sends file system requests frame, so that the other equipment is according to the file system requests
Frame returns to file system requests in the case of judging itself for target device and replys frame;Wherein, the file system requests frame bag
Target file system information is included, the target file system information corresponds to the file system format that the storage device is supported;
Receive the file system requests that target device returns and reply frame and target corresponding with target file system information peace
Fill file;And
Run the target installation file, and storage device described in carry.
Tenth aspect, there is provided a kind of electronic equipment, including:
Memory;
One or more processors;And
One or more modules, one or more of modules are stored in the memory and are configured to by described
One or more processors perform, and one or more of modules are used for the instruction for performing following steps:
When receiving the file system requests frame of the first electronic equipment transmission, determined according to the file system requests frame
Whether itself is target device;Wherein, the file system requests frame includes target file system information, the file destination system
System information corresponds to the file system format of storage device support, and the storage device is connected with the first electronic equipment;
It is determined that sending file system requests to first electronic equipment in the case that itself is target device replys frame
And target installation file corresponding with target file system information.
The embodiment of the present invention to the other equipment that same self-organizing network is in the first electronic equipment by sending file
System request frame, make other equipment return and target in the case where judging itself for target device according to file system requests frame
Target installation file corresponding to filesystem information so that the first electronic equipment can storage device described in carry, with institute
State storage device and carry out data interaction.
Embodiment
To describe the technology contents of technical scheme, construction feature, the objects and the effects in detail, below in conjunction with specific reality
Apply example and coordinate accompanying drawing to be explained in detail.
Referring to Fig. 1, Fig. 1 shows the data interactive method that the embodiment of the present invention one provides, this method is applied to first
Electronic equipment, first electronic equipment include the data-interface being connected with external equipment, and the data interactive method can wrap
Include following steps.
100th, when detecting the access of storage device, the file system lattice for supporting the storage device to use are judged whether
Formula.Herein, storage device can be USB flash disk, mobile hard disk, the USB flash disk for having operating system, the electronic equipment with store function
(such as handheld device), the first electronic equipment can be the equipment such as mobile device, PC.
If the file system format for the 102, not supporting the storage device to use, it is in first electronic equipment
The other equipment of same self-organizing network sends file system requests frame, so that the other equipment is according to the file system
Claim frame returns to file system requests in the case of judging itself for target device and replys frame;Wherein, the file system requests
Frame includes target file system information, and the target file system information corresponds to the file system lattice that the storage device is supported
Formula.
104th, the file system requests that target device returns are received and reply frame and mesh corresponding with target file system information
Mark installation file.From the foregoing, target file system information corresponds to the file system format of storage device support, and target is set
It is standby to return to target installation file corresponding with target file system information, therefore be not difficult to draw:Target installation file is corresponding to be stored
The file system format that device uses, and the file system format that target device support storage device uses.
106th, the target installation file, and storage device described in carry are run.Now, the first electronic equipment can be with
File system format used in support storage device.
The embodiment of the present invention to the other equipment that same self-organizing network is in the first electronic equipment by sending file
System request frame, make other equipment return and target in the case where judging itself for target device according to file system requests frame
Target installation file corresponding to filesystem information so that the first electronic equipment can storage device described in carry, with institute
State storage device and carry out data interaction.
It will be apparent to a skilled person that the file used for the first electronic equipment support storage device
The situation of system format, the first electronic equipment then storage device described in direct carry and with storage device carry out data interaction.
Referring to Fig. 2, Fig. 2 shows the data interactive method that the embodiment of the present invention two provides, the embodiment is embodiment
One more specifically embodiment, is characterized in particular in:It is described to receive file system requests reply frame and and the target that target device returns
Target installation file corresponding to filesystem information, it can be realized by following steps:
1040th, the file system requests that an at least target device returns are received and reply frame;Wherein, first electronic equipment
Preset document system record sheet, the file system record sheet are used to record the first device identification corresponding to the other equipment;
The file system requests, which reply frame, includes the second device identification corresponding to target device.
1042nd, the minimum mesh of the first device identification in an at least target device according to determining second device identification
Marking device.
1044th, file system push request is sent to the minimum target device of first device identification, so that described the
The minimum target device of one device identification pushes request according to the file system and sent and the target file system information pair
The target installation file answered.
1046th, the target installation file is received.
Fig. 3 to Fig. 9 is referred to, the method for showing the data interaction that the embodiment of the present invention three provides, this method is applied to
One self-organizing network, the network that the self-organizing network is a kind of mobile communication and computer network is combined, is mobile computing
One kind of machine network, user terminal can in net random movement and keep communicating.The initial network topology of the self-organizing network
Structure can be as shown in figure 3, equipment B, equipment C, equipment D, equipment E and equipment F including can mutually carry out data interaction.At this
Embodiment, each equipment in self-organizing network are respectively provided with a file system record sheet, for recording in addition to equipment itself other
The device identification of equipment and the file system format supported, wherein, device identification can include:IP address, MAC Address and its
The network PING values of his equipment.Herein, network PING values refer to connection speed of the current device with server, i.e.,:Client
Data, which are sent to after server to order again, feeds back to duration needed for client, and unit is millisecond (ms), the smaller speed of PING values
Degree is faster.In this embodiment, file system record tableau format can be as shown in the table.
IP address |
MAC Address |
The file system format of support |
PING values |
|
|
|
|
Assuming that IP address corresponding to equipment B-F is:192.168.0.2、192.168.0.3、192.168.0.4、
192.168.0.5,192.168.0.6, MAC Address is respectively:00-00-00-00-00-02、00-00-00-00-00-03、00-
00-00-00-00-04,00-00-00-00-00-05,00-00-00-00-00-06, the file system format of support are respectively:
(FAT, NTFS), (CDFS, exFAT), (ext2, ext3, ext4), (JFS, VMFS), (JFS, XFS), and equipment B-F PING
Value is respectively:0.13ms, 0.1ms, 0.15ms, 0.12ms, 0.18ms, then equipment B file system record sheet can be such as following table
B1It is shown.
Table B1
IP address |
MAC Address |
The file system format of support |
PING values |
192.168.0.3 |
00-00-00-00-00-03 |
CDFS、exFAT |
0.1ms |
192.168.0.4 |
00-00-00-00-00-04 |
ext2、ext3、ext4 |
0.15ms |
192.168.0.5 |
00-00-00-00-00-05 |
JFS、VMFS |
0.12ms |
192.168.0.6 |
00-00-00-00-00-06 |
JFS、XFS |
0.18ms |
(1) device A adds above-mentioned self-organizing network
Referring to Fig. 4, Fig. 4 shows the data interactive method schematic flow sheet that device A is added after above-mentioned self-organizing network.
This method originates in step 400, when device A detects and requires to add above-mentioned self-organizing network, and self-organizing network can distribute
The IP address of device A one:192.168.0.1, and by the data interaction of server and device A in self-organizing network, device A is obtained
PING values be 0.08ms.In this embodiment, the MAC Address of device A is 00-00-00-00-00-01, the file system of support
Form is FAT, NTFS, ext2.In the present embodiment, device A plays the part of the role of the first electronic equipment in the present invention.
Step 401, with reference to Fig. 5, device A is got after i.e. device A is added to above-mentioned self-organizing network after IP address, equipment
All member (equipment B-F) broadcast file system beacon frames from A to above-mentioned self-organizing network so that equipment B-F recording equipments A
Facility information.Herein, file system beacon frame includes the facility information of equipment B-F device As to be recorded, specifically, this sets
The file system format that standby information includes the device identification of device A and device A is supported.The file system beacon that device A is sent
Frame can following Table ABeaconIt is shown.
Table ABeacon
IP address |
MAC Address |
The file system format of support |
192.168.0.1 |
00-00-00-00-00-01 |
FAT、NTFS、ext2 |
Step 402, the other equipment of above-mentioned self-organizing network are the file system letter that equipment B-F receives device A transmission
After marking frame, by the information record in file system beacon frame to the file system record sheet of itself.Equipment B file system note
Recording table can be such as following table B1’It is shown.
Table B1’
IP address |
MAC Address |
The file system format of support |
PING values |
192.168.0.1 |
00-00-00-00-00-01 |
FAT、NTFS、ext2 |
0.08ms |
192.168.0.3 |
00-00-00-00-00-03 |
CDFS、exFAT |
0.1ms |
192.168.0.4 |
00-00-00-00-00-04 |
ext2、ext3、ext4 |
0.15ms |
192.168.0.5 |
00-00-00-00-00-05 |
JFS、VMFS |
0.12ms |
192.168.0.6 |
00-00-00-00-00-06 |
JFS、XFS |
0.18ms |
It is then back to file system beacon and replys frame to device A, the file system beacon, which is replied, is contained this in frame and return
IP address, MAC Address and the file system format of support of equipment itself are returned, specifically, equipment B file system beacon returns
Multi-frame can be such as following table BBeacon is repliedIt is shown.
Table BBeacon is replied
IP address |
MAC Address |
The file system format of support |
192.168.0.2 |
00-00-00-00-00-02 |
FAT、NTFS |
The file system beacon that step 403, device A return to equipment B-F replys the information of frame, is recorded in and sets
In standby A itself file system record sheet.Specifically, the file system record sheet of device A can following Table A1It is shown, including other
The file system format of first device identification and support corresponding to equipment, wherein, the first device identification includes IP address, MAC
Address, PING values.
Table A1
IP address |
MAC Address |
The file system format of support |
PING values |
192.168.0.2 |
00-00-00-00-00-02 |
FAT、NTFS |
0.13ms |
192.168.0.3 |
00-00-00-00-00-03 |
CDFS、exFAT |
0.1ms |
192.168.0.4 |
00-00-00-00-00-04 |
ext2、ext3、ext4 |
0.15ms |
192.168.0.5 |
00-00-00-00-00-05 |
JFS、VMFS |
0.12ms |
192.168.0.6 |
00-00-00-00-00-06 |
JFS、XFS |
0.18ms |
(2) device A external connection storage apparatus
Fig. 6 and Fig. 7 are referred to, Fig. 6 shows the data interactive method flow signal that device A is connected with external connection storage apparatus
Figure.This method originates in step 600, supports the storage device of JFS file system to be connected by data-interface with device A, when setting
When standby A detects the access of external connection storage apparatus, device A does not support the file system format that the storage device uses, no
Successfully data interaction can be carried out with the storage device.Herein, storage device can be USB flash disk, mobile hard disk, have operation system
The USB flash disk of system, the electronic equipment (such as handheld device) with store function.
Step 601, device A read the head logical address data of the storage device, are packed into file system requests frame,
And file system requests frame is sent to the other equipment B-F that same self-organizing network is in device A, so that the other equipment
B-F returns to file system requests in the case where judging that itself is target device according to the file system requests frame and replys frame.
File system requests frame can be such as Table ARequestShown, file system requests frame contains the IP address of device A, MAC Address and head
Portion's logical address data.
Table ARequest
IP address |
MAC Address |
Target file system information |
192.168.0.1 |
00-00-00-00-00-01 |
The sector data of storage device first |
Skilled person would appreciate that:Preceding several sector datas of disk, when being its file system format
The specific format of generation, every kind of file system are all different.In general the first sector contains the ID signatures of this document system,
Form is identified for operating system.So this paper goals filesystem information, the form of expression are exactly by the first fan
Area's data, or even we can be further, and the data of preceding 5 sectors are all packaged with, are filled in the first sector data
Inside endpiece.
Therefore head logical address data referred to herein is referred in the forward part sector or the first sector of storage device
The data of storage, it may be used to indicate that the file system format that storage device is supported.It will be apparent to a skilled person that deposit
The forward part sector of storage device or the first sector internal memory contain filesystem information data, therefore head logical address data is namely
Target file system information, target file system information correspond to memory device file system form.
After step 602, other equipment B-F receive the file system requests frame of device A transmission, parsing obtains head therein
Portion's logical address data (i.e. target file system information), and according to head logical address data in local file system record sheet
It is middle to match the file system format itself supported.If equipment can be matched successfully and identify target file system information
Corresponding target file system form, then these equipment judge itself to be target device, and return to file system requests and reply frame.
This document system request replys second device identification and the target file system form of the frame with the reply target device, its
In, the second device identification includes IP address, MAC Address.With reference to knowable to above, the file system format that storage device is supported is
JFS, equipment E, F are target device.By taking equipment E as an example, the file system requests reply frame that equipment E is sent can be such as table ERequest is repliedInstitute
Show.
Table ERequest is replied
IP address |
MAC Address |
Target file system form |
192.168.0.5 |
00-00-00-00-00-05 |
JFS |
Similarly, the file system requests that equipment F is sent reply frame can be such as table FRequest is repliedIt is shown.
Table FRequest is replied
IP address |
MAC Address |
Target file system form |
192.168.0.6 |
00-00-00-00-00-06 |
JFS |
The file system requests that step 603, device A receive target device E, F reply frame, contrast its own file system
Record sheet, finds which equipment these replies come from, and PING values are respectively how many.
The minimum equipment E of device A selection PING values, to equipment E, it initiates file system push request, wherein, file system
System push request includes target installation file corresponding to target file system form JFS.Specifically, in linux platforms, JFS texts
Target installation file corresponding to part system format can be JFS.ko;In mesh corresponding to windows platform JFS file system formats
It can be JFS.sys to mark installation file.
Target installation file is sent to device A by step 604, equipment E.
Step 605, device A receive the target installation file, and the target installation file is installed in operation, and is deposited to described
Storage device carries out carry.
Further, device A now can support the file system format JFS not supported originally;Therefore set
Standby A can send file system beacon frame at once in the way of step 401- steps 403, update device A in other equipment and propped up
The file system format held.By taking equipment B as an example, after the file system beacon frame for receiving device A, equipment B file system note
Recording table can be such as table B1”It is shown.
Table B1”
IP address |
MAC Address |
The file system format of support |
PING values |
192.168.0.1 |
00-00-00-00-00-01 |
FAT、NTFS、ext2、JFS |
0.08ms |
192.168.0.3 |
00-00-00-00-00-03 |
CDFS、exFAT |
0.1ms |
192.168.0.4 |
00-00-00-00-00-04 |
ext2、ext3、ext4 |
0.15ms |
192.168.0.5 |
00-00-00-00-00-05 |
JFS、VMFS |
0.12ms |
192.168.0.6 |
00-00-00-00-00-06 |
JFS、XFS |
0.18ms |
It will be apparent to a skilled person that if other equipment B-F is supporting original file system do not supported
After form, equally file system beacon frame can be sent in the way of step 401- steps 403, update in addition to itself other
The file system format that equipment is supported.
In addition, step 602-605 is the feelings for having the file system format that support storage device uses in other equipment B-E
Carried out under condition, if other equipment B-E target texts corresponding to equal nonrecognition target file system information after analysis in step 602
Part system format, then device A then file system requests frame is sent to far-end server, far-end server please according to file system
The target file system information of frame is asked to seek match information to bigger network, to obtain mesh corresponding to target file system information
Installation file, target file system form are marked, and is pushed to device A.The target installation file carry that device A operation is got is deposited
Storage device, and file system beacon frame is sent, update the file system format that device A is supported in other equipment.
(3) device A leaves the self-organizing network
As shown in accompanying drawing 8 and Fig. 9, Fig. 8 shows data interactive method flow signal when device A leaves self-organizing network
Figure, this method originate in step 800, when device A will leave the self-organizing network, and all members into self-organizing network are wide
Broadcast file system unloading frame.
, can be in own list after other members in step 801, the self-organizing network receive this document system uninstallation frame
It is middle to be deleted that column of device A.By taking equipment B as an example, after the file system unloading frame for receiving device A, equipment B file
System record sheet can be such as table B1”’It is shown.
Table B1”’
IP address |
MAC Address |
The file system format of support |
PING values |
192.168.0.3 |
00-00-00-00-00-03 |
CDFS、exFAT |
0.1ms |
192.168.0.4 |
00-00-00-00-00-04 |
ext2、ext3、ext4 |
0.15ms |
192.168.0.5 |
00-00-00-00-00-05 |
JFS、VMFS |
0.12ms |
192.168.0.6 |
00-00-00-00-00-06 |
JFS、XFS |
0.18ms |
Referring to Fig. 10, Figure 10 shows the construction module figure for the data interaction device that example IV provides, the data are handed over
Mutual device is applied to the first electronic equipment, first electronic equipment can as shown in the device A in embodiment three, described first
Electronic equipment includes the data-interface being connected with external equipment, and the data interaction device includes:
Judge module 1001, for when detecting the access of storage device, judging whether to support the storage device to make
File system format;
First sending module 1002, is connected with judge module 1001, for judging not supporting the storage device to use
File system format in the case of, to be in first electronic equipment same self-organizing network other equipment send text
Part system request frame, so that the other equipment is judging itself situation for target device according to the file system requests frame
Lower return file system requests reply frame;Wherein, the file system requests frame includes target file system information, the target
Filesystem information corresponds to the file system format that the storage device is supported;
Receiving module 1003, it is connected with the first sending module 1002, the file system for receiving target device return please
Ask and reply frame and target installation file corresponding with target file system information;And
Carry module 1004, it is connected with receiving module 1003, for running the target installation file, and is deposited described in carry
Storage device.
Specifically, the receiving module 1003 includes:First receiving unit, determining unit, transmitting element and second receive
Unit.Wherein, the first receiving unit, frame is replied for receiving the file system requests that an at least target device returns;Wherein, institute
The first electronic equipment preset document system record sheet is stated, the file system record sheet is used to record corresponding to the other equipment
First device identification;The file system requests, which reply frame, includes the second device identification corresponding to target device.
Determining unit, it is connected with the first receiving unit, for an at least mesh according to second device identification determination
The minimum target device of first device identification in marking device.
Transmitting element, it is connected with determining unit, for sending file to the minimum target device of first device identification
System push request so that the minimum target device of first device identification according to the file system push request send with
Target installation file corresponding to the target file system information.
Second receiving unit, is connected with transmitting element, for receiving the target installation file.
The embodiment of the present invention five also provides a kind of electronic equipment, including the data interaction device as shown in example IV.
Figure 11 is referred to, the embodiment of the present invention six also provides a kind of electronic equipment, has the data being connected with external equipment
Interface, including:
Memory (memory) 1100;
Communication interface (Communications Interface) 1120;
One or more processors (processor) 1130;And
One or more modules 1121, one or more of modules be stored in the memory and be configured to by
One or more of computing devices, one or more of modules are used for the instruction for performing following steps:
When detecting the access of storage device, judge whether to support the file system format that the storage device uses;
If the file system format for not supporting the storage device to use, it is in same to first electronic equipment
The other equipment of self-organizing network sends file system requests frame, so that the other equipment is according to the file system requests
Frame returns to file system requests in the case of judging itself for target device and replys frame;Wherein, the file system requests frame bag
Target file system information is included, the target file system information corresponds to the file system format that the storage device is supported;
Receive the file system requests that target device returns and reply frame and target corresponding with target file system information peace
Fill file;And
Run the target installation file, and storage device described in carry.
Figure 12 is referred to, the embodiment of the present invention seven provides a kind of data interaction device, including:
Determining module 1201, for when receive the first electronic equipment transmission file system requests frame when, according to described
File system requests frame determines whether itself is target device;Wherein, the file system requests frame includes target file system
Information, the target file system information correspond to the file system format of storage device support, the storage device and the first electricity
Sub- equipment connection;
Second sending module 1202, is connected with determining module 1201, in the case of it is determined that itself is target device
File system requests, which are sent, to first electronic equipment replys frame and target corresponding with target file system information installation text
Part.
Specifically, determining module 1201 includes resolution unit and the first determining unit, wherein:
Resolution unit, for parsing the file system requests frame, obtain the target text in the file system requests frame
Part system information;
First determining unit, is connected with resolution unit, for matching the target text from local file system record sheet
Part system information;If the match is successful, it is determined that itself is target device.
The embodiment of the present invention eight provides a kind of electronic equipment, including the data interaction device as shown in embodiment seven.
The embodiment of the present invention nine provides a kind of electronic equipment, including:
Memory (memory);
One or more processors (processor);And
One or more modules, one or more of modules are stored in the memory and are configured to by described
One or more processors perform, and one or more of modules are used for the instruction for performing following steps:
When receiving the file system requests frame of the first electronic equipment transmission, determined according to the file system requests frame
Whether itself is target device;Wherein, the file system requests frame includes target file system information, the file destination system
System information corresponds to the file system format of storage device support, and the storage device is connected with the first electronic equipment;
It is determined that sending file system requests to first electronic equipment in the case that itself is target device replys frame
And target installation file corresponding with target file system information.
The embodiment of the present invention also provides a kind of data interaction system, including:
First electronic equipment, for when detecting the access of storage device, judging whether to support the storage device to make
File system format;If the file system format for not supporting the storage device to use, set to first electronics
The standby other equipment in same self-organizing network sends file system requests frame;
The other equipment, for when receive the first electronic equipment transmission file system requests frame when, according to institute
State file system requests frame and determine whether itself is target device;And it is determined that to described the in the case that itself is target device
One electronic equipment sends file system requests and replys frame and target installation file corresponding with target file system information;
First electronic equipment, be additionally operable to receive target device return file system requests reply frame and with target text
Target installation file corresponding to part system information;
Wherein, the file system requests frame includes target file system information, and the target file system information is corresponding
The file system format that the storage device is supported.
Operation principle and corresponding beneficial effect and the preceding method embodiment theory of equipment/system embodiment of the present invention
Unanimously, foregoing content is specifically see, will not be repeated here.
The present embodiment additionally provides a kind of computer program product of combination electronic equipment, the computer program product bag
Include computer-readable storage medium and be embedded in computer program mechanism therein, the computer program mechanism includes performing
The instruction of following steps:
When detecting the access of storage device, judge whether to support the file system format that the storage device uses;
If the file system format for not supporting the storage device to use, it is in same to first electronic equipment
The other equipment of self-organizing network sends file system requests frame, so that the other equipment is according to the file system requests
Frame returns to file system requests in the case of judging itself for target device and replys frame;Wherein, the file system requests frame bag
Target file system information is included, the target file system information corresponds to the file system format that the storage device is supported;
Receive the file system requests that target device returns and reply frame and target corresponding with target file system information peace
Fill file;And
Run the target installation file, and storage device described in carry.
The present embodiment additionally provides a kind of computer program product of combination electronic equipment, the computer program product bag
Include computer-readable storage medium and be embedded in computer program mechanism therein, the computer program mechanism includes performing
The instruction of following steps:
When receiving the file system requests frame of the first electronic equipment transmission, determined according to the file system requests frame
Whether itself is target device;Wherein, the file system requests frame includes target file system information, the file destination system
System information corresponds to the file system format of storage device support, and the storage device is connected with the first electronic equipment;
It is determined that sending file system requests to first electronic equipment in the case that itself is target device replys frame
And target installation file corresponding with target file system information.
The computer program mechanism can also carry out the instruction of the step of achievable preceding method embodiment.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply and deposited between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Nonexcludability includes, so that process, method, article or terminal device including a series of elements not only include those
Key element, but also the other element including being not expressly set out, or it is this process, method, article or end also to include
The intrinsic key element of end equipment.In the absence of more restrictions, limited by sentence " including ... " or " including ... "
Key element, it is not excluded that other key element in the process including the key element, method, article or terminal device also be present.This
Outside, herein, " being more than ", " being less than ", " exceeding " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. understand
It is to include this number.
It should be understood by those skilled in the art that, the various embodiments described above can be provided as method, apparatus or computer program production
Product.These embodiments can use the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.All or part of step in the method that the various embodiments described above are related to can by program come instruct the hardware of correlation come
Complete, described program can be stored in the storage medium that computer equipment can be read, for performing the various embodiments described above side
All or part of step described in method.The computer equipment, include but is not limited to:Personal computer, server, general-purpose computations
It is machine, special-purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, intelligent home device, wearable
Smart machine, vehicle intelligent equipment etc.;Described storage medium, include but is not limited to:RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle
Deposit, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage etc..
The various embodiments described above are with reference to method, equipment (system) and the computer program product according to embodiment
Flow chart and/or block diagram describe.It should be understood that can be by every in computer program instructions implementation process figure and/or block diagram
One flow and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computers can be provided
Programmed instruction is to the processor of computer equipment to produce a machine so that passes through the finger of the computing device of computer equipment
Order, which produces, to be used to realize what is specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
The device of function.
These computer program instructions may be alternatively stored in the computer that computer equipment can be guided to work in a specific way and set
In standby readable memory so that the instruction being stored in the computer equipment readable memory produces the manufacture for including command device
Product, the command device is realized to be referred in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
Fixed function.
These computer program instructions can be also loaded on computer equipment so that performed on a computing device a series of
Operating procedure is to produce computer implemented processing, so as to which the instruction performed on a computing device is provided for realizing in flow
The step of function of being specified in one flow of figure or multiple flows and/or one square frame of block diagram or multiple square frames.
Although the various embodiments described above are described, those skilled in the art once know basic wound
The property made concept, then other change and modification can be made to these embodiments, so embodiments of the invention are the foregoing is only,
Not thereby the scope of patent protection of the present invention, every equivalent structure made using description of the invention and accompanying drawing content are limited
Or equivalent flow conversion, or other related technical areas are directly or indirectly used in, similarly it is included in the patent of the present invention
Within protection domain.