[go: up one dir, main page]

CN107229416A - A kind of data transmission method, first terminal, second terminal and system - Google Patents

A kind of data transmission method, first terminal, second terminal and system Download PDF

Info

Publication number
CN107229416A
CN107229416A CN201610176895.3A CN201610176895A CN107229416A CN 107229416 A CN107229416 A CN 107229416A CN 201610176895 A CN201610176895 A CN 201610176895A CN 107229416 A CN107229416 A CN 107229416A
Authority
CN
China
Prior art keywords
terminal
file
fileinfo
operation information
wifi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610176895.3A
Other languages
Chinese (zh)
Inventor
彭克善
王轲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Zhongxing New Software Co Ltd
Original Assignee
Xian Zhongxing New Software 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 Xian Zhongxing New Software Co Ltd filed Critical Xian Zhongxing New Software Co Ltd
Priority to CN201610176895.3A priority Critical patent/CN107229416A/en
Priority to PCT/CN2016/082151 priority patent/WO2017161651A1/en
Publication of CN107229416A publication Critical patent/CN107229416A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of data transmission method, first terminal, second terminal and system, wherein, methods described includes:First terminal is connected based on the WiFi network accessed jointly with second terminal, foundation with the WiFi of second terminal;First terminal realizes the data interaction specified with second terminal by WiFi connections, to obtain required storage extending space from second terminal.

Description

