Summary of the invention
The invention provides method, device and terminal that a kind of control terminal is play, user can be made conveniently to appreciate multimedia file, effectively improve Consumer's Experience.
A first aspect of the present invention, provide a kind of method that control terminal is play, the method comprises:
Determine just whether remain static the terminal of play multimedia file is current;
If determine that described terminal is current to remain static, determine that described terminal keeps static duration whether to exceed predetermined threshold value;
If determine that described terminal keeps static duration to exceed predetermined threshold value, control described terminal notifying field feedback;
According to the feedback information of described user, determine whether described terminal continues to play described multimedia file.
In the first possible implementation of first aspect, describedly determine just current whether the remaining static of the terminal of play multimedia file comprise:
Determine described just whether to change in the position of the terminal of play multimedia file or whether described terminal rotates in current location;
Describedly determine describedly just to comprise current the remaining static of the terminal of play multimedia file:
When determine described just do not changing in the position of the terminal of play multimedia file and described terminal does not rotate in current location time, determine that described terminal is current and remain static; Otherwise determine that described terminal is current not remain static.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second of first aspect is possible, control described terminal notifying field feedback and be selected from combination in any with under type:
Control described terminal plays one section of voice message field feedback;
Control described terminal and point out field feedback with mode of vibration;
Control described terminal and point out field feedback in screen flicker mode;
Control described terminal and point out field feedback in ring mode.
In conjunction with the first possible implementation of first aspect or first aspect, in the third possible implementation of first aspect,
The described feedback information according to described user, determine whether described terminal continues to play described multimedia file and comprise:
If receive the feedback of described user in Preset Time, when the feedback instruction receiving user stops the feedback information playing described multimedia file, then control described terminal and stop playing described multimedia file;
If receive the feedback information of described user in Preset Time, when receiving user and indicating the feedback information continuing to play described multimedia file, then control described terminal and continue to play described multimedia file;
If do not receive the feedback information of described user in Preset Time, then control described terminal and stop playing described multimedia file.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, if do not receive the feedback information of described user in described Preset Time, before the described terminal of described control stops playing described multimedia file, described method also comprises:
Control described terminal and again point out field feedback;
The described feedback information according to described user, determine whether described terminal continues to play described multimedia file and comprise:
According to the feedback information of again pointing out of described user for described terminal, determine whether described terminal continues to play described multimedia file.
A second aspect of the present invention, provides the device that a kind of control terminal is play, and this device comprises:
Whether determining unit, just remain static the terminal of play multimedia file is current for determining;
Judging unit, remains static if determine that described terminal is current for described determining unit, determines that described terminal keeps static duration whether to exceed predetermined threshold value;
Control module, if determine that described terminal keeps static duration to exceed predetermined threshold value for described judging unit, controls described terminal notifying field feedback;
Processing unit, for the feedback information according to described user, determines whether described terminal continues to play described multimedia file.
In the first possible implementation of second aspect, described determining unit comprises:
First determination module, for determining whether the position of described terminal changes or whether described terminal rotates in current location;
Second determination module, for determine when described first determination module that the position of described terminal does not change and described terminal does not rotate in current location time, determine that described terminal is current and remain static; Otherwise determine that described terminal is current not remain static.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the second of second aspect is possible, described control module specifically for:
Control described terminal plays one section of voice message field feedback;
Control described terminal and point out field feedback with mode of vibration;
Control described terminal and point out field feedback in screen flicker mode;
Control described terminal and point out field feedback in ring mode.
In conjunction with the first possible implementation of second aspect or second aspect, in the third possible implementation of second aspect, described processing unit specifically for:
If receive the feedback of described user in Preset Time, when the feedback information of described multimedia file is play in the feedback instruction stopping that described terminal receives user, then control described terminal and stop playing described multimedia file;
If receive the feedback of described user in Preset Time, when the feedback instruction that described terminal receives user continues the feedback information playing described multimedia file, then control described terminal and continue to play described multimedia file;
If do not receive the feedback of described user in Preset Time, then control described terminal and stop playing described multimedia file.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, if do not receive the feedback information of described user in described Preset Time, described control module also points out field feedback again for controlling described terminal;
Described processing unit, specifically for the feedback information of again pointing out for described terminal according to described user, determines whether described terminal continues to play described multimedia file.
A third aspect of the present invention, provides a kind of terminal, and described terminal comprises the treating apparatus that the control terminal described in any one implementation in each possible implementation above-mentioned of second aspect or second aspect is play.
Method, device and terminal that control terminal provided by the invention is play, first determine just whether remain static the terminal of play multimedia file is current.If determine describedly just to remain static the terminal of play multimedia file is current, determine that terminal keeps static duration whether to exceed predetermined threshold value.If determine that terminal keeps static duration to exceed predetermined threshold value, control terminal prompting field feedback, then according to the feedback information of user, controls described terminal and whether continues play multimedia file.As can be seen from above, when the terminal determining playing remains static and keeps static duration to exceed first threshold, control terminal prompting field feedback, according to the feedback information of user, determines whether to continue play multimedia file.Therefore, when this mode avoids the stopping reproduction time arrival pre-set user, even if user also wants that proceeding current play content terminal still can stop the situation of broadcasting to occur, thus user can be made conveniently to appreciate multimedia file, effectively improve Consumer's Experience.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention one provides a kind of method that control terminal is play, and is performed by terminal, and the device specifically play by the control terminal wherein arranged performs, and as shown in Figure 1, comprises the following steps:
S11, determines just whether remain static the terminal of play multimedia file is current.
First it should be noted that, in the embodiment of the present invention, described terminal can for mobile phone, panel computer, personal digital assistant, MP3, MP4 etc. any one there is the equipment of playing function.
In this step, described multimedia file can be at least one in audio file, video file or station broadcast.Wherein, audio media files refers to the file of stored sound content, and such as form is the file of MP3, CD, WAVE (* .WAV), WMA, RealAudio etc.; Video media file refers to the file storing various dynamic image content, and such as form is the file of WMV, AVI, MP4, RM/RMVB, kmv etc.; Station broadcast is sent in the terminal of user by the sound signal of signal transmission apparatus by radio station studio.Certainly, multimedia file also can be the file of other types, and the present invention does not limit this.
In one embodiment of the invention, determining just whether remain static the terminal of play multimedia file is current, judging by determining whether the position of terminal changes and determine whether terminal rotates in current location.Concrete, when determining that the position of terminal does not change and described terminal does not rotate in current location, determining that described terminal is current and remaining static.When determining that the position of terminal changes or described terminal rotates in current location, determining that described terminal is current and not remaining static.
In a particular application, determine whether the position of terminal changes or whether terminal rotates by motion sensor (MotionSensor) detection acquisition in current location.Wherein, motion sensor can adopt gravity sensor, gyroscope, electronic compass etc. or they is combined, and the present invention does not limit this.For example, by utilizing gravity sensor determination terminal whether all to there occurs change along the translational acceleration of x-axis, y-axis and z-axis, determine whether the position of terminal changes.That is, only have when the numerical value on each axle does not change, terminal just remains static, otherwise when the numerical value on wherein at least one axle changes, then the position of this terminal there occurs change.Such as, the acceleration coordinate in x-axis, y-axis and z-axis corresponding when terminal is in original state is (0,0 ,-10), if the acceleration coordinate of terminal becomes (0,0,0), then the position of this terminal there occurs change.
S12, remains static if determine that terminal is current, determines that described terminal keeps static duration whether to exceed predetermined threshold value.
In this step, predetermined threshold value refers to, the time numerical value that user or terminal system preset for the situation that terminal remains static continuously.Predetermined threshold value can be configured to random time, and such as 1 minute, 10 minutes, 1 hour etc., the present invention did not limit this, and user or terminal system can rule of thumb be selected arbitrarily with experimental data etc.
S13, if determine that terminal keeps static duration to exceed predetermined threshold value, controls described terminal notifying field feedback.
In this step, control terminal prompting field feedback is selected from the combination in any with under type:
Control terminal plays one section of voice message field feedback;
Control terminal points out field feedback with mode of vibration;
Control terminal points out field feedback in screen flicker mode;
Control terminal points out field feedback in ring mode.
Certainly, control terminal prompting field feedback is not limited to upper type, and the present invention does not limit this.
S14, according to the feedback information of user, whether control terminal continues play multimedia file.
In this step, according to the feedback information of user, whether whether control terminal continues play multimedia file can according to receiving the particular content of the feedback information of user and the feedback information of user and have different processing modes.
Need certain hour because terminal notifying field feedback sends between feedback information to user to terminal, therefore a Preset Time can be set, for representing user after receiving prompting to the time used before sending feedback information.Its numerical value can be set by user or terminal system, and such as 1 minute, 5 minutes, 10 minutes etc., the present invention did not limit at this.
Therefore, in one embodiment of the invention, whether send the content of the feedback information of feedback information and user according to user, whether control terminal continues play multimedia file specifically can following three kinds of situations:
Situation one, if the feedback not receiving user in Preset Time, then controls described terminal and stops play multimedia file., namely, after terminal notifying field feedback, in Preset Time, user does not send any type of feedback information to terminal yet.In this case, then play multimedia file can be stopped by control terminal.
Situation two, if the feedback information receiving user in Preset Time, when receiving user and indicating the feedback information stopping play multimedia file, then control terminal stops play multimedia file.
Such as, after terminal notifying field feedback, in Preset Time, user sends to terminal the feedback information that instruction stops play multimedia file, and such as user sends the voice instruction of " stopping playing " to this terminal, in this case, terminal stops play multimedia file as indicated.
Situation three, if the feedback information receiving user in Preset Time, when receiving user and indicating the feedback information continuing play multimedia file, then control terminal continues play multimedia file.
Such as, after terminal notifying field feedback, in Preset Time, user sends to terminal the feedback information that instruction continues play multimedia file, and such as user sends the voice instruction of " continuing to play " to this terminal, in this case, terminal stops play multimedia file as indicated.
The method that the control terminal of the embodiment of the present invention one is play, first determines just whether remain static the terminal of play multimedia file is current.If determine describedly just to remain static the terminal of play multimedia file is current, determine that terminal keeps static duration whether to exceed predetermined threshold value.If determine that terminal keeps static duration to exceed predetermined threshold value, control terminal prompting field feedback, then according to the feedback information of user, controls described terminal and whether continues play multimedia file.As can be seen from above, when determining that the terminal play remains static and keeps static duration to exceed predetermined threshold value, control terminal prompting field feedback.According to the feedback information of described user, determine whether terminal continues to play described multimedia file.Therefore, when this mode avoids the stopping reproduction time arrival pre-set user, even if user also wants that proceeding current play content terminal still can stop the situation of broadcasting to occur, thus user can be made conveniently to appreciate multimedia file, effectively improve Consumer's Experience.
Optionally, in one embodiment of the invention, consider that user may fail to send in time because certain reason is such as away from keyboard feedback information, thus cause terminal stopping play multimedia file, for improving Consumer's Experience, can at least twice prompting field feedback.Namely in the situation one of step S14, if do not receive the feedback of user in Preset Time, before the described terminal of control stops play multimedia file, also again field feedback can be pointed out.In this case be namely that whether control terminal continues play multimedia file according to user for the feedback information of again pointing out.
For example, in Preset Time such as 3 minutes, do not receive the feedback information of user, also again can point out field feedback.In this case, according to user for the feedback information of again pointing out, whether control terminal continues play multimedia file.Be understandable that, above-mentioned according to user for the feedback information of again pointing out, whether control terminal continues the specific implementation process of play multimedia file, with the feedback information of step 14 according to user, the specific implementation process whether control terminal continues play multimedia file is identical, and therefore not to repeat here.It should be noted that, about the number of times of prompting field feedback, the present invention does not limit.
Better understand the technical scheme of the method for the control terminal broadcasting that the embodiment of the present invention provides in order to those skilled in the art, below by specific embodiment, the method that the control terminal that the embodiment of the present invention two provides is play is described in detail.
As shown in Figure 2, to have the mobile phone of playing function, the method that the control terminal of the embodiment of the present invention two is play can specifically comprise the following steps:
20, determine just whether remain static the mobile phone of play multimedia file is current.
Wherein, determine in the current detailed process that whether remains static of the mobile phone of play multimedia file be just: determine whether the position of mobile phone changes or whether mobile phone rotates in current location, when determining that the position of mobile phone does not change and mobile phone does not rotate in current location, determining that mobile phone is current and remaining static; Otherwise determine that mobile phone is current not remain static.
If determine that mobile phone is current to remain static, perform step 21.If determine that mobile phone is current not remain static, continue to perform this step 20.
21, whether detection of handset time used that remains static continuously exceedes predetermined threshold value.Wherein, predetermined threshold value is set to 30 minutes.
When detect mobile phone remain static continuously the time used exceed predetermined threshold value 30 minutes time, perform step 22.When detect mobile phone remain static continuously the time used be less than or equal to predetermined threshold value 30 minutes time, perform this step 21 and remain static continuously the time used to continue detection of handset.
22, prompting field feedback.
23, when not receiving the feedback information of user in first paragraph Preset Time such as 3 minutes, again point out field feedback.
24, when not receiving user for when again pointing out the feedback information of transmission or receive user for the feedback information of again pointing out transmission to indicate stopping to play in second segment Preset Time such as 5 minutes, control mobile phone stopping play multimedia file.
Wherein, the value of first paragraph Preset Time and second segment Preset Time also can be set to identical, only illustrates above.Be understandable that, if receive user in step 24 when indicating the feedback information continuing play multimedia file, then control terminal continues play multimedia file.
As can be seen from above, in the embodiment of the present invention two, remain static if determine that mobile phone is current, also need detection of handset time used that remains static continuously whether to exceed predetermined threshold value.When detecting that mobile phone time used that remains static continuously exceedes predetermined threshold value, prompting field feedback.If do not receive the feedback information of user, again field feedback can be pointed out.Now, do not receive user for when again pointing out the feedback information of transmission or receive user for the feedback information of again pointing out transmission to indicate stopping to play, control mobile phone stopping play multimedia file.In this way, more convenient user can appreciate multimedia file, thus further increase Consumer's Experience.
Correspondingly, embodiments of the invention three provide the device 30 that a kind of control terminal is play, and as shown in Figure 3, comprising:
Whether determining unit 31, just remain static the terminal of play multimedia file is current for determining;
Judging unit 32, remains static if determine that described terminal is current for described determining unit 31, determines that described terminal keeps static duration whether to exceed predetermined threshold value;
Control module 33, if determine that described terminal keeps static duration to exceed predetermined threshold value for described control module 32, controls described terminal notifying field feedback;
Processing unit 34, for the feedback information according to described user, determines whether described terminal continues to play described multimedia file.
As can be seen from above, utilize the device 30 that the control terminal of the embodiment of the present invention three is play, when determining unit 31 determines that the terminal play remains static, when judging unit 32 judges that described terminal keeps static duration to exceed predetermined threshold value, control module 33 control terminal prompting field feedback.According to the feedback information of described user, processing unit 34 determines whether terminal continues to play described multimedia file.Thus when the device avoids the stopping reproduction time arrival pre-set user, even if user also wants that proceeding current play content terminal still can stop the situation of broadcasting to occur, thus user can be made conveniently to appreciate multimedia file, effectively improve Consumer's Experience.
Optionally, in one embodiment of the invention, as shown in Figure 4, determining unit 31 comprises:
First determination module 311, for determining whether the position of terminal changes or whether terminal rotates in current location, and it can adopt gravity sensor, gyroscope, electronic compass etc. or they is combined, and the present invention does not limit this;
Second determination module 312, for determine when the first determination module 311 that the position of terminal does not change and described terminal does not rotate in current location time, determine that described terminal is current and remain static.
Optionally, in one embodiment of the invention, control module 33 specifically for:
Control described terminal plays one section of voice message field feedback;
Control described terminal and point out field feedback with mode of vibration;
Control described terminal and point out field feedback in screen flicker mode;
Control described terminal and point out field feedback in ring mode.
Optionally, in one embodiment of the invention, processing unit 34 specifically for:
If receive the feedback information of user in Preset Time, when the feedback information of described multimedia file is play in the feedback instruction stopping that terminal receives user, then control described terminal and stop playing described multimedia file;
If receive the feedback information of described user in Preset Time, when the feedback instruction that described terminal receives user continues the feedback information playing described multimedia file, then control described terminal and continue to play described multimedia file;
If do not receive the feedback information of described user in Preset Time, then control described terminal and stop playing described multimedia file.
Optionally, in one embodiment of the invention, if do not receive the feedback information of user in Preset Time, control module 33 also for: control described terminal and again point out field feedback;
Now, described processing unit 34 specifically for: according to described user for the feedback information of again pointing out, determine whether described terminal continues to play described multimedia file.
It should be noted that, the principle of work of the device 30 that the control terminal that the embodiment of the present invention provides is play refers to the description of embodiment of the method above.
Figure 5 shows that the device that the control terminal that the embodiment of the present invention four provides is play, as shown in Figure 5, the device 40 that the control terminal that the present embodiment four provides is play, comprises processor 401, storer 402, communication interface 403, bus 404 and sensor 405.Processor 401, storer 402, communication interface 403 and sensor 405 are connected by bus 404 and complete mutual communication.Described bus 404 can be industry standard architecture (IndustryStandardArchitecture, referred to as ISA) bus, peripheral component interconnect (PeripheralComponent, referred to as PCI) bus or extended industry-standard architecture (ExtendedIndustryStandardArchitecture, referred to as EISA) bus etc.Described bus 404 can be divided into address bus, data bus, control bus etc.For ease of representing, only representing with a thick line in Fig. 5, but not representing the bus only having a bus or a type.Wherein:
Storer 402 is for stores executable programs code, and this program code comprises computer-managed instruction.Storer 402 may comprise high-speed RAM storer, still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disk memory.
Whether sensor 405 just remains static the terminal of play multimedia file is current, the result determined is sent to processor 401 for determining.
Processor 401 runs the program corresponding with described executable program code by reading the executable program code stored in storer 402, for:
If determine that terminal is current to remain static, determine that terminal keeps static duration whether to exceed predetermined threshold value;
If determine that terminal keeps static duration to exceed predetermined threshold value, control terminal prompting field feedback;
According to the feedback information of user, determine whether terminal continues play multimedia file.
Wherein, processor 401 may be a central processing unit (CentralProcessingUnit, referred to as CPU), or specific integrated circuit (ApplicationSpecificIntegratedCircuit, referred to as ASIC), or be configured to the one or more integrated circuit implementing the embodiment of the present invention.
It should be noted that, above-mentioned processor 401, except having above-mentioned functions, also can be used for performing other flow processs in said method embodiment, does not repeat them here.
Also it should be noted that, in processor 401, the embodiment of the device that the division of each functional unit can be play see aforesaid control terminal, does not repeat them here.
Correspondingly, embodiments of the invention five provide a kind of terminal, and described terminal comprises the device that the control terminal in the embodiment of aforementioned control terminal broadcasting described in any one embodiment is play.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.In addition, in device embodiment accompanying drawing provided by the invention, the annexation between module represents to have communication connection between them, specifically can be implemented as one or more communication bus or signal wire.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly comprise special IC, dedicated cpu, private memory, special components and parts etc. realize by specialized hardware.Generally, all functions completed by computer program can realize with corresponding hardware easily, and the particular hardware structure being used for realizing same function also can be diversified, such as mimic channel, digital circuit or special circuit etc.But under more susceptible for the purpose of the present invention condition, software program realizes is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computing machine, USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in the present invention each embodiment.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.