CN112399259A - Progress bar control method of player - Google Patents
Progress bar control method of player Download PDFInfo
- Publication number
- CN112399259A CN112399259A CN201910765390.4A CN201910765390A CN112399259A CN 112399259 A CN112399259 A CN 112399259A CN 201910765390 A CN201910765390 A CN 201910765390A CN 112399259 A CN112399259 A CN 112399259A
- Authority
- CN
- China
- Prior art keywords
- state
- progress bar
- player
- bar
- instruction
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000006835 compression Effects 0.000 claims abstract description 79
- 238000007906 compression Methods 0.000 claims abstract description 79
- 230000000007 visual effect Effects 0.000 abstract description 5
- 230000015654 memory Effects 0.000 description 15
- 238000001514 detection method Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B19/00—Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
- G11B19/02—Control of operating function, e.g. switching from recording to reproducing
- G11B19/022—Control panels
- G11B19/025—'Virtual' control panels, e.g. Graphical User Interface [GUI]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a progress bar control method of a player, which comprises the following steps: acquiring the state of a player; judging whether the state of the player is a fast forward or fast backward playing state; if yes, displaying an extension state progress bar for acquiring the first instruction on a control bar of the player; and if not, displaying a compression state progress bar for acquiring the second instruction on a control bar of the player. When the player is not in the fast forward or fast backward playing state, the progress bar in the compressed state is displayed, so that the display area of the progress bar is reduced, and the visual interference of a user is avoided; and when the state of the player is a fast forward or fast backward playing state, the progress bar in the extension state is displayed, so that the accuracy of the progress adjustment executed by the user is improved conveniently.
Description
Technical Field
The present invention relates to a progress bar, and more particularly, to a method for controlling a progress bar of a player, which can improve user experience.
Background
For video players and music players, a progress bar is generally used to assist in prompting a user about the progress of playing an audio-video file currently being played. In the prior art, the progress bar of a player generally increases by acquiring a played duration (position) of a currently played audio/video file and a total duration (duration) of the audio/video file, and dividing the played duration (position) and the total duration (duration) of the audio/video file to obtain a play progress/duration. However, the inventor of the present application finds that in the prior art, the progress bar is displayed singly, and the screen occupies a large space.
Disclosure of Invention
Aiming at the problem that the progress bar displayed in a single mode interferes with the watching of a user, the progress bar control method of the player capable of improving the user experience is provided.
The invention provides a progress bar control method of a player, which comprises the following steps:
acquiring the state of a player;
judging whether the state of the player is a fast forward or fast backward playing state;
if yes, displaying an extension state progress bar for acquiring the first instruction on a control bar of the player;
and if not, displaying a compression state progress bar for acquiring the second instruction on a control bar of the player.
Preferably, the step of displaying a compression status progress bar for acquiring the second command on a control bar of the player includes,
judging whether the state of the player is a playing state or not;
if yes, displaying a first compression state progress bar on a control bar of the player;
and if not, displaying a second compression state progress bar in a control bar of the player.
Preferably, the first compression status progress bar comprises a progress bar filled with a highlighted bar from left to right, and the first compression status progress bar is compressed and displayed in the first area.
Preferably, the second compressed state progress bar comprises a bar-shaped filling progress bar which is highlighted from left to right, a pause indication mark is arranged on the filling progress bar, the total duration and the played duration are arranged on the periphery of the filling progress bar, and the second compressed state progress bar is compressed and displayed in the first area.
Preferably, the extension state progress bar comprises a bar-shaped filling progress bar highlighted from left to right, anchor point dragging marks are arranged on the filling progress bar, anchor point duration is arranged on the periphery of the filling progress bar, the extension state progress bar is displayed in a second area in an extension mode, and the size of the second area is larger than that of the first area.
Preferably, the first region extends laterally to form the second region.
Preferably, after the step of displaying the progress bar of the extended state for collecting the first instruction on the control bar of the player, the method further comprises,
and detecting the final position of the anchor point, controlling the state of the player to be a playing state according to the final position of the anchor point, and converting the progress bar in the extension state into the progress bar in the first compression state.
Preferably, the second instruction comprises a play instruction and a pause instruction, and after the step of displaying the first compression state progress bar on the control bar of the player, the method further comprises,
receiving and identifying a pause instruction, controlling the state of the player to be a pause state according to the pause instruction, and converting the first compression state progress bar into a second compression state progress bar. Preferably, the area for receiving and identifying a pause instruction includes all or part of a control bar of the player.
Preferably, the first instruction is a progress adjustment instruction, and after the step of displaying the second compression status progress bar on the control bar of the player, further comprises,
receiving and recognizing a progress adjusting instruction, controlling the state of a player to be a fast forward or fast backward playing state according to the progress adjusting instruction, and converting the second compressed state progress bar into an extended state progress bar, wherein the extended state progress bar displays the position of an anchor point;
and detecting the final position of the anchor point, controlling the state of the player to be a playing state according to the final position of the anchor point, and converting the progress bar in the extension state into the progress bar in the first compression state.
Preferably, the area for receiving and identifying the progress adjustment instruction includes all or part of a control bar of the player.
Preferably, the second instruction includes a play instruction and a pause instruction, and after the step of displaying the second compression status progress bar, further includes,
and receiving and identifying a playing instruction, controlling the state of the player to be a playing state according to the playing instruction, and displaying a progress bar in a first compression state on a control bar of the player.
Preferably, the area for receiving and identifying the playing instruction comprises all or part of a control bar of the player.
Preferably, the player is an audio player or a video player of a folding screen, and the progress bar in the corresponding state is compressed, displayed or extended and displayed according to the state of the player when the folding screen is in the unfolded state.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method when executing the computer program.
A further computer-readable storage medium of the invention has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method.
The beneficial effects of the above technical scheme are that: when the state of the player is not a fast forward or fast backward playing state, the progress bar in the compressed state is displayed, the display area of the progress bar is reduced, and the visual interference of a user is avoided; and when the state of the player is a fast forward or fast backward playing state, the progress bar in the extension state is displayed, so that the accuracy of the progress adjustment executed by the user is improved, and the user experience is improved. In addition, the invention only identifies the pause instruction and does not identify the progress adjusting instruction in the playing state, so that the player can not directly enter the fast forward/fast backward state from the playing state, and misoperation is avoided. The display content of the first compression state progress bar is the simplest, and after the state of the player is changed, the first compression state progress bar is changed into the second compression state progress bar or the extension state progress bar, so that the display content or the display size is increased. And a pause indication mark is arranged on the progress bar in the second compression state, the progress bar and the pause function module are combined, pause display is carried out only in the pause state, the function modules of the user interface are reasonably arranged, and user experience is improved. Furthermore, the area for receiving and recognizing the pause instruction includes all or part of the control bar of the player, the area for receiving and recognizing the progress adjustment instruction includes all or part of the control bar of the player, and the area for receiving and recognizing the pause instruction or the area for receiving and recognizing the progress adjustment instruction is not limited to the area of the progress bar, thereby facilitating the operation of the user.
Drawings
FIG. 1 is a system diagram of a progress bar control method of a player according to the present invention;
FIG. 2 is a flowchart of a progress bar control method of the player according to the present invention;
FIG. 3 is a detailed flowchart of step S40 in FIG. 2;
FIG. 4 is a detailed flowchart after step S420 in FIG. 3;
FIG. 5 is a detailed flowchart of FIG. 3 after step S430;
FIG. 6 is another detailed flowchart of FIG. 3 after step S430;
fig. 7 is a detailed flowchart after step S30 in fig. 3;
FIG. 8 is a schematic view of a scene of a progress bar control method of a player in a playing state according to the present invention;
FIG. 9 is a schematic view of another scenario of the progress bar control method of the player according to the present invention in the playing state;
FIG. 10 is a schematic view of another scenario of the progress bar control method of the player in the playing state according to the present invention;
FIG. 11 is a view illustrating a pause state of a progress bar control method of a player according to the present invention;
FIG. 12 is a view illustrating a scene of a progress bar control method of a player in a dragging state according to the present invention;
fig. 13 is a schematic view of a scene in which the progress bar control method of the player enters the play state after the drag state according to the present invention;
FIG. 14 is a block diagram of a progress bar control system of the player of the present invention;
fig. 15 is a hardware configuration diagram of a computer device of the progress bar control method of the player of the present invention.
Detailed Description
The advantages of the invention are further illustrated in the following description of specific embodiments in conjunction with the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the description of the present invention, it should be understood that the numerical references before the steps do not identify the order of performing the steps, but merely serve to facilitate the description of the present invention and to distinguish each step, and thus should not be construed as limiting the present invention.
Referring to fig. 1, taking video watching on a video website as an example, the video source requested by the terminal device A, B, C, D, E is a video file of the server W, and the terminal device A, B, C, D, E requests the server W for the video file and plays the video file, so that the viewer can control the playing status of the video by using the progress bar on the player.
Referring to fig. 2, the present invention provides a method for controlling a progress bar of a player, including the following steps:
step S10: acquiring the state of a player;
step S20: judging whether the state of the player is a fast forward or fast backward playing state; if yes, go to step S30, otherwise go to step S40;
step S30: displaying an extension state progress bar for acquiring a first instruction on a control bar of the player;
step S40: and displaying a compression state progress bar for acquiring a second instruction on a control bar of the player.
In this embodiment, the first instruction is a progress adjustment instruction, and the second instruction includes a play instruction and a pause instruction.
Referring to fig. 3, step S40 includes,
step S410: judging whether the state of the player is a playing state or not; if yes, go to step S420, otherwise go to step S430;
step S420: displaying a first compression state progress bar on a control bar of the player;
step S430: and displaying a second compression state progress bar on a control bar of the player.
Referring to fig. 8-10, the progress bar in the first compressed state corresponds to the progress bar in the playing state, the state of the player is the playing state, the display of the progress bar in the first compressed state is the simplest, so that the user can know the playing state and the playing process, and the playing process only knows the relationship between the playing duration and the total duration through the ratio of the highlight area in the diagram.
In different playing modes of the player with the folding screen, the first compression state progress bar is positioned in different areas, can be positioned in a video playing area, and can also be positioned outside the video playing area. The player is an audio player or a video player of a folding screen, and the progress bar in the corresponding state is compressed and displayed or expanded and displayed according to the state of the player when the folding screen is in the unfolded state.
Referring to fig. 8, 9 or 10, the first compressed state progress bar includes a bar which is highlighted from left to right to fill the progress bar, and the first compressed state progress bar is compressed and displayed in the first area. However, the first compression status progress bar is not limited to the bar-shaped filling progress bar, but may be displayed in other forms, for example, a ring-shaped filling progress bar, an arc-shaped filling progress bar, or a fan-shaped filling progress bar.
In fig. 8, 9 or 10, the player displays the first compression state progress bar in the first area in a compression manner, in this embodiment, the first compression state progress bar is disposed on the lower left screen, or the first compression state progress bar may be disposed on other edge areas of the terminal device, and may be disposed horizontally or vertically, and the compression displayed progress bar may reduce the display area of the progress bar, thereby avoiding the visual interference of the user.
Referring to fig. 11, the progress bar in the second compression state corresponds to the progress bar in the pause state, the state of the player is the pause state, and the progress bar in the second compression state is displayed more abundantly than the progress bar in the first compression state, so that the user knows the pause state and the playing process, and the playing process is displayed by the playing duration and the total duration.
The second compression state progress bar comprises a bar-shaped filling progress bar which is highlighted from left to right, a pause indication mark is arranged on the filling progress bar, the total duration and the played duration are arranged on the periphery of the filling progress bar, and the second compression state progress bar is compressed and displayed in the first area. In this embodiment, the second compressed state progress bar is different from the first compressed state progress bar only in that the filling progress bar is provided with a pause indication mark, the pause indication mark is displayed to prompt the user that the current player state is the paused state, and the compressed and displayed progress bar can reduce the display area of the progress bar and avoid the visual interference of the user. After the player enters the pause state, the terminal device can receive and recognize the playing instruction, then control the state of the player to be the playing state according to the playing instruction, and convert the progress bar in the second compression state into the progress bar in the first compression state in the control bar of the player.
Referring to fig. 12, the extended state progress bar includes a bar-shaped filling progress bar highlighted from left to right, anchor dragging marks are arranged on the filling progress bar, anchor duration is arranged on the periphery of the filling progress bar, the extended state progress bar is extended and displayed in a second area, and the size of the second area is larger than that of the first area.
In this embodiment, the first region extends laterally to form the second region. The progress bar in the extension state is extended and displayed in the second area, the second area is larger than the second area, the shape and size of the progress bar in the extension display are proportionally enlarged compared with the progress bar in the compression display, for example, the progress bar in the compression display is only 2cm long on the screen of the terminal device, and the progress bar in the extension display is 6cm long on the screen of the terminal device, so that the accuracy of performing progress adjustment by a user is improved. And the progress bar displayed in an extending way is only generated when the progress adjusting instruction is received and identified, namely the progress bar is extended when the user needs to adjust the playing progress, and the progress bar is not extended under other conditions, so that the operation requirement of the user is met.
Referring to fig. 13, after step S30, the control bar displays the progress bar in the first compressed state after the progress adjustment, for example, 1/4 of the total duration of the played duration before the fast forward adjustment, and 1/2 of the total duration of the played duration after the adjustment if the final position of the anchor point is 1/2 of the total duration after the fast forward adjustment. 1/4, the played time length before the fast backward adjustment is total time length, after the adjustment, the final position of the anchor point is 1/8 of the total time length, and the played time length after the adjustment is 1/8 of the total time length.
As shown in fig. 4, after step S420, further includes,
step S452: receiving and identifying a pause instruction, controlling the state of a player to be a pause state according to the pause instruction, and converting the first compression state progress bar into a second compression state progress bar;
in this embodiment, different pause instructions are preset according to the type of the terminal device, for example, the terminal device is a computer or a notebook, the pause instruction may be preset as an input signal corresponding to a click operation input by a mouse or a keyboard, for example, the terminal device is a smart phone, the pause instruction may be preset as an input signal corresponding to a finger press or touch click operation on a touch screen, or may also be an input signal corresponding to a voice input. The pause instruction can be set according to the needs of the user, for example, the mouse clicks the left key, or the keyboard presses any key, or the voice inputs 'please pause', etc. The terminal equipment can receive and recognize the pause instruction in a wired or wireless mode. The pause command and the play command may be preset to the same input signal or may be preset to different input signals, so that the pause command and the play command are preset to the same input signal for the convenience of the user.
In this embodiment, the area for receiving and identifying the pause instruction includes all or part of a control bar of the player, and the area for receiving and identifying the pause instruction is not limited to the area of the progress bar, so as to facilitate the operation of the user. For example, the lower half of the control bar may be preset as an area for receiving and recognizing a pause instruction according to the operation habit of the user. Or presetting an area except for image playing in the control bar, for example, a bullet screen display area as an area for receiving and recognizing a pause instruction.
Step S453: receiving and recognizing a progress adjusting instruction, controlling the state of a player to be a fast forward or fast backward playing state according to the progress adjusting instruction, and converting the second compressed state progress bar into an extended state progress bar, wherein the extended state progress bar displays the position of an anchor point;
in this embodiment, different progress adjustment instructions are preset according to the type of the terminal device, for example, the terminal device is a computer or a notebook, the progress adjustment instruction may be preset as an input signal corresponding to a long-press sliding operation input by a mouse, for example, the terminal device is a smart phone, the progress adjustment instruction may be preset as an input signal corresponding to a finger-press sliding operation or a touch sliding operation on a touch screen, and may also be an input signal corresponding to a voice input.
Step S50: and detecting the final position of the anchor point, controlling the state of the player to be a playing state according to the final position of the anchor point, and converting the progress bar in the extension state into the progress bar in the first compression state.
In this embodiment, the position of the anchor point when the release operation after the long-press sliding of the mouse is detected is the final position of the detection anchor point according to the type of the terminal device, such as a computer or a notebook, and the position of the anchor point when the finger-press sliding or touch sliding operation on the touch screen is finished is detected as the final position of the detection anchor point, or the time signal of the anchor point can be input as the final position of the detection anchor point.
Referring to fig. 5, after step S430, a play command is received and recognized and a play state is entered, which includes,
step S451: receiving and identifying a playing instruction, controlling the state of a player to be a playing state according to the playing instruction, and converting the second compression state progress bar into a first compression state progress bar;
in this embodiment, the player is an audio player or a video player applied to a terminal device, where the terminal device may be a computer or a notebook, the computer or the notebook may have a mouse and/or a keyboard, and may also be a smart phone or a tablet computer with a touch display screen, and the input operation may be performed by pressing with a finger or pressing with a stylus.
In this embodiment, different playing instructions are preset according to the type of the terminal device, for example, the terminal device is a computer or a notebook, the playing instruction may be preset as an input signal corresponding to a click operation input by a mouse or a keyboard, for example, the terminal device is a smart phone, the playing instruction may be preset as an input signal corresponding to a finger press or touch click operation on a touch screen, or may also be an input signal corresponding to a voice input. The playing instruction can be set according to the needs of the user, for example, the left button is clicked by the mouse, or any button is pressed by the keyboard, or the "please play" is input by voice, etc. The terminal equipment can receive and identify the playing instruction in a wired or wireless mode.
In this embodiment, the area for receiving and identifying the playing instruction includes all or part of a control bar of the player, and the area for receiving and identifying the playing instruction is not limited to the area of the progress bar, so as to facilitate the operation of the user. For example, the lower half of the control bar may be preset as an area for receiving and recognizing a play instruction according to the operation habit of the user. Or presetting an area except for image playing in the control bar, for example, a bullet screen display area as an area for receiving and identifying a playing instruction.
Referring to fig. 6, after step S430, a progress adjustment command is received and recognized and a progress adjustment is performed, which includes,
step S453: receiving and recognizing a progress adjusting instruction, controlling the state of a player to be a fast forward or fast backward playing state according to the progress adjusting instruction, and converting the second compressed state progress bar into an extended state progress bar, wherein the extended state progress bar displays the position of an anchor point;
in this embodiment, different progress adjustment instructions are preset according to the type of the terminal device, for example, the terminal device is a computer or a notebook, the progress adjustment instruction may be preset as an input signal corresponding to a long-press sliding operation input by a mouse, for example, the terminal device is a smart phone, the progress adjustment instruction may be preset as an input signal corresponding to a finger-press sliding operation or a touch sliding operation on a touch screen, and may also be an input signal corresponding to a voice input.
In this embodiment, the area for receiving and identifying the progress adjustment instruction includes all or part of a control bar of the player, and the area for receiving and identifying the progress adjustment instruction is not limited to the area of the progress bar, so as to facilitate the operation of the user. For example, the lower half of the control bar may be preset as an area for receiving and recognizing a progress adjustment instruction according to the operation habit of the user. Or presetting an area outside the image playing in the control bar, for example, a bullet screen display area as an area for receiving and recognizing the progress adjusting instruction.
Step S50: and detecting the final position of the anchor point, controlling the state of the player to be a playing state according to the final position of the anchor point, and converting the progress bar in the extension state into the progress bar in the first compression state.
In this embodiment, the position of the anchor point when the release operation after the long-press sliding of the mouse is detected is the final position of the detection anchor point according to the type of the terminal device, such as a computer or a notebook, and the position of the anchor point when the finger-press sliding or touch sliding operation on the touch screen is finished is detected as the final position of the detection anchor point, or the time signal of the anchor point can be input as the final position of the detection anchor point.
Referring to fig. 7, after step S30, the player enters a play state after the progress adjustment, which includes,
step S50: and detecting the final position of the anchor point, controlling the state of the player to be a playing state according to the final position of the anchor point, and converting the progress bar in the extension state into the progress bar in the first compression state.
In this embodiment, the position of the anchor point when the release operation after the long-press sliding of the mouse is detected is the final position of the detection anchor point according to the type of the terminal device, such as a computer or a notebook, and the position of the anchor point when the finger-press sliding or touch sliding operation on the touch screen is finished is detected as the final position of the detection anchor point, or the time signal of the anchor point can be input as the final position of the detection anchor point.
Referring to fig. 14, the present invention also provides a progress bar control system 1 of a player, which includes:
the input module 10 is used for receiving and identifying a playing instruction, a pausing instruction and a progress adjusting instruction;
a detection module 20, configured to obtain a state of the player; the player is used for judging whether the state of the player is a fast forward or fast backward playing state; the player is used for judging whether the state of the player is a playing state or not; detecting the final position of the anchor point;
the state management module 30 is configured to control the state of the player to be a playing state according to the playing instruction, control the state of the player to be a pausing state according to the pausing instruction, and control the state of the player to be a fast-forwarding or fast-rewinding playing state according to the progress adjusting instruction; controlling the state of the player to be a playing state according to the final position of the anchor point;
and the progress bar management module 40 is used for displaying the progress bar in the corresponding state in a compression mode or an extension mode according to the state of the player. The progress bar is used for converting the second compression state progress bar into a first compression state progress bar according to the playing instruction; converting the first compression state progress bar into a second compression state progress bar according to the pause instruction; converting the second compressed state progress bar into an extended state progress bar according to the progress adjusting instruction, wherein the extended state progress bar displays the position of an anchor point; and converting the extension state progress bar into a first compression state progress bar according to the final position of the anchor point.
When the state of the player is not a fast forward or fast backward playing state, the progress bar in the compressed state is displayed, the display area of the progress bar is reduced, and the visual interference of a user is avoided; and when the state of the player is a fast forward or fast backward playing state, the progress bar in the extension state is displayed, so that the accuracy of the progress adjustment executed by the user is improved, and the user experience is improved. In addition, the invention only identifies the pause instruction and does not identify the progress adjusting instruction in the playing state, so that the player can not directly enter the fast forward/fast backward state from the playing state, and misoperation is avoided. The display content of the first compression state progress bar is the simplest, and after the state of the player is changed, the first compression state progress bar is changed into the second compression state progress bar or the extension state progress bar, so that the display content or the display size is increased. And a pause indication mark is arranged on the progress bar in the second compression state, the progress bar and the pause function module are combined, pause display is carried out only in the pause state, the function modules of the user interface are reasonably arranged, and user experience is improved. Furthermore, the area for receiving and recognizing the pause instruction includes all or part of the control bar of the player, the area for receiving and recognizing the progress adjustment instruction includes all or part of the control bar of the player, and the area for receiving and recognizing the pause instruction or the area for receiving and recognizing the progress adjustment instruction is not limited to the area of the progress bar, thereby facilitating the operation of the user.
Referring to fig. 15, the present application further provides a computer device 2, where the computer device 2 includes:
a memory 21 for storing executable program code; and
a processor 22 for calling the executable program code in the memory 21, the execution steps including the above-mentioned progress bar control method of the player.
Fig. 15 illustrates an example of one processor 22.
The memory 21, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the progress bar control method of the player in the embodiment of the present application. The processor 22 executes various functional applications and data processing of the computer device 2 by running the nonvolatile software programs, instructions and modules stored in the memory 21, namely, implementing the above method embodiment progress bar control method of the player.
The memory 21 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store playback information of the user on the computer device 2. Further, the memory 21 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 non-volatile solid state storage device. In some embodiments, the memory 21 optionally includes a memory 21 remotely located from the processor 22, and these remote memories 21 may be connected to the progress bar control system 1 of the player through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 21, and when executed by the one or more processors 22, perform a progress bar control method of the player in any of the above-described method embodiments, for example, perform the programs of fig. 2-7 described above.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The computer device 2 of the embodiment of the present application exists in various forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic devices with data interaction functions.
Still another embodiment of the present application provides a non-transitory computer-readable storage medium, which stores computer-executable instructions, which are executed by one or more processors, such as one of the processors 22 in fig. 15, so that the one or more processors 22 may execute the progress bar control method of the player in any of the above method embodiments, for example, execute the above-described programs of fig. 2 to 7.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on at least two network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), a Random Access Memory (RAM), or the like.
The first embodiment is as follows: the playing command and the pause command for controlling the player are the same
The terminal equipment A requests a video file of the server W through the player, the player of the terminal equipment A is in a playing state, the video playing area is located in the middle of the screen, the control column is located on the periphery of the video playing area, the control column displays the progress bar in the compression state, the progress bar in the compression state at the moment is the progress bar in the first compression state, and the display content is minimum. When a user needs to perform progress adjustment on the progress bar of the player, a pause instruction is input through mouse clicking to enable the player to pause playing, the progress bar in the second compression state is displayed, a progress adjustment instruction is input through dragging of the mouse, the size of the progress bar is changed, the position of an anchor point on the progress bar is changed, the moving direction of the anchor point corresponds to the dragging direction of the mouse, and the moving distance of the anchor point corresponds to the dragging distance of the mouse. When a user needs to convert the pause state of the player into the play state, a mouse clicks to input a play instruction so as to enable the player to continue playing.
Example two: the playing instruction and the pause instruction for controlling the player are different
The terminal equipment A requests a video file of the server W through the player, the player of the terminal equipment A is in a playing state, the video playing area is located in the middle of the screen, the control column is located on the periphery of the video playing area, the control column displays the progress bar in the compression state, the progress bar in the compression state at the moment is the progress bar in the first compression state, and the display content is minimum. When the user leaves temporarily and needs to pause the player, a pause instruction is input through clicking a mouse to pause the player, and a second compression state progress bar is displayed on a control bar of the player; when the user needs to continue playing the player, a playing instruction is input through double clicking of the mouse so that the player continues playing, and the progress bar in the first compression state is displayed.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (10)
1. A progress bar control method of a player is characterized by comprising the following steps:
acquiring the state of a player;
judging whether the state of the player is a fast forward or fast backward playing state;
if yes, displaying an extension state progress bar for acquiring the first instruction on a control bar of the player;
and if not, displaying a compression state progress bar for acquiring the second instruction on a control bar of the player.
2. The method of claim 1, wherein: the step of displaying a compression status progress bar for acquiring the second instruction on a control bar of the player, including,
judging whether the state of the player is a playing state or not;
if yes, displaying a first compression state progress bar on a control bar of the player;
and if not, displaying a second compression state progress bar in a control bar of the player.
3. The method of claim 2, wherein: the first compression state progress bar comprises a bar filling progress bar which is highlighted from left to right, and the first compression state progress bar is displayed in a first area in a compression mode.
4. The method of claim 2, wherein: the second compression state progress bar comprises a bar-shaped filling progress bar which is highlighted from left to right, a pause indication mark is arranged on the filling progress bar, the total duration and the played duration are arranged on the periphery of the filling progress bar, and the second compression state progress bar is compressed and displayed in the first area.
5. The method of claim 1, wherein: the extension state progress bar comprises a bar-shaped filling progress bar which is highlighted from left to right, anchor point dragging marks are arranged on the filling progress bar, anchor point duration is arranged on the periphery of the filling progress bar, the extension state progress bar is extended and displayed in a second area, and the size of the second area is larger than that of the first area.
6. The method of claim 5, wherein: the first region extends laterally to form the second region.
7. The method of claim 1, wherein: after the step of displaying the progress bar of the extension state for collecting the first instruction on the control bar of the player, the method further comprises the steps of,
and detecting the final position of the anchor point, controlling the state of the player to be a playing state according to the final position of the anchor point, and converting the progress bar in the extension state into the progress bar in the compression state.
8. The method of claim 2, wherein: the second instruction comprises a playing instruction and a pause instruction, and after the step of displaying the first compression state progress bar on the control bar of the player, the second instruction further comprises,
receiving and identifying a pause instruction, controlling the state of the player to be a pause state according to the pause instruction, and converting the first compression state progress bar into a second compression state progress bar.
9. The method of claim 8, wherein: the area for receiving and identifying the pause instruction comprises all or part of a control bar of the player.
10. The method of claim 2, wherein: the first instruction is a progress adjustment instruction, and after the step of displaying the progress bar in the second compression state on the control bar of the player, the method further comprises the following steps,
receiving and recognizing a progress adjusting instruction, controlling the state of a player to be a fast forward or fast backward playing state according to the progress adjusting instruction, and converting the second compressed state progress bar into an extended state progress bar, wherein the extended state progress bar displays the position of an anchor point;
and detecting the final position of the anchor point, controlling the state of the player to be a playing state according to the final position of the anchor point, and converting the progress bar in the extension state into the progress bar in the first compression state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910765390.4A CN112399259B (en) | 2019-08-19 | 2019-08-19 | Progress bar control method of player |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910765390.4A CN112399259B (en) | 2019-08-19 | 2019-08-19 | Progress bar control method of player |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112399259A true CN112399259A (en) | 2021-02-23 |
CN112399259B CN112399259B (en) | 2023-05-02 |
Family
ID=74603507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910765390.4A Active CN112399259B (en) | 2019-08-19 | 2019-08-19 | Progress bar control method of player |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112399259B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112905147A (en) * | 2021-02-25 | 2021-06-04 | 中消云(北京)物联网科技研究院有限公司 | Player control method and device and terminal equipment |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090199119A1 (en) * | 2008-02-05 | 2009-08-06 | Park Chan-Ho | Method for providing graphical user interface (gui), and multimedia apparatus applying the same |
US20110145745A1 (en) * | 2009-12-14 | 2011-06-16 | Samsung Electronics Co., Ltd. | Method for providing gui and multimedia device using the same |
CN103069491A (en) * | 2010-08-27 | 2013-04-24 | 三星电子株式会社 | Method and apparatus for playing contents |
CN103247310A (en) * | 2012-02-14 | 2013-08-14 | 索尼爱立信移动通讯有限公司 | Multimedia playing control method, playing control module and playing terminal |
US20130298021A1 (en) * | 2012-05-02 | 2013-11-07 | Samsung Electronics Co., Ltd. | Method of expansively searching multimedia and multimedia executing apparatus therefor |
CN103886882A (en) * | 2014-03-17 | 2014-06-25 | 联想(北京)有限公司 | Progress adjusting method and electronic device |
US20140201633A1 (en) * | 2013-01-14 | 2014-07-17 | Lenovo (Beijing) Co., Ltd. | Progress adjustment method and electronic device |
CN104123079A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Method and device for adjusting position of progress bars |
CN104199611A (en) * | 2014-08-29 | 2014-12-10 | 广东欧珀移动通信有限公司 | Method and device for adjusting playing progress through mobile terminal |
CN104508746A (en) * | 2013-06-08 | 2015-04-08 | 华为终端有限公司 | Method for controlling multimedia browsing progress and terminal |
CN104575549A (en) * | 2013-10-18 | 2015-04-29 | 上海斐讯数据通信技术有限公司 | Method and device for positioning playing image |
US20150301691A1 (en) * | 2013-05-31 | 2015-10-22 | Xiaomi Inc. | Method and device for progress control |
CN105472469A (en) * | 2015-12-08 | 2016-04-06 | 小米科技有限责任公司 | Video playing progress adjusting method and apparatus |
CN105916038A (en) * | 2016-04-19 | 2016-08-31 | 乐视控股(北京)有限公司 | Video adjustment method and terminal |
CN105975178A (en) * | 2016-04-27 | 2016-09-28 | 北京小米移动软件有限公司 | Progress bar display method and apparatus |
-
2019
- 2019-08-19 CN CN201910765390.4A patent/CN112399259B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090199119A1 (en) * | 2008-02-05 | 2009-08-06 | Park Chan-Ho | Method for providing graphical user interface (gui), and multimedia apparatus applying the same |
US20110145745A1 (en) * | 2009-12-14 | 2011-06-16 | Samsung Electronics Co., Ltd. | Method for providing gui and multimedia device using the same |
CN103069491A (en) * | 2010-08-27 | 2013-04-24 | 三星电子株式会社 | Method and apparatus for playing contents |
CN103247310A (en) * | 2012-02-14 | 2013-08-14 | 索尼爱立信移动通讯有限公司 | Multimedia playing control method, playing control module and playing terminal |
US20130298021A1 (en) * | 2012-05-02 | 2013-11-07 | Samsung Electronics Co., Ltd. | Method of expansively searching multimedia and multimedia executing apparatus therefor |
US20140201633A1 (en) * | 2013-01-14 | 2014-07-17 | Lenovo (Beijing) Co., Ltd. | Progress adjustment method and electronic device |
CN104123079A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Method and device for adjusting position of progress bars |
US20150301691A1 (en) * | 2013-05-31 | 2015-10-22 | Xiaomi Inc. | Method and device for progress control |
CN104508746A (en) * | 2013-06-08 | 2015-04-08 | 华为终端有限公司 | Method for controlling multimedia browsing progress and terminal |
CN104575549A (en) * | 2013-10-18 | 2015-04-29 | 上海斐讯数据通信技术有限公司 | Method and device for positioning playing image |
CN103886882A (en) * | 2014-03-17 | 2014-06-25 | 联想(北京)有限公司 | Progress adjusting method and electronic device |
CN104199611A (en) * | 2014-08-29 | 2014-12-10 | 广东欧珀移动通信有限公司 | Method and device for adjusting playing progress through mobile terminal |
CN105472469A (en) * | 2015-12-08 | 2016-04-06 | 小米科技有限责任公司 | Video playing progress adjusting method and apparatus |
CN105916038A (en) * | 2016-04-19 | 2016-08-31 | 乐视控股(北京)有限公司 | Video adjustment method and terminal |
CN105975178A (en) * | 2016-04-27 | 2016-09-28 | 北京小米移动软件有限公司 | Progress bar display method and apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112905147A (en) * | 2021-02-25 | 2021-06-04 | 中消云(北京)物联网科技研究院有限公司 | Player control method and device and terminal equipment |
CN112905147B (en) * | 2021-02-25 | 2024-04-05 | 中消云(北京)物联网科技研究院有限公司 | Player control method and device and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112399259B (en) | 2023-05-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108323239B (en) | Screen recording and playing method, screen recording terminal and screen playing terminal | |
CN108984081A (en) | A kind of searched page exchange method, device, terminal and storage medium | |
WO2017181598A1 (en) | Method and device for playing video | |
CN107045508B (en) | Application program processing method and device | |
US10860857B2 (en) | Method for generating video thumbnail on electronic device, and electronic device | |
CN106303733B (en) | Method and device for playing live special effect information | |
CN108900768A (en) | Video capture method, apparatus, terminal, server and storage medium | |
CN105812941A (en) | Video playing method and device and electronic equipment | |
US11138956B2 (en) | Method for controlling display of terminal, storage medium, and electronic device | |
US9986266B2 (en) | Method, apparatus and system for playing multimedia file | |
US20180014074A1 (en) | Method and Apparatus for Playing a Multimedia File From a Re-Positioned Playing Point | |
CN110308860B (en) | Screen capturing method and related device | |
US20170277382A1 (en) | Page switching method and device applied to electronic equipment | |
US20170168771A1 (en) | Song playing progress control method and electronic device | |
US20170161011A1 (en) | Play control method and electronic client | |
CN112905148B (en) | Voice broadcasting control method and device, storage medium and electronic equipment | |
CN104519051A (en) | Method and terminals for sharing multimedia data | |
CN112104909A (en) | Interactive video playing method and device, computer equipment and readable storage medium | |
CN109842820B (en) | Barrage information input method and device, mobile terminal and readable storage medium | |
JP7058795B2 (en) | Video processing methods, devices, terminals and storage media | |
US20170180671A1 (en) | Method for displaying operation trajectory , an electronic device and a non-transitory computer-readable storage medium | |
US20170168582A1 (en) | Click response processing method, electronic device and system for motion sensing control | |
CN112399259B (en) | Progress bar control method of player | |
US20160192117A1 (en) | Data transmission method and first electronic device | |
CN105468094A (en) | Method for operating computer terminal and computer terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |