CN105635828B - Control method for playing back, device, electronic equipment and storage medium - Google Patents
Control method for playing back, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN105635828B CN105635828B CN201410592102.7A CN201410592102A CN105635828B CN 105635828 B CN105635828 B CN 105635828B CN 201410592102 A CN201410592102 A CN 201410592102A CN 105635828 B CN105635828 B CN 105635828B
- Authority
- CN
- China
- Prior art keywords
- dragging
- progress bar
- signal
- buoy
- playing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000011084 recovery Methods 0.000 claims description 74
- 230000008569 process Effects 0.000 claims description 18
- 230000001960 triggered effect Effects 0.000 claims description 12
- 238000012217 deletion Methods 0.000 claims description 2
- 230000037430 deletion Effects 0.000 claims description 2
- 230000009191 jumping Effects 0.000 abstract description 28
- 230000000694 effects Effects 0.000 abstract description 8
- 230000003993 interaction Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of control method for playing back, device and electronic equipments, belong to field of human-computer interaction.The described method includes: receiving the drag operation for dragging buoy along playing progress bar;Record the buoy dragged preceding home position in the playing progress bar;It receives dragging and restores signal;Restore signal according to the dragging to restore the buoy to the home position in the playing progress bar.The present invention dragged preceding home position in playing progress bar by record buoy, is receiving the extensive time multiplexed signal of dragging, is restoring signal according to dragging and restore buoy to home position in playing progress bar;It solves after jumping forward or jumping backward, user needs the problem of repeatedly dragging buoy could adjust the home position to before jumping;Achieved the effect that user can quickly, accurately restore to home position to play out.
Description
Technical Field
The present invention relates to the field of human-computer interaction, and in particular, to a play control method and apparatus, and an electronic device.
Background
On electronic devices such as smartphones, tablets and desktop computers, playing audio and video content using a player is the most frequently used function by users.
When playing audio and video contents using a player, the player is usually provided with a play progress bar on which a float is provided to scroll forward along with the play progress. When the user needs to jump forward or backward, the float can be dragged along the playing progress bar, and then the player jumps to the playing position of the float after dragging to preview the picture or continue playing.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems: if the user wants to recover to the original position before jumping, the user needs to drag the buoy for multiple times to adjust to the original position, the operation is complicated, and the original position cannot be accurately positioned.
Disclosure of Invention
In order to solve the problem that a user needs to drag a buoy for multiple times to adjust to an original position before jumping after jumping forwards or backwards, embodiments of the present invention provide a play control method, an apparatus, and an electronic device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present invention, there is provided a play control method, including:
receiving dragging operation of dragging the buoy along the playing progress bar;
recording the original position of the buoy before being dragged on the playing progress bar;
receiving a drag recovery signal;
and restoring the buoy to the original position on the playing progress bar according to the dragging restoration signal.
According to a second aspect of the embodiments of the present invention, there is provided a playback control apparatus, including:
the operation receiving module is used for receiving dragging operation of dragging the buoy along the playing progress bar in the playing process;
the dragging playing module is used for executing skip playing according to the dragging operation;
the signal receiving module is used for receiving the dragging recovery signal;
and the position recovery module is used for recovering the buoy to the original position on the playing progress bar according to the dragging recovery signal.
According to a third aspect of the embodiments of the present invention, there is provided an electronic device including the play control apparatus according to the second aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the method comprises the steps that the original position of a buoy before dragging on a playing progress bar is recorded, and when a dragging recovery signal is received, the buoy is recovered to the original position on the playing progress bar according to the dragging recovery signal; the problem that after forward jumping or backward jumping, a user needs to drag the buoy for multiple times to adjust to the original position before jumping is solved; the effect that the user can quickly and accurately restore to the original position for playing is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method of controlling playback according to an embodiment of the present invention;
fig. 2A is a flowchart of a method of controlling playback according to an embodiment of the present invention;
FIG. 2B is a diagram illustrating an operation of the embodiment of FIG. 2A to trigger a drag resume signal;
FIG. 2C is another operation diagram of the embodiment of FIG. 2A for triggering a dragging resume signal;
fig. 3A is a flowchart of a method of controlling playback according to another embodiment of the present invention;
FIG. 3B is a schematic diagram of an interface when a jump preview is provided by the embodiment shown in FIG. 3A;
FIG. 3C is a schematic diagram illustrating the embodiment of FIG. 3A in which the drag operation is changed to a side drag operation;
FIG. 3D is a schematic diagram of the operation of triggering a predetermined gesture signal provided by the embodiment shown in FIG. 3A;
fig. 4 is a flowchart of a method of controlling playback according to still another embodiment of the present invention;
fig. 5A is a schematic diagram illustrating an operation of a drag recovery signal according to still another embodiment of the present invention;
FIG. 5B is a schematic diagram illustrating an operation of applying the playback control method to an electronic book reading program according to still another embodiment of the present invention;
fig. 6 is a block diagram showing the structure of a playback control apparatus according to an embodiment of the present invention;
fig. 7 is a block diagram showing a configuration of a playback control apparatus according to another embodiment of the present invention;
fig. 8 is a block diagram of a signal receiving module according to an embodiment of the present invention;
fig. 9 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The electronic device mentioned herein may be a mobile phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, motion Picture Experts Group Audio Layer IV, motion Picture Experts Group Audio Layer 4), an MP4 player, a laptop portable computer, a desktop computer, and other electronic devices with multimedia playing capability.
Referring to fig. 1, a flowchart of a method for controlling playback according to an embodiment of the present invention is shown. The playing control method can be used in an electronic device with multimedia playing capability, and comprises the following steps:
step 101, receiving a dragging operation of dragging a buoy along a playing progress bar;
in the process of playing multimedia, the electronic device is usually provided with a playing progress bar, and the playing progress bar comprises a buoy which scrolls forwards along with the playing progress. The user can drag the buoy to trigger the electronic device to perform a forward jump or a backward jump.
102, recording the original position of the buoy before being dragged on the playing progress bar;
step 103, receiving a dragging recovery signal;
since the dragging operation may be a user-triggered misoperation, or the dragged played content is not the content desired by the user, at this time, the user may trigger a dragging recovery signal to the electronic device. Correspondingly, the electronic device receives a user-triggered drag resume signal.
The dragging recovery signal can be a side dragging operation that the user drags the buoy to a direction far away from the playing progress bar;
or, the dragging recovery signal may be a signal that the user presses a designated button or menu item on the playing interface;
alternatively, the drag restoration signal may be a predetermined gesture signal that the user slides out on the play interface using a slide track.
The present embodiment does not limit the specific form of the drag restoration signal.
And 104, restoring the buoy to the original position on the playing progress bar according to the dragging restoration signal.
And the electronic equipment restores the buoy to the original position on the playing progress bar according to the dragging restoration signal, namely, the buoy jumps to the original position again for playing.
In summary, in the play control method provided in this embodiment, by recording the original position of the float before being dragged on the play progress bar, when the drag recovery signal is received, the float is recovered to the original position on the play progress bar according to the drag recovery signal; the problem that after forward jumping or backward jumping, a user needs to drag the buoy for multiple times to adjust to the original position before jumping is solved; the effect that the user can quickly and accurately restore to the original position for playing is achieved.
There are various ways to generate the drag recovery signal, such as:
the first mode is as follows: after the dragging operation is finished, namely the user looses his hand, the electronic device receives the lateral dragging operation of the user and takes the lateral dragging operation as a dragging recovery signal. The side drag operation is an operation of dragging the float in a direction away from the play progress bar.
The second mode is as follows: when the dragging operation is not finished, namely the user is not loose, the electronic equipment receives the lateral dragging operation of the user and takes the lateral dragging operation as a dragging recovery signal. When the dragging operation is finished, the lateral dragging operation can be used as a dragging recovery signal, and a preset gesture signal or a key or a menu item can be used as the dragging recovery signal.
Two different embodiments are described below.
Referring to fig. 2A, a flowchart of a method of playing control according to an embodiment of the present invention is shown. The playing control method can be used in an electronic device with multimedia playing capability, and comprises the following steps:
step 201, receiving a dragging operation of dragging a buoy along a playing progress bar;
in the process of playing multimedia, the electronic device is usually provided with a playing progress bar, and the playing progress bar comprises a buoy which scrolls forwards along with the playing progress. The user can drag the buoy to trigger the electronic device to perform a forward jump or a backward jump.
Step 202, recording the original position of the buoy before being dragged on the playing progress bar;
the original position may be represented by a play time.
For example, if the drag is started when the play position is 8 minutes, the original position is 8 minutes.
Step 203, when the dragging operation is finished, executing jump playing according to the dragging operation;
if the drag operation is a forward drag operation, the electronic device performs a skip-forward play according to the forward drag operation. Namely, the buoy plays at the playing position on the playing progress bar after jumping to the forward dragging operation.
And if the dragging operation is a backward dragging operation, the electronic equipment executes backward skip playing according to the backward dragging operation. Namely, the buoy plays at the playing position on the playing progress bar after jumping to the backward dragging operation.
Step 204, receiving a lateral dragging operation for dragging the buoy to a direction far away from the playing progress bar, and taking the lateral dragging operation as a dragging recovery signal;
since the dragging operation may be a user-triggered misoperation, or the dragged played content is not the content desired by the user, at this time, the user may trigger a dragging recovery signal to the electronic device.
Specifically, the user may drag the float in a direction away from the play progress bar, thereby triggering a side drag operation. Correspondingly, the electronic equipment receives a lateral dragging operation triggered by a user and takes the lateral dragging operation as a dragging recovery signal.
The direction away from the play progress bar may be a direction perpendicular to the play progress bar. That is, the lateral drag operation may be an operation of dragging the float in a direction perpendicular to the play progress bar.
As shown in fig. 2B, the electronic device provides a transverse progress bar 22 on the playing interface, and the progress bar 22 includes a float 24 that scrolls forward along with the progress of the playing. The user may drag the float up or down, thereby triggering a drag resume signal.
As shown in fig. 2C, if the user drags the float 24 in a direction away from the play progress bar 22 in directions at other angles, such as 30 degrees, 60 degrees, 75 degrees, and 82 degrees, with respect to the play progress bar 22, the drag recovery signal may also be triggered.
And step 205, restoring the buoy to the original position on the playing progress bar according to the dragging restoration signal.
And the electronic equipment restores the buoy to the original position on the playing progress bar according to the dragging restoration signal, namely, the buoy jumps to the original position again for playing.
For example, if the original position is 8 minutes, the electronic device jumps to the original position again for 8 minutes to play.
In summary, in the play control method provided in this embodiment, by recording the original position of the float before being dragged on the play progress bar, when the drag recovery signal is received, the float is recovered to the original position on the play progress bar according to the drag recovery signal; the problem that after forward jumping or backward jumping, a user needs to drag the buoy for multiple times to adjust to the original position before jumping is solved; the effect that the user can quickly and accurately restore to the original position for playing is achieved.
In this embodiment, the side-drag operation on the float is adopted as the drag recovery signal, so that the float is operated for various settings of the play position. The cost of learning the operation is low, the memory is easy, the operation is convenient, and the efficiency is high.
In the process of implementing the present invention, the inventors found that the following may occur in the above embodiments: suppose that the user drags to jump to 10 minutes for jump playing at the original position for 8 minutes. Then, a lateral drag operation is triggered, but in the process of triggering the lateral drag operation, a finger is displaced in the direction of playing the progress bar, and then the electronic device recognizes the displacement as a drag operation with another original position of (10 minutes + X), and updates the original position of (10 minutes + X). When the electronic device recognizes the side drag operation, it will return to the original position (10 minutes + X), instead of the 8 minutes desired by the user.
To this end, the inventors also provide the following examples:
referring to fig. 3A, a flowchart of a method for controlling playback according to another embodiment of the present invention is shown. The playing control method can be used in an electronic device with multimedia playing capability, and comprises the following steps:
step 301, receiving a dragging operation of dragging a buoy along a playing progress bar;
in the process of playing multimedia, the electronic device is usually provided with a playing progress bar, and the playing progress bar comprises a buoy which scrolls forwards along with the playing progress. The user can drag the buoy to trigger the electronic device to perform a forward jump or a backward jump.
Step 302, recording the original position of the buoy before being dragged on the playing progress bar;
the original position may be represented by a play time.
For example, if the drag is started when the play position is 8 minutes, the original position is 8 minutes.
Step 303, executing skip preview according to dragging operation in the process of dragging the buoy;
and in the dragging process of the buoy, the electronic equipment executes skip preview according to the current playing position of the dragging operation on the playing progress bar.
Taking video playing as an example, the implementation manner of the skip preview may be: the electronic equipment acquires the image frame corresponding to the current playing position, or acquires the key frame closest to the current playing position, and previews the image frame in a small window mode above the playing progress bar.
As shown in fig. 3B, if the float 32 is dragged to 9 minutes during the process that the float 32 starts dragging from 8 minutes, the electronic device may acquire the image frame B at 9 minutes and preview it in a small window 36 above the play progress bar 34.
Step 304, when the dragging operation is not finished, detecting whether the dragging operation is changed into a side dragging operation;
since the dragged preview content or played content may not be the content desired by the user, at this time, the user may trigger the drag resume signal to the electronic device before the drag operation is finished. The user can also trigger the dragging recovery signal to the electronic equipment after the dragging operation is finished.
Before the drag operation is finished, the user may convert the drag operation into a lateral drag operation to trigger the drag restoration signal. That is, in the dragging process, when the user finds that the played content of the preview is not the desired content, the dragging operation can be directly converted into the lateral dragging operation on the premise that the finger is not loosened.
As shown in fig. 3C, in the course of the dragging of the float 32 from 8 minutes, if the user's dragging operation is changed to the side dragging operation, the electronic device may acquire the side dragging operation.
Correspondingly, when the dragging operation is not finished, the electronic device detects whether the dragging operation is changed into a side dragging operation. If the operation is changed to the side dragging operation, go to step 305; if the operation is not changed to the side drag operation, the process proceeds to step 307.
Step 305, if the dragging operation is changed into a side dragging operation, taking the side dragging operation as a dragging recovery signal;
if the user converts the drag operation into the lateral drag operation, the electronic device takes the lateral drag operation as a drag restoration signal.
And step 306, restoring the buoy to the original position on the playing progress bar according to the dragging restoring signal.
And the electronic equipment restores the buoy to the original position on the playing progress bar according to the dragging restoration signal, namely, the buoy jumps to the original position again for playing.
For example, if the original position is 8 minutes, the electronic device jumps to the original position again for 8 minutes to play.
Step 307, when the drag operation is finished, executing skip play according to the drag operation;
if the drag operation is a forward drag operation, the electronic device performs a skip-forward play according to the forward drag operation. Namely, the buoy plays at the playing position on the playing progress bar after jumping to the forward dragging operation.
And if the dragging operation is a backward dragging operation, the electronic equipment executes backward skip playing according to the backward dragging operation. Namely, the buoy plays at the playing position on the playing progress bar after jumping to the backward dragging operation.
And 308, receiving a preset gesture signal on the playing interface when the dragging operation is finished, and taking the preset gesture signal as a dragging recovery signal.
After the dragging operation is finished, the user can draw a preset gesture signal on the playing interface. The electronic equipment receives the preset gesture signal on the playing interface and takes the preset gesture signal as a dragging recovery signal.
As shown in fig. 3D, after the drag operation is finished, the user may draw a predetermined gesture signal 39 on the play interface 38, which slides up and then slides left. After receiving the predetermined gesture signal 39, the electronic device determines the predetermined gesture signal 39 as a drag recovery signal.
Then, step 306 is entered, the electronic device restores the buoy to the original position on the play progress bar according to the dragging restoration signal, that is, jumps to the original position again for playing.
It should be added that steps 307 and 308 are only optional embodiments, and after the drag operation is finished, the electronic device may further receive other types of drag recovery signals, such as: the drag resume signal may be a signal that the user presses a designated button or menu item on the play interface.
In summary, in the play control method provided in this embodiment, by recording the original position of the float before being dragged on the play progress bar, when the drag recovery signal is received, the float is recovered to the original position on the play progress bar according to the drag recovery signal; the problem that after forward jumping or backward jumping, a user needs to drag the buoy for multiple times to adjust to the original position before jumping is solved; the effect that the user can quickly and accurately restore to the original position for playing is achieved.
In the play control method provided by this embodiment, when the dragging operation is not finished, the lateral dragging operation obtained by directly converting the dragging operation is used as the dragging recovery signal, so that the buoy is operated for various settings of the play position. The user can learn the operation with low cost and easy memory, and the operation is convenient and efficient, and the operation error is not easy to occur.
In the play control method provided by this embodiment, when the drag operation is finished, the predetermined gesture signal on the play interface is used as the drag recovery signal, so that on the premise of avoiding an operation error, the effect that the user can quickly and accurately recover to the original position to play is achieved.
In the process of implementing the present invention, the inventor also finds that the following situations may occur in the above embodiments: when the user performs skip play using the drag operation, the user may perform skip play by continuously performing two or more drag operations. At this time, if the user triggers a drag resume signal, the electronic device may resume to the original position of the last drag operation for playing, but cannot resume to the original position of the first drag operation or the original position of the middle drag operation.
To this end, the inventors also provide the following examples:
referring to fig. 4, a flowchart of a method for controlling playback according to still another embodiment of the present invention is shown. The playing control method can be used in an electronic device with multimedia playing capability, and comprises the following steps:
step 401, receiving two or more times of dragging operation of dragging the buoy along the playing progress bar;
in the process of playing multimedia, the electronic device is usually provided with a playing progress bar, and the playing progress bar comprises a buoy which scrolls forwards along with the playing progress. The user may drag the float two or more times, thereby triggering the electronic device to perform a forward jump or a backward jump.
Step 402, when the dragging operation is two or more, recording two or more original positions of the buoy before being dragged on the playing progress bar in sequence;
the original position may be represented by a play time.
For example, if the first dragging operation is to start dragging when the playing position is 8 minutes, the original position of the first dragging operation is 8 minutes; the second dragging operation is to start dragging when the playing position is 10 minutes, and the original position of the second dragging operation is 10 minutes; the third dragging operation is to start dragging when the playing position is 12 minutes, and the original position of the third dragging operation is 12 minutes.
The electronic device may record each home position in a stack. The storage structure using the stack to store the original location can be illustrated as follows:
watch 1
Storage location | Original position | |
N-th drag operation | Stack top | 12 minutes |
N-1 th drag operation | Second position in stack | 10 minutes and 15 seconds |
N-2 th drag operation | Third position in stack | 8 minutes and 1 second |
… | … | 11 minutes 32 seconds |
1 st drag operation | Stack bottom | 2 minutes and 1 second |
Step 403, receiving a dragging recovery signal;
since the dragging operation may be a user-triggered misoperation, or the dragged played content is not the content desired by the user, at this time, the user may trigger a dragging recovery signal to the electronic device. Correspondingly, the electronic device receives a user-triggered drag resume signal.
In this embodiment, the trigger mode of the drag recovery signal is not limited. After the last dragging operation is finished, the user may trigger a dragging recovery signal through a lateral dragging operation, as shown in step 204; the user may also trigger the dragging recovery signal through the lateral dragging operation when the last dragging operation has not ended, as shown in step 304; the user may also trigger the drag resume signal by a predetermined gesture signal after the last drag operation is finished, as shown in step 308.
Step 404, sequentially obtaining the latest original position from the stored original positions;
after receiving the drag recovery signal, the electronic device obtains the latest original position from the stored two or more original positions.
For example, assuming that each original location stored by the electronic device is indicated as table one, the last original location acquired by the electronic device is 12 minutes.
Step 405, restoring the buoy to the nearest original position on the playing progress bar according to the dragging restoring signal;
the electronic device can restore the buoy to the last original position, namely 12 minutes, on the play progress bar.
Step 406, deleting the latest original position from the stored original positions;
after the electronics restore the float to the last original position, the last original position needs to be deleted in the stack. The deleted storage structure can be illustrated as follows:
watch two
Storage location | Original position | |
N-1 th drag operation | Stack top | 10 minutes and 15 seconds |
N-2 th drag operation | Second position in stack | 8 minutes and 1 second |
N-3 th drag operation | Third position in stack | 11 minutes 32 seconds |
… | … | 3 minutes and 2 seconds |
1 st drag operation | Stack bottom | 2 minutes and 1 second |
Step 407, receiving the dragging recovery signal again;
if the user feels that resuming is further needed after resuming to 12 minutes, the user may continue to trigger the dragging resume signal. The present embodiment does not limit the manner in which the user triggers the drag resume signal again.
For example, the user may trigger the drag recovery signal again through a lateral drag operation; the user may also trigger the drag resume signal again through a predetermined gesture signal.
Step 408, sequentially obtaining the latest original position from the stored original positions;
after receiving the drag recovery signal, the electronic device obtains the latest original position from the stored two or more original positions.
For example, if the original positions stored in the electronic device are shown in table two, the last original position acquired by the electronic device is 10 minutes and 15 seconds.
Step 409, restoring the buoy to the nearest original position on the playing progress bar according to the dragging restoration signal;
the electronics return the float to 10 minutes and 15 seconds.
The last home location is deleted from the stored home locations, step 410.
After the electronics restore the float to the last original position, the last original position needs to be deleted in the stack. That is, from table two, the record associated with "10 minutes 15 seconds" is deleted.
It should be noted that steps 407 to 410 may be executed more than once, depending on the operation of the user.
In summary, in the play control method provided in this embodiment, by recording the original position of the float before being dragged on the play progress bar, when the drag recovery signal is received, the float is recovered to the original position on the play progress bar according to the drag recovery signal; the problem that after forward jumping or backward jumping, a user needs to drag the buoy for multiple times to adjust to the original position before jumping is solved; the effect that the user can quickly and accurately restore to the original position for playing is achieved.
According to the play control method provided by the embodiment, when the dragging operation of the user is two or more, two or more original positions of the buoy before being dragged on the play progress bar are recorded in sequence, and a mechanism that the user can trigger the dragging recovery operation for multiple times is provided, so that the user can quickly and accurately recover to the original position of a certain dragging operation for playing even if the dragging recovery operation is performed for multiple times.
It should be noted that the form of the dragging recovery signal may be various and is not limited to the forms disclosed herein. For example, referring to fig. 5A, the drag restoration signal may be a drag operation in which the float 52 is dragged in the direction of playing the progress bar, but the drag speed exceeds a predetermined threshold.
Another point to be noted is that multimedia referred to herein mainly refers to audio or video. It will be readily appreciated by those skilled in the art that any graphical user interface interaction represented using a progress bar may be able to use the play control method provided herein. For example, referring to fig. 5B, in the e-book reading program 54, a drag jump may be performed on the reading progress bar 56, and similarly, the float may be restored to the original position before the drag through a side drag operation on the reading progress bar 56.
The following are embodiments of the apparatus herein, and reference may be made in combination to the corresponding method embodiments described above for those embodiments not disclosed in detail.
Referring to fig. 6, a block diagram of a playback control apparatus according to an embodiment of the present invention is shown. The playback control apparatus may be implemented as all or a portion of an electronic device by software, hardware, or a combination of both. The playback control apparatus 600 includes:
an operation receiving module 620, configured to receive a dragging operation of dragging the buoy along the play progress bar;
a position recording module 640, configured to record an original position of the buoy before being dragged on the play progress bar;
a signal receiving module 660, configured to receive a drag recovery signal;
a position restoring module 680, configured to restore the buoy to the original position on the play progress bar according to the dragging restoring signal.
In summary, the play control apparatus provided in this embodiment records the original position of the float before being dragged on the play progress bar, and when receiving the dragging recovery signal, recovers the float to the original position on the play progress bar according to the dragging recovery signal; the problem that after forward jumping or backward jumping, a user needs to drag the buoy for multiple times to adjust to the original position before jumping is solved; the effect that the user can quickly and accurately restore to the original position for playing is achieved.
Referring to fig. 7, a block diagram of a playback control apparatus according to another embodiment of the present invention is shown. The playback control apparatus may be implemented as all or a portion of an electronic device by software, hardware, or a combination of both. The playback control apparatus 600 includes:
an operation receiving module 620, configured to receive a dragging operation of dragging the buoy along the play progress bar;
a position recording module 640, configured to record an original position of the buoy before being dragged on the play progress bar;
a signal receiving module 660, configured to receive a drag recovery signal;
a position restoring module 680, configured to restore the buoy to the original position on the play progress bar according to the dragging restoring signal.
As a possible implementation manner, the signal receiving module 660 is configured to receive a lateral dragging operation that drags the buoy in a direction away from the play progress bar, and use the lateral dragging operation as the dragging recovery signal.
As another possible implementation, the signal receiving module 660 includes: a first detecting unit 662 and a first receiving unit 664, as shown in fig. 8.
A first detecting unit 662 that detects whether the dragging operation is changed to a lateral dragging operation when the dragging operation is not ended, the lateral dragging operation being an operation of dragging the float in a direction away from the play progress bar;
a first receiving unit 664 configured to, when the drag operation is changed to the lateral drag operation, take the lateral drag operation as the drag restoration signal.
Optionally, the signal receiving module 660 may further include: a second receiving unit 666, as shown in FIG. 8;
a second receiving unit 666, configured to receive a predetermined gesture signal on a playing interface when the drag operation has ended, and use the predetermined gesture signal as the drag recovery signal.
Optionally, the side dragging signal is an operation of dragging the float in a direction perpendicular to the playing progress bar.
Optionally, the position recording module 640 is configured to record, when the dragging operation is two or more than two, two or more than two original positions of the buoy before being dragged on the play progress bar in order;
the position recovery module 680, comprising: a location acquisition unit 682 and a location restoration unit 684;
the position acquisition unit 682 is configured to sequentially acquire the latest home position from the stored home positions;
the position recovery unit 684 is configured to recover the buoy to the latest original position on the play progress bar according to the dragging recovery signal.
Optionally, the apparatus further comprises:
a location deletion module 690 for deleting the most recent one of the original locations from the stored original locations.
It should be noted that: the foregoing playing control apparatus provided in the embodiment is only illustrated by dividing the functional modules when triggering an intelligent network service, and in practical applications, the function allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the embodiments of the play control apparatus and the play control method provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in the embodiments of the methods for details, which are not described herein again.
Referring to fig. 9, a schematic structural diagram of an electronic device according to an embodiment of the invention is shown. Specifically, the method comprises the following steps:
electronic device 900 may include RF (Radio Frequency) circuitry 910, memory 920 including one or more computer-readable storage media, input unit 930, display unit 940, sensors 950, audio circuitry 960, short-range wireless transmission module 970, processor 980 including one or more processing cores, and power supply 990, among other components. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 910 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink information from a base station and then processing the received downlink information by the one or more processors 980; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 910 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 910 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (short messaging Service), etc. The memory 920 may be used to store software programs and modules, for example, the memory 920 may be used to store a preset time list, a software program for collecting voice signals, a software program for implementing keyword recognition, a software program for implementing continuous voice recognition, a software program for implementing setting reminders, a binding relationship between the wireless access point and the user account, and the like. The processor 980 executes various functional applications and data processing by running software programs and modules stored in the memory 920. The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic apparatus 900, and the like. Further, the memory 920 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 920 may also include a memory controller to provide the processor 980 and the input unit 930 with access to the memory 920.
The input unit 930 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 930 may include a touch-sensitive surface 931 as well as other input devices 932. The touch-sensitive surface 931, also referred to as a touch screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 931 (e.g., operations by a user on or near the touch-sensitive surface 931 using a finger, a stylus, or any other suitable object or attachment) and drive the corresponding connecting device according to a predetermined program. Alternatively, the touch sensitive surface 931 may include both a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch sensitive surface 931 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 930 may also include other input devices 932 in addition to the touch-sensitive surface 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by or provided to the user and various graphical user interfaces of the electronic device 900, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 940 may include a Display panel 941, and optionally, the Display panel 941 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 931 may overlay the display panel 941, and when a touch operation is detected on or near the touch-sensitive surface 931, the touch operation is transmitted to the processor 980 to determine the type of touch event, and the processor 980 then provides a corresponding visual output on the display panel 941 according to the type of touch event. Although in FIG. 9 the touch-sensitive surface 931 and the display panel 941 are shown as two separate components to implement input and output functions, in some embodiments the touch-sensitive surface 931 and the display panel 941 may be integrated to implement input and output functions.
The electronic device 900 may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 941 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 941 and/or a backlight when the electronic device 900 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device 900, detailed descriptions thereof are omitted.
The audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and the electronic device 900. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 960, and outputs the audio data to the processor 980 for processing, and then transmits the audio data to another electronic device through the RF circuit 910, or outputs the audio data to the memory 920 for further processing. The audio circuit 960 may also include an earbud jack to provide communication of a peripheral headset with the electronic device 900.
The short-distance wireless transmission module 970 may be a WIFI (wireless fidelity) module or a bluetooth module. The electronic device 900 may assist the user in e-mail, web browsing, streaming media access, etc. through the short-range wireless transmission module 970, which provides the user with wireless broadband internet access. Although fig. 9 shows the short-range wireless transmission module 970, it is understood that it does not belong to the essential constitution of the electronic device 900 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 980 is a control center of the electronic device 900, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device 900 and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920, thereby integrally monitoring the electronic device. Optionally, processor 980 may include one or more processing cores; alternatively, processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, and applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The electronic device 900 also includes a power supply 990 (e.g., a battery) for supplying power to the various components, which may be logically connected to the processor 980 via a power management system, for managing charging, discharging, and power consumption via the power management system. Power supply 990 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device 900 may further include a camera, a bluetooth module, etc., which are not described herein.
The electronic device 900 further includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors to perform the play control method according to the above-mentioned method embodiments.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. A playback control method, comprising:
receiving dragging operation of dragging the buoy along the playing progress bar;
recording the original position of the buoy before being dragged on the playing progress bar;
receiving a lateral dragging operation of dragging the buoy to a direction far away from the playing progress bar, and taking the lateral dragging operation as the dragging recovery signal; or,
when the dragging operation is finished, receiving a preset gesture signal on a playing interface, and taking the preset gesture signal as a dragging recovery signal; when the dragging operation is not finished, detecting whether the dragging operation is changed into a lateral dragging operation, wherein the lateral dragging operation is an operation of dragging the buoy to a direction far away from the playing progress bar; if the dragging operation is changed into the lateral dragging operation, taking the lateral dragging operation as the dragging recovery signal;
restoring the buoy to the original position on the playing progress bar according to the dragging restoration signal;
when the dragging recovery signal is triggered when the dragging operation is finished, executing skip playing according to the dragging operation before the dragging recovery signal is received;
when the dragging recovery signal is triggered in the dragging operation process, before the dragging recovery signal is received, acquiring an image frame corresponding to the current playing position or a key frame closest to the current playing position according to the dragging operation, and previewing the image frame or the key frame above the playing progress bar in a small window mode.
2. The method of claim 1, wherein the side drag signal is an operation of dragging the float in a direction perpendicular to the play progress bar.
3. The method of claim 1, wherein the recording of the original position of the buoy before being dragged on the play progress bar comprises:
when the dragging operation is two or more, recording two or more original positions of the buoys before the buoys are dragged on the playing progress bar in sequence;
the restoring the buoy to the original position on the play progress bar according to the dragging restoring signal includes:
sequentially acquiring a nearest original position from the stored original positions;
and restoring the buoy to the latest original position on the playing progress bar according to the dragging restoration signal.
4. The method according to claim 3, wherein after the restoring the float to the latest original position on the play progress bar according to the drag restoration signal, further comprises:
deleting the most recent one of the original locations from the stored original locations.
5. A playback control apparatus, characterized in that the apparatus comprises:
the operation receiving module is used for receiving dragging operation of dragging the buoy along the playing progress bar;
the position recording module is used for recording the original position of the buoy before the buoy is dragged on the playing progress bar;
the signal receiving module is used for receiving a lateral dragging operation of dragging the buoy to a direction far away from the playing progress bar, and the lateral dragging operation is used as the dragging recovery signal; or when the dragging operation is finished, receiving a preset gesture signal on a playing interface, and taking the preset gesture signal as the dragging recovery signal; when the dragging operation is not finished, detecting whether the dragging operation is changed into a lateral dragging operation, wherein the lateral dragging operation is an operation of dragging the buoy to a direction far away from the playing progress bar; if the dragging operation is changed into the lateral dragging operation, taking the lateral dragging operation as the dragging recovery signal;
the position recovery module is used for recovering the buoy to the original position on the playing progress bar according to the dragging recovery signal;
the signal receiving module is further configured to, when the dragging recovery signal is triggered when the dragging operation is ended, execute skip playing according to the dragging operation before the dragging recovery signal is received;
the signal receiving module is further configured to, when a dragging recovery signal is triggered in the dragging operation process, obtain, according to the dragging operation, an image frame corresponding to a current playing position or a key frame closest to the current playing position before the dragging recovery signal is received, and preview the image frame or the key frame in a small window form above a playing progress bar.
6. The apparatus of claim 5, wherein the lateral drag signal is an operation of dragging the float in a direction perpendicular to the play progress bar.
7. The apparatus of claim 5,
the position recording module is used for recording two or more original positions of the buoys before being dragged on the playing progress bar in sequence when the dragging operation is two or more;
the location retrieval module, comprising: a position acquisition unit and a position restoration unit;
the position acquisition unit is used for acquiring the latest original position from the stored original positions in sequence;
the position restoring unit is used for restoring the buoy to the latest original position on the playing progress bar according to the dragging restoring signal.
8. The apparatus of claim 7, further comprising:
a location deletion module to delete the most recent one of the original locations from the stored original locations.
9. An electronic device characterized in that it comprises a playback control apparatus as claimed in any one of claims 5 to 8.
10. A storage medium for storing a program code for executing the playback control method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410592102.7A CN105635828B (en) | 2014-10-28 | 2014-10-28 | Control method for playing back, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410592102.7A CN105635828B (en) | 2014-10-28 | 2014-10-28 | Control method for playing back, device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105635828A CN105635828A (en) | 2016-06-01 |
CN105635828B true CN105635828B (en) | 2019-12-03 |
Family
ID=56050247
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410592102.7A Active CN105635828B (en) | 2014-10-28 | 2014-10-28 | Control method for playing back, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105635828B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218740B (en) * | 2017-06-29 | 2022-01-04 | 武汉斗鱼网络科技有限公司 | Display method, storage medium, electronic device and system of double-screen video stream |
CN107360469B (en) * | 2017-07-12 | 2020-03-27 | 青岛海信电器股份有限公司 | Progress positioning method and device for receiving multiple instructions for adjusting playing progress within preset time of terminal |
CN108769819B (en) * | 2018-06-20 | 2021-04-06 | 网易(杭州)网络有限公司 | Playing progress control method, medium, device and computing equipment |
CN109121008B (en) * | 2018-08-03 | 2021-12-14 | 腾讯科技(深圳)有限公司 | Video preview method, device, terminal and storage medium |
CN109660872A (en) * | 2018-12-05 | 2019-04-19 | 维沃移动通信有限公司 | A kind of method of adjustment and terminal of multimedia progress |
CN112511906B (en) * | 2020-11-27 | 2021-11-12 | 上海幽癸信息科技有限公司 | Audio and video playing progress control system and method |
CN113038286B (en) * | 2021-03-12 | 2023-08-11 | 维沃移动通信有限公司 | Video playing control method and device and electronic equipment |
CN115314654B (en) * | 2022-10-12 | 2023-01-06 | 飞狐信息技术(天津)有限公司 | Video processing method, system, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102611685A (en) * | 2011-12-16 | 2012-07-25 | 中兴通讯股份有限公司 | Method, device and system for marking streaming media |
CN102790925A (en) * | 2011-05-20 | 2012-11-21 | 深圳市快播科技有限公司 | Method and VOD (Video On Demand) terminal for playing online streaming media |
CN102799353A (en) * | 2012-06-18 | 2012-11-28 | 上海鼎为软件技术有限公司 | Instruction action acknowledgement method, instruction device and electronic device |
CN103686335A (en) * | 2013-12-16 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101503714B1 (en) * | 2008-02-05 | 2015-03-20 | 삼성전자주식회사 | Method for providing GUI and multimedia device thereof |
KR20140014457A (en) * | 2012-07-24 | 2014-02-06 | (주)휴맥스 | Apparatus and method for controlling status bar display |
-
2014
- 2014-10-28 CN CN201410592102.7A patent/CN105635828B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102790925A (en) * | 2011-05-20 | 2012-11-21 | 深圳市快播科技有限公司 | Method and VOD (Video On Demand) terminal for playing online streaming media |
CN102611685A (en) * | 2011-12-16 | 2012-07-25 | 中兴通讯股份有限公司 | Method, device and system for marking streaming media |
CN102799353A (en) * | 2012-06-18 | 2012-11-28 | 上海鼎为软件技术有限公司 | Instruction action acknowledgement method, instruction device and electronic device |
CN103686335A (en) * | 2013-12-16 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105635828A (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105635828B (en) | Control method for playing back, device, electronic equipment and storage medium | |
CN108762954B (en) | Object sharing method and mobile terminal | |
CN107678631B (en) | Side menu display method and device and terminal | |
CN109062467B (en) | Split screen application switching method and device, storage medium and electronic equipment | |
CN108062190B (en) | Application running state control method and mobile terminal | |
CN106406712B (en) | Information display method and device | |
WO2016066092A1 (en) | Multimedia playing controlling method and device, and storage medium | |
US20150212691A1 (en) | Method and apparatus for desktop management | |
CN107918563A (en) | A kind of method, data processing equipment and user equipment replicated and paste | |
US20140365892A1 (en) | Method, apparatus and computer readable storage medium for displaying video preview picture | |
CN105022552B (en) | A kind of method and apparatus for showing messaging list | |
CN107621914A (en) | Display methods, terminal and the computer-readable recording medium of termination function control key | |
CN104965641B (en) | information display method and device | |
CN106506820B (en) | Backup method and device for mobile terminal data | |
WO2014206101A1 (en) | Gesture-based conversation processing method, apparatus, and terminal device | |
CN110618969B (en) | Icon display method and electronic equipment | |
CN108763540B (en) | File browsing method and terminal | |
WO2015043194A1 (en) | Virtual keyboard display method and apparatus, and terminal | |
CN110879680B (en) | Icon management method and electronic equipment | |
WO2014194713A1 (en) | Method,apparatus and computer readable storage medium for displaying video preview picture | |
CN106951143B (en) | Method and device for hiding application icons | |
CN104142779A (en) | UI (user interface) control method and device as well as terminal | |
WO2019096154A1 (en) | Text editing method and mobile terminal | |
CN106371749A (en) | Method and device for terminal control | |
CN108696642B (en) | Method for arranging icons and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20160601 Assignee: Ocean interactive (Beijing) Information Technology Co., Ltd. Assignor: Tencent Technology (Shenzhen) Co., Ltd. Contract record no.: 2016990000422 Denomination of invention: Play control method, play control device and electronic equipment comprising play control device License type: Common License Record date: 20161009 |
|
LICC | Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |