CN104571885B - A kind of terminal - Google Patents

A kind of terminal Download PDF

Info

Publication number
CN104571885B
CN104571885B CN201410758325.6A CN201410758325A CN104571885B CN 104571885 B CN104571885 B CN 104571885B CN 201410758325 A CN201410758325 A CN 201410758325A CN 104571885 B CN104571885 B CN 104571885B
Authority
CN
China
Prior art keywords
progress
distance
value
playback progress
unit
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.)
Active
Application number
CN201410758325.6A
Other languages
Chinese (zh)
Other versions
CN104571885A (en
Inventor
阮班茂
陈东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings 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 CN201410758325.6A priority Critical patent/CN104571885B/en
Publication of CN104571885A publication Critical patent/CN104571885A/en
Application granted granted Critical
Publication of CN104571885B publication Critical patent/CN104571885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention discloses a kind of terminals, comprising: distance change acquiring unit, for obtaining the distance between inductor and sensor change information when carrying out multimedia;Progress changes acquiring unit, for obtaining the corresponding progress change information of the distance variation information according to preset mapping relations;Playback progress adjusts unit, for adjusting the multimedia playback progress according to the progress change information.It using the embodiment of the present invention, may be implemented to adjust multimedia playback progress, have the advantages that convenient, accuracy is high and controllability is strong.

Description

A kind of terminal
Technical field
The present invention relates to multimedia control technique field more particularly to a kind of terminals.
Background technique
With the continuous development of electronic technology, such as the terminal of smart phone or tablet computer etc. is more more and more universal.Due to It has flexible convenient and fast advantage, is used by the user to play multimedia (such as video, audio or e-book) extensively.It is more playing Media, user need to pull progress bar to control multimedia playback progress, but the contact due to finger with touch screen by finger Area is larger, is not easy to touch progress bar, or is not easy accurately to pull progress bar to desired time point, results in the need for repeatedly adjusting Section, affects the usage experience of user.
Summary of the invention
The embodiment of the present invention provides a kind of terminal, may be implemented to adjust multimedia playback progress.
The embodiment of the invention also provides a kind of terminals, comprising:
Distance change acquiring unit, for obtaining the distance between inductor and sensor when carrying out multimedia Change information;
Progress changes acquiring unit, for according to preset mapping relations, obtain the distance variation information it is corresponding into Spend change information;
Playback progress adjusts unit, for adjusting the multimedia playback progress according to the progress change information.
Terminal provided in an embodiment of the present invention obtains the distance between inductor and sensor and becomes when playing multimedia Change information, and obtain the corresponding progress change information of distance variation information, and is multimedia according to the adjusting of progress change information Playback progress may be implemented to adjust multimedia playback progress.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field For those of ordinary skill, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the adjusting method of playback progress provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the adjusting method of another playback progress provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the adjusting method of another playback progress provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of distance change acquiring unit provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of progress variation acquiring unit provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram that a kind of playback progress provided in an embodiment of the present invention adjusts unit;
Fig. 8 is the structural schematic diagram of another terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of adjusting schematic diagram of playback progress provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Terminal provided in an embodiment of the present invention, may include smart phone, tablet computer, laptop, desktop computer, Top box of digital machine, digital audio & video players, electronic reader, handheld game machine and vehicle electronic device etc..
Fig. 1 is a kind of flow diagram of the adjusting method of playback progress in the embodiment of the present invention.This implementation as shown in the figure The process of adjusting method of playback progress in example may include:
S101 obtains the distance between inductor and sensor change information when carrying out multimedia.
The multimedia can be video, music, e-book or electronic picture album etc..
The inductor can be the finger of user, but be not limited to finger, it is other it is any can be by the object of sensor sensing Product belong to the scope of inductor.The sensor is used to measure the distance between itself and inductor, can be placed in terminal, can also To be placed in exterior of terminal.For example, it is assumed that terminal is smart phone, sensor can be located at by the front camera of smart phone;It is false If terminal is top box of digital machine, sensor can be located at by the key of remote controler.In brief, sensor is by terminal control.
Optionally, in embodiments of the present invention, the sensor can be infrared ray range sensor, working principle Are as follows: infrared emission head emits infrared ray, will reflect back into and after infrared ray encounters shelter, and infrared receiving terminal receives return Infrared ray can calculate the distance between itself and shelter according to the time of infrared transmission.Wherein, above-mentioned shelter is the present invention Inductor in embodiment.
As an alternative embodiment, before terminal obtains the distance between inductor and sensor change information, The distance between the inductor and the sensor is also predefined in preset distance range.In order to make it easy to understand, example Ground, referring to Fig. 9, the distance that A is indicated in figure belongs in preset distance range, the distance that B is indicated belong to it is preset away from Outside from range.Only have the distance between inductor and sensor within preset distance range, terminal, which can just go to obtain, to be felt Answer the distance between object and sensor change information.It should be pointed out that preset distance range can be by developer or user Setting, is such as set as 10 centimetres.
Specifically, the method that terminal obtains the distance between inductor and sensor change information can pass through following steps To realize:
Step 1, the distance between the inductor and the sensor value are obtained.
Step 2, the changing value of the distance value in preset time interval is calculated.
The preset time interval can be set by preparatory debugging.For example, preset time interval is 0.5 Second, value is respectively 8 centimetres and 6 centimetres at a distance from the inductor that 0.5 second front and back terminal measures is between sensor, passes through calculating The changing value that distance value can be obtained is 2 centimetres.
Step 3, determine that change direction, the change direction include the inductor close to the direction of the sensor, or Direction of the inductor far from the sensor.
Optionally, the method for determining change direction, which may is that, compares the distance value that surrounding time point measures, if the previous time The distance value of point is greater than the distance value of latter time point, then shows that change direction is inductor close to the direction of sensor, conversely, Then show that change direction is direction of the inductor far from sensor.
Step 4, the distance variation information is obtained, the distance variation information includes changing value and the institute of the distance value State change direction.
During specific implementation, terminal generates distance according to the changing value and determining change direction of calculated distance value Change information.
Another optional, the distance value in preset time interval is also predefined before generating distance variation information in terminal Changing value be greater than default change threshold.Only have the changing value of distance value to be greater than default change threshold, terminal can just generate away from From change information.Purpose is distance change caused by avoiding erroneous judgement fine jitter, for example, inductor is the finger of user, i.e., So that finger is stopped movement also inevitably fine jitter.Wherein, preset time interval can also be set by debugging in advance, such as It is set as 0.2 centimetre.
S102 obtains the corresponding progress change information of the distance variation information according to preset mapping relations.
For terminal according to preset mapping relations, the method for obtaining the corresponding progress change information of the distance variation information can To be realized by following steps:
Step 1, according to preset mapping relations, the variation of the corresponding playback progress of changing value of the distance value is calculated Value.
Optionally, the preset mapping relations can be the transformation of the changing value of distance value and the changing value of playback progress Algorithm.I.e. the changing value of distance value is variable, and the changing value of playback progress is that dependent variable can be according to change if the value of known variables Scaling method calculates the value of dependent variable.For example, it is assumed that preset distance range is 10 centimetres, a length of 120 when multimedia is one The video of minute, then change algorithm may be set to changing value=12* distance value changing value of progress value, the i.e. every change of distance value Change 1 centimetre (i.e. the changing value of distance value is equal to 1 centimetre), (i.e. the changing value of playback progress is equal within 12 minutes for playback progress variation 12 minutes).
Step 2, according to preset corresponding relationship, the adjusting direction of the corresponding playback progress of the change direction, institute are determined Stating and adjusting direction includes forward play direction, or retreats and play direction.
The preset corresponding relationship can be set by developer or user.As an alternative embodiment, if becoming Changing direction is inductor close to the direction of sensor, it is determined that the adjusting direction of playback progress is forward play direction, if variation Direction is direction of the inductor far from sensor, it is determined that the adjusting direction of playback progress is to retreat to play direction.It certainly can also In turn, it is not construed as limiting here.
Step 3, obtain the progress change information, the progress change information include the playback progress changing value and The adjusting direction of the playback progress.
During specific implementation, terminal generates progress according to the changing value of playback progress and the adjusting direction of playback progress and becomes Change information.
S103 adjusts the multimedia playback progress according to the progress change information.
As an alternative embodiment, if the adjusting direction of the playback progress is the forward play direction, Based on the changing value of the playback progress value, the multimedia playback progress is advanced and is adjusted, if the tune of the playback progress Saving direction is that the retrogressing plays direction, the then changing value based on the playback progress value, by the multimedia playback progress It retreats and adjusts.
For example, the adjusting direction of progress change information is forward play direction, the changing value of progress value is 30 seconds, current more The playback progress of media be 1 point 20 seconds, then terminal adjust after multimedia playback progress be 1 point 50 seconds.
As another optional embodiment, if the adjusting direction of the playback progress is the forward play direction, The multimedia playback progress is retreated and is adjusted by the changing value then based on the playback progress value, if the playback progress Adjust direction be retrogressings broadcasting direction, then the changing value based on the playback progress value, by it is described it is multimedia play into Degree, which advances, to be adjusted.
Optionally, terminal shows current playback progress, user is facilitated to know after adjusting multimedia playback progress The current playback progress of multimedia after adjusting.
Correspondingly, stopping obtaining when the distance between the inductor and the sensor are outside preset distance range The distance between the inductor and the sensor change information.For example, user completes to adjust multimedia playback progress Afterwards, finger leaves the preset distance range between sensor, and terminal stops obtaining between inductor and sensor at this time Distance variation information can reduce workload and save power consumption.
The embodiment of the present invention obtains the distance between inductor and sensor change information when playing multimedia, and The corresponding progress change information of distance variation information is obtained, and multimedia playback progress is adjusted according to progress change information, it can Multimedia playback progress is adjusted in a manner of realizing through non-touch-control, has the advantages that convenient, accuracy is high and controllability is strong.
Fig. 2 is the flow diagram of the adjusting method of another playback progress in the embodiment of the present invention, may include:
S201 determines the distance between the inductor and the sensor in preset distance range.
The inductor can be the finger of user, but be not limited to finger, it is other it is any can be by the object of sensor sensing Product belong to the scope of inductor.The sensor is used to measure the distance between itself and inductor, can be placed in terminal, can also To be placed in exterior of terminal.For example, it is assumed that terminal is smart phone, sensor can be located at by the front camera of smart phone;It is false If terminal is top box of digital machine, sensor can be located at by the key of remote controler.In brief, sensor is by terminal control.
Optionally, in embodiments of the present invention, the sensor can be infrared ray range sensor, working principle Are as follows: infrared emission head emits infrared ray, will reflect back into and after infrared ray encounters shelter, and infrared receiving terminal receives return Infrared ray can calculate the distance between itself and shelter according to the time of infrared transmission.Wherein, above-mentioned shelter is the present invention Inductor in embodiment.
In order to make it easy to understand, illustratively, referring to Fig. 9, the distance that A is indicated in figure belongs in preset distance range, B The distance indicated belongs to outside preset distance range.Only have the distance between inductor and sensor preset apart from model Within enclosing, terminal can just go to obtain the distance between inductor and sensor change information.It is pointed out that preset distance Range can be set by developer or user, such as be set as 10 centimetres.
S202 obtains the distance between the inductor and the sensor value.
S203 calculates the changing value of the distance value in preset time interval.
The preset time interval can be set by preparatory debugging.For example, preset time interval is 0.5 Second, value is respectively 8 centimetres and 6 centimetres at a distance from the inductor that 0.5 second front and back terminal measures is between sensor, passes through calculating The changing value that distance value can be obtained is 2 centimetres.
S204 determines that change direction, the change direction include the inductor close to the direction of the sensor or institute State direction of the inductor far from the sensor.
Optionally, the method for determining change direction, which may is that, compares the distance value that surrounding time point measures, if the previous time The distance value of point is greater than the distance value of latter time point, then shows that change direction is inductor close to the direction of sensor, conversely, Then show that change direction is direction of the inductor far from sensor.
S205, obtains the distance variation information, and the distance variation information includes changing value and the institute of the distance value State change direction.
Believe specifically, terminal generates distance change according to the changing value and determining change direction of calculated distance value Breath.
Another optional, the distance value in preset time interval is also predefined before generating distance variation information in terminal Changing value be greater than default change threshold.Only have the changing value of distance value to be greater than default change threshold, terminal can just generate away from From change information.Purpose is distance change caused by avoiding erroneous judgement fine jitter, for example, inductor is the finger of user, i.e., So that finger is stopped movement also inevitably fine jitter.Wherein, preset time interval can also be set by debugging in advance, such as It is set as 0.2 centimetre.
S206 calculates the variation of the corresponding playback progress of changing value of the distance value according to preset mapping relations Value.
Optionally, the preset mapping relations can be the transformation of the changing value of distance value and the changing value of playback progress Algorithm.I.e. the changing value of distance value is variable, and the changing value of playback progress is that dependent variable can be according to change if the value of known variables Scaling method calculates the value of dependent variable.For example, it is assumed that preset distance range is 10 centimetres, a length of 120 when multimedia is one The video of minute, then change algorithm may be set to changing value=12* distance value changing value of progress value, the i.e. every change of distance value Change 1 centimetre (i.e. the changing value of distance value is equal to 1 centimetre), (i.e. the changing value of playback progress is equal within 12 minutes for playback progress variation 12 minutes).
S207 determines the adjusting direction of the corresponding playback progress of the change direction according to preset corresponding relationship, described Adjusting direction includes forward play direction, or retreats and play direction.
The preset corresponding relationship can be set by developer or user.As an alternative embodiment, if becoming Changing direction is inductor close to the direction of sensor, it is determined that the adjusting direction of playback progress is forward play direction, if variation Direction is direction of the inductor far from sensor, it is determined that the adjusting direction of playback progress is to retreat to play direction.It certainly can also In turn, it is not construed as limiting here.
S208, obtains the progress change information, the progress change information include the playback progress changing value and The adjusting direction of the playback progress.
Specifically, terminal generates progress change information according to the changing value of playback progress and the adjusting direction of playback progress.
S209 adjusts the multimedia playback progress according to the progress change information.
As an alternative embodiment, if the adjusting direction of the playback progress is the forward play direction, Based on the changing value of the playback progress value, the multimedia playback progress is advanced and is adjusted, if the tune of the playback progress Saving direction is that the retrogressing plays direction, the then changing value based on the playback progress value, by the multimedia playback progress It retreats and adjusts.
For example, the adjusting direction of progress change information is forward play direction, the changing value of progress value is 30 seconds, current more The playback progress of media be 1 point 20 seconds, then terminal adjust after multimedia playback progress be 1 point 50 seconds.
As another optional embodiment, if the adjusting direction of the playback progress is the forward play direction, The multimedia playback progress is retreated and is adjusted by the changing value then based on the playback progress value, if the playback progress Adjust direction be retrogressings broadcasting direction, then the changing value based on the playback progress value, by it is described it is multimedia play into Degree, which advances, to be adjusted.
Optionally, terminal shows current playback progress, user is facilitated to know after adjusting multimedia playback progress The current playback progress of multimedia after adjusting.
Correspondingly, stopping obtaining when the distance between the inductor and the sensor are outside preset distance range The distance between the inductor and the sensor change information.For example, user completes to adjust multimedia playback progress Afterwards, finger leaves the preset distance range between sensor, and terminal stops obtaining between inductor and sensor at this time Distance variation information can reduce workload and save power consumption.
The embodiment of the present invention obtains the distance between inductor and sensor change information when playing multimedia, and The corresponding progress change information of distance variation information is obtained, and multimedia playback progress is adjusted according to progress change information, it can Multimedia playback progress is adjusted in a manner of realizing through non-touch-control, has the advantages that convenient, accuracy is high and controllability is strong.
Fig. 3 is the flow diagram of the adjusting method of another playback progress in the embodiment of the present invention, wherein Fig. 3 be The further supplement made in the embodiment that Fig. 1 or Fig. 2 are referred to, specifically includes:
S301 obtains motion profile of the inductor relative to the sensor.
From the foregoing, it will be observed that the sensor can be infrared ray range sensor, if the infrared ray range sensor is wide-angle Infrared ray emitting head, or including multiple infrared ray emitting heads, then inductor multiple directions can be by infrared ray Distance-sensing Device senses, the motion profile for obtaining inductor relative to sensor can be realized.
S302 determines the corresponding operational order of the motion profile by inquiring preset track database.
The preset track database can be pre-established by developer or user, preserve various motion profiles pair The operational order answered.For example, the motion profile of " mobile relative to transducer transversely " can correspond to the operation of " adjusting playback rate " Instruction.
S303 executes the operational order to the multimedia.
In the embodiment of the present invention, the operational order can be adjusting playback rate.For example, described multimedia broadcast can be accelerated Rate is put, or slows down the multimedia playback rate.The adjusting to multimedia playback progress is realized in turn.
Fig. 4 is a kind of structural schematic diagram of terminal in the embodiment of the present invention.Terminal in the embodiment of the present invention as shown in the figure It at least may include that distance change acquiring unit 410, progress variation acquiring unit 420 and playback progress adjust unit 430, In:
Distance change acquiring unit 410, for when carrying out multimedia, between acquisition inductor and sensor away from From change information.
As an alternative embodiment, distance change acquiring unit 410 obtain between inductor and sensor away from Before change information, the distance between the inductor and the sensor is also predefined in preset distance range.For Be easy to understand, illustratively, referring to Fig. 9, the distance that A is indicated in figure belongs in preset distance range, B indicated away from From belonging to outside preset distance range.Only have the distance between inductor and sensor within preset distance range, away from It can just go to obtain the distance between inductor and sensor change information from variation acquiring unit 410.It should be pointed out that default Distance range can be set by developer or user, such as be set as 10 centimetres.
During specific implementation, distance change acquiring unit 410 can further comprise that distance value obtains list as shown in Figure 5 Member 411, distance change computing unit 412, change direction determination unit 413 and first information generation unit 414, in which:
Distance value acquiring unit 411, for obtaining the distance between the inductor and the sensor value.
The inductor can be the finger of user, but be not limited to finger, it is other it is any can be by the object of sensor sensing Product belong to the scope of inductor.The sensor is used to measure the distance between itself and inductor, can be placed in terminal, can also To be placed in exterior of terminal.For example, it is assumed that terminal is smart phone, sensor can be located at by the front camera of smart phone;It is false If terminal is top box of digital machine, sensor can be located at by the key of remote controler.In brief, sensor is by terminal control.
Optionally, in embodiments of the present invention, the sensor can be infrared ray range sensor, working principle Are as follows: infrared emission head emits infrared ray, will reflect back into and after infrared ray encounters shelter, and infrared receiving terminal receives return Infrared ray can calculate the distance between itself and shelter according to the time of infrared transmission.Wherein, above-mentioned shelter is the present invention Inductor in embodiment.
Distance change computing unit 412, for calculating the changing value of the distance value in preset time interval.
The preset time interval can be set by preparatory debugging.For example, preset time interval is 0.5 Second, value is respectively 8 centimetres and 6 at a distance from the inductor that 0.5 second longitudinal separation value acquiring unit 411 measures is between sensor Centimetre, the changing value by can be calculated distance value is 2 centimetres.
Change direction determination unit 413, for determining that change direction, the change direction include the inductor close to institute State the direction of direction or the inductor far from the sensor of sensor.
Optionally, the method for determining change direction, which may is that, compares the distance value that surrounding time point measures, if the previous time The distance value of point is greater than the distance value of latter time point, then shows that change direction is inductor close to the direction of sensor, conversely, Then show that change direction is direction of the inductor far from sensor.
First information generation unit 414, for obtaining the distance variation information, the distance variation information includes described The changing value of distance value and the change direction.
Specifically, changing value and determining change direction of the first information generation unit 414 according to calculated distance value Generate distance variation information.
Progress changes acquiring unit 420, for it is corresponding to obtain the distance variation information according to preset mapping relations Progress change information.During specific implementation, progress variation acquiring unit 420 can further comprise that progress becomes as shown in Figure 6 Change computing unit 421, adjust direction-determining unit 422 and the second information generating unit 423, in which:
Progress changes computing unit 421, for calculating the changing value pair of the distance value according to preset mapping relations The changing value for the playback progress answered.
Optionally, the preset mapping relations can be the transformation of the changing value of distance value and the changing value of playback progress Algorithm.I.e. the changing value of distance value is variable, and the changing value of playback progress is that dependent variable can be according to change if the value of known variables Scaling method calculates the value of dependent variable.For example, it is assumed that preset distance range is 10 centimetres, a length of 120 when multimedia is one The video of minute, then change algorithm may be set to changing value=12* distance value changing value of progress value, the i.e. every change of distance value Change 1 centimetre (i.e. the changing value of distance value is equal to 1 centimetre), (i.e. the changing value of playback progress is equal within 12 minutes for playback progress variation 12 minutes).
Direction-determining unit 422 is adjusted, for determining the corresponding broadcasting of the change direction according to preset corresponding relationship The adjusting direction of progress, the adjusting direction includes forward play direction, or retreats and play direction.
The preset corresponding relationship can be set by developer or user.As an alternative embodiment, if becoming Changing direction is inductor close to the direction of sensor, it is determined that the adjusting direction of playback progress is forward play direction, if variation Direction is direction of the inductor far from sensor, it is determined that the adjusting direction of playback progress is to retreat to play direction.It certainly can also In turn, it is not construed as limiting here.
Second information generating unit 423, for obtaining the progress change information, the progress change information includes described The adjusting direction of the changing value of playback progress and the playback progress.
Specifically, the second information generating unit 423 is raw according to the changing value of playback progress and the adjusting direction of playback progress At progress change information.
Playback progress adjusts unit 430, for according to the progress change information, adjust it is described it is multimedia play into Degree.During specific implementation, it can further comprise tune 431 He of unit before progress that playback progress adjusts unit 430 as shown in Figure 7 Unit 432 is adjusted after progress, in which:
Unit 431 is adjusted before progress, if the adjusting direction for the playback progress is the forward play direction, is based on The multimedia playback progress is advanced and is adjusted by the changing value of the playback progress value;
Unit 432 is adjusted after progress, if the adjusting direction for the playback progress is that the retrogressing plays direction, is based on The multimedia playback progress is retreated and is adjusted by the changing value of the playback progress value.
For example, the adjusting direction of progress change information is forward play direction, the changing value of progress value is 30 seconds, current more The playback progress of media be 1 point 20 seconds, then before progress adjust unit 431 adjust after multimedia playback progress be 1 point 50 seconds.
Unit 432 is adjusted after progress, if the adjusting direction for the playback progress is that the retrogressing plays direction, is based on The changing value of the playback progress value plays direction along the retrogressing and adjusts the multimedia playback progress.
For example, the adjusting direction of progress change information is to retreat to play direction, the changing value of progress value is 30 seconds, current more The playback progress of media be 2 points 20 seconds, then after progress adjust unit 432 adjust after multimedia playback progress be 1 point 50 seconds.
Or,
Unit 431 is adjusted before the progress, if the adjusting direction for the playback progress is that the retrogressing plays direction, Based on the changing value of the playback progress value, the multimedia playback progress is advanced and is adjusted;
Unit 432 is adjusted after the progress, if the adjusting direction for the playback progress is the forward play direction, Based on the changing value of the playback progress value, the multimedia playback progress is retreated and is adjusted.
Further alternative, distance change acquiring unit 410 is also used between the inductor and the sensor Distance stops obtaining the distance between the inductor and the sensor change information outside preset distance range.
For example, user is after completing to adjust multimedia playback progress, finger leave between sensor it is preset away from From range, distance change acquiring unit 410 stops obtaining the distance between inductor and sensor change information at this time, can reduce Workload and saving power consumption.
It is again optional, referring to Fig. 4, the terminal in the embodiment of the present invention further includes threshold value determination unit 440 as shown in the figure, For determining that the changing value of the distance value described in preset time interval is greater than default change threshold.
Only have the changing value of distance value to be greater than default change threshold, first information generation unit 414 can just generate distance Change information.Purpose is distance change caused by avoiding erroneous judgement fine jitter, for example, inductor is the finger of user, even if Finger, which stops movement, also inevitably fine jitter.Wherein, preset time interval can also be set by debugging in advance, such as be set It is 0.2 centimetre.
It is another optional, referring to Fig. 4, the terminal in the embodiment of the present invention further includes playback progress display unit as shown in the figure 460, for showing current playback progress.
I.e. playback progress display unit 460 shows current playback progress after adjusting multimedia playback progress, side Just user is known adjust after the current playback progress of multimedia.
Optionally, referring to Fig. 4, the terminal in the embodiment of the present invention can also include track acquiring unit as shown in the figure 460, instruction-determining unit 470 and instruction execution unit 480, in which:
Track acquiring unit 460, for obtaining motion profile of the inductor relative to the sensor.
From the foregoing, it will be observed that the sensor can be infrared ray range sensor, if the infrared ray range sensor is wide-angle Infrared ray emitting head, or including multiple infrared ray emitting heads, then inductor multiple directions can be by infrared ray Distance-sensing Device senses, the motion profile for obtaining inductor relative to sensor can be realized.
Instruction-determining unit 470, for determining the corresponding behaviour of the motion profile by inquiring preset track database It instructs.
The preset track database can be pre-established by developer or user, preserve various motion profiles pair The operational order answered.For example, the motion profile of " mobile relative to transducer transversely " can correspond to the operation of " adjusting playback rate " Instruction.
Instruction execution unit 480, for executing the operational order to the multimedia.
In the embodiment of the present invention, the operational order can be adjusting playback rate.For example, described multimedia broadcast can be accelerated Rate is put, or slows down the multimedia playback rate.The adjusting to multimedia playback progress is realized in turn.
The embodiment of the present invention, terminal obtain the distance between inductor and sensor change information when playing multimedia, And obtain the corresponding progress change information of distance variation information, and according to progress change information adjust it is multimedia play into Degree, may be implemented to adjust multimedia playback progress by way of non-touch-control, strong with convenient, accuracy height and controllability Advantage.
Fig. 8 is the structural schematic diagram of another terminal in the embodiment of the present invention, as shown in figure 8, the terminal may include: At least one processor 801, such as CPU, at least one user interface 803, memory 804, sensor 805, and at least one A communication bus 802.Wherein, user interface 803 includes input unit and output device in the embodiment of the present invention, and input unit can To be keyboard or remote controler etc., output device can be display screen etc., and for interacting with user, in addition input unit and output are filled It sets and can be same device, such as touch screen etc..Sensor 805 can be infrared ray range sensor, for measurement and inductor The distance between.Communication bus 802 is for realizing the connection communication between these components.Memory 804 can be high-speed RAM and deposit Reservoir is also possible to non-volatile memory (non-volatile memory), for example, at least a magnetic disk storage.It is optional , memory 804 can also be that at least one is located remotely from the storage device of aforementioned processor 801.One is stored in memory 804 Group program code, by calling the program code stored in memory 804, executable following operation:
For processor 801 when carrying out multimedia, sensor 805 obtains the distance between inductor change information;
Processor 801 obtains the corresponding progress change information of the distance variation information according to preset mapping relations;
Processor 801 adjusts the multimedia playback progress according to the progress change information.
Optionally, before sensor 805 obtains the distance between inductor change information, processor 801 will also be executed:
Determine the distance between the inductor and the sensor 805 in preset distance range.
Optionally, sensor 805 obtains the concrete operations of the distance between inductor change information are as follows:
Obtain the distance between the inductor and the sensor value;
Calculate the changing value of the distance value in preset time interval;
Determine that change direction, the change direction include direction or the sense of the inductor close to the sensor Answer object far from the direction of the sensor;
Obtain the distance variation information, the distance variation information include the distance value changing value and the variation Direction.
Correspondingly, processor 801 obtains the corresponding progress variation of the distance variation information according to preset mapping relations The concrete operations of information are as follows:
According to preset mapping relations, the changing value of the corresponding playback progress of changing value of the distance value is calculated;
According to preset corresponding relationship, the adjusting direction of the corresponding playback progress of the change direction, the adjusting are determined Direction includes forward play direction, or retreats and play direction;
Obtain the progress change information, the progress change information includes the changing value of the playback progress and described broadcasts The adjusting direction of degree of putting into.
It is further alternative, the preset mapping relations include the distance value changing value and the playback progress The transformation algorithm of changing value.
Correspondingly, processor 801 adjusts the specific behaviour of the multimedia playback progress according to the progress change information As:
If the adjusting direction of the playback progress is the forward play direction, the variation based on the playback progress value The multimedia playback progress is advanced and is adjusted by value, if the adjusting direction of the playback progress is that the retrogressing plays direction, The multimedia playback progress is retreated and is adjusted by the changing value then based on the playback progress value;
Or, if the adjusting direction of the playback progress is the forward play direction, based on the playback progress value The multimedia playback progress is retreated and is adjusted by changing value, if the adjusting direction of the playback progress is retrogressing broadcasting The multimedia playback progress is advanced and is adjusted by direction, the then changing value based on the playback progress value.
Optionally, before sensor 805 obtains the distance variation information, processor 801 is also executed:
Determine that the changing value of the distance value described in preset time interval is greater than default change threshold.
Another optional, processor 801 is according to the progress change information, after adjusting the multimedia playback progress, User interface 803 executes:
Show current playback progress.
Again optional, sensor 805 also executes the motion profile for obtaining the inductor relative to the sensor;Processing Device 801 determines the corresponding operational order of the motion profile by inquiring preset track database;Processor 801 is to described Multimedia executes the operational order.
Further alternative, processor 801 executes the concrete operations that the operational order is executed to the multimedia are as follows:
Accelerate the multimedia playback rate, or slows down the multimedia playback rate.
Specifically, the terminal introduced in the present embodiment can be to implement described by combination FIG. 1 to FIG. 3 of the embodiment of the present invention Playback progress adjusting method in some or all of the step of.
The embodiment of the present invention obtains the distance between inductor and sensor change information when playing multimedia, and The corresponding progress change information of distance variation information is obtained, and multimedia playback progress is adjusted according to progress change information, it can Multimedia playback progress is adjusted in a manner of realizing through non-touch-control, has the advantages that convenient, accuracy is high and controllability is strong.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Unit described in the embodiment of the present invention can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, specific integrated circuit) Lai Shixian.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (9)

1. a kind of terminal, which is characterized in that the terminal includes:
Distance change acquiring unit, for when carrying out multimedia, obtaining the variation of the distance between inductor and sensor Information;
Progress changes acquiring unit, for obtaining the corresponding progress of the distance variation information and becoming according to preset mapping relations Change information;
Playback progress adjusts unit, for adjusting the multimedia playback progress according to the progress change information;
The distance change acquiring unit, comprising:
Distance value acquiring unit, for obtaining the distance between the inductor and the sensor value;
Distance change computing unit, for calculating the changing value of the distance value in preset time interval;
Change direction determination unit, for determining that change direction, the change direction include the inductor close to the sensing The direction of the direction of device or the inductor far from the sensor;
First information generation unit, for obtaining the distance variation information, the distance variation information includes the distance value Changing value and the change direction.
2. terminal as described in claim 1, which is characterized in that the terminal further include:
Distance range determination unit, for determining the distance between the inductor and the sensor in preset distance range It is interior.
3. terminal as described in claim 1, which is characterized in that the terminal further includes threshold value determination unit, for determining The changing value for stating distance value is greater than default change threshold.
4. terminal as described in claim 1, which is characterized in that the progress changes acquiring unit, comprising:
Progress changes computing unit, and the changing value for according to preset mapping relations, calculating the distance value is corresponding to be broadcast The changing value of degree of putting into;
Direction-determining unit is adjusted, for determining the corresponding playback progress of the change direction according to preset corresponding relationship Direction is adjusted, the adjusting direction includes forward play direction, or retreats and play direction;
Second information generating unit, for obtaining the progress change information, the progress change information include it is described play into The adjusting direction of the changing value of degree and the playback progress.
5. terminal as claimed in claim 4, which is characterized in that the playback progress adjusts unit, comprising:
Unit is adjusted before progress, if the adjusting direction for the playback progress is the forward play direction, is broadcast based on described The multimedia playback progress is advanced and is adjusted by the changing value for putting angle value into;
Unit is adjusted after progress, if the adjusting direction for the playback progress is that the retrogressing plays direction, is broadcast based on described The multimedia playback progress is retreated and is adjusted by the changing value for putting angle value into;
Or,
Unit is adjusted before the progress, if the adjusting direction for the playback progress is that the retrogressing plays direction, is based on institute The multimedia playback progress is advanced and is adjusted by the changing value for stating playback progress value;
Unit is adjusted after the progress, if the adjusting direction for the playback progress is the forward play direction, is based on institute The multimedia playback progress is retreated and is adjusted by the changing value for stating playback progress value.
6. terminal as described in claim 1, which is characterized in that the terminal further include:
Track acquiring unit, for obtaining motion profile of the inductor relative to the sensor;
Instruction-determining unit, for determining the corresponding operational order of the motion profile by inquiring preset track database;
Instruction execution unit, for executing the operational order to the multimedia.
7. terminal as claimed in claim 6, which is characterized in that the operational order includes adjusting playback rate;
Described instruction execution unit is specifically used for accelerating the multimedia playback rate, or slows down the multimedia broadcasting Rate.
8. terminal as described in claim 1, which is characterized in that the terminal, further includes:
Playback progress display unit, for showing current playback progress.
9. such as the described in any item terminals of claim 1-8, which is characterized in that the sensor includes infrared ray Distance-sensing Device.
CN201410758325.6A 2014-12-11 2014-12-11 A kind of terminal Active CN104571885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410758325.6A CN104571885B (en) 2014-12-11 2014-12-11 A kind of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410758325.6A CN104571885B (en) 2014-12-11 2014-12-11 A kind of terminal

Publications (2)

Publication Number Publication Date
CN104571885A CN104571885A (en) 2015-04-29
CN104571885B true CN104571885B (en) 2019-04-23

Family

ID=53088090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410758325.6A Active CN104571885B (en) 2014-12-11 2014-12-11 A kind of terminal

Country Status (1)

Country Link
CN (1) CN104571885B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325076A (en) * 2008-07-28 2008-12-17 宇龙计算机通信科技(深圳)有限公司 Portable equipment and medium play method thereof
CN103257825A (en) * 2013-04-28 2013-08-21 北京小米科技有限责任公司 Method and device for adjusting playing speed
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
CN104156165A (en) * 2014-06-16 2014-11-19 乐视致新电子科技(天津)有限公司 Method and device for adjusting playing pace of video
CN104156162A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Broadcast progress adjusting method, device and terminal
CN104199612A (en) * 2014-08-29 2014-12-10 乐视网信息技术(北京)股份有限公司 Playing progress adjustment method and device

Family Cites Families (4)

* 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
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
CN103491230B (en) * 2013-09-04 2016-01-27 三星半导体(中国)研究开发有限公司 Can the mobile terminal of automatic regulating volume and font and Automatic adjustment method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325076A (en) * 2008-07-28 2008-12-17 宇龙计算机通信科技(深圳)有限公司 Portable equipment and medium play method thereof
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
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

