CN113676759A - Media adding method and media adding device - Google Patents

Media adding method and media adding device Download PDF

Info

Publication number
CN113676759A
CN113676759A CN202010403027.0A CN202010403027A CN113676759A CN 113676759 A CN113676759 A CN 113676759A CN 202010403027 A CN202010403027 A CN 202010403027A CN 113676759 A CN113676759 A CN 113676759A
Authority
CN
China
Prior art keywords
media
playing
list
played
time interval
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
Application number
CN202010403027.0A
Other languages
Chinese (zh)
Other versions
CN113676759B (en
Inventor
李燕
韩丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202010403027.0A priority Critical patent/CN113676759B/en
Publication of CN113676759A publication Critical patent/CN113676759A/en
Application granted granted Critical
Publication of CN113676759B publication Critical patent/CN113676759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26283Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for associating distribution time parameters to content, e.g. to generate electronic program guide data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

The embodiment of the invention relates to a media adding method, which comprises the following steps: acquiring media playing information corresponding to media to be played, wherein the media playing information at least comprises: the media playing time interval, the total media playing time length and the single media playing time length; responding to the adding operation of the first play list, and judging whether the media play time interval and the first list play time interval corresponding to the first play list have overlapped time intervals or not; responding to the overlapping time interval of the media playing time interval and the first list playing time interval, displaying media playing information corresponding to the media to be played in the first playing list, and calculating to obtain the media playing times corresponding to the media to be played according to the overlapping relation between the overlapping time interval and the total media playing time interval; and sequencing the media to be played in the overlapping time period according to the playing times of the media. According to the embodiment of the invention, through carrying out intelligent program scheduling on the list, the workload of manual calculation is reduced, and the working efficiency is improved.

Description

Media adding method and media adding device
Technical Field
The present invention relates to the field of media production, and in particular, to a media adding method and a media adding device.
Background
In the LED industry, a plurality of playlists are required to be established for arranging programs, each playlist in the playlists includes different media, and at this time, a user is required to manually set the playing times of the media in each playlist, and manually determine whether the playing time period corresponding to the media can be played in the playing time period corresponding to the playlist, so as to complete the production of the whole program, and finally, the produced program is associated with a terminal, so that the terminal plays the set program content.
However, the existing program scheduling method requires manual calculation intervention in the media playing times and the list scheduling process, so as to determine the playing times of each media and whether the media can be played in the corresponding playing time period, which seriously affects the program scheduling efficiency, and in this process, problems are easily caused by calculation errors and the like, thereby directly affecting the actual playing situation.
Disclosure of Invention
Therefore, to overcome the defects and shortcomings of the prior art, embodiments of the present invention provide a media adding method and a media adding apparatus.
In one aspect, a media adding method provided in an embodiment of the present invention includes: acquiring media playing information corresponding to media to be played, wherein the media playing information at least comprises: the media playing time interval, the total media playing time length and the single media playing time length; responding to the adding operation of a first play list, and judging whether the media play time interval and a first list play time interval corresponding to the first play list have overlapping time intervals or not; responding to the overlapping time interval between the media playing time interval and the first list playing time interval, displaying the media playing information corresponding to the media to be played in the first playing list, and calculating to obtain the media playing times corresponding to the media to be played according to the overlapping relation between the overlapping time interval and the total media playing time interval; and sequencing the media to be played in the overlapped time period according to the media playing times.
In the prior art, the program scheduling method needs to manually set the playing times of the media and manually judge whether the playing time interval corresponding to the media can be played in the playing time interval corresponding to the playing list, which seriously affects the program scheduling efficiency, and is very easy to cause problems due to calculation errors and the like in the process, thereby directly affecting the actual playing situation; when media is added, the invention judges according to the first list playing time interval and the media playing time interval corresponding to the first playing list to determine whether the media to be played is displayed in the first playing list, and calculates the media playing times and carries out intelligent program scheduling according to the media single playing time length and the media playing total time length or according to the media single playing time length and the overlapping time length, thereby reducing the manual calculation workload of clients during program scheduling and improving the working efficiency.
In an embodiment of the present invention, the calculating, according to the overlapping relationship between the overlapping time period and the total media playing time, a media playing frequency corresponding to the media to be played is obtained, and specifically: if the time length corresponding to the overlapped time period is not less than the total media playing time length, calculating and displaying the media playing times corresponding to the media to be played according to the total media playing time length and the single media playing time length; and if the time length corresponding to the overlapped time period is less than the total media playing time length but not less than the single media playing time length, calculating and displaying the media playing times corresponding to the media to be played according to the time length corresponding to the overlapped time period and the single media playing time length.
In an embodiment of the present invention, the calculating the media playing times corresponding to the media to be played according to the total media playing time and the single media playing time includes: dividing the total media playing time length by the single media playing time length to obtain a calculation result; in response to the calculation result being an integer, taking the calculation result as the media playing time; and in response to the non-integer calculation result, taking the integer part in the calculation result as the media playing times, and displaying user prompt information which contains the media playing total time length and cannot be completely played.
In an embodiment of the present invention, after the adding operation of the response to the first playlist, the method further includes: and in response to the fact that the overlapped time interval does not exist between the media playing time interval and the first list playing time interval or in response to that the time length corresponding to the overlapped time interval is smaller than the media single-playing time length, not displaying the media playing information corresponding to the media to be played in the first playing list.
In an embodiment of the present invention, after the adding operation of the response to the first playlist, the method further includes: responding to the adding operation of a second playlist, and judging whether a second playlist playing time interval corresponding to the second playlist contains the first playlist playing time interval or not; in response to the second playlist playing period completely containing the first playlist playing period, displaying, in the second playlist, playlist information corresponding to the first playlist; in response to that the second list playing time period comprises a part of time period in the first list playing time period, displaying the list information corresponding to the first play list in the second play list, and displaying user prompt information comprising part of media in the first play list which cannot be played; in response to the second playlist playing period not including the first playlist playing period at all, not displaying the playlist information corresponding to the first playlist in the second playlist.
In an embodiment of the present invention, after the adding operation of the response to the first playlist, the method further includes: responding to the change of the media playing time interval of the media to be played from a first media playing time interval to a second media playing time interval, and judging whether a second overlapping time interval exists between the second media playing time interval and the first list playing time interval or not; responding to the second overlapped time interval existing between the second media playing time interval and the first list playing time interval, and the time length corresponding to the second overlapped time interval is not less than the single media playing time length, displaying first user prompt information which includes an inquiry about whether the list where the media to be played is located is modified by a user, and displaying a first addable playing list for the user to select; in response to the second overlapping time interval existing between the media playing time interval and the first list playing time interval and the time length corresponding to the overlapping time interval is smaller than the single media playing time length, displaying second user prompt information containing the media to be played, which cannot be played completely, and displaying a second addable playing list for the user to select; in response to the media playing period and the first list playing period not having the second overlapping period, displaying a third user prompt message including a prompt for the user to delete the media to be played from the first play list and displaying a third addable play list for user selection.
In an embodiment of the present invention, after the adding operation of the response to the first playlist, the method further includes: responding to the change of the media single play time length of the media to be played from a first media single play time length to a second media single play time length, and judging whether the calculation result of dividing the total media play time length by the second media single play time length is an integer; in response to the fact that the calculation result is an integer, taking the calculation result as a media target playing time to update the media playing time and the sequence of the media to be played; and in response to the non-integer calculation result, taking an integer part in the calculation result as the media target playing times to update the media playing times and the sequence of the media to be played, and highlighting the media to be played.
In an embodiment of the present invention, after the adding operation of the response to the first playlist, the method further includes: responding to the change of the total media playing time length of the media to be played from the total first media playing time length to the total second media playing time length, and judging whether the calculation result of dividing the total second media playing time length by the single media playing time length is an integer; in response to the fact that the calculation result is an integer, taking the calculation result as a media target playing time to update the media playing time and the sequence of the media to be played; and in response to the non-integer calculation result, taking an integer part in the calculation result as the media target playing times to update the media playing times and the sequence of the media to be played.
In an embodiment of the present invention, after the updating the number of times the media is played and the ranking of the media to be played, the method further includes: judging the list change state of the first media playing list based on the second media playing total time length and the first media playing total time length; responding to the fact that the total playing time length of the second media is larger than the total playing time length of the first media, and enabling the list to be in a time overflow state; responding to the fact that the total playing time length of the second media is smaller than the total playing time length of the first media, and enabling the list to be in a time idle state; and displaying user prompt information containing the time change state.
In one embodiment of the present invention, further comprising: and counting the total playing time length of the list corresponding to all the media in the first media playing list, judging the list state of the first media playing list based on the total playing time length of the list and the total playing time length of the list before change, and displaying target prompt information comprising the list state.
In another aspect, an embodiment of the present invention provides a media adding apparatus, adapted to perform the media adding method according to any one of the foregoing items, where the media adding apparatus includes: the information acquisition module is used for acquiring media playing information corresponding to media to be played, and the media playing information at least comprises: the media playing time interval, the total media playing time length and the single media playing time length; the overlapped time interval judging module is used for responding to the adding operation of a first play list and judging whether the overlapped time interval exists between the media play time interval and a first list play time interval corresponding to the first play list; the information display module is used for displaying the media playing information corresponding to the media to be played in the first playing list and calculating the media playing times corresponding to the media to be played according to the overlapping relation between the overlapping time period and the total media playing time; and the media sequencing module is used for sequencing the media to be played in the overlapped time period according to the media playing times.
In another aspect, an embodiment of the present invention provides a media addition system, including: a processor and a memory coupled to the processor; wherein the memory stores instructions for execution by the processor, and the instructions cause the processor to perform operations to perform any of the media addition methods described above.
In another aspect, an embodiment of the present invention provides a computer-readable storage medium, which is a non-volatile memory and stores program code, and when the program code is executed by a computer, the computer-readable storage medium implements any one of the media addition methods.
As can be seen from the above, the above technical features of the present invention may have one or more of the following advantages:
1. whether media to be played is displayed in the first playing list is determined by judging a first list playing time interval corresponding to the first playing list when the media are added and a relation segment when the media are played, and the playing times of the media are calculated according to the single playing time length of the media and the total playing time length of the media or the single playing time length of the media and the overlapping time length, and the intelligent program scheduling is carried out, so that the manual calculation workload of a client during the program scheduling is reduced, and the working efficiency is improved;
2. different user prompt information is displayed according to different conditions for the user to refer to, the user is assisted to search and modify the problem reason, the scheduling playing problem caused by mismatching calculation errors in the manual calculation scheduling process is greatly reduced to a certain extent, the problem positioning and solving are accelerated, and the overall work efficiency is improved;
3. when the media playing information is adjusted, other information can be automatically changed, information corresponding to all media in the list can be counted to judge the state of the list and display prompt information to assist a user to quickly adjust, so that workload when the media is quickly changed is effectively reduced, the program making process is accelerated, and more convenient and faster use experience is brought to the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a media adding method according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating a specific step of step S103 in the media adding method shown in fig. 1.
Fig. 3 is a flowchart illustrating specific steps of step S201 in the media adding method shown in fig. 1.
Fig. 4 is a flowchart of steps of the media adding method shown in fig. 1 after step S102.
Fig. 5 is a flowchart of steps of the media adding method shown in fig. 1 after step S103.
Fig. 6 is a flowchart of steps of the media addition method shown in fig. 1 after step S103.
Fig. 7 is a flowchart of steps of the media addition method shown in fig. 1 after step S103.
Fig. 8 is a flowchart of steps of the media addition method shown in fig. 1 after step S103.
Fig. 9 is a flowchart of steps of the media addition method shown in fig. 1 after step S803.
Fig. 10 is a flowchart of steps of the media addition method shown in fig. 1 after step S604, step S703, step S803, or step S903.
Fig. 11 is a block diagram of a media adding device according to a second embodiment of the invention.
Fig. 12 is a schematic structural diagram of a media adding system according to a third embodiment of the present invention.
Fig. 13 is a schematic structural diagram of a computer-readable storage medium according to a fourth embodiment of the present invention.
[ brief description of the drawings ]
S101-S104, S201-S202, S301-S303, S401, S501-S504, S601-S604, S701-S703, S801-S803, S901-S903, S1001: a media adding method step;
1100: a media adding device; 1101: an information acquisition module; 1102: an overlapping time period judgment module; 1103: an information display module; 1104: a media ranking module;
1200: a media addition system; 1201: a processor; 1203: a memory;
1300: a computer readable storage medium.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ first embodiment ] A method for manufacturing a semiconductor device
As shown in fig. 1, a media adding method according to a first embodiment of the present invention includes:
s101, media playing information corresponding to media to be played is obtained, wherein the media playing information at least comprises: the media playing time interval, the total media playing time length and the single media playing time length;
firstly, media playing information corresponding to a to-be-played media is acquired, where the media playing information may be media playing information corresponding to the to-be-played media input by a user on a human-computer interaction interface, and the media playing information corresponding to the to-be-played media may include: the information input by the user can set an input prompt box on the human-computer interaction interface according to actual scene requirements to prompt the user to input the information, and the specific details are not limited herein. In this embodiment, after first obtaining the media information related to the user input in the man-machine interaction program, the server will obtain the media playing time period information, the total media playing time length information, and the single media playing time length information in the media information. It should be noted here that, the media playing information, for example, the media playing time period, may also directly display the default value when the human-computer interaction interface is displayed, and the user may modify the default value as needed.
S102, responding to an adding operation of a first play list, and judging whether the media play time interval and a first list play time interval corresponding to the first play list have overlapping time intervals or not;
when a user adds the media to be played to a default playlist in a human-computer interaction interface operation, wherein the adding operation executed by the user on the human-computer interaction interface is a first adding operation, the default playlist is, for example, a first playlist, and the first playlist is an existing playlist in the server. The server acquires the playing time interval of the corresponding list in the first playing list after receiving the first adding operation of the user on the man-machine interaction interface, and then the server judges whether the media playing time interval and the first list playing time interval corresponding to the first playing list have overlapping time intervals or not.
S103, responding to the overlapping time interval between the media playing time interval and the first list playing time interval, displaying the media playing information corresponding to the media to be played in the first playing list, and calculating to obtain the media playing times corresponding to the media to be played according to the overlapping relation between the overlapping time interval and the total media playing time interval;
responding to the overlapping time interval between the media playing time interval and the first list playing time interval, namely, the server judges that the media playing time interval has the overlapping time interval relative to the first list playing time interval, and then judges that the time length of the overlapping time interval is the overlapping relation with the total playing time length of the media, for example, the time length of the overlapping time interval is not less than the total playing time length of the media or the time length of the overlapping time interval is less than the total playing time length of the media, the media playing times are obtained by calculation according to the total playing time length of the media and the single playing time length of the media in the media playing information, or the media playing times are obtained by calculation according to the overlapping playing time length of the media and the single playing time length of the media in the media playing information, and then the media playing times of the media to be played are displayed.
S104, sequencing the media to be played in the overlapped time period according to the media playing times.
When the first playlist is edited, the media playing information of the media to be played can be displayed, then the media playing times are calculated according to the total media playing time and the single media playing time in the media playing information, then the media playing times of the media to be played are displayed, and then the media to be played is sequenced and played in the overlapped time period according to the media playing times.
In the embodiment of the present invention, in the prior art, the program scheduling method needs to manually set the playing times of the media and manually determine whether the playing time interval corresponding to the media can be played in the playing time interval corresponding to the playlist, which seriously affects the program scheduling efficiency, and is also very easy to cause problems due to calculation errors and the like in the process, thereby directly affecting the actual playing situation; when media is added, the invention judges according to the first list playing time interval and the media playing time interval corresponding to the first playing list to determine whether the media to be played is displayed in the first playing list, and calculates the media playing times and carries out intelligent program scheduling according to the media single playing time length and the media playing total time length or according to the media single playing time length and the overlapping time length, thereby reducing the manual calculation workload of clients during program scheduling and improving the working efficiency.
In another specific embodiment, as shown in fig. 2, the specific steps at step S103 include:
s201, if the time length corresponding to the overlapped time period is not less than the total media playing time length, calculating and displaying the media playing times corresponding to the media to be played according to the total media playing time length and the single media playing time length;
responding to the overlapping time interval between the media playing time interval and the first list playing time interval, namely, the server judges that the media playing time interval has the overlapping time interval relative to the first list playing time interval, then judging whether the time length of the overlapping time interval is not less than the total playing time length of the media, if the time length of the overlapping time interval is not less than the total playing time length of the media, after a user executes a first adding operation, namely, when the first playing list is edited, the media playing information of the media to be played can be displayed, then the media playing times are obtained through calculation according to the total media playing time length and the single media playing time length in the media playing information, then the media playing times of the media to be played are displayed, and then the media to be played is sequenced and played in the overlapping time interval according to the media playing times. For example, the media playing time period of the media a to be played is 18:30-19:00, the total playing time period is 28s, the single playing time period of the media is 7s, the first list playing time period corresponding to the first playing list is 18:30-19:00, the media playing time period of the media a to be played and the first list playing time period have an overlapping time period of 18:30-19:00, and the media a to be played can be played in the entire time period of the list in the overlapping time period, so that the media playing information corresponding to the media a to be played can be seen in the first playing list when the media a to be played is added in the first playing list, the entire media playing times of the media a to be played are displayed after the media a is added to the list, and then the media a to be played are sorted in the overlapping time period of 18:30-19:00 according to the media playing times.
S202, if the time length corresponding to the overlapping time period is less than the total media playing time length but not less than the single media playing time length, calculating and displaying the media playing times corresponding to the media to be played according to the time length corresponding to the overlapping time period and the single media playing time length.
Responding to the overlapping time interval between the media playing time interval and the first list playing time interval, namely, the server judges that the media playing time interval has the overlapping time interval relative to the first list playing time interval, and then judges whether the time length of the overlapping time interval is not less than the total playing time length of the media, if the time length of the overlapping time interval is less than the total playing time length of the media but not less than the single playing time length of the media, after a user executes a first adding operation, namely, when the first playing list is edited, the media playing information of the media to be played can be displayed, then the media playing times are obtained through calculation according to the overlapping time interval and the single playing time length of the media, then the media playing times of the media to be played are displayed, and then the media to be played are sequenced and played in the overlapping time interval. For example, the media playing time interval of the media B to be played is 18:30-19:00, the total playing time interval is 6min, the single playing time interval of the media is 2min, the first list playing time interval is 18:00-18:32, the overlapping time interval between the media playing time interval of the media B to be played and the first list playing time interval is 18:30-18:32, and the media B to be played can only be played for 1 time in the overlapping time interval, the media playing information corresponding to the media B to be played can be seen when the media B to be played is added to the first playlist, and the media playing times can be calculated to be 1 time according to the overlapping time interval and the media single playing time length of the media B to be played, the number of media playbacks of the media B to be played is displayed as 1 after being added to the first playlist, the media to be played B is ordered within the overlapping time period of 18:30-18: 32.
In another specific embodiment, as shown in fig. 3, the calculating and displaying the media playing times corresponding to the media to be played according to the total media playing time and the single media playing time mentioned in the foregoing step S201 includes:
s301, dividing the total media playing time length by the single media playing time length to obtain a calculation result;
and obtaining a calculation result by setting the obtained total media time length in the single playing time length of the media.
S302, in response to the fact that the calculation result is an integer, taking the calculation result as the media playing times;
and if the obtained calculation result is an integer, taking the integer result as the media playing frequency of the media to be played.
S303, in response to the non-integer calculation result, taking the integer part in the calculation result as the media playing frequency, and displaying user prompt information which includes the fact that the total media playing time cannot be completely played.
If the obtained calculation result is a non-integer, firstly performing rounding operation on the calculation result, then taking the integer part as the media playing frequency of the media to be played, and simultaneously displaying prompt information to prompt a user that the total media playing time cannot be completely played, for example, the total media playing time is 8S and the total media playing time is 20S, dividing the total media playing time by the total media playing time to obtain a calculation result of 20/8 being 2.5 and an obtained calculation result being a non-integer, then rounding the calculation result, taking the integer of 2 as the media playing frequency, displaying the media playing frequency of 2 times, and simultaneously prompting the user that the total media playing time of the media to be played cannot be completely played, leaving the space for 4S after 2 times of complete playing, and suggesting adjustment.
In another specific embodiment, as shown in fig. 4, after step S102, for example, it includes:
s401, responding to the fact that the overlapped time interval does not exist between the media playing time interval and the first list playing time interval or responding to the fact that the time length corresponding to the overlapped time interval is smaller than the media single-time playing time length, and not displaying the media playing information corresponding to the media to be played in the first playing list;
in response to that the media playing period and the first list playing period do not have the overlapping period, that is, the server determines that the media playing period does not have the overlapping period with respect to the first list playing period, or determines that the media playing period has the overlapping period, but the duration of the overlapping period is less than the single playing duration of the media, after the user performs the first adding operation, that is, when the media to be played is added to the first play list, the media playing information of the media to be played is not displayed, which may be understood herein as a media addition failure
In another specific embodiment, as shown in fig. 5, after step S104, for example, it includes:
s501, responding to an adding operation of a second playlist, and judging whether a second playlist playing time period corresponding to the second playlist contains the first playlist playing time period or not;
the user operates on the man-machine interaction interface, the first playing list is added to the second playing list, and the server judges whether a second playing time interval corresponding to the second playing list contains the first playing time interval or not, wherein the first playing list is a sub playing list, and the second playing list is a mother playing list.
S502, responding to the second list playing time interval completely containing the first list playing time interval, and displaying list information corresponding to the first playing list in the second playing list;
and if the second list playing time interval completely comprises the first list playing time interval, displaying the list information in the first playing list in the second playing list when the first playing list is added to the second playing list.
S503, in response to the second list playing time interval containing a part of time intervals in the first list playing time interval, displaying the list information corresponding to the first playing list in the second playing list, and displaying user prompt information containing part of media in the first playing list which cannot be played;
if the second list playing time interval has an overlapped part relative to the first list playing time interval, when the first play list is added to the second play list, the list information in the first play list is displayed in the second play list, and then user prompt information containing part of media in the first play list which cannot be played is displayed, for example, the first list playing time interval is 18:30-18:45, the second list playing time interval is 18:40-19:30, the first list playing time interval and the second list playing time interval have an overlapped part, the overlapped time interval is 18:40-18:45, only part of media in the first list can be played, when the first list is added to the second list, the first play time interval cannot be played completely, optimization is suggested, and information that part of media cannot be played is prompted after the first list is added is displayed.
S504, in response to that the second list playing time period does not contain the first list playing time period at all, the list information corresponding to the first list is not displayed in the second list.
And if the second list playing time interval does not contain the first list playing time interval at all, the list information in the first list cannot be displayed in the second list when the first list is added to the second list.
In another specific embodiment, as shown in fig. 6, after step S104, the method further includes:
s601, responding to the change of the media playing time interval of the media to be played from a first media playing time interval to a second media playing time interval, and judging whether a second overlapping time interval exists between the second media playing time interval and the first list playing time interval or not;
changing the media playing time interval of the media to be played from a first media playing time interval to a second media playing time interval. Namely, the first media playing time interval of the media to be played is changed into a second media playing time interval after being changed, and then the server judges whether the second media playing time interval and the first list playing time interval of the list where the media is located have a second overlapping time interval.
S602, in response to the second overlapped time interval existing between the second media playing time interval and the first list playing time interval and the time length corresponding to the second overlapped time interval is not less than the single media playing time length, displaying first user prompt information which includes an inquiry about whether the list where the media to be played is located is modified by a user and displaying a first addable play list for the user to select.
When the server judges that a second overlapped time interval exists between the second media playing time interval and the first list playing time interval, and the time length of the overlapped time interval is not less than the single media playing time length of the media to be played, the server displays list prompt information which asks the user whether to modify the list where the media to be played is located on the man-machine interaction interface, and then displays lists which can be added to the media to be played on the man-machine interaction interface for the user to select and add.
S603, responding to the second overlapped time interval existing between the media playing time interval and the first list playing time interval, and the time length corresponding to the overlapped time interval is less than the single media playing time length, displaying second user prompt information containing the media to be played, which cannot be played completely, and displaying a second addable playing list for the user to select;
when the server judges that a second overlapped time interval exists between the second media playing time interval and the first list playing time interval, and the time length of the overlapped time interval is less than the single media playing time length of the media to be played, the server displays prompt information that the media to be played cannot be played completely in the list where the media to be played is located on the man-machine interaction interface, and then displays lists which can be added to the media to be played on the man-machine interaction interface for the user to select and add.
S604, responding to the second overlapped time interval which does not exist between the media playing time interval and the first list playing time interval, displaying third user prompt information for prompting the user to delete the media to be played from the first play list, and displaying a third addable play list for the user to select.
When the server judges that a second overlapped time interval does not exist between the second media playing time interval and the first list playing time interval, the server displays prompt information of the media to be played deleted from the first playing list on the man-machine interaction interface, and then displays lists which can be added to the media to be played on the man-machine interaction interface for the user to select and add.
In another specific embodiment, as shown in fig. 7, after step S104, the method further includes:
s701, responding to the fact that the single-time playing time length of the media to be played is changed from the single-time playing time length of a first media to the single-time playing time length of a second media, and judging whether the calculation result of dividing the total playing time length of the media by the single-time playing time length of the second media is an integer or not;
the server acquires that the media single play time length of the media to be played changes into the second media single play time length, and judges whether a calculation result obtained by dividing the total play time length of the media by the generated second media single play time length is an integer, namely the total play time length of the media to be played does not change and the media single play time length changes.
S702, responding to the integral calculation result, and taking the calculation result as a media target playing time to update the media playing time and the sequence of the media to be played;
and when the server judges that the calculation result obtained by dividing the total playing time length of the media by the single playing time length of the generated second media is an integer, the calculation result is used as the target playing time number of the media to be played, the obtained playing time number of the media is updated, and then the media to be played is reordered and played in the first playing list.
S703, responding to the non-integer calculation result, taking the integer part in the calculation result as the media target playing times to update the media playing times and the sequence of the media to be played, and highlighting the media to be played.
When the server judges that a calculation result obtained by dividing the total playing time length of the media by the single playing time length of the generated second media is a non-integer, an integer part in the non-integer result is taken as the target playing time number of the media to be played, the previously obtained playing time number of the media is updated, then the media to be played is reordered and played in a first playing list, and the media to be played is highlighted, for example, the media to be played is subjected to red marking or thickening, so that a user can see the media to be played very obviously.
In another specific embodiment, as shown in fig. 8, after step S104, the method further includes:
s801, responding to the change of the total media playing time length of the media to be played from the total first media playing time length to the total second media playing time length, and judging whether the calculation result of the total second media playing time length divided by the single media playing time length is an integer;
when the server acquires that the total playing time length of the media to be played changes and generates the total playing time length of the second media, whether a calculation result of dividing the total playing time length of the second media by the single playing time length of the media which does not change is an integer is judged, namely the single playing time length of the media to be played does not change and the total playing time length of the media changes.
S802, responding to the integral number of the calculation result, and taking the calculation result as the playing times of the media target so as to update the playing times of the media and the sequence of the media to be played;
and when the server judges that the calculation result of the total playing time length of the second media divided by the single playing time length of the media is an integer, the calculation result is used as the target playing time number of the media to be played, the previously obtained playing time number of the media is updated, and then the media to be played is reordered and played in the first playing list.
And S803, in response to the non-integer calculation result, taking the integer part of the calculation result as the target media playing times to update the media playing times and the sequence of the media to be played.
In another specific embodiment, as shown in fig. 9, after the step S803, the server further includes, when the calculation result obtained by dividing the total playing time length of the second media by the single playing time length of the media is a non-integer, taking an integer part of the non-integer result as the target playing time number of the media to be played, updating the previous obtained playing time number of the media, and then reordering and playing the media to be played in the first playlist, where:
s901, judging the list change state of the first media playing list based on the total playing time of the second media and the total playing time of the first media;
and comparing the total playing time length of the second media with the total playing time length of the first media, and then judging whether the first media playing list has a change state.
S902, responding to the fact that the total playing time of the second media is longer than the total playing time of the first media, and the list changing state is a time overflow state;
and when the total playing duration of the second media is judged to be longer than the total playing duration of the first media, the first media playing list is in an overflow state, namely the playing time of the media in the second media playing list exceeds the playing time of the media in the first media playing list, and the situation that the time of the first media playing list overflows is displayed on a human-computer interaction interface.
S903, responding to the fact that the total playing time length of the second media is smaller than the total playing time length of the first media, and enabling the list change state to be a time idle state; and displaying user prompt information containing the time change state.
When the total playing duration of the second media is judged to be less than the total playing duration of the first media, the first media playing list is in an idle state, namely the playing time of the media in the second media playing list does not exceed the playing time of the media in the first media playing list, and the situation that the time of the first media playing list is idle is displayed on a man-machine interaction interface
In another specific embodiment, as shown in fig. 10, after the aforementioned media playing information is changed, for example, after the aforementioned step S604, step S703, step S803, or step S903, the method further includes:
s1001, counting the total playing time length of the list corresponding to all media in the first media playing list, judging the list state of the first media playing list based on the total playing time length of the list and the total playing time length of the list before change, and displaying target prompt information including the list state.
The server counts the total playing time length of the lists corresponding to all the media in the first media playing list, counts the total playing time length of the lists before changing, compares the total playing time length of the lists before changing with the total playing time length of the lists before changing, and displays the first media playing list on the man-machine interaction interface as a prompt of the overflow condition if the total playing time length of the lists corresponding to all the media in the first media playing list is greater than the total playing time length of the lists before changing. If the total playing time length of the list corresponding to all the media in the first media playing list is less than the total playing time length of the list before the change, displaying a prompt that the first media playing list is in an idle state on a human-computer interaction interface
For the sake of better understanding of the present embodiment, the following describes the media adding method of the present embodiment in detail with reference to specific embodiments.
Adding the media to be played when the first play list is edited, and judging whether the media play time interval of the media to be played and the first list play time interval of the first play list are overlapped by the server:
(1) the first list playing time interval corresponding to the first playing list does not contain the media playing time interval corresponding to the media to be played (the first list playing time interval does not contain the media playing time interval at all, or the first list playing time interval contains the media playing time interval but contains time shorter than the single media playing time interval corresponding to the media to be played), if the media playing time interval of the media to be played A is 18:30-18:45, the total media playing time interval is 28s, the single media playing time interval is 7s, the list playing time interval is 18:15-18:30, the media cannot be played in the whole time interval of the list, the media A cannot be seen when the media is added.
(2) The playing of the media to be played is overlapped with the playing time interval of the first playing list, and the overlapped time can be played completely (including the playing time interval of the media to be played is completely contained in the playing time interval of the first playing list), for example, the playing time interval 18:30-18:45 of the media B to be played, the total playing time length 28s, the single-playing time length 7s of the media and the playing time interval 18:42-19:00 of the list, the media can be played completely in the whole time interval of the list, the media B to be played can be seen when being added, the whole playing times are displayed after being added to the list, and the media are sequenced at 18:42-18: 45.
(3) The playing of the media to be played is overlapped with the playing time interval of the first playing list, the time length corresponding to the overlapped time interval is less than the total playing time length of the media but not less than the single playing time length of the media, for example, the playing time interval of the media C is 18:00-19:00, the total playing time length is 6min, the single playing time length of the media is 2min, the playing time interval of the list is 17:00-18:02, the matching time of the list and the media is 18:00-18:02, the media D can be played for 1 time, the media C can be seen when the media D is added, the playing times are displayed for 1 time after the media C is added to the list, and the media are sorted at 18:00-18:02 when the media are played and sorted.
When the first playlist is added to the second playlist, whether there is an overlapping time period is determined by comparing the playing time period of the second playlist with the playing time period of the first playlist:
(1) the first playlist playback time period is included in the second playlist playback time period, such as the first playlist playback time period 18:30-18:45, and the second playlist playback time period is 18:00-19: 30. The second playlist can be seen when the first playlist is added for playing the first playlist, and after the second playlist is added for playing the first playlist, the first playlist is sorted at 18:30-18:45 when the first playlist is sorted for playing.
(2) If the first playlist playing time period is not included in the second playlist playing part time period, such as the first playlist playing time period 18:30-18:45 and the second playlist playing time period is 19:00-19:30, the second playlist playing cannot see the first playlist playing when the first playlist is added.
(3) If the first playlist is not completely contained in the second playlist playing time period but overlaps with the second playlist playing time period, such as the first playlist playing time period 18:30-18:45 and the second playlist playing time period 18:40-19:30, the second playlist playing indicates that the first playlist playing time period cannot be completely played and suggested to be optimized when the first playlist is added to the second playlist playing, and indicates that the part is not played after the first playlist is added.
When the single play duration, the total play duration and the play time period of the media to be played in the first play list are changed, the popup box information appears after the user edits the attributes of the media, and the current scheduling condition and the upcoming change condition are prompted, which are specifically as follows:
1. the playing time interval changes:
(1) changing the media playing time interval of the media to be played from a first media playing time interval to a second media playing time interval, wherein the second media playing time interval and the first list playing time interval have no second overlapped time interval, prompting a user to clear the media to be played from a first playing list, displaying a list which can be added by the media to be played for the user to select, and automatically adding the media to a new playing list after the user selects;
(2) when the second media playing time interval and the first list playing time interval have the second overlapping time interval, and the time length corresponding to the overlapping time interval is less than the single-time playing time length of the media, namely the media to be played cannot be completely played, the user is prompted that the playing time length of the first playing list cannot be completely played, the user is inquired to modify the list and display an addable list for the user to select, and the addable list is automatically added to a new list after the selection;
(3) the second overlapped time interval exists between the second media playing time interval and the first list playing time interval, and the time length corresponding to the second overlapped time interval is not less than the single-time playing time length of the media, namely when the media to be played can be completely played, a user is prompted to play the media to be played in the time interval possibly more intensively, the user is inquired whether to modify the list and display an addable list for the user to select, and the media to be played is automatically added to a new list after the selection;
2. single play time length change:
(1) changing the single media playing time length of the media to be played from a first media single playing time length to a second media single playing time length, judging whether a calculation result of dividing the total media playing time length by the single media playing time length of the second media is an integer, and if the calculation result is the integer, automatically updating the media playing times and sequencing by a list program;
(2) if the calculation result is a non-integer, the part of the media to be played which cannot be divided completely is displayed in red, the list program automatically updates the playing times and the sequence of the media, and the playing times of the media are updated to be the maximum integer part in the calculation result;
3. the total playing time length changes:
(1) and changing the total media playing time length of the media to be played from the total first media playing time length to the total second media playing time length, and judging whether the calculation result of dividing the total second media playing time length by the single media playing time length is an integer. And if the calculation result is an integer, taking the calculation result as the playing times of the media target so as to update the playing times of the media and the sequence of the media to be played. The total playing time length of the second media is greater than the total playing time length of the first media, and the list changing state is a time overflow state. And judging the list change state of the first media playing list based on the total playing time of the second media and the total playing time of the first media, wherein the list change state is a time idle state when the total playing time of the second media is less than the total playing time of the first media.
(2) And if the calculation result is a non-integer, taking an integer part in the calculation result as the media target playing times to update the media playing times and the sequence of the media to be played. And judging the list change state of the first media playing list based on the total playing time length of the second media and the total playing time length of the first media, wherein when the total playing time length of the second media is longer than the total playing time length of the first media, the list change state is a time overflow state.
And when the media attributes change, the server automatically counts, counts the total playing duration of the list corresponding to all the media in the first media playing list, judges the list state of the first media playing list based on the total playing duration of the list and the total playing duration of the list before change, and displays target prompt information including the list state.
To sum up, in the prior art, the program scheduling method needs to manually set the playing times of the media and manually determine whether the playing time interval corresponding to the media can be played in the playing time interval corresponding to the playlist, which seriously affects the program scheduling efficiency, and is also very easy to cause problems due to calculation errors and other reasons in the process, thereby directly affecting the actual playing situation; when media is added, the invention judges according to the first list playing time interval and the media playing time interval corresponding to the first playing list to determine whether the media to be played is displayed in the first playing list, and calculates the media playing times and carries out intelligent program scheduling according to the media single playing time length and the media playing total time length or according to the media single playing time length and the overlapping time length, thereby reducing the manual calculation workload of clients during program scheduling and improving the working efficiency.
[ second embodiment ]
As shown in fig. 11, a media adding apparatus 1100 according to a second embodiment of the present invention includes: an information acquisition module 1101, an overlap period judgment module 1102, an information display module 1103, and a media ranking module 1104.
The information obtaining module 1101 is configured to obtain media playing information corresponding to a to-be-played media, where the media playing information at least includes: the media playing time interval, the total media playing time length and the single media playing time length;
an overlap period determining module 1102, configured to determine, in response to an adding operation to a first playlist, whether an overlap period exists between the media playing period and a first playlist playing period corresponding to the first playlist; an information display module 1103, configured to, in response to that the media playing time interval and the first list playing time interval have the overlapping time interval, and a time duration corresponding to the overlapping time interval is not less than the total media playing time duration, display the media playing information corresponding to the media to be played in the first playlist, calculate and display a media playing time corresponding to the media to be played according to the total media playing time duration and the media single-playing time duration, and sort the media to be played according to the media playing time; a media sorting module 1104, configured to sort, according to the number of times the media is played, the media to be played in the overlapping time period.
In the embodiment of the present invention, in the prior art, the program scheduling method needs to manually set the playing times of the media and manually determine whether the playing time interval corresponding to the media can be played in the playing time interval corresponding to the playlist, which seriously affects the program scheduling efficiency, and is also very easy to cause problems due to calculation errors and the like in the process, thereby directly affecting the actual playing situation; when media is added, the invention judges according to the first list playing time interval and the media playing time interval corresponding to the first playing list to determine whether the media to be played is displayed in the first playing list, and calculates the media playing times and carries out intelligent program scheduling according to the media single playing time length and the media playing total time length or according to the media single playing time length and the overlapping time length, thereby reducing the manual calculation workload of clients during program scheduling and improving the working efficiency.
Further, the calculating the number of times of playing the media corresponding to the media to be played according to the aforementioned overlapping relationship between the overlapping time period and the total duration of playing the media specifically includes: if the time length corresponding to the overlapped time period is not less than the total media playing time length, calculating and displaying the media playing times corresponding to the media to be played according to the total media playing time length and the single media playing time length; and if the time length corresponding to the overlapped time period is less than the total media playing time length but not less than the single media playing time length, calculating and displaying the media playing times corresponding to the media to be played according to the time length corresponding to the overlapped time period and the single media playing time length.
Further, after the aforementioned first adding operation in response to the user, for example, the method further includes: and in response to the fact that the overlapped time interval does not exist between the media playing time interval and the first list playing time interval or in response to that the time length corresponding to the overlapped time interval is smaller than the media single-playing time length, not displaying the media playing information corresponding to the media to be played in the first playing list.
Further, the information display module 1103 is specifically configured to: dividing the total media playing time length by the single media playing time length to obtain a calculation result; in response to the calculation result being an integer, taking the calculation result as the media playing time; and in response to the non-integer calculation result, taking the integer part in the calculation result as the media playing times, and displaying user prompt information which contains the media playing total time length and cannot be completely played.
Further, the media adding apparatus in this embodiment further includes: an operation response module, responsive to an adding operation to a second playlist, for determining whether a second playlist playing period corresponding to the second playlist contains the first playlist playing period, responsive to the second playlist playing period completely containing the first playlist playing period, displaying, in the second playlist, manifest information corresponding to the first playlist, in response to the second playlist playback period including a portion of the first playlist playback period, displaying the list information corresponding to the first playlist in the second playlist, and displaying user prompt information including that part of media in the first playlist cannot be played, and in response to the second manifest playback period not including the first manifest playback period at all, and not displaying the list information corresponding to the first play list in the second play list.
Further, the media adding apparatus in this embodiment further includes: a first information changing module, configured to change the media playing time period of the media to be played from a first media playing time period to a second media playing time period, determine whether a second overlapping time period exists between the second media playing time period and the first list playing time period, respond that the second overlapping time period exists between the second media playing time period and the first list playing time period, and a time length corresponding to the second overlapping time period is not less than the media single-time playing time length, display first user prompt information including a query on whether a user modifies a list where the media to be played is located and display a first addable playlist for the user to select, and respond that the media playing time period and the first list playing time period have the second overlapping time period, and a time length corresponding to the overlapping time period is less than the media single-time playing time length, display second user prompt information including that the media to be played cannot be completely played, and displaying a second addable playlist for user selection, and in response to the media playing period not having the second overlapping period with the first playlist playing period, displaying third user prompt information including a prompt for a user to delete the media to be played from the first playlist and displaying a third addable playlist for user selection.
Further, the media adding apparatus in this embodiment further includes: and the second information changing module is used for responding to the change of the single media playing time length of the media to be played from the single first media playing time length to the single second media playing time length, judging whether a calculation result of dividing the total media playing time length by the single second media playing time length is an integer or not, responding to the integral calculation result, using the calculation result as the target media playing time length to update the media playing time length and the sequence of the media to be played, responding to the non-integral calculation result, taking the integral part in the calculation result as the target media playing time length to update the media playing time length and the sequence of the media to be played, and highlighting the media to be played.
Further, the media adding apparatus in this embodiment further includes: a third information changing module, configured to change, in response to a change from a first total media playing duration to a second total media playing duration, the total media playing duration to be played, determine whether a calculation result of dividing the second total media playing duration by the single media playing duration is an integer, in response to the calculation result being an integer, use the calculation result as a target media playing frequency to update the media playing frequency and the ranking of the media to be played, in response to the calculation result being a non-integer, use an integer part of the calculation result as the target media playing frequency to update the media playing frequency and the ranking of the media to be played
Further, the media adding apparatus in this embodiment further includes: the list change module is used for judging the list change state of the first media playing list based on the second media playing total time length and the first media playing total time length, responding to the fact that the second media playing total time length is larger than the first media playing total time length, the list change state is a time overflow state, responding to the fact that the second media playing total time length is smaller than the first media playing total time length, the list change state is a time idle state, and displaying user prompt information containing the time change state.
Further, the media adding apparatus in this embodiment further includes: and the total playing time counting module is used for counting the total playing time of the list corresponding to all the media in the first media playing list, judging the list state of the first media playing list based on the total playing time of the list and the total playing time of the list before change, and displaying target prompt information comprising the list state.
The media adding method implemented by the media adding device disclosed in this embodiment is as described in the first embodiment, and therefore, will not be described in detail here. Optionally, each module and the other operations or functions in the second embodiment are respectively for implementing the method in the first embodiment of the present invention, and the beneficial effects of this embodiment are the same as those of the first embodiment, and are not described herein again for brevity.
[ third embodiment ]
As shown in fig. 12, a media adding system 1200 according to a third embodiment of the present invention includes: a processor 1201 and a memory 1203; the memory 1103 stores instructions executed by the processor 1201, and the instructions cause the processor 1201 to perform operations to perform the media addition method described in the foregoing first embodiment, for example.
[ fourth example ] A
As shown in fig. 13, a computer-readable storage medium 1300, which is a non-volatile memory and stores program code, when the program code is executed by one or more processors, for example, the one or more processors are caused to execute the media adding method according to the first embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and technical solutions of the embodiments can be arbitrarily combined and used without conflict between technical features and structures, and without departing from the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and/or method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units/modules is only one logical division, and there may be other divisions in actual implementation, for example, multiple units or modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units/modules described as separate parts may or may not be physically separate, and parts displayed as units/modules may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units/modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for media addition, comprising:
acquiring media playing information corresponding to media to be played, wherein the media playing information at least comprises: the media playing time interval, the total media playing time length and the single media playing time length;
responding to the adding operation of a first play list, and judging whether the media play time interval and a first list play time interval corresponding to the first play list have overlapping time intervals or not;
responding to the overlapping time interval between the media playing time interval and the first list playing time interval, displaying the media playing information corresponding to the media to be played in the first playing list, and calculating to obtain the media playing times corresponding to the media to be played according to the overlapping relation between the overlapping time interval and the total media playing time interval;
and sequencing the media to be played in the overlapped time period according to the media playing times.
2. The method according to claim 1, wherein the calculating, according to the overlapping relationship between the overlapping time period and the total media playing duration, the media playing frequency corresponding to the media to be played is specifically:
if the time length corresponding to the overlapped time period is not less than the total media playing time length, calculating and displaying the media playing times corresponding to the media to be played according to the total media playing time length and the single media playing time length;
and if the time length corresponding to the overlapped time period is less than the total media playing time length but not less than the single media playing time length, calculating and displaying the media playing times corresponding to the media to be played according to the time length corresponding to the overlapped time period and the single media playing time length.
3. The method according to claim 2, wherein the calculating and displaying the media playing times corresponding to the media to be played according to the total media playing time and the single media playing time comprises:
dividing the total media playing time length by the single media playing time length to obtain a calculation result;
in response to the calculation result being an integer, taking the calculation result as the media playing time;
and in response to the non-integer calculation result, taking the integer part in the calculation result as the media playing times, and displaying user prompt information which contains the media playing total time length and cannot be completely played.
4. The media addition method according to claim 1, further comprising, after the adding operation of the first playlist in response, the step of:
and in response to the fact that the overlapped time interval does not exist between the media playing time interval and the first list playing time interval or in response to that the time length corresponding to the overlapped time interval is smaller than the media single-playing time length, not displaying the media playing information corresponding to the media to be played in the first playing list.
5. The media addition method according to claim 1, further comprising, after the adding operation of the first playlist in response, the step of:
responding to the adding operation of a second playlist, and judging whether a second playlist playing time interval corresponding to the second playlist contains the first playlist playing time interval or not;
in response to the second playlist playing period completely containing the first playlist playing period, displaying, in the second playlist, playlist information corresponding to the first playlist;
in response to that the second list playing time period comprises a part of time period in the first list playing time period, displaying the list information corresponding to the first play list in the second play list, and displaying user prompt information comprising part of media in the first play list which cannot be played;
in response to the second playlist playing period not including the first playlist playing period at all, not displaying the playlist information corresponding to the first playlist in the second playlist.
6. The media addition method according to claim 1, further comprising, after the adding operation of the first playlist in response, the step of:
responding to the change of the media playing time interval of the media to be played from a first media playing time interval to a second media playing time interval, and judging whether a second overlapping time interval exists between the second media playing time interval and the first list playing time interval or not;
responding to the second overlapped time interval existing between the second media playing time interval and the first list playing time interval, and the time length corresponding to the second overlapped time interval is not less than the single media playing time length, displaying first user prompt information which includes an inquiry about whether the list where the media to be played is located is modified by a user, and displaying a first addable playing list for the user to select;
in response to the second overlapping time interval existing between the media playing time interval and the first list playing time interval and the time length corresponding to the overlapping time interval is smaller than the single media playing time length, displaying second user prompt information containing the media to be played, which cannot be played completely, and displaying a second addable playing list for the user to select;
in response to the media playing period and the first list playing period not having the second overlapping period, displaying a third user prompt message including a prompt for the user to delete the media to be played from the first play list and displaying a third addable play list for user selection.
7. The media addition method according to claim 1, further comprising, after the adding operation of the first playlist in response, the step of:
responding to the change of the media single play time length of the media to be played from a first media single play time length to a second media single play time length, and judging whether the calculation result of dividing the total media play time length by the second media single play time length is an integer;
in response to the fact that the calculation result is an integer, taking the calculation result as a media target playing time to update the media playing time and the sequence of the media to be played;
and in response to the non-integer calculation result, taking an integer part in the calculation result as the media target playing times to update the media playing times and the sequence of the media to be played, and highlighting the media to be played.
8. The media addition method according to claim 1, further comprising, after the adding operation of the first playlist in response, the step of:
responding to the change of the total media playing time length of the media to be played from the total first media playing time length to the total second media playing time length, and judging whether the calculation result of dividing the total second media playing time length by the single media playing time length is an integer;
in response to the fact that the calculation result is an integer, taking the calculation result as a media target playing time to update the media playing time and the sequence of the media to be played;
and in response to the non-integer calculation result, taking an integer part in the calculation result as the media target playing times to update the media playing times and the sequence of the media to be played.
9. The media addition method of claim 8, further comprising, after the updating the number of times the media is played and the ranking of the media to be played:
judging the list change state of the first media playing list based on the second media playing total time length and the first media playing total time length;
responding to the fact that the total playing time length of the second media is larger than the total playing time length of the first media, and enabling the list to be in a time overflow state;
responding to the fact that the total playing time length of the second media is smaller than the total playing time length of the first media, and enabling the list to be in a time idle state; and
and displaying user prompt information containing the time change state.
10. The media addition method according to any one of claims 6 to 9, further comprising:
and counting the total playing time length of the list corresponding to all the media in the first media playing list, judging the list state of the first media playing list based on the total playing time length of the list and the total playing time length of the list before change, and displaying target prompt information comprising the list state.
11. A media addition apparatus adapted to perform the media addition method of any one of claims 1 to 9, the media addition apparatus comprising:
the information acquisition module is used for acquiring media playing information corresponding to media to be played, and the media playing information at least comprises: the media playing time interval, the total media playing time length and the single media playing time length;
the overlapped time interval judging module is used for responding to the adding operation of a first play list and judging whether the overlapped time interval exists between the media play time interval and a first list play time interval corresponding to the first play list;
the information display module is used for displaying the media playing information corresponding to the media to be played in the first playing list and calculating the media playing times corresponding to the media to be played according to the overlapping relation between the overlapping time period and the total media playing time;
and the media sequencing module is used for sequencing the media to be played in the overlapped time period according to the media playing times.
CN202010403027.0A 2020-05-13 2020-05-13 Media adding method and media adding device Active CN113676759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010403027.0A CN113676759B (en) 2020-05-13 2020-05-13 Media adding method and media adding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010403027.0A CN113676759B (en) 2020-05-13 2020-05-13 Media adding method and media adding device