A kind of data transmission method, first terminal, second terminal and system
Technical field
The present invention relates to memory technology, more particularly to a kind of data transmission method, first terminal, second terminal And system.
Background technology
With the development of development of Mobile Internet technology, the mobile terminal such as mobile phone, tablet personal computer product is gradually being substituted Traditional computer, people are more and more universal using mobile terminal office etc..A problem is that:Mobile terminal Memory space compare that traditional computer is much smaller, how improving the memory capacity of mobile terminal will solve Technical problem, so that mobile terminal can meet the convenience of mobile office, can also there is more storages Capacity is for users to use.However, for this problem, there is no effective solution in the prior art.
The content of the invention
In view of this, the embodiment of the present invention is desirable to provide a kind of data transmission method, and first terminal, second are eventually End and system, solve at least the problem of prior art is present.
What the technical scheme of the embodiment of the present invention was realized in:
A kind of data transmission method of the embodiment of the present invention, methods described includes:
First terminal sets up the WiFi with second terminal based on the WiFi network accessed jointly with second terminal Connection;
First terminal realizes the data interaction specified with second terminal by WiFi connections, to be obtained from second terminal Obtain required storage extending space.
In such scheme, the first terminal realizes that the data specified with second terminal are handed over by WiFi connections Mutually, extended with the storage needed for being obtained from second terminal, including:
First terminal receives the corresponding fileinfo of second terminal stored file based on WiFi connections;
The fileinfo is shown in first terminal, is operated according to the fileinfo, to generate control The operation information of file operation in second terminal;
First terminal sends the operation information, with according to the operation information to the corresponding text in second terminal Part carries out control operation corresponding with the operation information.
In such scheme, the fileinfo is the information obtained by second terminal according to specified format compression;
The fileinfo includes:It is filename, file storage location, file size, date created, last Once change at least one of read only attribute of date and file.
In such scheme, methods described also includes:Before first terminal shows the fileinfo, first Terminal obtains the file letter according to the specified format to described compress after obtained information is decompressed Breath.
A kind of data transmission method of the embodiment of the present invention, methods described includes:
Second terminal sets up the WiFi with first terminal based on the WiFi network accessed jointly with first terminal Connection;
Second terminal realizes the data interaction specified with first terminal by WiFi connections, by second terminal certainly The memory capacity of body is used as the storage extending space needed for first terminal.
In such scheme, the second terminal realizes that the data specified with first terminal are handed over by WiFi connections Mutually, using the storage extending space needed for the memory capacity as first terminal of second terminal itself, including:
Second terminal sends the corresponding fileinfo of second terminal itself stored file based on WiFi connections;
Second terminal receives the operation information that first terminal is sent, and the operation information is first terminal according to institute State fileinfo to be operated, to generate the operation information of file operation in control second terminal;
Second terminal is carried out and the operation information according to the operation information to the corresponding document in second terminal Corresponding control operation.
In such scheme, the fileinfo is the information obtained by second terminal according to specified format compression;
The fileinfo includes:It is filename, file storage location, file size, date created, last Once change at least one of read only attribute of date and file.
In such scheme, the operation information includes:The operating result of filename and respective file;
The second terminal is carried out and the operation according to the operation information to the corresponding document in second terminal The corresponding control operation of information, including:
Second terminal parses the operation information, obtains the filename and the operating result of respective file, root Corresponding document is retrieved according to the filename, control corresponding with the operating result is carried out to the corresponding document System operation.
In such scheme, methods described also includes:
The second terminal sends the corresponding file of second terminal itself stored file based on WiFi connections Before information, second terminal traverses the All Files under root or searches the file under assigned catalogue, And the corresponding document obtained according to traversal or search generates the corresponding fileinfo.
A kind of data transmission method of the embodiment of the present invention, methods described includes:
First terminal accesses WiFi network jointly with second terminal, in the first terminal and the second terminal Between set up WiFi connections;
The data interaction specified is realized by WiFi connections between the first terminal and the second terminal, with Using the storage extending space needed for the memory capacity as first terminal of second terminal itself.
A kind of first terminal of the embodiment of the present invention, the first terminal includes:
First connection establishment unit, for the WiFi network accessed jointly based on first terminal and second terminal, Set up the WiFi connections of first terminal and second terminal;
First processing units, for realizing that first terminal is handed over the data that second terminal is specified by WiFi connections Mutually, with the storage extending space needed for being obtained from second terminal.
In such scheme, the first processing units are further used for:
The corresponding fileinfo of second terminal stored file is received based on WiFi connections;
The fileinfo is shown in first terminal, is operated according to the fileinfo, to generate control The operation information of file operation in second terminal;
Send the operation information, with according to the operation information in second terminal corresponding document carry out with The corresponding control operation of the operation information.
In such scheme, the fileinfo is the information obtained by second terminal according to specified format compression;
The fileinfo includes:It is filename, file storage location, file size, date created, last Once change at least one of read only attribute of date and file.
In such scheme, the first processing units are further used for:
Before first terminal shows the fileinfo, compress what is obtained to described according to the specified format Information obtains the fileinfo after being decompressed.
A kind of second terminal of the embodiment of the present invention, the second terminal includes:
Second connection establishment unit, for the WiFi network accessed jointly based on second terminal and first terminal, Set up the WiFi connections of second terminal and first terminal;
Second processing unit, for realizing that second terminal is handed over the data that first terminal is specified by WiFi connections Mutually, using the storage extending space needed for the memory capacity as first terminal of second terminal itself.
In such scheme, the second processing unit is further used for:
The corresponding fileinfo of second terminal itself stored file is sent based on WiFi connections;
The operation information that first terminal is sent is received, the operation information is that first terminal is believed according to the file Breath is operated, to generate the operation information of file operation in control second terminal;
Control corresponding with the operation information is carried out to the corresponding document in second terminal according to the operation information System operation.
In such scheme, the fileinfo is the information obtained by second terminal according to specified format compression;
The fileinfo includes:It is filename, file storage location, file size, date created, last Once change at least one of read only attribute of date and file.
In such scheme, the operation information includes:The operating result of filename and respective file;
The second processing unit, is further used for:
The operation information is parsed, the filename and the operating result of respective file is obtained, according to the text Part name retrieves corresponding document, and control operation corresponding with the operating result is carried out to the corresponding document.
In such scheme, the second processing unit is further used for:
Sent before the corresponding fileinfo of second terminal itself stored file, traveled through based on WiFi connections All Files under to second terminal root searches file under assigned catalogue, and according to traversal or Search for obtained corresponding document and generate the corresponding fileinfo.
A kind of data transmission system of the embodiment of the present invention, the system includes:Such as any one of above-mentioned scheme Second terminal any one of described first terminal and such scheme.
The data transmission method of the embodiment of the present invention includes:First terminal based on accessing with second terminal jointly WiFi network, foundation is connected with the WiFi of second terminal;First terminal is realized and second by WiFi connections The data interaction that terminal is specified, to obtain required storage extending space from second terminal.Using of the invention real Example is applied, can be using the memory space of traditional computer as the extension storage space of mobile terminal, so that moving Dynamic terminal can meet the convenience of mobile office, also can have more memory capacity for users to use.
Brief description of the drawings
Fig. 1 is a method implementation process figure of the embodiment of the present invention;
Fig. 2 is the corresponding data interaction of the data transfer needed for being obtained in the embodiment of the present invention from second terminal Schematic flow sheet;
Fig. 3 is the another method implementation process figure of the embodiment of the present invention;
Fig. 4 is handed over for the corresponding another data of the data transfer needed for being obtained in the embodiment of the present invention from second terminal Mutual schematic flow sheet;
Fig. 5 is the composition structural representation of the data transmission system using the application scenarios of the embodiment of the present invention one;
Fig. 6 is the implementation process schematic diagram of the data transmission method using the application scenarios of the embodiment of the present invention one.
Embodiment
The implementation to technical scheme is described in further detail below in conjunction with the accompanying drawings.
Embodiment one:
The data transmission method of the embodiment of the present invention, as shown in figure 1, methods described includes:
Step 101, first terminal are set up with second eventually based on the WiFi network accessed jointly with second terminal The WiFi connections at end;
Step 102, first terminal realize the data interaction specified with second terminal by WiFi connections, with from Second terminal obtains required storage extending space.
Using first terminal as mobile phone or this mobile terminal of flat board, exemplified by second terminal is traditional computer, use The embodiment of the present invention, accesses WiFi network with traditional computer by mobile terminal, sets up therebetween jointly WiFi connections, by the data interaction specified therebetween (such as:Traditional computer sends stored file correspondence Fileinfo to mobile terminal, show these fileinfos in mobile terminal, obtain mobile terminal correspondence this The operating result of a little fileinfos, operation information is generated according to filename and corresponding operating result, mobile whole Operation information is returned to traditional computer by end, and traditional computer parses operation information, obtains filename and corresponding behaviour Make result, retrieved according to filename in traditional computer after corresponding file, according to the operating result to this File performs corresponding control operation) so that the storage needed for mobile terminal can be obtained from traditional computer extends Space.
In the embodiment of the embodiment of the present invention one, the first terminal is realized and second terminal by WiFi connections The data interaction specified, is extended with the storage needed for being obtained from second terminal, as shown in Fig. 2 including:
Step 201, first terminal receive the corresponding file of second terminal stored file based on WiFi connections Information;
Step 202, in first terminal the fileinfo is shown, is operated according to the fileinfo, To generate the operation information of file operation in control second terminal;
Step 203, first terminal send the operation information, with according to the operation information to second terminal On corresponding document carry out corresponding with operation information control operation.
In the embodiment of the embodiment of the present invention one, the fileinfo is according to specified format pressure by second terminal Contract obtained information;The fileinfo includes:Filename, file storage location, file size, establishment At least one of the read only attribute on date, Last modification date and file.
In the embodiment of the embodiment of the present invention one, methods described also includes:The file is shown in first terminal Before information, first terminal is obtained according to the specified format to described compress after obtained information is decompressed To the fileinfo.
Embodiment two:
A kind of data transmission method of the embodiment of the present invention, as shown in figure 3, methods described includes:
Step 301, second terminal are set up with first eventually based on the WiFi network accessed jointly with first terminal The WiFi connections at end;
Step 302, second terminal realize the data interaction specified with first terminal by WiFi connections, will The memory capacity of second terminal itself is used as the storage extending space needed for first terminal.
Using first terminal as mobile phone or this mobile terminal of flat board, exemplified by second terminal is traditional computer, use The embodiment of the present invention, accesses WiFi network with traditional computer by mobile terminal, sets up therebetween jointly WiFi connections, by the data interaction specified therebetween (such as:Traditional computer sends stored file correspondence Fileinfo to mobile terminal, show these fileinfos in mobile terminal, obtain mobile terminal correspondence this The operating result of a little fileinfos, operation information is generated according to filename and corresponding operating result, mobile whole Operation information is returned to traditional computer by end, and traditional computer parses operation information, obtains filename and corresponding behaviour Make result, retrieved according to filename in traditional computer after corresponding file, according to the operating result to this File performs corresponding control operation) so that the storage needed for mobile terminal can be obtained from traditional computer extends Space.
In the embodiment of the embodiment of the present invention one, the second terminal is realized and first terminal by WiFi connections The data interaction specified, the storage needed for the memory capacity as first terminal of second terminal itself is extended Space, as shown in figure 4, including:
It is corresponding that step 401, second terminal send second terminal itself stored file based on WiFi connections Fileinfo;
Step 402, second terminal receive the operation information that first terminal is sent, and the operation information is first Terminal is operated according to the fileinfo, to generate the operation information of file operation in control second terminal;
Step 403, second terminal are carried out and institute according to the operation information to the corresponding document in second terminal State the corresponding control operation of operation information.
In the embodiment of the embodiment of the present invention one, the fileinfo is according to specified format pressure by second terminal Contract obtained information;The fileinfo includes:Filename, file storage location, file size, establishment At least one of the read only attribute on date, Last modification date and file.
In the embodiment of the embodiment of the present invention one, the operation information includes:The behaviour of filename and respective file Make result;Then the second terminal is carried out and institute according to the operation information to the corresponding document in second terminal The corresponding control operation of operation information is stated, including:Second terminal parses the operation information, obtains the text The operating result of part name and respective file, retrieves corresponding document, to the corresponding text according to the filename Part carries out control operation corresponding with the operating result.
In the embodiment of the embodiment of the present invention one, methods described also includes:The second terminal is based on WiFi Connection is come before sending the corresponding fileinfo of second terminal itself stored file, second terminal traverses root All Files under catalogue searches file under assigned catalogue, and the phase obtained according to traversal or search Answer the corresponding fileinfo of file generated.
A kind of data transmission method of the embodiment of the present invention, methods described includes:
Step 501, first terminal and second terminal access WiFi network jointly, in the first terminal and institute State and set up WiFi connections between second terminal;
Step 502, the number specified between the first terminal and the second terminal by WiFi connections realization According to interaction, using the storage extending space needed for the memory capacity as first terminal of second terminal itself.
Using first terminal as mobile phone or this mobile terminal of flat board, exemplified by second terminal is traditional computer, use The embodiment of the present invention, accesses WiFi network with traditional computer by mobile terminal, sets up therebetween jointly WiFi connections, by the data interaction specified therebetween, specifically such as:Traditional computer is by stored file pair Mobile terminal is sent to after the fileinfo compression answered, text is obtained after mobile terminal decompresses compressed file Part information, shows these fileinfos, obtains the operating result of these fileinfos of mobile terminal correspondence, root According to filename and corresponding operating result generation operation information, operation information is returned to traditional computer by mobile terminal, Traditional computer parses operation information, obtains filename and corresponding operating result, biography is retrieved according to filename In system computer after corresponding file, corresponding control operation is performed to this document according to the operating result.
Pass through the interaction of above-mentioned data transfer so that mobile terminal can obtain required storage from traditional computer Extending space.
In the embodiment of the embodiment of the present invention one, in addition in above-described embodiment one-two and its correspondence embodiment Data transfer interaction flow.
Embodiment three:
A kind of first terminal of the embodiment of the present invention, the first terminal includes:First connection establishment unit, For the WiFi network accessed jointly based on first terminal and second terminal, first terminal and second terminal are set up WiFi connections;And first processing units, for realizing first terminal and second terminal by WiFi connections The data interaction specified, to obtain required storage extending space from second terminal.
In the embodiment of the embodiment of the present invention one, the first processing units are further used for:It is based on WiFi connections receive the corresponding fileinfo of second terminal stored file;The text is shown in first terminal Part information, is operated according to the fileinfo, to generate the operation of file operation in control second terminal Information;The operation information is sent, to be carried out according to the operation information to the corresponding document in second terminal Control operation corresponding with the operation information.
In the embodiment of the embodiment of the present invention one, the fileinfo is according to specified format by second terminal Compress obtained information;The fileinfo includes:Filename, file storage location, file size, wound Build at least one of the read only attribute on date, Last modification date and file.
In the embodiment of the embodiment of the present invention one, the first processing units are further used for:First Terminal is shown before the fileinfo, and the obtained information of compressing is solved according to the specified format The fileinfo is obtained after compression.
Example IV:
A kind of second terminal of the embodiment of the present invention, the second terminal includes:Second connection establishment unit, For the WiFi network accessed jointly based on second terminal and first terminal, second terminal and first terminal are set up WiFi connections;And second processing unit, for realizing second terminal and first terminal by WiFi connections The data interaction specified, the storage needed for the memory capacity as first terminal of second terminal itself is extended Space.
In the embodiment of the embodiment of the present invention one, the second processing unit is further used for:It is based on WiFi connections send the corresponding fileinfo of second terminal itself stored file;First terminal is received to send Operation information, the operation information be first terminal operated according to the fileinfo, to generate control The operation information of file operation in second terminal processed;According to the operation information to the corresponding text in second terminal Part carries out control operation corresponding with the operation information.
In the embodiment of the embodiment of the present invention one, the fileinfo is according to specified format by second terminal Compress obtained information;The fileinfo includes:Filename, file storage location, file size, wound Build at least one of the read only attribute on date, Last modification date and file.
In the embodiment of the embodiment of the present invention one, the operation information includes:Filename and respective file Operating result;The second processing unit, is further used for:The operation information is parsed, the text is obtained The operating result of part name and respective file, retrieves corresponding document, to the corresponding text according to the filename Part carries out control operation corresponding with the operating result.
In the embodiment of the embodiment of the present invention one, the second processing unit is further used for:It is based on WiFi connections before sending the corresponding fileinfo of second terminal itself stored file, traverse second eventually All Files under the root of end searches file under assigned catalogue, and is obtained according to traversal or search Corresponding document generate the corresponding fileinfo.
A kind of data transmission system of the embodiment of the present invention, the system includes:Such as above-mentioned embodiment three and its First terminal and such as any one of above-mentioned example IV and embodiments thereof any one of embodiment Described second terminal.
The embodiment of the present invention is described below by taking a practical application scene as an example:
First existing application scenarios are described below:
With the development of development of Mobile Internet technology, mobile phone, Tablet (a kind of tablet personal computer of concrete model) etc. Mobile terminal product is in the traditional computer of gradually replacement, and people are more and more universal using mobile terminal office etc..But It is that a distinct issues are, the memory space of mobile terminal, compared to much smaller, is moved eventually with traditional computer The memory capacity at end becomes a bottleneck.Based on this, conceive one herein by WiFi wireless technologys, it is real Automatic unloading between the mass-memory unit of existing mobile terminal and computer etc, to solve mobile terminal Memory space this bottleneck.As long as mobile terminal and computer simultaneously be linked on the WiFi of a certification, Such as family WiFi, it is possible to realize that the automatic duplicating of data on mobile terminal dumps to the great Rong of computer etc Measure in storage device.
WiFi modes rather than other data transfer modes are taken in consideration, are because following content;
In existing data transfer, terminal data and miscellaneous equipment can be carried out by transmitting-receiving by Bluetooth technology and divided The transmission enjoyed;Or the secrecy of MANET file is carried out using WiFi and encryption technology;Or by hand-held optics Video in equipment is sent to flat board, mobile phone, notebook or DTV etc. by wireless technology;Or it is logical Cross WiFi, LTE, netting twine and set up a kind of low-power-consumption embedded intelligent gateway.But, using these technologies, The problem of existing be:In the prior art, terminal data and miscellaneous equipment are carried out by transmitting-receiving point by Bluetooth technology Enjoy, although eliminate route trunking, but bluetooth is not only limited substantially by distance, and also transmission rate is too Slowly, only tens KB to 100 KB;Video in optical device is such as passed through nothing by other prior arts Line technology is sent to flat board, mobile phone, notebook or DTV etc., also only transmits single video, it is impossible to Transmit other routines and office documents.
For existing application scenarios, using the embodiment of the present invention, specifically a kind of number based on WiFi technology According to transmission method, realize that mobile terminal obtains storage from large capacity equipment such as computer and expanded by WiFi technology Exhibition, the problem of effectively solving the limited storage space of mobile terminal carries out data conversion storage using WiFi technology, Hardware device, highly effective and safe and economy need not be increased.Using the embodiment of the present invention, including mobile terminal and electricity Brain sets up WiFi wireless connections;Computer traversal is stored in the All Files on itself hard disk;Computer will be traversed The information of All Files be compressed according to specified format, generate compressing file packet;Computer is by file Compression packet is wirelessly transmitted to mobile terminal;Mobile terminal wireless receiving compressing file packet, and by text Part compression packet is decompressed according to specified format;Mobile terminal is by all texts of the computer after decompression The corresponding file of part information is shown on the display interface of mobile terminal;Mobile terminal is carried out to the file of computer Operation, generates operation information;Operation information real-time radio is transferred to computer by mobile terminal;Computer is according to behaviour Make information to operate the corresponding document of storage on mobile terminals.
For existing application scenarios, using the embodiment of the present invention, specifically a kind of number based on WiFi technology According to Transmission system, the system includes the mobile terminal and computer by wireless connection.
One, include following module in computer side:
First wireless file management module, All Files on computer hard disc is stored in for traveling through, and will be all over The information for the All Files gone through is compressed according to specified format, generates compressing file packet;
First wireless transport module, the second nothing for compressing file packet to be wirelessly transmitted to mobile terminal Line transport module;And the operation information that the second wireless transport module of real-time reception mobile terminal is wirelessly transferred;
First file operation module, for being entered according to operation information to the corresponding document being stored on computer hard disc Row operation.
It need to be noted that be:First wireless file management module and the first file operation module belong to above-mentioned The specific refinement of module in the second processing unit that embodiment second terminal is referred to, the first wireless transport module is The specific refinement of module in the second connection establishment unit that above-described embodiment second terminal is referred to.
Two, include following module in mobile terminal side:
Second wireless transport module, the compressing file packet for receiving the transmission of the first wireless transport module, Start the second wireless file management module, and by compressing file packets to the second wireless file management mould Block;And the operation information for transmitting the second file operation module is in real time to the first wireless transport module of computer Send;
Second wireless file management module, for compressing file packet to be decompressed according to specified format, And the corresponding file of All Files information of the mobile terminal after decompression is shown in display circle of mobile terminal On face;
Second file operation module, the file of the computer for being shown to the second wireless file management module is carried out Operation, generates operation information, and operation information is sent into the second wireless transport module.
It need to be noted that be:Second wireless file management module and the second file operation module belong to above-mentioned The specific refinement of module in the first processing units that embodiment first terminal is referred to, the second wireless transport module is The specific refinement of module in the first connection establishment unit that above-described embodiment first terminal is referred to.
Fig. 5 is an instantiation of the data transmission system based on WiFi technology of the embodiment of the present invention, In system functional block diagram shown in Fig. 5, the system includes:Pass through the computer 10 and mobile terminal of wireless connection 20;Wherein;
The computer 10 includes:First wireless file management module 110, computer 10 is stored in for traveling through All Files or particular file folder (such as audio frequency and video) or user oneself on hard disk choose all texts under catalogue Part list, and the information of the All Files traversed is compressed according to specified format, generate compressing file Packet;And first wireless transport module 120, for this document compression packet to be wirelessly transmitted into the shifting Second wireless transport module 220 of dynamic terminal 20, and the real-time reception mobile terminal 20 second wireless passes The operation information that defeated module 220 is wirelessly transferred;And the first file operation module 130, for according to the operation Information is operated to the corresponding document being stored on the hard disk of the computer 10.
The mobile terminal 20 includes:Second wireless transport module 220, first mould is wirelessly transferred for receiving this This document compression packet that block 120 is transmitted, starts the second wireless file management module 210, and by this article Part compresses packets to the second wireless file management module 210, and by the second file operation module The operation information of 230 transmission is sent to the first wireless transport module 120 of the computer 10 in real time;And second Wireless file management module 210, for this document compression packet to be decompressed according to specified format, And the corresponding file of All Files information of the computer 10 after decompression is shown in the display of mobile terminal 20 On interface;And the second file operation module 230, for being shown to the second wireless file management module 210 The file of computer 10 operated, generate operation information, and it is second wireless that the operation information is sent into this Transport module 220.
Specifically, above-mentioned wireless connection can include WIFI connections.
Specifically, above-mentioned fileinfo can include:Filename, file storage location, file size, wound Build the read only attribute on date, Last modification date and file etc..
Specifically, the second file operation module 230, specifically can be used for entering the file of the computer 10 Row increase, deletion, mobile or duplication operation, or editor/modification of file content is operated, generate bag Include filename and the operation information including operating result.
Fig. 6 is an instantiation of the data transmission method based on WiFi technology of the embodiment of the present invention, In method flow diagram shown in Fig. 6, comprise the following steps:
Step 610, computer and mobile terminal set up wireless connection;
Step 620, computer traversal are stored in All Files/or particular file folder (such as sound on itself hard disk Video) or user oneself choose listed files under catalogue;
The information of the All Files traversed is compressed by step 630, the computer according to specified format, raw Into compressing file packet;
This document compression packet is wirelessly transmitted to mobile terminal by step 640, the computer;
Step 650, mobile terminal wireless receiving this document compression packet, and this document is compressed into information Bag is decompressed according to specified format;
Step 660, the mobile terminal show the corresponding file of All Files information of the computer after decompression In on the screen of the mobile terminal;
Step 670, the mobile terminal are operated to the file system of computer, generate operation information;
Aforesaid operations information real-time radio is transferred to computer by step 680, the mobile terminal;
Step 690, the computer are carried out according to aforesaid operations information to the corresponding document being stored on itself hard disk Operation.
Specifically, above-mentioned wireless connection can include WIFI connections.
Specifically, above-mentioned fileinfo can include:Filename, file storage location, file size, wound Build the read only attribute on date, Last modification date and file.
Specifically, the processing procedure of step 670 can specifically include:File of the mobile terminal to the computer Increased, deleted, mobile or duplication is operated, or editor/modification of file content being operated, generation bag Include filename and the operation information including operating result.
Alternatively, before step 610, method shown in Fig. 6 can also include:Receive what user sent Computer is set to enter the instruction of wireless unloading pattern.
Specifically, relevant traversal computer particular file folder (such as audio frequency and video) or user oneself choose catalogue hereafter The method of part list, recursive method can be used to be realized with Java language, because Java language class transplantability is high, It is readable high, it is easy to understand preferably on mobile phone, core traversal code is as follows.
Specifically, about the communication transmitted based on exchange files between computer and mobile terminal, use ICP/IP protocol, carries out three-way handshake, more safe and efficient.Shake hands for the first time:When setting up connection, client Hold (i.e. mobile terminal side) to send syn bags (syn=j) and arrive server (computer side), and enter SYN_SENT State, waiting for server confirms;SYN:Synchronizing sequence numbers (Synchronize Sequence Numbers). Second handshake:Server receives syn bags, it is necessary to confirm the SYN (ack=j+1) of client, while oneself Also a SYN bag (syn=k), i.e. SYN+ACK bags are sent, now server enters SYN_RECV State;Third time is shaken hands:Client receives the SYN+ACK bags of server, is sent to server and confirms bag ACK (ack=k+1), this bag is sent, and client and server enters ESTABLISHED, and (TCP connects It is connected into work() state, complete three-way handshake.Three-way handshake is completed, client starts to transmit data with server.
This application scene using the embodiment of the present invention this data transmission method based on WiFi technology and be System, realizes that mobile terminal obtains storage extension from large capacity equipment such as computer, effectively by WiFi technology The problem of solving the limited storage space of mobile terminal, data conversion storage is carried out using WiFi technology, without increase Hardware device, highly effective and safe and economical and practical.
If integrated module described in the embodiment of the present invention is realized using in the form of software function module and as independently Production marketing or in use, can also be stored in a computer read/write memory medium.Based on so Understanding, the part that the technical scheme of the embodiment of the present invention substantially contributes to prior art in other words can To be embodied in the form of software product, the computer software product is stored in a storage medium, bag Some instructions are included to so that a computer equipment (can be personal computer, server or network Equipment etc.) perform all or part of each of the invention embodiment methods described.And foregoing storage medium bag Include:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with storage program generation The medium of code.So, the embodiment of the present invention is not restricted to any specific hardware and software combination.
Accordingly, the embodiment of the present invention also provides a kind of computer-readable storage medium, wherein the computer journey that is stored with Sequence, the computer program is used for the data transmission method for performing the embodiment of the present invention.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the protection model of the present invention Enclose.

Claims (20)

1. a kind of data transmission method, it is characterised in that methods described includes:
First terminal sets up the WiFi with second terminal based on the WiFi network accessed jointly with second terminal Connection;
First terminal realizes the data interaction specified with second terminal by WiFi connections, to be obtained from second terminal Obtain required storage extending space.
2. according to the method described in claim 1, it is characterised in that the first terminal is connected by WiFi The data interaction realized and specified with second terminal is connect, is extended with the storage needed for being obtained from second terminal, including:
First terminal receives the corresponding fileinfo of second terminal stored file based on WiFi connections;
The fileinfo is shown in first terminal, is operated according to the fileinfo, to generate control The operation information of file operation in second terminal;
First terminal sends the operation information, with according to the operation information to the corresponding text in second terminal Part carries out control operation corresponding with the operation information.
3. method according to claim 2, it is characterised in that the fileinfo is by second terminal Obtained information is compressed according to specified format;
The fileinfo includes:It is filename, file storage location, file size, date created, last Once change at least one of read only attribute of date and file.
4. method according to claim 3, it is characterised in that methods described also includes:First eventually Before the end display fileinfo, first terminal compresses obtained information according to the specified format to described The fileinfo is obtained after being decompressed.
5. a kind of data transmission method, it is characterised in that methods described includes:
Second terminal sets up the WiFi with first terminal based on the WiFi network accessed jointly with first terminal Connection;
Second terminal realizes the data interaction specified with first terminal by WiFi connections, by second terminal certainly The memory capacity of body is used as the storage extending space needed for first terminal.
6. method according to claim 5, it is characterised in that the second terminal is connected by WiFi The data interaction realized and specified with first terminal is connect, it is whole using the memory capacity of second terminal itself as first Storage extending space needed for end, including:
Second terminal sends the corresponding fileinfo of second terminal itself stored file based on WiFi connections;
Second terminal receives the operation information that first terminal is sent, and the operation information is first terminal according to institute State fileinfo to be operated, to generate the operation information of file operation in control second terminal;
Second terminal is carried out and the operation information according to the operation information to the corresponding document in second terminal Corresponding control operation.
7. method according to claim 6, it is characterised in that the fileinfo is by second terminal Obtained information is compressed according to specified format;
The fileinfo includes:It is filename, file storage location, file size, date created, last Once change at least one of read only attribute of date and file.
8. method according to claim 6, it is characterised in that the operation information includes:Filename With the operating result of respective file;
The second terminal is carried out and the operation according to the operation information to the corresponding document in second terminal The corresponding control operation of information, including:
Second terminal parses the operation information, obtains the filename and the operating result of respective file, root Corresponding document is retrieved according to the filename, control corresponding with the operating result is carried out to the corresponding document System operation.
9. method according to claim 6, it is characterised in that methods described also includes:
The second terminal sends the corresponding file of second terminal itself stored file based on WiFi connections Before information, second terminal traverses the All Files under root or searches the file under assigned catalogue, And the corresponding document obtained according to traversal or search generates the corresponding fileinfo.
10. a kind of data transmission method, it is characterised in that methods described includes:
First terminal accesses WiFi network jointly with second terminal, in the first terminal and the second terminal Between set up WiFi connections;
The data interaction specified is realized by WiFi connections between the first terminal and the second terminal, with Using the storage extending space needed for the memory capacity as first terminal of second terminal itself.
11. a kind of first terminal, it is characterised in that the first terminal includes:
First connection establishment unit, for the WiFi network accessed jointly based on first terminal and second terminal, Set up the WiFi connections of first terminal and second terminal;
First processing units, for realizing that first terminal is handed over the data that second terminal is specified by WiFi connections Mutually, with the storage extending space needed for being obtained from second terminal.
12. first terminal according to claim 11, it is characterised in that the first processing units, It is further used for:
The corresponding fileinfo of second terminal stored file is received based on WiFi connections;
The fileinfo is shown in first terminal, is operated according to the fileinfo, to generate control The operation information of file operation in second terminal;
Send the operation information, with according to the operation information in second terminal corresponding document carry out with The corresponding control operation of the operation information.
13. first terminal according to claim 12, it is characterised in that the fileinfo is by the Two terminals compress obtained information according to specified format;
The fileinfo includes:It is filename, file storage location, file size, date created, last Once change at least one of read only attribute of date and file.
14. first terminal according to claim 13, it is characterised in that the first processing units, It is further used for:
Before first terminal shows the fileinfo, compress what is obtained to described according to the specified format Information obtains the fileinfo after being decompressed.
15. a kind of second terminal, it is characterised in that the second terminal includes:
Second connection establishment unit, for the WiFi network accessed jointly based on second terminal and first terminal, Set up the WiFi connections of second terminal and first terminal;
Second processing unit, for realizing that second terminal is handed over the data that first terminal is specified by WiFi connections Mutually, using the storage extending space needed for the memory capacity as first terminal of second terminal itself.
16. second terminal according to claim 15, it is characterised in that the second processing unit, It is further used for:
The corresponding fileinfo of second terminal itself stored file is sent based on WiFi connections;
The operation information that first terminal is sent is received, the operation information is that first terminal is believed according to the file Breath is operated, to generate the operation information of file operation in control second terminal;
Control corresponding with the operation information is carried out to the corresponding document in second terminal according to the operation information System operation.
17. second terminal according to claim 16, it is characterised in that the fileinfo is by the Two terminals compress obtained information according to specified format;
The fileinfo includes:It is filename, file storage location, file size, date created, last Once change at least one of read only attribute of date and file.
18. second terminal according to claim 16, it is characterised in that the operation information includes: The operating result of filename and respective file;
The second processing unit, is further used for:
The operation information is parsed, the filename and the operating result of respective file is obtained, according to the text Part name retrieves corresponding document, and control operation corresponding with the operating result is carried out to the corresponding document.
19. second terminal according to claim 16, it is characterised in that the second processing unit, It is further used for:
Sent before the corresponding fileinfo of second terminal itself stored file, traveled through based on WiFi connections All Files under to second terminal root searches file under assigned catalogue, and according to traversal or Search for obtained corresponding document and generate the corresponding fileinfo.
20. a kind of data transmission system, it is characterised in that the system includes:Such as claim 11-14 First terminal described in any one and the second terminal as described in claim any one of 15-19.
CN201610176895.3A 2016-03-25 2016-03-25 A kind of data transmission method, first terminal, second terminal and system Pending CN107229416A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610176895.3A CN107229416A (en) 2016-03-25 2016-03-25 A kind of data transmission method, first terminal, second terminal and system
PCT/CN2016/082151 WO2017161651A1 (en) 2016-03-25 2016-05-13 Data transmission method, and first terminal, second terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610176895.3A CN107229416A (en) 2016-03-25 2016-03-25 A kind of data transmission method, first terminal, second terminal and system

Publications (1)

Publication Number Publication Date
CN107229416A true CN107229416A (en) 2017-10-03

Family

ID=59899163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610176895.3A Pending CN107229416A (en) 2016-03-25 2016-03-25 A kind of data transmission method, first terminal, second terminal and system

Country Status (2)

Country Link
CN (1) CN107229416A (en)
WO (1) WO2017161651A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086501A (en) * 2022-05-19 2022-09-20 阿波罗智联(北京)科技有限公司 Scanning method, scanning device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271903A1 (en) * 2011-04-19 2012-10-25 Michael Luna Shared resource and virtual resource management in a networked environment
CN103167627A (en) * 2012-08-07 2013-06-19 深圳市金立通信设备有限公司 System and method based on wireless fidelity (WIFI) to achieve sharing mobile phone files
CN203397344U (en) * 2013-09-04 2014-01-15 郴州华录数码科技有限公司 Novel portable wireless storage device
CN203405804U (en) * 2013-09-03 2014-01-22 东莞泰克威科技有限公司 A mobile storage sharing device with WIFI communication
US8825936B2 (en) * 2009-08-03 2014-09-02 Quantum Corporation Systems and methods for increasing data volume sparseness

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203942652U (en) * 2013-12-30 2014-11-12 重庆重邮信科通信技术有限公司 A kind of MiFi that possesses memory function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8825936B2 (en) * 2009-08-03 2014-09-02 Quantum Corporation Systems and methods for increasing data volume sparseness
US20120271903A1 (en) * 2011-04-19 2012-10-25 Michael Luna Shared resource and virtual resource management in a networked environment
CN103167627A (en) * 2012-08-07 2013-06-19 深圳市金立通信设备有限公司 System and method based on wireless fidelity (WIFI) to achieve sharing mobile phone files
CN203405804U (en) * 2013-09-03 2014-01-22 东莞泰克威科技有限公司 A mobile storage sharing device with WIFI communication
CN203397344U (en) * 2013-09-04 2014-01-15 郴州华录数码科技有限公司 Novel portable wireless storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086501A (en) * 2022-05-19 2022-09-20 阿波罗智联(北京)科技有限公司 Scanning method, scanning device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2017161651A1 (en) 2017-09-28

Similar Documents

Publication Publication Date Title
EP2924952A1 (en) Data synchronization method and device
CN103685186B (en) Resource data exchange method is used in cloud educational system and terminal, Cloud Server and education
CN102638565A (en) Mobile phone cloud encryption backup and recovery method based on cloud architecture
CN103581242B (en) Method, client device, server and the system of upper transmitting file
CN102708192B (en) A kind of method and system of document sharing, equipment
US9894391B2 (en) Distribution management apparatus, distribution method, and program
CN103916978A (en) Wireless connection establishing method and electronic devices
CN104063353A (en) Information synchronization method for master device and slave device
CN104394200B (en) The method shown for synchronizing preview between mobile device and web terminals
WO2017114190A1 (en) File uploading processing method and device
CN105681395A (en) Resource sharing control method, device, server and terminal
CN101039310B (en) Link sharing service apparatus and communication method thereof
US8655328B2 (en) Cellular telephone coupled to a data center by a dedicated communication link
JP5617920B2 (en) Communication system and method and apparatus
US9596282B2 (en) Delivery managing device, terminal, and delivery managing method
CN107229416A (en) A kind of data transmission method, first terminal, second terminal and system
CN106170081A (en) A kind of wireless dummy reality server, system and data compression transmission method thereof
CN105635831A (en) Demonstration document operation method, demonstration document operation system, demonstration document control device and demonstration document demonstration device
CN106648956A (en) Data backup and system restoration method
CN109213955A (en) Data processing method and relevant device
CN103138871A (en) Server data processing system and method of application program of mobile communication system
US8407312B2 (en) Data delivery apparatus
CN202206463U (en) Digital camera
CN105245464A (en) Network acceleration method based on Android system
CN106817318B (en) The machinery of consultation of robust Header compression state, transmitting terminal and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171003

RJ01 Rejection of invention patent application after publication