Also Published As

Publication number Publication date
CN104571885A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN103345627B (en) Action identification method and device
CN109274823B (en) Multimedia file playing control method and terminal equipment
RU2651194C2 (en) Button interaction method and apparatus
CN110062269A (en) Extra objects display methods, device and computer equipment
US20140201633A1 (en) Progress adjustment method and electronic device
US20170287142A1 (en) Method and Device for Determining Motion Trajectory of Target Subject, and Storage Medium
CN109218535A (en) Intelligence adjusts method, apparatus, storage medium and the terminal of volume
CN104469519B (en) A kind of video broadcasting method and device
CN104903961B (en) Progress bar precision adjusting device, method and play system and terminal
JP6371485B2 (en) Air mouse remote control optimization method, apparatus, terminal device, program, and recording medium
CN103927107A (en) Information processing method and electronic device
CN103702220A (en) Video playing method and device
CN103294333A (en) Method and electric device for controlling multimedia file playing
CN104539795A (en) Data flow display method and device and mobile terminal
CN104519051A (en) Method and terminals for sharing multimedia data
CN106507201A (en) A kind of video playing control method and device
CN108376030B (en) Electronic equipment control method and device and electronic equipment
CN104484038A (en) Method and device for controlling intelligent equipment
CN107277581A (en) A kind of video broadcasting method and its device, mobile terminal
CN109729374B (en) Gift rewarding method, mobile terminal and computer storage medium
CN107005609B (en) Method for operating mobile terminal based on blowing action and mobile terminal
CN104571885B (en) A kind of terminal
CN105763744B (en) A kind of video playing control method of mobile terminal, device and mobile terminal
CN104808812B (en) A kind of information processing method and device
CN109803209A (en) Adjusting method, storage medium and the automobile central control system of automobile central control system volume

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210423

Address after: DESAY No. 9789 building, 518057 Guangdong city of Shenzhen province Nanshan District Guangdong streets Shennan Road sign layer 17 layer (natural layer 15) No. 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040, 21 floor, Times Technology Building, 7028 Shennan Road, Futian District, Guangdong, Shenzhen

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right