WO2017206810A1 - Method and system for controlling fast forward/rewind of player - Google Patents

Method and system for controlling fast forward/rewind of player Download PDF

Info

Publication number
WO2017206810A1
WO2017206810A1 PCT/CN2017/086120 CN2017086120W WO2017206810A1 WO 2017206810 A1 WO2017206810 A1 WO 2017206810A1 CN 2017086120 W CN2017086120 W CN 2017086120W WO 2017206810 A1 WO2017206810 A1 WO 2017206810A1
Authority
WO
WIPO (PCT)
Prior art keywords
sampling point
audio
user
video file
fast forward
Prior art date
Application number
PCT/CN2017/086120
Other languages
French (fr)
Chinese (zh)
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 WO2017206810A1 publication Critical patent/WO2017206810A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play

Definitions

  • the present disclosure relates to the field of player technologies, for example, to a method and system for controlling fast forward and rewind of a player.
  • the fast forward and rewind operation mode used in the prior art player is that the player specifies a fixed movement variable T, that is, the length of time that the user can only move T every time the user rewinds or fast forwards, when the user uses When fast forward and rewind, it is difficult for the user to quickly and accurately move to the user's ideal position.
  • the present disclosure aims to provide a control method and system for fast forward and rewind of a player, and aims to solve the method of fast forward and rewind used on the player in the prior art.
  • the fixed movement variable T that is, the length of time that the user can only move T every time the user rewinds or fast forwards, when the user uses the fast forward and rewind operation, the user is difficult to quickly and accurately move to the user's ideal position. defect.
  • a method for controlling a fast forward and rewind of a player comprising:
  • the current playback position of the audio and video file playback is obtained in real time; And obtaining and judging the user's operation;
  • the play position is positioned to an intermediate position between the initial position of the audio and video file playback and the current play position.
  • the pre-acquiring and currently storing the currently played audio and video file data includes:
  • a time point is sampled in each of the N playback segments, N sampling time points are generated, and N sampling time points are arranged into an array of progress bars in a play order and stored, where N is a natural number.
  • the progress bar array is recorded as A[N]
  • the sampling point corresponding to the start position of the audio and video file is recorded as A[0]
  • the sampling point corresponding to the end position of the audio and video file is recorded as A[i]
  • the sampling point corresponding to the current playing position is recorded as A[now]
  • the playing position is positioned to an intermediate position between the current playing position and the end position of the audio and video file playback, including:
  • the sampling point A[temp1] is positioned to a position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i];
  • sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp1].
  • the progress bar array is recorded as A[N]
  • the sampling point corresponding to the start position of the audio and video file is recorded as A[0]
  • the sampling point corresponding to the end position of the audio and video file is recorded as A[i]
  • the sampling point corresponding to the current playing position is recorded as A[now]
  • the playing position is positioned to an intermediate position between the initial position of the audio and video file playback and the current playing position.
  • the sampling point A[temp2] is positioned to a position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now];
  • sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i].
  • the method before the pre-acquiring the currently played audio and video file data and storing the data, the method further includes:
  • a cancel button is set in advance to cancel the positioning of this wheel.
  • a control system for fast forward and rewind of a player comprising:
  • Pre-acquiring and storing the module setting to pre-acquire the currently played audio and video file data and storing;
  • the judging module is configured to acquire the current playing position of the audio and video file playing in real time during the playing of the audio and video file; and obtain and judge the operation of the user;
  • a first positioning module configured to: if the operation of the user is determined to be a fast forward operation, positioning the play position to an intermediate position between the current play position and the end position of the audio and video file;
  • the second positioning module is configured to: if the operation of the user is determined to be a fast reverse operation, position the play position to an intermediate position between the initial position of the audio and video file playback and the current play position.
  • the pre-acquisition and storage module specifically includes:
  • the pre-acquisition unit is configured to pre-acquire the duration of playing the audio and video file, and divide into N pieces according to the playing duration in units of seconds;
  • the storage unit is configured to respectively sample a time point in the N pieces of play, generate N sampling time points, arrange the N sampling time points into an array of progress bars in a play order, and store the same.
  • Medium N is a natural number.
  • the progress bar array is recorded as A[N]
  • the sampling point corresponding to the start position of the audio and video file is recorded as A[0]
  • the sampling point corresponding to the end position of the audio and video file is recorded as A[i]
  • the sampling point corresponding to the current playback position is recorded as A[now]
  • the first positioning module specifically includes:
  • the first detecting and positioning unit is configured to position the sampling point A[temp1] to a position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i] if the user operates as a fast forward operation ;
  • the second detecting and locating unit is configured to determine an operation performed by the user again. If the user performs the fast forward operation again, the sampling point A[temp1] is repositioned to the middle of the sampling point A[temp1] and the sampling point A[i] The position corresponding to the sampling point; if the user performs the fast rewind operation again, the sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp1].
  • the progress bar array is recorded as A[N]
  • the sampling point corresponding to the start position of the audio and video file is recorded as A[0]
  • the sampling point corresponding to the end position of the audio and video file is recorded as A[i]
  • the sampling point corresponding to the current playback position is recorded as A[now]
  • the second positioning module specifically includes:
  • the third detecting and locating unit is configured to position the sampling point A[temp2] to a position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now] if the user operates as a fast rewinding operation ;
  • the fourth detecting and locating unit is configured to determine the operation performed by the user again. If the user performs the fast rewinding operation again, the sampling point A[temp2] is repositioned to the middle of the sampling point A[0] and the current sampling point A[temp2]. If the user performs the fast forward operation again, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current point A[temp2] and the sampling point A[i] of the sampling point.
  • system further includes:
  • the module is preset, and a cancel button is set in advance to cancel the positioning of the wheel.
  • a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • An electronic device comprising:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
  • the present disclosure provides a control method and system for fast forward and rewind of a player.
  • the present disclosure uses a binary search method to quickly locate a fast forward or fast backward position of a user, and the speed is fast and the search is accurate. It is convenient for users to play audio and video files.
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for controlling fast forward and rewind of a player according to the present disclosure
  • Embodiment 2 is a flowchart of Embodiment 2 of a method for controlling fast forward and rewind of a player according to the present disclosure
  • Embodiment 3 is a flowchart of Embodiment 3 of a method for controlling fast forward and rewind of a player according to the present disclosure
  • Embodiment 4 is a flowchart of Embodiment 4 of a method for controlling fast forward and rewind of a player according to the present disclosure
  • FIG. 5 is a functional block diagram of a preferred embodiment of a fast forward and rewind control system for a player according to the present disclosure
  • FIG. 6 is a functional block diagram of a pre-acquisition and storage module of a specific application embodiment of a fast forward and rewind control system for a player according to the present disclosure
  • FIG. 7 is a functional block diagram of a first positioning module of a specific application embodiment of a fast forward and rewind control system for a player according to the present disclosure
  • FIG. 8 is a functional block diagram of a second positioning module of a specific application embodiment of a fast forward and rewind control system for a player according to the present disclosure
  • FIG. 9 is a schematic diagram showing the hardware structure of an electronic device according to the present disclosure.
  • the present disclosure provides a flowchart of a preferred embodiment of a method for controlling a fast forward and rewind of a player, as shown in FIG. 1 , wherein the method includes:
  • Step 100 Acquire and store the currently played audio and video file data in advance.
  • the basic information of the currently played audio and video file may be obtained in advance, including but not limited to the type, size, and length of the audio and video file, thereby composing related data of the audio and video file, and performing storage.
  • step 200 during the playing of the audio and video file, the current playing position of the audio and video file is obtained in real time, and the operation of the user is obtained and determined. If the operation of the user is determined to be a fast forward operation, step 300 is performed. If the operation of the user is a fast rewind operation, step 400 is performed.
  • Step 300 Position the play position to an intermediate position between the current play position and the end position of the audio and video file.
  • Step 400 Position the play position to an intermediate position between the initial position of the audio and video file playback and the current play position.
  • the player of the audio and video file in step 100 is an audio player or a video player.
  • the flow of the second embodiment is basically the same as that of the first embodiment.
  • the difference is that the step 100 of the first embodiment is replaced by the step 101 and the step 102 of the second embodiment, wherein the step 101 and the step 102 are specifically:
  • Step 101 Pre-acquire the duration of playing the audio and video file, and divide it into N pieces according to the playing duration in units of seconds.
  • Step 102 Sampling a time point in each of the N play segments, generating N sampling time points, and arranging the N sampling time points into an array of progress bars in a play order, and storing N, wherein N is a natural number.
  • the method pre-defines the array A[N] to represent an array of progress bars for video playback, the unit can be set to seconds, A[0] represents the starting position of the video, and A[N] represents the last position of the video. A[now] indicates the current viewing position of the user, and A[temp] indicates the temporary position during the movement.
  • the process steps of the third embodiment are substantially the same as those of the first embodiment.
  • the step 300 of the first embodiment is replaced by the step 301 and the step 302 of the third embodiment.
  • the progress bar array is recorded as A[N]
  • the sampling point corresponding to the start position of the audio and video file is recorded as A[0]
  • the sampling point corresponding to the end position of the audio and video file is recorded as A[i]
  • the sampling point corresponding to the current playback position is recorded as A[now]
  • steps 301 and 302 are specifically:
  • Step 301 If the user operation is a fast forward operation, the sampling point A[temp1] is located to a position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i].
  • Step 302 Determine an operation performed by the user again. If the user performs the fast forward operation again, relocate the sampling point A[temp1] to the sampling point between the current sampling point A[temp1] and the sampling point A[i]. Position; if the user performs the fast rewind operation again, the sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp1].
  • A[temp1] represents a sampling point of an intermediate position between the current playback position A[now] and the end position A[i]. Assuming the first step of the user's operation is fast forward, then the sampling point A[temp1] Position the position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i]. In the second step, if the user continues to fast forward, reposition the sampling point A[temp1] to the current sampling point A[temp1 ] The position corresponding to the sampling point in the middle of the sampling point A[i], if the second step user is backward, the sampling point A[temp1] is relocated to the sampling point A[0] and the current sampling point A[temp1] The position corresponding to the sampling point in the middle.
  • the flow of the fourth embodiment is substantially the same as that of the first embodiment.
  • the step 400 of the first embodiment is replaced by the step 401 and the step 402 of the fourth embodiment.
  • the progress bar array is recorded as A[N]
  • the sampling point corresponding to the start position of the audio and video file is recorded as A[0]
  • the sampling point corresponding to the end position of the audio and video file is recorded as A[i]
  • the sampling point corresponding to the current playing position is recorded as A[now]
  • step 401 and step 402 are specifically:
  • Step 401 If the user operation is a fast rewind operation, the sampling point A[temp2] is located to a position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now].
  • Step 402 Determine an operation performed by the user again. If the user performs the fast rewind operation again, relocate the sampling point A[temp2] to the sampling point between the sampling point A[0] and the current sampling point A[temp2]. Position, if the user performs the fast forward operation again, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i].
  • A[temp2] represents a sampling point of the intermediate position between the starting position A[0] and the current playing position A[now]. Assuming that the first user is backing up, the sampling point A[temp2] is positioned to the position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now], and the second step is to continue the user's operation. Then, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp2]. If the second step of the user's operation is fast forward, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i].
  • the process steps of the fifth embodiment are substantially the same as those of the first embodiment. The difference is that before the step 100 of the first embodiment, the method further includes:
  • Step 10 Set a cancel button in advance to cancel the current round of positioning.
  • retaining an operation is an operation in which the user cancels the round binary search.
  • the user is using the above method to fast forward and rewind.
  • the original intention is to retreat, that is, to locate a position between A[0] and A[now], but suddenly change the mind to locate A.
  • a certain position between [now] and A[N] you only need to press the strategy to cancel the current binary search to start a new round of binary search process. According to the above steps, it can quickly and accurately locate the user's ideal moving position.
  • the device may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gates An array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable gates
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory comprising instructions executable by a processor of the apparatus to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • the present disclosure also provides a functional block diagram of a preferred embodiment of a control system for fast forward and rewind of a player. As shown in FIG. 5, the system includes:
  • the pre-acquisition and storage module 01 is configured to acquire and store the currently played audio and video file data in advance; as described in the foregoing method embodiment.
  • the determining module 02 is configured to acquire the current playing position of the audio and video file playing in real time during the playing of the audio and video file; and obtain and judge the operation of the user, and determine whether the user operation is a fast forward operation or a fast reverse operation; As described in the examples.
  • the first positioning module 03 is configured to: if it is determined that the operation of the user is a fast forward operation, The placement position is positioned to an intermediate position between the current playback position and the end position of the audio and video file playback; as described in the above method embodiment.
  • the second positioning module 04 is configured to: if it is determined that the operation of the user is a fast rewind operation, locate the play position to an intermediate position between the initial position of the audio and video file playback and the current play position; as described in the foregoing method embodiment.
  • the pre-acquisition and storage module 01 specifically includes:
  • the pre-acquisition unit 011 is configured to pre-acquire the duration of playing the audio and video file, and divide it into N pieces according to the playing duration in units of seconds; as described in the above method embodiment.
  • the storage unit 012 is configured to respectively sample N time segments to generate a sampling time point, and generate N sampling time points, and arrange N sampling time points into a progress bar array in a play order, where N is a natural number; As stated in the example.
  • the sampling point corresponding to the start position of the audio and video file is recorded as A[0]
  • the end position of the audio and video file is corresponding.
  • the sampling point is recorded as A[i]
  • the sampling point corresponding to the current playing position is recorded as A[now]
  • the first positioning module 03 specifically includes:
  • the first detecting and positioning unit 031 is configured to position the sampling point A[temp1] to the sampling point between the sampling point A[now] and the sampling point A[i] if the user operates as a fast forward operation. Position; specifically as described in the method embodiments above.
  • the second detecting and positioning unit 032 is configured to determine an operation performed again by the user. If the user performs the fast forward operation again, the sampling point A[temp1] is repositioned to the middle of the sampling point A[temp1] and the sampling point A[i]. The position corresponding to the sampling point; if the user performs the fast rewind operation again, the sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the sampling point A[temp1]; As described in the method embodiments above.
  • the progress bar array is recorded as A[N]
  • the sampling point corresponding to the start position of the audio and video file is recorded as A[0]
  • the sampling point corresponding to the end position of the audio and video file is recorded as A[i]
  • the sampling point corresponding to the current playback position is recorded as A[now]
  • the second positioning module 04 specifically includes:
  • the third detecting and positioning unit 041 is configured to position the sampling point A[temp2] to the sampling point between the sampling point A[0] and the sampling point A[now] if the user operates as a fast rewinding operation. Position; specifically as described in the method embodiments above.
  • the fourth detecting and locating unit 042 is configured to determine the operation performed by the user again. If the user performs the fast rewinding operation again, the sampling point A[temp2] is relocated to the sampling point A[0] and the current sampling point A[temp2]. If the user performs the fast forward operation again, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i]. Specifically as described in the above method examples.
  • system further includes:
  • the module is preset, and a cancel button is preset to cancel the positioning of the current wheel; as described in the above method embodiment.
  • the present disclosure also provides a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the present disclosure also provides a hardware structure diagram of an electronic device.
  • the electronic device can perform the corresponding method steps as the player provided in the above embodiment.
  • the electronic device includes:
  • At least one processor 90 which is exemplified by a processor 90 in FIG. 9; a display 91; and a memory 92, which may further include a communication interface 93 and a bus 94.
  • the processor 90, the display screen 91, the memory 92, and the communication interface 93 can complete communication with each other through the bus 94.
  • the display screen 91 is set to display a preset user guidance interface in the initial setting mode.
  • Communication interface 93 can transmit information.
  • Processor 90 can invoke logic instructions in memory 82 to perform the methods in the above-described embodiments.
  • logic instructions in the memory 92 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium. Quality.
  • the memory 92 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, a program instruction or a module corresponding to the method in the embodiment of the present disclosure.
  • the processor 90 executes the functional applications and data processing by executing software programs, instructions or modules stored in the memory 92, i.e., implements the methods of the above-described embodiments.
  • the memory 92 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 92 may include a high speed random access memory, and may also include a nonvolatile memory.
  • All or part of the steps of the above embodiments may be completed by hardware, or may be executed by a program to execute related hardware.
  • the program may be stored in a computer readable storage medium, and the storage medium may be a non-transitory storage medium, including a USB flash drive.
  • the present disclosure provides a method and system for controlling a fast forward and rewind of a player.
  • the method includes: acquiring and storing the currently played audio and video file data in advance; and acquiring audio and video in real time during the audio and video file playing process. If the current playback position of the file is played, the operation of the user is obtained and determined; if it is determined that the operation of the user is a fast forward operation, the playback position is positioned to an intermediate position between the current playback position and the end position of the audio and video file playback; If the user's operation is a fast rewind operation, the playback position is positioned to the middle of the initial position of the audio and video file playback and the current playback position.
  • the present disclosure uses the binary search method to quickly locate the user's fast forward or rewind position, and the speed is fast and the search is accurate, which brings convenience for the user to play audio and video files.

Abstract

The present disclosure relates to a method and a system for controlling fast forward/rewind of a player. The method comprises: acquiring and storing, in advance, data of an audio/video file that is currently played back; during the playback of the audio/video file, acquiring, in real time, the current playback position of the audio/video file, and acquiring and determining an operation of a user; if it is determined that the operation of the user is a fast forward operation, positioning the playback position to a middle position between the current playback position and the playback ending position of the audio/video file; and if it is determined that the operation of the user is a rewind operation, positioning the playback position to a middle position between the playback beginning position of the audio/video file and the current playback position.

Description

播放器快进快退的控制方法及系统Player fast forward and rewind control method and system 技术领域Technical field
本公开涉及播放器技术领域,例如涉及一种播放器快进快退的控制方法及系统。The present disclosure relates to the field of player technologies, for example, to a method and system for controlling fast forward and rewind of a player.
背景技术Background technique
随着人们生活水平不断提高,各种音视频播放器的使用越来越普及,音视频播放器已经成为人们生活中不可缺少的工具。With the continuous improvement of people's living standards, the use of various audio and video players has become more and more popular, and audio and video players have become an indispensable tool in people's lives.
人们经常使用播放器收听音乐或者是用来观看视频。快进快退是用户在使用播放器经常使用的操作。现有技术中的播放器上使用的快进快退的操作方式是播放器规定了固定的移动变量T,也就是用户每次快退或者快进都只能移动T的时间长度,当用户使用快进快退操作时,用户很难快速且准确的移动到用户的理想位置。People often use the player to listen to music or to watch videos. Fast forward and rewind are operations that users often use when using the player. The fast forward and rewind operation mode used in the prior art player is that the player specifies a fixed movement variable T, that is, the length of time that the user can only move T every time the user rewinds or fast forwards, when the user uses When fast forward and rewind, it is difficult for the user to quickly and accurately move to the user's ideal position.
因此,现有技术还有待于改进和发展。Therefore, the prior art has yet to be improved and developed.
发明内容Summary of the invention
鉴于现有技术的不足,本公开目的在于提供一种播放器快进快退的控制方法及系统,旨在解决现有技术中的播放器上使用到的快进快退的方式是播放器规定了固定的移动变量T,也就是用户每次快退或者快进都只能移动T的时间长度,当用户使用快进快退操作时,用户很难快速且准确的移动到用户的理想位置的缺陷。In view of the deficiencies of the prior art, the present disclosure aims to provide a control method and system for fast forward and rewind of a player, and aims to solve the method of fast forward and rewind used on the player in the prior art. The fixed movement variable T, that is, the length of time that the user can only move T every time the user rewinds or fast forwards, when the user uses the fast forward and rewind operation, the user is difficult to quickly and accurately move to the user's ideal position. defect.
本公开的技术方案如下:The technical solution of the present disclosure is as follows:
一种播放器快进快退的控制方法,方法包括:A method for controlling a fast forward and rewind of a player, the method comprising:
预先获取当前播放的音视频文件数据并存储;Pre-acquiring the currently played audio and video file data and storing it;
在音视频文件播放过程中,实时获取音视频文件播放的当前播放位置; 以及获取并判断用户的操作;During the playback of the audio and video files, the current playback position of the audio and video file playback is obtained in real time; And obtaining and judging the user's operation;
若判断所述用户的操作为快进操作,则将播放位置定位到当前播放位置与音视频文件播放结束位置的中间位置;If it is determined that the operation of the user is a fast forward operation, positioning the play position to an intermediate position between the current play position and the end position of the audio and video file playback;
若判断所述用户的操作为快退操作,则将播放位置定位到音视频文件播放初始位置与当前播放位置的中间位置。If it is determined that the operation of the user is a fast reverse operation, the play position is positioned to an intermediate position between the initial position of the audio and video file playback and the current play position.
可选的,所述预先获取当前播放的音视频文件数据并存储,包括:Optionally, the pre-acquiring and currently storing the currently played audio and video file data includes:
预先获取音视频文件播放时长,根据播放时长以秒为单位划分为N个播放片段;Pre-acquiring the playing time of the audio and video files, and dividing into N playing segments according to the playing time in units of seconds;
在N个播放片段中分别采样一个时间点,生成N个采样时间点,将N个采样时间点按播放顺序排列成进度条数组并存储,其中N为自然数。A time point is sampled in each of the N playback segments, N sampling time points are generated, and N sampling time points are arranged into an array of progress bars in a play order and stored, where N is a natural number.
可选的,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],所述若判断所述用户的操作为快进操作,则将播放位置定位到当前播放位置与音视频文件播放结束位置的中间位置,包括:Optionally, the progress bar array is recorded as A[N], the sampling point corresponding to the start position of the audio and video file is recorded as A[0], and the sampling point corresponding to the end position of the audio and video file is recorded as A[i], The sampling point corresponding to the current playing position is recorded as A[now], and if it is determined that the operation of the user is a fast forward operation, the playing position is positioned to an intermediate position between the current playing position and the end position of the audio and video file playback, including:
若所述用户操作为快进操作,则将采样点A[temp1]定位到采样点A[now]与采样点A[i]中间的采样点所对应的位置;If the user operation is a fast forward operation, the sampling point A[temp1] is positioned to a position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i];
以及判断用户再次执行的操作,若用户再次执行快进操作,则将采样点A[temp1]重新定位到采样点A[temp1]与采样点A[i]中间的采样点所对应的位置;若用户再次执行快退操作,则将采样点A[temp1]重新定位到采样点A[0]与当前采样点A[temp1]中间的采样点所对应的位置。And determining the operation performed by the user again, if the user performs the fast forward operation again, relocating the sampling point A[temp1] to the position corresponding to the sampling point between the sampling point A[temp1] and the sampling point A[i]; When the user performs the fast rewind operation again, the sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp1].
可选的,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],所述若判断所述用户的操作为快退操作,则将播放位置定位到音视频文件播放初始位置与当前播放位置的中间位置, 包括:Optionally, the progress bar array is recorded as A[N], the sampling point corresponding to the start position of the audio and video file is recorded as A[0], and the sampling point corresponding to the end position of the audio and video file is recorded as A[i], The sampling point corresponding to the current playing position is recorded as A[now], and if it is determined that the operation of the user is a fast rewinding operation, the playing position is positioned to an intermediate position between the initial position of the audio and video file playback and the current playing position. include:
若所述用户操作为快退操作,则将采样点A[temp2]定位到采样点A[0]和采样点A[now]中间的采样点所对应的位置;If the user operation is a fast rewind operation, the sampling point A[temp2] is positioned to a position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now];
以及判断用户再次执行的操作,若用户再次执行快退操作,则将采样点A[temp2]重新定位到采样点A[0]和当前采样点A[temp2]中间的采样点所对应的位置,若用户再次执行快进操作,则将采样点A[temp2]重新定位到当前采样点A[temp2]和采样点A[i]中间的采样点所对应的位置。And determining the operation performed by the user again, if the user performs the fast rewind operation again, relocating the sampling point A[temp2] to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp2], If the user performs the fast forward operation again, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i].
可选的,在所述预先获取当前播放的音视频文件数据并存储之前,所述方法还包括:Optionally, before the pre-acquiring the currently played audio and video file data and storing the data, the method further includes:
预先设置一个取消键用于取消本轮定位。A cancel button is set in advance to cancel the positioning of this wheel.
一种播放器快进快退的控制系统,包括:A control system for fast forward and rewind of a player, comprising:
预先获取与存储模块,设置为预先获取当前播放的音视频文件数据并存储;Pre-acquiring and storing the module, setting to pre-acquire the currently played audio and video file data and storing;
判断模块,设置为在音视频文件播放过程中,实时获取音视频文件播放的当前播放位置;以及获取并判断用户的操作;The judging module is configured to acquire the current playing position of the audio and video file playing in real time during the playing of the audio and video file; and obtain and judge the operation of the user;
第一定位模块,设置为若判断所述用户的操作为快进操作,则将播放位置定位到当前播放位置与音视频文件播放结束位置的中间位置;a first positioning module, configured to: if the operation of the user is determined to be a fast forward operation, positioning the play position to an intermediate position between the current play position and the end position of the audio and video file;
第二定位模块,设置为若判断所述用户的操作为快退操作,则将播放位置定位到音视频文件播放初始位置与当前播放位置的中间位置。The second positioning module is configured to: if the operation of the user is determined to be a fast reverse operation, position the play position to an intermediate position between the initial position of the audio and video file playback and the current play position.
可选的,所述预先获取与存储模块具体包括:Optionally, the pre-acquisition and storage module specifically includes:
预先获取单元,设置为预先获取音视频文件播放时长,根据播放时长以秒为单位划分为N个播放片段;The pre-acquisition unit is configured to pre-acquire the duration of playing the audio and video file, and divide into N pieces according to the playing duration in units of seconds;
存储单元,设置为在N个播放片段中分别采样一个时间点,生成N个采样时间点,将N个采样时间点按播放顺序排列成进度条数组并存储,其 中N为自然数。The storage unit is configured to respectively sample a time point in the N pieces of play, generate N sampling time points, arrange the N sampling time points into an array of progress bars in a play order, and store the same. Medium N is a natural number.
可选的,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],所述第一定位模块具体包括:Optionally, the progress bar array is recorded as A[N], the sampling point corresponding to the start position of the audio and video file is recorded as A[0], and the sampling point corresponding to the end position of the audio and video file is recorded as A[i], The sampling point corresponding to the current playback position is recorded as A[now], and the first positioning module specifically includes:
第一检测与定位单元,设置为若所述用户操作为快进操作,则将采样点A[temp1]定位到采样点A[now]与采样点A[i]中间的采样点所对应的位置;The first detecting and positioning unit is configured to position the sampling point A[temp1] to a position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i] if the user operates as a fast forward operation ;
第二检测与定位单元,设置为判断用户再次执行的操作,若用户再次执行快进操作,则将采样点A[temp1]重新定位到采样点A[temp1]与采样点A[i]中间的采样点所对应的位置;若用户再次执行快退操作,则将采样点A[temp1]重新定位到采样点A[0]与当前采样点A[temp1]中间的采样点所对应的位置。The second detecting and locating unit is configured to determine an operation performed by the user again. If the user performs the fast forward operation again, the sampling point A[temp1] is repositioned to the middle of the sampling point A[temp1] and the sampling point A[i] The position corresponding to the sampling point; if the user performs the fast rewind operation again, the sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp1].
可选的,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],所述第二定位模块具体包括:Optionally, the progress bar array is recorded as A[N], the sampling point corresponding to the start position of the audio and video file is recorded as A[0], and the sampling point corresponding to the end position of the audio and video file is recorded as A[i], The sampling point corresponding to the current playback position is recorded as A[now], and the second positioning module specifically includes:
第三检测与定位单元,设置为若所述用户操作为快退操作,则将采样点A[temp2]定位到采样点A[0]和采样点A[now]中间的采样点所对应的位置;The third detecting and locating unit is configured to position the sampling point A[temp2] to a position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now] if the user operates as a fast rewinding operation ;
第四检测与定位单元,设置为判断用户再次执行的操作,若用户再次执行快退操作,则将采样点A[temp2]重新定位到采样点A[0]和当前采样点A[temp2]中间的采样点所对应的位置,若用户再次执行快进操作,则将采样点A[temp2]重新定位到采样点当前A[temp2]和采样点A[i]中间的采样点所对应的位置。The fourth detecting and locating unit is configured to determine the operation performed by the user again. If the user performs the fast rewinding operation again, the sampling point A[temp2] is repositioned to the middle of the sampling point A[0] and the current sampling point A[temp2]. If the user performs the fast forward operation again, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current point A[temp2] and the sampling point A[i] of the sampling point.
可选的,所述系统还包括:Optionally, the system further includes:
预先设置模块,设置为预先设置一个取消键用于取消本轮定位。The module is preset, and a cancel button is set in advance to cancel the positioning of the wheel.
一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述方法。 A non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
一种电子设备,包括:An electronic device comprising:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行上述方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method described above.
本公开提供了一种播放器快进快退的控制方法及系统,本公开在播放音视频过程中,利用二分查找的方法快速定位到用户快进或快退的位置,速度快且查找准确,为用户播放音视频文件带来了方便。The present disclosure provides a control method and system for fast forward and rewind of a player. In the process of playing audio and video, the present disclosure uses a binary search method to quickly locate a fast forward or fast backward position of a user, and the speed is fast and the search is accurate. It is convenient for users to play audio and video files.
附图说明DRAWINGS
为了清楚地说明本公开实施例中的技术方案,下面将对本公开实施例描述中使用的附图进行介绍。In order to clearly explain the technical solutions in the embodiments of the present disclosure, the drawings used in the description of the embodiments of the present disclosure will be described below.
图1为本公开的一种播放器快进快退的控制方法实施例一的流程图;1 is a flowchart of Embodiment 1 of a method for controlling fast forward and rewind of a player according to the present disclosure;
图2为本公开的一种播放器快进快退的控制方法实施例二的流程图;2 is a flowchart of Embodiment 2 of a method for controlling fast forward and rewind of a player according to the present disclosure;
图3为本公开的一种播放器快进快退的控制方法实施例三的流程图;3 is a flowchart of Embodiment 3 of a method for controlling fast forward and rewind of a player according to the present disclosure;
图4为本公开的一种播放器快进快退的控制方法实施例四的流程图;4 is a flowchart of Embodiment 4 of a method for controlling fast forward and rewind of a player according to the present disclosure;
图5为本公开的一种播放器快进快退的控制系统的较佳实施例的功能原理框图;5 is a functional block diagram of a preferred embodiment of a fast forward and rewind control system for a player according to the present disclosure;
图6为本公开的一种播放器快进快退的控制系统的具体应用实施例的预先获取与存储模块的功能原理框图;6 is a functional block diagram of a pre-acquisition and storage module of a specific application embodiment of a fast forward and rewind control system for a player according to the present disclosure;
图7为本公开的一种播放器快进快退的控制系统的具体应用实施例的第一定位模块的功能原理框图;7 is a functional block diagram of a first positioning module of a specific application embodiment of a fast forward and rewind control system for a player according to the present disclosure;
图8为本公开的一种播放器快进快退的控制系统的具体应用实施例的第二定位模块的功能原理框图;以及 8 is a functional block diagram of a second positioning module of a specific application embodiment of a fast forward and rewind control system for a player according to the present disclosure;
图9为本公开的电子设备的硬件结构示意图。FIG. 9 is a schematic diagram showing the hardware structure of an electronic device according to the present disclosure.
具体实施方式detailed description
为使本公开的采用的技术方案更加清楚,下面将结合附图对本公开实施例的技术方案作详细描述,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。在不冲突的情况下,以下实施例以及实施例中的技术特征可以相互任意组合。In order to make the technical solutions of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, which are only a part of the embodiments of the present disclosure, but not all embodiments. The technical features in the following embodiments and the embodiments may be arbitrarily combined with each other without conflict.
实施例一Embodiment 1
本公开提供了一种播放器快进快退的控制方法的较佳实施例的流程图,如图1所示,其中,方法包括:The present disclosure provides a flowchart of a preferred embodiment of a method for controlling a fast forward and rewind of a player, as shown in FIG. 1 , wherein the method includes:
步骤100、预先获取当前播放的音视频文件数据并存储。Step 100: Acquire and store the currently played audio and video file data in advance.
当播放器播放音视频文件时,可以预先获取当前播放的音视频文件的基本信息,包括但不限于音视频文件的类型、大小以及播放长度等等,从而组成音视频文件的相关数据,并进行存储。When the player plays the audio and video file, the basic information of the currently played audio and video file may be obtained in advance, including but not limited to the type, size, and length of the audio and video file, thereby composing related data of the audio and video file, and performing storage.
步骤200、在音视频文件播放过程中,实时获取音视频文件播放的当前播放位置,获取并判断用户的操作,若判断所述用户的操作为快进操作,则执行步骤300,若判断所述用户的操作为快退操作,则执行步骤400。In step 200, during the playing of the audio and video file, the current playing position of the audio and video file is obtained in real time, and the operation of the user is obtained and determined. If the operation of the user is determined to be a fast forward operation, step 300 is performed. If the operation of the user is a fast rewind operation, step 400 is performed.
步骤300、将播放位置定位到当前播放位置与音视频文件播放结束位置的中间位置。Step 300: Position the play position to an intermediate position between the current play position and the end position of the audio and video file.
步骤400、将播放位置定位到音视频文件播放初始位置与当前播放位置的中间位置。Step 400: Position the play position to an intermediate position between the initial position of the audio and video file playback and the current play position.
具体实施时,步骤100中音视频文件的播放器为音频播放器或视频播放器。In a specific implementation, the player of the audio and video file in step 100 is an audio player or a video player.
实施例二Embodiment 2
进一步地,如图2所示,本实施例二与实施例一的流程步骤基本相同, 不同的是,实施例一的步骤100替换为实施例二的步骤101和步骤102,其中,步骤101和步骤102具体为:Further, as shown in FIG. 2, the flow of the second embodiment is basically the same as that of the first embodiment. The difference is that the step 100 of the first embodiment is replaced by the step 101 and the step 102 of the second embodiment, wherein the step 101 and the step 102 are specifically:
步骤101、预先获取音视频文件播放时长,根据播放时长以秒为单位划分为N个播放片段。Step 101: Pre-acquire the duration of playing the audio and video file, and divide it into N pieces according to the playing duration in units of seconds.
步骤102、在N个播放片段中分别采样一个时间点,生成N个采样时间点,将N个采样时间点按播放顺序排列成进度条数组并存储,其中N为自然数。Step 102: Sampling a time point in each of the N play segments, generating N sampling time points, and arranging the N sampling time points into an array of progress bars in a play order, and storing N, wherein N is a natural number.
具体实施时,本方法预先定义数组A[N]表示视频播放的进度条数组,单位可以设置为秒,A[0]表示视频的起始位置,A[N]表示视频的最后的位置。A[now]表示用户当前的观看位置,A[temp]表示移动过程中的临时位置。In specific implementation, the method pre-defines the array A[N] to represent an array of progress bars for video playback, the unit can be set to seconds, A[0] represents the starting position of the video, and A[N] represents the last position of the video. A[now] indicates the current viewing position of the user, and A[temp] indicates the temporary position during the movement.
实施例三Embodiment 3
进一步的实施例中,如图3所示,本实施例三与实施例一的流程步骤基本相同,不同的是,实施例一的步骤300替换为实施例三的步骤301和步骤302,在实际应用例中,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],其中,步骤301和步骤302具体为:In a further embodiment, as shown in FIG. 3, the process steps of the third embodiment are substantially the same as those of the first embodiment. The difference is that the step 300 of the first embodiment is replaced by the step 301 and the step 302 of the third embodiment. In the application example, the progress bar array is recorded as A[N], the sampling point corresponding to the start position of the audio and video file is recorded as A[0], and the sampling point corresponding to the end position of the audio and video file is recorded as A[i], The sampling point corresponding to the current playback position is recorded as A[now], where steps 301 and 302 are specifically:
步骤301、若所述用户操作为快进操作,则将采样点A[temp1]定位到采样点A[now]与采样点A[i]中间的采样点所对应的位置。Step 301: If the user operation is a fast forward operation, the sampling point A[temp1] is located to a position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i].
步骤302、判断用户再次执行的操作,若用户再次执行快进操作,则将采样点A[temp1]重新定位到当前采样点A[temp1]与采样点A[i]中间的采样点所对应的位置;若用户再次执行快退操作,则将采样点A[temp1]重新定位到采样点A[0]与当前采样点A[temp1]中间的采样点所对应的位置。Step 302: Determine an operation performed by the user again. If the user performs the fast forward operation again, relocate the sampling point A[temp1] to the sampling point between the current sampling point A[temp1] and the sampling point A[i]. Position; if the user performs the fast rewind operation again, the sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp1].
具体实施时,A[temp1]代表当前播放位置A[now]与结束位置A[i]的中间位置的采样点。假设第一步用户的操作是快进,那么就将采样点A[temp1] 定位到采样点A[now]与采样点A[i]中间的采样点所对应的位置,第二步如果用户继续快进的话就将采样点A[temp1]重新定位到当前采样点A[temp1]与采样点A[i]的中间的采样点所对应的位置,如果第二步用户是后退的话就将采样点A[temp1]重新定位到采样点A[0]与当前采样点A[temp1]中间的采样点所对应的位置。In specific implementation, A[temp1] represents a sampling point of an intermediate position between the current playback position A[now] and the end position A[i]. Assuming the first step of the user's operation is fast forward, then the sampling point A[temp1] Position the position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i]. In the second step, if the user continues to fast forward, reposition the sampling point A[temp1] to the current sampling point A[temp1 ] The position corresponding to the sampling point in the middle of the sampling point A[i], if the second step user is backward, the sampling point A[temp1] is relocated to the sampling point A[0] and the current sampling point A[temp1] The position corresponding to the sampling point in the middle.
实施例四Embodiment 4
进一步的实施例中,如图4所示,本实施例四与实施例一的流程步骤基本相同,不同的是,实施例一的步骤400替换为实施例四的步骤401和步骤402,在实际应用例中,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],其中,步骤401和步骤402具体为:In a further embodiment, as shown in FIG. 4, the flow of the fourth embodiment is substantially the same as that of the first embodiment. The difference is that the step 400 of the first embodiment is replaced by the step 401 and the step 402 of the fourth embodiment. In the application example, the progress bar array is recorded as A[N], the sampling point corresponding to the start position of the audio and video file is recorded as A[0], and the sampling point corresponding to the end position of the audio and video file is recorded as A[i], The sampling point corresponding to the current playing position is recorded as A[now], wherein step 401 and step 402 are specifically:
步骤401、若所述用户操作为快退操作,则将采样点A[temp2]定位到采样点A[0]和采样点A[now]中间的采样点所对应的位置。Step 401: If the user operation is a fast rewind operation, the sampling point A[temp2] is located to a position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now].
步骤402、判断用户再次执行的操作,若用户再次执行快退操作,则将采样点A[temp2]重新定位到采样点A[0]和当前采样点A[temp2]中间的采样点所对应的位置,若用户再次执行快进操作,则将采样点A[temp2]重新定位到当前采样点A[temp2]和采样点A[i]中间的采样点所对应的位置。Step 402: Determine an operation performed by the user again. If the user performs the fast rewind operation again, relocate the sampling point A[temp2] to the sampling point between the sampling point A[0] and the current sampling point A[temp2]. Position, if the user performs the fast forward operation again, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i].
具体实施时,A[temp2]表示起始位置A[0]与当前播放位置A[now]的中间位置的采样点。假设第一步用户是后退的话就将采样点A[temp2]定位到采样点A[0]与采样点A[now]中间的采样点所对应的位置,第二步如果用户的操作是继续后退则将采样点A[temp2]重新定位到采样点A[0]与当前采样点A[temp2]中间的采样点所对应的位置。如果第二步用户的操作是快进则将采样点A[temp2]重新定位到当前采样点A[temp2]与采样点A[i]中间的采样点所对应的位置。In specific implementation, A[temp2] represents a sampling point of the intermediate position between the starting position A[0] and the current playing position A[now]. Assuming that the first user is backing up, the sampling point A[temp2] is positioned to the position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now], and the second step is to continue the user's operation. Then, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp2]. If the second step of the user's operation is fast forward, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i].
实施例五 Embodiment 5
进一步的实施例中,本实施例五与实施例一的流程步骤基本相同,不同的是,在实施例一的所述步骤100之前还包括:In a further embodiment, the process steps of the fifth embodiment are substantially the same as those of the first embodiment. The difference is that before the step 100 of the first embodiment, the method further includes:
步骤10、预先设置一个取消键用于取消本轮定位。Step 10. Set a cancel button in advance to cancel the current round of positioning.
具体实施时,保留一个操作是用户取消本轮二分查找的操作。比如用户正在使用以上的方法进行快进快退操作,最开始的本意是后退,即是想定位到A[0]与A[now]之间的某个位置,但是突然改变主意想定位到A[now]与A[N]之间的某个位置,只需要按下取消当前二分查找的策略即可开始新一轮的二分查找的流程。按照以上的步骤类推,既能快速又能准确定位到用户的理想移动位置。In the specific implementation, retaining an operation is an operation in which the user cancels the round binary search. For example, the user is using the above method to fast forward and rewind. The original intention is to retreat, that is, to locate a position between A[0] and A[now], but suddenly change the mind to locate A. A certain position between [now] and A[N], you only need to press the strategy to cancel the current binary search to start a new round of binary search process. According to the above steps, it can quickly and accurately locate the user's ideal moving position.
在示例性实施例中,装置可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the device may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gates An array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
在示例性实施例中,还提供了一种包括指令的非临时计算机可读存储介质,例如包括指令的存储器,上述指令可由装置的处理器执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium comprising instructions, such as a memory comprising instructions executable by a processor of the apparatus to perform the above method. For example, the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
本公开还提供了一种播放器快进快退的控制系统的较佳实施例的功能原理框图,如图5所示,系统包括:The present disclosure also provides a functional block diagram of a preferred embodiment of a control system for fast forward and rewind of a player. As shown in FIG. 5, the system includes:
预先获取与存储模块01,设置为预先获取当前播放的音视频文件数据并存储;具体如上方法实施例所述。The pre-acquisition and storage module 01 is configured to acquire and store the currently played audio and video file data in advance; as described in the foregoing method embodiment.
判断模块02,设置为在音视频文件播放过程中,实时获取音视频文件播放的当前播放位置;以及获取并判断用户的操作,判断用户的操作是快进操作或是快退操作;具体如上方法实施例所述。The determining module 02 is configured to acquire the current playing position of the audio and video file playing in real time during the playing of the audio and video file; and obtain and judge the operation of the user, and determine whether the user operation is a fast forward operation or a fast reverse operation; As described in the examples.
第一定位模块03,设置为若判断所述用户的操作为快进操作,则将播 放位置定位到当前播放位置与音视频文件播放结束位置的中间位置;具体如上方法实施例所述。The first positioning module 03 is configured to: if it is determined that the operation of the user is a fast forward operation, The placement position is positioned to an intermediate position between the current playback position and the end position of the audio and video file playback; as described in the above method embodiment.
第二定位模块04,设置为若判断所述用户的操作为快退操作,则将播放位置定位到音视频文件播放初始位置与当前播放位置的中间位置;具体如上方法实施例所述。The second positioning module 04 is configured to: if it is determined that the operation of the user is a fast rewind operation, locate the play position to an intermediate position between the initial position of the audio and video file playback and the current play position; as described in the foregoing method embodiment.
进一步的实施例中,如图6所示,预先获取与存储模块01具体包括:In a further embodiment, as shown in FIG. 6, the pre-acquisition and storage module 01 specifically includes:
预先获取单元011,设置为预先获取音视频文件播放时长,根据播放时长以秒为单位划分为N个播放片段;具体如上方法实施例所述。The pre-acquisition unit 011 is configured to pre-acquire the duration of playing the audio and video file, and divide it into N pieces according to the playing duration in units of seconds; as described in the above method embodiment.
存储单元012,设置为在N个播放片段分别采样一个时间点,生成N个采样时间点,将N个采样时间点按播放顺序排列成进度条数组并存储,其中N为自然数;具体如上方法实施例所述。The storage unit 012 is configured to respectively sample N time segments to generate a sampling time point, and generate N sampling time points, and arrange N sampling time points into a progress bar array in a play order, where N is a natural number; As stated in the example.
进一步的实施例中,如图7所示,其中,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],所述第一定位模块03具体包括:In a further embodiment, as shown in FIG. 7, wherein the progress bar array is recorded as A[N], the sampling point corresponding to the start position of the audio and video file is recorded as A[0], and the end position of the audio and video file is corresponding. The sampling point is recorded as A[i], and the sampling point corresponding to the current playing position is recorded as A[now], and the first positioning module 03 specifically includes:
第一检测与定位单元031,设置为若所述用户操作为快进操作,则将采样点A[temp1]定位到采样点A[now]与采样点A[i]中间的采样点所对应的位置;具体如上方法实施例所述。The first detecting and positioning unit 031 is configured to position the sampling point A[temp1] to the sampling point between the sampling point A[now] and the sampling point A[i] if the user operates as a fast forward operation. Position; specifically as described in the method embodiments above.
第二检测与定位单元032,设置为判断用户再次执行的操作,若用户再次执行快进操作,则将采样点A[temp1]重新定位到采样点A[temp1]与采样点A[i]中间的采样点所对应的位置;若用户再次执行快退操作,则将采样点A[temp1]重新定位到采样点A[0]与采样点A[temp1]中间的采样点所对应的位置;具体如上方法实施例所述。The second detecting and positioning unit 032 is configured to determine an operation performed again by the user. If the user performs the fast forward operation again, the sampling point A[temp1] is repositioned to the middle of the sampling point A[temp1] and the sampling point A[i]. The position corresponding to the sampling point; if the user performs the fast rewind operation again, the sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the sampling point A[temp1]; As described in the method embodiments above.
进一步地,如图8所示,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i], 当前播放位置对应的采样点记为A[now],所述第二定位模块04具体包括:Further, as shown in FIG. 8, the progress bar array is recorded as A[N], and the sampling point corresponding to the start position of the audio and video file is recorded as A[0], and the sampling point corresponding to the end position of the audio and video file is recorded as A[i], The sampling point corresponding to the current playback position is recorded as A[now], and the second positioning module 04 specifically includes:
第三检测与定位单元041,设置为若所述用户操作为快退操作,则将采样点A[temp2]定位到采样点A[0]和采样点A[now]中间的采样点所对应的位置;具体如上方法实施例所述。The third detecting and positioning unit 041 is configured to position the sampling point A[temp2] to the sampling point between the sampling point A[0] and the sampling point A[now] if the user operates as a fast rewinding operation. Position; specifically as described in the method embodiments above.
第四检测与定位单元042,设置为判断用户再次执行的操作,若用户再次执行快退操作,则将采样点A[temp2]重新定位到采样点A[0]和当前采样点A[temp2]中间的采样点所对应的位置,若用户再次执行快进操作,则将采样点A[temp2]重新定位到当前采样点A[temp2]和采样点A[i]中间的采样点所对应的位置;具体如上方法实施例所述。The fourth detecting and locating unit 042 is configured to determine the operation performed by the user again. If the user performs the fast rewinding operation again, the sampling point A[temp2] is relocated to the sampling point A[0] and the current sampling point A[temp2]. If the user performs the fast forward operation again, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i]. Specifically as described in the above method examples.
进一步地,所述系统还包括:Further, the system further includes:
预先设置模块,设置为预先设置一个取消键用于取消本轮定位;具体如上方法实施例所述。The module is preset, and a cancel button is preset to cancel the positioning of the current wheel; as described in the above method embodiment.
本公开还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述任一实施例中的方法。The present disclosure also provides a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
本公开还提供了一种电子设备的硬件结构示意图。该电子设备可以执行相应的方法步骤,作为上述实施例提供的播放器。如图9所示,该电子设备(播放器)包括:The present disclosure also provides a hardware structure diagram of an electronic device. The electronic device can perform the corresponding method steps as the player provided in the above embodiment. As shown in FIG. 9, the electronic device (player) includes:
至少一个处理器(processor)90,图9中以一个处理器90为例;显示屏91;以及存储器(memory)92,还可以包括通信接口(Communications Interface)93和总线94。其中,处理器90、显示屏91、存储器92和通信接口93可以通过总线94完成相互间的通信。显示屏91设置为显示初始设置模式中预设的用户引导界面。通信接口93可以传输信息。处理器90可以调用存储器82中的逻辑指令,以执行上述实施例中的方法。At least one processor 90, which is exemplified by a processor 90 in FIG. 9; a display 91; and a memory 92, which may further include a communication interface 93 and a bus 94. Among them, the processor 90, the display screen 91, the memory 92, and the communication interface 93 can complete communication with each other through the bus 94. The display screen 91 is set to display a preset user guidance interface in the initial setting mode. Communication interface 93 can transmit information. Processor 90 can invoke logic instructions in memory 82 to perform the methods in the above-described embodiments.
此外,上述的存储器92中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介 质中。In addition, the logic instructions in the memory 92 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium. Quality.
存储器92作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器90通过运行存储在存储器92中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。The memory 92 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, a program instruction or a module corresponding to the method in the embodiment of the present disclosure. The processor 90 executes the functional applications and data processing by executing software programs, instructions or modules stored in the memory 92, i.e., implements the methods of the above-described embodiments.
存储器92可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器92可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 92 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 92 may include a high speed random access memory, and may also include a nonvolatile memory.
上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,该程序可以存储于一计算机可读存储介质中,存储介质可以是非暂态存储介质,包括U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁盘或光盘等等多种可以存储程序代码的介质,也可以是暂态存储介质。All or part of the steps of the above embodiments may be completed by hardware, or may be executed by a program to execute related hardware. The program may be stored in a computer readable storage medium, and the storage medium may be a non-transitory storage medium, including a USB flash drive. A removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store a program code, or a transient storage medium.
综上所述,本公开提供了一种播放器快进快退的控制方法及系统,方法包括:预先获取当前播放的音视频文件数据并存储;在音视频文件播放过程中,实时获取音视频文件播放的当前播放位置,获取并判断用户的操作;若判断所述用户的操作为快进操作,则将播放位置定位到当前播放位置与音视频文件播放结束位置的中间位置;若判断所述用户的操作为快退操作,则将播放位置定位到音视频文件播放初始位置与当前播放位置的中间位置。本公开在播放音视频过程中,利用二分查找的方法快速定位到用户快进或快退的位置,速度快且查找准确,为用户播放音视频文件带来了方便。In summary, the present disclosure provides a method and system for controlling a fast forward and rewind of a player. The method includes: acquiring and storing the currently played audio and video file data in advance; and acquiring audio and video in real time during the audio and video file playing process. If the current playback position of the file is played, the operation of the user is obtained and determined; if it is determined that the operation of the user is a fast forward operation, the playback position is positioned to an intermediate position between the current playback position and the end position of the audio and video file playback; If the user's operation is a fast rewind operation, the playback position is positioned to the middle of the initial position of the audio and video file playback and the current playback position. In the process of playing audio and video, the present disclosure uses the binary search method to quickly locate the user's fast forward or rewind position, and the speed is fast and the search is accurate, which brings convenience for the user to play audio and video files.
应当理解的是,本公开的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本公开所附权利要求的保护范围。 It is to be understood that the application of the present disclosure is not limited to the above-described examples, and those skilled in the art can make modifications and changes in accordance with the above description, all of which are within the scope of the appended claims.

Claims (12)

  1. 一种播放器快进快退的控制方法,包括:A control method for fast forward and rewind of a player, comprising:
    预先获取当前播放的音视频文件数据并存储;Pre-acquiring the currently played audio and video file data and storing it;
    在音视频文件播放过程中,实时获取音视频文件播放的当前播放位置;以及During the playback of the audio and video files, the current playback position of the audio and video file playback is obtained in real time;
    获取并判断用户的操作,Obtain and judge the user's operation,
    若判断所述用户的操作为快进操作,则将播放位置定位到当前播放位置与音视频文件播放结束位置的中间位置;If it is determined that the operation of the user is a fast forward operation, positioning the play position to an intermediate position between the current play position and the end position of the audio and video file playback;
    若判断所述用户的操作为快退操作,则将播放位置定位到音视频文件播放初始位置与当前播放位置的中间位置。If it is determined that the operation of the user is a fast reverse operation, the play position is positioned to an intermediate position between the initial position of the audio and video file playback and the current play position.
  2. 根据权利要求1所述的播放器快进快退的控制方法,其中,所述预先获取当前播放的音视频文件数据并存储,包括:The method for controlling the fast forward and rewind of the player according to claim 1, wherein the pre-acquiring and storing the currently played audio and video file data comprises:
    预先获取音视频文件播放时长,根据播放时长以秒为单位划分为N个播放片段;Pre-acquiring the playing time of the audio and video files, and dividing into N playing segments according to the playing time in units of seconds;
    在N个播放片段中分别采样一个时间点,生成N个采样时间点,将N个采样时间点按播放顺序排列成进度条数组并存储,其中N为自然数。A time point is sampled in each of the N playback segments, N sampling time points are generated, and N sampling time points are arranged into an array of progress bars in a play order and stored, where N is a natural number.
  3. 根据权利要求2所述的播放器快进快退的控制方法,其中,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],所述若判断所述用户的操作为快进操作,则将播放位置定位到当前播放位置与音视频文件播放结束位置的中间位置,包括:The method for controlling fast forward and rewind of a player according to claim 2, wherein the progress bar array is recorded as A[N], and the sampling point corresponding to the start position of the audio and video file is recorded as A[0], audio and video. The sampling point corresponding to the end position of the file is recorded as A[i], and the sampling point corresponding to the current playback position is recorded as A[now], and if the operation of the user is determined to be a fast forward operation, the playback position is positioned to the current position. The middle position between the playback position and the end position of the audio and video file playback, including:
    若所述用户操作为快进操作,则将采样点A[temp1]定位到采样点A[now]与采样点A[i]中间的采样点所对应的位置;以及If the user operation is a fast forward operation, the sampling point A[temp1] is positioned to a position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i];
    判断用户再次执行的操作,若用户再次执行快进操作,则将采样点A[temp1]重新定位到当前采样点A[temp1]与采样点A[i]中间的采样点所对 应的位置;若用户再次执行快退操作,则将采样点A[temp1]重新定位到采样点A[0]与当前采样点A[temp1]中间的采样点所对应的位置。Determining the operation performed again by the user. If the user performs the fast forward operation again, the sampling point A[temp1] is relocated to the sampling point between the current sampling point A[temp1] and the sampling point A[i]. If the user performs the fast rewind operation again, the sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp1].
  4. 根据权利要求3所述的播放器快进快退的控制方法,其中,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],所述若判断所述用户的操作为快退操作,则将播放位置定位到音视频文件播放初始位置与当前播放位置的中间位置,包括:The method for controlling fast forward and rewind of a player according to claim 3, wherein the progress bar array is recorded as A[N], and the sampling point corresponding to the start position of the audio and video file is recorded as A[0], audio and video. The sampling point corresponding to the end position of the file is recorded as A[i], and the sampling point corresponding to the current playback position is recorded as A[now], and if the operation of the user is determined to be a fast reverse operation, the playback position is positioned to the sound. The middle position of the video file playback initial position and the current playback position, including:
    若所述用户操作为快退操作,则将采样点A[temp2]定位到采样点A[0]和采样点A[now]中间的采样点所对应的位置;以及If the user operation is a fast rewind operation, the sampling point A[temp2] is positioned to a position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now];
    判断用户再次执行的操作,若用户再次执行快退操作,则将采样点A[temp2]重新定位到采样点A[0]和当前采样点A[temp2]中间的采样点所对应的位置,若用户再次执行快进操作,则将采样点A[temp2]重新定位到当前采样点A[temp2]和采样点A[i]中间的采样点所对应的位置。Determining the operation performed again by the user, if the user performs the fast rewind operation again, relocating the sampling point A[temp2] to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp2], if When the user performs the fast forward operation again, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i].
  5. 根据权利要求4所述的播放器快进快退的控制方法,其中,在所述预先获取当前播放的音视频文件数据并存储之前,所述方法还包括:The method of controlling the fast forward and rewind of the player according to claim 4, wherein before the pre-acquiring the currently played audio and video file data and storing the method, the method further includes:
    预先设置一个取消键用于取消本轮定位。A cancel button is set in advance to cancel the positioning of this wheel.
  6. 一种播放器快进快退的控制系统,包括:A control system for fast forward and rewind of a player, comprising:
    预先获取与存储模块,设置为预先获取当前播放的音视频文件数据并存储;Pre-acquiring and storing the module, setting to pre-acquire the currently played audio and video file data and storing;
    判断模块,设置为在音视频文件播放过程中,实时获取音视频文件播放的当前播放位置,以及获取并判断用户的操作;The judging module is configured to acquire the current playing position of the audio and video file playing in real time during the playing of the audio and video file, and obtain and judge the operation of the user;
    第一定位模块,设置为若判断所述用户的操作为快进操作,则将播放位置定位到当前播放位置与音视频文件播放结束位置的中间位置;a first positioning module, configured to: if the operation of the user is determined to be a fast forward operation, positioning the play position to an intermediate position between the current play position and the end position of the audio and video file;
    第二定位模块,设置为若判断所述用户的操作为快退操作,则将播放位置定位到音视频文件播放初始位置与当前播放位置的中间位置。 The second positioning module is configured to: if the operation of the user is determined to be a fast reverse operation, position the play position to an intermediate position between the initial position of the audio and video file playback and the current play position.
  7. 根据权利要求6所述的播放器快进快退的控制系统,其中,所述预先获取与存储模块具体包括:The control system of the fast forward and rewind of the player according to claim 6, wherein the pre-acquisition and storage module specifically comprises:
    预先获取单元,设置为预先获取音视频文件播放时长,根据播放时长以秒为单位划分为N个播放片段;The pre-acquisition unit is configured to pre-acquire the duration of playing the audio and video file, and divide into N pieces according to the playing duration in units of seconds;
    存储单元,设置为在N个播放片段中分别采样一个时间点,生成N个采样时间点,将N个采样时间点按播放顺序排列成进度条数组并存储,其中N为自然数。The storage unit is configured to respectively sample a time point in the N pieces of play, generate N sampling time points, arrange the N sampling time points into an array of progress bars in a play order, and store, wherein N is a natural number.
  8. 根据权利要求7所述的播放器快进快退的控制系统,其中,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],所述第一定位模块具体包括:The control system for fast forward and rewind of the player according to claim 7, wherein the progress bar array is recorded as A[N], and the sampling point corresponding to the start position of the audio and video file is recorded as A[0], audio and video. The sampling point corresponding to the end position of the file is recorded as A[i], and the sampling point corresponding to the current playback position is recorded as A[now], and the first positioning module specifically includes:
    第一检测与定位单元,设置为若所述用户操作为快进操作,则将采样点A[temp1]定位到采样点A[now]与采样点A[i]中间的采样点所对应的位置;The first detecting and positioning unit is configured to position the sampling point A[temp1] to a position corresponding to the sampling point between the sampling point A[now] and the sampling point A[i] if the user operates as a fast forward operation ;
    第二检测与定位单元,设置为判断用户再次执行的操作,若用户再次执行快进操作,则将采样点A[temp1]重新定位到采样点A[temp1]与采样点A[i]中间的采样点所对应的位置;若用户再次执行快退操作,则将采样点A[temp1]重新定位到采样点A[0]与当前采样点A[temp1]中间的采样点所对应的位置。The second detecting and locating unit is configured to determine an operation performed by the user again. If the user performs the fast forward operation again, the sampling point A[temp1] is repositioned to the middle of the sampling point A[temp1] and the sampling point A[i] The position corresponding to the sampling point; if the user performs the fast rewind operation again, the sampling point A[temp1] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp1].
  9. 根据权利要求8所述的播放器快进快退的控制系统,其中,将进度条数组记为A[N],音视频文件的起始位置对应的采样点记为A[0],音视频文件的结束位置对应的采样点记为A[i],当前播放位置对应的采样点记为A[now],所述第二定位模块具体包括:The control system for fast forward and rewind of the player according to claim 8, wherein the progress bar array is recorded as A[N], and the sampling point corresponding to the start position of the audio and video file is recorded as A[0], audio and video. The sampling point corresponding to the end position of the file is recorded as A[i], and the sampling point corresponding to the current playback position is recorded as A[now], and the second positioning module specifically includes:
    第三检测与定位单元,设置为若所述用户操作为快退操作,则将采样点A[temp2]定位到采样点A[0]和采样点A[now]中间的采样点所对应的位置;The third detecting and locating unit is configured to position the sampling point A[temp2] to a position corresponding to the sampling point between the sampling point A[0] and the sampling point A[now] if the user operates as a fast rewinding operation ;
    第四检测与定位单元,设置为判断用户再次执行的操作,若用户再次 执行快退操作,则将采样点A[temp2]重新定位到采样点A[0]和当前采样点A[temp2]中间的采样点所对应的位置,若用户再次执行快进操作,则将采样点A[temp2]重新定位到当前采样点A[temp2]和采样点A[i]中间的采样点所对应的位置。The fourth detecting and locating unit is configured to determine the operation performed by the user again, if the user is again When performing the fast rewind operation, the sampling point A[temp2] is repositioned to the position corresponding to the sampling point between the sampling point A[0] and the current sampling point A[temp2], and if the user performs the fast forward operation again, the sampling will be performed. Point A[temp2] repositions to the position corresponding to the sampling point between the current sampling point A[temp2] and the sampling point A[i].
  10. 根据权利要求9所述的播放器快进快退的控制系统,其中,所述系统还包括:The control system for fast forward and rewind of a player according to claim 9, wherein the system further comprises:
    预先设置模块,设置为预先设置一个取消键用于取消本轮定位。The module is preset, and a cancel button is set in advance to cancel the positioning of the wheel.
  11. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-5中任一项所述的方法。A non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of claims 1-5.
  12. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及At least one processor;
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行权利要求1-5中任一项所述的方法。 The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method of any of claims 1-5 method.
PCT/CN2017/086120 2016-05-31 2017-05-26 Method and system for controlling fast forward/rewind of player WO2017206810A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610376429.XA CN105979378B (en) 2016-05-31 2016-05-31 A kind of control method and system of player fast forwarding and fast rewinding
CN201610376429.X 2016-05-31

Publications (1)

Publication Number Publication Date
WO2017206810A1 true WO2017206810A1 (en) 2017-12-07

Family

ID=57010564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086120 WO2017206810A1 (en) 2016-05-31 2017-05-26 Method and system for controlling fast forward/rewind of player

Country Status (2)

Country Link
CN (1) CN105979378B (en)
WO (1) WO2017206810A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979378B (en) * 2016-05-31 2019-08-06 深圳创维数字技术有限公司 A kind of control method and system of player fast forwarding and fast rewinding
CN106409315B (en) * 2016-10-27 2018-07-20 腾讯科技(深圳)有限公司 A kind of control method and device that multimedia fast forwarding and fast rewinding plays
CN107608651A (en) * 2017-07-19 2018-01-19 肇庆市广应科通用航空研究院 Player fast forwarding and fast rewinding control method, system, storage medium and intelligent terminal
CN108347625B (en) * 2018-03-09 2020-10-13 北京数码视讯软件技术发展有限公司 Method and device for positioning TS streaming media

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596059A (en) * 2013-11-21 2014-02-19 乐视致新电子科技(天津)有限公司 Intelligent-television media player and playing progress adjusting method thereof, and intelligent television
CN104918064A (en) * 2015-05-27 2015-09-16 努比亚技术有限公司 Rapid video play method and device of mobile terminal
CN105487751A (en) * 2015-11-25 2016-04-13 广州华多网络科技有限公司 Play control method and apparatus
CN105979378A (en) * 2016-05-31 2016-09-28 深圳创维数字技术有限公司 Player fast forward fast rewind control method and player fast forward fast rewind control system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116467B (en) * 2013-03-07 2017-03-01 东蓝数码有限公司 Based on the video progress of multi-point touch and the control method of volume
CN103581711B (en) * 2013-10-31 2017-01-11 广州西维尔计算机系统有限公司 Method and device for video data playing in fast forward and fast backward mode
CN104038834A (en) * 2014-05-19 2014-09-10 乐视网信息技术(北京)股份有限公司 Video positioning method and device
CN105245961A (en) * 2015-09-29 2016-01-13 武汉传神信息技术有限公司 Video playing method and device for touch screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596059A (en) * 2013-11-21 2014-02-19 乐视致新电子科技(天津)有限公司 Intelligent-television media player and playing progress adjusting method thereof, and intelligent television
CN104918064A (en) * 2015-05-27 2015-09-16 努比亚技术有限公司 Rapid video play method and device of mobile terminal
CN105487751A (en) * 2015-11-25 2016-04-13 广州华多网络科技有限公司 Play control method and apparatus
CN105979378A (en) * 2016-05-31 2016-09-28 深圳创维数字技术有限公司 Player fast forward fast rewind control method and player fast forward fast rewind control system

Also Published As

Publication number Publication date
CN105979378A (en) 2016-09-28
CN105979378B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
WO2017206810A1 (en) Method and system for controlling fast forward/rewind of player
US20200007816A1 (en) Video recording method, electronic device and storage medium
WO2017092329A1 (en) Method and apparatus for playing streaming media
WO2017166480A1 (en) Playing progress adjusting method and device
WO2017012440A1 (en) Audio/video jump-playing method and apparatus
US9838731B1 (en) Systems and methods for audio track selection in video editing with audio mixing option
JP2011166801A5 (en) Information processing apparatus, information processing method, recording medium, program, and control apparatus
JP2011166803A5 (en) Information processing apparatus, information processing method, recording medium, program, and control apparatus
US10341712B2 (en) Systems and methods for audio track selection in video editing
KR102523768B1 (en) Video dubbing method, device, apparatus and storage medium
WO2017092330A1 (en) Playing method and apparatus based on player
JP2010057145A (en) Electronic device, and method and program for changing moving image data section
JP2015075661A5 (en)
RU2017102479A (en) CREATION OF ELECTRONIC IMAGES, EDITING IMAGES AND SIMPLIFIED DEVICE FOR EDITING AUDIO / VIDEO, METHOD OF FILM PRODUCTION BEGINNING FROM STILL IMAGES AND FRAMEWORKS
CN103928037B (en) A kind of audio switching method and terminal device
US9443499B2 (en) Musical sound control apparatus, musical sound control method, program storage medium and electronic musical instrument
JP6264059B2 (en) Data recording device
WO2016184193A1 (en) Method and apparatus for generating media files
US10424337B2 (en) Sequential method for the presentation of images with enhanced functionality, and apparatus thereof
RU2805241C1 (en) Method, device, equipment for video dubbing and information carrier
JP6244219B2 (en) Playback apparatus and method, and computer program
JP6330619B2 (en) Music editing apparatus and music editing program
WO2016029732A1 (en) Film source playing method, device and system
JP2006190429A (en) Method for cyclic reproduction
JP2016051141A (en) Karaoke system

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17805755

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17805755

Country of ref document: EP

Kind code of ref document: A1