CN104615754B - Data interactive method - Google Patents

Data interactive method Download PDF

Info

Publication number
CN104615754B
CN104615754B CN201510076489.5A CN201510076489A CN104615754B CN 104615754 B CN104615754 B CN 104615754B CN 201510076489 A CN201510076489 A CN 201510076489A CN 104615754 B CN104615754 B CN 104615754B
Authority
CN
China
Prior art keywords
file system
electronic equipment
storage device
presentation information
document presentation
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
CN201510076489.5A
Other languages
Chinese (zh)
Other versions
CN104615754A (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.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201510076489.5A priority Critical patent/CN104615754B/en
Publication of CN104615754A publication Critical patent/CN104615754A/en
Application granted granted Critical
Publication of CN104615754B publication Critical patent/CN104615754B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention provides a kind of data interactive method, including:When the access for detecting storage device, judge whether to support the file system format that the storage device uses;If the file system format that the storage device is not supported to use, file system requests are sent to the second electronic equipment, so that target file system information of second electronic equipment in the file system requests determines corresponding document presentation information;Wherein, the file system format that the second electronic equipment support storage device uses;Receive and show the document presentation information that second electronic equipment returns.

Description

Data interactive method
Technical field
The present invention relates to mechanics of communication more particularly to a kind of data interactive methods.
Background technology
Mobile equipment can generally be supported to carry out the interaction of data, such as USB flash disk, SD card etc. using external memory.Outside Memory common file system format in portion's is substantially just several, such as FAT (32), NTFS, ext2, ext3, ext4 and ExFat etc..If the external memory that mobile equipment needs are read uses as above these common file system formats, that The mobile equipment of the overwhelming majority has all been prefixed the support of these file system formats.However, the whole world also has other very The file system of more minorities is being used.The support of these file system formats can't be preset in mobile equipment, that It means that once the file system of external memory used needed for mobile equipment is to belong to the form of these minorities, then Mobile equipment can not just use the external memory.
Invention content
For this purpose, the embodiment of the present invention provides a kind of data interactive method, not support external storage dress in current device In the case of putting the file system format used, current device is enable to succeed and carries out data interaction with storage device.
The embodiment of the present invention adopts the following technical scheme that:
In a first aspect, providing a kind of data interactive method, applied to the first electronic equipment, first electronic equipment includes The data-interface being connect with external equipment, the data interactive method include:
When the access for detecting storage device, judge whether to support the file system format that the storage device uses;
If the file system format that the storage device is not supported to use, sending file system to the second electronic equipment please It asks, so that target file system information of second electronic equipment in the file system requests determines corresponding file Show information;Wherein, the file system format that the second electronic equipment support storage device uses;
Receive and show the document presentation information that second electronic equipment returns.
With reference to first aspect, in the first possible implementation, the data interactive method further includes:
Detect the operational order to the document presentation information;
The operational order is sent to second electricity when detecting the operational order to the document presentation information Sub- equipment;
Receive the operating result that second electronic equipment is returned according to the operational order.
With reference to the first possible realization method, in second of possible realization method, the operational order include with At least one of give an order:It deletes instruction, modification instruction, increase instruction, inquiry instruction, refreshing instruction, newly-built instruction.
With reference to first aspect or the first or second of possible realization method, in the third possible realization method, The document presentation information for receiving and showing that second electronic equipment returns includes:
Receive the text of the second electronic equipment return;
The text is parsed, obtain and shows corresponding document presentation information.
With reference to first aspect, in the 4th kind of possible realization method, the data interactive method further includes:
Detect the operational order to the document presentation information;Wherein, the operational order includes the logic of operation object Address;
The operational order is sent to second electricity when detecting the operational order to the document presentation information Sub- equipment, so that second electronic equipment parses the logical address in the operational order;
The logical address that second electronic equipment returns is received, and to the corresponding number of logical address in the storage device According to progress corresponding operating.
Second aspect provides a kind of data interactive method, applied to the second electronic equipment, including:
The file system requests of the first electronic equipment transmission are received, and obtain the file destination in the file system requests System information;
Corresponding document presentation information is determined according to the target file system information;
The document presentation information is sent to first electronic equipment.
With reference to second aspect, in the first possible implementation, the data interactive method further includes:
Receive the operational order to the document presentation information that first electronic equipment is sent;
Corresponding operating is carried out to the document presentation information according to the operational order, generates corresponding operating result;
The operating result is sent to first electronic equipment.
With reference to the first possible embodiment, in second of possible realization method, the operational order include with At least one of give an order:It deletes instruction, modification instruction, increase instruction, inquiry instruction, refreshing instruction, newly-built instruction.
With reference in second aspect or the first or second of possible realization method, in the third possible realization method In, it is described to include to first electronic equipment transmission document presentation information:
The document presentation information is generated into text;
The file is sent to first electronic equipment.
It is described true according to the target file system information in the 4th kind of possible realization method with reference to second aspect Fixed corresponding document presentation information includes:
The target file system information is parsed, obtains corresponding target file system format information, and is matched correct Target file system;
The document presentation information in the target file system is read using the target file system.
With reference to second aspect, in the 5th kind of possible realization method, the data interactive method further includes:
Receive the operational order to the document presentation information that first electronic equipment is sent;
Parse the logical address of operation object in the operational order;
The logical address is returned into first electronic equipment.
The third aspect provides a kind of data interactive method, including:
First electronic equipment judges whether to support the text that the storage device uses when the access for detecting storage device Part system format;If the file system format that the storage device is not supported to use, file system is sent to the second electronic equipment System request;Wherein, the file system format that the second electronic equipment support storage device uses;
Second electronic equipment receives the file system requests that the first electronic equipment is sent, and obtains the file system Target file system information in request;Corresponding document presentation information is determined according to the target file system information;And The document presentation information is sent to first electronic equipment;
First electronic equipment receives and shows the document presentation information that second electronic equipment returns.
The embodiment of the present invention sends text by the second electronic equipment of file system format used to support storage device Part system request makes target file system information of second electronic equipment in the file system requests determine corresponding text Part shows information so that the first electronic equipment can show the document presentation information of the storage device, reach with it is described Storage device carries out the purpose of data interaction.
Description of the drawings
Fig. 1 is applicable in the data interaction flow diagram based on the first electronic equipment by the embodiment of the present invention one;
Fig. 2 is applicable in the data interaction flow diagram based on the first electronic equipment by the embodiment of the present invention two;
Fig. 3 is applicable in the data interaction flow diagram based on the second electronic equipment by the embodiment of the present invention three;
The application scenarios Organization Chart that Fig. 4 is applicable in by four to eight any embodiment of the embodiment of the present invention;
Fig. 5 is the data interaction flow diagram that four to eight any embodiment of the embodiment of the present invention is applicable in;
Fig. 6 is the graphic user interface of the first electronic equipment that four to eight any embodiment of the embodiment of the present invention is applicable in Figure;
Fig. 7 is the data interaction flow diagram that the embodiment of the present invention five is applicable in;
Fig. 8 is the data interaction flow diagram that the embodiment of the present invention six is applicable in;
Fig. 9 is the data interaction flow diagram that the embodiment of the present invention nine is applicable in;
Figure 10 is the network architecture diagram that the embodiment of the present invention nine is applicable in;
Figure 11 is another data interaction flow diagram that the embodiment of the present invention nine is applicable in;
Figure 12 is the data interaction device function structure chart based on the first electronic equipment that the embodiment of the present invention ten is applicable in;
Figure 13 is the electronic device module structure chart that the embodiment of the present invention 12 is applicable in;
Figure 14 is the data interaction device modular structure based on the second electronic equipment that the embodiment of the present invention 13 is applicable in Figure.
Specific embodiment
For the technology contents of technical solution, construction feature, the objects and the effects are described in detail, below in conjunction with specific reality It applies example and attached drawing is coordinated to be explained in detail.
Referring to Fig. 1, Fig. 1 shows the data interactive method based on the first electronic equipment that embodiment one provides, it is described First electronic equipment includes the data-interface being connect with external equipment, and herein, storage device can be USB flash disk, mobile hard disk, have The USB flash disk of operating system, the electronic equipment (such as handheld device) with store function, the first electronic equipment, the second electronic equipment Can be the equipment such as mobile equipment, PC machine.The data interactive method may comprise steps of.
100th, when the access for detecting storage device, judge whether the file system lattice that the storage device is supported to use Formula.
If the file system format that the storage device the 102, is not supported to use, file system is sent to the second electronic equipment System request so that target file system information of second electronic equipment in the file system requests determine it is corresponding Document presentation information;Wherein, the file system format that the second electronic equipment support storage device uses.Specifically, target Filesystem information includes the head logical address data of storage device, so that the second electronic equipment rapidly can be matched and be made Corresponding document presentation information is determined with correct target file system.Herein, head logical address number referred to herein According to the preceding partial sector for referring to storage device or the data of the first sector memory storage, the text that storage device is supported may be used to indicate that Part system format and document directory structure.Skilled person would appreciate that:Preceding several sector datas of disk are The specific format generated during its file system format, each 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 packet The head logical address data included, the form of expression be exactly by the first sector data in addition we can be further, by first 5 fan The data in area are all packaged with, and are filled in inside the endpiece of the first sector data.
104th, receive and show the document presentation information that second electronic equipment returns.
The embodiment of the present invention sends text by the second electronic equipment of file system format used to support storage device Part system request makes target file system information of second electronic equipment in the file system requests determine corresponding text Part shows information so that the first electronic equipment can show the document presentation information of the storage device, reach with it is described Storage device carries out the purpose of data interaction.
Referring to Fig. 2, Fig. 2 shows the data interactive method that the embodiment of the present invention two is provided based on the first electronic equipment, It may include steps of.
200th, first, which makes the first electronic equipment show the second electricity using the scheme shown in embodiment one The document presentation information that sub- equipment returns.Herein, document presentation information can include listed files, can also include file mesh Directory structures.Specifically, the document presentation information for receiving and showing that second electronic equipment returns includes:
Receive the text of the second electronic equipment return;
The text is parsed, obtain and shows corresponding document presentation information.
202nd, the first electronic equipment can also operate the document presentation information.Its specific implementation is as follows:
Detect the operational order to the document presentation information;Specifically, during the operational order is included to give an order It is at least one:It deletes instruction, modification instruction, increase instruction, inquiry instruction, refreshing instruction, newly-built instruction, the operational order is also Logical address including operation object, so that the second electronic equipment accurately can carry out corresponding operating to the operation object;
The operational order is sent to second electricity when detecting the operational order to the document presentation information Sub- equipment;
Receive the operating result that second electronic equipment is returned according to the operational order.
It will be apparent to a skilled person that the operational order is mainly used for the progress for document presentation information Corresponding operating, the not merely above-mentioned instruction listed.
Referring to Fig. 3, Fig. 3 shows the data interactive method based on the second electronic equipment that the embodiment of the present invention three provides Flow diagram, wherein, the second electronic equipment supports the file system format that the first electronic equipment external connection storage apparatus uses. Here, storage device can be USB flash disk, mobile hard disk, the USB flash disk for having operating system, electronic equipment (such as the hand with store function Holding equipment), the first electronic equipment, the second electronic equipment can be the equipment such as mobile equipment, PC machine.The data interactive method can be with Include the following steps.
300th, the file system requests that the first electronic equipment is sent are received, and obtain the target in the file system requests Filesystem information.Specifically, target file system information includes the head logical address data of storage device, so that the second electricity Sub- equipment can be matched rapidly and determine corresponding document presentation information using correct target file system.Herein, originally Signified head logical address data refers to the preceding partial sector of storage device or the data of the first sector memory storage in text, can For showing the file system format and document directory structure of storage device support.It should be understood by those skilled in the art that It is:Preceding several sector datas of disk, the specific format generated when being its file system format, each file system all differ Sample.In general the first sector contains the ID signatures of this document system, and form is identified for operating system.So herein The head logical address data that goal filesystem information includes, the form of expression are exactly by the first sector data, even We can be further, and the data of preceding 5 sectors are all packaged with, and is filled in inside the endpiece of the first sector data.
302nd, corresponding document presentation information is determined according to the target file system information.
304th, the document presentation information is sent to first electronic equipment.Specifically, it may be accomplished by:
The target file system information is parsed, obtains corresponding target file system format information, and is matched correct Target file system;
The document presentation information in the target file system is read using the target file system.
The embodiment of the present invention by receive the first electronic equipment send file system requests, make the second electronic equipment according to Target file system information in the file system requests determines corresponding document presentation information, so that the first electronics is set The standby document presentation information that can show the storage device achievees the purpose that carry out data interaction with the storage device.
Further, the present embodiment can also be achieved to being operated to the document presentation information, specific embodiment party Formula is as follows:
Receive the operational order to the document presentation information that first electronic equipment is sent;Specifically, the behaviour Make instruction to include at least one of giving an order:Delete instruction, modification instruction, increase instruction, inquiry instruction, refreshing instruction, Newly-built instruction, the operational order further includes the logical address of operation object, so that the second electronic equipment can be accurately to the behaviour Make object and carry out corresponding operating;
Corresponding operating is carried out to the document presentation information according to the operational order, generates corresponding operating result;
The operating result is sent to first electronic equipment.
Fig. 4 to Fig. 5 is please referred to, shows the data interactive method schematic diagram that the embodiment of the present invention four provides.Wherein, Fig. 4 A schematic diagram of a scenario can be applied by showing that this method is shown, including the first electronic equipment (device A), the second electronic equipment (equipment B), device A includes connecting data-interface with external connection storage apparatus, and equipment B supports the file system format that the storage device uses. Herein, storage device can be USB flash disk, mobile hard disk, the USB flash disk for having operating system, have store function electronic equipment (such as Handheld device), the first electronic equipment, the second electronic equipment can be the equipment such as mobile equipment, PC machine.
With reference to Fig. 4 and Fig. 5, Fig. 5 shows device A and the data interactive method schematic diagram of equipment B.This method can originate In step 501, after device A has accessed external connection storage apparatus equipment, in device A corresponding drive module to this it is external storage fill It puts and is initialized.
Step 502, device A judge from the logical sector address read head logical address data on storage device head Whether the system format that storage device uses is locally-supported file system format, the direct carry if supporting;If no It supports, then performs step 503.
Herein, head logical address data referred to herein refers to preceding partial sector or the first fan of storage device The data of area's memory storage may be used to indicate that the file system format and document directory structure information of storage device support.Ability Field technique personnel should be understood that:Preceding several sector datas of disk, the particular bin generated when being its file system format Formula, each file system are all different.In general the first sector contains the ID signatures of this document system, for operating system To identify form.In addition, the first sector also includes the document directory structure information of local, to characterize document presentation information. The head logical address data that so this paper goals filesystem information includes, the form of expression are exactly by the first sector number According in addition we can be further, the data of preceding 5 sectors are all packaged with, are filled in the endpiece of the first sector data The inside.
The wireless module of step 503, the wireless module of device A triggering device A and equipment B carries out point-to-point connection, and will The head logical address data is sent to the wireless module of equipment B by the point-to-point connection.
Step 504, equipment B wireless module by the head logical address data received in local preset file system Information bank is compared, to determine which kind of file system format is the head logical address data correspond to.
After step 505, equipment B determine the corresponding file system format of head logical address data, corresponding text is utilized Part system further parses the head logical address data, determines the corresponding document presentation letter of document directory structure Breath.
Step 506, equipment B return point mode the document presentation information being parsed by wireless points with text mode To device A.
Step 507, the device A parsing text, and show document presentation information on a user interface, specifically, can be with Show corresponding document directory structure.Specifically, the document directory structure that user interface is shown can be as shown in Figure 6.
With reference to Fig. 4 to Fig. 7, the data interactive method schematic diagram that the embodiment of the present invention five provides is shown.Wherein, Fig. 4 and As it was noted above, details are not described herein, the elaboration of the present embodiment emphasis is shown based on the first electronic equipment of example IV for the description of Fig. 6 After the document presentation information that second electronic equipment returns, the operating process that is operated to the document presentation information.Specifically, Corresponding operational order includes the logical address of operation object, so that the second electronic equipment can accurately carry out the operation object Corresponding operating, the operational order can be specially at least one of to give an order:Deletion instruction, modification instruct, increase instructs, Inquiry instruction, refreshing instruction, newly-built instruction, shearing instruction, duplicate instructions, replacement instruction.It should be understood by those skilled in the art that , which is mainly used for the carry out corresponding operating for document presentation information, the not merely above-mentioned finger listed It enables.Specifically, the present embodiment to be for deleting instruction, i.e. file in sweep equipment A.
Referring to Fig. 7, this method starts from step 701, the file x shown in the user interface of user's pointing device A is carried out Delete operation, device A detect the deletion instruction for file x.
The deletion instruction for deleting file x in external connection storage apparatus is sent to equipment B by step 702, device A.Specifically, it sets Standby A can pass through wireless point-to-point connection sending device B.Wherein, the logical address that instruction includes file x is deleted.
It after the deletion instruction that step 703, equipment B are received, parses described delete and instructs, acquisition is described to delete instruction Chinese The logical address of part x.
The logical address of file x is returned to device A by step 704, equipment B.
Step 705, device A receive the logical address and the corresponding data of the logical address are deleted one by one.
Step 706, device A refresh document presentation information, are shown in the user of device A again according to step described in attached drawing 5 On interface.
Fig. 4 to fig. 6 and Fig. 8 are please referred to, the embodiment of the present invention six also provides a kind of data interactive method, wherein, Fig. 4 and figure As it was noted above, details are not described herein, the present embodiment emphasis is illustrated shows the based on the first electronic equipment of example IV for 6 description After the document presentation information that two electronic equipments return, the operating process that is operated to the document presentation information.Specifically, phase The operational order answered includes the logical address of operation object, so that the second electronic equipment accurately can carry out phase to the operation object It should operate, which can be specially at least one of to give an order:Instruction is deleted, modification instruction, increases instruction, look into Ask instruction, refreshing instruction, newly-built instruction, shearing instruction, duplicate instructions, replacement instruction.It should be understood by those skilled in the art that It is that the operational order is mainly used for the carry out corresponding operating for document presentation information, the not merely above-mentioned instruction listed. Specifically, the present embodiment to be for deleting instruction, i.e. file in sweep equipment A.
Step 801-802 is roughly the same with five step 701-702 of embodiment in Fig. 8, the difference is that:
It after the deletion instruction that step 803, equipment B are received, parses described delete and instructs, acquisition is described to delete instruction Chinese The logical address of part x.
Step 804, equipment B carry out delete operation to the data of file x according to logical address, and determine the file after deleting Bibliographic structure and corresponding document presentation information.
Document presentation information after delete operation is passed through wireless point-to-point side by step 805, equipment B with text mode Formula returns to device A.
Step 806, the device A parsing text, and show document presentation information on a user interface, specifically, can be with Show corresponding document directory structure.
The embodiment of the present invention seven also provides a kind of data interactive method, and roughly the same with example IV, difference exists In further including:
Second electronic equipment is when detecting based on the second electronic equipment end to the operational order of document presentation information, parsing The operational order obtains the logical address of operation object in the operational order.Then the second electronic equipment is again by this logic Address is sent to the first electronic equipment.
First electronic equipment receives the logical address and carries out operational order pair to the corresponding data of the logical address The operation answered.Then according still further to mode described in attached drawing 5, refresh the document presentation information after simultaneously display operation again.
The embodiment of the present invention eight also provides a kind of data interactive method, and roughly the same with example IV, difference exists In further including:
Second electronic equipment is when detecting based on the second electronic equipment end to the operational order of document presentation information, parsing The operational order obtains the logical address of operation object in the operational order.Then the second electronic equipment is to the logic The corresponding data in address carry out corresponding operating, and the document presentation information after the corresponding operating is passed through with text mode Wireless points return to point mode the first electronic equipment.
First electronic equipment parses the text, and shows document presentation information on a user interface, specifically, can show Show corresponding document directory structure.
It will be apparent to a skilled person that the aforementioned embodiment five to eight to the operation of document presentation information can be with And/or mode combine and implement, i.e. the scheme of the description of embodiment five to eight can be achieved at the same time in the first electronic equipment, and the second electronics sets The standby scheme that the description of embodiment five to eight also can be achieved at the same time.
Referring to Fig. 9, the embodiment of the present invention nine also provides a kind of data interactive method, it is big with previous embodiment one to eight Cause it is identical, the difference is that further including:Determine the implementation of the second electronic equipment.Specifically, the data interactive method It can realize in the following way.
900th, the first electronic equipment when the access for detecting storage device judges whether that the storage device is supported to use File system format.
If the 902, the first electronic equipment does not support the file system format that the storage device uses, to described first The other equipment that electronic equipment is in same self-organizing network sends file system requests frame, so that the other equipment is in basis The file system requests frame judges that itself replys frame to return to file system requests in the case of target device;Wherein, it is described File system requests frame includes target file system information, and the target file system information corresponds to what the storage device was supported File system format.
904th, the first electronic equipment receives the file system requests that an at least target device returns and replys frame, according to described the Two device identifications determine the target device of the first device identification minimum in an at least target device, and by this first equipment mark Minimum target device is known as the second electronic equipment.Wherein, the first electronic equipment preset document system record sheet, it is described File system record sheet is used to record corresponding first device identification of the other equipment;The file system requests reply frame packet Include corresponding second device identification of target device.
In order to be more fully understood by this programme, the implementation of embodiment nine is exemplified below.Please refer to Fig.1 0 to Figure 11 shows data interactive method, and this method is applied to a self-organizing network, and the self-organizing network is a kind of mobile communication The network being combined with computer network, is one kind of Antenna of Mobile Computer Network, user terminal can arbitrarily be moved in net and Keep communication.The network topology structure of the self-organizing network can be as shown in Figure 10, the equipment including can mutually carry out data interaction A, equipment B, equipment C, equipment D, equipment E and equipment F.Herein, it will be assumed that device A is the first electronic equipment.
Each equipment in the present embodiment, self-organizing network is respectively provided with a file system record sheet, is set for recording to remove The device identification of itself standby outer other equipment and the file system format supported, wherein, device identification can include:IP address, The network PING values of MAC Address and other equipment.Herein, network PING values refer to connection speed of the current device with server Degree, i.e.,:Client data is sent to after server will order the duration fed back to needed for client again, and unit is millisecond (ms), The smaller speed of PING values 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 the corresponding IP address of device A-F is:192.168.0.1、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-01、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、ext2)、(JFS、FAT、NTFS)、(CDFS、exFAT)、 The PING values of (ext2, ext3, ext4), (JFS, VMFS), (JFS, XFS), and device A-F are respectively:0.08ms、0.1ms、 0.1ms, 0.15ms, 0.12ms, 0.18ms, then the file system record sheet of device A can following Table A1It is shown, it is set including other Standby corresponding first device identification and the file system format of support, wherein, the first device identification is with including IP address, MAC Location, 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 JFS、FAT、NTFS 0.1ms
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
Figure 11 shows the data interactive method flow diagram that device A is connect with external connection storage apparatus.This method originates In step 1100, support JFS file system storage device connect by data-interface with device A, when device A detect it is external During the access of storage device, device A does not support the file system format that the storage device uses, it is impossible to successfully with it is described Storage device carries out data interaction.Herein, storage device can be USB flash disk, mobile hard disk, the USB flash disk for having operating system, have and deposit Store up the electronic equipment (such as handheld device) of function.
Step 1101, device A read the head logical address data of the storage device, are packed into file system requests Frame, and to be in device A same self-organizing network other equipment B-F send file system requests frame so that it is described other Equipment B-F returns to file system requests in the case where judging itself for 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 with And head logical address data.
Table ARequest
IP address MAC Address Target file system information
192.168.0.1 00-00-00-00-00-01 The first sector data of storage device
Skilled person would appreciate that:Preceding several sector datas of disk, when being its file system format The specific format of generation, each 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 in addition we can be further, 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 preceding partial sector or the first sector of storage device The data of storage may be used to indicate that the file system format that storage device is supported.It will be apparent to a skilled person that it deposits The preceding partial sector of storage device or the first sector 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 1102, other equipment B-F receive the file system requests frame of device A transmission, parsing obtains therein Head logical address data (i.e. target file system information), and recorded according to head logical address data in local file system The file system format itself supported is matched in table.If there is equipment can be matched successfully and identify that target file system is believed Corresponding target file system form is ceased, then these equipment judge itself for target device, and return to file system requests reply Frame.This document system request replys second device identification and the target file system lattice of the frame with the reply target device Formula, wherein, the second device identification includes IP address, MAC Address.With reference to above it is found that the file system lattice that storage device is supported Formula is JFS, and equipment B, E, F are target device.By taking equipment E as an example, the file system requests reply frame that equipment B is sent can be such as table BRequest is repliedIt is shown.
Table BRequest is replied
IP address MAC Address Target file system form
192.168.0.2 00-00-00-00-00-02 JFS
Similarly, the file system requests that equipment E, F is sent reply frame can be such as table ERequest is replied、FRequest is repliedIt is shown.
Table ERequest is replied
IP address MAC Address Target file system form
192.168.0.5 00-00-00-00-00-05 JFS
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 1103, device A receive target device B, E, F reply frame, compare its own file System record sheet finds these and replys which equipment come from, and PING values are respectively how many.
Device A selects the equipment B of PING values minimum to send file system requests to equipment B as the second electronic equipment, with Target file system information of second electronic equipment in the file system requests is made to determine corresponding document presentation Information, wherein, target file system information includes the head logical address data of storage device, so that the second electronic equipment can It rapidly matches and determines corresponding document presentation information using correct target file system.Herein, it is referred to herein Head logical address data refers to the preceding partial sector of storage device or the data of the first sector memory storage, may be used to indicate that and deposits The file system format and document directory structure that storage device is supported.
In addition, step 1100-1103 is the file system format used in other equipment B-E with support storage device In the case of carry out, if the corresponding mesh of other equipment B-E equal nonrecognition target file system information after analysis in step 1102 File system format is marked, then file system requests frame is then sent to far-end server by device A, and far-end server is according to file system The target file system information of system claim frame seeks the second electronic equipment to the network of bigger.
Alternatively, far-end server can also obtain the corresponding target installation file of target file system information, file destination System format, and it is pushed to device A.The target installation file carry storage device that device A operation is got is pushed to, and is sent File system new information updates the file system format that device A is supported in other equipment.
The structure mould block diagram that 2, Figure 12 shows the data interaction device that embodiment ten provides is please referred to Fig.1, which hands 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 connect with external equipment, and the data interaction device includes:
Judgment module 1201, for when the access for detecting storage device, judging whether that the storage device is supported to make File system format;
First sending module 1202, connect with judgment module 1201, for the storage device not being supported to use in judgement File system format in the case of, to the second electronic equipment send file system requests so that the second electronic equipment root Corresponding document presentation information is determined according to the target file system information in the file system requests;Wherein, second electricity The file system format that sub- equipment support storage device uses;
First receiving module 1203 is connect with the first sending module 1202, for receiving and showing that second electronics is set The standby document presentation information returned.
The embodiment of the present invention 11 also provides a kind of electronic equipment, including the data interaction device as shown in embodiment ten.
3 are please referred to Fig.1, the embodiment of the present invention 12 also provides a kind of electronic equipment, has the number being connect with external equipment According to interface, including:
Storage device (memory) 1300;
Communication interface (Communications Interface) 1320;
One or more processors (processor) 1330;And
One or more modules 1321, one or more of modules are stored in the storage device and are configured to It is performed by one or more of processors, one or more of modules are used to perform the instruction of following steps:
When the access for detecting storage device, judge whether to support the file system format that the storage device uses;
If the file system format that the storage device is not supported to use, sending file system to the second electronic equipment please It asks, so that target file system information of second electronic equipment in the file system requests determines corresponding file Show information;Wherein, the file system format that the second electronic equipment support storage device uses;
Receive and show the document presentation information that second electronic equipment returns.
4 are please referred to Fig.1, the embodiment of the present invention 13 provides a kind of data interaction device, including:
Second receiving module 1401 for receiving the file system requests that the first electronic equipment is sent, and obtains the text Target file system information in part system request;
It determines sending module 1402, is connect with the second receiving module 1401, for according to the target file system information Determine corresponding document presentation information.
Second sending module 1403 is connect with the determining module 1402, for sending institute to first electronic equipment State document presentation information.
The embodiment of the present invention 14 provides a kind of electronic equipment, including the data interaction device as shown in embodiment 13.
The embodiment of the present invention 15 provides a kind of electronic equipment, including:
Storage device (memory);
One or more processors (processor);And
One or more modules, one or more of modules are stored in the storage device and are configured to by institute One or more processors execution is stated, one or more of modules are used to perform the instruction of following steps:
The file system requests of the first electronic equipment transmission are received, and obtain the file destination in the file system requests System information;
Corresponding document presentation information is determined according to the target file system information;
The document presentation information is sent to first electronic equipment.
The embodiment of the present invention also provides a kind of data interaction system, including:
First electronic equipment, for when the access for detecting storage device, judging whether that the storage device is supported to make File system format;If the file system format that the storage device is not supported to use, sent to the second electronic equipment File system requests;Wherein, the file system format that the second electronic equipment support storage device uses;
Second electronic equipment for receiving the file system requests that the first electronic equipment is sent, and obtains the text Target file system information in part system request;Corresponding document presentation letter is determined according to the target file system information Breath;And send the document presentation information to first electronic equipment;
First electronic equipment is additionally operable to receive and show the document presentation information that second electronic equipment returns.
Operation principle and corresponding advantageous effect and the preceding method embodiment theory of equipment/system embodiment of the present invention Unanimously, aforementioned content is specifically seen, details are not described herein.
The present embodiment additionally provides a kind of computer program product of combination electronic equipment, the computer program product packet It includes computer-readable storage medium and is embedded in computer program mechanism therein, the computer program mechanism includes performing The instruction of following steps:
When the access for detecting storage device, judge whether to support the file system format that the storage device uses;
If the file system format that the storage device is not supported to use, sending file system to the second electronic equipment please It asks, so that target file system information of second electronic equipment in the file system requests determines corresponding file Show information;Wherein, the file system format that the second electronic equipment support storage device uses;
Receive and show the document presentation information that second electronic equipment returns.
The present embodiment additionally provides a kind of computer program product of combination electronic equipment, the computer program product packet It includes computer-readable storage medium and is embedded in computer program mechanism therein, the computer program mechanism includes performing The instruction of following steps:
The file system requests of the first electronic equipment transmission are received, and obtain the file destination in the file system requests System information;
Corresponding document presentation information is determined according to the target file system information;
The document presentation information is sent to first electronic equipment.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only include those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or end The intrinsic element of end equipment.In the absence of more restrictions, limited by sentence " including ... " or " including ... " Element, it is not excluded that also there are other elements in the process including the element, method, article or terminal device.This Outside, herein, " being more than ", " being less than ", " being more than " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. understandings 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.The embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in these embodiments Form.All or part of step in the method that the various embodiments described above are related to can be instructed by program relevant hardware come It completes, the 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, including but 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, smart home device, wearable Smart machine, vehicle intelligent equipment etc.;The storage medium, including but not limited to:RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle It deposits, 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 Flowchart and/or the block diagram describes.It should be understood that it can be realized by computer program instructions every in flowchart and/or the block diagram The combination of flow and/or box in one flow and/or box and flowchart and/or the block diagram.These computers can be provided Program instruction is to the processor of computer equipment to generate a machine so that passes through the finger that the processor of computer equipment performs It enables generating and is used to implement what is specified in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The device of function.
These computer program instructions may also be 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 generates the manufacture for including command device Product, command device realization refer in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes Fixed function.
These computer program instructions can be also loaded on computer equipment so that performed on a computing device a series of To generate computer implemented processing, the instruction offer so as to perform on a computing device is used to implement in flow operating procedure The step of function of being specified in one flow of figure or multiple flows and/or one box of block diagram or multiple boxes.
Although the various embodiments described above are described, those skilled in the art once know basic wound The property made concept can then make these embodiments other change and modification, so the foregoing is merely the embodiment of the present invention, 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 process transformation, other related technical areas are directly or indirectly used in, are similarly included in the patent of the present invention Within protection domain.

