Summary of the invention
In view of this, be necessary for existing smart mobile phone, because memory space inadequate has brought the problem of certain inconvenience to user, to provide a kind of data transfering method, system and mobile terminal.
A data transfering method, for mobile terminal, described mobile terminal has memory space and will carry out a preprocessing tasks, comprising:
A) memory space inadequate that described mobile terminal detected is to carry out described preprocessing tasks;
B) described mobile terminal to search peripheral equipment;
C) described peripheral equipment sends feedback information to described mobile terminal;
D) described mobile terminal receives described feedback information, and from described peripheral equipment, selects at least one paired device according to described feedback information, and described mobile terminal sends data transfer request to described paired device;
E) described paired device receives the data transfer request that described mobile terminal sends, and determines whether to respond; And
When the data transfer request of f) when described paired device, described mobile terminal being sent responds, described mobile terminal is sent to described paired device by data to be transferred.
In an execution mode, described step a) comprises therein:
Calculate and carry out the required memory capacity of described preprocessing tasks;
The memory capacity that the active volume in more described mobile terminal stores space is required with carrying out described preprocessing tasks; And
When the active volume in described mobile terminal stores space is less than while carrying out the required memory capacity of described preprocessing tasks, the memory space inadequate of described mobile terminal is to carry out described preprocessing tasks.
In an execution mode, before carrying out described preprocessing tasks or in carrying out described preprocessing tasks process, calculate and carry out the required memory capacity of described preprocessing tasks therein.
In an execution mode, described data transfering method also comprises therein:
When the data transfer request of described mobile terminal being sent when described paired device does not respond, described mobile terminal is searched for peripheral equipment again.
In an execution mode, described data transfering method also comprises therein:
When described mobile terminal executes after described preprocessing tasks, to described paired device, send data record request;
The data record request that described paired device sends described mobile terminal responds and data to be recycled is reached to described mobile terminal.
In an execution mode, described feedback information comprises the active volume of title, type, model and the memory space of described peripheral equipment therein.
In an execution mode, in step d), described paired device is the peripheral equipment of same type, same model and active volume maximum therein.
A data transferring system, comprising:
Mobile terminal, has memory space and will carry out a preprocessing tasks;
One or more peripheral equipments;
Wherein, when the memory space inadequate that described mobile terminal detected is when carrying out described preprocessing tasks; Described mobile terminal to search peripheral equipment; Described peripheral equipment sends feedback information to described mobile terminal; Described mobile terminal receives described feedback information, and from described peripheral equipment, selects at least one paired device according to described feedback information, and described mobile terminal sends data transfer request to described paired device; Described paired device receives the data transfer request that described mobile terminal sends, and determines whether to respond; And the data transfer request of described mobile terminal being sent when described paired device is when respond, described mobile terminal is sent to described paired device by data to be transferred.
In an execution mode, the memory space inadequate that described mobile terminal detected comprises to carry out described preprocessing tasks therein:
Calculate and carry out the required memory capacity of described preprocessing tasks;
The memory capacity that the active volume in more described mobile terminal stores space is required with carrying out described preprocessing tasks; And
When the active volume in described mobile terminal stores space is less than while carrying out the required memory capacity of described preprocessing tasks, the memory space inadequate of described mobile terminal is to carry out described preprocessing tasks.
In an execution mode, before carrying out described preprocessing tasks or in carrying out described preprocessing tasks process, calculate and carry out the required memory capacity of described preprocessing tasks therein.
A mobile terminal, will carry out a preprocessing tasks in described mobile terminal, comprise:
Memory module, in order to store data;
Detection module, in order to detect the active volume of described memory module;
Communication module, in order to search for peripheral equipment, and is connected to receive and send messages with peripheral equipment;
Control module, is connected in described memory module, described detection module and described communication module;
Wherein, the active volume of the described memory module that described control module provides according to described detection module determines whether the memory space of described memory module is enough to carry out preprocessing tasks, when the memory space inadequate of described memory module is when carrying out preprocessing tasks, described control module is indicated described communication module search peripheral equipment and is received the feedback information of described peripheral equipment; And described control module is selected at least one paired device from described peripheral equipment according to described feedback information, then indicate to described paired device and send data transfer request; And when described paired device responds to sent data transfer request, described control module is indicated the data to be transferred that are stored in described memory module is sent to described paired device by described communication module.
Therein in an execution mode, whether the memory space of determining described memory module is enough to carry out preprocessing tasks comprises as follows:
Calculate and carry out the required memory capacity of described preprocessing tasks;
The memory capacity that the active volume of more described memory module is required with carrying out described preprocessing tasks; And
When the active volume of described memory module is less than while carrying out the required memory capacity of described preprocessing tasks, the memory space inadequate of described memory module is to carry out described preprocessing tasks.
In an execution mode, before carrying out described preprocessing tasks or in carrying out described preprocessing tasks process, calculate and carry out the required memory capacity of described preprocessing tasks therein.
Therein in an execution mode, described control module also in order to:
When described paired device does not respond to sent data transfer request, described control module indication is searched for peripheral equipment again by described communication module.
Therein in an execution mode, described control module also in order to:
After executing described preprocessing tasks, described control module indication is sent data record request to described paired device;
Described paired device responds to sent data record request and described data to be recycled is reached in described memory module.
As from the foregoing, data transfering method proposed by the invention, system and mobile terminal, because mobile terminal is sent to its partial data near peripheral equipment and preserves, can carry out smoothly preprocessing tasks, thereby can improve the continuity of carrying out preprocessing tasks.And, because the memory space inadequate when mobile terminal being detected is when carrying out preprocessing tasks, in near the peripheral equipment of mobile terminal can in time its partial data being sent to so that carry out preprocessing tasks, thereby can improve the real-time of carrying out preprocessing tasks.In a word, data transfering method proposed by the invention, system and mobile terminal, brought facility to the user of mobile terminal.
Embodiment
In order to make relevant technical staff in the field understand better technical scheme of the present invention, accompanying drawing below in conjunction with embodiment of the present invention, technical scheme in embodiment of the present invention is clearly and completely described, obviously, described execution mode is only the present invention's part execution mode, rather than whole execution modes.
With reference to Fig. 1, Fig. 1 has illustrated the block diagram of the data transferring system of an embodiment of the present invention.
As shown in Figure 1, data transferring system 100 comprises mobile terminal 110, one or more peripheral equipment, as peripheral equipment 120a, peripheral equipment 120b, peripheral equipment 120c etc., certainly, peripheral equipment is not limited to peripheral equipment 120a, 120b, 120c, and it can be peripheral equipment 120a, can be also peripheral equipment 120a, 120b, can also be more than peripheral equipment 120a, 120b, 120c, also comprise other peripheral equipment.
Mobile terminal 110, can be mobile phone, as smart mobile phone, can also be panel computer, can also be other portable terminal certainly.Mobile device 110 has memory space, in memory space, can store data, as system program, application program, video and audio file and office document etc.
In the present embodiment, in mobile terminal 110, will carry out a preprocessing tasks, such as downloading a Games Software, and receive an external file or move an office software etc.
And now, restriction due to the memory space of mobile terminal 110, may cause executing preprocessing tasks just because memory space inadequate reports an error, and in present embodiment, whether mobile terminal 110 can detect its memory space is enough to carry out preprocessing tasks, particularly, calculate and carry out the required memory capacity of preprocessing tasks; And the active volume that the compares mobile terminal 110 memory spaces memory capacity required with execution preprocessing tasks; When the active volume of mobile terminal 110 memory spaces is less than while carrying out the required memory capacity of preprocessing tasks, can think that the memory space inadequate of mobile terminal 110 is to carry out preprocessing tasks.
For calculating, carry out the required memory capacity of preprocessing tasks, can before carrying out preprocessing tasks, calculate, also can in the process of carrying out preprocessing tasks, calculate, such as, when preprocessing tasks is operation office software, can before operation office software, calculate so, and when preprocessing tasks is downloading game software, can in downloading game software process, calculate.It should be noted that, here the required memory capacity of execution preprocessing tasks calculated, not be equal to the storage size that will take while carrying out preprocessing tasks, it can be to be also greater than storage size shared while carrying out preprocessing tasks, such as downloading 30,000,000 Games Software, its required memory capacity can be 40M according to calculating so, on 30,000,000 basis, added certain amount, but added amount can arrange arbitrarily.
And when the memory space inadequate that mobile terminal 110 detected is when carrying out the preprocessing tasks that will carry out, mobile terminal 111 will be searched for peripheral equipment, and according to the response of at least one peripheral equipment, data to be transferred are sent to the peripheral equipment of response, to be stored in the peripheral equipment of response, the data to be transferred here, can be obsolete various data that do not re-use in mobile terminal 110 or temporary transient, such as, some video files that no longer need, audio file, document etc.
Reciprocal process for mobile terminal 110 with peripheral equipment, please refer to following.
With reference to Fig. 2, Fig. 2 has illustrated the flow chart of the data transfering method of another execution mode of the present invention.
Below in conjunction with Fig. 1, Fig. 2, will mobile terminal 110 and the reciprocal process of peripheral equipment (as peripheral equipment 120a, 120b, 120c) be described in detail.
First, in step 210, the memory space inadequate of mobile terminal 110 detected to carry out preprocessing tasks.Particularly, can calculate and carry out the required memory capacity of preprocessing tasks; The active volume memory capacity required with carrying out preprocessing tasks that compares mobile terminal 110 memory spaces; And be less than while carrying out the required memory capacity of preprocessing tasks when the active volume of mobile terminal 110 memory spaces, can think that the memory space inadequate of mobile terminal 110 is to carry out preprocessing tasks.
Then, in step 220, mobile terminal 110 search peripheral equipments.In one embodiment, search peripheral equipment, can adopt wireless mode to search for, and such as searching for by modes such as bluetooth, zigbee, WIFI, but not as limit, can also adopt other wireless mode to search for.
Afterwards, in step 230, peripheral equipment (as peripheral equipment 120a, 120b, 120c) sends feedback information to mobile terminal 110.In one embodiment, this feedback information can comprise the active volume of title, type, model and the memory space of peripheral equipment, but not as limit, it can also comprise the out of Memory of peripheral equipment.In one embodiment, peripheral equipment can be the various wireless devices of smart mobile phone, panel computer, notebook computer etc.
Then, in step 240, mobile terminal 110 receiving feedback informations, and according to feedback information, from peripheral equipment, select at least one paired device, and mobile terminal 110 sends data transfer request to paired device.Preferably, paired device can be selected the peripheral equipment of same type, same model and active volume maximum.Particularly, the feedback information that mobile terminal 110 can provide each peripheral equipment carries out Priority Order, such as the priority of the type of peripheral equipment, model, active volume from high to low,, can pay the utmost attention to the peripheral equipment of same type same model, and in the peripheral equipment of same type same model, selecting the peripheral equipment of active volume maximum is paired device.For instance, when mobile device 110 is smart mobile phone, be that its type is mobile phone, and model is A, so in the peripheral equipment searching, as peripheral equipment 120a, 120b, in 120c, peripheral equipment 120a, the type of 120b is mobile phone, the type of peripheral equipment 120c is panel computer, the model of peripheral equipment 120a is A, the model of peripheral equipment 120b is B, so now, it is paired device that mobile terminal 110 will be paid the utmost attention to peripheral equipment 120a, and when the model of peripheral equipment 120b is also A, and when its active volume is greater than the active volume of peripheral equipment 120a, now, it is paired device that mobile terminal 110 will be paid the utmost attention to peripheral equipment 120b.But, need emphasize, mobile terminal 110 also can not consider that this priority selects paired device, but directly from each peripheral equipment, selects arbitrarily, such as, the operator by mobile terminal 110 selects arbitrarily.In addition, mobile terminal 110 does not limit and selects a peripheral equipment is paired device, also can select a plurality of peripheral equipments as paired device simultaneously.
Then, in step 250, the data transfer request that paired device mobile terminal receive 110 sends, and determine whether to respond.For instance, when if mobile terminal 110 selects peripheral equipment 120a to be paired device, so, peripheral equipment 120a receives after the data transfer request that mobile terminal 110 sends, to determine whether to respond, here " whether responding ", whether its implication is " agreeing to ", , whether agree to the data transfer request that mobile terminal 110 proposes, if responded, will enter step 260, otherwise enter in step 220, be that mobile terminal 110a searches for peripheral equipment again, then, can select other peripheral equipment as paired device, such as selecting peripheral equipment 120b as paired device, carry out again subsequent operation.
In step 260, when the data transfer request of mobile terminal 110 being sent when paired device responds, mobile terminal 110 sends to paired device by data to be transferred.Here said data to be transferred, can be data or the temporary transient no data that do not re-use, such as no video file that no longer need or temporary transient, audio file, document etc.Preferably, the various data of storing in mobile terminal 110 can be sorted according to certain condition, then find out the data of not using or upgrading within a certain period of time, such as untapped data all in month, then using these data as data to be transferred, be sent to paired device, afterwards, paired device is stored its received data to be transferred.
When mobile terminal 110 is sent in paired device by its data to be transferred, it can carry out preprocessing tasks, such as, can carry out download software.But it should be noted that, carrying out preprocessing tasks can be just to carry out after mobile terminal 110 is all sent to paired device by all data to be transferred, under certain situation, such as preprocessing tasks is for downloading software, can send data to be transferred at mobile terminal 110 and all to the process of paired device, carry out simultaneously, this can apply in a flexible way according to the operator of mobile terminal 110.
Because mobile terminal 110 is sent to its partial data near peripheral equipment and preserves, can carry out smoothly preprocessing tasks, thereby can improve the continuity of carrying out preprocessing tasks.And, because the memory space inadequate when mobile terminal 110 being detected is when carrying out preprocessing tasks, mobile terminal 110 can be sent near peripheral equipment so that carry out preprocessing tasks by its partial data by wireless mode in time, thereby can improve the real-time of carrying out preprocessing tasks.
In the present embodiment, when mobile terminal 110 executes after preprocessing tasks, when the memory space of mobile terminal 110 also can be stored data, such as, when mobile terminal 110 executes after preprocessing tasks, can close related software, or further close some other software, make mobile terminal 110 memory spaces to there is certain active volume, now, can also comprise the steps:
In step 270, mobile terminal 110 sends data record request to paired device;
Then, enter step 280, in step 280, the data record request that paired device sends mobile terminal 110 responds and data to be recycled is reached to mobile terminal 110.The data to be recycled here might not be said whole data to be transferred above, also can be the part of data to be transferred, can be according to mobile terminal 110 active volumes, select data relatively important or that be about to use to reclaim, with respect to the direct deletion of prior art, can make the data of part outbalance remain.
It should be noted that, in the present embodiment, step 270 is optional step with step 280, can after step 260, just finish, that is, 110 of mobile terminals are sent to paired device by its data to be transferred, and from paired device, do not reclaim the data that it sends before.
Please refer to Fig. 3, Fig. 3 has illustrated the block diagram of the mobile terminal of the another execution mode of the present invention again.
In the present embodiment, mobile terminal 310 will be carried out a preprocessing tasks, and this preprocessing tasks, such as can be downloads software, receives file or displaying video etc. from outside.
As shown in Figure 3, mobile terminal 310 comprises memory module 312, detection module 314, communication module 316 and control module 318.
Memory module 312, can be in order to store data, such as the various video files of storage, audio file, document and application program etc.
Detection module 314, in order to the active volume of detection of stored module 312.
Communication module 316, in order to search for peripheral equipment, and is connected to receive and send messages with peripheral equipment.Preferably, communication module 316 is wireless communication module, such as various wireless communication modules such as bluetooth communication, zigbee communication module, WIFI communication modules.
Control module 318, is connected in memory module 312, detection module 314 and communication module 316.
In the present embodiment, the active volume of the memory module 312 that control module 318 provides according to detection module 314 determines whether the memory space of memory module 312 is enough to carry out preprocessing tasks, when the memory space inadequate of memory module 312 is when carrying out preprocessing tasks, control module 318 indication communication modules 316 search peripheral equipments (not illustrating) also receive the feedback information of peripheral equipment; And control module 318 is selected at least one paired device from peripheral equipment according to feedback information, then indicate to paired device and send data transfer request; And when paired device responds to sent data transfer request, 318 indications of control module are sent to paired device by the data to be transferred that are stored in memory module 312 by communication module 316.
Whether the memory space that memory module 312 is provided for the active volume of the memory module 312 providing according to detection module 314 is enough to carry out preprocessing tasks, can realize by the following:
Calculate and carry out the required memory capacity of preprocessing tasks;
The active volume memory capacity required with carrying out preprocessing tasks that compares memory module 312; And
When the active volume of memory module 312 is less than while carrying out the required memory capacity of preprocessing tasks, the memory space inadequate of memory module 312 is to carry out preprocessing tasks.
For calculating, carry out the required memory capacity of preprocessing tasks, can before carrying out preprocessing tasks or in carrying out preprocessing tasks process, carry out.
In the present embodiment, when paired device does not respond to sent data transfer request, control module 312 indications are searched for peripheral equipment again by communication module 316.
In the present embodiment, after executing preprocessing tasks, control module 318 indications are sent data record request to paired device; Paired device responds to sent data record request and data to be recycled is reached in the memory module 312 of mobile terminal 310.Owing to executing preprocessing tasks, can close corresponding software, now, in memory module 312, certain active volume will be there is, be that its memory space can be stored certain data, now the data record that is partly or entirely sent to before paired device can be returned be stored in memory module 312.
As from the foregoing, data transfering method proposed by the invention, system and mobile terminal, because mobile terminal is sent to its partial data near peripheral equipment and preserves, can carry out smoothly preprocessing tasks, thereby can improve the continuity of carrying out preprocessing tasks.And, because the memory space inadequate when mobile terminal being detected is when carrying out preprocessing tasks, in near the peripheral equipment of mobile terminal can in time its partial data being sent to so that carry out preprocessing tasks, thereby can improve the real-time of carrying out preprocessing tasks.In a word, data transfering method proposed by the invention, system and mobile terminal, brought facility to the user of mobile terminal.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.