Publications (2)

Publication Number Publication Date
CN113676759A true CN113676759A (en) 2021-11-19
CN113676759B CN113676759B (en) 2024-05-10

Family

ID=78536971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010403027.0A Active CN113676759B (en) 2020-05-13 2020-05-13 Media adding method and media adding device

Country Status (1)

Country Link
CN (1) CN113676759B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024027114A1 (en) * 2022-08-03 2024-02-08 汉朔科技股份有限公司 Electronic price tag control method, electronic price tag and electronic price tag system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166289A1 (en) * 2010-12-22 2012-06-28 Ando Media Llc Real-time media stream insertion method and apparatus
CN104252650A (en) * 2014-09-30 2014-12-31 北京工商大学 Automated instant digital sign advertisement release method
US20160125468A1 (en) * 2014-11-04 2016-05-05 Free ATM, Inc. System, method, and apparatus for providing content in a network environment
US20170155943A1 (en) * 2015-12-01 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method and electronic device for customizing and playing personalized programme
CN109640132A (en) * 2018-12-21 2019-04-16 江西华兴信息产业有限公司 A kind of program plays scheduling method and equipment
CN110495182A (en) * 2017-06-22 2019-11-22 谷歌有限责任公司 Effective insertion of media item in Media Stream

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166289A1 (en) * 2010-12-22 2012-06-28 Ando Media Llc Real-time media stream insertion method and apparatus
CN104252650A (en) * 2014-09-30 2014-12-31 北京工商大学 Automated instant digital sign advertisement release method
US20160125468A1 (en) * 2014-11-04 2016-05-05 Free ATM, Inc. System, method, and apparatus for providing content in a network environment
US20170155943A1 (en) * 2015-12-01 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method and electronic device for customizing and playing personalized programme
CN110495182A (en) * 2017-06-22 2019-11-22 谷歌有限责任公司 Effective insertion of media item in Media Stream
CN109640132A (en) * 2018-12-21 2019-04-16 江西华兴信息产业有限公司 A kind of program plays scheduling method and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
白宏;: "电视节目编排与广告", 黑河学刊, no. 05 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024027114A1 (en) * 2022-08-03 2024-02-08 汉朔科技股份有限公司 Electronic price tag control method, electronic price tag and electronic price tag system
US12020101B2 (en) 2022-08-03 2024-06-25 Hanshow Technology Co., Ltd. Control method for electronic price tags, electronic price tag, and electronic price tag system

