CN103595748A - File transmission method and mobile storage device applying file transmission method - Google Patents

File transmission method and mobile storage device applying file transmission method Download PDF

Info

Publication number
CN103595748A
CN103595748A CN201210292405.8A CN201210292405A CN103595748A CN 103595748 A CN103595748 A CN 103595748A CN 201210292405 A CN201210292405 A CN 201210292405A CN 103595748 A CN103595748 A CN 103595748A
Authority
CN
China
Prior art keywords
file
storage device
electronic installation
communication unit
segment transmissions
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.)
Granted
Application number
CN201210292405.8A
Other languages
Chinese (zh)
Other versions
CN103595748B (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.)
CELIO TECHNOLOGY Co Ltd
YAODENG SCIENCE AND TECHONLOGY CO Ltd
Auden Techno Corp
Original Assignee
CELIO TECHNOLOGY Co Ltd
YAODENG SCIENCE AND TECHONLOGY 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 CELIO TECHNOLOGY Co Ltd, YAODENG SCIENCE AND TECHONLOGY CO Ltd filed Critical CELIO TECHNOLOGY Co Ltd
Priority to CN201210292405.8A priority Critical patent/CN103595748B/en
Publication of CN103595748A publication Critical patent/CN103595748A/en
Application granted granted Critical
Publication of CN103595748B publication Critical patent/CN103595748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • Y02B60/50

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a file transmission method and a mobile storage device which applies the file transmission method, wherein the disclosed mobile storage device allows a plurality of electronic devices to access stored content in the device in a wireless connection manner. The storage device determines a segmented transmission method according to the type and size of access files and sequence of connected the electronic devices; and in a segmented transmission procedure, when transmission work enters an idle-state time period, a power-supply management unit is used to make a communication unit enter a power-saving mode; then the communication unit is started when use of segmented transmission by the electronic devices is over; and then transmission steps are repeated until transmission of the files is completely over so that an objective that the mobile storage device transmits the files effectively while power saving is considered is achieved. The mobile storage device provides a wireless communication function and is capable of accessing the files while taking transmission fluency and power saving into consideration and through use of segmented transmission of the files and a method of making the communication unit enter the power-saving mode when transmission is in an idle state so as to obtain an optimized file transmission method.

Description