Claims (10)

1. a kind of data interactive method, which is characterized in that applied to the first electronic equipment, first electronic equipment include with it is outer The data-interface of equipment connection is connect, the data interactive method includes:
When the access for detecting storage device, judge whether to support the file system format that the storage device uses;
If the file system format that the storage device is not supported to use, file system requests are sent to the second electronic equipment, So that target file system information of second electronic equipment in the file system requests determines corresponding file exhibition Show information;Wherein, the file system format that the second electronic equipment support storage device uses;Target file system packet Include the head logical address data of storage device;The head logical address data refers to the preceding partial sector or of storage device The data of one sector memory storage, for showing the file system format and document directory structure of storage device support;
Receive and show the document presentation information that second electronic equipment returns;
Detect the operational order to the document presentation information;
The operational order is sent to second electronics when detecting the operational order to the document presentation information to set It is standby;
Receive the operating result that second electronic equipment is returned according to the operational order.
2. data interactive method according to claim 1, which is characterized in that the data interactive method further includes:
Detect the operational order to the document presentation information;Wherein, the operational order includes the logical address of operation object;
The operational order is sent to second electronics when detecting the operational order to the document presentation information to set It is standby, so that second electronic equipment parses the logical address in the operational order;
Receive the logical address that second electronic equipment returns, and to the corresponding data of logical address in the storage device into Row corresponding operating.
3. data interactive method according to claim 1, which is characterized in that during the operational order is included to give an order It is at least one:It deletes instruction, modification instruction, increase instruction, inquiry instruction, refreshing instruction, newly-built instruction.
4. data interactive method according to any one of claims 1 to 3, which is characterized in that described to receive and show described The document presentation information that second electronic equipment returns includes:
Receive the text of the second electronic equipment return;
The text is parsed, obtain and shows corresponding document presentation information.
5. a kind of data interactive method, which is characterized in that applied to the second electronic equipment, including:
The file system requests of the first electronic equipment transmission are received, and obtain the target file system in the file system requests Information;The file system format that the second electronic equipment support storage device uses;Target file system information includes storage The head logical address data of device;The head logical address data refers to the preceding partial sector or the first sector of storage device The data of memory storage, for showing the file system format and document directory structure of storage device support;
Corresponding document presentation information is determined according to the target file system information;
The document presentation information is sent to first electronic equipment;
Receive the operational order to the document presentation information that first electronic equipment is sent;
Corresponding operating is carried out to the document presentation information according to the operational order, generates corresponding operating result;
The operating result is sent to first electronic equipment.
6. data interactive method according to claim 5, which is characterized in that the data interactive method further includes:
Receive the operational order to the document presentation information that first electronic equipment is sent;
Parse the logical address of operation object in the operational order;
The logical address is returned into first electronic equipment.
7. data interactive method according to claim 5, which is characterized in that during the operational order is included to give an order It is at least one:It deletes instruction, modification instruction, increase instruction, inquiry instruction, refreshing instruction, newly-built instruction.
8. according to claim 5 to 7 any one of them data interactive method, which is characterized in that described to first electronics Equipment sends the document presentation information and includes:
The document presentation information is generated into text;
The file is sent to first electronic equipment.
9. data interactive method according to claim 5, which is characterized in that described according to the target file system information Determine that corresponding document presentation information includes:
The target file system information is parsed, obtains corresponding target file system format information, and match correct target File system;
The document presentation information in the target file system is read using the target file system.
10. a kind of data interactive method, which is characterized in that including:
First electronic equipment judges whether the file system that the storage device is supported to use when the access for detecting storage device System form;If the file system format that the storage device is not supported to use, sending file system to the second electronic equipment please It asks;Wherein, the file system format that the second electronic equipment support storage device uses;
Second electronic equipment receives the file system requests that the first electronic equipment is sent, and obtains the file system requests In target file system information;Corresponding document presentation information is determined according to the target file system information;And to institute It states the first electronic equipment and sends the document presentation information;Target file system information includes the head logical address of storage device Data;The head logical address data refers to the preceding partial sector of storage device or the data of the first sector memory storage, is used for Show file system format and document directory structure that storage device is supported;
First electronic equipment receives and shows the document presentation information that second electronic equipment returns, and detects to the text Part shows the operational order of information, and sends out the operational order when detecting the operational order to the document presentation information It send to second electronic equipment;
Second electronic equipment receives the operational order to the document presentation information that first electronic equipment is sent, root Corresponding operating is carried out to the document presentation information according to the operational order, generates corresponding operating result, and to described first Electronic equipment sends the operating result;
First electronic equipment receives the operating result that second electronic equipment is returned according to the operational order.
CN201510076489.5A 2015-02-13 2015-02-13 Data interactive method Active CN104615754B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510076489.5A CN104615754B (en) 2015-02-13 2015-02-13 Data interactive method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510076489.5A CN104615754B (en) 2015-02-13 2015-02-13 Data interactive method

Publications (2)

Publication Number Publication Date
CN104615754A CN104615754A (en) 2015-05-13
CN104615754B true CN104615754B (en) 2018-06-19

Family

ID=53150196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510076489.5A Active CN104615754B (en) 2015-02-13 2015-02-13 Data interactive method

Country Status (1)

Country Link
CN (1) CN104615754B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303452A (en) * 2016-08-30 2017-01-04 天津汉光祥云信息科技有限公司 The method that monitor video multichannel strange land uses is solved based on encrypted wireless transmission mode

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314437A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for supporting user to browse multiple format resources and equipment
CN102799691A (en) * 2012-08-15 2012-11-28 深圳市宏电技术股份有限公司 File system conversion access method and file system conversion access equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002025488A2 (en) * 2000-09-25 2002-03-28 Transactions, Inc. System and method to correlate and access related text with locations on an electronically displayed map

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314437A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for supporting user to browse multiple format resources and equipment
CN102799691A (en) * 2012-08-15 2012-11-28 深圳市宏电技术股份有限公司 File system conversion access method and file system conversion access equipment

Also Published As

Publication number Publication date
CN104615754A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN104346462B (en) Preserve the method, apparatus and browser client of web page element
CN103617267B (en) Socialized extension search method, device and system
CN103136228A (en) Image search method and image search device
CN105549936B (en) Data table display method and device
CN106330788B (en) Message fragment transmission method and device
CN104951700B (en) Webpage leak detection method and device
CN104639553B (en) Data interactive method, apparatus and system
CN103064989B (en) Webpage preservation, deployment method and device
US20200159858A9 (en) Method and device for generating thermodynamic diagram
CN104679824B (en) The webpage generating method and system of the network platform
CN107819616A (en) Automatically extract the method, apparatus and system of daily record
CN107291759A (en) The treating method and apparatus of browser page resource
CN107770229A (en) High in the clouds sharing files method, system and Cloud Server
CN103856530A (en) Operation log managing method, server, terminal and system
CN105488078A (en) Web page data caching method and equipment
CN102591916A (en) Webpage opening method and website system
CN107247722A (en) File scanning method and device and intelligent terminal
CN104484482A (en) Webpage information updating method and system of network platform
CN108268216A (en) Data processing method, device and server
CN107800776A (en) A kind of document handling method, terminal, server and computer-readable medium
CN109885535A (en) A kind of method and relevant apparatus of file storage
CN104615754B (en) Data interactive method
CN107992402A (en) Blog management method and log management apparatus
CN106547806A (en) Page loading method and device
CN109150969A (en) Data transmission method, sorter, terminating machine and data transmission system

Legal Events

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

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

Applicant after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

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

Applicant before: Fuzhou Rockchip Semiconductor Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

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

Patentee after: Ruixin Microelectronics Co., Ltd

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

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.

CP01 Change in the name or title of a patent holder