Also Published As

Publication number Publication date
CN113676759B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
US20180255009A1 (en) Emoji recommendation method and apparatus
US20210402306A1 (en) Unit Grouping Method and Device, Storage Medium, and Electronic Device
CN106791963B (en) Television program recommendation method and system
EP3139288A1 (en) Item recommendation method and device
EP2669793A1 (en) Interface autonomous planning method and device
CN110830812A (en) Similar anchor classification model training method, anchor recommendation method and related device
CN103049163A (en) Method and device for controlling intelligent displaying of user interfaces
CN107340945A (en) A kind of sound method of adjustment and device, computer installation and readable storage medium storing program for executing
CN104954872B (en) video downloading method, video playing device, mobile terminal and storage medium
CN108762880B (en) Method and device for determining display position of recommended content
KR20170102411A (en) Searching method and device based on artificial intelligence
CN113676759A (en) Media adding method and media adding device
CN108924663A (en) Room management method, device, electronic equipment and storage medium is broadcast live
CN117170538A (en) Document processing method, device, equipment and medium
CN113076186B (en) Task processing method, device, electronic equipment and storage medium
KR20160010582A (en) Method and device for search and recommendation
JP2000305695A (en) Icon display method
CN109976632A (en) Text animation control methods and device, storage medium and processor
CN102981690A (en) Information display device and information display system
US20130297362A1 (en) Service level objective management system, service level objective management method and program
CN112784179B (en) Class information display method, device, equipment and storage medium
CN115660957A (en) Resampling method, device, equipment and medium for waveform data
CN109376067A (en) Monkey test method, device, electronic equipment and computer readable storage medium
CN108595264A (en) Refresh tasks distribution method, electronic equipment and computer readable storage medium
CN114330260A (en) Table data processing method, device, equipment and medium

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