CN104575552A - Method for regulating playing progress - Google Patents

Method for regulating playing progress Download PDF

Info

Publication number
CN104575552A
CN104575552A CN201410759162.3A CN201410759162A CN104575552A CN 104575552 A CN104575552 A CN 104575552A CN 201410759162 A CN201410759162 A CN 201410759162A CN 104575552 A CN104575552 A CN 104575552A
Authority
CN
China
Prior art keywords
playing progress
progress rate
distance
value
sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410759162.3A
Other languages
Chinese (zh)
Inventor
阮班茂
陈东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201410759162.3A priority Critical patent/CN104575552A/en
Publication of CN104575552A publication Critical patent/CN104575552A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a method for regulating a playing progress. The method comprises the following steps: acquiring distance change information between an inductor and a sensor during the playing of multimedia; acquiring progress change information corresponding to the distance change information according to a preset mapping relationship; regulating the playing progress of the multimedia according to the progress change information. Through the adoption of the method disclosed by the embodiment of the invention, the playing progress of the multimedia can be regulated. The method has the advantages of convenience, high accuracy and high controllability.

Description

A kind of control method of playing progress rate
Technical field
The present invention relates to multimedia control technique field, particularly relate to a kind of control method of playing progress rate.
Background technology
Along with the development of electronic technology, the terminal of such as smart mobile phone or panel computer etc. is more and more universal.Because it has flexibly advantage easily, be extensively used for play multimedia (as video, audio frequency or e-book etc.) by user.In play multimedia, user need control multimedia playing progress rate by finger pull progress bar, but because finger is larger with the contact area of touch-screen, not easily touch progress bar, or not easily accurately pull progress bar to the time point wanted, cause needing repeatedly to regulate, have impact on the experience of user.
Summary of the invention
The embodiment of the present invention provides a kind of control method of playing progress rate, can realize regulating multimedia playing progress rate.
The control method of a kind of playing progress rate that the embodiment of the present invention provides, comprising:
When carrying out multimedia, obtain the distance variation information between inductor and sensor;
According to the mapping relations preset, obtain the progress change information that described distance variation information is corresponding;
According to described progress change information, regulate described multimedia playing progress rate.
The embodiment of the present invention is when play multimedia, obtain the distance variation information between inductor and sensor, and obtain progress change information corresponding to distance variation information, and regulate multimedia playing progress rate according to progress change information, can realize regulating multimedia playing progress rate.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the control method of a kind of playing progress rate that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the control method of the another kind of playing progress rate that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the control method of another playing progress rate that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of a kind of distance change acquiring unit that the embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of progress change acquiring unit that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of playing progress rate regulon that the embodiment of the present invention provides;
Fig. 8 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 9 is the adjustment schematic diagram of a kind of playing progress rate that the embodiment of the present invention provides.
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 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 terminal that the embodiment of the present invention provides, can comprise smart mobile phone, panel computer, notebook computer, desktop computer, top box of digital machine, digital audio & video players, electronic reader, handheld game machine and vehicle electronic device etc.
Fig. 1 is the schematic flow sheet of the control method of a kind of playing progress rate in the embodiment of the present invention.The flow process of the control method of the playing progress rate as shown in the figure in the present embodiment can comprise:
S101, when carrying out multimedia, obtains the distance variation information between inductor and sensor.
Described multimedia can be video, music, e-book or electronic picture album etc.
Described inductor can be the finger of user, but is not limited to be finger, other any category that all can be belonged to inductor by the article of sensor sensing.Described sensor, for measuring the distance between itself and inductor, can be placed in terminal, also can be placed in exterior of terminal.Such as, suppose that terminal is smart mobile phone, sensor can be positioned at by the front-facing camera of smart mobile phone; Suppose that terminal is top box of digital machine, sensor can be positioned at by the button of telepilot.In brief, sensor is by terminal control.
Optionally, in embodiments of the present invention, described sensor can be infrared ray range sensor, its principle of work is: infrared emission head launches infrared ray, to reflect after infrared ray runs into shelter, infrared receiving terminal receives the infrared ray returned, and can calculate the distance between itself and shelter according to the time of infrared transmission.Wherein, above-mentioned shelter is the inductor in the embodiment of the present invention.
As the optional embodiment of one, before terminal obtains the distance variation information between inductor and sensor, also to determine that distance between described inductor and described sensor is in the distance range preset.For the ease of understanding, illustratively, refer to Fig. 9, the distance that in figure, A indicates belongs in default distance range, and the distance that B indicates belongs to outside default distance range.Namely only have distance between inductor and sensor within the distance range preset, terminal just can go to obtain the distance variation information between inductor and sensor.It is pointed out that default distance range can be set, as being set to 10 centimetres by developer or user.
Concrete, the method for the distance variation information that terminal obtains between inductor and sensor can be realized by following steps:
Step 1, obtains the distance value between described inductor and described sensor.
Step 2, calculates the changing value of described distance value within the time interval of presetting.
The described default time interval sets by debugging in advance.Such as, the time interval of presetting is 0.5 second, and the distance value between the inductor that terminal records before and after 0.5 second and sensor is respectively 8 centimetres and 6 centimetres, is 2 centimetres by can be calculated the changing value of distance value.
Step 3, determines change direction, and described change direction comprises the direction of described inductor near described sensor, or described inductor is away from the direction of described sensor.
Optionally, determine that the method for change direction can be: compare the distance value that surrounding time point records, the distance value of a time point after if the distance value of previous time point is greater than, then show that change direction is the direction of inductor near sensor, otherwise, then show that change direction is the direction of inductor away from sensor.
Step 4, obtains described distance variation information, and described distance variation information comprises the changing value of described distance value and described change direction.
In specific implementation process, terminal generates distance variation information according to the changing value of the distance value calculated and the change direction determined.
Another optional, terminal, before generation distance variation information, also will determine that the changing value of distance value within the time interval of presetting is greater than default change threshold.Namely only have the changing value of distance value to be greater than default change threshold, terminal just can generate distance variation information.Object is the distance change avoiding erroneous judgement fine jitter to cause, and such as, inductor is the finger of user, even if finger stops moving also have fine jitter unavoidably.Wherein, the time interval of presetting also sets, as being set to 0.2 centimetre by debugging in advance.
S102, according to the mapping relations preset, obtains the progress change information that described distance variation information is corresponding.
Terminal is according to the mapping relations preset, and the method obtaining progress change information corresponding to described distance variation information can be realized by following steps:
Step 1, according to the mapping relations preset, calculates the changing value of playing progress rate corresponding to the changing value of described distance value.
Optionally, described default mapping relations can be the mapping algorithms of the changing value of distance value and the changing value of playing progress rate.Namely the changing value of distance value is variable, and the changing value of playing progress rate is dependent variable, if the value of known variables, can calculate the value of dependent variable according to mapping algorithm.Such as, suppose that the distance range preset is 10 centimetres, multimedia to be a duration the be video of 120 minutes, so change algorithm can be set as the changing value of the changing value=12* distance value of progress value, namely distance value often changes 1 centimetre (namely the changing value of distance value equals 1 centimetre), and playing progress rate changes 12 minutes (namely the changing value of playing progress rate equals 12 minutes).
Step 2, according to the corresponding relation preset, determine the adjustment direction of the playing progress rate that described change direction is corresponding, described adjustment direction comprises forward play direction, or retreats broadcasting direction.
Described default corresponding relation can be set by developer or user.As the optional embodiment of one, if change direction is the direction of inductor near sensor, then determining that the adjustment direction of playing progress rate is forward play direction, if change direction is the direction of inductor away from sensor, then determining that direction is play for retreating in the adjustment direction of playing progress rate.Certainly also can conversely, be not construed as limiting here.
Step 3, obtains described progress change information, and described progress change information comprises the changing value of described playing progress rate and the adjustment direction of described playing progress rate.
In specific implementation process, terminal generates progress change information according to the adjustment direction of the changing value of playing progress rate and playing progress rate.
S103, according to described progress change information, regulates described multimedia playing progress rate.
As the optional embodiment of one, if the adjustment direction of described playing progress rate is described forward play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is advanced and regulates, if the adjustment direction of described playing progress rate is described retrogressing play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is retreated and regulates.
Such as, the adjustment direction of progress change information is forward play direction, and the changing value of progress value is 30 seconds, the playing progress rate of present multimedia be 1 point 20 seconds, so terminal regulate after multimedia playing progress rate be 1 point 50 seconds.
As the optional embodiment of another kind, if the adjustment direction of described playing progress rate is described forward play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is retreated and regulates, if the adjustment direction of described playing progress rate is described retrogressing play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is advanced and regulates.
Optionally, terminal, after the multimedia playing progress rate of adjustment, shows current playing progress rate, facilitates user to know the playing progress rate that the rear multimedia of adjustment is current.
Accordingly, the distance between described inductor and described sensor, outside the distance range preset, stops obtaining the distance variation information between described inductor and described sensor.Such as, user is after completing the multimedia playing progress rate of adjustment, and finger leaves the distance range preset between sensor, and now terminal stops obtaining the distance variation information between inductor and sensor, can alleviate working load and save power consumption.
The embodiment of the present invention is when play multimedia, obtain the distance variation information between inductor and sensor, and obtain progress change information corresponding to distance variation information, and regulate multimedia playing progress rate according to progress change information, can realize regulating multimedia playing progress rate by the mode of non-touch-control, have conveniently, degree of accuracy is high and controllability is strong advantage.
Fig. 2 is the schematic flow sheet of the control method of another kind of playing progress rate in the embodiment of the present invention, can comprise:
S201, determines that distance between described inductor and described sensor is in the distance range preset.
Described inductor can be the finger of user, but is not limited to be finger, other any category that all can be belonged to inductor by the article of sensor sensing.Described sensor, for measuring the distance between itself and inductor, can be placed in terminal, also can be placed in exterior of terminal.Such as, suppose that terminal is smart mobile phone, sensor can be positioned at by the front-facing camera of smart mobile phone; Suppose that terminal is top box of digital machine, sensor can be positioned at by the button of telepilot.In brief, sensor is by terminal control.
Optionally, in embodiments of the present invention, described sensor can be infrared ray range sensor, its principle of work is: infrared emission head launches infrared ray, to reflect after infrared ray runs into shelter, infrared receiving terminal receives the infrared ray returned, and can calculate the distance between itself and shelter according to the time of infrared transmission.Wherein, above-mentioned shelter is the inductor in the embodiment of the present invention.
For the ease of understanding, illustratively, refer to Fig. 9, the distance that in figure, A indicates belongs in default distance range, and the distance that B indicates belongs to outside default distance range.Namely only have distance between inductor and sensor within the distance range preset, terminal just can go to obtain the distance variation information between inductor and sensor.It is pointed out that default distance range can be set, as being set to 10 centimetres by developer or user.
S202, obtains the distance value between described inductor and described sensor.
S203, calculates the changing value of described distance value within the time interval of presetting.
The described default time interval sets by debugging in advance.Such as, the time interval of presetting is 0.5 second, and the distance value between the inductor that terminal records before and after 0.5 second and sensor is respectively 8 centimetres and 6 centimetres, is 2 centimetres by can be calculated the changing value of distance value.
S204, determines change direction, and described change direction comprises the direction of described inductor near described sensor, or described inductor is away from the direction of described sensor.
Optionally, determine that the method for change direction can be: compare the distance value that surrounding time point records, the distance value of a time point after if the distance value of previous time point is greater than, then show that change direction is the direction of inductor near sensor, otherwise, then show that change direction is the direction of inductor away from sensor.
S205, obtains described distance variation information, and described distance variation information comprises the changing value of described distance value and described change direction.
Concrete, terminal generates distance variation information according to the changing value of the distance value calculated and the change direction determined.
Another optional, terminal, before generation distance variation information, also will determine that the changing value of distance value within the time interval of presetting is greater than default change threshold.Namely only have the changing value of distance value to be greater than default change threshold, terminal just can generate distance variation information.Object is the distance change avoiding erroneous judgement fine jitter to cause, and such as, inductor is the finger of user, even if finger stops moving also have fine jitter unavoidably.Wherein, the time interval of presetting also sets, as being set to 0.2 centimetre by debugging in advance.
S206, according to the mapping relations preset, calculates the changing value of playing progress rate corresponding to the changing value of described distance value.
Optionally, described default mapping relations can be the mapping algorithms of the changing value of distance value and the changing value of playing progress rate.Namely the changing value of distance value is variable, and the changing value of playing progress rate is dependent variable, if the value of known variables, can calculate the value of dependent variable according to mapping algorithm.Such as, suppose that the distance range preset is 10 centimetres, multimedia to be a duration the be video of 120 minutes, so change algorithm can be set as the changing value of the changing value=12* distance value of progress value, namely distance value often changes 1 centimetre (namely the changing value of distance value equals 1 centimetre), and playing progress rate changes 12 minutes (namely the changing value of playing progress rate equals 12 minutes).
S207, according to the corresponding relation preset, determine the adjustment direction of the playing progress rate that described change direction is corresponding, described adjustment direction comprises forward play direction, or retreats broadcasting direction.
Described default corresponding relation can be set by developer or user.As the optional embodiment of one, if change direction is the direction of inductor near sensor, then determining that the adjustment direction of playing progress rate is forward play direction, if change direction is the direction of inductor away from sensor, then determining that direction is play for retreating in the adjustment direction of playing progress rate.Certainly also can conversely, be not construed as limiting here.
S208, obtains described progress change information, and described progress change information comprises the changing value of described playing progress rate and the adjustment direction of described playing progress rate.
Concrete, terminal generates progress change information according to the adjustment direction of the changing value of playing progress rate and playing progress rate.
S209, according to described progress change information, regulates described multimedia playing progress rate.
As the optional embodiment of one, if the adjustment direction of described playing progress rate is described forward play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is advanced and regulates, if the adjustment direction of described playing progress rate is described retrogressing play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is retreated and regulates.
Such as, the adjustment direction of progress change information is forward play direction, and the changing value of progress value is 30 seconds, the playing progress rate of present multimedia be 1 point 20 seconds, so terminal regulate after multimedia playing progress rate be 1 point 50 seconds.
As the optional embodiment of another kind, if the adjustment direction of described playing progress rate is described forward play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is retreated and regulates, if the adjustment direction of described playing progress rate is described retrogressing play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is advanced and regulates.
Optionally, terminal, after the multimedia playing progress rate of adjustment, shows current playing progress rate, facilitates user to know the playing progress rate that the rear multimedia of adjustment is current.
Accordingly, the distance between described inductor and described sensor, outside the distance range preset, stops obtaining the distance variation information between described inductor and described sensor.Such as, user is after completing the multimedia playing progress rate of adjustment, and finger leaves the distance range preset between sensor, and now terminal stops obtaining the distance variation information between inductor and sensor, can alleviate working load and save power consumption.
The embodiment of the present invention is when play multimedia, obtain the distance variation information between inductor and sensor, and obtain progress change information corresponding to distance variation information, and regulate multimedia playing progress rate according to progress change information, can realize regulating multimedia playing progress rate by the mode of non-touch-control, have conveniently, degree of accuracy is high and controllability is strong advantage.
Fig. 3 is the schematic flow sheet of the control method of another playing progress rate in the embodiment of the present invention, and wherein, Fig. 3 is supplementing further that the embodiment mentioned at Fig. 1 or Fig. 2 is made, specifically comprises:
S301, obtains the movement locus of described inductor relative to described sensor.
As from the foregoing, described sensor can be infrared ray range sensor, if this infrared ray range sensor is the infrared emitting head of wide-angle, or comprise multiple infrared emitting head, then inductor all can be sensed by infrared ray range sensor in multiple directions, can realize obtaining the movement locus of inductor relative to sensor.
S302, by inquiring about default track data storehouse, determines the operational order that described movement locus is corresponding.
Described default track data storehouse can be set up in advance by developer or user, and it preserves operational order corresponding to various movement locus.Such as, the movement locus " moved relative to transducer transversely " may correspond to the operational order of " adjustment playback rate ".
S303, performs described operational order to described multimedia.
In the embodiment of the present invention, described operational order can be adjustment playback rate.Such as, described multimedia playback rate can be accelerated, or the described multimedia playback rate that slows down.And then the adjustment achieved multimedia playing progress rate.
Fig. 4 is the structural representation of a kind of terminal in the embodiment of the present invention.Terminal as shown in the figure in the embodiment of the present invention at least can comprise distance change acquiring unit 410, progress change acquiring unit 420 and playing progress rate regulon 430, wherein:
Distance change acquiring unit 410, for when carrying out multimedia, obtains the distance variation information between inductor and sensor.
As the optional embodiment of one, distance change is before acquiring unit 410 obtains the distance variation information between inductor and sensor, also will determine that distance between described inductor and described sensor is in the distance range preset.For the ease of understanding, illustratively, refer to Fig. 9, the distance that in figure, A indicates belongs in default distance range, and the distance that B indicates belongs to outside default distance range.Namely only have distance between inductor and sensor within the distance range preset, distance change acquiring unit 410 just can go to obtain the distance variation information between inductor and sensor.It is pointed out that default distance range can be set, as being set to 10 centimetres by developer or user.
In specific implementation process, distance change acquiring unit 410 can comprise distance value acquiring unit 411, distance change calculations unit 412, change direction determining unit 413 and first information generation unit 414 as shown in Figure 5 further, wherein:
Distance value acquiring unit 411, for obtaining the distance value between described inductor and described sensor.
Described inductor can be the finger of user, but is not limited to be finger, other any category that all can be belonged to inductor by the article of sensor sensing.Described sensor, for measuring the distance between itself and inductor, can be placed in terminal, also can be placed in exterior of terminal.Such as, suppose that terminal is smart mobile phone, sensor can be positioned at by the front-facing camera of smart mobile phone; Suppose that terminal is top box of digital machine, sensor can be positioned at by the button of telepilot.In brief, sensor is by terminal control.
Optionally, in embodiments of the present invention, described sensor can be infrared ray range sensor, its principle of work is: infrared emission head launches infrared ray, to reflect after infrared ray runs into shelter, infrared receiving terminal receives the infrared ray returned, and can calculate the distance between itself and shelter according to the time of infrared transmission.Wherein, above-mentioned shelter is the inductor in the embodiment of the present invention.
Distance change calculations unit 412, for calculating the changing value of described distance value within the time interval of presetting.
The described default time interval sets by debugging in advance.Such as, the time interval of presetting is 0.5 second, and the distance value between the inductor recorded at 0.5 second longitudinal separation value acquiring unit 411 and sensor is respectively 8 centimetres and 6 centimetres, is 2 centimetres by can be calculated the changing value of distance value.
Change direction determining unit 413, for determining change direction, described change direction comprises the direction of described inductor near described sensor, or described inductor is away from the direction of described sensor.
Optionally, determine that the method for change direction can be: compare the distance value that surrounding time point records, the distance value of a time point after if the distance value of previous time point is greater than, then show that change direction is the direction of inductor near sensor, otherwise, then show that change direction is the direction of inductor away from sensor.
First information generation unit 414, for obtaining described distance variation information, described distance variation information comprises the changing value of described distance value and described change direction.
Concrete, first information generation unit 414 generates distance variation information according to the changing value of the distance value calculated and the change direction determined.
Progress change acquiring unit 420, for according to the mapping relations preset, obtains the progress change information that described distance variation information is corresponding.In specific implementation process, progress change acquiring unit 420 can comprise progress change calculations unit 421 as shown in Figure 6 further, regulate direction-determining unit 422 and the second information generating unit 423, wherein:
Progress change calculations unit 421, for according to the mapping relations preset, calculates the changing value of playing progress rate corresponding to the changing value of described distance value.
Optionally, described default mapping relations can be the mapping algorithms of the changing value of distance value and the changing value of playing progress rate.Namely the changing value of distance value is variable, and the changing value of playing progress rate is dependent variable, if the value of known variables, can calculate the value of dependent variable according to mapping algorithm.Such as, suppose that the distance range preset is 10 centimetres, multimedia to be a duration the be video of 120 minutes, so change algorithm can be set as the changing value of the changing value=12* distance value of progress value, namely distance value often changes 1 centimetre (namely the changing value of distance value equals 1 centimetre), and playing progress rate changes 12 minutes (namely the changing value of playing progress rate equals 12 minutes).
Regulate direction-determining unit 422, for the corresponding relation that basis is preset, determine the adjustment direction of the playing progress rate that described change direction is corresponding, described adjustment direction comprises forward play direction, or retreats broadcasting direction.
Described default corresponding relation can be set by developer or user.As the optional embodiment of one, if change direction is the direction of inductor near sensor, then determining that the adjustment direction of playing progress rate is forward play direction, if change direction is the direction of inductor away from sensor, then determining that direction is play for retreating in the adjustment direction of playing progress rate.Certainly also can conversely, be not construed as limiting here.
Second information generating unit 423, for obtaining described progress change information, described progress change information comprises the changing value of described playing progress rate and the adjustment direction of described playing progress rate.
Concrete, the second information generating unit 423 generates progress change information according to the adjustment direction of the changing value of playing progress rate and playing progress rate.
Playing progress rate regulon 430, for according to described progress change information, regulates described multimedia playing progress rate.In specific implementation process, after adjusting unit 431 and progress before playing progress rate regulon 430 can comprise progress as shown in Figure 7 further, adjust unit 432, wherein:
Adjust unit 431 before progress, if be described forward play direction for the adjustment direction of described playing progress rate, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is advanced and regulates;
Adjust unit 432 after progress, if be that direction is play in described retrogressing for the adjustment direction of described playing progress rate, then based on the changing value of described playing progress rate value, described multimedia playing progress rate retreated and regulates.
Such as, the adjustment direction of progress change information is forward play direction, and the changing value of progress value is 30 seconds, the playing progress rate of present multimedia be 1 point 20 seconds, the multimedia playing progress rate after so adjusting unit 431 to regulate before progress be 1 point 50 seconds.
Adjust unit 432 after progress, if be that direction is play in described retrogressing for the adjustment direction of described playing progress rate, then based on the changing value of described playing progress rate value, play direction along described retrogressing and regulate described multimedia playing progress rate.
Such as, direction is play for retreating in the adjustment direction of progress change information, and the changing value of progress value is 30 seconds, the playing progress rate of present multimedia be 2 points 20 seconds, the multimedia playing progress rate after so adjusting unit 432 to regulate after progress be 1 point 50 seconds.
Or,
Adjust unit 431 before described progress, if be that direction is play in described retrogressing for the adjustment direction of described playing progress rate, then based on the changing value of described playing progress rate value, described multimedia playing progress rate advanced and regulates;
Adjust unit 432 after described progress, if be described forward play direction for the adjustment direction of described playing progress rate, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is retreated and regulates.
Further alternative, distance change acquiring unit 410, also for when the distance between described inductor and described sensor is outside the distance range preset, stops obtaining the distance variation information between described inductor and described sensor.
Such as, user is after completing the multimedia playing progress rate of adjustment, finger leaves the distance range preset between sensor, and now distance change acquiring unit 410 stops obtaining the distance variation information between inductor and sensor, can alleviate working load and save power consumption.
Optional again, refer to Fig. 4, the terminal as shown in the figure in the embodiment of the present invention also comprises threshold value determination unit 440, for determining that the changing value of described distance value in the described time interval presetting is greater than default change threshold.
Namely only have the changing value of distance value to be greater than default change threshold, first information generation unit 414 just can generate distance variation information.Object is the distance change avoiding erroneous judgement fine jitter to cause, and such as, inductor is the finger of user, even if finger stops moving also have fine jitter unavoidably.Wherein, the time interval of presetting also sets, as being set to 0.2 centimetre by debugging in advance.
Another optional, refer to Fig. 4, the terminal as shown in the figure in the embodiment of the present invention also comprises playing progress rate display unit 460, for showing current playing progress rate.
Namely playing progress rate display unit 460 is after the multimedia playing progress rate of adjustment, shows current playing progress rate, facilitates user to know the playing progress rate that the rear multimedia of adjustment is current.
Optionally, refer to Fig. 4, the terminal as shown in the figure in the embodiment of the present invention can also comprise track acquiring unit 460, instruction-determining unit 470 and instruction execution unit 480, wherein:
Track acquiring unit 460, for obtaining the movement locus of described inductor relative to described sensor.
As from the foregoing, described sensor can be infrared ray range sensor, if this infrared ray range sensor is the infrared emitting head of wide-angle, or comprise multiple infrared emitting head, then inductor all can be sensed by infrared ray range sensor in multiple directions, can realize obtaining the movement locus of inductor relative to sensor.
Instruction-determining unit 470, for the track data storehouse of being preset by inquiry, determines the operational order that described movement locus is corresponding.
Described default track data storehouse can be set up in advance by developer or user, and it preserves operational order corresponding to various movement locus.Such as, the movement locus " moved relative to transducer transversely " may correspond to the operational order of " adjustment playback rate ".
Instruction execution unit 480, for performing described operational order to described multimedia.
In the embodiment of the present invention, described operational order can be adjustment playback rate.Such as, described multimedia playback rate can be accelerated, or the described multimedia playback rate that slows down.And then the adjustment achieved multimedia playing progress rate.
The embodiment of the present invention, terminal is when play multimedia, obtain the distance variation information between inductor and sensor, and obtain progress change information corresponding to distance variation information, and regulate multimedia playing progress rate according to progress change information, can realize regulating multimedia playing progress rate by the mode of non-touch-control, have conveniently, degree of accuracy is high and controllability is strong advantage.
Fig. 8 is the structural representation of the another kind of terminal in the embodiment of the present invention, and as shown in Figure 8, this terminal can comprise: at least one processor 801, such as CPU, at least one user interface 803, storer 804, sensor 805, and at least one communication bus 802.Wherein, in the embodiment of the present invention, user interface 803 comprises input media and output unit, and input media can be keyboard or telepilot etc., output unit can be display screen etc., for with user interactions, in addition input media and output unit same device, such as touch-screen etc.Sensor 805 can be infrared ray range sensor, for measuring the distance between inductor.Communication bus 802 is for realizing the connection communication between these assemblies.Storer 804 can be high-speed RAM storer, also can be non-volatile storer (non-volatile memory), such as at least one magnetic disk memory.Optionally, storer 804 can also be that at least one is positioned at the memory storage away from aforementioned processor 801.Storing batch processing code in storer 804, by calling the program code stored in storer 804, following operation can be performed:
Processor 801 is when carrying out multimedia, and sensor 805 obtains the distance variation information between inductor;
Processor 801, according to the mapping relations preset, obtains the progress change information that described distance variation information is corresponding;
Processor 801, according to described progress change information, regulates described multimedia playing progress rate.
Optionally, before sensor 805 obtains the distance variation information between inductor, processor 801 also will perform:
Determine that distance between described inductor and described sensor 805 is in the distance range preset.
Optionally, sensor 805 obtains the concrete operations of the distance variation information between inductor and is:
Obtain the distance value between described inductor and described sensor;
Calculate the changing value of described distance value within the time interval of presetting;
Determine change direction, described change direction comprises the direction of described inductor near described sensor, or described inductor is away from the direction of described sensor;
Obtain described distance variation information, described distance variation information comprises the changing value of described distance value and described change direction.
Correspondingly, processor 801 is according to the mapping relations preset, and the concrete operations obtaining progress change information corresponding to described distance variation information are:
According to the mapping relations preset, calculate the changing value of playing progress rate corresponding to the changing value of described distance value;
According to the corresponding relation preset, determine the adjustment direction of the playing progress rate that described change direction is corresponding, described adjustment direction comprises forward play direction, or retreats broadcasting direction;
Obtain described progress change information, described progress change information comprises the changing value of described playing progress rate and the adjustment direction of described playing progress rate.
Further alternative, described default mapping relations comprise the mapping algorithm of the changing value of described distance value and the changing value of described playing progress rate.
Correspondingly, processor 801, according to described progress change information, regulates the concrete operations of described multimedia playing progress rate to be:
If the adjustment direction of described playing progress rate is described forward play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is advanced and regulates, if the adjustment direction of described playing progress rate is described retrogressing play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is retreated and regulates;
Or, if the adjustment direction of described playing progress rate is described forward play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is retreated and regulates, if the adjustment direction of described playing progress rate is described retrogressing play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is advanced and regulates.
Optionally, before sensor 805 obtains described distance variation information, processor 801 also performs:
Determine that the changing value of described distance value in the described time interval presetting is greater than default change threshold.
Another optional, processor 801 is according to described progress change information, and after regulating described multimedia playing progress rate, user interface 803 performs:
Show current playing progress rate.
Optional again, sensor 805 also performs and obtains the movement locus of described inductor relative to described sensor; The track data storehouse that processor 801 is preset by inquiry, determines the operational order that described movement locus is corresponding; Processor 801 performs described operational order to described multimedia.
Further alternative, the concrete operations that processor 801 performs described multimedia performs described operational order are:
Accelerate described multimedia playback rate, or the described multimedia playback rate that slows down.
Concrete, the terminal introduced in the present embodiment can in order to implement the part or all of step in the control method of the playing progress rate described by embodiment of the present invention composition graphs 1 ~ Fig. 3.
The embodiment of the present invention is when play multimedia, obtain the distance variation information between inductor and sensor, and obtain progress change information corresponding to distance variation information, and regulate multimedia playing progress rate according to progress change information, can realize regulating multimedia playing progress rate by the mode of non-touch-control, have conveniently, degree of accuracy is high and controllability is strong advantage.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention device can carry out merging, divide and deleting according to actual needs.
Unit described in the embodiment of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, special IC).
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a control method for playing progress rate, is characterized in that, described method comprises:
When carrying out multimedia, obtain the distance variation information between inductor and sensor;
According to the mapping relations preset, obtain the progress change information that described distance variation information is corresponding;
According to described progress change information, regulate described multimedia playing progress rate.
2. the method for claim 1, is characterized in that, before the distance variation information between described acquisition inductor and sensor, also comprises:
Determine that distance between described inductor and described sensor is in the distance range preset.
3. the method for claim 1, is characterized in that, the distance variation information between described acquisition inductor and sensor, comprising:
Obtain the distance value between described inductor and described sensor;
Calculate the changing value of described distance value within the time interval of presetting;
Determine change direction, described change direction comprises the direction of described inductor near described sensor, or described inductor is away from the direction of described sensor;
Obtain described distance variation information, described distance variation information comprises the changing value of described distance value and described change direction.
4. method as claimed in claim 3, is characterized in that, before the described distance variation information of described acquisition, also comprise:
Determine that the changing value of described distance value is greater than default change threshold.
5. method as claimed in claim 3, is characterized in that, the mapping relations that described basis is preset obtain the progress change information that described distance variation information is corresponding, comprising:
According to the mapping relations preset, calculate the changing value of playing progress rate corresponding to the changing value of described distance value;
According to the corresponding relation preset, determine the adjustment direction of the playing progress rate that described change direction is corresponding, described adjustment direction comprises forward play direction, or retreats broadcasting direction;
Obtain described progress change information, described progress change information comprises the changing value of described playing progress rate and the adjustment direction of described playing progress rate.
6. method as claimed in claim 5, is characterized in that, described according to described progress change information, regulates described multimedia playing progress rate, comprising:
If the adjustment direction of described playing progress rate is described forward play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is advanced and regulates, if the adjustment direction of described playing progress rate is described retrogressing play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is retreated and regulates;
Or, if the adjustment direction of described playing progress rate is described forward play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is retreated and regulates, if the adjustment direction of described playing progress rate is described retrogressing play direction, then based on the changing value of described playing progress rate value, described multimedia playing progress rate is advanced and regulates.
7. the method for claim 1, is characterized in that, described method also comprises:
Obtain the movement locus of described inductor relative to described sensor;
By inquiring about default track data storehouse, determine the operational order that described movement locus is corresponding;
Described operational order is performed to described multimedia.
8. method as claimed in claim 7, it is characterized in that, described operational order comprises adjustment playback rate;
Described described operational order is performed to described multimedia, comprising:
Accelerate described multimedia playback rate, or the described multimedia playback rate that slows down.
9. the method for claim 1, is characterized in that, described according to described progress change information, after regulating described multimedia playing progress rate, also comprises:
Show current playing progress rate.
10. the method as described in any one of claim 1-9, is characterized in that, described sensor comprises infrared ray range sensor.
CN201410759162.3A 2014-12-11 2014-12-11 Method for regulating playing progress Pending CN104575552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410759162.3A CN104575552A (en) 2014-12-11 2014-12-11 Method for regulating playing progress

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410759162.3A CN104575552A (en) 2014-12-11 2014-12-11 Method for regulating playing progress

