CN106604145A - Media file processing method and system - Google Patents
Media file processing method and system Download PDFInfo
- Publication number
- CN106604145A CN106604145A CN201611071606.XA CN201611071606A CN106604145A CN 106604145 A CN106604145 A CN 106604145A CN 201611071606 A CN201611071606 A CN 201611071606A CN 106604145 A CN106604145 A CN 106604145A
- Authority
- CN
- China
- Prior art keywords
- viewpoint
- display
- display progress
- progress
- media file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47214—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4782—Web browsing, e.g. WebTV
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a media file processing method and system. The method comprises: outputting a displayed media file and detecting a first display schedule of the media file; retrieving a watching focus mark set based on the first display schedule, obtaining a first watching focus mark set with a minimum display schedule range to the first display schedule and displaying N watching focus marks included in the first watching focus mark set in a preset area according to a preset arrangement rule, wherein each watching focus mark corresponds to the display schedule range of part of the media files in the media files and the N is a positive integer; detecting a second display schedule of the media file; retrieving the watching focus mark set based on the second display schedule, obtaining a second watching focus mark set with a minimum display schedule range to the second display schedule; and displaying the N watching focus marks included in the second watching focus mark set in the preset area according to the preset arrangement rule.
Description
Technical Field
The invention relates to a media file processing technology, in particular to a media file processing method and a media file processing system.
Background
In the prior art, when a terminal plays a media file (media file content such as video content, etc.), a viewpoint identifier of the media file is usually displayed on a progress bar for playing the media file, and the viewpoint identifier is used to prompt that the identifier is located at a position where a highlight of the media file is located, so as to prompt a user which parts are relatively boring parts and which parts are relatively exciting or relatively important parts. For media files with more viewpoint identifiers, the situation that display is too dense due to too many viewpoint identifiers may occur, the viewpoint identifiers are not displayed intuitively, so that on one hand, the visual experience for users is poor, and on the other hand, the users may need multi-step operation to operate the viewpoint (for example, firstly expanding viewpoint information and then clicking a specific viewpoint based on the expanded viewpoint information); even misoperation can be caused, so that the jumping progress is not the progress expected to be reached by the user, and multiple times of adjustment operation of the user are required, which is not favorable for the user experience.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a media file processing method and system.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a media file processing method, which comprises the following steps:
when a displayed media file is output, detecting a first display progress of the media file;
searching a viewpoint identification set based on the first display progress, obtaining a first group of viewpoint identification sets which are close to the first display progress, and displaying N viewpoint identifications in the first group of viewpoint identification sets in a preset area according to a preset arrangement rule; each viewpoint mark corresponds to the display progress range of a part of media files in the media files; n is a positive integer;
detecting a second display progress of the media file;
retrieving the viewpoint identification set based on the second display progress to obtain a second group of viewpoint identification sets which are close to the second display progress;
and displaying the N viewpoint identifiers in the second group of viewpoint identifier set in the preset area according to the preset arrangement rule.
In the above scheme, the method further comprises: when an input operation aiming at a first viewpoint identification in the preset area is detected, a first instruction is generated, a first starting display progress of a part of media files corresponding to the first viewpoint identification is obtained based on the first instruction, and the media files are displayed at the first starting display progress.
In the foregoing solution, the displaying, according to a preset arrangement rule, N viewpoint identifiers included in the first viewpoint identifier set in a preset area includes:
and displaying the N viewpoint identifications in a preset area according to the sequence of the initial display progress of the partial media files respectively corresponding to the N viewpoint identifications in the first group of viewpoint identification set.
In the foregoing solution, when the first display progress is within a display progress range of a part of media files corresponding to a second viewpoint identifier in the first group of viewpoint identifier sets, and the plurality of viewpoint identifiers are displayed in a preset region according to a sequence of initial display progresses of the part of media files corresponding to the plurality of viewpoint identifiers included in the first group of viewpoint identifier sets, the method further includes: controlling the second viewpoint identification to be displayed at a specific position in the preset area;
correspondingly, other viewpoint marks adjacent to the second viewpoint mark in the first viewpoint mark set are controlled to be displayed at fixed positions.
In the foregoing solution, when the first display progress is consistent with the initial display progress of the partial media file corresponding to the third viewpoint identifier in the first group viewpoint identifier set, the method further includes:
detecting the display condition of the media file, and when the media file is switched from the first display progress to the second display progress and the ratio of a first display progress range between the second display progress and the first display progress to a second display progress range corresponding to the third viewpoint identification reaches a preset threshold value, determining that the third viewpoint identification is in a first state; the first state represents the state that part of the media file corresponding to the third viewpoint identification is shown;
controlling the third viewpoint identification to be displayed according to a first display parameter;
and when the frequency of the third viewpoint identification in the first state is detected to reach a preset threshold value, controlling the third viewpoint identification to be displayed according to a second display parameter.
In the foregoing solution, the outputting and displaying the media file and detecting a first display progress of the media file includes: outputting a media file display set containing at least two media files, and detecting a first display progress of a first media file; wherein the first media file is any one of the at least two media files;
obtaining a first group of viewpoint identifier sets within a preset display progress range away from the first display progress, including:
obtaining a first group of viewpoint identification sets which are within a preset display progress range from the first display progress and comprise a plurality of viewpoint identifications; the plurality of viewpoint identifiers are viewpoint identifiers corresponding to at least part of the at least two media files.
An embodiment of the present invention further provides a media file processing system, where the system includes: the device comprises a detection unit, a retrieval processing unit and a display unit; wherein,
the detection unit is used for detecting a first display progress of the media file when the media file is output and displayed;
the retrieval processing unit is used for retrieving the viewpoint identification sets based on the first display progress and obtaining a first group of viewpoint identification sets which are close to the first display progress and comprise N viewpoint identifications; each viewpoint mark corresponds to the display progress range of a part of media files in the media files; n is a positive integer;
the display unit is used for displaying N viewpoint identifiers in the first viewpoint identifier set in a preset area according to a preset arrangement rule;
the detection unit is further used for detecting a second display progress of the media file;
the retrieval processing unit is further configured to retrieve the viewpoint identifier set based on the second display progress, and obtain a second group of viewpoint identifier sets close to the second display progress;
the display unit is further configured to display the N viewpoint identifiers included in the second group of viewpoint identifier sets in the preset region according to the preset arrangement rule.
In the above scheme, the system further comprises an operation detection unit and an execution unit; wherein,
the operation detection unit is used for detecting input operation;
the execution unit is configured to generate a first instruction when the operation detection unit detects an input operation for a first viewpoint identifier in the preset area, acquire a first initial display progress of a part of the media files corresponding to the first viewpoint identifier based on the first instruction, and control the display unit to display the media files from the first initial display progress.
In the foregoing scheme, the display unit is configured to display, in a preset area, the N viewpoint identifiers according to the sequence of the initial display progress of the partial media files corresponding to the N viewpoint identifiers included in the first group of viewpoint identifier sets.
In the foregoing solution, the detecting unit is further configured to detect a display condition of the media information when the first display progress is consistent with an initial display progress of a part of the media information corresponding to a third viewpoint identifier in the first group of viewpoint identifier sets, and determine that the third viewpoint identifier is in a first state when the media information is switched from the first display progress to the second display progress and a ratio of a first display progress range between the second display progress and the first display progress to a second display progress range corresponding to the third viewpoint identifier reaches a preset threshold; the first state represents a state that part of the media information corresponding to the third viewpoint identification is shown;
the display unit is used for controlling the third viewpoint identification to be displayed according to a first display parameter; and the detection unit is further configured to control the third viewpoint identifier to be displayed according to a second display parameter when the detection unit detects that the number of times that the third viewpoint identifier is in the first state reaches a preset threshold.
The media file processing method and system provided by the embodiment of the invention comprise the following steps: outputting a display media file, and detecting a first display progress of the media file; searching a viewpoint identification set based on the first display progress, obtaining a first group of viewpoint identification sets with the smallest display progress range and the distance from the first display progress, and displaying N viewpoint identifications in the first group of viewpoint identification sets according to a preset arrangement rule in a preset area; each viewpoint mark corresponds to the display progress range of a part of media files in the media files; n is a positive integer; detecting a second display progress of the media file; retrieving the viewpoint identification set based on the second display progress to obtain a second group of viewpoint identification sets with the smallest display progress range of the distance from the second display progress; and displaying the N viewpoint identifiers in the second group of viewpoint identifier set in the preset area according to the preset arrangement rule. Therefore, by adopting the technical scheme of the embodiment of the invention, the problem of poor visual experience of the user due to too much display of the viewpoint marks is avoided through the viewpoint marks with the preset number (for example, N) displayed in the preset area, the condition of mistaken clicking due to too much display of the viewpoint marks is also avoided, and the operation experience of the user is improved.
Drawings
FIG. 1 is a flow chart illustrating a media file processing method according to an embodiment of the invention;
fig. 2a to fig. 2c are schematic diagrams illustrating a media file processing method according to an embodiment of the invention;
FIGS. 3a to 3g are schematic diagrams illustrating a display of a viewpoint identifier in a media file processing method according to an embodiment of the invention;
fig. 4a and fig. 4b are schematic diagrams of an application scenario in the media file processing method according to the embodiment of the present invention, respectively;
fig. 5a and fig. 5b are schematic diagrams of another application scenario in the media file processing method according to the embodiment of the present invention, respectively;
FIG. 6 is a schematic diagram of a first component structure of a media file processing system according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a second component structure of the media file processing system according to the embodiment of the invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides a media file processing method. FIG. 1 is a flow chart illustrating a media file processing method according to an embodiment of the invention; as shown in fig. 1, the method includes:
step 101: and outputting a display media file, and detecting a first display progress of the media file.
Step 102: searching a viewpoint identification set based on the first display progress, obtaining a first group of viewpoint identification sets which are close to the first display progress, and displaying N viewpoint identifications in the first group of viewpoint identification sets in a preset area according to a preset arrangement rule; each viewpoint mark corresponds to the display progress range of a part of media files in the media files; n is a positive integer.
Step 103: detecting a second display progress of the media file.
Step 104: and retrieving the viewpoint identification set based on the second display progress to obtain a second group of viewpoint identification sets close to the second display progress.
Step 105: and displaying the N viewpoint identifiers in the second group of viewpoint identifier set in the preset area according to the preset arrangement rule.
The media file processing method according to this embodiment may be applied to a terminal, where the terminal may be a Personal Computer (PC) (for example, a desktop Computer, a notebook Computer, an all-in-one Computer, etc.), a mobile phone, a tablet Computer, and the like. The media file may specifically include: audio, video, document, etc. When the media file is of a type related to time parameters, such as audio, video, and the like, the display progress of the media file may be specifically a play time point of the media file; when the media file is a document or other type related to the page turning parameter, the display progress of the media file may be specifically a display page number of the media file.
In this embodiment, as an implementation manner, the terminal may output a display media file through a WEB (WEB) browser; that is, the terminal may play media files of types related to the event parameters, such as audio, video, etc., through the web page, and may also output media files of types related to the page turning parameters, such as documents, etc., through the web page. As another embodiment, the terminal may output the presentation media file through a media application; when the media file is of a type related to time parameters, such as audio, video, etc., the media application may be a media player; when the media file is a document or other type related to the page turning parameter, the media application may be an application program for word processing.
In this embodiment, before the media file is output and displayed, a viewpoint identifier is set in advance for the content of the media file, where the viewpoint identifiers presented may be different for different media files output by users. Setting viewpoint identifiers for wonderful scenes in video content, important content or knowledge points in video/audio/document content and the like, wherein the set viewpoint identifiers form a viewpoint identifier set; for another example, the set viewpoint identifiers may be deleted for the viewpoint identifiers in the video, and the deleted viewpoint identifiers form a viewpoint identifier set. As an example, the viewpoint identifier may include key text information of the corresponding partial media file, so that the user can know the content of the corresponding partial media file of the viewpoint identifier. When the media file is of a type such as audio and video related to time parameters, the viewpoint identification is a time range corresponding to a certain part of audio and video contents in the playing time range of the audio and video; that is, the viewpoint identification may be represented by the start time and the end time of the corresponding portion of audio/video. When the media file is a document or other type related to page turning parameters, the viewpoint identification is a page number (and line number) range corresponding to a certain part of document content in a page number range of the document; that is, the viewpoint identification can be represented by the start page number (and line number) and the end page number (and line number) of the corresponding partial document. Wherein the viewpoint identifier can be preset in advance for the content of the media file.
Based on the above, when a first display progress of the current media file is detected, inquiring the viewpoint identification set of the media file to obtain a first group of viewpoint identification sets which are close to the first display progress; the first set of viewpoint identifiers includes a fixed number (for example, the fixed number is N, and N is a positive integer) of viewpoint identifiers; the value of N can be pre-configured according to the requirement of screen display; however, the numerical value of N is not too large, so that the N is not too densely arranged in the preset area, which is not favorable for the operation experience of the user. As an implementation manner, the viewpoint identifiers in the viewpoint identifier set may be arranged according to the sequence of the initial display progress, and after the first display progress is detected, a first group of viewpoint identifier sets close to the first display progress is obtained according to a preset rule. As an example, the first set of viewpoint identifiers that is close to the first display progress is obtained according to a preset rule as follows: obtaining N viewpoint identifiers before the first display progress to generate the first group viewpoint identifier set; taking the video as an example, if the first display progress is that the current media file is displayed for 18 minutes, then N viewpoint identifiers which are before 18 minutes and are closest to 18 minutes are obtained, so that the viewpoint identifier corresponding to the current display progress is displayed at the rightmost end of the preset area. As another example, the obtaining of the first set of viewpoint identifiers close to the first display progress according to the preset rule is as follows: obtaining N viewpoint identifiers after the first display progress to generate the first group viewpoint identifier set; taking the video as an example, if the first display progress is the 18 th minute of the video as an example, the N viewpoint identifiers whose starting time is after 18 minutes and which are closest to 18 minutes are obtained, so that the viewpoint identifier corresponding to the current display progress is displayed at the leftmost position of the preset area. As another example, the first set of viewpoint identifiers that is close to the first display progress is obtained according to a preset rule as follows: obtaining N (N is a positive integer and N is smaller than N) viewpoint identifications before the first display progress and (N-N) viewpoint identifications after the first display progress are obtained to generate the first group of viewpoint identification set, so that the viewpoint identification corresponding to the current display progress is displayed at the middle positions except the rightmost end and the leftmost end in the preset area 2; taking a video as an example, if the first display schedule is 18 minutes and N is 5, then 2 viewpoint identifiers with a start time before 18 minutes and closest to 18 minutes are obtained, and 3 viewpoint identifiers with a start time after 18 minutes and closest to 18 minutes are obtained. Furthermore, a preset area is pre-configured in a display area of the media file, and the N viewpoint identifiers in the first viewpoint identifier set are displayed in the preset area according to a preset rule. Fig. 2a to fig. 2c are schematic diagrams illustrating a media file processing method according to an embodiment of the invention; as shown in fig. 2a, taking the video content and N is 5 as an example, if the preset area is an upper area of the video display area, 5 viewpoint identifiers can be displayed in the preset area from left to right. In this embodiment, the system continuously monitors the progress of the presentation, for example, once per second, along with the output presentation of the media file. Detecting a second display progress of the media file, and obtaining a second group of viewpoint identification sets which are close to the second display progress; the second set of viewpoint identifiers includes a fixed number (for example, N, where N is a positive integer) of viewpoint identifiers. The acquisition mode of the second group of viewpoint identifier set is the same as that of the first group of viewpoint identifier set, and is not described herein again. Displaying the N viewpoint identifiers included in the second group of viewpoint identifier set according to the preset arrangement rule in the preset area, and updating the N viewpoint identifiers displayed in the preset area along with the output display of the media file as shown in fig. 2 b. In this embodiment, when the media file is a type related to a time parameter, such as a video, an audio, and the like, the display progress of the media file is automatically switched, that is, the player automatically plays the media file so that the display progress of the media file is automatically switched. When the media file is a document or other type related to the page number parameter, the display progress of the media file can be manually switched, that is, a user needs to manually turn pages to switch the display progress of the media file. Taking a media file as an example, when it is detected that a first display progress is within a display progress range corresponding to a certain viewpoint identifier in the first group viewpoint identifier set, displaying N viewpoint identifiers in the first group viewpoint identifier set according to a preset arrangement rule in the preset area. With the continuous change of the current display progress, namely when the current display progress variation value is a second display progress, if the second display progress is still in the display range corresponding to the viewpoint identifier, the first group of viewpoint identifier sets displayed in the preset area are not changed; and if the second display progress is not in the display range corresponding to the viewpoint identification, obtaining a second group of viewpoint identification sets close to the second display progress, and controlling the display of the second group of viewpoint identification sets in the preset area. In the specific implementation process, when the viewpoint identifier set displayed in a preset area is changed, the viewpoint in the preset area is controlled to be hidden, and the viewpoint identifier set to be updated is automatically searched; and after the search is finished, displaying the updated viewpoint identification in the preset area.
Specifically, as an embodiment, the front end reports the display progress to the back end every period (e.g., 1 second); the back end stores the state of the display progress reported before and judges whether the state of the new display progress is the same as the state of the previous display progress. Such as: the previous show progress is within a certain viewpoint (e.g., viewpoint 2), or the previous show progress is between 2 viewpoints (e.g., the gap between viewpoint 4 and viewpoint 5); after receiving the new display progress, the back end judges whether the new display progress and the previous display progress are the same; such as: if the previous display progress is in the viewpoint 2 and the new display progress is still in the viewpoint 2, the display progress state is not changed; if the new display progress jumps out of view point 2 and enters the gap between view point 2 and view point 3, the state of the display progress is changed. For another example: the previous display progress is in the gap between the viewpoint 4 and the viewpoint 5, and the further display progress is still in the gap, which indicates that the state is not changed; if the new show progress enters the viewpoint 5, the status indicating the show progress changes. If the display state is determined to be the same, no processing is performed. And if the states of the display progress are different, calculating a 'viewpoint identification set' according to the 'new progress'. (the current viewpoint is calculated or exists or is empty, and other viewpoints before and after calculation) are calculated, and the obtained viewpoint identification set is sent to the front end to be displayed. And if the front end receives the updated viewpoint list, displaying the viewpoint list. As another implementation mode, the back end sends all the viewpoint information of the related media files to the front end one time, and sends the viewpoint number N to be displayed; the front end judges itself every preset period (for example, 1 second) to judge whether the new display progress state is the same as the previous display progress state. Such as: if the previous display progress is in the viewpoint 2 and the new display progress is still in the viewpoint 2, the display progress state is unchanged; if the new display progress jumps out of view point 2 and enters the gap between view point 2 and view point 3, the display progress state is changed. For another example: the previous display progress is in the gap between the viewpoint 4 and the viewpoint 5, and the new display progress is still in the gap, which means that the display progress state is not changed; if the new show progress enters the viewpoint 5, the show progress status is changed. If the display progress states are judged to be the same, no processing is carried out; and if the display progress states are different, updating and displaying the viewpoint list.
In this embodiment, the preset area is not limited to that shown in fig. 2a and 2b, and may be any area of the presentation area of the media file, including but not limited to an upper area, a lower area, a left area, and a right area of the presentation area, and the like. On the other hand, the arrangement rules of the N viewpoint identifiers displayed in the preset area include, but are not limited to, left-to-right arrangement, right-to-left arrangement, top-to-bottom arrangement, bottom-to-top arrangement, and the like. In a specific implementation process, any image or pattern (including font, font size, color, display effect, and the like) may be used as the pattern or pattern in the displayed viewpoint identifier, which is not specifically limited in this embodiment.
In this embodiment, a gap may be formed between the N viewpoint identifiers displayed in the preset area as shown in fig. 2a and 2 b; in this embodiment, the display progress of the media file may or may not fall within the display progress range corresponding to any viewpoint identifier. Of course, as shown in fig. 2c, there may be no gap between the N viewpoint identifiers; in this embodiment, the display progress of the media file must fall within the display progress range corresponding to a certain viewpoint identifier.
In this embodiment, as an implementation manner, the displaying, according to a preset arrangement rule, N viewpoint identifiers included in the first viewpoint identifier set in a preset area includes: and displaying the N viewpoint identifications in a preset area according to the sequence of the initial display progress of the partial media files respectively corresponding to the N viewpoint identifications in the first group of viewpoint identification set. Correspondingly, the displaying, in the preset area, the N viewpoint identifiers included in the second viewpoint identifier set according to the preset arrangement rule includes: and displaying the N viewpoint identifications in the preset area according to the sequence of the initial display progress of the partial media files respectively corresponding to the N viewpoint identifications in the second group of viewpoint identification set. That is to say, the N viewpoint identifiers displayed in the preset area are displayed according to the sequence of the initial display progress of each viewpoint identifier.
As an embodiment, the N viewpoint identifiers are respectively displayed at fixed positions in the preset area. The preset area is a display area of non-media file content, taking a media file as a video file as an example, a playing picture of a video usually has two black edges, taking fig. 3a and 3b as examples, in fig. 3a, taking a picture of a video playing picture 16:9 as an example, the upper side and the lower side of the video playing picture respectively have one black edge, and the preset area can be located in the black edge area; and fig. 3b takes a picture with a video playing picture of 4:3 as an example, a "black edge" is respectively arranged on the left and right of the video playing picture, and the preset area can be located in the "black edge" area, so that the viewpoint identifier does not cover the video playing picture, and the viewing experience of the user is not influenced. Furthermore, the N viewpoint identifiers are respectively displayed at fixed positions in the preset area, so that even if the preset areas where the viewpoint identifiers are located are different due to different video playing pictures, the viewpoint identifiers displayed at the fixed positions can be used for enabling users to habitually operate the viewpoint identifiers, and the users can easily get used.
Further, as an implementation manner, when the first display progress is within a display progress range of a part of the media files corresponding to a second viewpoint identifier in the first group of viewpoint identifier sets, and the plurality of viewpoint identifiers are displayed in the preset area according to a sequence of initial display progresses of the part of the media files corresponding to the plurality of viewpoint identifiers included in the first group of viewpoint identifier sets, the method further includes: controlling the second viewpoint identification to be displayed at a specific position in the preset area; correspondingly, other viewpoint marks adjacent to the second viewpoint mark in the first viewpoint mark set are controlled to be displayed at fixed positions. Specifically, in this embodiment, when it is detected that the current display progress is within a display progress range corresponding to a viewpoint identifier, for example, the first display progress is within a display progress range corresponding to the second viewpoint identifier, the second viewpoint identifier is controlled to be displayed at a specific position in the preset area. As an example, as shown in fig. 3c, when the current display progress is within the display progress range corresponding to the viewpoint 3, controlling the viewpoint 3 to display at the center position of the preset area; correspondingly, if the current display progress is in the display progress range corresponding to the viewpoint 4, the viewpoint 4 is controlled to be displayed at the central position of the preset area where the original viewpoint 3 is located. Of course, controlling the display of the viewpoint identifier corresponding to the current display progress in the preset area in the middle is only one embodiment, and the viewpoint identifier corresponding to the current display progress in other embodiments may not be displayed in the middle, for example, the viewpoint identifier corresponding to the current display progress is displayed at the second position in the preset area, one viewpoint identifier is provided on the left, three viewpoint identifiers are provided on the right, and the like. For another example, if the total number of the viewpoint identifiers allowed to be displayed in the preset area is 5 and the viewpoint identifier corresponding to the current display progress is controlled to be displayed in the middle when the media file just starts to be output and displayed, it is likely that the viewpoint identifier corresponding to the current display progress is displayed in the middle of the preset area, two viewpoint identifiers are provided on the right side, and two viewpoint identifiers are provided on the left side. Correspondingly, if the media file approaches to the end of playing, if the total number of the viewpoint identifiers allowed to be displayed in the preset area is 5, and the viewpoint identifier corresponding to the current display progress is controlled to be displayed in the middle, it is likely that the viewpoint identifier corresponding to the current display progress is displayed in the middle of the preset area, two viewpoint identifiers are arranged on the left side, and zero viewpoint identifiers are arranged on the right side.
Referring to fig. 3a and 3b, taking three viewpoint identifiers displayed in a preset region as an example, when a second viewpoint identifier corresponding to a current display progress is controlled to be displayed at a specific position and other viewpoint identifiers adjacent to the second viewpoint identifier are controlled to be displayed at fixed positions in the preset region, it may be understood that the second viewpoint identifier corresponding to the current display progress is a viewpoint identifier at an intermediate position, and a most important viewpoint identifier is determined in advance, for example, a viewpoint identifier before the second viewpoint identifier (for example, a prev viewpoint identifier shown in fig. 3 a) or a viewpoint identifier after the second viewpoint identifier (for example, a next viewpoint identifier shown in fig. 3 a) is displayed at a fixed position. As an implementation mode, the probability that the user clicks the next viewpoint identifier is the largest, namely, the next viewpoint is judged to be the most important viewpoint. So the next viewpoint is placed in the position which is easiest to operate and memorize; the upper right corner position is selected in fig. 3a and the upper right corner position is still selected in fig. 3b, i.e. whether the preset region is located in the upper side region or the right side region, the next viewpoint indicates that the position is always in the upper right corner, which is convenient for the user to memorize and operate and easy to develop the operation habit. As another embodiment, if the probability that the user clicks the prev viewpoint identifier is the largest, it is determined that the prev viewpoint identifier is the most important viewpoint, and the prev viewpoint identifier can be placed in the position that is most easy to operate and memorize. In the specific implementation process, how to judge the most important viewpoint identifier can be configured in advance, and can also be set according to the browsing habits of the user. Since the order of the viewpoint labels does not change, the logic of the viewpoint labels shown in fig. 3b is: and in the right black-edge area, displaying the viewpoint identification from bottom to top according to the sequence of prev, now and next, and ensuring that the next viewpoint identification is still at the upper right corner. Of course, the fixed position of the viewpoint identifier (for example, the next viewpoint identifier of the current viewpoint identifier) as a key is not limited to the upper right corner position shown in the figure, but may be any other position convenient for the user to operate. In this embodiment, as shown in fig. 3a or fig. 3b as an example, assuming that the next viewpoint id is the most important viewpoint id, the next viewpoint id is controlled to be always displayed at the upper right of the display area. The requirement that the next viewpoint identifier is displayed in a fixed position is more important than the requirement that the now viewpoint identifier or the prev viewpoint identifier is displayed in a fixed position. Thus, the control viewpoint id is displayed at a fixed position in the preset area, and the viewpoint id of the control key is displayed at a fixed position, which facilitates the user to further get used to the operation of the viewpoint id (for example, as shown in fig. 3a, the user can further get used to click the now at the left of the next and the leftmost prev by habitually clicking the next at the top right). It should be noted that, in this embodiment, each viewpoint identifier displays a content description of a display progress range corresponding to the viewpoint identifier, for example, the text descriptions of the prev viewpoint identifier, the now viewpoint identifier, and the next viewpoint identifier in fig. 3a or fig. 3b may be respectively: the first goal, the second goal, the third goal and the like, so that the user can select the interested display progress range based on the content description corresponding to the viewpoint identification and further click the corresponding viewpoint identification. That is to say, the view point identifier in this embodiment has two logic functions, that is, a user can know content description corresponding to the view point identifier; and secondly, the user can directly operate the viewpoint mark at a fixed position according to the operation habit, and directly jump to the initial display progress corresponding to the next viewpoint mark/the previous viewpoint mark for output display.
Specifically, the display of the viewpoint identifier corresponding to the current progress at a specific position in the preset area is controlled, on one hand, the position of the viewpoint identifier corresponding to the current progress is fixed, and on the other hand, the positions of other viewpoint identifiers except the viewpoint identifier corresponding to the current progress are also fixed under the condition that the number of the viewpoint identifiers in the preset area is fixed. The specific position in the preset area may be any position in the preset area, such as the leftmost end, the rightmost end, a position other than the leftmost end and the rightmost end, and the like. Taking the enumerated first display progress as an example that the current media file is displayed for 18 minutes, when obtaining N viewpoint identifiers with the starting time before 18 minutes and closest to 18 minutes, controlling the viewpoint identifier corresponding to the current display progress to be displayed at the rightmost end position in the preset area. Taking the enumerated first display progress as the 18 th minute of the video as an example, the N viewpoint identifiers with the starting time after 18 minutes and closest to 18 minutes are obtained, and the viewpoint identifier corresponding to the current display progress is controlled to be displayed at the leftmost position in the preset area. And when obtaining N (N is a positive integer and N is less than N) viewpoint identifiers before the first display progress and (N-N) viewpoint identifiers after the first display progress in the enumeration, if N is equal to 5 shown in fig. 3a and N is equal to 2 or 3, and if the current display progress corresponds to the display progress range corresponding to the viewpoint identifier 3 shown in fig. 3a, controlling the viewpoint identifier 3 corresponding to the current display progress to be displayed at the middle position in the preset area. In this embodiment, if the current display progress is within the display progress range corresponding to a certain viewpoint identifier, the display effect that the viewpoint identifier is different from other viewpoint identifiers in the preset area is controlled in addition to the display of the specific position in the preset area, for example, as an implementation mode, the viewpoint identifier can be controlled to be displayed in a highlight mode to be different from other viewpoint identifiers, so as to prompt the user that the current display progress is within the display progress range corresponding to the viewpoint identifier.
As an implementation manner, if the current display progress does not correspond to the display progress range corresponding to any viewpoint identifier in the preset area, controlling the specific position in the preset area not to display any viewpoint identifier, that is, the specific position in the preset area is empty.
In this embodiment, as another implementation manner, when the first presentation progress is consistent with an initial presentation progress of a part of the media file corresponding to a third viewpoint identifier in the first viewpoint identifier set, the method further includes: detecting the display condition of the media file, and when the media file is switched from the first display progress to the second display progress and the ratio of a first display progress range between the second display progress and the first display progress to a second display progress range corresponding to the third viewpoint identification reaches a preset threshold value, determining that the third viewpoint identification is in a first state; the first state represents the state that part of the media file corresponding to the third viewpoint identification is shown; and controlling the third viewpoint identification to be displayed according to the first display parameter.
Specifically, when it is determined that the display proportion of a certain viewpoint identifier (for example, a third viewpoint identifier) reaches a preset threshold (for example, 80% of the preset threshold, of course, 80% is only used as an example, a specific numerical value of the preset threshold may be preconfigured with an actual requirement, and is not specifically limited in this embodiment) based on the current display progress (switching from the first display progress to the second display progress identifier), it indicates that the third viewpoint identifier is in a first state, and the first state represents a state in which a part of the media file corresponding to the third viewpoint identifier has been displayed, that is, it indicates that the third viewpoint identifier has been browsed; correspondingly, the third viewpoint identification is controlled to be displayed according to a first display parameter, and the display state of the third viewpoint identification displayed through the first display parameter is different from that of other viewpoint identifications displayed in the preset area.
Further, as another embodiment, the method further includes: when the frequency of the third viewpoint identification in the first state is detected to reach a preset threshold value, controlling the third viewpoint identification to be displayed according to a second display parameter; wherein the preset threshold is any value greater than or equal to 2. Specifically, in this embodiment, if the number of times that a certain viewpoint identifier (taking the third viewpoint identifier as an example) is browsed is greater than 1, for example, two or more times, the third viewpoint identifier is displayed according to the second display parameter, where the second display parameter is different from the first display parameter, that is, if the third viewpoint identifier is browsed 2 times, the display state of the third viewpoint identifier is different from that of the third viewpoint identifier browsed 1 time before, and specifically, one example shown in fig. 3c to 3e may be referred to, for example, when the display progress range corresponding to the viewpoint identifier 3 is browsed 1 time before, the viewpoint identifier 3 is controlled to fill the first gray color; when the display progress range corresponding to the viewpoint identification 3 is browsed for 2 times, controlling the viewpoint identification 3 to fill a second gray color; said second gray scale color being distinct from said first gray scale color; when the display progress range corresponding to the viewpoint identification 3 is browsed for 3 times, controlling the viewpoint identification 3 to fill a third gray color; said third gray color being distinct from said first gray color and said second gray color; therefore, when the user can quickly know the browsing times of the media files corresponding to the viewpoint identification based on the display state of the viewpoint identification. Of course, in this embodiment, the display effect of the corresponding viewpoint identifier is not limited to be changed when the user browses once, the display effect of the corresponding viewpoint identifier is changed when the user browses twice, and the display effect of the corresponding viewpoint identifier is changed when the user browses three times, and the browsing times corresponding to the change of the display effect may be configured in advance as needed, or may be configured manually. The first display parameter may specifically include any pattern or design, such as font color, fill style, fill transparency, and so on.
In this embodiment, as an implementation manner, when the first display progress is consistent with an initial display progress of a part of the media file corresponding to a third viewpoint identifier in the first group viewpoint identifier set, the method further includes: and detecting the display condition of the media file, and controlling the display progress on the third viewpoint identification.
Specifically, as shown in fig. 3f, taking a media file as an example of a video, when the video starts to be played, the display progress corresponding to the viewpoint identifier of the video is not played, and the playing progress of the viewpoint 1, the viewpoint 2, and the viewpoint 3 is 0%, and accordingly, the display effect representing the display progress is not displayed in the viewpoint 1, the viewpoint 2, and the viewpoint 3; when the display progress corresponding to the viewpoint 1 starts to be output and played along with the playing of the video, for example, the viewpoint 1 plays 20%, the display effect representing the display progress is not displayed in the viewpoint 2 and the viewpoint 3, and the display progress corresponding to the viewpoint 1 can be represented in the viewpoint 1 through the display effect of a progress bar, for example; with the continuous playing of the display progress corresponding to the viewpoint 1, the progress bar in the viewpoint 1 is gradually increased until the display progress range corresponding to the viewpoint 1 is played completely, the progress bar in the viewpoint 1 is full, and the display effect that the display progress range corresponding to the viewpoint 1 is browsed is achieved; further, as the display progress continues, the display progress range corresponding to the viewpoint 2 starts to be played, for example, the display progress range corresponding to the viewpoint 2 is browsed by 30%, and the display effect of the progress bar corresponding to the browsed 30% is presented; at this time, the display progress range corresponding to the viewpoint 1 is in a browsed state, and a display effect corresponding to the browsed one time is presented, while the display progress range corresponding to the viewpoint 3 is in an unviewed state, and the display effect representing the display progress is not displayed; further, as the display progress continues, the display progress ranges corresponding to the viewpoint 1 and the viewpoint 2 are all browsed, the display effect corresponding to the browsing once is presented, and the display progress range corresponding to the viewpoint 3 starts to be browsed, for example, 50% of the display progress range corresponding to the viewpoint 3 is browsed, and the display effect of the progress bar corresponding to 50% of the browsed progress is presented. When the media file is browsed for the first time, the display effect of the progress bar can adopt the first display parameter; correspondingly, when the browsing times of the media file are the preset threshold, the display effect of the progress bar can adopt the second display parameter; the first display parameter may specifically include any pattern or design, such as font color, fill style, fill transparency, and so on. In a specific implementation process, the current display progress can be detected in real time, and the current display progress can be marked as progress 1; the system is pre-stored with an initial display progress and a termination display progress corresponding to a viewpoint identification corresponding to the current display progress, wherein the initial display progress can be marked as progress 2, and the termination display progress can be marked as progress 3; the browsed percentage is determined according to the following formula (1), so that the display effect of the viewpoint identifier (e.g., the display effect of the progress bar) is updated based on the browsed percentage:
(progress 1-progress 2)/(progress 3-progress 2) × 100 ═ percentage browsed (1)
As an implementation manner, if the display proportion of the display progress range corresponding to a certain viewpoint identifier that is browsed does not reach a preset threshold (for example, the preset threshold is 80%), and the media file is output and displayed again after being closed or paused for a period of time, the viewpoint identifier is still in an unviewed state, specifically, as shown in fig. 3g, taking the media file as a video, when the video starts to play, the display progress corresponding to the viewpoint identifier of the video is not played, the playing progress of the viewpoint 1, the viewpoint 2, and the viewpoint 3 is 0%, and accordingly, the viewpoint 1, the viewpoint 2, and the viewpoint 3 do not display a display effect representing the display progress; when the display progress corresponding to the viewpoint 1 starts to be output and played along with the playing of the video, for example, the viewpoint 1 plays 20% and does not exceed the preset display progress threshold of 80%, and the display effect representing the display progress is not displayed in the viewpoint 2 and the viewpoint 3. If the video is paused for a while, the system will clearly see the display effect of viewpoint 1 before pausing, that is, the playing progress of viewpoint 1, viewpoint 2 and viewpoint 3 is 0%.
In this embodiment, as an implementation manner, the method further includes: when an input operation aiming at a first viewpoint identification in the preset area is detected, a first instruction is generated, a first starting display progress of a part of media files corresponding to the first viewpoint identification is obtained based on the first instruction, and the media files are displayed at the first starting display progress.
Specifically, in this embodiment, each viewpoint identifier displayed in the preset area has a skip function; when an input operation (such as a click operation) aiming at a first viewpoint identification is detected, a first instruction is generated, a display progress range of a part of media files corresponding to the first viewpoint identification is obtained based on the first instruction, the display progress range comprises a first starting display progress and a first stopping display progress, and the media files are displayed by jumping to the first starting display progress. And when the media file is of a type such as audio, video and the like related to the time parameter, jumping to a timestamp corresponding to the first starting display progress to display the media file.
And when the media file is a document or other type related to the page turning parameter, skipping to a page number (and a line number) corresponding to the first starting display progress to display the media file. Fig. 4a and fig. 4b are schematic diagrams of an application scenario in the media file processing method according to the embodiment of the present invention, respectively; as shown in fig. 4a, if the current display progress does not belong to the display progress range corresponding to any viewpoint identifier, the viewpoint identifier displayed at the specific position of the preset area may be null, that is, the specific position does not display any viewpoint identifier; at this time, the user can click the viewpoint identifier 15, obtain a first initial display progress corresponding to the viewpoint identifier 15, and jump to the first initial display progress to display the media file; correspondingly, the viewpoint identifier 15 is controlled to be displayed at a specific position (such as the central position shown in fig. 4 a) of the preset area; accordingly, the viewpoint in the preset area is updated once before and after the viewpoint identifier 15 is clicked. As another scenario example, as shown in fig. 4b, if the current display progress does not belong to the display progress range corresponding to any viewpoint identifier, the viewpoint identifier displayed at the specific position of the preset area may be null, that is, no viewpoint identifier is displayed at the specific position; at this time, if the user skips the viewpoint identifier 15 and clicks the viewpoint identifier 16, a first initial display progress corresponding to the viewpoint identifier 16 is obtained, and the media file is displayed by jumping to the first initial display progress; correspondingly, the viewpoint identifier 16 is controlled to be displayed at a specific position (such as the central position shown in fig. 4 b) of the preset area; accordingly, the viewpoint in the preset area is updated once before and after the viewpoint identifier 15 is clicked. Correspondingly, the browsed viewpoint identification and the viewpoint identification which is not browsed are identified; the unviewed viewpoint marks can be displayed through transparent filling colors; and the browsed viewpoint identification can be displayed according to the corresponding display parameters according to the browsed times.
In this embodiment, as an implementation manner, the outputting and displaying the media file, and detecting a first display progress of the media file includes: outputting a media file display set containing at least two media files, and detecting a first display progress of a first media file; wherein the first media file is any one of the at least two media files; obtaining a first group of viewpoint identifier sets within a preset display progress range away from the first display progress, including: obtaining a first group of viewpoint identification sets which are within a preset display progress range from the first display progress and comprise a plurality of viewpoint identifications; the plurality of viewpoint identifiers are viewpoint identifiers corresponding to at least part of the at least two media files.
Specifically, in this embodiment, the media file displayed in the output may not be a single media file, and may be a combination of at least two media files. For example, for some large athletic events, if a point of interest is on a player, there are three game video files for that player, forming a video collection containing the three game video files. For another example, in some television play sets, if a focus is on an actor, a plurality of television play set files exist corresponding to the actor, and a video set including the plurality of television play sets is formed. Fig. 5a and fig. 5b are schematic diagrams of another application scenario in the media file processing method according to the embodiment of the present invention, respectively; as shown in fig. 5a, taking a media file as an example of a video, the media file may be composed of 5 videos shown in fig. 5a, where video 1 includes viewpoint 1 to viewpoint 3; video 2 includes viewpoint 4 and viewpoint 5; video 3 includes a viewpoint 6; video 4 comprises viewpoint 7 and viewpoint 8; video 5 includes viewpoint 9 and viewpoint 10. In the process of outputting and displaying the media files, the viewpoint identifier displayed in the preset area may be the viewpoint identifier of a single media file, or may be the viewpoint identifiers included in at least two media files; for example, as shown in fig. 5b, when it is detected that the current progress is at progress 1 and the progress 1 is within the display progress range corresponding to the viewpoint identifier 3, the viewpoint identifiers 1 to 5 of the videos 1 and 2 are displayed in the preset area, and the viewpoint identifier 3 is displayed in the middle. When a user clicks a viewpoint mark 4, controlling display to start from the initial display progress corresponding to the viewpoint mark 4, displaying viewpoint marks 2 to 6 corresponding to videos 1 to 3 in the preset area, and displaying the viewpoint mark 4 in the middle; during this jump, the presented media file has switched from video 1 to video 2; but is transparent to the user's operational experience. Specifically, in an embodiment in which the media file set includes at least two media files, in a specific implementation process, the at least two media files are determined and sorted in sequence; determining a viewpoint identification in each media file, wherein the starting progress, the ending progress and the character description correspond to each viewpoint identification; and sequencing all the viewpoints according to the sequencing of the at least two media files and the initial progress sequencing of the viewpoint identifier in each media file, thereby determining the sequence of the viewpoint identifiers.
Based on the above description, in the media file processing method according to the embodiment of the present invention, on one hand, the problem of poor visual experience of the user due to too dense display of the viewpoint identifiers is avoided by displaying the viewpoint identifiers in the preset number (for example, N) in the preset area, and the viewpoint identifiers are displayed more intuitively for the user; the condition of mistaken clicking caused by excessively dense viewpoint identification is avoided, the user operation is more convenient and efficient, and the operation experience of the user is improved. In the second aspect, a user can click the viewpoint identifier displayed in the preset area, so that the display of the media file is started from the initial display progress corresponding to the triggered viewpoint identifier; furthermore, along with the difference of the browsing times of the partial media files corresponding to the viewpoint identifiers, the display effects of the corresponding viewpoint identifiers are also different, so that a user can quickly know the browsing times of the partial media files corresponding to the viewpoint identifiers.
The embodiment of the invention also provides a media file processing system. FIG. 6 is a schematic diagram of a first component structure of a media file processing system according to an embodiment of the present invention; as shown in fig. 6, the system includes: a detection unit 61, a retrieval processing unit 62 and a presentation unit 63; wherein,
the detecting unit 61 is configured to detect a first display progress of a media file when the media file is output and displayed;
the retrieval processing unit 62 is configured to retrieve a viewpoint identifier set based on the first display progress, and obtain a first group of viewpoint identifier sets including N viewpoint identifiers close to the first display progress; each viewpoint mark corresponds to the display progress range of a part of media files in the media files; n is a positive integer;
the display unit 63 is configured to display, in a preset area, N viewpoint identifiers included in the first viewpoint identifier set according to a preset arrangement rule;
the detecting unit 61 is further configured to detect a second display progress of the media file;
the retrieval processing unit 62 is further configured to retrieve the viewpoint identifier set based on the second display progress, and obtain a second group of viewpoint identifier sets close to the second display progress;
the display unit 63 is further configured to display the N viewpoint identifiers included in the second group of viewpoint identifier sets in the preset area according to the preset arrangement rule.
In this embodiment, the media file may specifically include: audio, video, document, etc. When the media file is of a type related to time parameters, such as audio, video, and the like, the display progress of the media file may be specifically a play time point of the media file; when the media file is a document or other type related to the page turning parameter, the display progress of the media file may be specifically a display page number of the media file.
In this embodiment, before the media file is output and displayed, a viewpoint identifier is set in advance for the content of the media file, where the viewpoint identifiers presented may be different for different media files output by users. Setting viewpoint identifiers for wonderful scenes in video content, important content or knowledge points in video/audio/document content and the like, wherein the set viewpoint identifiers form a viewpoint identifier set; for another example, the set viewpoint identifiers may be deleted for the viewpoint identifiers in the video, and the deleted viewpoint identifiers form a viewpoint identifier set. As an example, the viewpoint identifier may include key text information of the corresponding partial media file, so that the user can know the content of the corresponding partial media file of the viewpoint identifier. When the media file is of a type such as audio and video related to time parameters, the viewpoint identification is a time range corresponding to a certain part of audio and video contents in the playing time range of the audio and video; that is, the viewpoint identification may be represented by the start time and the end time of the corresponding portion of audio/video. When the media file is a document or other type related to page turning parameters, the viewpoint identification is a page number (and line number) range corresponding to a certain part of document content in a page number range of the document; that is, the viewpoint identification can be represented by the start page number (and line number) and the end page number (and line number) of the corresponding partial document. Wherein the viewpoint identifier can be preset in advance for the content of the media file.
Based on this, when the detecting unit 61 detects a first display progress of the current media file, the retrieval processing unit 62 queries the viewpoint identifier sets of the media file to obtain a first group of viewpoint identifier sets close to the first display progress; the first set of viewpoint identifiers includes a fixed number (for example, the fixed number is N, and N is a positive integer) of viewpoint identifiers; the value of N can be pre-configured according to the requirement of screen display; however, the numerical value of N is not too large, so that the N is not too densely arranged in the preset area, which is not favorable for the operation experience of the user. As an implementation manner, the retrieval processing unit 62 may arrange the viewpoint identifiers in the viewpoint identifier set according to the sequence of the initial display progress, and after detecting the first display progress, obtain a first group of viewpoint identifier sets close to the first display progress according to a preset rule. As an example, the first set of viewpoint identifiers that is close to the first display progress is obtained according to a preset rule as follows: obtaining N (N is a positive integer and N is smaller than N) viewpoint identifications before the first display progress and (N-N) viewpoint identifications after the first display progress are obtained to generate the first group of viewpoint identification set, so that the viewpoint identification corresponding to the current display progress is displayed at the middle positions except the rightmost end and the leftmost end in the preset area 2; taking a video as an example, if the first display schedule is 18 minutes and N is 5, then 2 viewpoint identifiers with a start time before 18 minutes and closest to 18 minutes are obtained, and 3 viewpoint identifiers with a start time after 18 minutes and closest to 18 minutes are obtained. Furthermore, a preset area is pre-configured in a display area of the media file, and the display unit 63 displays N viewpoint identifiers in the first viewpoint identifier set in the preset area according to a preset rule.
In this embodiment, along with the output display of the media file, the detecting unit 61 continuously monitors the display progress, for example, once per second. The detecting unit 61 detects a second display progress of the media file, and the retrieval processing unit 62 obtains a second set of viewpoint identifier sets close to the second display progress; the second set of viewpoint identifiers includes a fixed number (for example, N, where N is a positive integer) of viewpoint identifiers. The acquisition mode of the second group of viewpoint identifier set is the same as that of the first group of viewpoint identifier set, and is not described herein again. The displaying unit 63 displays N viewpoint identifiers included in the second viewpoint identifier set according to the preset arrangement rule in the preset area, and updates the N viewpoint identifiers displayed in the preset area along with the output display of the media file.
As an implementation manner, the displaying unit 63 is configured to display, in a preset area, the N viewpoint identifiers according to the sequence of the initial display progress of the partial media files corresponding to the N viewpoint identifiers included in the first group of viewpoint identifier sets; correspondingly, the method is further configured to display the N viewpoint identifiers in a preset area according to the sequence of the initial display progress of the partial media files corresponding to the N viewpoint identifiers included in the second group of viewpoint identifier sets.
As an embodiment, the N viewpoint identifiers are respectively displayed at fixed positions in the preset area. When the first display progress is within the display progress range of a part of media files corresponding to a second viewpoint identifier in the first group of viewpoint identifier sets and the plurality of viewpoint identifiers are displayed in a preset area according to the sequence of initial display progress of the part of media files corresponding to the plurality of viewpoint identifiers in the first group of viewpoint identifier sets, the display unit 63 is further configured to control the display of the second viewpoint identifier at a specific position in the preset area.
As an implementation manner, the detecting unit 61 is further configured to detect a display condition of the media file, and when the media file is switched from the first display progress to the second display progress, and a ratio of a first display progress range between the second display progress and the first display progress to a second display progress range corresponding to the third viewpoint identifier reaches a preset threshold, determine that the third viewpoint identifier is in a first state; the first state represents the state that part of the media file corresponding to the third viewpoint identification is shown;
the display unit 63 is further configured to control the third viewpoint identifier to be displayed according to the first display parameter;
correspondingly, the detecting unit 61 is further configured to detect the number of times that the third viewpoint identifier is in the first state;
the display unit 63 is further configured to control the third viewpoint identifier to be displayed according to a second display parameter when the detection unit 61 detects that the number of times that the third viewpoint identifier is in the first state reaches a preset threshold.
As an embodiment, the detecting unit 61 is further configured to output a media file presentation set including at least two media files, and detect a first presentation progress of a first media file; wherein the first media file is any one of the at least two media files;
the retrieval processing unit 62 is further configured to obtain a first group of viewpoint identifier sets that are within a preset display progress range from the first display progress and include a plurality of viewpoint identifiers; the plurality of viewpoint identifiers are viewpoint identifiers corresponding to at least part of the at least two media files.
As an embodiment, as shown in fig. 7, the system further includes an operation detection unit 64 and an execution unit 65; wherein,
the operation detection unit 64 for detecting an input operation;
the execution unit 65 is configured to generate a first instruction when the operation detection unit 64 detects an input operation for a first viewpoint identifier in the preset area, obtain a first initial display progress of a part of the media files corresponding to the first viewpoint identifier based on the first instruction, and control the display unit 63 to display the media files from the first initial display progress.
Specifically, in this embodiment, each viewpoint identifier displayed in the preset area has a skip function; when the operation detection unit 64 detects an input operation (e.g., a click operation) for a first viewpoint identifier, the execution unit 65 generates a first instruction, obtains a display progress range of a part of the media file corresponding to the first viewpoint identifier based on the first instruction, where the display progress range includes a first starting display progress and a first ending display progress, and jumps to the first starting display progress to display the media file. And when the media file is of a type such as audio, video and the like related to the time parameter, jumping to a timestamp corresponding to the first starting display progress to display the media file. And when the media file is a document or other type related to the page turning parameter, skipping to a page number (and a line number) corresponding to the first starting display progress to display the media file.
It should be understood by those skilled in the art that the functions of each processing unit in the media file processing system according to the embodiment of the present invention may be understood by referring to the related description of the foregoing media file processing method, and each processing unit in the media file processing system according to the embodiment of the present invention may be implemented by an analog circuit that implements the functions described in the embodiment of the present invention, or may be implemented by running software that performs the functions described in the embodiment of the present invention on an intelligent terminal.
In the embodiment of the invention, the information processing system can be realized by a terminal in practical application; the terminal may be a PC (e.g., a desktop computer, a notebook computer, an all-in-one computer, etc.), a mobile phone, a tablet computer, etc. The detection Unit 61, the retrieval Processing Unit 62, the operation detection Unit 64 and the execution Unit 65 in the system may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU) or a Programmable Gate Array (FPGA) in the system in practical application; the display unit 63 in the system can be implemented by a display screen or a display in the system in practical application.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. A media file processing method, the method comprising:
when a displayed media file is output, detecting a first display progress of the media file;
searching a viewpoint identification set based on the first display progress, obtaining a first group of viewpoint identification sets which are close to the first display progress, and displaying N viewpoint identifications in the first group of viewpoint identification sets in a preset area according to a preset arrangement rule; each viewpoint mark corresponds to the display progress range of a part of media files in the media files; n is a positive integer;
detecting a second display progress of the media file;
retrieving the viewpoint identification set based on the second display progress to obtain a second group of viewpoint identification sets which are close to the second display progress;
and displaying the N viewpoint identifiers in the second group of viewpoint identifier set in the preset area according to the preset arrangement rule.
2. The method of claim 1, further comprising: when an input operation aiming at a first viewpoint identification in the preset area is detected, a first instruction is generated, a first starting display progress of a part of media files corresponding to the first viewpoint identification is obtained based on the first instruction, and the media files are displayed at the first starting display progress.
3. The method according to claim 1, wherein the displaying N viewpoint identifiers included in the first viewpoint identifier set according to a preset arrangement rule in a preset area comprises:
and displaying the N viewpoint identifications in a preset area according to the sequence of the initial display progress of the partial media files respectively corresponding to the N viewpoint identifications in the first group of viewpoint identification set.
4. The method according to claim 3, wherein when the first display progress is within a display progress range of a part of the media files corresponding to a second viewpoint identifier in the first group of viewpoint identifier sets, and the plurality of viewpoint identifiers are displayed in the preset area according to a sequence of initial display progress of the part of the media files corresponding to the plurality of viewpoint identifiers included in the first group of viewpoint identifier sets, the method further comprises: controlling the second viewpoint identification to be displayed at a specific position in the preset area;
correspondingly, other viewpoint marks adjacent to the second viewpoint mark in the first viewpoint mark set are controlled to be displayed at fixed positions.
5. The method of claim 1, wherein when the first presentation progress is consistent with a starting presentation progress of a portion of the media file corresponding to a third viewpoint identifier in the first set of viewpoint identifiers, the method further comprises:
detecting the display condition of the media file, and when the media file is switched from the first display progress to the second display progress and the ratio of a first display progress range between the second display progress and the first display progress to a second display progress range corresponding to the third viewpoint identification reaches a preset threshold value, determining that the third viewpoint identification is in a first state; the first state represents the state that part of the media file corresponding to the third viewpoint identification is shown;
controlling the third viewpoint identification to be displayed according to a first display parameter;
and when the frequency of the third viewpoint identification in the first state is detected to reach a preset threshold value, controlling the third viewpoint identification to be displayed according to a second display parameter.
6. The method of claim 1, wherein the outputting presents a media file, and wherein detecting a first progress in the presentation of the media file comprises: outputting a media file display set containing at least two media files, and detecting a first display progress of a first media file; wherein the first media file is any one of the at least two media files;
obtaining a first group of viewpoint identifier sets within a preset display progress range away from the first display progress, including:
obtaining a first group of viewpoint identification sets which are within a preset display progress range from the first display progress and comprise a plurality of viewpoint identifications; the plurality of viewpoint identifiers are viewpoint identifiers corresponding to at least part of the at least two media files.
7. A media file processing system, the system comprising: the device comprises a detection unit, a retrieval processing unit and a display unit; wherein,
the detection unit is used for detecting a first display progress of the media file when the media file is output and displayed;
the retrieval processing unit is used for retrieving the viewpoint identification sets based on the first display progress and obtaining a first group of viewpoint identification sets which are close to the first display progress and comprise N viewpoint identifications; each viewpoint mark corresponds to the display progress range of a part of media files in the media files; n is a positive integer;
the display unit is used for displaying N viewpoint identifiers in the first viewpoint identifier set in a preset area according to a preset arrangement rule;
the detection unit is further used for detecting a second display progress of the media file;
the retrieval processing unit is further configured to retrieve the viewpoint identifier set based on the second display progress, and obtain a second group of viewpoint identifier sets close to the second display progress;
the display unit is further configured to display the N viewpoint identifiers included in the second group of viewpoint identifier sets in the preset region according to the preset arrangement rule.
8. The system of claim 7, further comprising an operation detection unit and an execution unit; wherein,
the operation detection unit is used for detecting input operation;
the execution unit is configured to generate a first instruction when the operation detection unit detects an input operation for a first viewpoint identifier in the preset area, acquire a first initial display progress of a part of the media files corresponding to the first viewpoint identifier based on the first instruction, and control the display unit to display the media files from the first initial display progress.
9. The system according to claim 7, wherein the presentation unit is configured to present, in a preset area, the N viewpoint identifiers according to a sequence of initial presentation progress of the partial media files respectively corresponding to the N viewpoint identifiers included in the first group of viewpoint identifier sets.
10. The system according to claim 7, wherein the detecting unit is further configured to detect a display condition of the media information when the first display progress is consistent with an initial display progress of a part of the media information corresponding to a third viewpoint identifier in the first set of viewpoint identifiers, and determine that the third viewpoint identifier is in the first state when the media information is switched from the first display progress to the second display progress and a ratio of a first display progress range between the second display progress and the first display progress to a second display progress range corresponding to the third viewpoint identifier reaches a preset threshold; the first state represents a state that part of the media information corresponding to the third viewpoint identification is shown;
the display unit is used for controlling the third viewpoint identification to be displayed according to a first display parameter; and the detection unit is further configured to control the third viewpoint identifier to be displayed according to a second display parameter when the detection unit detects that the number of times that the third viewpoint identifier is in the first state reaches a preset threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611071606.XA CN106604145B (en) | 2016-11-28 | 2016-11-28 | A kind of media file processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611071606.XA CN106604145B (en) | 2016-11-28 | 2016-11-28 | A kind of media file processing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106604145A true CN106604145A (en) | 2017-04-26 |
CN106604145B CN106604145B (en) | 2019-08-09 |
Family
ID=58594051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611071606.XA Active CN106604145B (en) | 2016-11-28 | 2016-11-28 | A kind of media file processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106604145B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110868638A (en) * | 2019-11-25 | 2020-03-06 | 天脉聚源(杭州)传媒科技有限公司 | Automatic playing method of video watching point, terminal and server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103458310A (en) * | 2013-09-06 | 2013-12-18 | 乐视致新电子科技(天津)有限公司 | Information displaying method and device |
CN104168512A (en) * | 2014-06-16 | 2014-11-26 | 乐视致新电子科技(天津)有限公司 | Method and device for displaying video information |
CN104581351A (en) * | 2015-01-28 | 2015-04-29 | 上海与德通讯技术有限公司 | Audio/video recording method, audio/video playing method and electronic device |
EP3094100A1 (en) * | 2015-05-11 | 2016-11-16 | Reboot Holding Ltd | Method for measuring the level of attention of a user watching a video |
-
2016
- 2016-11-28 CN CN201611071606.XA patent/CN106604145B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103458310A (en) * | 2013-09-06 | 2013-12-18 | 乐视致新电子科技(天津)有限公司 | Information displaying method and device |
CN104168512A (en) * | 2014-06-16 | 2014-11-26 | 乐视致新电子科技(天津)有限公司 | Method and device for displaying video information |
CN104581351A (en) * | 2015-01-28 | 2015-04-29 | 上海与德通讯技术有限公司 | Audio/video recording method, audio/video playing method and electronic device |
EP3094100A1 (en) * | 2015-05-11 | 2016-11-16 | Reboot Holding Ltd | Method for measuring the level of attention of a user watching a video |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110868638A (en) * | 2019-11-25 | 2020-03-06 | 天脉聚源(杭州)传媒科技有限公司 | Automatic playing method of video watching point, terminal and server |
Also Published As
Publication number | Publication date |
---|---|
CN106604145B (en) | 2019-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107341018B (en) | Method and device for continuously displaying view after page switching | |
CN108712665B (en) | Live broadcast list generation method and device, server and storage medium | |
US8615777B2 (en) | Method and apparatus for displaying posting site comments with program being viewed | |
CN108574857B (en) | Program recommendation method based on user behavior, smart television and storage medium | |
US9648296B2 (en) | User control for displaying tags associated with items in a video playback | |
CN110209879B (en) | Video playing method, device, equipment and storage medium | |
CN106648283B (en) | A kind of barrage information processing method and server | |
KR20180037314A (en) | How to display a content viewing device and its content viewing options | |
CN112312188B (en) | Multimedia data processing method and device and computer readable storage medium | |
EP2262236A2 (en) | Apparatus and method for displaying electronic program guide content | |
CN113747230B (en) | Audio and video processing method and device, electronic equipment and readable storage medium | |
JP5328302B2 (en) | Display control apparatus, method, and program | |
US9535991B2 (en) | Video display for displaying a series of representative images for video | |
CN109756785B (en) | Video switching playing method and device and storage medium | |
CN104615348B (en) | Information processing method and electronic equipment | |
US20230054388A1 (en) | Method and apparatus for presenting audiovisual work, device, and medium | |
CN112306323A (en) | Application icon display method and device | |
US9654835B2 (en) | Method for displaying electronic program guide, electronic device, and computer readable medium | |
CN106604145B (en) | A kind of media file processing method and system | |
CN106055552A (en) | Method and device for displaying user page | |
CN107180058B (en) | Method and device for inquiring based on subtitle information | |
CN112383825A (en) | Video recommendation method and device, electronic equipment and medium | |
CN103645836A (en) | Information processing method and electronic device | |
CN112533032A (en) | Video data processing method and device and storage medium | |
US20160066045A1 (en) | Method, electronic device, and computer program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |