CN112399259B - Progress bar control method of player - Google Patents

Progress bar control method of player Download PDF

Info

Publication number
CN112399259B
CN112399259B CN201910765390.4A CN201910765390A CN112399259B CN 112399259 B CN112399259 B CN 112399259B CN 201910765390 A CN201910765390 A CN 201910765390A CN 112399259 B CN112399259 B CN 112399259B
Authority
CN
China
Prior art keywords
progress bar
state
player
instruction
compression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910765390.4A
Other languages
Chinese (zh)
Other versions
CN112399259A (en
Inventor
丁佳俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN201910765390.4A priority Critical patent/CN112399259B/en
Publication of CN112399259A publication Critical patent/CN112399259A/en
Application granted granted Critical
Publication of CN112399259B publication Critical patent/CN112399259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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/47217End-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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, 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/02Control of operating function, e.g. switching from recording to reproducing
    • G11B19/022Control panels
    • G11B19/025'Virtual' control panels, e.g. Graphical User Interface [GUI]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation 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)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Signal Processing (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 a first instruction on a control column of the player; if not, displaying a compression state progress bar for collecting the second instruction on a control column of the player. When the state of the player is not the fast forward or fast backward playing state, the compressed state progress bar 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, an extension state progress bar is displayed, so that the accuracy of executing progress adjustment by a user is improved.

Description

Progress bar control method of player
Technical Field
The invention relates to a progress bar, in particular to a control method of a progress bar of a player capable of improving user experience.
Background
For video players and music players, a progress bar is typically used to assist in prompting the user of the progress of playing an audio-video file currently being played. In the prior art, the progress bar of the player generally increases in a manner that the play progress=position/duration is obtained by obtaining the play duration (position) of the currently played audio and video file and the total duration (duration) of the audio and video file and dividing the play duration (position) and the total duration (duration) by each other. However, the inventor of the patent application finds that the progress bar in the prior art is single in display and large in screen occupation space.
Disclosure of Invention
Aiming at the problem that a single mode of displaying a progress bar can interfere with the watching of a user, the invention provides a control method of the progress bar of a player capable of improving the user experience.
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 a first instruction on a control column of the player;
if not, displaying a compression state progress bar for collecting the second instruction on a control column of the player.
Preferably, the step of displaying a compression status progress bar for collecting the second instruction in a control field 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 column of the player;
if not, displaying a second compression state progress bar on a control column of the player.
Preferably, the first compression state progress bar includes a bar-shaped filling progress bar highlighted from left to right, and the first compression state progress bar is displayed in a first area in a compressed manner.
Preferably, 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 periphery of the filling progress bar is provided with total duration and played duration, and the second compression state progress bar is displayed in the first area in a compressed mode.
Preferably, the extension state progress bar comprises a bar-shaped filling progress bar which is highlighted from left to right, an anchor point dragging mark is 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.
Preferably, the first region extends laterally to form the second region.
Preferably, after the step of displaying the extended state progress bar for collecting the first command in the control field of the player, the method further comprises,
detecting the final position of an anchor point, controlling the state of a player to be a playing state according to the final position of the anchor point, and converting an extension state progress bar into a first compression state progress bar.
Preferably, the second instruction includes a play instruction and a pause instruction, and after the step of displaying the first compression status progress bar in the control field of the player, the method further includes,
and 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 recognizing the pause instruction includes all or part of a control field of the player.
Preferably, the first instruction is a progress adjustment instruction, and after the step of displaying the second compression status progress bar in the control field of the player, the method further comprises,
receiving and identifying a progress adjusting instruction, controlling the state of the player to be a fast forward or fast backward playing state according to the progress adjusting instruction, and converting the second compression state progress bar into an extension state progress bar, wherein the extension state progress bar displays the position of an anchor point;
detecting the final position of an anchor point, controlling the state of a player to be a playing state according to the final position of the anchor point, and converting an extension state progress bar into a first compression state progress bar.
Preferably, the area for receiving and identifying the progress adjustment command includes all or part of a control field of the player.
Preferably, the second instruction includes a play instruction and a pause instruction, and after the step of displaying the second compression state progress bar, further includes,
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 first compression state progress bar on a control column of the player.
Preferably, the area for receiving and identifying the play instruction includes all or part of a control field of the player.
Preferably, the player is an audio player or a video player with a folding screen, and in the unfolded state, the folding screen compresses and displays or extends and displays the progress bar in the corresponding state according to the state of the player.
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.
The invention further relates to a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method.
The beneficial effects of the technical scheme are that: when the state of the player is not the fast forward or fast backward playing state, displaying a compressed state progress bar, reducing the display area of the progress bar and avoiding the visual interference of a user; 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 executing progress adjustment by a user is improved, and the user experience is improved. In addition, the invention only recognizes the pause instruction and does not recognize 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, thereby avoiding misoperation. The display content of the first compression state progress bar is the most concise, and when the state of the player is changed, the player is changed into the second compression state progress bar or the extension state progress bar so as to increase the display content or the display size. 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 only carried out in the pause state, the function modules of the user interface are reasonably arranged, and the user experience is improved. Furthermore, the area for receiving and identifying the pause instruction comprises all or part of the control column of the player, the area for receiving and identifying the progress adjustment instruction comprises all or part of the control column of the player, and the area for receiving and identifying the pause instruction or the area for receiving and identifying the progress adjustment instruction is not limited to the area of the progress bar, so that the operation of a user is facilitated.
Drawings
FIG. 1 is a system frame diagram corresponding to a method for controlling a progress bar of a player according to the present invention;
FIG. 2 is a flowchart of a method for controlling a progress bar of a 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 after step S430 in FIG. 3;
FIG. 6 is another detailed flowchart after step S430 in FIG. 3;
FIG. 7 is a detailed flowchart after step S30 in FIG. 3;
FIG. 8 is a schematic view of a scene of the method for controlling a progress bar of a player according to the present invention in a play state;
FIG. 9 is a schematic diagram of another scenario of the method for controlling a progress bar of a player according to the present invention in a play state;
FIG. 10 is a schematic view of another scenario of the method for controlling a progress bar of a player according to the present invention in a play state;
FIG. 11 is a schematic view of a scene of the method for controlling a progress bar of a player according to the present invention in a pause state;
fig. 12 is a schematic view of a scenario of the progress bar control method of the player in a drag state;
FIG. 13 is a schematic view of a scene of the progress bar control method of the player entering a playing state after a drag state;
FIG. 14 is a block diagram of a progressive bar control system of a player of the present invention;
fig. 15 is a schematic hardware structure of a computer device of the method for controlling a progress bar of a player according to the present invention.
Detailed Description
Advantages of the invention are further illustrated in the following description, taken in conjunction with the accompanying drawings and detailed description.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present 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 or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive 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 in which the steps are performed, but are merely used to facilitate description of the present invention and to distinguish between 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-on-demand source is a video file of the server W, and the terminal device A, B, C, D, E requests the video file from the server W and plays the video file, so that a viewer can control the playing state of the video by using a progress bar on the player.
Referring to fig. 2, the present invention provides a method for controlling a progress bar of a player, comprising 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, executing step S30, if not, executing step S40;
step S30: displaying an extension state progress bar for collecting a first instruction on a control column of the player;
step S40: and displaying a compression state progress bar for collecting the second instruction on a control column 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, if no, go to step S430;
step S420: displaying a first compression state progress bar on a control column of the player;
step S430: and displaying a second compression state progress bar on a control column of the player.
Referring to fig. 8-10, the first compressed state progress bar corresponds to a progress bar in a playing state, the state of the player is the playing state, and the first compressed state progress bar is displayed most simply, so that a user can know the playing state and the playing process, and the playing process can know the relationship between the playing time and the total time only through the duty ratio of the highlight area in the illustration.
Under different playing modes, the player of the folding screen is positioned in different areas, and can be positioned in the video playing area or outside the video playing area. The player is an audio player or a video player with a folding screen, and the folding screen is compressed and displayed or extended according to the state of the player in an unfolding state to display a progress bar in a corresponding state.
Referring to fig. 8, 9 or 10, the first compression state progress bar includes a bar-shaped filling progress bar highlighted from left to right, and the first compression state progress bar is displayed in a first area in a compressed manner. However, the first compression state progress bar is not limited to the bar-shaped filling progress bar, but may be displayed in other forms, for example, an annular filling progress bar, an arc-shaped filling progress bar, or a sector-shaped filling progress bar.
In fig. 8, fig. 9 or fig. 10, the player is compressed and displayed in the first area in the first compressed state progress bar, and in this embodiment, the first compressed state progress bar is disposed on the lower left screen, or the first compressed state progress bar may be disposed in other edge areas of the terminal device, or may be disposed horizontally or vertically, and the compressed and displayed progress bar may reduce the display area of the progress bar, so as to avoid visual interference of the user.
Referring to fig. 11, the second compressed state progress bar corresponds to a progress bar in a pause state, the state of the player is the pause state, and the second compressed state progress bar is displayed more abundantly than the first compressed state progress bar, so that the user can know the pause state and the playing progress, and the playing progress 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 periphery of the filling progress bar is provided with total duration and played duration, and the second compression state progress bar is displayed in the first area in a compressed mode. In this embodiment, the form difference between the second compressed state progress bar and the first compressed state progress bar is only that a pause indication mark is provided on the filling progress bar, and the display of the pause indication mark is used to prompt the user that the current player is in a pause state, so that 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 a pause state, the terminal equipment can receive and identify a play command, then, the state of the player is controlled to be a play state according to the play command, and the second compression state progress bar is converted into a first compression state progress bar at a control column of the player.
Referring to fig. 12, the extended status progress bar includes a bar-shaped filling progress bar highlighted from left to right, an anchor drag mark is provided on the filling progress bar, an anchor duration is provided on the periphery of the filling progress bar, the extended status 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 extended state is extended and displayed in a second area, the second area is larger than the second area, and the extended and displayed progress bar is proportionally enlarged in shape and size compared with the compressed and displayed progress bar, for example, the compressed and displayed progress bar is only 2cm long on the screen of the terminal equipment, and the extended and displayed progress bar is 6cm long on the screen of the terminal equipment, so that the accuracy of executing the progress adjustment by a user is improved. And the progress bar displayed in an extending way only occurs when the progress adjusting instruction is received and identified, namely when the user needs to adjust the playing progress, the progress bar is extended, and the progress bar is not extended under the other conditions, so that the operation requirement of the user is met.
Referring to fig. 13, after step S30, the control bar displays a first compressed state progress bar after the progress adjustment, for example, the played time length before the fast forward adjustment is 1/4 of the total time length, and after the adjustment, the final position of the anchor point is 1/2 of the total time length, and then the played time length after the adjustment is 1/2 of the total time length. The played time length before fast-rewinding adjustment is 1/4 of the total time length, and after adjustment, the final position of the anchor point is 1/8 of the total time length, and then the played time length after adjustment is 1/8 of the total time length.
Referring to fig. 4, after step S420, further including,
step S452: 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;
in this embodiment, different suspension instructions are preset according to the type of the terminal device, for example, the suspension instructions may be preset as input signals corresponding to clicking operations input by a mouse or a keyboard, for example, the suspension instructions may be preset as input signals corresponding to finger pressure or touch clicking operations on a touch screen, and may also be input signals corresponding to voice inputs. The pause instruction can be set by the user according to the needs, for example, a mouse clicks a left key, or a keyboard presses any key, or a voice input of 'please pause', etc. The terminal device may receive and recognize the suspension instruction by wired or wireless means. The pause instruction and the play instruction may be preset to the same input signal, or may be preset to different input signals, so that the pause instruction and the play instruction 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 the control field of the player, and the area for receiving and identifying the pause instruction is not limited to the area of the progress bar, so that the user can operate conveniently. 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 the area outside the image playing in the control column, for example, the bullet screen display area is preset as the area for receiving and identifying the pause instruction.
Step S453: receiving and identifying a progress adjusting instruction, controlling the state of the player to be a fast forward or fast backward playing state according to the progress adjusting instruction, and converting the second compression state progress bar into an extension state progress bar, wherein the extension 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 instructions may be preset as input signals corresponding to long-press sliding operation input by a mouse, for example, the terminal device is a smart phone, the progress adjustment instructions may be preset as input signals corresponding to finger-press sliding operation or touch-control sliding operation on a touch screen, and may also be input signals corresponding to voice input.
Step S50: detecting the final position of an anchor point, controlling the state of a player to be a playing state according to the final position of the anchor point, and converting an extension state progress bar into a first compression state progress bar.
In this embodiment, according to the type detection of the terminal device, for example, the terminal device such as a computer or a notebook computer, the position of the anchor point when the release operation after the long-time mouse pressing and sliding is detected is the final position of the detected anchor point, for example, the terminal device is a smart phone, the position of the anchor point when the finger pressing and sliding or the touch sliding operation on the touch screen is detected is the final position of the detected anchor point, and the time signal of the anchor point can be input as the final position of the detected anchor point by voice.
Referring to fig. 5, after step S430, a play command is received and identified and a play state is entered, which includes,
step S451: receiving and identifying a play command, controlling the state of the player to be a play state according to the play command, 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, etc., and the input operation may be pressed by a finger or a touch pen.
In this embodiment, different playing instructions are preset according to the type of the terminal device, for example, the playing instructions may be preset as input signals corresponding to clicking operations input by a mouse or a keyboard, for example, the playing instructions may be preset as input signals corresponding to finger pressure or touch clicking operations on a touch screen, and may also be input signals corresponding to voice input. The play command can be set by the user according to the needs, for example, a mouse clicks a left key, or a keyboard presses any key, or a voice input of "play" and the like. The terminal device can receive and recognize the play instruction in a wired or wireless mode.
In this embodiment, the area for receiving and identifying the play command includes all or part of the control field of the player, and the area for receiving and identifying the play command is not limited to the area of the progress bar, so that the user can operate conveniently. 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 the area outside the image playing in the control column, for example, the bullet screen display area is preset as the area for receiving and identifying the playing instruction.
Referring to fig. 6, after step S430, a progress adjustment command is received and identified and progress is adjusted, which includes,
step S453: receiving and identifying a progress adjusting instruction, controlling the state of the player to be a fast forward or fast backward playing state according to the progress adjusting instruction, and converting the second compression state progress bar into an extension state progress bar, wherein the extension 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 instructions may be preset as input signals corresponding to long-press sliding operation input by a mouse, for example, the terminal device is a smart phone, the progress adjustment instructions may be preset as input signals corresponding to finger-press sliding operation or touch-control sliding operation on a touch screen, and may also be input signals corresponding to voice input.
In this embodiment, the area for receiving and identifying the progress adjustment command includes all or part of the control field of the player, and the area for receiving and identifying the progress adjustment command is not limited to the area of the progress bar, so that the user can operate conveniently. For example, the lower half of the control bar may be preset as an area for receiving and recognizing the progress adjustment instruction according to the operation habit of the user. Or the area outside the image playing in the control column, for example, a bullet screen display area is preset as an area for receiving and identifying the progress adjusting instruction.
Step S50: detecting the final position of an anchor point, controlling the state of a player to be a playing state according to the final position of the anchor point, and converting an extension state progress bar into a first compression state progress bar.
In this embodiment, according to the type detection of the terminal device, for example, the terminal device such as a computer or a notebook computer, the position of the anchor point when the release operation after the long-time mouse pressing and sliding is detected is the final position of the detected anchor point, for example, the terminal device is a smart phone, the position of the anchor point when the finger pressing and sliding or the touch sliding operation on the touch screen is detected is the final position of the detected anchor point, and the time signal of the anchor point can be input as the final position of the detected anchor point by voice.
Referring to fig. 7, after step S30, the player enters a play state after progress adjustment, which includes,
step S50: detecting the final position of an anchor point, controlling the state of a player to be a playing state according to the final position of the anchor point, and converting an extension state progress bar into a first compression state progress bar.
In this embodiment, according to the type detection of the terminal device, for example, the terminal device such as a computer or a notebook computer, the position of the anchor point when the release operation after the long-time mouse pressing and sliding is detected is the final position of the detected anchor point, for example, the terminal device is a smart phone, the position of the anchor point when the finger pressing and sliding or the touch sliding operation on the touch screen is detected is the final position of the detected anchor point, and the time signal of the anchor point can be input as the final position of the detected anchor point by voice.
Referring to fig. 14, the present invention further provides a progress bar control system 1 of a player, which includes:
an input module 10 for receiving and identifying a play command, a pause command, and a progress adjustment command;
the detecting module 20 is configured to obtain a state of the player; the method is used for judging whether the state of the player is a fast forward or fast backward playing state; the method is used for judging whether the state of the player is a playing state or not; the method comprises the steps of detecting the final position of an anchor point;
the state management module 30 is configured to control the state of the player to be a play state according to the play command, control the state of the player to be a pause state according to the pause command, and control the state of the player to be a fast forward or fast backward play state according to the progress adjustment command; controlling the state of the player to be a playing state according to the final position of the anchor point;
the progress bar management module 40 is configured to compress and display or extend and display the progress bar in the corresponding state according to the state of the player. The second compression state 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 compression state progress bar into an extension state progress bar according to the progress adjusting instruction, wherein the extension 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 the fast forward or fast backward playing state, displaying a compressed state progress bar, reducing the display area of the progress bar and avoiding the visual interference of a user; 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 executing progress adjustment by a user is improved, and the user experience is improved. In addition, the invention only recognizes the pause instruction and does not recognize 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, thereby avoiding misoperation. The display content of the first compression state progress bar is the most concise, and when the state of the player is changed, the player is changed into the second compression state progress bar or the extension state progress bar so as to increase the display content or the display size. 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 only carried out in the pause state, the function modules of the user interface are reasonably arranged, and the user experience is improved. Furthermore, the area for receiving and identifying the pause instruction comprises all or part of the control column of the player, the area for receiving and identifying the progress adjustment instruction comprises all or part of the control column of the player, and the area for receiving and identifying the pause instruction or the area for receiving and identifying the progress adjustment instruction is not limited to the area of the progress bar, so that the operation of a user is facilitated.
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
and a processor 22 for calling the executable program code in the memory 21, wherein the execution steps include the above-mentioned progress bar control method of the player.
One processor 22 is illustrated in fig. 15.
The memory 21 is a non-volatile computer readable storage medium, and may be used to store a non-volatile software program, a non-volatile computer executable program, and a module, 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 of the computer device 2 and data processing by running nonvolatile software programs, instructions and modules stored in the memory 21, i.e., implements the progressive bar control method of the player of the above-described method embodiment.
The memory 21 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store playback information of the user at the computer device 2. In addition, 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 memory 21 remotely located relative to the processor 22, and these remote memory 21 may be connected to the progress bar control system 1 of the player via 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 the progress bar control method of the player in any of the method embodiments described above, for example, 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. Technical details not described in detail in this embodiment may be found in the methods provided in the embodiments of the present application.
The computer device 2 of the embodiments of the present application exists in a variety of forms including, but not limited to:
(1) A mobile communication device: such devices are characterized by mobile communication capabilities and are primarily aimed at providing voice, data communications. Such terminals include: smart phones (e.g., iPhone), multimedia phones, functional phones, and low-end phones, etc.
(2) Ultra mobile personal computer device: such devices are in the category of personal computers, having computing and processing functions, and generally also having mobile internet access characteristics. Such terminals include: PDA, MID, and UMPC devices, etc., such as iPad.
(3) Portable entertainment device: such devices may display and play multimedia content. The device comprises: audio, video players (e.g., iPod), palm game consoles, electronic books, and smart toys and portable car navigation devices.
(4) And (3) a server: the configuration of the server includes a processor, a hard disk, a memory, a system bus, and the like, and the server is similar to a general computer architecture, but is required to provide highly reliable services, and thus has high requirements in terms of processing capacity, stability, reliability, security, scalability, manageability, and the like.
(5) Other electronic devices with data interaction function.
Yet another embodiment of the present application also provides a non-transitory computer readable storage medium storing computer executable instructions that are executed by one or more processors, such as one of the processors 22 in fig. 15, to cause the one or more processors 22 to perform the method of controlling a progress bar of a player in any of the method embodiments described above, such as executing the programs of fig. 2-7 described above.
The apparatus embodiments described above are merely illustrative, wherein elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over at least two network elements. Some or all of the modules may be selected according to actual needs to achieve the purposes of the embodiments of the present application. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus a general purpose hardware platform, or may be implemented by hardware. Those skilled in the art will appreciate that all or part of the processes implementing the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and where the program may include processes implementing 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 (RandomAccessMemory, RAM), or the like.
Embodiment one: the playing instruction of the control player is the same as the pause instruction
The terminal equipment A requests a video file of the server W through a player, the video playing area is positioned in the middle of the screen when the player of the terminal equipment A is in a playing state, the control column is positioned at the periphery of the video playing area, the control column displays a compression state progress bar, the compression state progress bar at the moment is a first compression state progress bar, and the display content is minimum. When a user needs to perform progress adjustment on a progress bar of the player, a pause instruction is input through clicking of a mouse to enable the player to pause playing, a progress bar in a second compression state is displayed, the size of the progress bar is changed through dragging of the mouse to input the progress adjustment instruction, meanwhile, 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 the user needs to switch the pause state of the player to the play state, a play instruction is input through clicking the mouse so that the player can continue playing.
Embodiment two: the playing instruction and the pause instruction of the control player are different
The terminal equipment A requests a video file of the server W through a player, the video playing area is positioned in the middle of the screen when the player of the terminal equipment A is in a playing state, the control column is positioned at the periphery of the video playing area, the control column displays a compression state progress bar, the compression state progress bar at the moment is a first compression state progress bar, and the display content is minimum. When the user temporarily leaves 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 column 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 a first compression state progress bar is displayed.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. The method for controlling the progress bar of the 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 a first instruction on a control column of the player;
if not, displaying a compression state progress bar for acquiring a second instruction on a control column of the player;
the extended state progress bar is expanded in shape and size in proportion to the whole compressed state progress bar, the compressed state progress bar is compressed and displayed in a first area, 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.
2. The method according to claim 1, characterized in that: displaying a compression status progress bar for collecting a second instruction on a control field 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 column of the player;
if not, displaying a second compression state progress bar on a control column of the player.
3. The method according to claim 2, characterized in that: the first compression state progress bar comprises a bar-shaped filling progress bar which is highlighted from left to right, and the first compression state progress bar is displayed in the first area in a compressed mode.
4. The method according to claim 2, characterized in that: 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 periphery of the filling progress bar is provided with total duration and played duration, and the second compression state progress bar is displayed in the first area in a compressed mode.
5. The method according to claim 1, characterized in that: the extension state progress bar comprises a bar-shaped filling progress bar which is highlighted from left to right, an anchor point dragging mark is arranged on the filling progress bar, and anchor point duration is arranged on the periphery of the filling progress bar.
6. The method according to claim 5, wherein: the first region extends laterally to form the second region.
7. The method according to claim 1, characterized in that: after the step of displaying the extended state progress bar for collecting the first instruction in the control field of the player, the method further comprises,
detecting the final position of an 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 extension state progress bar into a compression state progress bar.
8. The method according to claim 2, characterized in that: the second instruction includes a play instruction and a pause instruction, and after the step of displaying the first compression status progress bar in the control field of the player, the method further includes,
and 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 according to claim 8, wherein: the area for receiving and identifying the pause instruction includes all or part of the control field of the player.
10. The method according to claim 2, characterized in that: the first instruction is a progress adjustment instruction, and after the step of displaying the progress bar of the second compression state in the control field of the player, the method further comprises,
receiving and identifying a progress adjusting instruction, controlling the state of the player to be a fast forward or fast backward playing state according to the progress adjusting instruction, and converting the second compression state progress bar into an extension state progress bar, wherein the extension state progress bar displays the position of an anchor point;
detecting the final position of an anchor point, controlling the state of a player to be a playing state according to the final position of the anchor point, and converting an extension state progress bar into a first compression state progress bar.
CN201910765390.4A 2019-08-19 2019-08-19 Progress bar control method of player Active CN112399259B (en)

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 CN112399259A (en) 2021-02-23
CN112399259B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112905147B (en) * 2021-02-25 2024-04-05 中消云(北京)物联网科技研究院有限公司 Player control method and device and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103069491A (en) * 2010-08-27 2013-04-24 三星电子株式会社 Method and apparatus for playing contents
CN104508746A (en) * 2013-06-08 2015-04-08 华为终端有限公司 Method for controlling multimedia browsing progress and terminal
CN105975178A (en) * 2016-04-27 2016-09-28 北京小米移动软件有限公司 Progress bar display method and apparatus

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101503714B1 (en) * 2008-02-05 2015-03-20 삼성전자주식회사 Method for providing GUI and multimedia device thereof
KR20110067492A (en) * 2009-12-14 2011-06-22 삼성전자주식회사 Method for providing gui and multimedia device thereof
CN103247310A (en) * 2012-02-14 2013-08-14 索尼爱立信移动通讯有限公司 Multimedia playing control method, playing control module and playing terminal
KR20130123053A (en) * 2012-05-02 2013-11-12 삼성전자주식회사 Method for searching replay point for multimedia and multimedia replay apparatus therefor
US9354797B2 (en) * 2013-01-14 2016-05-31 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
CN103279352A (en) * 2013-05-31 2013-09-04 北京小米科技有限责任公司 Multistage progress bar, progress control method and progress control device
CN104575549B (en) * 2013-10-18 2018-01-30 上海斐讯数据通信技术有限公司 A kind of method and device of positioning playing picture
CN103886882B (en) * 2014-03-17 2017-05-24 联想(北京)有限公司 Progress adjusting method and electronic device
CN104199611B (en) * 2014-08-29 2017-07-28 广东欧珀移动通信有限公司 A kind of mobile terminal adjusts the method and device of playing progress rate
CN105472469B (en) * 2015-12-08 2018-11-02 小米科技有限责任公司 Video playing progress adjustment method and device
CN105916038A (en) * 2016-04-19 2016-08-31 乐视控股(北京)有限公司 Video adjustment method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103069491A (en) * 2010-08-27 2013-04-24 三星电子株式会社 Method and apparatus for playing contents
CN104508746A (en) * 2013-06-08 2015-04-08 华为终端有限公司 Method for controlling multimedia browsing progress and terminal
CN105975178A (en) * 2016-04-27 2016-09-28 北京小米移动软件有限公司 Progress bar display method and apparatus

Also Published As

Publication number Publication date
CN112399259A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN109147784B (en) Voice interaction method, device and storage medium
US10860857B2 (en) Method for generating video thumbnail on electronic device, and electronic device
CN108984081A (en) A kind of searched page exchange method, device, terminal and storage medium
US20150185980A1 (en) Method and device for switching screens
WO2017181598A1 (en) Method and device for playing video
US11705120B2 (en) Electronic device for providing graphic data based on voice and operating method thereof
CN107438204B (en) Method for circularly playing media file and mobile terminal
CN106303733B (en) Method and device for playing live special effect information
CN105812941A (en) Video playing method and device and electronic equipment
US20170168705A1 (en) Method and electronic device for adjusting video progress
US20190146749A1 (en) Sound effect processing method and mobile terminal
EP3584710B1 (en) Method and apparatus for controlling display of mobile terminal, and storage medium
US9986266B2 (en) Method, apparatus and system for playing multimedia file
US20150236806A1 (en) Method for sharing and playing multimedia content and electronic device implementing the same
US20150331598A1 (en) Display device and operating method thereof
US20170180807A1 (en) Method and electronic device for amplifying video image
CN111831205B (en) Device control method, device, storage medium and electronic device
US20150363091A1 (en) Electronic device and method of controlling same
CN111462744A (en) Voice interaction method and device, electronic equipment and storage medium
CN110691281A (en) Video playing processing method, terminal device, server and storage medium
CN109842820B (en) Barrage information input method and device, mobile terminal and readable storage medium
US10691717B2 (en) Method and apparatus for managing data
JP7058795B2 (en) Video processing methods, devices, terminals and storage media
CN103500122A (en) Multimedia file playing method and electronic equipment
CN112399259B (en) Progress bar control method of player

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