Publications (1)

Publication Number Publication Date
CN104575552A true CN104575552A (en) 2015-04-29

Family

ID=53091442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410759162.3A Pending CN104575552A (en) 2014-12-11 2014-12-11 Method for regulating playing progress

Country Status (1)

Country Link
CN (1) CN104575552A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018233537A1 (en) * 2017-06-22 2018-12-27 腾讯科技(深圳)有限公司 Method and apparatus for dynamically displaying interface content, and device thereof

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271678A (en) * 2008-04-30 2008-09-24 深圳华为通信技术有限公司 Screen font zooming method and terminal unit
CN101325076A (en) * 2008-07-28 2008-12-17 宇龙计算机通信科技(深圳)有限公司 Portable equipment and medium play method thereof
CN101969509A (en) * 2010-11-02 2011-02-09 华为终端有限公司 Method for automatically adjusting call volume and communication terminal
CN103257825A (en) * 2013-04-28 2013-08-21 北京小米科技有限责任公司 Method and device for adjusting playing speed
CN103491230A (en) * 2013-09-04 2014-01-01 三星半导体(中国)研究开发有限公司 Mobile terminal capable of automatically adjusting volume and fonts and automatic adjusting method thereof
CN103677581A (en) * 2012-09-19 2014-03-26 上海斐讯数据通信技术有限公司 Mobile terminal and method for automatically controlling terminal display
CN103778926A (en) * 2012-10-22 2014-05-07 深圳市快播科技有限公司 Method and system for controlling multimedia play progress
CN103902173A (en) * 2012-12-26 2014-07-02 联想(北京)有限公司 Portable terminal and information processing method and displaying processing method of portable terminal
CN103927107A (en) * 2013-01-14 2014-07-16 联想(北京)有限公司 Information processing method and electronic device
CN104156162A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Broadcast progress adjusting method, device and terminal
CN104156165A (en) * 2014-06-16 2014-11-19 乐视致新电子科技(天津)有限公司 Method and device for adjusting playing pace of video
CN104199612A (en) * 2014-08-29 2014-12-10 乐视网信息技术(北京)股份有限公司 Playing progress adjustment method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101271678A (en) * 2008-04-30 2008-09-24 深圳华为通信技术有限公司 Screen font zooming method and terminal unit
CN101325076A (en) * 2008-07-28 2008-12-17 宇龙计算机通信科技(深圳)有限公司 Portable equipment and medium play method thereof
CN101969509A (en) * 2010-11-02 2011-02-09 华为终端有限公司 Method for automatically adjusting call volume and communication terminal
CN103677581A (en) * 2012-09-19 2014-03-26 上海斐讯数据通信技术有限公司 Mobile terminal and method for automatically controlling terminal display
CN103778926A (en) * 2012-10-22 2014-05-07 深圳市快播科技有限公司 Method and system for controlling multimedia play progress
CN103902173A (en) * 2012-12-26 2014-07-02 联想(北京)有限公司 Portable terminal and information processing method and displaying processing method of portable terminal
CN103927107A (en) * 2013-01-14 2014-07-16 联想(北京)有限公司 Information processing method and electronic device
CN103257825A (en) * 2013-04-28 2013-08-21 北京小米科技有限责任公司 Method and device for adjusting playing speed
CN104156162A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Broadcast progress adjusting method, device and terminal
CN103491230A (en) * 2013-09-04 2014-01-01 三星半导体(中国)研究开发有限公司 Mobile terminal capable of automatically adjusting volume and fonts and automatic adjusting method thereof
CN104156165A (en) * 2014-06-16 2014-11-19 乐视致新电子科技(天津)有限公司 Method and device for adjusting playing pace of video
CN104199612A (en) * 2014-08-29 2014-12-10 乐视网信息技术(北京)股份有限公司 Playing progress adjustment method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018233537A1 (en) * 2017-06-22 2018-12-27 腾讯科技(深圳)有限公司 Method and apparatus for dynamically displaying interface content, and device thereof
US11209915B2 (en) 2017-06-22 2021-12-28 Tencent Technology (Shenzhen) Company Limited Method and apparatus for performing display of content according to detected moving track

Similar Documents

Publication Publication Date Title
CN104007932B (en) A kind of touch point recognition methods and device
JP5481581B2 (en) Touch detection method and touch control device
EP2618249B1 (en) Apparatus and method for multimedia content interface in image display device
US9354797B2 (en) Progress adjustment method and electronic device
KR102141155B1 (en) Mobile apparatus providing with changed-shortcut icon responding to status of mobile apparatus and control method thereof
CN103927107A (en) Information processing method and electronic device
CN106873869A (en) A kind of control method and device of music
CN104866188A (en) Display interface adjusting method
CN104575554A (en) Control method and terminal for broadcasting progress of multimedia data
CN105677226B (en) A kind of operating method and mobile terminal to application program
WO2016106750A1 (en) Method for controlling playing progress of multimedia file and terminal
CN105094616A (en) Touch screen control method and device
CN104423533A (en) Processor frequency control method and electronic equipment
WO2020232738A1 (en) Haptic feedback method, electronic device and storage medium
KR102186815B1 (en) Method, apparatus and recovering medium for clipping of contents
CN105094465A (en) Environmental light measurement method and device
EP2642378A1 (en) Method and apparatus for detecting touch
CN108376030B (en) Electronic equipment control method and device and electronic equipment
KR102118091B1 (en) Mobile apparatus having fuction of pre-action on object and control method thereof
CN104750412A (en) Method for controlling display interfaces
US20150324025A1 (en) User input device and method thereof
CN104575552A (en) Method for regulating playing progress
CN104156344A (en) Text editing method and text editing device
CN104750356A (en) Mobile terminal
CN104750401A (en) Touch method and related device as well as terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20190507