WO2021082740A1 - 进度调节方法及电子设备 - Google Patents

进度调节方法及电子设备 Download PDF

Info

Publication number
WO2021082740A1
WO2021082740A1 PCT/CN2020/113809 CN2020113809W WO2021082740A1 WO 2021082740 A1 WO2021082740 A1 WO 2021082740A1 CN 2020113809 W CN2020113809 W CN 2020113809W WO 2021082740 A1 WO2021082740 A1 WO 2021082740A1
Authority
WO
WIPO (PCT)
Prior art keywords
progress
progress control
input
interval
control
Prior art date
Application number
PCT/CN2020/113809
Other languages
English (en)
French (fr)
Inventor
薛忠栋
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021082740A1 publication Critical patent/WO2021082740A1/zh

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
    • 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
    • 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/47205End-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 manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a schedule adjustment method and electronic equipment.
  • the user can use the electronic device to watch movies, watch TV, listen to music, read e-books, etc., and the user can trigger the electronic device to adjust the playback progress of the video, audio, or text according to personal needs.
  • the user can slide input on the playback progress bar corresponding to the video to trigger the electronic device to adjust the playback progress of the video.
  • the size of the playback progress bar displayed on the screen is limited.
  • the unit progress of the playback progress bar (for example, the playback duration corresponding to the unit distance of the playback progress bar) is usually relatively large, so each adjustment span is relatively large, so that the target time point cannot be accurately adjusted. As a result, the accuracy of adjusting the progress of the electronic device is low.
  • the embodiments of the present application provide a schedule adjustment method and electronic equipment, so as to solve the problem of low accuracy of the existing electronic equipment in adjusting the schedule.
  • an embodiment of the present application provides a progress adjustment method applied to an electronic device, the method includes: receiving a first input from a user to a first progress control, the first progress control corresponding to a first progress interval; The first input displays a second progress control corresponding to a second progress interval, and the second progress interval is an interval of a first preset length including the first position in the first progress interval.
  • a position is the position of the first input on the first progress control; and receives a second input from the user on the second progress control; in response to the second input, updates the display position of the second progress indicator on the second progress control, and Based on the progress adjustment amount of the second progress control, the display position of the first progress indicator on the first progress control is updated; wherein the unit progress of the second progress control is smaller than the unit progress of the first progress control.
  • an embodiment of the present application provides an electronic device, which includes a receiving module and a display module.
  • the receiving module is configured to receive a user's first input to the first progress control, and the first progress control corresponds to the first progress interval.
  • the display module is configured to display a second progress control in response to the first input received by the receiving module, the second progress control corresponding to a second progress interval, the second progress interval being the first progress interval including the first position
  • the first preset length interval, the first position is the position of the first input on the first progress control.
  • the receiving module is also used to receive a second input from the user to the second progress control.
  • the display module is further configured to update the display position of the second progress indicator on the second progress control in response to the second input, and update the first progress indicator on the first progress control based on the progress adjustment amount of the second progress control Display position.
  • the unit progress of the second progress control is smaller than the unit progress of the first progress control.
  • an embodiment of the present application provides an electronic device that includes a processor, a memory, and a computer program that is stored on the memory and can run on the processor.
  • the computer program is executed by the processor, the above-mentioned first On the one hand, the steps of the schedule adjustment method.
  • an embodiment of the present application provides a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the schedule adjustment method in the first aspect are implemented.
  • the first input of the user to the first progress control can be received, and the first progress control corresponds to the first progress interval; in response to the first input, the second progress control is displayed, and the second progress control corresponds to the first progress control.
  • a second progress interval, the second progress interval being an interval of a first preset length including the first position in the first progress interval, the first position being the position of the first input on the first progress control; and receiving The second input of the user to the second progress control; in response to the second input, the display position of the second progress indicator on the second progress control is updated, and the first progress control is updated based on the progress adjustment amount of the second progress control
  • a second progress control can be displayed on the basis of the first progress control.
  • the first progress control can be used for coarse adjustment in a certain progress interval
  • the second progress control can be used for Make fine adjustments in part of the progress interval.
  • the user can first input on the first progress control for coarse adjustment, and then input on the second progress control for fine adjustment, so that the target progress node can be adjusted more accurately.
  • the embodiments of the present application can improve the accuracy of adjusting the progress of the electronic device.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the application
  • FIG. 2 is one of the schematic diagrams of the schedule adjustment method provided by the embodiment of the application.
  • FIG. 3 is a schematic diagram of an interface of the application of the schedule adjustment method provided by an embodiment of the application
  • FIG. 4 is the second schematic diagram of the schedule adjustment method provided by the embodiment of the application.
  • FIG. 5 is the third schematic diagram of a schedule adjustment method provided by an embodiment of this application.
  • FIG. 6 is the fourth schematic diagram of the schedule adjustment method provided by the embodiment of this application.
  • FIG. 7 is the fifth schematic diagram of the schedule adjustment method provided by the embodiment of this application.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 9 is a schematic diagram of hardware of an electronic device provided by an embodiment of the application.
  • first and second in the specification and claims herein are used to distinguish different objects, rather than to describe a specific order of objects.
  • first progress control and the second progress control are used to distinguish different progress controls, rather than to describe the specific order of the progress controls.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple processing units refers to two or more processing units, etc.; multiple An element refers to two or more elements, etc.
  • the embodiments of the present application provide a progress adjustment method and electronic device, which can receive a user's first input to a first progress control, the first progress control corresponding to a first progress interval; in response to the first input, the second progress control is displayed, The second progress control corresponds to a second progress interval, and the second progress interval is an interval of a first preset length including the first position in the first progress interval, and the first position indicates that the first input is in the first progress And receive a second input from the user to the second progress control; in response to the second input, update the display position of the second progress indicator on the second progress control, and adjust the progress based on the second progress control The display position of the first progress indicator on the first progress control is updated; the unit progress of the second progress control is smaller than the unit progress of the first progress control.
  • a second progress control can be displayed on the basis of the first progress control.
  • the first progress control can be used for coarse adjustment in a certain progress interval
  • the second progress control can be used for Make fine adjustments in part of the progress interval.
  • the user can first input on the first progress control for coarse adjustment, and then input on the second progress control for fine adjustment, so that the target progress node can be adjusted more accurately.
  • the embodiments of the present application can improve the accuracy of adjusting the progress of the electronic device.
  • the electronic device in the embodiment of the present application may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the following uses the Android operating system as an example to introduce the software environment to which the schedule adjustment method provided in the embodiments of the present application is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of this application.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • a developer can develop a software program that implements the schedule adjustment method provided in the embodiment of the application based on the system architecture of the Android operating system as shown in FIG.
  • the adjustment method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the schedule adjustment method provided in the embodiment of the present application by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present application may be a mobile terminal or a non-mobile terminal.
  • the mobile terminal may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant
  • the non-mobile terminal may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc., which are not specifically limited in the embodiment of the present application.
  • the execution subject of the schedule adjustment method provided in the embodiments of the present application may be the above-mentioned electronic device, or may be a functional module and/or functional entity in the electronic device that can implement the schedule adjustment method.
  • the specifics can be determined according to actual usage requirements.
  • the embodiments of this application are not limited.
  • the following takes an electronic device as an example to exemplarily describe the schedule adjustment method provided in the embodiment of the present application.
  • the schedule adjustment method may include the following steps 200 to 203.
  • Step 200 The electronic device receives a user's first input on a first progress control, where the first progress control corresponds to a first progress interval.
  • the user when a user uses the player program of an electronic device to watch a video (or listen to music, or read an e-book, etc.), if the user needs to adjust the progress of the video content (or audio content, or text content, etc.), Then the user can realize the progress adjustment through the first progress control. Since the progress content expressed by the first progress control is the total length (for example, duration) of the video file or audio file, it is difficult to adjust the progress node desired by the user when the video or audio file is long, that is, if the user only passes The first progress control can only adjust the file progress to an approximate position, which is more difficult to adjust accurately.
  • the embodiment of the present application proposes to add a second progress control on the basis of the first progress control.
  • the first progress control is used for coarse adjustment of the progress
  • the second progress control is used for the fine adjustment of the progress.
  • the user may perform a first input on the first progress control to trigger the display of the second progress control.
  • the user can directly touch the first progress control to achieve coarse adjustment of the progress; or on the basis of the rough adjustment of the progress after touching the first progress control, the user can further touch the second progress control to achieve fine adjustment of the progress.
  • the above-mentioned first input may be a user's click input on the first progress control (for example, a single click input or a double-click input), or the user's first progress control on the first progress control.
  • the drag input of the logo may also be any other input that meets actual use requirements, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present application.
  • the display form of the above-mentioned first progress control may be a progress bar, for example, it may be a circular progress bar, or a linear progress bar, and may also be any other progress form for adjusting the progress.
  • the details can be determined according to actual use requirements, and the embodiment of the present application does not limit it.
  • the above-mentioned first progress control may be a time progress control, or may be a distance progress control, or may be a content progress control, or may be any other progress control that meets actual usage requirements. It is determined according to actual usage requirements, and the embodiment of the present application does not limit it.
  • the above-mentioned first progress control may be a time progress control (for example, a time progress bar), and the time progress control may be used to adjust the progress within the range of the total playing time of the video data or audio data. .
  • the above-mentioned first progress control may be a page number progress control (for example, a page number progress bar), and the page number progress control can be used to perform progress adjustment within the range of the total number of pages of the text content.
  • Step 201 In response to the first input, the electronic device displays a second progress control, and the second progress control corresponds to a second progress interval.
  • the unit progress of the second progress control is smaller than the unit progress of the first progress control.
  • the unit progress of the progress control may refer to the playback duration corresponding to the unit display length.
  • the unit progress of the first progress control can be It is 20 minutes/cm.
  • the unit progress of the second progress control can be It is 4 minutes/cm.
  • the second progress control when the user touches the first progress control, the second progress control also appears together. That is, the second progress control is generally in a hidden state, and only when the user touches the first progress control, the second progress control will appear together.
  • the second progress interval may be the first position.
  • a progress interval an interval of a first preset length including the first position.
  • the second progress interval may be an interval of a first preset length centered on the first position in the first progress interval; the second progress interval may also be in the first progress interval, where the first position is An interval of the first preset length of the starting position; it may also be an interval of the first preset length with the first position as the end position in the first progress interval; or it may be an interval of the first progress interval including the first position
  • the interval of the first preset length within can be specifically determined according to actual use requirements, and is not limited in the embodiment of the present application.
  • the foregoing preset length may be an interval length (for example, duration) that accounts for a preset ratio (for example, 1/10, which will be exemplified below with this preset ratio) in the first progress interval.
  • the above-mentioned second progress interval may be a progress interval occupying a preset proportion in the first progress interval.
  • the foregoing first progress interval includes the first position on the first progress control (that is, the current progress node corresponding to the first progress indicator on the first progress control), and intercepts the preset ratio in the first progress interval ( For example, the progress interval of 1/10) is obtained, and the intercepted progress interval is enlarged and displayed by the second progress control.
  • the first progress interval corresponding to the first progress control can be [0, 100 minutes]
  • the first progress control on the first progress control The time point corresponding to a position (that is, the progress node currently corresponding to the first progress indicator on the first progress control) is the 50th minute
  • the second progress interval corresponding to the second progress control may be [45 minutes, 55 minutes].
  • the second progress interval [45 minutes, 55 minutes] is a 10-minute progress length interval including the progress node of the 50th minute in the first progress interval [0, 100 minutes].
  • the unit progress corresponding to the above-mentioned first progress interval may refer to the first progress control, and the duration corresponding to the unit display length.
  • the display length of the first progress control on the display screen is 5 cm
  • the first progress interval is [0, 100 minutes]
  • the unit progress corresponding to the first progress interval may be 20 minutes/cm.
  • the unit progress corresponding to the above second progress interval can be a pointer to the second progress control, and the time length corresponding to the unit display length.
  • the display length of the second progress control on the display screen is 2.5 cm
  • the second progress interval is [45, 55 minutes]
  • the unit progress corresponding to the second progress interval may be 4 minutes/cm.
  • the unit progress corresponding to the second progress interval is smaller than the unit progress corresponding to the first progress interval.
  • the display length of 10 minutes is 0.5 cm
  • the display length of 10 minutes is 2.5 cm. It can be understood that the second progress interval is enlarged and displayed through the second progress control. Since the progress corresponding to the second progress control can be the progress of a small content segment including the current touch point of the first progress control, it is easier to fine-tune the progress by inputting the second progress control.
  • Step 202 The electronic device receives a second input from the user to the second progress control.
  • the above-mentioned second input may be a user's click input on the second progress control (for example, a single click input or a double-click input), or the user's input on the second progress control on the second progress control.
  • the drag input of the logo may also be any other input that meets actual use requirements, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present application.
  • the above-mentioned first input and second input may be continuous input, that is, the user can perform the first input on the first progress control without leaving the screen with the finger, and then perform the second input on the second progress control. enter.
  • the first input and the second input can be two independent inputs, that is, the user can make the first input on the first progress control, the finger can leave the screen, and then make the second input on the second progress control.
  • the details can be determined according to actual use requirements, and the embodiment of the present application does not limit it. In this way, when the user touches the first progress control, the second progress control is directly displayed, and the user can change from touching the first progress control to touching the second progress control, and can directly operate the second progress control directly, making the progress Fine-tuning is more convenient and faster.
  • the user can adjust the progress node to an approximate position (that is, coarse adjustment of the progress) through the first progress control. Further, the user can adjust the progress node to a precise position by performing a second input to the second progress control.
  • Step 203 In response to the second input, the electronic device updates the display position of the second progress indicator on the second progress control, and updates the display of the first progress indicator on the first progress control based on the progress adjustment amount of the second progress control position.
  • the above-mentioned first progress indicator may be used to indicate the current corresponding progress node on the first progress control. Specifically, the user can drag the display position of the first progress indicator on the first progress control to trigger the update of the current progress node of the first progress control.
  • the foregoing second progress indicator may be used to indicate the current corresponding progress on the second progress control.
  • the user can drag the display position of the second progress indicator on the second progress control to trigger the update of the current progress node of the second progress control.
  • the progress corresponding to the first progress indicator on the first progress control may be the same as the progress corresponding to the second progress indicator on the second progress control.
  • the time progress corresponding to the first progress indicator on the first progress control and the time progress corresponding to the second progress indicator on the second progress control may be the same (for example, the time progress is both the 50th minute). It can be understood that the same data content corresponds to the same time schedule.
  • the electronic device may update the display position of the second progress indicator on the second progress control, and the first progress indicator on the first progress control
  • the display position of the progress indicator also changes simultaneously.
  • the second progress interval range corresponding to the second progress control does not change. In this way, it is convenient for the user to adjust the playback progress of the video or audio file more simply and accurately.
  • FIG. 3 is a schematic diagram of an interface of the application of the schedule adjustment method provided by an embodiment of the application.
  • the first progress control 31 is a progress adjustment control used in the related art
  • the second progress control 32 is a progress adjustment control added on the basis of the first progress control 31 in the embodiment of the application, which can realize the fine adjustment of the progress after the rough adjustment of the progress.
  • the second progress control 32 is an enlarged display of a certain interval (for example, a first preset length interval including the position of the first progress indicator 33) on the first progress control 31.
  • the user can move the touch point from the first progress control 31 to the second progress control 32 by touching and sliding input in the triangular area between the first progress control 31 and the second progress control 32.
  • the user's left and right sliding input can trigger the update of the display position of the second progress indicator 34 on the second progress control 32, and the first progress indicator 33 on the first progress control 31
  • the display position of will also be updated according to the scale. It can be understood that the user's sliding input on the first progress control 31 and the second progress control 32 brings about different progress change rates.
  • the progress adjustment method provided by the embodiment of the present application can receive a user's first input to a first progress control, the first progress control corresponding to the first progress interval; in response to the first input, the second progress control is displayed, the second progress The control corresponds to a second progress interval, and the second progress interval is an interval of a first preset length including the first position in the first progress interval, and the first position is the position of the first input on the first progress control And receiving a second input from the user to the second progress control; in response to the second input, update the display position of the second progress indicator on the second progress control, and update the first progress based on the progress adjustment amount of the second progress control The display position of the first progress indicator on the control; wherein the unit progress of the second progress control is smaller than the unit progress of the first progress control.
  • a second progress control can be displayed on the basis of the first progress control.
  • the first progress control can be used for coarse adjustment in the progress interval
  • the second progress control can be used for a part of the progress in the progress interval. Make fine adjustments within the interval.
  • the user can first input on the first progress control for coarse adjustment, and then input on the second progress control for fine adjustment, so that the target progress node can be adjusted more accurately.
  • the embodiments of the present application can improve the accuracy of adjusting the progress of the electronic device.
  • the schedule adjustment method provided in the embodiment of the present application may further include the following step 204 and step 205.
  • Step 204 The electronic device receives a third input from the user to the first progress control.
  • the above-mentioned third input may be the user's click input on the first progress control (for example, single-click input or double-click input), or the user's first progress control on the first progress control.
  • the drag input of the logo may also be any other input that meets actual use requirements, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present application.
  • Step 205 In response to the third input, the electronic device updates and displays the first progress indicator to the second position on the first progress control, and updates the second progress interval.
  • the second position is the end position of the operation of the third input on the first progress control.
  • the updated second progress interval is an interval of the first preset length including the second position in the first progress interval.
  • the second progress interval is an interval of the first preset length including the display position of the first progress indicator in the first progress interval, if the user drags the first progress control on the first progress control The progress indicator, the progress interval corresponding to the second progress control also changes accordingly.
  • the embodiment of the present application can improve the accuracy of adjusting the progress of the electronic device.
  • step 202-step 203 may be executed first, and then step 204-step 205 may be executed; or step 204-step 205 may be executed first, and then step 202-step 203 may be executed.
  • FIG. 4 is an example of performing step 204-step 205 and then performing step 202-step 203 as an example.
  • the schedule adjustment method provided in the embodiment of the present application may further include the following step 206.
  • Step 206 In response to the third input, the electronic device updates the display position of the second progress control according to the input parameters of the third input.
  • the input parameter of the third input may include at least one of the following: input direction on the first progress control, input track length on the first progress control, and The input duration on the. It can be understood that the above-mentioned third input input parameters are all illustrative examples, which can be specifically determined according to actual use requirements, and the embodiment of the present application does not limit it.
  • the electronic device may update the display of the first progress indicator to the second position on the first progress control, and use the input parameters of the third input to make The display position of the second progress control is updated along with the update position of the first progress indicator on the first progress control. In this way, the display position of the second progress control can be changed following the display position of the first progress indicator on the first progress control, which can improve the flexibility and convenience of human-computer interaction.
  • step 205 may be performed first, and then step 206; or step 206 may be performed first, and then step 205 may be performed; or step 205 and step 206 may be performed simultaneously.
  • FIG. 5 is an example of performing step 206 and then performing step 205 as an example.
  • the schedule adjustment method provided in the embodiment of the present application may further include the following step 207.
  • Step 207 If the electronic device does not receive the second input or the third input of the user within the preset time period, the electronic device cancels displaying the second progress control after the preset time period.
  • the above-mentioned preset duration may be 30 seconds, or may be 1 minute, or may be any other duration that meets actual usage requirements, which can be specifically determined according to actual usage conditions. limited.
  • the electronic device after the user adjusts the progress (that is, the user's finger leaves the screen), if the electronic device does not receive the second or third input from the user within the preset time period, the electronic device can be used for the preset time period. After that, the second progress control is controlled to gradually become a hidden state, so that the user's view may not be affected. This can improve the accuracy of the electronic device in adjusting the progress, and at the same time, the flexibility and convenience of human-computer interaction can be improved.
  • the electronic device may perform the above step 207, step 202-step 203, and step 204-step 205 after the above step 201, that is, the electronic device may perform the above step 207, Or the electronic device can execute the above step 202 to step 203, or the electronic device can execute the above step 204 to step 205.
  • the electronic device may also perform the above step 207 after step 202 to step 203, or may perform the above step 207 after step 204 to step 205.
  • the schedule adjustment method provided in the embodiment of the present application may further include the following steps 208 to 211.
  • Step 208 The electronic device receives a fourth input from the user to the second progress control.
  • Step 209 In response to the fourth input, the electronic device displays a third progress control, the third progress control corresponding to the third progress interval.
  • the third progress interval may be an interval of a second preset length including the third position in the second progress interval, and the third position is the end position of the operation of the fourth input on the second progress control.
  • Step 210 The electronic device receives a fifth input from the user to the third progress control.
  • Step 211 In response to the fifth input, the electronic device updates the display position of the third progress indicator on the third progress control, and based on the progress adjustment amount of the third progress control, updates the display of the second progress indicator on the second progress control The position and the display position of the first progress indicator on the first progress control.
  • the unit progress of the third progress control is smaller than the unit progress of the second progress control.
  • the unit progress of the second progress control can be 4 Minutes/cm.
  • the display length of the third progress control on the display screen is 2 cm, and the second progress interval is [48 minutes, 52 minutes], then the unit progress of the third progress control may be 2.5 minutes/cm.
  • step 208 to step 211 please refer to the above related description of step 200 to step 203, which will not be repeated here.
  • the third progress control may continue to be displayed.
  • the third progress control may be an enlarged display of a certain interval on the second progress control.
  • the progress control can make more detailed adjustments to the progress.
  • more levels of progress controls can be expanded. It can be understood that the higher the level of the progress control, the less progress changes will be brought by adjusting the same distance when the progress is adjusted on the progress control.
  • the highest level of the progress control can be restricted according to the actual situation of the user's playing content progress range. In this way, the accuracy of the adjustment progress of the electronic device can be improved.
  • step 202-step 203 may be executed first, and then step 208-step 211 may be executed; or step 208-step 211 may be executed first, and then step 202-step 203 may be executed.
  • FIG. 7 is an example of performing step 202-step 203 and then performing step 208-step 211 as an example.
  • an embodiment of the present application provides an electronic device.
  • the electronic device may include a receiving module 701 and a display module 702.
  • the receiving module 701 is configured to receive a user's first input to a first progress control, and the first progress control corresponds to a first progress interval.
  • the display module 702 is configured to display a second progress control in response to the first input received by the receiving module 701, the second progress control corresponding to a second progress interval, and the second progress interval is in the first progress interval and includes the first position Within a first preset length interval, the first position is the position of the first input on the first progress control.
  • the receiving module 701 is further configured to receive a second input of the user to the second progress control displayed by the display module 702.
  • the display module 702 is further configured to update the display position of the second progress indicator on the second progress control in response to the second input received by the receiving module 701, and update the display position of the second progress indicator on the second progress control based on the progress adjustment amount of the second progress control.
  • the display position of the first progress indicator is smaller than the unit progress of the first progress control.
  • the progress corresponding to the first progress indicator on the first progress control and the progress corresponding to the second progress indicator on the second progress control may be the same.
  • the receiving module 701 is further configured to receive a third input from the user to the first progress control after the display module 702 displays the second progress control.
  • the display module 702 is further configured to, in response to the third input received by the receiving module 701, update and display the first progress indicator to the second position on the first progress control, and update the above-mentioned second progress interval, where the second position is the first Three inputs the end position of the operation on the first progress control.
  • the updated second progress interval is an interval of the first preset length including the second position in the first progress interval.
  • the display module 702 is further configured to update the display position of the second progress control according to the input parameters of the third input in response to the third input received by the receiving module 701.
  • the display module 702 is further configured to display the second progress control, if within a preset time period, the receiving module 701 does not receive the second input or third input of the user, then perform the After setting the time length, cancel the display of the above-mentioned second progress control.
  • the receiving module 701 is further configured to receive a fourth input of the user to the second progress control after the display module 702 displays the second progress control.
  • the display module 702 is further configured to display a third progress control in response to the fourth input received by the receiving module 701, the third progress control corresponding to a third progress interval, and the third progress interval is the second progress interval, including the third The second preset length interval including the position, the third position is the end position of the operation of the fourth input on the second progress control.
  • the receiving module 701 is further configured to receive a fifth input of the user to the third progress control displayed by the display module 702.
  • the display module 702 is further configured to update the display position of the third progress indicator on the third progress control in response to the fifth input, and update the second progress indicator on the second progress control based on the progress adjustment amount of the third progress control
  • the display position of and the display position of the first progress indicator on the first progress control is smaller than the unit progress of the second progress control.
  • the electronic device provided in the embodiment of the present application can implement each process implemented by the electronic device in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • the electronic device can receive a user's first input to a first progress control, the first progress control corresponding to the first progress interval; in response to the first input, a second progress control is displayed, the second progress control Corresponding to the second progress interval, the second progress interval is an interval of a first preset length including the first position in the first progress interval, and the first position is the position of the first input on the first progress control; And receiving a second input from the user to the second progress control; in response to the second input, update the display position of the second progress indicator on the second progress control, and update the first progress control based on the progress adjustment amount of the second progress control The display position of the first progress indicator on the upper side; where the unit progress of the second progress control is smaller than the unit progress of the first progress control.
  • a second progress control can be displayed on the basis of the first progress control.
  • the first progress control can be used for coarse adjustment in a certain progress interval
  • the second progress control can be used for Make fine adjustments in part of the progress interval.
  • the user can first input on the first progress control for coarse adjustment, and then input on the second progress control for fine adjustment, so that the target progress node can be adjusted more accurately.
  • the embodiments of the present application can improve the accuracy of adjusting the progress of the electronic device.
  • FIG. 9 is a schematic diagram of the hardware structure of an electronic device that implements each embodiment of the present application.
  • the electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • a radio frequency unit 801 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices
  • the user input unit 807 is configured to receive a user's first input to the first progress control, and the first progress control corresponds to the first progress interval;
  • the display unit 806 is configured to respond to the first input received by the user input unit 807, A second progress control is displayed, the second progress control corresponding to a second progress interval, the second progress interval being an interval of a first preset length including the first position in the first progress interval, and the first position being the first An input on the position of the first progress control;
  • the user input unit 807 is also used to receive a second input from the user to the second progress control displayed on the display unit 806;
  • the display unit 806 is also used to respond to the user input unit 807 receiving To update the display position of the second progress indicator on the second progress control, and update the display position of the first progress indicator on the first progress control based on the progress adjustment amount of the second progress control;
  • the unit progress of the progress control is smaller than the unit progress of the first progress control.
  • An embodiment of the present application provides an electronic device that can receive a user's first input on a first progress control, the first progress control corresponding to a first progress interval; in response to the first input, a second progress control is displayed, the The second progress control corresponds to a second progress interval, and the second progress interval is an interval of a first preset length including the first position in the first progress interval, and the first position is the first input in the first progress control And receive a second input from the user to the second progress control; in response to the second input, update the display position of the second progress indicator on the second progress control, and update based on the progress adjustment amount of the second progress control The display position of the first progress indicator on the first progress control; wherein the unit progress of the second progress control is smaller than the unit progress of the first progress control.
  • a second progress control can be displayed on the basis of the first progress control.
  • the first progress control can be used for coarse adjustment in a certain progress interval
  • the second progress control can be used for Make fine adjustments in part of the progress interval.
  • the user can first input on the first progress control for coarse adjustment, and then input on the second progress control for fine adjustment, so that the target progress node can be adjusted more accurately.
  • the embodiments of the present application can improve the accuracy of adjusting the progress of the electronic device.
  • the radio frequency unit 801 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 810; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device 800 provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 803 may convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sounds. Moreover, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic device 800 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 804 is used to receive audio or video signals.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 is used for the image of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame may be displayed on the display unit 806.
  • the image frame processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802.
  • the microphone 8042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 801 for output in the case of a telephone call mode.
  • the electronic device 800 further includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 8061 and the display panel 8061 when the electronic device 800 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 806 is used to display information input by the user or information provided to the user.
  • the display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 807 can be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072.
  • the touch panel 8071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 8071 or near the touch panel 8071. operating).
  • the touch panel 8071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 810, the command sent by the processor 810 is received and executed.
  • the touch panel 8071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 807 may also include other input devices 8072.
  • other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 8071 can be overlaid on the display panel 8061.
  • the touch panel 8071 detects a touch operation on or near it, it transmits it to the processor 810 to determine the type of the touch event, and then the processor 810 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 8061.
  • the touch panel 8071 and the display panel 8061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 808 is an interface for connecting an external device and the electronic device 800.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 800 or can be used to connect the electronic device 800 to an external device. Transfer data between devices.
  • the memory 809 can be used to store software programs and various data.
  • the memory 809 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 810 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 809, and calls the data stored in the memory 809. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
  • the electronic device 800 may also include a power source 811 (such as a battery) for supplying power to various components.
  • a power source 811 such as a battery
  • the power source 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 800 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present application further provides an electronic device, including a processor 810 as shown in FIG. 9, a memory 809, a computer program stored in the memory 809 and running on the processor 810, and the computer program is
  • the processor 810 implements each process of the foregoing schedule adjustment method embodiment when executing, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
  • the embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • a computer program When the computer program is executed by a processor, each process of the above-mentioned schedule adjustment method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods disclosed in the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods disclosed in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供了一种进度调节方法及电子设备,该方法包括:根据用户对第一进度控件的第一输入,显示第二进度控件,该第一进度控件对应第一进度区间,第二进度控件对应第二进度区间,第二进度区间为第一进度区间中,包含第一位置在内的第一预设长度的区间,第一位置为第一输入在第一进度控件上的位置;并且根据用户对第二进度控件的第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置;其中,第二进度控件的单位进度小于第一进度控件的单位进度。

Description

进度调节方法及电子设备
相关申请的交叉引用
本申请主张在2019年10月31日提交国家知识产权局、申请号为201911053009.8申请名称为“一种进度调节方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种进度调节方法及电子设备。
背景技术
随着终端技术的不断发展,电子设备的应用越来越广泛。用户可以使用电子设备看电影、看电视、听音乐、阅读电子书等,并且用户可以根据个人使用需求,触发电子设备调节视频、音频或文本的内容播放进度。
目前,以用户观看视频为例,在视频播放过程中,如果用户需要调节播放进度,那么用户可以在该视频对应的播放进度条上进行滑动输入,触发电子设备调节视频的播放进度。
然而,在播放进度的调节过程中,尤其是针对数据量较大(例如播放时长较长)的视频进行进度调节时,由于电子设备的屏幕普遍较小,屏幕显示的播放进度条的尺寸有限,使得播放进度条的单位进度(例如播放进度条的单位距离对应的播放时长)通常较大,因此每次调节跨度较大,从而无法准确地调节到目标时间点。如此,导致电子设备调节进度的准确度较低。
发明内容
本申请实施例提供一种进度调节方法及电子设备,以解决现有电子设备调节进度的准确度较低的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种进度调节方法,应用于电子设备,该方法包括:接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间;响应于第一输入,显示第二进度控件,该第二进度控件对应第二进度区间,该第二进度区间为第一进度区间中,包含第一位置在内的第一预设长度的区间,该第一位置为第一输入在第一进度控件上的位置;并且接收用户对第二进度控件的第二输入;响应于第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于所述第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置;其中,第二进度控件的单位进度小于第一进度控件的单位进度。
第二方面,本申请实施例提供了一种电子设备,该电子设备包括接收模块和显示模块。接收模块用于接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间。显示模块用于响应于接收模块接收的第一输入,显示第二进度控件,该第二进度控件对应第二进度区间,该第二进度区间为第一进度区间中,包含第一位置在 内的第一预设长度的区间,该第一位置为第一输入在第一进度控件上的位置。接收模块还用于接收用户对第二进度控件的第二输入。显示模块还用于响应于第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于所述第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置。其中,第二进度控件的单位进度小于第一进度控件的单位进度。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述第一方面中的进度调节方法的步骤。
第四方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面中的进度调节方法的步骤。
在本申请实施例中,可以接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间;响应于第一输入,显示第二进度控件,该第二进度控件对应第二进度区间,该第二进度区间为第一进度区间中,包含第一位置在内的第一预设长度的区间,该第一位置为第一输入在第一进度控件上的位置;并且接收用户对第二进度控件的第二输入;响应于第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于所述第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置;其中,第二进度控件的单位进度小于第一进度控件的单位进度。通过该方案,可以在第一进度控件的基础上增加显示第二进度控件,第一进度控件可以用于在某一进度区间内进行粗调,第二进度控件可以用于在该进度区间中的一部分进度区间内进行微调。这样,当用户对视频或者音频文件进行进度调节时,用户可以先在第一进度控件上输入进行粗调,然后在第二进度控件上输入进行微调,能够更加准确地调节到目标进度节点。如此,本申请实施例可以提升电子设备调节进度的精确度。
附图说明
图1为本申请实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本申请实施例提供的进度调节方法的示意图之一;
图3为本申请实施例提供的进度调节方法应用的界面示意图;
图4为本申请实施例提供的进度调节方法的示意图之二;
图5为本申请实施例提供的进度调节方法的示意图之三;
图6为本申请实施例提供的进度调节方法的示意图之四;
图7为本申请实施例提供的进度调节方法的示意图之五;
图8为本申请实施例提供的电子设备的结构示意图;
图9为本申请实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本文中的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一进度控件和第二进度控件等是用于区别不同的进度控件,而不是用于描述进度控件的特定顺序。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等;多个元件是指两个或者两个以上的元件等。
本申请实施例提供一种进度调节方法及电子设备,可以接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间;响应于第一输入,显示第二进度控件,该第二进度控件对应第二进度区间,该第二进度区间为第一进度区间中,包含第一位置在内的第一预设长度的区间,该第一位置为第一输入在第一进度控件上的位置;并且接收用户对第二进度控件的第二输入;响应于第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于所述第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置;其中,第二进度控件的单位进度小于第一进度控件的单位进度。通过该方案,可以在第一进度控件的基础上增加显示第二进度控件,第一进度控件可以用于在某一进度区间内进行粗调,第二进度控件可以用于在该进度区间中的一部分进度区间内进行微调。这样,当用户对视频或者音频文件进行进度调节时,用户可以先在第一进度控件上输入进行粗调,然后在第二进度控件上输入进行微调,能够更加准确地调节到目标进度节点。如此,本申请实施例可以提升电子设备调节进度的精确度。
本申请实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本申请实施例提供的进度调节方法所应用的软件环境。
如图1所示,为本申请实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软 件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本申请实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本申请实施例提供的进度调节方法的软件程序,从而使得该进度调节方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本申请实施例提供的进度调节方法。
本申请实施例中的电子设备可以为移动终端,也可以为非移动终端。示例性的,移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例提供的进度调节方法的执行主体可以为上述的电子设备,也可以为该电子设备中能够实现该进度调节方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本申请实施例不作限定。下面以电子设备为例,对本申请实施例提供的进度调节方法进行示例性的说明。
下面结合各个附图对本申请实施例提供的进度调节方法进行示例性的说明。
如图2所示,本申请实施例提供一种进度调节方法,该进度调节方法可以包括下述的步骤200-步骤203。
步骤200、电子设备接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间。
本申请实施例中,当用户使用电子设备的播放器程序观看视频(或者听音乐,或者阅读电子书等时),如果用户需要对视频内容(或者音频内容,或者文本内容等)进行进度调节,那么用户可以通过第一进度控件实现进度调节。由于第一进度控件表达的进度内容是视频文件或者音频文件的总长度(例如时长),因此在视频或者音频文件较长的情况下,很难调节到用户希望的进度节点,即如果用户仅通过第一进度控件,只能将文件进度调节到一个大概的位置,较难精确调节。
鉴于此,本申请实施例提出在第一进度控件基础上上增加设置第二进度控件,第一进度控件用于进度粗调,第二进度控件用于进度微调。具体的,用户可以对第一进度控件进行第一输入,触发显示第二进度控件。在实际实现时,用户可以直接触控第一进度控件,实现进度粗调;也可以在触控第一进度控件后进度粗调的基础上,进一步触控第二进度控件,实现进度微调。
可选地,本申请实施例中,上述第一输入可以为用户在第一进度控件上的点击输入(例如单击输入或双击输入),也可以为用户对第一进度控件上的第一进度标识的拖动输入,还可以为其它任意满足实际使用需求的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。
可选地,本申请实施例中,上述第一进度控件的显示形式可以为进度条,例如可以为环形进度条,或者直线型进度条,还可以为其它任意的用于调节进度的进度形式, 具体可以根据实际使用需求确定,本申请实施例不作限定。
可选地,本申请实施例中,上述第一进度控件可以为时间进度控件,或者可以为距离进度控件,或者可以为内容进度控件,还可以为其它任意满足实际使用需求的进度控件,具体可以根据实际使用需求确定,本申请实施例不作限定。
示例性的,对于视频数据或音频数据,上述第一进度控件可以为时间进度控件(例如时间进度条),该时间进度控件可以用于在视频数据或音频数据的总播放时长范围内进行进度调节。
又示例性的,对于文本内容,上述第一进度控件可以为页数进度控件(例如页数进度条),该页数进度控件可以用于在文本内容的总页数范围内进行进度调节。
步骤201、电子设备响应于第一输入,显示第二进度控件,该第二进度控件对应第二进度区间。
其中,第二进度控件的单位进度小于第一进度控件的单位进度。
本申请实施例中,进度控件的单位进度可以指单位显示长度对应的播放时长。
以第一进度控件的单位进度为例,假设第一进度控件在显示屏上的显示长度为5厘米,且第一进度区间为[0分钟,100分钟],那么第一进度控件的单位进度可以为20分钟/厘米。
以第二进度控件的单位进度为例,假设第二进度控件在显示屏上的显示长度为2.5厘米,且第二进度区间为[45分钟,55分钟],那么第二进度控件的单位进度可以为4分钟/厘米。
本申请实施例中,当用户触控第一进度控件时,第二进度控件也一起出现。即,第二进度控件一般为隐藏状态,只有当用户触控第一进度控件时,第二进度控件才会一起出现。
本申请实施例中,假设用户在第一进度控件上进行输入的位置(即上述第一输入在第一进度控件上的触控点)称为第一位置,那么上述第二进度区间可以为第一进度区间中,包含第一位置在内的第一预设长度的区间。
可以理解,上述第二进度区间可以为第一进度区间中,以第一位置为中心的第一预设长度的区间;上述第二进度区间也可以为第一进度区间中,以第一位置为起始位置的第一预设长度的区间;还可以为第一进度区间中,以第一位置为结束位置的第一预设长度的区间;或者可以为第一进度区间中,包含第一位置在内的第一预设长度的区间,具体可以根据实际使用需求确定,本申请实施例不作限定。
本申请实施例中,对于上述第二进度控件的描述具体可以参见上述步骤200中对第一进度控件的相关描述,此处不再赘述。
本申请实施例中,上述预设长度可以为第一进度区间中占预设比例(例如1/10,以下以此预设比例示例性说明)的区间长度(例如时长)。即,上述第二进度区间可以为第一进度区间中占预设比例的进度区间。可以理解,上述第一进度区间是包含第一进度控件上的第一位置(即第一进度控件上的第一进度标识当前对应的进度节点)在内,截取第一进度区间中预设比例(例如1/10)的进度区间得到的,截取的这段进度区间通过第二进度控件放大显示。
示例性的,以第一进度控件和第二进度控件均为时间进度控件为例,假设第一进 度控件对应的第一进度区间可以为[0,100分钟],且第一进度控件上的第一位置对应的时间点(即第一进度控件上的第一进度标识当前对应的进度节点)为第50分钟,那么第二进度控件对应的第二进度区间可以为[45分钟,55分钟]。可以理解,第二进度区间[45分钟,55分钟]为第一进度区间[0,100分钟]中,包含第50分钟的进度节点在内的、10分钟进度长度的区间。
本申请实施例中,上述第一进度区间对应的单位进度可以指针对第一进度控件,单位显示长度对应的时长。例如,假设第一进度控件在显示屏上的显示长度为5厘米,且第一进度区间为[0,100分钟],那么第一进度区间对应的单位进度可以为20分钟/厘米。
同理,上述第二进度区间对应的单位进度可以指针对第二进度控件,单位显示长度对应的时长。例如,假设第二进度控件在显示屏上的显示长度为2.5厘米,且第二进度区间为[45,55分钟],那么第二进度区间对应的单位进度可以为4分钟/厘米。
本申请实施例中,第二进度区间对应的单位进度小于第一进度区间对应的单位进度。换个角度来看,对于第一进度区间,时长为10分钟的显示长度为0.5厘米,而对于第二进度区间,时长为10分钟的显示长度为2.5厘米。可以理解,该第二进度区间通过第二进度控件放大显示。由于第二进度控件对应的进度可以为包含第一进度控件当前的触控点在内的,一小段内容段的进度放大,因此通过对第二进度控件进行输入,可以更容易进行进度微调。
步骤202、电子设备接收用户对第二进度控件的第二输入。
可选地,本申请实施例中,上述第二输入可以为用户在第二进度控件上的点击输入(例如单击输入或双击输入),也可以为用户对第二进度控件上的第二进度标识的拖动输入,还可以为其它任意满足实际使用需求的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。
本申请实施例中,上述第一输入和第二输入可以为连续的输入,即用户可以在第一进度控件上进行第一输入,手指不离开屏幕,紧接着在第二进行控件上进行第二输入。或者,第一输入和第二输入可以为独立的两个输入,即用户可以在第一进度控件上进行第一输入,手指可以离开屏幕,然后在第二进行控件上进行第二输入。具体可以根据实际使用需求确定,本申请实施例不作限定。如此,当用户触控第一进度控件时,第二进度控件直接显示出来,用户可以从触控第一进度控件变化为触控第二进度控件,直接可以对第二进度控件直接操作,使得进度微调更加方便快捷。
本申请实施例中,用户可以通过第一进度控件,将进度节点调节到大概位置(即进度粗调)。进一步,用户可以通过对第二进度控件进行第二输入,将进度节点调节到精确位置。
步骤203、电子设备响应于第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置。
本申请实施例中,上述第一进度标识可以用于指示在第一进度控件上当前对应的进度节点。具体的,用户可以拖动第一进度标识在第一进度控件上的显示位置,触发更新第一进度控件当前的进度节点。
同理,上述第二进度标识可以用于指示在第二进度控件上当前对应的进度。具体 的,用户可以拖动第二进度标识在第二进度控件上的显示位置,触发更新第二进度控件当前的进度节点。
可选地,本申请实施例中,上述第一进度标识在第一进度控件上对应的进度与上述第二进度标识在第二进度控件上对应的进度可以相同。
示例性的,第一进度标识在第一进度控件上对应的时间进度与第二进度标识在第二进度控件上对应的时间进度可以相同(例如时间进度均为第50分钟)。可以理解,相同时间进度对应的同一数据内容。
本申请实施例中,当用户拖动在第二进度控件上的第二进度标识时,电子设备可以更新第二进度标识在第二进度控件上的显示位置,并且第一进度控件上的第一进度标识的显示位置也同步变化。在此情况下,第二进度控件对应的第二进度区间范围不改变。如此,可以方便用户更加简便准确地,对视频或者音频文件等进行播放进度的调节。
图3为本申请实施例提供的进度调节方法应用的界面示意图。其中,第一进度控件31为相关技术中使用的进度调节控件,第二进度控件32为本申请实施例在第一进度控件31基础上增加的进度调节控件,可以实现进度粗调后的进度微调。该第二进度控件32为第一进度控件31上某一区间(例如包含第一进度标识33所处位置在内的第一预设长度的区间)的放大显示。用于可以拖动第一进度控件31上的第一进度标识33到一个大概位置,即在第一进度区间内粗调;然后再拖动第二进度控件31上的第二进度标识34,在第一进度区间中放大显示的第二进度区间内进行微调。如此,当用户对视频或者音频文件进行进度调节时,能够更加准确地调节到目标时间点。
参考图3,用户可以通过在第一进度控31和第二进度控件32之间的三角形区域中触控滑动输入,将触控点从第一进度控件31移动到第二进度控件32上。当触控点移动到第二进度控件32时,用户的左右滑动输入可以触发更新第二进度控件32上的第二进度标识34的显示位置,并且第一进度控件31上的第一进度标识33的显示位置也会根据比例随之更新。可以理解,用户在第一进度控件31和第二进度控件32上的滑动输入,带来的进度变化速率不同。
本申请实施例提供的进度调节方法,可以接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间;响应于第一输入,显示第二进度控件,该第二进度控件对应第二进度区间,该第二进度区间为第一进度区间中,包含第一位置在内的第一预设长度的区间,该第一位置为第一输入在第一进度控件上的位置;并且接收用户对第二进度控件的第二输入;响应于第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置;其中,第二进度控件的单位进度小于第一进度控件的单位进度。通过该方案,可以在第一进度控件的基础上增加显示第二进度控件,第一进度控件可以用于在进度区间内进行粗调,第二进度控件可以用于在该进度区间中的一部分进度区间内进行微调。这样,当用户对视频或者音频文件进行进度调节时,用户可以先在第一进度控件上输入进行粗调,然后在第二进度控件上输入进行微调,能够更加准确地调节到目标进度节点。如此,本申请实施例可以提升电子设备调节进度的精确度。
可选地,结合图2,如图4所示,在上述的步骤201之后,本申请实施例提供的 进度调节方法还可以包括下述的步骤204和步骤205。
步骤204、电子设备接收用户对第一进度控件的第三输入。
可选地,本申请实施例中,上述第三输入可以为用户在第一进度控件上的点击输入(例如单击输入或双击输入),也可以为用户对第一进度控件上的第一进度标识的拖动输入,还可以为其它任意满足实际使用需求的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。
步骤205、电子设备响应于第三输入,将第一进度标识更新显示到第一进度控件上的第二位置,并更新第二进度区间。
其中,该第二位置为第三输入在第一进度控件上的操作结束位置。更新后的第二进度区间为第一进度区间中,包含第二位置在内的第一预设长度的区间。
本申请实施例中,由于第二进度区间为第一进度区间中,包含第一进度标识的显示位置在内的第一预设长度的区间,因此若用户拖动第一进度控件上的第一进度标识,则第二进度控件对应的进度区间也随之改变。
通过该方案,在进度调节的过程中,一旦第一进度控件上的进度节点改变,则包含该进度节点在内的第二进度区间会随之更新,从而用户可以先在第一进度控件上进行进度粗调,然后再在第二进度控件上,在第二进度区间内进行进度微调,如此本申请实施例可以提升电子设备调节进度的精确度。
需要说明的是,本申请实施例可以不限定步骤202-步骤203和步骤204-步骤205的执行顺序。即本申请实施例可以先执行步骤202-步骤203,后执行步骤204-步骤205;也可以先执行步骤204-步骤205,后执行步骤202-步骤203。可以理解,上述图4是以先执行步骤204-步骤205后执行步骤202-步骤203为例示意的。
可选地,结合图4,如图5所示,在上述的步骤204之后,本申请实施例提供的进度调节方法还可以包括下述的步骤206。
步骤206、电子设备响应于第三输入,根据该第三输入的输入参数,更新第二进度控件的显示位置。
可选地,本申请实施例中,上述第三输入的输入参数可以包括以下至少一项:在第一进度控件上的输入方向,在第一进度控件上的输入轨迹长度,在第一进度控件上的输入时长。可以理解,上述第三输入的输入参数均为示例性的举例说明,具体可以根据实际使用需求确定,本申请实施例不作限定。
本申请实施例中,在用户对第一进度控件进行第三输入之后,电子设备可以将第一进度标识更新显示到第一进度控件上的第二位置,并根据第三输入的输入参数,使第二进度控件的显示位置随着第一进度标识在第一进度控件上的更新位置而更新。如此,第二进度控件的显示位置可以跟随第一进度控件上的第一进度标识的显示位置改变,可以提升人机交互的灵活性的便捷性。
需要说明的是,本申请实施例可以不限定上述步骤205和步骤206的执行顺序。即本申请实施例可以先执行步骤205,后执行步骤206;也可以先执行步骤206,后执行步骤205;也可以同时执行步骤205和步骤206。可以理解,上述图5是以先执行步骤206后执行步骤205为例示意的。
可选地,结合图4,如图6所示,在上述的步骤201之后,本申请实施例提供的 进度调节方法还可以包括下述的步骤207。
步骤207、若在预设时长内,电子设备未接收到用户的第二输入或第三输入,则在预设时长后,电子设备取消显示第二进度控件。
可选地,本申请实施例中,上述预设时长可以为30秒,或者可以为1分钟,或者可以为其它任意满足实际使用需求的时长,具体可以根据实际使用情况确定,本申请实施例不作限定。
本申请实施例中,在用户调节进度结束后(即用户手指离开屏幕),若电子设备在预设时长内,未接收到用户的第二输入或第三输入,则电子设备可以在预设时长后,控制第二进度控件渐变为隐藏状态,从而可以不影响用户视图,如此可以提升电子设备调节进度的准确度的同时,还可以提升人机交互的灵活性和便捷性。
需要说明的是,本申请实施例中,电子设备可以在上述步骤201之后,择一执行上述的步骤207、步骤202-步骤203、步骤204-步骤205,即电子设备可以执行上述的步骤207,或者电子设备可以执行上述的步骤202-步骤203,或者电子设备可以执行上述的步骤204-步骤205。当然,电子设备也可以在步骤202-步骤203之后,执行上述的步骤207,或者可以在步骤204-步骤205之后,执行上述的步骤207。
可选地,结合图2,如图7所示,在上述的步骤201之后,本申请实施例提供的进度调节方法还可以包括下述的步骤208-步骤211。
步骤208、电子设备接收用户对第二进度控件的第四输入。
步骤209、电子设备响应于第四输入,显示第三进度控件,该第三进度控件对应第三进度区间。
其中,该第三进度区间可以为第二进度区间中,包含第三位置在内的第二预设长度的区间,该第三位置为第四输入在第二进度控件上的操作结束位置。
步骤210、电子设备接收用户对第三进度控件的第五输入。
步骤211、电子设备响应于第五输入,更新第三进度控件上的第三进度标识的显示位置,并基于第三进度控件的进度调节量,更新第二进度标识在第二进度控件上的显示位置以及第一进度标识在第一进度控件上的显示位置。
其中,上述第三进度控件的单位进度小于第二进度控件的单位进度。
本申请实施例中,如上所述,假设第二进度控件在显示屏上的显示长度为2.5厘米,且第二进度区间为[45,55分钟],那么第二进度控件的单位进度可以为4分钟/厘米。对应地,假设第三进度控件在显示屏上的显示长度为2厘米,且第二进度区间为[48分钟,52分钟],那么第三进度控件的单位进度可以为2.5分钟/厘米。
本申请实施例中,对于上述步骤208-步骤211的描述具体可以参见上述对步骤200-步骤203的相关描述,此处不再赘述。
本申请实施例中,在显示第一进度控件和第二进度控件的基础上,可以继续显示第三进度控件,第三进度控件可以为第二进度控件上某一区间的放大展示,通过第三进度控件可以对进度进行更加细节的调节。依此类推,可以展开更多层级的进度控件。可以理解,进度控件的层级越高,在该进度控件上进行进度调节时,调节相同的距离,带来的进度改变越少。此外,可以根据用户播放内容进度范围的实际情况,对进度控件的最高层级进行限制。如此,可以提升电子设备调节进度的精确度。
需要说明的是,本申请实施例可以不限定上述步骤202-步骤203与步骤208-步骤211的执行顺序。即本申请实施例可以先执行步骤202-步骤203,后执行步骤208-步骤211;也可以先执行步骤208-步骤211,后执行步骤202-步骤203。可以理解,上述图7是以先执行步骤202-步骤203后执行步骤208-步骤211为例示意的。
如图8所示,本申请实施例提供一种电子设备,该电子设备可以包括接收模块701和显示模块702。接收模块701用于接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间。显示模块702用于响应于接收模块701接收的该第一输入,显示第二进度控件,该第二进度控件对应第二进度区间,该第二进度区间为第一进度区间中,包含第一位置在内的第一预设长度的区间,该第一位置为第一输入在第一进度控件上的位置。接收模块701还用于接收用户对显示模块702显示的该第二进度控件的第二输入。显示模块702还用于响应于接收模块701接收的该第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置。其中,第二进度控件的单位进度小于第一进度控件的单位进度。
可选地,本申请实施例中,上述第一进度标识在第一进度控件上对应的进度与第二进度标识在第二进度控件上对应的进度可以相同。
可选地,本申请实施例中,接收模块701还用于在显示模块702显示第二进度控件之后,接收用户对第一进度控件的第三输入。显示模块702还用于响应于接收模块701接收的该第三输入,将第一进度标识更新显示到第一进度控件上的第二位置,并更新上述第二进度区间,该第二位置为第三输入在第一进度控件上的操作结束位置。其中,更新后的第二进度区间为第一进度区间中,包含第二位置在内的第一预设长度的区间。
可选地,本申请实施例中,显示模块702还用于响应于接收模块701接收的第三输入,根据该第三输入的输入参数,更新第二进度控件的显示位置。
可选地,本申请实施例中,显示模块702还用于在显示第二进度控件之后,若在预设时长内,接收模块701未接收到用户的第二输入或第三输入,则在预设时长后,取消显示上述第二进度控件。
可选地,本申请实施例中,接收模块701还用于在显示模块702显示第二进度控件之后,接收用户对第二进度控件的第四输入。显示模块702还用于响应于接收模块701接收的该第四输入,显示第三进度控件,该第三进度控件对应第三进度区间,该第三进度区间为第二进度区间中,包含第三位置在内的第二预设长度的区间,该第三位置为第四输入在第二进度控件上的操作结束位置。接收模块701还用于接收用户对显示模块702显示的该第三进度控件的第五输入。显示模块702还用于响应于该第五输入,更新第三进度控件上的第三进度标识的显示位置,并基于第三进度控件的进度调节量,更新第二进度标识在第二进度控件上的显示位置以及第一进度标识在第一进度控件上的显示位置。其中,上述第三进度控件的单位进度小于第二进度控件的单位进度。
本申请实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
本申请实施例提供的电子设备,可以接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间;响应于第一输入,显示第二进度控件,该第二进度控件对应第二进度区间,该第二进度区间为第一进度区间中,包含第一位置在内的第一预设长度的区间,该第一位置为第一输入在第一进度控件上的位置;并且接收用户对第二进度控件的第二输入;响应于第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置;其中,第二进度控件的单位进度小于第一进度控件的单位进度。通过该方案,可以在第一进度控件的基础上增加显示第二进度控件,第一进度控件可以用于在某一进度区间内进行粗调,第二进度控件可以用于在该进度区间中的一部分进度区间内进行微调。这样,当用户对视频或者音频文件进行进度调节时,用户可以先在第一进度控件上输入进行粗调,然后在第二进度控件上输入进行微调,能够更加准确地调节到目标进度节点。如此,本申请实施例可以提升电子设备调节进度的精确度。
图9为实现本申请各个实施例的一种电子设备的硬件结构示意图。如图9所示,该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,用户输入单元807,用于接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间;显示单元806,用于响应于用户输入单元807接收的第一输入,显示第二进度控件,该第二进度控件对应第二进度区间,该第二进度区间为第一进度区间中,包含第一位置在内的第一预设长度的区间,该第一位置为第一输入在第一进度控件上的位置;用户输入单元807,还用于接收用户对显示单元806显示的第二进度控件的第二输入;显示单元806,还用于响应于用户输入单元807接收的第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置;其中,第二进度控件的单位进度小于第一进度控件的单位进度。
本申请实施例提供一种电子设备,该电子设备可以接收用户对第一进度控件的第一输入,该第一进度控件对应第一进度区间;响应于第一输入,显示第二进度控件,该第二进度控件对应第二进度区间,该第二进度区间为第一进度区间中,包含第一位置在内的第一预设长度的区间,该第一位置为第一输入在第一进度控件上的位置;并且接收用户对第二进度控件的第二输入;响应于第二输入,更新第二进度控件上的第二进度标识的显示位置,并基于第二进度控件的进度调节量,更新第一进度控件上的第一进度标识的显示位置;其中,第二进度控件的单位进度小于第一进度控件的单位进度。通过该方案,可以在第一进度控件的基础上增加显示第二进度控件,第一进度控件可以用于在某一进度区间内进行粗调,第二进度控件可以用于在该进度区间中的一部分进度区间内进行微调。这样,当用户对视频或者音频文件进行进度调节时,用户可以先在第一进度控件上输入进行粗调,然后在第二进度控件上输入进行微调,能够更加准确地调节到目标进度节点。如此,本申请实施例可以提升电子设备调节进度的精确度。
应理解的是,本申请实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。
电子设备800通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与电子设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(graphics processing unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。
电子设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在电子设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板8061。
用户输入单元807可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、 功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图9中,触控面板8071与显示面板8061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元808为外部装置与电子设备800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备800内的一个或多个元件或者可以用于在电子设备800和外部装置之间传输数据。
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器810是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器810可包括一个或多个处理单元;可选地,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。
电子设备800还可以包括给各个部件供电的电源811(比如电池),可选地,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。另外,电子设备800包括一些未示出的功能模块,在此不再赘述。
可选地,本申请实施例还提供一种电子设备,包括如图9所示的处理器810,存储器809,存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述进度调节方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述进度调节方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而 且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例公开的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (12)

  1. 一种进度调节方法,应用于电子设备,所述方法包括:
    接收用户对第一进度控件的第一输入,所述第一进度控件对应第一进度区间;
    响应于所述第一输入,显示第二进度控件,所述第二进度控件对应第二进度区间,所述第二进度区间为所述第一进度区间中,包含第一位置在内的第一预设长度的区间,所述第一位置为所述第一输入在所述第一进度控件上的位置;
    接收用户对所述第二进度控件的第二输入;
    响应于所述第二输入,更新所述第二进度控件上的第二进度标识的显示位置,并基于所述第二进度控件的进度调节量,更新所述第一进度控件上的第一进度标识的显示位置;
    其中,所述第二进度控件的单位进度小于所述第一进度控件的单位进度。
  2. 根据权利要求1所述的方法,其中,在所述显示第二进度控件之后,所述方法还包括:
    接收用户对第一进度控件的第三输入;
    响应于所述第三输入,将所述第一进度标识更新显示到所述第一进度控件上的第二位置,并更新所述第二进度区间,所述第二位置为所述第三输入在所述第一进度控件上的操作结束位置;
    其中,更新后的所述第二进度区间为所述第一进度区间中,包含所述第二位置在内的第一预设长度的区间。
  3. 根据权利要求2所述的方法,其中,在所述接收用户对第一进度控件的第三输入之后,所述方法还包括:
    响应于所述第三输入,根据所述第三输入的输入参数,更新所述第二进度控件的显示位置。
  4. 根据权利要求2所述的方法,其中,在所述显示第二进度控件之后,所述方法还包括:
    若在预设时长内,未接收到用户的第二输入或第三输入,则在预设时长后,取消显示所述第二进度控件。
  5. 根据权利要求1所述的方法,其中,在所述显示第二进度控件之后,所述方法还包括:
    接收用户对所述第二进度控件的第四输入;
    响应于所述第四输入,显示第三进度控件,所述第三进度控件对应第三进度区间,所述第三进度区间为所述第二进度区间中,包含第三位置在内的第二预设长度的区间,所述第三位置为所述第四输入在所述第二进度控件上的操作结束位置;
    接收用户对所述第三进度控件的第五输入;
    响应于所述第五输入,更新所述第三进度控件上的第三进度标识的显示位置,并基于所述第三进度控件的进度调节量,更新所述第二进度标识在所述第二进度控件上的显示位置以及所述第一进度标识在所述第一进度控件上的显示位置;
    其中,所述第三进度控件的单位进度小于所述第二进度控件的单位进度。
  6. 一种电子设备,所述电子设备包括接收模块和显示模块;
    所述接收模块,用于接收用户对第一进度控件的第一输入,所述第一进度控件对应第一进度区间;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,显示第二进度控件,所述第二进度控件对应第二进度区间,所述第二进度区间为所述第一进度区间中,包含第一位置在内的第一预设长度的区间,所述第一位置为所述第一输入在所述第一进度控件上的位置;
    所述接收模块,还用于接收用户对所述显示模块显示的所述第二进度控件的第二输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,更新所述第二进度控件上的第二进度标识的显示位置,并基于所述第二进度控件的进度调节量,更新所述第一进度控件上的第一进度标识的显示位置;
    其中,所述第二进度控件的单位进度小于所述第一进度控件的单位进度。
  7. 根据权利要求6所述的电子设备,其中,所述接收模块,还用于在所述显示模块显示第二进度控件之后,接收用户对第一进度控件的第三输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第三输入,将所述第一进度标识更新显示到所述第一进度控件上的第二位置,并更新所述第二进度区间,所述第二位置为所述第三输入在所述第一进度控件上的操作结束位置;
    其中,更新后的所述第二进度区间为所述第一进度区间中,包含所述第二位置在内的第一预设长度的区间。
  8. 根据权利要求7所述的电子设备,其中,所述显示模块,还用于响应于所述接收模块接收的所述第三输入,根据所述第三输入的输入参数,更新所述第二进度控件的显示位置。
  9. 根据权利要求7所述的电子设备,其中,所述显示模块,还用于在显示第二进度控件之后,若在预设时长内,所述接收模块未接收到用户的第二输入或第三输入,则在预设时长后,取消显示所述第二进度控件。
  10. 根据权利要求6所述的电子设备,其中,所述接收模块,还用于在所述显示模块显示第二进度控件之后,接收用户对所述第二进度控件的第四输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第四输入,显示第三进度控件,所述第三进度控件对应第三进度区间,所述第三进度区间为所述第二进度区间中,包含第三位置在内的第二预设长度的区间,所述第三位置为所述第四输入在所述第二进度控件上的操作结束位置;
    所述接收模块,还用于接收用户对所述显示模块显示的所述第三进度控件的第五输入;
    所述显示模块,还用于响应于所述第五输入,更新所述第三进度控件上的第三进度标识的显示位置,并基于所述第三进度控件的进度调节量,更新所述第二进度标识在所述第二进度控件上的显示位置以及所述第一进度标识在所述第一进度控件上的显示位置;
    其中,所述第三进度控件的单位进度小于所述第二进度控件的单位进度。
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理 器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的进度调节方法的步骤。
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的进度调节方法的步骤。
PCT/CN2020/113809 2019-10-31 2020-09-07 进度调节方法及电子设备 WO2021082740A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911053009.8A CN110933505A (zh) 2019-10-31 2019-10-31 一种进度调节方法及电子设备
CN201911053009.8 2019-10-31

Publications (1)

Publication Number Publication Date
WO2021082740A1 true WO2021082740A1 (zh) 2021-05-06

Family

ID=69850052

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/113809 WO2021082740A1 (zh) 2019-10-31 2020-09-07 进度调节方法及电子设备

Country Status (2)

Country Link
CN (1) CN110933505A (zh)
WO (1) WO2021082740A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933505A (zh) * 2019-10-31 2020-03-27 维沃移动通信有限公司 一种进度调节方法及电子设备
CN111897480B (zh) * 2020-06-05 2022-03-04 维沃移动通信有限公司 播放进度调节方法、装置及电子设备
CN111818390A (zh) * 2020-06-30 2020-10-23 维沃移动通信有限公司 视频截取方法、装置及电子设备
CN114727101B (zh) * 2022-06-08 2023-01-24 荣耀终端有限公司 一种天线功率调节方法及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375763A (zh) * 2013-08-15 2015-02-25 联想(北京)有限公司 一种进度调节方法及电子设备
CN104575549A (zh) * 2013-10-18 2015-04-29 上海斐讯数据通信技术有限公司 一种定位播放画面的方法及装置
CN105898593A (zh) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 一种播放进度调节方法和装置
WO2017031048A1 (en) * 2015-08-14 2017-02-23 Hasek Martin Device, method and graphical user interface for handwritten interaction
CN110933505A (zh) * 2019-10-31 2020-03-27 维沃移动通信有限公司 一种进度调节方法及电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103558969A (zh) * 2013-10-28 2014-02-05 华为技术有限公司 一种调节播放的方法及装置
CN104902331B (zh) * 2014-03-07 2018-08-10 联想(北京)有限公司 一种播放进度调节方法及电子设备
CN104090705A (zh) * 2014-07-28 2014-10-08 联想(北京)有限公司 进度调节方法和电子设备
CN104822091B (zh) * 2015-04-29 2016-08-24 努比亚技术有限公司 视频播放进度控制方法、装置及移动终端
US10219026B2 (en) * 2015-08-26 2019-02-26 Lg Electronics Inc. Mobile terminal and method for playback of a multi-view video
CN108062196A (zh) * 2017-12-14 2018-05-22 维沃移动通信有限公司 一种播放进度的调节方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375763A (zh) * 2013-08-15 2015-02-25 联想(北京)有限公司 一种进度调节方法及电子设备
CN104575549A (zh) * 2013-10-18 2015-04-29 上海斐讯数据通信技术有限公司 一种定位播放画面的方法及装置
WO2017031048A1 (en) * 2015-08-14 2017-02-23 Hasek Martin Device, method and graphical user interface for handwritten interaction
CN105898593A (zh) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 一种播放进度调节方法和装置
CN110933505A (zh) * 2019-10-31 2020-03-27 维沃移动通信有限公司 一种进度调节方法及电子设备

Also Published As

Publication number Publication date
CN110933505A (zh) 2020-03-27

Similar Documents

Publication Publication Date Title
WO2021104365A1 (zh) 对象分享方法及电子设备
WO2021082740A1 (zh) 进度调节方法及电子设备
EP3855714B1 (en) Information processing method and terminal
WO2020181955A1 (zh) 界面控制方法及终端设备
WO2020156169A1 (zh) 显示控制方法及终端设备
CN109032486B (zh) 一种显示控制方法及终端设备
WO2021218748A1 (zh) 投屏方法及电子设备
WO2021129538A1 (zh) 一种控制方法及电子设备
WO2020215932A1 (zh) 显示未读消息的方法及终端设备
WO2021004327A1 (zh) 应用权限设置方法及终端设备
WO2021104163A1 (zh) 图标整理方法及电子设备
US20220137791A1 (en) Icon display method and terminal device
WO2020192297A1 (zh) 屏幕界面切换方法及终端设备
WO2020057257A1 (zh) 应用界面切换方法及移动终端
WO2021037074A1 (zh) 音频输出方法及电子设备
WO2021004306A1 (zh) 操作控制方法及终端
WO2021083088A1 (zh) 消息显示方法及终端设备
WO2020215950A1 (zh) 界面显示方法及终端设备
WO2020155980A1 (zh) 控制方法及终端设备
WO2020215969A1 (zh) 内容输入方法及终端设备
WO2020215982A1 (zh) 桌面图标管理方法及终端设备
US20210200432A1 (en) Display method and mobile terminal
WO2021136330A1 (zh) 弹幕显示控制方法及电子设备
WO2021068885A1 (zh) 控制方法及电子设备
WO2020192282A1 (zh) 通知消息显示方法及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20881545

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20881545

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20881545

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20881545

Country of ref document: EP

Kind code of ref document: A1