Progress adjustment method, apparatus, electronic equipment, and storage medium
By enlarging the progress bar in response to user interaction and adjusting the progress accordingly, the method addresses the challenge of controlling small progress bars, enhancing user experience and usability.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2022-08-05
- Publication Date
- 2026-06-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The difficulty in controlling a progress bar with a small height leads to accidental triggers and deteriorates the user experience during video playback.
A method and device that enlarges the progress bar in response to user interaction and adjusts the progress accordingly, stopping the adjustment when the interaction ends, to facilitate easier control.
Enhances user experience by making it easier to control the progress bar, reducing accidental triggers and improving usability.
Smart Images

Figure 0007880409000001 
Figure 0007880409000002 
Figure 0007880409000003
Abstract
Description
Technical Field
[0001] [Cross - reference to Related Applications] This application claims the priority of a Chinese patent application with application number 202110950552.9, filed with the Chinese Patent Office on August 18, 2021, and all the contents of the said application are incorporated herein by reference.
[0002] Embodiments of the present disclosure relate to the field of computer technology, for example, to a progress adjustment method, apparatus, electronic device, and storage medium.
Background Art
[0003] Currently, in order to avoid overly blocking the video screen, generally, the height of the progress bar of the video is set to a small height value.
[0004] However, when the height of the progress bar is small, it becomes difficult for the user to control the progress bar, and it is easy to cause accidental triggers for other controls, deteriorating the user experience when adjusting the video playback progress.
Summary of the Invention
[0005] Embodiments of the present disclosure provide a progress adjustment method, apparatus, electronic device, and storage medium for reducing the difficulty of controlling a progress bar.
[0006] According to a first aspect, embodiments of the present disclosure receive a progress adjustment operation acting on the progress bar of a target object, [[ID=三十六]] in response to the progress adjustment operation, expand the size of the progress bar and adjust the progress of the target object according to the progress adjustment operation, and in response to determining that the trigger of the progress adjustment operation has ended, stop adjusting the progress of the target object according to the progress adjustment operation. A progress adjustment method is provided.
[0007] According to the second aspect, embodiments of this disclosure are An adjustment operation receiving module is provided to accept progress adjustment operations that act on the progress bar of the target object, A progress adjustment module is provided to enlarge the size of the progress bar in response to the progress adjustment operation and to adjust the progress of the target object according to the progress adjustment operation, The progress adjustment device further includes an adjustment stop module, which is configured to stop adjusting the progress of the target object in response to the determination that the trigger for the progress adjustment operation has ended.
[0008] According to a third aspect, embodiments of this disclosure are One or more processors, A memory provided for storing one or more programs, The present invention further provides an electronic device that, when the one or more programs are executed by the one or more processors, causes the one or more processors to implement the progress adjustment method described in the embodiments of this disclosure.
[0009] In a fourth aspect, embodiments of the present disclosure further provide a computer-readable storage medium storing a computer program that, when executed by a processor, enables the progress adjustment method described in embodiments of the present disclosure. [Brief explanation of the drawing]
[0010] [Figure 1] A schematic diagram showing the flow of the progress adjustment method according to the embodiments of this disclosure. [Figure 2] A schematic diagram illustrating the flow of another progress adjustment method according to an embodiment of this disclosure. [Figure 3] A schematic diagram of the progress bar display method according to the embodiment of this disclosure. [Figure 4] A schematic diagram of another progress bar display method according to an embodiment of the present disclosure. [Figure 5]A schematic diagram of yet another progress bar display method according to an embodiment of the present disclosure. [Figure 6] Block diagram of a progress adjustment device according to an embodiment of the present disclosure. [Figure 7] A schematic diagram of the configuration of an electronic device according to an embodiment of the present disclosure. [Modes for carrying out the invention]
[0011] It should be understood that the steps described in the embodiments of the method of this disclosure may be performed in a different order and / or in parallel. Furthermore, embodiments of the method may include additional steps and / or omit the performance of the indicated steps. The scope of this disclosure is not limited in this respect.
[0012] As used herein, the term “including” and its variations are open inclusions, meaning “including, but not limited to.” The term “based on” means “based at least partially.” The term “one embodiment” means “at least one embodiment,” the term “another embodiment” means “at least one other embodiment,” and the term “several embodiments” means “at least several embodiments.” Relevant definitions of other terms are given in the following explanation.
[0013] Furthermore, the concepts of “first,” “second,” etc., as used in this disclosure are merely for the purpose of distinguishing different devices, modules, or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules, or units.
[0014] Furthermore, the modifications of “one” and “multiple” as described in this disclosure are schematic and not restrictive. Unless otherwise specified, it will be obvious to those skilled in the art that they should be understood as “one or more.”
[0015] The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are merely illustrative and do not limit the scope of these messages or information.
[0016] FIG. 1 is a schematic diagram showing the flow of a progress adjustment method according to an embodiment of the present disclosure. The method may be executed by a progress adjustment device. Here, the device may be implemented by software and / or hardware, and may be arranged in an electronic device, for example, arranged in a mobile phone or a tablet. The progress adjustment method according to the embodiment of the present disclosure is applicable to a scenario where progress adjustment is performed by a progress bar. As shown in FIG. 1, the progress adjustment method according to this embodiment may include the following steps. S101: Receive a progress adjustment operation acting on the progress bar of the target object.
[0017] Here, the target object is an object having a progress bar, that is, an object whose presentation progress is adjusted by the progress bar, for example, a video, an audio, or a document. The audio may include music, an audiobook, a recording, etc., and the document may be a novel or an article. Hereinafter, the case where the target object is a video will be described as an example. The progress adjustment operation is an operation for adjusting the presentation progress of the target object, for example, an operation for adjusting the playback progress of a video, and may be a drag operation and / or a tap operation acting on the progress bar.
[0018] Taking the case where the target object is a video as an example, the electronic device plays the video on the video playback page and displays the progress bar of the video. When the user wants to adjust the playback progress of the video, the user may execute a progress adjustment operation acting on the progress bar of the video, for example, drag the slider in the progress bar or tap a response position of the progress bar. The electronic device can receive the progress adjustment operation by the user.
[0019] In this embodiment, the progress adjustment operation can be set according to needs. For example, the progress adjustment operation may include a target slide operation that acts on a predetermined response area of the progress bar and whose slide direction is parallel to the moving direction of the slider in the progress bar.
[0020] Here, the predetermined response area is a preset response area of the progress bar, and it may be larger than the display area occupied by the progress bar when no progress adjustment operation is received. For example, the size value in the direction perpendicular to the moving direction of the slider of the progress bar may be larger than the size value in the direction perpendicular to the moving direction of the slider of the progress bar when no progress adjustment operation is received. That is, when the progress bar is displayed in the form of a horizontal bar, the height of the predetermined response area may be larger than the height of the progress bar when no progress adjustment operation is received. For example, the height of the predetermined response area may be set to the display height of the progress bar expanded according to the progress adjustment operation. By setting a relatively wide response area for the progress bar, it is possible to facilitate the triggering of the progress bar by the user and reduce the difficulty of controlling the progress bar.
[0021] When adjusting the progress of the target object, the moving direction of the slider in the progress bar can be regarded as the moving direction of the slider in that progress bar. For example, when the progress bar is displayed in the form of a horizontal bar, the slider can move horizontally, and the target slide operation may be a horizontal slide operation that acts on a predetermined response area of the progress bar. When the progress bar is displayed in the form of a vertical bar, the slider can move vertically, and the target slide operation may be a vertical slide operation that acts on a predetermined response area of the progress bar. Hereinafter, the case where the progress bar is displayed in the form of a horizontal bar will be taken as an example for explanation.
[0022] For example, if a user wants to adjust the progress of a target object, they may perform a lateral sliding operation on a predetermined response area of the target object's progress bar, for example, by sliding to the left or to the right within the predetermined response area. When the electronic device detects a lateral sliding operation by the user, it may determine that it has received an operation to adjust the progress of the target object.
[0023] In this embodiment, after setting a relatively wide response area for the progress bar, it is not necessary to change the response areas of other controls on the page that respond only to tap operations, other than the progress bar. In this case, since the response area of the progress bar may overlap with the response areas of other controls on the page, the progress bar may be configured not to respond to tap operations that act on its response area. Alternatively, the progress bar may be configured to respond only to tap operations that act on a non-overlapping sub-area, which is an area within its response area that does not overlap with the response area of any one other control. For example, if an electronic device receives a tap operation that acts on the response area of the progress bar and acts only on the response area of the progress bar, it will determine that a progress adjustment operation has been received. Furthermore, if the electronic device receives a tap operation that acts on the response area of the progress bar but does not act only on the response area of the progress bar, it will determine that the tap operation is acting on another control and may trigger the other control corresponding to the response area where the tap operation is located. However, this embodiment does not impose any limitations on this.
[0024] S102: In response to the progress adjustment operation, the size of the progress bar is enlarged and the progress of the target object is adjusted according to the progress adjustment operation.
[0025] In this embodiment, when the user triggers a progress bar on a target, the display size of the progress bar may be enlarged, for example, by increasing the display height and / or display width of the progress bar, to facilitate the user's viewing and control of the progress bar.
[0026] For example, when an electronic device performs a progress adjustment operation on a target object, it may enlarge the size of the target object's progress bar. For example, the progress bar of the target object may be enlarged to a preset, relatively large size, and the progress of the target object may be adjusted in response to the progress adjustment operation. For example, the slider on the target object's progress bar may move in response to the user's target slide operation, and during the movement, the progress of the target object may be updated in real time based on the progress node corresponding to the slider's current position.
[0027] S103: In response to the determination that the trigger for the progress adjustment operation has ended, the adjustment of the progress of the target object in accordance with the progress adjustment operation is stopped.
[0028] For example, upon detecting the end of a progress adjustment operation trigger, the system may stop adjusting the progress of the target object in response to the progress adjustment operation, for instance, by stopping the control of the slider on the target object's progress bar to move in response to the target slide operation.
[0029] To make it easier to understand, if the target is a video, the progress of the video playback may be displayed by a progress bar when the trigger for the progress adjustment operation ends and the video starts playing. For example, during video playback, the position of the slider in the progress bar may be adjusted in real time based on the time node in which the video is currently playing, and the position of the slider may indicate the current playback progress of the video.
[0030] Furthermore, once the user has finished adjusting, or after a predetermined time has elapsed since the user finished adjusting, the progress bar may be reduced in size to make it easier for the user to confirm the target object.
[0031] For example, two different display sizes, such as the original size and the enlarged size, may be pre-set for the target progress bar. When a progress adjustment operation is received, the target progress bar may be enlarged from the original size to the enlarged size. When it is detected that the user has stopped sliding, the target progress bar may be reduced from the enlarged size to the original size.
[0032] In one embodiment, receiving the progress adjustment operation acting on the progress bar of a target object, as described above, includes the following: the parent layout sequentially receiving a press event and a move event acting on the predetermined response area, sequentially transmitting the press event and the move event to a first child view corresponding to the progress bar, the first child view expanding the size of the progress bar in response to the press event and adjusting the progress of the target object in response to the move event; and the parent layout continuing to receive a release event corresponding to the move event, transmitting the release event to the first child view, the first child view determining that the trigger for the progress adjustment operation has ended in response to the release event.
[0033] In the above embodiment, the page may have one parent view and multiple child views. The first child view may be a child view corresponding to the target progress bar. The movement event may be a movement event whose direction of movement is parallel to the direction of movement of the slider on the progress bar.
[0034] For example, when a page's parent layout receives a Down event and a Move event corresponding to the Down event (i.e., a Move event belonging to the same trigger operation as the Down event) acting on a predetermined response area of a progress bar, that is, when it determines that the Down event is a Slide event and not a Tap event, it may sequentially send the Down event and the Move event to the child view corresponding to the target progress bar, and when it receives a Release (Up) event belonging to the same trigger operation as the Down and Move events, it may send the Release event to the target progress bar.
[0035] When a child view corresponding to a target progress bar receives a press event from its parent layout, it may enlarge the size of the target progress bar. For example, it may enlarge the size of the target progress bar in the direction perpendicular to the direction of movement of the slider in the progress bar to a first size value. When it receives a move event from its parent layout, it may control the slider in the target progress bar to move along the direction of the move event to adjust the progress of the target. When it receives a release event from its parent layout, it may determine that the trigger for the progress adjustment operation has ended and stop adjusting the progress of the target in response to the progress adjustment operation, and may further reduce the size of the target progress bar. For example, it may reduce the size of the target progress bar in the direction perpendicular to the direction of movement of the slider in the progress bar from a first size value to a second size value.
[0036] Furthermore, when the parent layout of a page receives a Down event acting on a predetermined response area of a progress bar, it can determine that the Down event is a Tap event and not a Slide event if the next event belonging to the same trigger operation as the received Down event is a Release event and not a Move event. In this case, if the Down event acts on the overlapping area between the response area of the target progress bar and the response area of another control on the page, the Down event and the Release event may be sequentially sent to the child view corresponding to the other control so that the other control responds to the Down event and the Release event.
[0037] In this case, for example, the progress adjustment method according to this embodiment further includes, in response to the parent layout sequentially receiving press events and release events acting on the predetermined response area, determining that the press events and release events act on the overlapping area between the predetermined response area and the target response area, sequentially transmitting the press events and release events to a second child view to which the target response area belongs, and the second child view responding to the press events and release events. Here, the second child view is a child view corresponding to another control to which a response area other than the predetermined response area on which the press event acts belongs. That is, when the press event acts on the overlapping area between the response area of the progress bar and the response area of another control, the second child view is a child view corresponding to the other control.
[0038] Furthermore, in response to the determination that the press event acts on a sub-region of the target progress bar's response area that does not overlap with the response areas of any other control, the parent layout may not distribute the press event and the release event. The press event and the release event may be sequentially sent to the child view corresponding to the target progress bar. Upon receiving the press event sent from the parent layout, the child view corresponding to the target progress bar may enlarge the size of the target progress bar and move the slider on the progress bar to the position where the press event acts. Upon receiving the release event sent from the parent layout, the target progress bar may determine that the trigger for the progress adjustment operation has ended.
[0039] In the above embodiment, when the parent layout receives a press event, it does not immediately determine the child view to which the press event belongs and send it to that child view. Instead, it waits until it receives the next event that occurs after the press event (e.g., a move event or a release event), that is, until it has determined the type of trigger operation to which the press event belongs (e.g., a slide operation or a tap operation), then determines the child view to which it belongs based on the type of trigger operation, and sends it to that child view. This avoids situations where false triggers occur or the progress bar cannot be triggered when the press event acts on the overlapping area between the response area of the target progress bar and the response areas of other controls on the page, thereby improving the user experience when adjusting the progress bar.
[0040] The progress adjustment method according to this embodiment accepts a progress adjustment operation acting on the progress bar of a target object, and in response to the progress adjustment operation, enlarges the size of the progress bar of the target object, adjusts the progress of the target object according to the progress adjustment operation, and stops adjusting the progress of the target object according to the progress adjustment operation when the trigger for the progress adjustment operation ends. In this embodiment, by adopting the above technical proposal, the size of the progress bar is enlarged when a progress adjustment operation is accepted. This makes it easy for the user to check the progress bar and adjust the progress, reduces the difficulty of controlling the progress bar, and improves the user experience when adjusting the progress.
[0041] Figure 2 is a schematic diagram showing a flow of another progress adjustment method according to an embodiment of the present disclosure. The embodiments in this embodiment may be combined with one or more exemplary embodiments of the embodiments described above. For example, the enlargement of the progress bar as described above includes enlarging the size of the progress bar in a predetermined direction to a first size value, the predetermined direction being perpendicular to the direction of movement of the slider in the progress bar.
[0042] For example, the progress adjustment method according to this embodiment further includes reducing the size of the progress bar in the predetermined direction from the first size value to the second size value when the trigger for the progress adjustment operation ends.
[0043] For example, the process further includes reducing the size of the progress bar in the predetermined direction from the first size to the second size, in response to the determination that no trigger operation acting on the progress bar has been received again within a predetermined period, the size of the progress bar in the predetermined direction from the second size to the third size, wherein the trigger operation includes the progress adjustment operation.
[0044] For example, the target object includes a video, and adjusting the progress of the target object in response to the progress adjustment operation described above includes adjusting the playback progress of the video in response to the progress adjustment operation.
[0045] As shown in Figure 2, the progress adjustment method according to this embodiment may include the following steps. S201: Accepts progress adjustment operations that affect the progress bar of the target object, including video. S202: In response to the progress adjustment operation, the size of the progress bar in a predetermined direction is increased to a first size value, and the playback progress of the video is adjusted according to the progress adjustment operation, wherein the predetermined direction is perpendicular to the direction of movement of the slider on the progress bar.
[0046] In this embodiment, when a progress adjustment operation is received for the video being played on the video playback page, the video progress bar 30 high Sawo By displaying a relatively large height value, i.e., a first size value (as shown in Figure 3), it is ensured that the user can clearly see the progress bar 30 and adjust the video playback progress using the progress bar 30.
[0047] For example, if the progress bar 30 is displayed as a horizontal bar and the progress adjustment operation is a target slide operation, the electronic device, upon receiving a progress adjustment operation for the video being played on the video playback page, may respond to the operation by increasing the height of the progress bar 30 from a second size value (as shown in Figure 4) or a third size value (as shown in Figure 5) before the progress adjustment operation was received to a first size value (as shown in Figure 2), thereby controlling the slider 31 on the progress bar 30 to move along the slide direction of the target slide operation. During this movement, the playback progress of the video may be adjusted in real time to the time node corresponding to the position of the slider 31 at the current time, up to the end position of the slide of the target slide operation. Here, the first size value is greater than the second size value, and the second size value is greater than the third size value. The specific sizes of the first size value, the second size value, and the third size value can be set as needed, and this embodiment does not limit them.
[0048] Furthermore, as shown in Figures 3 to 5, after enlarging the size of the video progress bar 30 in a predetermined direction to a first size, the display of controls other than the progress bar 30 in the video (e.g., share control, comment control, like control, background music control, etc. in Figures 3 to 5) and related information of the target displayed on the page (e.g., video uploader information or video information, etc.) may be canceled, and the display of page controls on the page (e.g., homepage control for instructing the electronic device to display the homepage, friend control for instructing the electronic device to display the friend page, message control for instructing the electronic device to display the message page, etc. in Figures 3 to 5) may be weakened. This prevents the display of related information or other controls from interfering with the user's confirmation of the progress bar 30 or control of the slider 31 on the progress bar 30, further improving user convenience when adjusting video progress.
[0049] S203: In response to the determination that the trigger for the progress adjustment operation has ended, the adjustment of the progress of the target object in accordance with the progress adjustment operation is stopped, and the size of the progress bar in the predetermined direction is reduced from the first size value to the second size value.
[0050] In this embodiment, when the user stops executing the progress adjustment operation, the size of the progress bar in a predetermined direction may be temporarily reduced from the first size to a size value smaller than the first size value and larger than the third size value, i.e., a second size value. This allows the user to satisfy both the need to confirm the target object and the need to perform the progress adjustment operation again in a short time.
[0051] Taking the case where the progress bar 30 is presented in the form of a horizontal bar as an example, as shown in Figure 3, when the electronic device receives a progress adjustment operation, it may enlarge the height of the target progress bar 30 to a first size value and adjust the progress of the target in accordance with the progress adjustment operation. Furthermore, as shown in Figure 4, when it detects the end of the progress adjustment operation, it may stop adjusting the progress of the target in accordance with the progress adjustment operation and reduce the height of the target progress bar 30 from the first size value to a second size value.
[0052] S204: In response to the determination that no further trigger operation acting on the progress bar has been received within a predetermined period, the size of the progress bar in the predetermined direction is reduced from the second size to the third size, and the trigger operation includes the progress adjustment operation.
[0053] In this embodiment, if the user does not trigger the progress bar for an extended period, for example, if the user does not perform the progress adjustment operation again for an extended period, the size of the progress bar in a predetermined direction may be reduced again. This reduces the obstruction of the target object by the progress bar as much as possible, providing the user with convenience when confirming the target object.
[0054] Taking the case where the progress bar 30 is presented as a horizontal bar as an example, the electronic device, as shown in Figure 4, upon detecting the completion of a progress adjustment operation, may reduce the height of the target progress bar 30 from a first size value to a second size value, and, as shown in Figure 5, may continuously detect whether a progress adjustment operation for the video has been accepted again, and in response to determining that a progress adjustment operation for the target has not been accepted again within a predetermined period, may again reduce the height of the target progress bar 30, reducing the target progress bar 30 from a second size value to a third size value. Here, the predetermined period may be set according to the needs. For example, the predetermined period may be set to a period such as 1 second or 2 seconds. The trigger operation may include a progress adjustment operation, and may further include operations that are not progress adjustment operations acting on the progress bar.
[0055] In response to the determination that a progress adjustment operation for the target object has been accepted again within a predetermined period, the height of the progress bar for the target object may be increased from the second size value to the first size value, and the progress adjustment may be performed again for the target object in accordance with the progress adjustment operation. In response to the determination that a progress adjustment operation for the target object has been accepted again after a longer period than the predetermined period has elapsed, the height of the progress bar for the target object may be increased from the third size value to the first size value, and the progress adjustment may be performed again for the target object in accordance with the progress adjustment operation.
[0056] To make it easier to understand, in this embodiment, in addition to adjusting the size of the target progress bar, the display brightness and / or display color of the target progress bar may also be adjusted. Taking the case of adjusting the display brightness as an example, when the electronic device receives a progress adjustment operation, it expands the height of the target progress bar to a first size value, adjusts the display brightness of the target progress bar from a preset first brightness value to a preset second brightness value, adjusts the progress of the target in accordance with the progress adjustment operation, and when it detects the end of the trigger for the progress operation, it reduces the height of the target progress bar from the first size value to the second size value, and if no further trigger operation acting on the progress bar is received within a predetermined period, it reduces the height of the target progress bar from the second size value to a third size value, and adjusts the display brightness of the target progress bar from the second brightness value to a preset second 1 The brightness value may be adjusted to . Here, the first brightness value is smaller than the second brightness value.
[0057] The progress adjustment method according to this embodiment expands the size of the target progress bar in a predetermined direction to a first size value when a progress adjustment operation is received. When the end of the trigger for the progress adjustment operation is detected, the size of the target progress bar in a predetermined direction is reduced from the first size value to a second size value. When a predetermined period is reached during which no trigger operation acting on the progress bar is detected, the size of the target progress bar in a predetermined direction is reduced from the second size value to a third size value. By adopting the above-described technology, this embodiment can satisfy both the user's need to confirm the target and the need to perform the progress adjustment operation again in a short time, thereby further improving user convenience when adjusting the progress of the target.
[0058] Figure 6 is a block diagram of a progress adjustment device according to an embodiment of the present disclosure. The device may be implemented by software and / or hardware, and may be installed on an electronic device, for example, on a mobile phone or tablet. By performing a progress adjustment method, the progress of the target object and the size of the progress bar of the target object can be adjusted. As shown in Figure 6, the progress adjustment device according to this embodiment may include an adjustment operation reception module 601, a progress adjustment module 602, and an adjustment stop module 603. Of these, The adjustment operation reception module 601 is provided to receive progress adjustment operations that act on the progress bar of the target object. The progress adjustment module 602 is provided to enlarge the size of the progress bar in response to the progress adjustment operation and to adjust the progress of the target object according to the progress adjustment operation. The adjustment stop module 603 is configured to stop adjusting the progress of the target object in response to the progress adjustment operation when the trigger for the progress adjustment operation ends.
[0059] The progress adjustment device according to this embodiment receives progress adjustment operations acting on the progress bar of a target object via an adjustment operation reception module, and in response to the progress adjustment operation, the progress adjustment module enlarges the size of the progress bar of the target object and adjusts the progress of the target object according to the progress adjustment operation, and when the trigger for the progress adjustment operation ends, the adjustment stop module stops adjusting the progress of the target object according to the progress adjustment operation. In this embodiment, by adopting the above technical proposal, the size of the progress bar is enlarged when a progress adjustment operation is received. This provides the user with convenience when checking the progress bar and making progress adjustments, reduces the difficulty of controlling the progress bar, and improves the user experience when making progress adjustments.
[0060] In the above configuration, the progress adjustment module 602 may be provided to enlarge the size of the progress bar in a predetermined direction to a first size value, wherein the predetermined direction is perpendicular to the direction of movement of the slider in the progress bar.
[0061] In the above configuration, the adjustment stop module 603 may further be configured to reduce the size of the progress bar in the predetermined direction from the first size value to the second size value when the trigger for the progress adjustment operation ends.
[0062] For example, the progress adjustment device according to this embodiment may further include a progress bar reduction module that reduces the size of the progress bar in the predetermined direction from the second size to the third size in response to the determination that no trigger operation acting on the progress bar has been received again within a predetermined period, after reducing the size of the progress bar in the predetermined direction from the first size to the second size, wherein the trigger operation includes the progress adjustment operation.
[0063] In the above configuration, the target object may include a video, and the progress adjustment module 602 may be provided to adjust the playback progress of the video in accordance with the progress adjustment operation.
[0064] In the above configuration, the progress adjustment operation may include a target slide operation that acts on a predetermined response area of the progress bar and whose slide direction is parallel to the direction of movement of the slider on the progress bar.
[0065] In the above configuration, the adjustment operation reception module 601 may be configured such that, in response to the parent layout sequentially receiving press events and movement events acting on the predetermined response area, it sequentially transmits the press events and movement events to a first child view corresponding to the progress bar, the first child view expands the size of the progress bar in response to the press event, adjusts the progress of the target in response to the movement event, the parent layout continues to receive release events corresponding to the movement event, transmits the release events to the first child view, and the first child view determines in response to the release event that the trigger for the progress adjustment operation has ended.
[0066] For example, the progress adjustment device according to this embodiment may further include a tap operation receiving module provided to respond to the press event and the release event by the second child view to which the target response area belongs, in response to the parent layout sequentially receiving press events and release events acting on the predetermined response area, and determining that the press event and the release event act on the overlapping area between the predetermined response area and the target response area.
[0067] The progress adjustment device according to the embodiments of this disclosure can perform the progress adjustment method according to any embodiment of this disclosure and has a functional module and beneficial effects corresponding to the performance of the progress adjustment method. For technical details not described in detail in this embodiment, refer to the progress adjustment method according to any embodiment of this disclosure.
[0068] Referring below to Figure 7, which shows a schematic diagram of the structure of an electronic device (e.g., terminal device) 700 suitable for realizing an embodiment of the present disclosure. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile devices such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 7 is merely an example and does not impose any limitations on the functions and scope of the embodiments of the present disclosure.
[0069] As shown in Figure 7, the electronic device 700 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 701 which stores a program or memory in a read-only memory (ROM) 702. 708 The program loaded into the random access memory (RAM) 703 can execute multiple appropriate operations and processes. The RAM 703 also stores various programs and data necessary for operating the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are interconnected via the bus 704. The input / output (I / O) interface 705 is also connected to the bus 704. Generally, the device includes an input device 706, such as a touchscreen, touch panel, keyboard, mouse, camera, microphone, accelerometer, and gyroscope; an output device 707, such as a liquid crystal display (LCD), speaker, and oscillator; and a storage device, such as magnetic tape and hard disk. 708 The communication device 709 may also be connected to the I / O interface 705. The communication device 709 enables the electronic device 700 to exchange data with other devices via wireless or wired communication. Figure 7 shows an electronic device 700 with multiple types of devices, but it should be understood that there is no intention to require that all of the shown devices be implemented or provided. More or less of the devices may be implemented or provided instead.
[0070] For example, according to embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product which includes a computer program containing program code provided to perform the method shown in the flowchart, which is contained on a non-temporary computer-readable medium. In such embodiments, the computer program is downloaded and installed from a network by a communication device 709 or stored in a storage device. 708 It may be installed from or from ROM 702. When the computer program is executed by the processing unit 701, it performs the functions limited to those described in the embodiments of this disclosure.
[0071] In this disclosure, the computer-readable medium may be a computer-readable signal medium, a computer-readable storage medium, or any combination thereof. The computer-readable storage medium may, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specifically, the computer-readable storage medium may include, but is not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which can be used in or in combination with a command execution system, apparatus, or device. In this disclosure, the computer-readable signal medium may include a data signal propagated in the baseband or a data signal propagated as part of a carrier wave, which contains computer-readable program code. The data signals propagated in this manner may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium may further be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may transmit, propagate, or transmit programs used in or in combination with command execution systems, apparatus, or devices. The program code contained in the computer-readable medium can be transmitted by any suitable medium, including but not limited to electric wires, optical cables, RF (radio frequency), or any suitable combination thereof.
[0072] In some embodiments, clients and servers can communicate using any currently known or future-developed network protocol, such as HTTP (HyperText Transfer Protocol), and can interconnect with digital data communications (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0073] The computer-readable medium described above may be included in the electronic device described above, or it may be a standalone medium not implemented in the electronic device.
[0074] The computer-readable medium described above carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is instructed to accept progress adjustment operations that act on the progress bar of a target object, to enlarge the size of the progress bar in response to the progress adjustment operations and adjust the progress of the target object in accordance with the progress adjustment operations, and to stop adjusting the progress of the target object in accordance with the progress adjustment operations when the trigger for the progress adjustment operations ends.
[0075] Computer program code for performing the operations disclosed herein can be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, and C++, and also general procedural programming languages such as the "C" language or similar programming languages. The program code can run entirely on a user computer, partially on a user computer, as a standalone software package, partially on a user computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user computer by any network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (for example, via the Internet using an Internet service provider).
[0076] The flowcharts and block diagrams in the attached drawings illustrate the implementable system architectures, functions, and operations of systems, methods, and computer program products relating to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. In some implementations as substitutions, the functions represented in a block may be implemented in a different order than those shown in the drawings. For example, two consecutively shown blocks may be executed substantially simultaneously, or, depending on the function, they may be executed in reverse order. It should be noted that each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, may be implemented by a dedicated system based on hardware that performs a specified function or operation, or by a combination of dedicated hardware and computer instructions.
[0077] The units according to the embodiments of this disclosure may be implemented in software or in hardware. Here, the name of the module may not be limited to the unit itself.
[0078] The functions described herein may be performed by at least partially one or more hardware logic components. For example, exemplary hardware logic components that can be used include, but are not limited to, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standards (ASSPs), systems-on-a-chip (SOCs), and complex-programmable logic devices (CPLDs).
[0079] In the context of this disclosure, a machine-readable medium may be a tangible medium that contains or stores a program used by or in combination with a command execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0080] According to one or more embodiments of this disclosure, Example 1 is: It accepts progress adjustment operations that affect the target progress bar, In response to the aforementioned progress adjustment operation, the size of the progress bar is enlarged, and the progress of the target object is adjusted according to the progress adjustment operation. The present invention provides a progress adjustment method that includes stopping the adjustment of the progress of the target object in response to the determination that the trigger for the progress adjustment operation has ended.
[0081] According to one or more embodiments of this disclosure, Example 2 shows that, in the method described in Example 1, the size of the progress bar described above is increased. This includes increasing the size of the progress bar in a predetermined direction to a first size value, wherein the predetermined direction is perpendicular to the direction of movement of the slider in the progress bar.
[0082] According to one or more embodiments of this disclosure, Example 3 is the method described in Example 2, In response to the determination that the trigger for the progress adjustment operation has ended, the method further includes reducing the size of the progress bar in the predetermined direction from the first size value to the second size value.
[0083] According to one or more embodiments of the present disclosure, Example 4, in the method of Example 3, after reducing the size of the progress bar in the predetermined direction from the first size value to the second size value, In response to the determination that no further trigger operation acting on the progress bar has been received within a predetermined period, the system further includes reducing the size of the progress bar in the predetermined direction from the second size to the third size, wherein the trigger operation includes the progress adjustment operation.
[0084] According to one or more embodiments of this disclosure, Example 5 is the method of Example 1, wherein the target object includes a video, and the progress of the target object is adjusted in accordance with the progress adjustment operation described above. This includes adjusting the playback progress of the video in accordance with the aforementioned progress adjustment operation.
[0085] According to one or more embodiments of the present disclosure, Example 6 is a method according to any one of Examples 1 to 5, wherein the progress adjustment operation includes a target slide operation that acts on a predetermined response area of the progress bar and whose slide direction is parallel to the direction of movement of the slider on the progress bar.
[0086] According to one or more embodiments of this disclosure, Example 7 accepts the progress adjustment operation acting on the target progress bar as described above, in the method of Example 6. In response to the parent layout sequentially receiving press events and movement events acting on the predetermined response area, the press events and movement events are sequentially transmitted to a first child view corresponding to the progress bar, and the first child view, in response to the press event, enlarges the size of the progress bar, and in response to the movement event, adjusts the progress of the target object. The parent layout continues to receive release events corresponding to the move events, sends the release events to the first child view, and the first child view, in response to the release events, determines that the trigger for the progress adjustment operation has ended.
[0087] According to one or more embodiments of this disclosure, Example 8 is the method of Example 7, The parent layout, in response to sequentially receiving press events and release events acting on the predetermined response area, determines that the press events and release events act on the overlapping area between the predetermined response area and the target response area, further includes sequentially transmitting the press events and release events to a second child view to which the target response area belongs, and the second child view responding to the press events and release events.
[0088] According to one or more embodiments of this disclosure, Example 9 is, An adjustment operation receiving module is provided to accept progress adjustment operations that act on the progress bar of the target object, A progress adjustment module is provided to enlarge the size of the progress bar in response to the progress adjustment operation and to adjust the progress of the target object according to the progress adjustment operation, The present invention provides a progress adjustment device that includes an adjustment stop module, which is provided to stop adjusting the progress of the target object in response to the progress adjustment operation when the trigger for the progress adjustment operation ends.
[0089] According to one or more embodiments of this disclosure, Example 10 is, One or more processors, A memory provided for storing one or more programs, The present invention provides an electronic device that, when the one or more programs described above are executed by the one or more processors, causes the one or more processors to implement the progress adjustment method described in any one of Examples 1 to 8.
[0090] According to one or more embodiments of the present disclosure, Example 11 provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the progress adjustment method described in any one of Examples 1 to 8.
[0091] Furthermore, although several types of operations are described in a specific order, this should not be understood as requiring such operations to be performed in a specific order or sequential order as indicated. In given environments, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above description, they should not be construed as limiting the scope of this disclosure. Certain features described in the context of a single embodiment can also be implemented in combination with that single embodiment. Conversely, multiple features described in the context of a single embodiment can be implemented in multiple embodiments, separately or in some appropriate sub-combination.
Claims
1. A method for adjusting progress, Accepting progress adjustment operations that affect the target progress bar, including video or audio, In response to the aforementioned progress adjustment operation, the size of the progress bar is enlarged, and the progress of the target object is adjusted according to the progress adjustment operation. In response to the determination that the trigger for the progress adjustment operation has ended, the process includes stopping the adjustment of the progress of the target object in response to the progress adjustment operation. Enlarging the size of the progress bar includes enlarging the size of the progress bar in a predetermined direction to a first size value, wherein the predetermined direction is perpendicular to the direction of movement of the slider in the progress bar. The progress adjustment operation includes a press event, a release event, and / or a move event acting on a predetermined response area of the progress bar, wherein the direction of movement of the move event is parallel to the direction of movement of the slider on the progress bar. The size value of the predetermined response area in the predetermined direction is greater than the size value of the progress bar in the predetermined direction when no progress adjustment operation is being accepted. Accepting progress adjustment operations that act on the progress bar of the target object means that In response to the parent layout sequentially receiving press events and movement events acting on the predetermined response area, the press events and movement events are sequentially transmitted to a first child view corresponding to the progress bar, and the first child view, in response to the press event, enlarges the size of the progress bar, and in response to the movement event, adjusts the progress of the target object. The parent layout continues to receive release events corresponding to the move events, transmits the release events to the first child view, and the first child view determines, in response to the release events, that the trigger for the progress adjustment operation has ended. The progress adjustment method is, Progress adjustment method further comprising: in response to the parent layout sequentially receiving the press event and release event acting on the predetermined response area, determining that the press event and release event act on the overlapping area between the predetermined response area and the target response area of another control, sequentially transmitting the press event and release event to a second child view to which the target response area belongs, and the second child view responding to the press event and release event.
2. The progress adjustment method according to claim 1, further comprising reducing the size of the progress bar in the predetermined direction from the first size value to the second size value in response to the determination that the trigger for the progress adjustment operation has ended.
3. After reducing the size of the progress bar in the predetermined direction from the first size value to the second size value, The progress adjustment method according to claim 2, further comprising reducing the size of the progress bar in the predetermined direction from the second size value to the third size value in response to the determination that no further trigger operation acting on the progress bar has been received within a predetermined period, wherein the trigger operation includes the progress adjustment operation.
4. The aforementioned target object includes a video, and adjusting the progress of the aforementioned target object in accordance with the progress adjustment operation is, The progress adjustment method according to claim 1, further comprising adjusting the playback progress of the video in accordance with the progress adjustment operation.
5. Progress adjustment device, An adjustment operation receiving module is provided to accept progress adjustment operations that act on a target progress bar including video or audio, A progress adjustment module is provided to enlarge the size of the progress bar in response to the progress adjustment operation and to adjust the progress of the target object according to the progress adjustment operation, The system includes an adjustment stop module, which is configured to stop adjusting the progress of the target object in response to the determination that the trigger for the progress adjustment operation has ended, The progress adjustment module is further provided to enlarge the size of the progress bar in a predetermined direction to a first size value, wherein the predetermined direction is perpendicular to the direction of movement of the slider in the progress bar. The progress adjustment operation includes a press event, a release event, and / or a move event acting on a predetermined response area of the progress bar, wherein the direction of movement of the move event is parallel to the direction of movement of the slider on the progress bar. The size value of the predetermined response area in the predetermined direction is greater than the size value of the progress bar in the predetermined direction when no progress adjustment operation is being accepted. The adjustment operation reception module is: In response to the parent layout sequentially receiving press events and movement events acting on the predetermined response area, the press events and movement events are sequentially transmitted to a first child view corresponding to the progress bar, and the first child view, in response to the press event, enlarges the size of the progress bar, and in response to the movement event, adjusts the progress of the target object. The parent layout is configured to continuously receive release events corresponding to the movement events, transmit the release events to the first child view, and for the first child view to determine in response to the release events that the trigger for the progress adjustment operation has ended. The progress adjustment device further includes a tap operation receiving module, the tap operation receiving module, in response to the parent layout sequentially receiving the press event and release event acting on the predetermined response area, and in response to the determination that the press event and release event act on the overlapping area between the predetermined response area and the target response area of another control, the tap operation receiving module sequentially transmits the press event and release event to a second child view to which the target response area belongs, and the second child view is provided to respond to the press event and release event.
6. One or more processors, A memory provided for storing one or more programs, An electronic device that, when the one or more programs are executed by the one or more processors, causes the one or more processors to implement the progress adjustment method described in any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program that, when executed by a processor, implements the progress adjustment method described in any one of claims 1 to 4.
Citation Information
Patent Citations
Information processor and information display method
JP2004192573A
Displaying scroll bar on terminal
US20080178116A1
Method of expansively searching multimedia and multimedia executing apparatus therefor
US20130298021A1
Progress adjustment method and electronic device
US20140201633A1
Methods, systems, and media for controlling playback of video using a touchscreen
US20150370402A1