Document transmission method and the mobile memory device of applying the method
Technical field
The present invention is about the mobile memory device of a kind of document transmission method and application the method, and particularly relevant for can carry out the mobile memory device of segment transmissions when a plurality of device line access content under the considering of power saving.
Background technology
Intelligent mobile phone can constantly produce data in the use, such as photograph, the data shared with other people, the storage area that intelligent mobile phone itself has, comprises open-ended memory, also can be gradually totally, therefore just have with the high in the clouds of development store or outside storing technology.
Prior art has the service that storage area, high in the clouds is provided by specific dealer, and user can select to upload storage area, high in the clouds when producing data, and the technology that can store by high in the clouds and other people sharing data.If the solution with external storage device, most external storage devices are to provide wired or wireless communication mode and intelligent mobile phone or a related electronic device line, an outside storage area is provided, by user's select File, is transferred to external storage device.
General external storage device is with point-to-point mode and another electronic installation, comprises mobile phone, swap file, and user is wired to this external storage device by the access software on electronic installation, with file in the middle of obtaining or writing in files.More there is prior art to provide a storage device to provide a plurality of electronic installations with wireless communication technique line simultaneously, and simultaneously can the central file of access.
Summary of the invention
Because mobile memory device normally has independent current source, but in the situation that electric power is limited, need again to meet the demand of the smooth and easy access of outside one or more electronic installation, in view of this, the present invention proposes a kind of document transmission method, and discloses a kind of mobile memory device of carrying out this transmission method that has.
According to disclosing the described inventive embodiments of book, in document transmission method on being applied to a storage device, step starts first to set up the line of storage device and one or more electronic installation, comprising first storage device thus, be received from the access instruction that one or more electronic installation sends specific one or more file of access, storage device is then obtained the file of wanting access, and file is kept in to a temporary storage location of storage device, judge afterwards the pattern and size of these files, such as file may press from both sides for generic-document, also may be that audio-visual grade can be carried out the file that crossfire is downloaded.
Afterwards, the program in the middle of storage device will judge whether to carry out segment transmissions according to the pattern of file and size.Because file may be less file, such as the file of word pattern etc., this class file can once transmit, and does not need to carry out segment transmissions, if not carry out segment transmissions, storage device transmits this file by the communication unit starting wherein.
But file may be also larger file, such as larger file, or audio/video file, or electronic installation is wanted to obtain immediately audio-visual and plays, this type of pattern or large young pathbreaker can carry out segment transmissions, by storage device, according to the pattern of file and size, be segmented into a plurality of paragraphs, in proper order different file patterns and segmentation be sent to the electronic installation of line.
When segment transmissions, first start communication unit and carry out segment transmissions, complete and while entering empty lots, device is closed communication unit optionally in a segment transmissions of a plurality of paragraphs, or cause this communication unit to enter a battery saving mode, to reach the object of power saving; And use a segmentation of a plurality of paragraphs when complete in one or more electronic installation, again start communication unit, to carry out the transmission of next segmentation, by the step of above-mentioned segment transmissions repeatedly, until one or more file transfer is complete.
In the above-described embodiment, each electronic installation links to storage device with Wi-Fi communications protocol, and then starts the software program of an accessing storing device, by this software program, the identifying information of each electronic installation can be sent to storage device, in order to the correct file that transmits.
When file is audio/video file, electronic installation can be selected instant broadcasting, so during file transfer, should utilize the mode of segment transmissions, when electronic installation is obtained a segmentation, can play immediately, and approach when complete playing, reinform storage device and continue next segmentation of transmission, until transmitted.
In another embodiment, if a plurality of electronic installation accessing storing device simultaneously, storage device is according to the pattern of file and size, and comprises the order of each wiring electronic devices, considers in the lump the mode of rear decision segment transmissions, comprises the order that judges file transfer.Wherein, if one or more file is greater than this temporary storage location of storage device, should carry out segment transmissions; If the identical file of a plurality of electronic installations access simultaneously, carries out segment transmissions equally, and sequentially transmit paragraph after cutting apart to each electronic installation; Under identical means, equally also provide electronic installation immediately to play audio/video file.
Relevant mobile memory device, according to one of embodiment, include and process the data processing unit of mobile memory device internal data, the Power Management Unit that storage element, communication unit and the management communication unit of storage data are closed or started, the power source that Power Management Unit connects comprises the external power source that battery pack is connected with electricity interface.
After starting mobile memory device, the memory cell in device is by the procedure code being written into above-mentioned data processing unit execute file transmission method.
Mobile memory device of the present invention provides wireless communication function, can in accessing file, take the fluency of file transfer and considering of power saving into account, the mode that causes communication unit to enter battery saving mode when utilizing file fragmentation transmission and leaving unused, obtains an optimized file.
Accompanying drawing explanation
Fig. 1 describes the use schematic diagram of mobile memory device of the present invention;
Figure 2 shows that the embodiment circuit box that mobile memory device of the present invention is connected with external device (ED);
Fig. 3 is shown as one of transfer of data schematic diagram of a plurality of electronic installation access mobile memory device of the present invention;
Fig. 4 be shown as a plurality of electronic installation access mobile memory device of the present invention transfer of data schematic diagram two;
Fig. 5 is shown as one of the embodiment flow process that the present invention is applied to the document transmission method of access mobile memory device;
Fig. 6 be shown as the present invention be applied to access mobile memory device document transmission method embodiment flow process two;
Fig. 7 be shown as the present invention be applied to access mobile memory device document transmission method embodiment flow process three.
Wherein, description of reference numerals is as follows:
The first mobile device: 10
The second mobile device: 11
Application program: 101
Mobile memory device: 12
Storage element: 121
Device for mobile communication: 20
CPU: 201
Memory cell: 202
Communication unit: 203
Display unit: 204
Control boundary element: 205
Mobile memory device: 22
Data processing unit: 221
Power Management Unit: 222
Communication unit: 223
Storage element: 224
Temporary storage location: 225
Battery pack: 226
Electricity interface: 227
Memory cell: 228
The first electronic installation: 30
Second electronic device 31
Data flow: 33
The first file fragmentation: 301,303,305,307
The second file fragmentation: 302,304,306,308
The first electronic installation: 40
Second electronic device: 41
The 3rd electronic installation: 42
Data flow: 43
The first file fragmentation: 401,404,407,410,412,414
The second file fragmentation: 402,405,408,411,413
The 3rd file fragmentation: 403,406,409
Step S501 ~ S525: one of document transmission method flow process
Step S601 ~ S617: two of document transmission method flow process
Step S617 ~ S627: three of document transmission method flow process
Embodiment
The invention that the present invention describes relates to a mobile memory device, and the scheme of an outside storage area of various computer systems is provided, and this mobile memory device preferably provides the function of wireless telecommunications, allows wherein numerical data of one or more wiring electronic devices access.And, because mobile memory device is portable design, also there is independent current source, such as the interior battery pack that is provided with; Also comprise can connecting external device (ED) and obtaining electric power or the electricity interface to batteries charging, such as utilizing USB (USB) or other can be used for the interface of power supply.Storage Media in mobile memory device is the combination of nonvolatile memory, such as hard disk, flash memory, or the holder of two kinds of memory patterns of a kind of mixing.
Fig. 1 describes the use schematic diagram of mobile memory device of the present invention.
Figure is shown with a mobile memory device 12, wherein has storage element 121, as above-mentioned, in order to the storage element 12 of store digital data, can be hard disk, flash memory, or the holder of two kinds of memory patterns of a kind of mixing.Mode by wireless telecommunications can provide a plurality of electronic installations to carry out access simultaneously, and install 12 do not get rid of can an electronic installation of wired mode line mode carry out file access.This type of mobile memory device 12 is better provides various computer apparatus to carry out access, comprise between different device and can pass through these mobile memory device 12 sharing datas, storage area wherein provides intelligent mobile phone as less in storage volume, panel computer etc., the first mobile device 10 as shown and the second mobile device 11 especially.
In one embodiment, the electronic installation of this mobile memory device 12 of line should be provided with software program or the hardware circuit of processing wireless signal transmission, and utilize software generation to facilitate the wherein interface of file of access, such as the application program 101 of being located in figure in the first mobile device 10, when user's wish is used this first mobile device 10 access mobile memory device 12, can enable this application program 101, by application program, produced the interface of browsing storage element 121 contents, facilitate user to carry out various operations, as file such as obtains, edits, deletes, writes at the action.
For realizing the technology of the mobile memory device that Fig. 1 illustrates to show that one or more electronic installation access is described in the invention, mobile memory device inside should be provided with an embedded system, with work such as this managing internal memory, power supply, wired or wireless transmission, file accesses.
The circuit block diagram that the embodiment that mobile memory device described in the invention is connected with external device (ED) can show with reference to figure 2.
In figure, show a device for mobile communication 20, as a mobile phone, panel computer, various computer apparatus etc., by wired or wireless mode line one mobile memory device 22, object is the data in access mobile memory device 22, wherein operate necessary element and include the CPU 201 of processing device for mobile communication 20 internal data contacts, it is electrically connected at inner other circuit modules of device 20, at least comprises memory cell 202, communication unit 203, display unit 204 and controls boundary element 205.
Memory cell 202 is the interior magazine of device for mobile communication 20, comprises built-in memory, and with the open-ended memory of device 20 own, also signal comprises dynamic memory space required in device 20 operation.
Communication unit 203 is communicating circuit and the interface of device for mobile communication 20 external connections, such as utilizing WiFi tM, bluetooth communication (BlueTooth tM) agreement, near-field communication (NFC) agreement or other are common to the Wi-Fi communications protocol of file transfer.Mechanics of communication of the present invention is not got rid of with wired mode line device for mobile communication 20 and mobile memory device 22.
Display unit 204 provides user to browse via application program and obtains the file in mobile memory device 22, comprises the operation interface that shows visualization, allows user carry out easily the actions such as file transfer, editor, deletion.If with intelligent mobile phone or panel computer, display unit 204 can coordinate touch-control module, and touch control operation is provided.
Device for mobile communication 20 is provided with controls boundary element 205, this controls boundary element 205 for processing the circuit of device for mobile communication 20 input signals, the keyboard that input signal can provide from touch-control module, device for mobile communication 20, do not get rid of the input modes such as voice, gesture yet, the input signal that user produces by various input units, via controlling the processing of boundary element 205 management with CPU 201, the instruction that produces access mobile memory device 22.
22 of mobile memory devices are provided with embedded system, wherein by hardware circuit, formed, according to one of embodiment, can a kind of universal input and output technology (General Purpose I/O) line between each hardware circuit, hardware circuit, maybe can coordinate software program, the functional module realizing comprises the data processing unit 221 of processing these mobile memory device 22 internal datas, inner each circuit module of data processing unit 221 electrical connection device 22, mainly include Power Management Unit 222(and comprise battery pack 226, electricity interface 227), communication unit 223, storage element 224(comprises temporary storage location 225) with the memory cell 228 of mobile memory device 222 ends.
Storage element 224 is the Storage Media of mobile memory device 22, for a kind of nonvolatile memory, as solid-state memories such as hard disk, flash memory devices.Through data processing unit 221, process after the access signal being transmitted by device for mobile communication 20, the instruction of generation to these storage element 224 accesses, such as the file in the middle of obtaining, all or part of of file will first be kept in to temporary storage location 225, afterwards according to disclosed document transmission method, by temporary storage location 225, obtain file, then send out.
Mobile memory device 22 provides one or more electronic installation (so device for mobile communication 20 of example) this mobile memory device of radio connecting by communication unit 223, and another embodiment does not get rid of the function that mobile memory device 22 of the present invention provides wired line.The communication unit 223 of mobile memory device 22 ends will be processed the signal of specific wireless communications protocol, exchange signal with the communication unit 203 of device for mobile communication 20 ends with identical or compatible home control network communication protocol.The communications protocol that two ends communication unit (203,223) is supported can be general conventional WiFi tM, bluetooth communication (BlueTooth tM) or near-field communication (NFC), do not get rid of yet and can use other to be common to the wireless communication technique of file transfer.
Mobile memory device 22 is for reaching the requirement of power saving, be provided with Power Management Unit 222, Power Management Unit 222 is the circuit module of management devices 22 electricity consumptions, such as a power management chip (power IC), in order to the electrical arrangement in management devices 22, comprise the electricity usage of each circuit unit in management devices 22.Such as, Power Management Unit 222 is electrically connected storage element 224, can, at whole mobile memory device 22 (idle state) when not having any device line, close the power supply of storage element 224, or maintain a minimum running electric power, to reach the object of power saving.
Power Management Unit 222 is electrically connected communication unit 223, in order to manage the electricity consumption of this communication unit 223, Power Management Unit 223 by according to the unblanking of data processing unit 221, close the electric power that communication unit 223 is provided, or cause communication unit 223 to enter a battery saving mode.Such as open communication unit 223 when needs continue transfer files, and when there is no transfer files, or during access to plant idle state, cause communication unit 223 to enter battery saving mode (comprise close or maintain a minimum running electric power), to reach the object of power saving.The power source that Power Management Unit 222 connects comprises the external power source that battery pack 226 is connected with electricity interface 227.
Mobile memory device 22 is provided with above-mentioned electricity interface 227, can obtain the electric power of external power source by this electricity interface 227, except the running of supply mobile memory device 22, and also can be via 226 chargings of 222 pairs of battery pack of Power Management Unit.Electricity interface 227 is as USB (USB), therefore, except in order to by external power source power taking, charging, more can undertake the work that data are transmitted by the interface of external electricity, allows mobile memory device 22 with wired mode transfer files.
Embedded system in mobile memory device 22 is provided with memory cell 228 as shown, memory cell 228 is electrically connected data processing unit 221, running is as intrasystem random-access memory (ram), can by data processing unit 221, be carried out the procedure code of the disclosed document transmission method of the present invention in order to be dynamically written into (such as being written into by storage element 224), procedure code can be stored in storage element 224 in advance.Mobile memory device 22 is after starting, storage element 224 is written into this memory cell 228 by the necessary procedure code of running thus, comprising the instruction set that is received from one or more electronic installation and sends access instruction, temporary wish transfer files or its segmentation are to the instruction set of above-mentioned temporary storage location 225, the pattern of judgement file and big or small instruction set, according to the pattern of file and size, judge whether to carry out the instruction set of segment transmissions, according to order before and after a plurality of electronic installations of this mobile memory device 22 of line, judge the instruction set of file transfer order, sequentially transmit one or more file to the instruction set of a plurality of electronic installations, during non-execution segment transmissions, start the instruction set of communication unit 223 transfer files, while carrying out segment transmissions, according to the pattern of file and size, be segmented into the instruction set of a plurality of paragraphs, start communication unit 223 to carry out the instruction set of segment transmissions, complete and cause communication unit 223 to enter the instruction set of battery saving mode while entering empty lots in segment transmissions, in one or more electronic installation, use a segmentation of a plurality of paragraphs to start the instruction set of communication unit 223 when complete, and repeatedly the step of above-mentioned segment transmissions until the complete instruction set of file transfer.
Because having, mobile memory device described in the invention provides a plurality of electronic installations function of accessing file simultaneously, and this mobile memory device has independent current source, therefore power saving with can be transferred under the demand of a plurality of devices simultaneously, the present invention, in processing the action of transmitting data stream, designs a kind of technology of segment transmissions.
One of first transfer of data schematic diagram with reference to the mobile memory device of the present invention of a plurality of electronic installation access shown in figure 3.
This example shows the first electronic installation 30 and is stored in a plurality of files in mobile memory device with second electronic device 31 accesses simultaneously, this example is shown as the first electronic installation 30 and second electronic device 31 difference two files of access (the first file and the second file), during file transfer, form a data flow 33, in data flow 33, be loaded with the first file and the second file pass through respectively segmentation a plurality of paragraphs, for shown in the first file fragmentation 301,303,305,307(oblique line part) with the second file fragmentation 302,304, the blank part of 306,308().
In this embodiment, when two the first different files of the first electronic installation 30 and second electronic device 31 difference access and the second file, owing to will taking the smooth degree of transmission into account, in the part of mobile memory device, be about to each file and carry out segmentation according to demand, order is according to the technology of timesharing (time sharing) transmission for each paragraph, and order is passed to the first electronic installation 30 and second electronic device 31.
For instance, if the file that electronic installation is wanted to obtain is generic-document, this class file is conventionally little, can once transmit, need not segmentation; But file file during greatly to a set threshold, can be segmented into a plurality of paragraph timesharing and send different electronic installations to; If file is larger audio/video file, and electronic installation needs instant broadcasting, now, mobile memory device can first carry out file fragmentation according to the smooth degree of playing, segmentation transmits again, if transmit after a segmentation of a plurality of paragraphs, electronic installation is also play this audio/video file simultaneously, when not yet finishing, system can enter an idle state (idle), and closed communication function, to be played proceed to approach this paragraph and finish before, restart communication function, continue to transmit next paragraph, can reach in this way the object of power saving.
In another situation, if different electronic installations are wanted audio/video file that accessing file is larger and the less generic-document of file simultaneously, can be when playing audio-visual paragraph, the time that originally enters idle state will be in order to transmit generic-document, until play a segmentation of this audio/video file, approach when complete, just continue to transmit next audio-visual paragraph.According to this, can effectively meet the demand of different electronic installations, and the performed division step of the present invention can be carried out segmentation arrangement according to different file patterns, size.
Fig. 4 then show a plurality of electronic installation access mobile memory device of the present invention transfer of data schematic diagram two.
In this example, show the file in three electronic installations access simultaneously mobile memory device, than as directed the first electronic installation 40, second electronic device 41 and the 3rd electronic installation 42, these three electronic installations send respectively the access signal to mobile memory device.
When mobile memory device receives the access signal for different files, can first judge the pattern and size of each file, and can comprise that each electronic installation uses the mode of file, carries out segmentation by a plurality of files.
Such as the first electronic installation 40 is wanted one section of audio/video file of access, after segmentation, form the first file fragmentation 401 that send data flow 43 as tendency to develop in figure, 404,407,410,412,414(oblique line part), the size of these segmentations can be adjusted according to actual needs, and such as providing the first electronic installation 40 can play swimmingly video content, so fragment size will be considered the size of the temporary storage (as temporary storage location) of mobile memory device, the frequency range of wireless telecommunications etc.Then, another file that second electronic device 41 is wanted in access mobile memory device, equally also carries out segmentation operation, by file fragmentation, is the second file fragmentation 402,405,408,411,413; The 3rd 42 of electronic installations are to want an access file again, and carry out equally segmentation, become the 3rd file fragmentation 403,406,409.
Above-mentioned the first file fragmentation 401,404,407,410,412,414, the second file fragmentation 402,405,408,411, the 413 and the 3rd file fragmentation 403,406,409 will sequentially be arranged in data flow 43, each segmentation forms the package pattern of utilizing wireless communication mode to transmit, between package, by connected to each other according to contained information, such as recording source (resource) and destination (destination) in the header at package (header), wherein destination can point to the first electronic installation 40, second electronic device 41 or the 3rd electronic installation 42 of this example.
According to the example of Fig. 4, each file is after segmentation, be loaded in data flow 43, in the very first time, sequentially transmit the first file fragmentation 401 to first electronic installations 40, transmit the second file fragmentation 402 to second electronic device 41 and transmit the 3rd file fragmentation 403 to the 3rd electronic installation 42.Afterwards, in the second time, sequentially transmit next segmentation (as 404,405,406) to each electronic installation, until file transfer is complete.This example shows, at the 3rd file fragmentation 403,406,409, transmits when complete, and mobile memory device still continues to transmit the first file fragmentation 410,412,414 and the second file fragmentation 411,413 to first electronic installations 40 and second electronic devices 41.
When foundation includes the data flow 43 of each file paragraph, the pattern and size of file will be considered, and can be in the first document transmission process, insert the paragraph of the second file and the 3rd file, mobile memory device is by the transmission work of each paragraph of time-division processing, make a plurality of electronic installations share smoothly the storage area of a mobile memory device, and the frequency range of its wireless telecommunications.
In the process of transmitting, the communication unit in device for mobile communication will enter battery saving mode under device enters idle state, comprises and closing, or maintain the small electric power that can receive external command, to reach the object of power saving.For instance, when having the broadcasting of electronic installation wish to be stored in the audio/video file in mobile memory device, device for mobile communication is by file fragmentation transmission, electronic installation can receive file piecemeal, and play immediately, after receiving a segmentation, mobile memory device can first be closed (or maintaining minimum running electric power) communication function, until play to, approach when complete, transmit next segmentation continuing to start communication function.
Mobile memory device can be at the lower transfer files of this battery saving mode (power-saving mode), and embodiment flow process as shown in Figure 5.At mobile memory device, be loaded with an embedded system, the processing unit that comprises deal with data, wherein communication unit provides one or more wiring electronic devices by preparation, is loaded with a Storage Media in mobile memory device, can store various data, and comprise the necessary program instruction of System Operation.Mobile storage element is better has independent current source, therefore has a Power Management Unit, and electrical arrangement that can management devices, comprises the keying of management communication unit under different conditions.
After device starts, can the procedure code of execute file transmission method be written into memory cell by Storage Media, and carry out running by data processing unit.And electronic installation has the function that links to storage device with specific wireless network communication agreement, and can the corresponding software program that starts this storage device of access, while wanting accessing file, with this software program, send the request signals such as line or access.
First as step S501, storage device is received from the line signal of an electronic installation, after storage device receives, storage device will be obtained the identifying information (identifying information can be incorporated in the signal of transmission by software program) of electronic installation the package from receiving, the destination information (step S503) transmitting as data, then by electronic installation, received again the access instruction (step S505) of one or more file of access, so the identifying information of electronic installation will be linked to the fileinfo of wanted access.
Then, storage device built-in type system will obtain the file being stored in Storage Media, and the relevant information of file or its file (as file attribute) is kept in to memory, as the temporary storage location in above-mentioned Fig. 2 (step S507), with read file attribute, and judge file pattern and size (step S509).The pattern of one or more file comprises one or its combination of audio/video file and text file.
System then will judge whether to carry out segment transmissions (step S511) according to the pattern of one or more defeated file of institute's tendency to develop and size.If through judging non-execution segment transmissions (no), storage device starts communication unit (step S513), to transmit one or more file (step S515).
If need, carry out segment transmissions (YES), in storage device, system will be segmented into a plurality of paragraphs (step S517) according to judged file pattern and size, and start communication unit (step S519), to carry out segment transmissions (step S521), and complete and while entering empty lots in a segment transmissions of a plurality of paragraphs, cause communication unit to enter battery saving mode, such as closed communication unit or maintain the electric power (step S523) of the minimum running of one of communication unit, step is in this, to judge whether end of transmission (step S525) of file, end of transmission (YES) is process ends, if end of transmission (no) not, can continue flow process, continue to start the step (step S519) of communication unit, through the step of above-mentioned segment transmissions repeatedly, until file transfer is complete.
Wherein, whether the judgement of segment transmissions can be greater than the temporarily providing room of the temporary storage location in storage device according to one or more file, if file size is greater than temporarily providing room, and can segment transmissions.Such as audio/video file, conventionally occupy larger storage area, during transfer files, better meeting is transmitted with segmented mode, and, if electronic installation is wanted instant this audio/video file of playing, unnecessarily once transmission of storage device, and transmit with segmented mode.
In addition, at the file that shows a plurality of electronic installations while lines and accessing storing device as Fig. 6, at this moment should carry out segment transmissions, example as described in above-mentioned Fig. 3, Fig. 4 is served a plurality of electronic installations in segment transmissions mode simultaneously; More person, if electronic installation is wanted the instant audio/video file of playing, carries out segment transmissions.
Electronic installation uses the example of file such as electronic installation is play the audio/video file of institute's access immediately, system can first be divided into file a plurality of paragraphs, and transmission piecemeal, when in electronic installation, transmit a plurality of paragraphs one after, because electronic installation is play, system now enters empty lots, can be by communication unit temporary close (can estimate start-up time), or maintain a little electric power (in order to receive the follow-up signal of electronic installation), to reach power saving object.When playing, a segmentation of a plurality of paragraphs is complete or approach when complete, and system can restart communication unit, to carry out the transmission of next segmentation.Equally, this segment transmissions is complete, electronic installation is being play this section of audio-visual holding, system temporary close communication unit, or maintain the little electric power that communication unit can receive signal.In this segmentation of electronic equipment plays back audio/video file, approach when complete again, storage device is sent to a signal, to notify storage device to start communication unit, carry out the transmission of next segmentation.Step repeatedly, until video content finishes, or user is when electronic installation stops playing.
The embodiment flow process of the document transmission method shown in Fig. 6 can be applicable to the sample state of a plurality of wiring electronic devices accessing storing devices especially.
Start as step S601, storage device receives a plurality of line signals, and as the description of Fig. 3, Fig. 4, storage device can be accepted once a plurality of line requests, and wherein a plurality of electronic installations can the compatible Wi-Fi communications protocol in specific two ends link to storage device.Storage device is then as step S603, and storage device is obtained the identifying information of each electronic installation by the signal of line request, and the device of identifying line with this comprises the address of storage device, accordingly correct back-signalling.
It is worth mentioning that, electronic installation can complete and storage device line by starting a particular software application of installing, software program can provide electronic installation to send various request instructions to storage device, instruction also can be loaded with and respectively be installed identifying information (comprising package source and destination) by software approach, comprise that line request, browser document, file are obtained, editor etc., also comprise and can notify storage device current file to use state, even comprise the functions such as audio-visual broadcasting, word read.
Storage device, after each electronic installation of line, can, as step S605, receive from different device the access instruction to specific file, storage device is obtained file according to access instruction, as step S607, file is kept in to memory, as a temporary storage location of storage device.Storage device judges the attribute of each file by software program, particularly the pattern of file with size (step S609), file pattern is as image file, audio files, text file or its combination, and storage device will be carried out suitable segment transmissions program according to file pattern and size.Owing to obtaining the access instruction of a plurality of e-files simultaneously, the order between therefore installing all can affect the step of segment transmissions with the file attribute of institute's access, so storage device can judge by software program the order (step S611) of file transfer again.
Then as step S613, storage device will judge whether to carry out segment transmissions.It is worth mentioning that, in the process of file transfer, can be because each electronic installation changes the strategy of its segment transmissions to the state of storage device access, such as one of them file access is when complete, the number of electronic devices that storage device carries out the file that not yet completes transmission according to residue determined property, residue transmission size and accessing storing device and front and back line order etc., the mode of change segment transmissions.
Through judgement storage device, need not carry out segment transmissions (no), comprise the possibilities such as file is little, some file transfer is complete, step is carried out as S615, direct transfer files, and storage device starts communication unit, sequentially transmits one or more file to a plurality of electronic installations; If judgement storage device should be carried out segment transmissions, will, as step S617, to a plurality of electronic installations, sequentially carry out segment transmissions.
The subsequent step of step S617 can be with reference to the description of figure 7 herein.
Step is as S617, and storage device can carry out segment transmissions according to attributes such as audio/video file, text files, by file division, is a plurality of fragments (step S619).Afterwards as step S621, start communication unit, carry out segment transmissions, each paragraph is sequentially transferred to a plurality of electronic installations (step S623) that send access instruction, and complete and while entering empty lots (idle) in a segment transmissions of a plurality of paragraphs, cause communication unit to enter battery saving mode, or closed communication function (step S625).
In document transmission process, if there is transmission to suspend, or because during electronic equipment plays back audio/video file, under the requirement of smooth and easy broadcasting, file can first be loaded onto in the temporary storage of electronic installation, and for storage device, may after a segment transmissions of a plurality of paragraphs, enter empty lots, closed communication function.Through waiting for that electronic installation approaches when complete or complete in a segmentation of instant broadcasting audio/video file, storage device is sent to a signal, storage device is sent to a signal being transmitted (can carry out the request signal of next segment transmissions), to notify storage device again to start the transmission that communication unit carries out next segmentation.
Through the step of above-mentioned segment transmissions repeatedly, until one or more file transfer is complete, in transmitting procedure, storage device will continue to judge whether end of transmission as step S627, if not, get back to step S621, start communication unit and continue transfer files; Otherwise (no), all sends after the signal being transmitted when storage device receives a plurality of electronic installations, will finish transfer process.
Under the enforcement sample state of a plurality of wiring electronic devices storage devices, if to want the file of access larger, such as being greater than the working area size of storage device, therefore file can be segmented into a plurality of paragraphs, in the mode of timesharing transmission, sequentially passes to each electronic installation.If during the identical file of different electronic installation accesses, also can be divided into a plurality of paragraphs, timesharing transmission after copying.Specifically, there is therein electronic installation to want the instant audio/video file of playing, now, storage device optionally transmits file fragmentation, the parameters such as consideration transmitting bandwidth, temporary storage size, accessing file size (reproduction time), to carry out segment transmissions, can be taken the play smooth degree of audio/video file into account.
In sum, invention technology described in the invention discloses a mobile memory device that a plurality of wiring electronic devices and accessing file can be provided simultaneously, this mobile memory device provides the function of wireless telecommunications, and can in accessing file, take the fluency of file transfer and considering of power saving into account, the mode that causes communication unit to enter battery saving mode when utilizing file fragmentation transmission and leaving unused, obtains an optimized file.
Only the foregoing is only better possible embodiments of the present invention, non-so limit to the scope of the claims of the present invention, therefore such as use the equivalent structure that specification of the present invention and diagramatic content are done to change, be all in like manner contained in scope of the present invention, close and give Chen Ming.

Claims (20)

1. a document transmission method, is characterized in that, described method comprises:
One storage device is received from the access instruction that one or more electronic installation sends one or more file of access;
Obtain this one or more file, and keep in to a temporary storage location of this storage device;
According to the determined property of this one or more file, whether carry out segment transmissions;
If not execution segment transmissions, this storage device starts a communication unit and transmits this one or more file;
If execution segment transmissions, this storage device is segmented into a plurality of paragraphs according to the attribute of this one or more file;
Start this communication unit, carry out segment transmissions, complete and while entering empty lots in a segment transmissions of the plurality of paragraph, cause this communication unit to enter a battery saving mode; In this one or more electronic installation, use a segmentation of the plurality of paragraph when complete, start this communication unit, to carry out the transmission of next segmentation; And
The step of above-mentioned segment transmissions repeatedly, until this one or more file transfer is complete.
2. document transmission method as claimed in claim 1, is characterized in that, before wherein carrying out the step of segment transmissions, the method also comprises that this storage device judges the attribute of this one or more file, and attribute at least comprises the pattern and size of this one or more file.
3. document transmission method as claimed in claim 2, is characterized in that, the pattern of one or more described file comprises audio/video file and text file one or a combination set of.
4. document transmission method as claimed in claim 3, is characterized in that, the step that segment transmissions is carried out in described judging whether comprises:
If this one or more file is greater than this temporary storage location of this storage device, carry out this segment transmissions;
If there are a plurality of these storage devices of this wiring electronic devices, and the file wherein of access simultaneously, this segment transmissions carried out; And
If this electronic installation is wanted instant this audio/video file of playing, carry out this segment transmissions.
5. document transmission method as claimed in claim 3, it is characterized in that, a segmentation of immediately playing this audio/video file in this electronic installation approaches when complete, and this storage device is sent to a signal, to notify this storage device to start this communication unit, carry out the transmission of this next segmentation.
6. document transmission method as claimed in claim 1, is characterized in that, one or more described electronic installation links to this storage device with Wi-Fi communications protocol, and each electronic installation starts the software program of this storage device of access.
7. document transmission method as claimed in claim 6, is characterized in that, described electronic installation transmits an identifying information to this storage device by this software program after this storage device of line.
8. a document transmission method, is characterized in that, described method comprises:
One storage device is received from the access instruction of a plurality of electronic installations;
Obtain this one or more file that should access instruction, and keep in to a temporary storage location of this storage device;
According to order before and after the plurality of electronic installation of the attribute of this one or more file and this storage device of line, judge whether to carry out segment transmissions, and judge the order of file transfer simultaneously;
If not execution segment transmissions, this storage device starts a communication unit, sequentially transmits this one or more file to the plurality of electronic installation;
If execution segment transmissions, this storage device is segmented into a plurality of paragraphs according to the attribute of this one or more file;
Start this communication unit, carry out segment transmissions, each paragraph is sequentially transferred to the plurality of electronic installation, complete and while entering empty lots in a segment transmissions of the plurality of paragraph, cause this communication unit to enter a battery saving mode; In the plurality of electronic installation, use a segmentation of the plurality of paragraph when complete, start this communication unit, to carry out the transmission of next segmentation; And
The step of above-mentioned segment transmissions repeatedly, until this one or more file transfer is complete.
9. document transmission method as claimed in claim 8, is characterized in that, the attribute of one or more described file at least comprises the pattern and size of this one or more file.
10. document transmission method as claimed in claim 9, is characterized in that, the pattern in the attribute of one or more described file comprises audio/video file and text file one or a combination set of.
11. document transmission methods as claimed in claim 10, is characterized in that, the step that segment transmissions is carried out in described judging whether comprises:
If this one or more file is greater than this temporary storage location of this storage device, carry out this segment transmissions;
If the identical file of the plurality of electronic installation access simultaneously, carries out this segment transmissions; And
If the plurality of electronic installation is wanted instant this audio/video file of playing, carry out this segment transmissions.
12. document transmission methods as claimed in claim 10, is characterized in that, if the identical file of the plurality of electronic installation access simultaneously transmits this document in the mode of a timesharing transmission.
13. document transmission methods as claimed in claim 10, it is characterized in that, in an instant segmentation of playing this audio/video file of the plurality of electronic installation, approach when complete, this storage device is sent to a signal, notify this storage device to start this communication unit to carry out the transmission of this next segmentation.
14. document transmission methods as claimed in claim 8, is characterized in that, described a plurality of electronic installations link to this storage device with Wi-Fi communications protocol, and each electronic installation starts the software program of this storage device of access.
15. document transmission methods as claimed in claim 14, is characterized in that, described a plurality of electronic installations, after this storage device of line, transmit an identifying information to this storage device separately by this software program.
16. document transmission methods as claimed in claim 8, it is characterized in that, a segmentation that receives the plurality of paragraph in each electronic installation is when complete, this storage device is sent to a signal being transmitted, when this storage device receives after this signal being transmitted that the plurality of electronic installation all sends, carry out the transmission of this next segmentation.
17. 1 kinds of mobile memory devices, is characterized in that, described device comprises:
One processes the data processing unit of this mobile memory device internal data;
One storage element, is electrically connected this data processing unit, and comprises that one in order to the temporary temporary storage location of wanting transfer files or its segmentation;
One communication unit, is electrically connected this data processing unit, and one or more this mobile memory device of electronic installation radio connecting is provided;
One Power Management Unit, be electrically connected this data processing unit, this storage element and this communication unit, in order to manage the electric power of this mobile memory device, and comprising the management of power use of this storage element and this communication unit, the power source that this Power Management Unit connects comprises the external power source that a battery pack is connected with an electricity interface;
One memory cell, is electrically connected this data processing unit, after this mobile memory device starts, is written into the procedure code with this data processing unit execute file transmission method, and this procedure code comprises:
Be received from the instruction set that this one or more electronic installation sends access instruction;
Temporary this wish transfer files or its segmentation are to the instruction set of this temporary storage location;
The instruction set of judgement file attribute;
According to the determined property of file, whether carry out the instruction set of segment transmissions;
According to order before and after the plurality of electronic installation of this mobile memory device of line, judge the instruction set of file transfer order;
Sequentially transmit this one or more file to the instruction set of the plurality of electronic installation;
During non-execution segment transmissions, start the instruction set of this communication unit transfer files;
While carrying out segment transmissions, according to the attribute of file, be segmented into the instruction set of a plurality of paragraphs;
Start this communication unit to carry out the instruction set of segment transmissions;
Complete and cause this communication unit to enter the instruction set of a battery saving mode while entering empty lots in segment transmissions;
In this one or more electronic installation, use a segmentation of the plurality of paragraph to start the instruction set of this communication unit when complete;
The step of above-mentioned segment transmissions is until the complete instruction set of file transfer repeatedly.
18. mobile memory devices as claimed in claim 17, is characterized in that, described electricity interface is a USB.
19. mobile memory devices as claimed in claim 17, is characterized in that, described communication unit provides this one or more electronic installation to link to this mobile memory device with Wi-Fi communications protocol.
20. mobile memory devices as claimed in claim 19, is characterized in that, described Wi-Fi communications protocol is WiFi, bluetooth communication agreement or near-field communication agreement.
CN201210292405.8A 2012-08-16 2012-08-16 Document transmission method and the mobile memory device applying the method Active CN103595748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210292405.8A CN103595748B (en) 2012-08-16 2012-08-16 Document transmission method and the mobile memory device applying the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210292405.8A CN103595748B (en) 2012-08-16 2012-08-16 Document transmission method and the mobile memory device applying the method

Publications (2)

Publication Number Publication Date
CN103595748A true CN103595748A (en) 2014-02-19
CN103595748B CN103595748B (en) 2016-12-07

Family

ID=50085730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210292405.8A Active CN103595748B (en) 2012-08-16 2012-08-16 Document transmission method and the mobile memory device applying the method

Country Status (1)

Country Link
CN (1) CN103595748B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159143A (en) * 2014-08-18 2014-11-19 英华达(上海)科技有限公司 Energy-saving media playing system and energy-saving media playing method
WO2015188591A1 (en) * 2014-06-10 2015-12-17 西安中兴新软件有限责任公司 Data transmission method, device and system and storage medium
CN105323457A (en) * 2014-06-27 2016-02-10 宏达国际电子股份有限公司 Electronic system and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1670667A (en) * 2004-03-15 2005-09-21 Lg电子株式会社 Apparatus and method for executing contents reproducing program
CN101702728A (en) * 2009-09-02 2010-05-05 优视动景(北京)技术服务有限公司 Streaming media transmission system for mobile communication equipment terminal and application method thereof
US20100220702A1 (en) * 2009-03-02 2010-09-02 Texas Instruments Incorporated Low power control for wireless lan communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1670667A (en) * 2004-03-15 2005-09-21 Lg电子株式会社 Apparatus and method for executing contents reproducing program
US20100220702A1 (en) * 2009-03-02 2010-09-02 Texas Instruments Incorporated Low power control for wireless lan communication
CN101702728A (en) * 2009-09-02 2010-05-05 优视动景(北京)技术服务有限公司 Streaming media transmission system for mobile communication equipment terminal and application method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015188591A1 (en) * 2014-06-10 2015-12-17 西安中兴新软件有限责任公司 Data transmission method, device and system and storage medium
CN105323457A (en) * 2014-06-27 2016-02-10 宏达国际电子股份有限公司 Electronic system and electronic device
CN105323457B (en) * 2014-06-27 2018-07-17 宏达国际电子股份有限公司 Electronic system and electronic device
CN104159143A (en) * 2014-08-18 2014-11-19 英华达(上海)科技有限公司 Energy-saving media playing system and energy-saving media playing method
CN104159143B (en) * 2014-08-18 2018-02-23 英华达(上海)科技有限公司 Media play energy conserving system and method

Also Published As

Publication number Publication date
CN103595748B (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106341570B (en) The method and apparatus for executing printing by the communication service of image forming apparatus
CN101615067B (en) Coordinated link power management
CN103389961B (en) Multi-CPU system and the computing system with multi-CPU system
CN202261405U (en) Wireless cloud memory system and memory equipment thereof
CN102651785A (en) Remote wakeup of application processor of mobile device
KR20100057672A (en) Group power management of network devices
JP2007251564A (en) Wireless lan system
CN102833794A (en) Method for configuring wireless network settings of thin client device using intelligent terminal
CN103595748A (en) File transmission method and mobile storage device applying file transmission method
US20140149535A1 (en) Method for transmitting data and mobile storage apparatus using the same
CN203366744U (en) Wireless USB flash disk device supporting self-building of hot spot
TW200412488A (en) Automatic mobile device scalable synchronization based on battery state
CN109548119A (en) Communication means, device, access point apparatus and the site apparatus of WLAN
CN101471833A (en) Method and apparatus for processing data
CN105320244A (en) Input-output device management using dynamic clock frequency
CN103313203B (en) Transmission method of multicast group and wireless network device applying same
KR101374776B1 (en) External storage device performing wireless communication and data sharing system using the same
CN202111732U (en) Multi-media distributing device
EP2924955B1 (en) Apparatus, communication control system, and communication control method
CN104102530B (en) Method and system for improving burning speed of electronic product
CN107787028A (en) A kind of method and apparatus for controlling modem communication module
CN104035902B (en) A kind of method and communication system for accessing data
KR100736902B1 (en) Method and apparatus for sharing memory by a plurality of processors
CN103391635B (en) Run the method for storage device and a kind of wireless memory apparatus
CN106354486B (en) The method and system of nand flash equipment management

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant