Channel cataloging methods and systems

The automated channel scheduling method and system solves the problem that the existing technology, which requires strong manual intervention, cannot meet the needs of multi-service integrated broadcasting. It achieves efficient and accurate program schedule generation and reduces the risk of broadcast accidents.

CN123123618APending Publication Date: 2026-11-17FUTURE TV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611449577.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-17
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In the existing free ad-supported streaming television (FAST) channel operations, the program schedule system adopts a decentralized, fragmented, and heavily manual technical architecture, which is difficult to meet the increasingly complex multi-service integrated broadcasting needs.

Method used

This paper provides a channel scheduling method and system. By receiving various types of programs and performing playability verification, an initial program list is generated. The target program list is automatically generated using channel rules, including the main entries and their associated sub-entries. Time recalculation and conflict resolution are also performed to achieve automated scheduling.

Benefits of technology

Significantly reduce manpower input, prevent unqualified programs from entering the program scheduling process, improve program scheduling efficiency, reduce the risk of broadcast accidents caused by scheduling errors, and ensure that the program schedule is continuous and non-overlapping on the timeline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123123618A_ABST
    Figure CN123123618A_ABST
Patent Text Reader

Abstract

This application provides a channel scheduling method and system. The method includes: receiving multiple types of programs and channel rules corresponding to a target channel, and performing playability verification on each program to obtain verified programs; generating an initial program list based on the parameter information of the target channel in the channel rules and the verified programs; and generating a target program list based on the channel rules and the verified programs. The target program list includes main entries and sub-entries related to the main entries, with each main entry and each sub-entry indicating a program. This achieves automatic scheduling driven by rules, moving from manual, line-by-line scheduling to rule-driven scheduling, significantly improving scheduling efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information technology, and more specifically, to a channel cataloging method and system. Background Technology

[0002] In the operation of free ad-supported streaming TV (FAST) channels, the program schedule is the core scheduling basis for driving the continuous broadcast of content. It needs to accurately cover heterogeneous content from multiple sources, including movies and variety shows, live sports events, e-commerce broadcasts and commercial breaks, and provide the broadcast control system with a broadcast timeline that is time-deterministic, logically consistent and commercially feasible through the EPG (Electronic Program Guide).

[0003] The existing FAST programming system generally adopts a decentralized, fragmented, and heavily manual technical architecture, which is difficult to meet the increasingly complex needs of multi-service integrated broadcasting. Summary of the Invention

[0004] The purpose of this application is to address the shortcomings of the prior art by providing a channel cataloging method and system to improve the efficiency and accuracy of channel cataloging.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, embodiments of this application provide a channel scheduling method, the method comprising: Receive various types of programs and channel rules corresponding to the target channel, and perform playability verification on each program to obtain the verified program. An initial program schedule is generated based on the parameter information of the target channel in the channel rules and the verified programs. A target program list is generated based on the channel rules and the verified programs. The target program list includes a main entry and sub-entries that are related to the main entry. Each main entry and each sub-entry indicates a program.

[0006] Optionally, the playability verification of each program includes: Perform multi-dimensional playability checks on each program, and based on the check results, remove abnormal programs to obtain the checked programs. The abnormal programs include one or more of the following: programs with illegal duration, programs that have been taken offline, programs that cannot be edited or broadcast, and programs with illegal content types.

[0007] Optionally, generating an initial program schedule based on the parameter information of the target channel in the channel rules and the verified programs includes: Based on the parameter information of the target channel and the basic programs in the verified program, the initial program list is generated. The initial program list includes at least one first main entry. The basic programs include fixed-time programs and regular sequential programs. The fixed-time programs are written with their start times. The regular sequential programs are arranged continuously according to the selection order of the content pool to which they belong.

[0008] Optionally, the channel rules include: a general insertion rule and sub-rules for the insertion of each program; The step of generating a target program list based on the channel rules and the verified programs includes: Obtain the second main program and non-main programs to be inserted. The second main program includes live broadcast and e-commerce. The non-main programs include: advertisements and empty e-commerce slots. Each second main program is converted into a second main entry using a unified entry system, and each non-main program is converted into a sub-entry. The entry information for each second main program and each sub-entry includes: program type, content identifier, program set identifier, start time, end time, program duration, sorting number, and source rule identifier. Based on the entry information of each first main entry, each second main entry, and each sub-entry in the initial program list, the main entry corresponding to each sub-entry is determined. Then, according to the general insertion rule and the sub-insertion rule of each program, each second main entry is inserted and each sub-entry is inserted into the corresponding main entry to obtain the target program list.

[0009] Optionally, determining the main entry corresponding to each sub-entry based on the entry information of each first main entry, each second main entry, and each sub-entry in the initial program list includes: Based on the advertising placement time period, advertising duration and placement conditions in the item information of the advertising sub-item, the item information of each first main item and the item information of each second main item, the main item corresponding to the advertising sub-item is determined; The target time for each empty e-commerce item is determined based on the number of daily empty slots and the display duration in the item information of each empty e-commerce item. Then, the main item corresponding to each empty e-commerce item is determined based on the target time, the item information of each first main item, and the item information of each second main item.

[0010] Optionally, the step of inserting each second main entry and each sub-entry into the corresponding main entry according to the general insertion rule and the insertion sub-rules for each program to obtain the target program list includes: According to the general insertion rule and the sub-insertion rules of the programs corresponding to each second main entry, each second main entry is inserted into the initial program list to obtain the intermediate program list; Based on the insertion rules for the programs corresponding to each sub-entry and the intermediate program list, each sub-entry is inserted into the corresponding main entry to obtain the target program list.

[0011] Optionally, inserting each sub-entry into the corresponding main entry according to the insertion sub-rule of the program corresponding to each sub-entry and the intermediate program list includes: According to the insertion rules for advertisements, insert the advertisement sub-entries into the corresponding main entries; Based on the target time of the empty e-commerce program and the entry information of the main entry corresponding to the empty e-commerce, the target offset of the empty e-commerce program relative to the corresponding main entry is determined. If the main entry corresponding to the empty e-commerce program does not have a corresponding advertising sub-entry, then based on the target offset of the empty e-commerce, the sub-entry corresponding to the empty e-commerce will be inserted into the corresponding main entry. If the main entry corresponding to the empty e-commerce program has a corresponding advertising sub-entry, then the target advertising sub-entry is determined based on the start and end times of the corresponding advertising sub-entry and the target time of the empty e-commerce program, and the sub-entry corresponding to the empty e-commerce program is inserted after the target advertising sub-entry.

[0012] Optionally, the method further includes: When a change entry occurs, the priority of each entry is determined based on its program type; The entries are sorted according to their start time, priority, and sorting number to obtain a sequence of entries to be calculated. The sequence of entries to be calculated includes at least one entry, and each entry belongs to the same channel and the same broadcast period. For each sequence of items to be calculated, time recalculation and conflict resolution are performed to obtain the new start time and new end time of each item in each sequence of items to be calculated. Based on the new start time and new end time of each item in each sequence of items to be calculated, a revised program schedule is generated.

[0013] Optionally, the step of recalculating the time and resolving conflicts for each sequence of entries to be calculated, to obtain the new start time and new end time of each entry in each sequence of entries to be calculated, includes: Identify the target entry in the sequence of entries to be calculated that has undergone changes; Determine whether the target entry conflicts with other entries in the sequence of entries to be calculated; If so, then conflict resolution is performed on the sequence of items to be calculated, and starting from the target item in the sequence of items to be calculated that has changed, the time is recalculated for each item in the sequence of items to be calculated that is after the target item, to obtain the recalculated sequence. If not, then starting from the target entry that has changed in the sequence of entries to be calculated, the time of each entry in the sequence of entries to be calculated after the target entry is recalculated to obtain the recalculated sequence.

[0014] Secondly, this application also provides a channel scheduling system, applied to the method described in the first aspect above, including a channel configuration and content resource module and a dynamic scheduling module; The channel configuration and content resource module is used to receive various types of programs and channel rules corresponding to the target channel, and to perform playability verification on each program to obtain the verified program. The dynamic program scheduling module is used to generate an initial program schedule based on the parameter information of the target channel in the channel rules and the verified programs. The dynamic program schedule module is used to generate a target program schedule based on the channel rules and the verified programs. The target program schedule includes a main entry and sub-entries that are associated with the main entry. Each main entry and each sub-entry indicates a program.

[0015] Optionally, the channel configuration and content resource module is specifically used for: Perform multi-dimensional playability checks on each program, and based on the check results, remove abnormal programs to obtain the checked programs. The abnormal programs include one or more of the following: programs with illegal duration, programs that have been taken offline, programs that cannot be edited or broadcast, and programs with illegal content types.

[0016] Optionally, the dynamic order module is specifically used for: Based on the parameter information of the target channel and the basic programs in the verified program, the initial program list is generated. The initial program list includes at least one first main entry. The basic programs include fixed-time programs and regular sequential programs. The fixed-time programs are written with their start times. The regular sequential programs are arranged continuously according to the selection order of the content pool to which they belong.

[0017] Optionally, the channel rules include: a general insertion rule and sub-rules for the insertion of each program; The dynamic order creation module is specifically used for: Obtain the second main program and non-main programs to be inserted. The second main program includes live broadcast and e-commerce. The non-main programs include: advertisements and empty e-commerce slots. Each second main program is converted into a second main entry using a unified entry system, and each non-main program is converted into a sub-entry. The entry information for each second main program and each sub-entry includes: program type, content identifier, program set identifier, start time, end time, program duration, sorting number, and source rule identifier. Based on the entry information of each first main entry, each second main entry, and each sub-entry in the initial program list, the main entry corresponding to each sub-entry is determined. Then, according to the general insertion rule and the sub-insertion rule of each program, each second main entry is inserted and each sub-entry is inserted into the corresponding main entry to obtain the target program list.

[0018] Optionally, the dynamic order module is specifically used for: Based on the advertising placement time period, advertising duration and placement conditions in the item information of the advertising sub-item, the item information of each first main item and the item information of each second main item, the main item corresponding to the advertising sub-item is determined; The target time for each empty e-commerce item is determined based on the number of daily empty slots and the display duration in the item information of each empty e-commerce item. Then, the main item corresponding to each empty e-commerce item is determined based on the target time, the item information of each first main item, and the item information of each second main item.

[0019] Optionally, the dynamic order module is specifically used for: According to the general insertion rule and the sub-insertion rules of the programs corresponding to each second main entry, each second main entry is inserted into the initial program list to obtain the intermediate program list; Based on the insertion rules for the programs corresponding to each sub-entry and the intermediate program list, each sub-entry is inserted into the corresponding main entry to obtain the target program list.

[0020] Optionally, the dynamic order module is specifically used for: According to the insertion rules for advertisements, insert the advertisement sub-entries into the corresponding main entries; Based on the target time of the empty e-commerce program and the entry information of the main entry corresponding to the empty e-commerce, the target offset of the empty e-commerce program relative to the corresponding main entry is determined. If the main entry corresponding to the empty e-commerce program does not have a corresponding advertising sub-entry, then based on the target offset of the empty e-commerce, the sub-entry corresponding to the empty e-commerce will be inserted into the corresponding main entry. If the main entry corresponding to the empty e-commerce program has a corresponding advertising sub-entry, then the target advertising sub-entry is determined based on the start and end times of the corresponding advertising sub-entry and the target time of the empty e-commerce program, and the sub-entry corresponding to the empty e-commerce program is inserted after the target advertising sub-entry.

[0021] Optionally, the time recalculation and conflict resolution module is used for: When a change entry occurs, the priority of each entry is determined based on its program type; The entries are sorted according to their start time, priority, and sorting number to obtain a sequence of entries to be calculated. The sequence of entries to be calculated includes at least one entry, and each entry belongs to the same channel and the same broadcast period. For each sequence of items to be calculated, time recalculation and conflict resolution are performed to obtain the new start time and new end time of each item in each sequence of items to be calculated. Based on the new start time and new end time of each item in each sequence of items to be calculated, a revised program schedule is generated.

[0022] Optionally, the time recalculation and conflict resolution module is specifically used for: Identify the target entry in the sequence of entries to be calculated that has undergone changes; Determine whether the target entry conflicts with other entries in the sequence of entries to be calculated; If so, then conflict resolution is performed on the sequence of items to be calculated, and starting from the target item in the sequence of items to be calculated that has changed, the time is recalculated for each item in the sequence of items to be calculated that is after the target item, to obtain the recalculated sequence. If not, then starting from the target entry that has changed in the sequence of entries to be calculated, the time of each entry in the sequence of entries to be calculated after the target entry is recalculated to obtain the recalculated sequence.

[0023] The beneficial effects of this application are: This application provides a channel scheduling method and system that performs playability verification on each program to obtain verified programs; generates an initial program list based on the target channel parameter information in the channel rules and the verified programs; and generates a target program list based on the channel rules and the verified programs. The target program list includes main entries and sub-entries related to the main entries, with each main entry and sub-entry indicating a program. By automating playability verification, the manual screening process is transformed into automatic system judgment, significantly reducing manpower input and preventing unqualified programs from entering the scheduling process at the source. The automatic generation of the initial program list transforms the manual arrangement process into an automatic continuous arrangement based on programs, eliminating repetitive work of copying and pasting each entry. Furthermore, by applying channel rules to the initial program list, complex arrangements that originally required multiple rounds of manual adjustment can be completed automatically in a short time, realizing a shift from manual, entry-by-entry arrangement to rule-driven automatic arrangement, significantly improving scheduling efficiency. Furthermore, during the generation of the target program schedule, a time recalculation and conflict resolution mechanism was implemented for the program schedule after the rules were applied, ensuring that all main and sub-items in the final target program schedule are connected end to end on the timeline, do not overlap, and are all within the broadcast cycle boundary, thereby reducing the risk of broadcast accidents caused by scheduling errors. Attached Figure Description

[0024] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 A schematic diagram of the architecture of a channel scheduling system provided in this application embodiment; Figure 2 A flowchart illustrating a channel scheduling method provided in an embodiment of this application; Figure 3 A flowchart illustrating another channel scheduling method provided in this application embodiment; Figure 4 A flowchart illustrating yet another channel scheduling method provided in this application embodiment; Figure 5 This is a schematic diagram of a program insertion provided in an embodiment of this application. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0027] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0028] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0029] Figure 1 This is a schematic diagram of the architecture of a channel scheduling system provided in an embodiment of this application. The channel scheduling system is installed in an electronic device. Figure 1 As shown, the channel scheduling system includes a channel configuration and content resource module, a dynamic scheduling module, and a time recalculation and conflict resolution module.

[0030] The electronic device can be a terminal device with computing and display capabilities, such as a mobile phone, tablet computer, laptop computer, PDA, or desktop computer, or it can be a server. Specifically, it can be used in applications on terminal devices, such as mobile phone applications (APPs) and computer application systems.

[0031] Figure 2 This is a flowchart illustrating a channel scheduling method provided in an embodiment of this application. The subject executing this method is the aforementioned electronic device. Figure 2 As shown, the method includes: S101. Receive various types of programs and channel rules corresponding to the target channel, and perform playability verification on each program to obtain the verified program.

[0032] Optionally, various types of programs related to the target channel are first acquired. These programs include, but are not limited to, regular sequential programs, fixed-time programs, live broadcasts, advertisements, e-commerce content, and filler content. For example, these programs can be received from media asset systems, advertising platforms, e-commerce services, and other external content sources. Simultaneously, the channel rules associated with the channel are received. These channel rules can be pre-configured through the aforementioned channel configuration and content resource modules. The channel rules include channel parameter information, insertion rules for each program, and other information.

[0033] Optionally, after receiving multiple types of programs, playability verification is performed on these programs to filter out valid program content suitable for program list generation. The acquired multi-source, heterogeneous programs of various types are integrated and filtered with channel rules to form a structured, schedulable set of valid program resources, providing a data foundation for the subsequent dynamic generation of the initial program list. The verified programs also include multiple program types.

[0034] S102. Generate an initial program list based on the parameter information of the target channel in the channel rules and the verified programs.

[0035] The generated initial program list includes at least one first master entry, each first master entry indicating a basic program, which includes fixed-time programs and regular sequential programs.

[0036] The target channel's parameter information includes at least the channel identifier, start time, calibration time, broadcast cycle length, and pre-generated days. The calibration time is the time boundary distinguishing adjacent broadcast days; for example, 3:00 AM can be set as the broadcast day dividing point for the target channel. The broadcast cycle length can be set to, for example, 24 hours, from the start time to the calibration time of the following day, forming a complete broadcast day cycle. Based on the target channel's parameter information, the start and end times of broadcast for the current target date can be determined, thus establishing the complete timeline of the broadcast cycle.

[0037] Optionally, an initial program list can be generated using a preset method based on the parameter information of the target channel and the fixed-time programs and ordinary sequential programs in the verified program.

[0038] S103. Generate the target program list based on the channel rules and the verified programs.

[0039] The target program list includes a main entry and sub-entries that are related to the main entry. Each main entry and each sub-entry indicates a program.

[0040] The channel rules can include live broadcast rules, e-commerce rules, advertising rules, gap e-commerce rules, truncation rules, and padding rules, etc. Different types of rules have different triggering conditions and timing of action. During the generation of the target program list, programs other than the basic programs processed in step S102 are processed sequentially according to the predefined rule chain order. As various rules are applied in sequence, the item sequence and time distribution of the initial program list continuously change. To ensure that the items remain continuous, non-overlapping, and do not cross boundaries in time, a unified time recalculation and conflict resolution process is performed on all items in the program list after rule application at each stage or after rule application is completed, thus obtaining the target program list. The start and end times of each item in the obtained target program list are within the broadcast cycle of the target channel, and the items are either consecutive or arranged at preset intervals, with no time overlap or unfilled gaps. At this point, the processed program schedule is output as the target program schedule. The target program schedule includes all types of broadcast content, such as regular sequential programs, fixed-time programs, live programs, e-commerce content, advertising sub-items, off-peak e-commerce, and filler content. The broadcast time and order of each item meet the constraints of the channel rules.

[0041] In this embodiment, the playability of each program is verified to obtain the verified programs. An initial program list is generated based on the target channel parameter information in the channel rules and the verified programs. A target program list is generated based on the channel rules and the verified programs. The target program list includes main entries and sub-entries related to the main entries, with each main entry and each sub-entry indicating a program. By automating playability verification, the manual screening process is transformed into automatic system judgment, significantly reducing manpower input. Furthermore, playability verification prevents unqualified programs from entering the program list process from the source. By automatically generating the initial program list, the manual arrangement process is transformed into automatic continuous arrangement based on programs, eliminating the repetitive work of copying and pasting each program. In addition, the channel rules are applied to the initial program list, so that the complex arrangement that originally required multiple rounds of manual adjustment can be completed automatically in a short time. This realizes the transformation from manual arrangement to rule-driven automatic arrangement, significantly improving the efficiency of program list creation. Furthermore, during the generation of the target program schedule, a time recalculation and conflict resolution mechanism was implemented for the program schedule after the rules were applied, ensuring that all main and sub-items in the final target program schedule are connected end to end on the timeline, do not overlap, and are all within the broadcast cycle boundary, thereby reducing the risk of broadcast accidents caused by scheduling errors.

[0042] Optionally, the process of performing playability verification on each program in S101 above may include: Optionally, multi-dimensional playability checks are performed on each program to obtain the check results. Abnormal programs are then removed based on the check results to obtain the checked programs. Abnormal programs include one or more of the following: programs with illegal duration, programs that have been taken offline, programs that cannot be edited or broadcast, and programs with illegal content types.

[0043] Multi-dimensional playability verification can include: duration validity verification, status validity verification, broadcasting permission verification, and content type compliance verification.

[0044] The duration validity check involves reading the program's duration and determining if it falls within a preset valid duration range. If the program duration is less than or equal to zero, it is considered invalid; similarly, if the program duration exceeds the channel's preset maximum duration threshold, it is also deemed invalid. Therefore, when the program's duration is greater than zero but does not exceed the maximum duration threshold, the duration validity check passes.

[0045] The status validity check determines whether a program is in a valid, broadcastable state based on its current status. If the program's status is not online, such as offline, pending review, or deleted, it is considered offline and does not qualify for broadcast; therefore, the status validity check fails. If the program's status is online and has not been deleted, the status validity check passes.

[0046] The program's programming permission verification determines whether a program is allowed to be included in the programming process based on its programming control flag. If the program's programming control flag is off or no, it means the program is marked as unsuitable for programming, and the programming permission verification result is "failed." If the program's programming control flag is on, the programming permission verification result is "passed."

[0047] Content type compliance verification involves matching the program's content type with the target channel's broadcast policy. Different channels may have varying restrictions on the types of content they broadcast; for example, some channels may only allow specific types of programs. If the program's content type is not within the range allowed by the target channel, or if the program's source is incompatible with the channel's access policy, the content type compliance verification for that program will fail. If the program's content type falls within the channel's allowed range, the content type compliance verification will pass.

[0048] Optionally, if all the multi-dimensional playability verification results are passed, that is, if the verification results of duration legality, status validity, broadcasting permission and content type compliance are all passed, then the program is a normal program; if at least one of the multi-dimensional playability verification results is failed, then the program is an abnormal program.

[0049] Optionally, the process of generating the initial program list in S102 based on the parameter information of the target channel in the channel rules and the verified programs may include: Optionally, an initial program list is generated based on the parameter information of the target channel and the basic programs in the verified program list. The initial program list includes at least one first main entry. The basic programs include fixed-time programs and regular sequential programs. The fixed-time programs are written with their start times, and the regular sequential programs are arranged consecutively according to the selection order of the content pool to which they belong.

[0050] Among them, the basic programs in the verified programs refer to broadcast content that can be arranged in a fixed manner without relying on insertion rules. Ordinary sequential programs refer to programs that are arranged continuously in a preset broadcast order. The broadcast time of ordinary sequential programs is determined by the end time of the preceding programs of each ordinary sequential program and is not bound by absolute time points. Fixed time point programs refer to programs whose broadcast time is strictly anchored to a certain absolute time. The start time of fixed time point programs is preset by channel rules and does not shift with the duration of the preceding programs at the fixed time point.

[0051] Specifically, a broadcast timeline can be established and a time pointer initialized. The broadcast start time is assigned as the initial value of the current time pointer, which is used to record the currently scheduled time position during the program scheduling process. When processing fixed-time programs, the fixed-time programs are positioned on the corresponding position on the broadcast timeline according to their preset absolute start time. Each fixed-time program is converted into a program schedule entry, which records at least the program type identifier, content identifier, start time, end time, and sequence number. After the fixed-time program is positioned, its start time remains unchanged during subsequent basic program scheduling.

[0052] When processing regular sequential broadcast programs, the basic program list is retrieved sequentially from the content pool corresponding to each program, according to the order of the programs associated with the target channel. The content pool is a logical container for program sets; a content pool can contain one or more program sets, and each program set contains multiple independent program entries. When retrieving the basic program list, it is arranged according to a preset sorting rule in the content pool or program set, such as sorting by episode number. Then, the sorted regular sequential broadcast programs are sequentially placed into the broadcast timeline. During arrangement, the time indicated by the current time pointer is used as the start time of the current program, and the start time plus the program duration is used as the end time. The current time pointer is then updated to this end time, and this process is repeated until all programs in the content pool corresponding to the current program have been placed into the timeline. If the channel is associated with multiple programs, after arranging all programs for one program, the system switches to the next program in program order to continue arranging.

[0053] Optionally, when scheduling each program onto the timeline, a unified item model can be used to convert each program into a program schedule item of a uniform format. Each item must include at least a program type identifier, content identifier, program set identifier, start time, end time, program duration, and sequence number. Items are sorted and stored according to their start times on the timeline, forming the basic item sequence for the initial program schedule. Program types affected by dynamic conditions, such as live broadcasts, e-commerce, advertisements, and filler content, are not scheduled in this step.

[0054] In this embodiment, an initial program list is generated based on the parameter information of the target channel and the basic programs in the verified program list. This initial program list, containing a sequence of basic program entries, is then used as input for the subsequent dynamic core program list engine. The start and end times of each entry in this initial program list are preliminary values ​​calculated based on the order and duration of the basic programs. Subsequent steps involving the insertion of rules such as live broadcasts, e-commerce, and advertising may trigger time adjustments and recalculations for some entries. These affected entries will be updated according to preset recalculation rules, ultimately forming a complete target program list. Furthermore, this process uses a unified entry model to manage all types of programs, ensuring that the insertion and adjustment of various rules can be coordinated on the same timeline. This avoids the order discrepancies and time overlaps that occur when different types of programs are independently arranged and then merged.

[0055] Figure 3 A flowchart illustrating another channel ordering method provided in this application embodiment is shown below. Figure 3 As shown, the process of generating the target program list in S103 above, based on channel rules and verified programs, may include: S201, Obtain the second main program and non-main programs to be inserted.

[0056] The second main program includes live broadcasts and e-commerce; the non-main programs include advertisements and off-peak e-commerce. The second main program is independent of the main program corresponding to the first main entry. There is no attachment relationship between the second and first main programs; they belong to the same level. According to the insertion rules for the second main program, it can be inserted into the broadcast timeline. Non-main programs are extended content attached to the main entry. The broadcast time of a non-main program is completely contained within the broadcast time of its respective main entry and does not independently occupy the main time on the broadcast timeline.

[0057] Optionally, live streaming, e-commerce, advertising, off-peak e-commerce, and padding are all programs that are related to the target channel.

[0058] In the actual order processing process, live streaming can be obtained in the early stages of the rule chain, e-commerce and advertising can be obtained in the later stages, and padding can be obtained in the final stage.

[0059] S202. Use a unified entry to convert each secondary main program into a secondary main entry, and convert each non-main program into a sub-entry.

[0060] The entry information for each second main entry and each sub-entry includes program type, content identifier, program set identifier, start time, end time, program duration, sorting number, and source rule identifier.

[0061] S203. Based on the entry information of each first main entry, the entry information of each second main entry, and the entry information of each sub-entry in the initial program list, determine the main entry corresponding to each sub-entry, and insert each second main entry and each sub-entry into the corresponding main entry according to the insertion rules and the insertion sub-rules of each program.

[0062] Optionally, both the first and second main entries occupy independent broadcast time slots in the program schedule, possessing start time, end time, and broadcast duration. The first main entry is a basic broadcast entry already existing in the initial program schedule, while the second main entry is a broadcast entry that needs to be independently inserted into the broadcast timeline according to dynamic rules after the initial program schedule is generated. The second main entry and the first main entry are at the same level on the broadcast timeline, both occupying broadcast time slots independently as main programs in the program schedule. Sub-entries are extended content that does not occupy a position on the broadcast timeline independently but is attached to the time slot of the main entry.

[0063] Optionally, when determining the main entry corresponding to each sub-entry, different matching strategies are executed based on the sub-entry type, the sub-entry information, the first main entry information, the second main entry information, and the entry information of each sub-entry. After determining the main entry corresponding to each sub-entry, each sub-entry is inserted into its corresponding main entry according to the insertion sub-rule of the program corresponding to each sub-entry. This yields the target program list.

[0064] Optionally, for advertisements, the system can match main entries that meet the advertising placement conditions from the entry information of the first and second main entries based on information such as the placement time period and placement channel in the entry information of the advertisement sub-entry. Specifically, the entry information of an advertisement includes at least the advertisement placement time period, advertisement duration, and placement conditions. Advertising placement conditions refer to the constraints that must be met for the advertisement content to be inserted, including but not limited to: main program type, main program duration threshold, placement channel restrictions, and other matching conditions. Different advertisements can be configured with different insertion sub-rules to achieve differentiated advertisement insertion control. Main entries that meet the advertising placement conditions are filtered from the program list. Specifically, the system iterates through the first and second main entries, matching the entry information of each main entry with the advertising placement conditions item by item: determining whether the broadcast time period of the main entry falls within the advertisement placement time period; determining whether the program type of the main entry meets the type requirements in the placement conditions; determining whether the program duration of the main entry reaches the preset duration threshold; and matching according to other constraints in the placement conditions. When a main entry meets all placement conditions, it is determined as the main entry corresponding to the advertisement.

[0065] For e-commerce items with unavailable slots, the target time for the e-commerce item is calculated based on the daily number of unavailable slots and display duration in the item information. Then, the main item corresponding to the target time period that meets the e-commerce placement criteria is used as the main item for that e-commerce item. The daily number of unavailable slots refers to the total number of e-commerce slots expected to be inserted within the target channel's broadcast cycle, and the single display duration refers to the length of time occupied by each e-commerce item during an unavailable slot. Main items that meet the e-commerce placement criteria include, for example, main item duration greater than the e-commerce slot duration, and main item playback time including the e-commerce item's target time.

[0066] Figure 4 A flowchart illustrating another channel cataloging method provided in this application embodiment is shown below. Figure 4 As shown, in S203 above, inserting each second main entry and inserting each sub-entry into the corresponding main entry according to the insertion rules and the insertion sub-rules of each program may include: S301. Based on the general insertion rule and the sub-insertion rules for the programs corresponding to each second main entry, insert each second main entry into the initial program list to obtain the intermediate program list.

[0067] The general insertion rule is to execute the insertion of live streaming, e-commerce, advertising, gap e-commerce, truncation, and padding in the rule chain in sequence. That is, first execute live streaming insertion according to the live streaming rule, then execute e-commerce insertion according to the e-commerce rule, then execute advertising insertion according to the advertising rule, then execute gap e-commerce insertion according to the gap e-commerce rule, then execute truncation processing for entries that exceed the broadcast cycle boundary according to the truncation rule, and finally execute padding insertion according to the padding rule.

[0068] The second main entry to be inserted is positioned at the designated location on the timeline of the initial program schedule according to the insertion sub-rules of each program. Specifically, the timing and position of the second main entry are determined based on its type and corresponding insertion sub-rules. For example, the second main entry for a live broadcast is inserted according to the preset start and end times of the broadcast, and time slot conflict detection with existing live broadcast entries is required; the second main entry for an e-commerce broadcast is inserted in an available position within the time window that meets the placement conditions; after the second main entry is inserted, it and the first main entry together constitute the updated main entry timeline sequence, with each main entry arranged in chronological order of its start time on the timeline, and there should be no time overlap between them.

[0069] S302. Based on the insertion rules of the programs corresponding to each sub-entry and the intermediate program list, insert each sub-entry into the corresponding main entry to obtain the target program list.

[0070] Optionally, each sub-entry is inserted into the time slot of the main entry to which it belongs, according to the insertion sub-rules of the program corresponding to that sub-entry. The insertion of a sub-entry does not change the start and end times of the corresponding main entry; instead, it divides the main entry time slot into several sub-time slots for broadcasting the sub-entry content. During insertion, the offset of the sub-entry relative to the start time of the main entry, as well as the arrangement order among multiple sub-entries under the same main entry, are determined according to the insertion sub-rules of the program corresponding to the sub-entry.

[0071] In this embodiment, the initial program schedule is expanded from a single-level sequence of main entries into a hierarchical program schedule with a two-level structure of main entries and sub-entries: the first and second main entries together constitute the backbone sequence of the timeline, and each sub-entry is attached as extended content under its corresponding main entry. The broadcast time slots of all entries are within the broadcast cycle boundaries. This hierarchical structure ensures both the clarity and continuity of the program schedule's timeline backbone and enables precise positioning and unified management of commercial content within the main program slots, providing a structured data foundation for subsequent time recalculation, conflict resolution, and program schedule output.

[0072] Optionally, in step S302 above, inserting each sub-entry into the corresponding main entry based on the insertion sub-rule of the program corresponding to each sub-entry and the intermediate program list may include: Optionally, according to the insertion sub-rules of the advertisement, the advertisement sub-items are inserted into the corresponding main item. A main item can display multiple advertisement sub-items. The offset of each advertisement sub-item relative to the start time of its parent main item can be calculated based on the main item's advertisement distribution strategy and the item information of each advertisement sub-item. This offset is used to determine the specific location of the advertisement sub-item within the playback duration of the main item. If the distribution strategy is equal distribution, the main item duration is divided equally according to the number of advertisement sub-items, and each advertisement sub-item is positioned at its respective division point. If the distribution strategy is concentrated at the beginning, each advertisement sub-item is sequentially positioned after the start time of the main item. If the distribution strategy is concentrated at the end, each advertisement sub-item is sequentially positioned before the end time of the main item. If the distribution strategy is a specified time position, the positioning is based on the preset absolute offset in the insertion sub-rule. Then, based on the offset of each advertisement sub-item and the duration of each advertisement, combined with the start time of its parent main item, the preset start time and preset end time of each advertisement sub-item are calculated. Multiple advertising sub-entries under the same main entry are arranged sequentially according to their respective sub-entry numbers, and the broadcast times of each advertising sub-entry do not overlap.

[0073] Optionally, after inserting the advertising sub-items into the corresponding main item, the effective broadcast duration of the main item is updated based on the duration of each advertising sub-item. This effective broadcast duration refers to the total broadcast time slot occupied by the main item in the program schedule. It equals the program duration of the main item plus the sum of the durations of all advertising sub-items under that main item. If other types of sub-items exist, such as those for "empty slot e-commerce," the duration of the "empty slot e-commerce" sub-item must also be added. In other words, the effective broadcast duration of the main item is updated by cumulatively adding the durations of each sub-item. The broadcast time slots of advertising sub-items and "empty slot e-commerce" sub-items are completely contained within the effective broadcast time slot of the main item and do not exceed the start and end time slots of the main item. In subsequent steps, if the start time, end time, or duration of the main item changes, each advertising sub-item automatically recalculates its broadcast position based on its offset relative to its parent main item, ensuring that the advertising sub-items always remain within the main item's broadcast time slot.

[0074] Optionally, based on the target time of the off-peak e-commerce program and the entry information of the corresponding main entry, the target offset of the off-peak e-commerce program relative to the corresponding main entry is determined. If the main entry corresponding to the off-peak e-commerce program does not have a corresponding advertising sub-entry, then based on the target time and target offset of the off-peak e-commerce program, the corresponding sub-entry is inserted into the corresponding main entry. If the main entry corresponding to the off-peak e-commerce program has a corresponding advertising sub-entry, then based on the start and end times of the corresponding advertising sub-entry and the target time of the off-peak e-commerce program, the target advertising sub-entry is determined, and the corresponding sub-entry is inserted after the target advertising sub-entry. The entry information of the off-peak e-commerce program includes the number of off-peak times per day and the display duration, etc. Specifically, such as... Figure 5 As shown, an advertising sub-entry A was inserted into the main entry, and the empty e-commerce B was inserted after advertising sub-entry A.

[0075] Here, "target time" refers to the absolute moment when the empty e-commerce segment is expected to be positioned on the program schedule's timeline. "Target offset" is the time difference between the target time and the start time of the corresponding main entry for the empty e-commerce segment, equal to the target time minus the start time of the main entry. Specifically, the difference between the target time and the start time of the main entry is calculated; this difference is the target offset. The target offset, expressed in time units, is used in subsequent steps to precisely mount the empty e-commerce segment to its specified relative position within the main entry's time slot.

[0076] Optionally, the target advertising sub-item is determined based on the start and end times of the corresponding advertising sub-item and the target time of the idle e-commerce program. The target advertising sub-item refers to an advertisement that has a linked positioning relationship with the idle e-commerce program. All advertising sub-items are traversed, and the time interval formed by the start and end times of each advertising sub-item is compared with the target time of the idle e-commerce program. If the target time of the idle e-commerce program falls within the time interval of a certain advertising sub-item, then that advertising sub-item is determined as the target advertising sub-item. This indicates that the expected target of the idle e-commerce program is during the broadcast of the advertising block; in this case, the idle e-commerce program is positioned after the end of that advertising sub-item. When inserting an idle e-commerce sub-item after a target advertising sub-item, the idle e-commerce sub-item and the target advertising sub-item belong to the same main item, that is, they have the same parent item identifier.

[0077] The method also includes: When changes occur, the priority of each item is determined based on its program type. Items are then sorted according to their start time, priority, and sequence number to obtain a sequence of items to be calculated. Each sequence must contain at least one item, and all items must belong to the same channel and broadcast period. Different program types have different priorities. Time recalculation and conflict resolution are performed on each sequence of items to be calculated to obtain the new start and end times for each item. Based on these new start and end times, a revised program schedule is generated.

[0078] Optionally, the above-mentioned time recalculation and conflict resolution are performed on each sequence of items to be calculated to obtain the new start time and new end time of each item in each sequence of items to be calculated, including: Identify the target entry in the sequence of entries to be calculated that has been changed; determine whether the target entry conflicts with other entries in the sequence of entries to be calculated.

[0079] If so, conflict resolution is performed on the sequence of items to be calculated, and the time is recalculated for each item in the sequence of items to be calculated after the target item, starting from the target item that has changed in the sequence of items to be calculated, to obtain the recalculated sequence.

[0080] If not, then starting from the target entry in the sequence of entries to be calculated that has changed, the time of each entry following the target entry in the sequence of entries to be calculated is recalculated to obtain the recalculated sequence. Specifically, the new start time and new end time can be determined based on the start time of the target entry that has changed and the changed parameters; for subsequent entries of the target entry, the end time of the previous destination is used as the new start time of the subsequent entry, and the new end time of the subsequent entry is calculated based on the duration of the subsequent entry, and the time pointer is updated.

[0081] Conflict resolution refers to detecting and handling overlaps or boundary violations between items during time recalculation. Specifically, this includes: maintaining the preset start and end times of live stream items before insertion; only detecting overlaps with existing live stream items; if overlap exists, the live stream item is not inserted; time conflicts between live streams and regular programs, fixed programs, e-commerce programs, and advertising blocks are handled uniformly during time recalculation after insertion; when regular programs overlap with live streams, the regular program is moved after the live stream and rearranged; fixed time point items prioritize maintaining their key start times; if a preceding regular program crosses the next fixed time point, the regular program is removed, truncated, or postponed; if the start time of a fixed time point item is earlier than the end time of a preceding live stream item, the fixed time point item is postponed to the end time of the live stream; for cross-day situations, if the end time of a live stream is later than the calibration time of the day's schedule (i.e., the broadcast cycle boundary), the live stream end time is adjusted to the next broadcast day; for other types of items exceeding the broadcast cycle boundary, truncation, removal, or postponement to the next day is performed according to the item type. Time recalculation and conflict resolution are performed item by item in the order of the sequence of items to be calculated, until all items in the sequence have been processed, and the new start time and new end time of each item are obtained.

[0082] For sub-entries attached to a main entry, sub-entries do not participate in sorting and priority determination independently. Instead, they are recalculated synchronously with the time changes of the main entry to which they belong. Once the new start and end times of the main entry are determined, each sub-entry recalculates its new start and end times based on its pre-recorded offset relative to the start time of its main entry and its own duration. This ensures that the broadcast time of each sub-entry is always completely contained within the new time period of its main entry, and that there is no overlap between sub-entries.

[0083] After recalculating the time and resolving conflicts for all sequences of items to be calculated, a revised program schedule is generated based on the new start and end times calculated for each item. The revised program schedule is a complete schedule formed by reorganizing all items in the original program schedule according to the updated time attributes. All items are rearranged according to the new start time to ensure that the broadcast timeline is continuous, non-overlapping, gap-free, and all within the broadcast cycle boundaries. If any item is truncated or removed during the time recalculation process, the corresponding item is updated or deleted in the revised program schedule, and a change log is recorded for traceability.

[0084] This application also provides a channel scheduling system, which includes a channel configuration and content resource module, a dynamic scheduling module, and a time recalculation and conflict resolution module.

[0085] The channel configuration and content resource module is used to receive various types of programs and channel rules corresponding to the target channel, and to perform playability verification on each program to obtain the verified program. The dynamic program scheduling module is used to generate an initial program schedule based on the parameter information of the target channel in the channel rules and the verified programs. The dynamic program schedule module is used to generate a target program schedule based on the channel rules and the verified programs. The target program schedule includes a main entry and sub-entries that are associated with the main entry. Each main entry and each sub-entry indicates a program.

[0086] Optionally, the channel configuration and content resource module is specifically used for: Perform multi-dimensional playability checks on each program, and based on the check results, remove abnormal programs to obtain the checked programs. The abnormal programs include one or more of the following: programs with illegal duration, programs that have been taken offline, programs that cannot be edited or broadcast, and programs with illegal content types.

[0087] Optionally, the dynamic order module is specifically used for: Based on the parameter information of the target channel and the basic programs in the verified program, the initial program list is generated. The initial program list includes at least one first main entry. The basic programs include fixed-time programs and regular sequential programs. The fixed-time programs are written with their start times. The regular sequential programs are arranged continuously according to the selection order of the content pool to which they belong.

[0088] Optionally, the channel rules include: a general insertion rule and sub-rules for the insertion of each program; The dynamic order creation module is specifically used for: Obtain the second main program and non-main programs to be inserted. The second main program includes live broadcast and e-commerce. The non-main programs include: advertisements and empty e-commerce slots. Each second main program is converted into a second main entry using a unified entry system, and each non-main program is converted into a sub-entry. The entry information for each second main program and each sub-entry includes: program type, content identifier, program set identifier, start time, end time, program duration, sorting number, and source rule identifier. Based on the entry information of each first main entry, each second main entry, and each sub-entry in the initial program list, the main entry corresponding to each sub-entry is determined. Then, according to the general insertion rule and the sub-insertion rule of each program, each second main entry is inserted and each sub-entry is inserted into the corresponding main entry to obtain the target program list.

[0089] Optionally, the dynamic order module is specifically used for: Based on the advertising placement time period, advertising duration and placement conditions in the item information of the advertising sub-item, the item information of each first main item and the item information of each second main item, the main item corresponding to the advertising sub-item is determined; The target time for each empty e-commerce item is determined based on the number of daily empty slots and the display duration in the item information of each empty e-commerce item. Then, the main item corresponding to each empty e-commerce item is determined based on the target time, the item information of each first main item, and the item information of each second main item.

[0090] Optionally, the dynamic order module is specifically used for: According to the general insertion rule and the sub-insertion rules of the programs corresponding to each second main entry, each second main entry is inserted into the initial program list to obtain the intermediate program list; Based on the insertion rules for the programs corresponding to each sub-entry and the intermediate program list, each sub-entry is inserted into the corresponding main entry to obtain the target program list.

[0091] Optionally, the dynamic order module is specifically used for: According to the insertion rules for advertisements, insert the advertisement sub-entries into the corresponding main entries; Based on the target time of the empty e-commerce program and the entry information of the main entry corresponding to the empty e-commerce, the target offset of the empty e-commerce program relative to the corresponding main entry is determined. If the main entry corresponding to the empty e-commerce program does not have a corresponding advertising sub-entry, then based on the target offset of the empty e-commerce, the sub-entry corresponding to the empty e-commerce will be inserted into the corresponding main entry. If the main entry corresponding to the empty e-commerce program has a corresponding advertising sub-entry, then the target advertising sub-entry is determined based on the start and end times of the corresponding advertising sub-entry and the target time of the empty e-commerce program, and the sub-entry corresponding to the empty e-commerce program is inserted after the target advertising sub-entry.

[0092] Optionally, the time recalculation and conflict resolution module is used for: When a change entry occurs, the priority of each entry is determined based on its program type; The entries are sorted according to their start time, priority, and sorting number to obtain a sequence of entries to be calculated. The sequence of entries to be calculated includes at least one entry, and each entry belongs to the same channel and the same broadcast period. For each sequence of items to be calculated, time recalculation and conflict resolution are performed to obtain the new start time and new end time of each item in each sequence of items to be calculated. Based on the new start time and new end time of each item in each sequence of items to be calculated, a revised program schedule is generated.

[0093] Optionally, the time recalculation and conflict resolution module is specifically used for: Identify the target entry in the sequence of entries to be calculated that has undergone changes; Determine whether the target entry conflicts with other entries in the sequence of entries to be calculated; If so, then conflict resolution is performed on the sequence of items to be calculated, and starting from the target item in the sequence of items to be calculated that has changed, the time is recalculated for each item in the sequence of items to be calculated that is after the target item, to obtain the recalculated sequence. If not, then starting from the target entry that has changed in the sequence of entries to be calculated, the time of each entry in the sequence of entries to be calculated after the target entry is recalculated to obtain the recalculated sequence.

[0094] Optionally, the channel scheduling system may also include a task scheduling and concurrent recovery module, which includes a change monitoring unit, an impact range calculation unit, a real-time re-editing unit, and a preview unit. The change monitoring unit monitors changes to program duration, program online / offline status, program set relationships, content pool relationships, program configuration, live streaming configuration, e-commerce configuration, and advertising configuration, and writes the change object identifier, change type, change time, and changed parameters into the pending change information. Then, the impact range calculation unit determines the channels affected by the change object in the pending change information based on the relationships between program-program set-content pool-program-channel, or the relationships between live streaming rules and channels, or the relationships between e-commerce rules and channels, or the relationships between advertising rules and channels. Specifically, when a program changes, the program set to which the program belongs is first determined, then the content pool to which the program set belongs, and finally the channel to which the content pool belongs. The determined channels, the affected date, and the source of the change are then written into the real-time re-editing task.

[0095] After the real-time re-editing unit obtains the real-time re-editing task determined by the impact range calculation unit, it calls the channel configuration and content resource module, the dynamic program scheduling module, and the time recalculation and conflict resolution module to regenerate the program schedule of the affected channels.

[0096] The preview unit is used to generate a preview playlist using the same rule processing flow as the real-time re-editing unit. This preview playlist is in read-only mode and is for users to manually verify.

[0097] Optionally, the task scheduling and concurrency recovery module may further include a task lock unit, a channel lock unit, and a timeout rollback unit. The task lock unit acquires a task lock using the task identifier before executing a real-time re-editing or preview task to prevent the same task from being consumed repeatedly. The channel lock unit acquires a channel lock using the channel identifier before executing a real-time re-editing task to prevent concurrent modification of the official program schedule of the same channel; the channel lock is a lease lock with a lifespan, renewed through a heartbeat mechanism during task execution, and released after the task is completed. The timeout rollback unit periodically checks the task status and lock validity. For tasks that have not been completed after exceeding a preset processing time, it queries whether there is a successfully updated task on the same channel and with the same target date; if so, the timed-out task is marked as failed or terminated; if not, the expired lock is released and the task is restored to a pending state for re-execution.

[0098] Optionally, without changing the logical order of first generating the initial program list and then executing insertion, recalculation, and padding, the specific insertion order of live streaming, e-commerce, advertising, gap e-commerce, truncation, and padding in the rule chain of the above-mentioned general insertion rule can be adjusted according to actual needs.

[0099] Optionally, the time recalculation in the above specific embodiments can be a full recalculation, a partial recursive recalculation starting from the affected item, or an incremental recalculation based on the time index; conflict resolution can adopt different strategies such as moving, truncating, removing, postponing, or arbitrating according to item priority; cross-day live broadcasts can be adjusted to postpone the end time to the next broadcast day, split the live broadcast into two items, or shift the entire broadcast cycle.

[0100] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces; the indirect coupling or communication connection of devices or modules can be electrical, mechanical, or other forms.

[0101] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.

[0102] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method of channel programming, characterized by, The method includes: Receive various types of programs and channel rules corresponding to the target channel, and perform playability verification on each program to obtain the verified program. An initial program schedule is generated based on the parameter information of the target channel in the channel rules and the verified programs. A target program list is generated based on the channel rules and the verified programs. The target program list includes a main entry and sub-entries that are related to the main entry. Each main entry and each sub-entry indicates a program.

2. The method of claim 1, wherein, The playability verification of each program includes: Perform multi-dimensional playability checks on each program, and based on the check results, remove abnormal programs to obtain the checked programs. The abnormal programs include one or more of the following: programs with illegal duration, programs that have been taken offline, programs that cannot be edited or broadcast, and programs with illegal content types.

3. The method of claim 1, wherein, The step of generating an initial program schedule based on the parameter information of the target channel in the channel rules and the verified programs includes: Based on the parameter information of the target channel and the basic programs in the verified program, the initial program list is generated. The initial program list includes at least one first main entry. The basic programs include fixed-time programs and regular sequential programs. The fixed-time programs are written with their start times. The regular sequential programs are arranged continuously according to the selection order of the content pool to which they belong.

4. The method of claim 3, wherein, The channel rules include: the general insertion rules and the sub-rules for each program. The step of generating a target program list based on the channel rules and the verified programs includes: Obtain the second main program and non-main programs to be inserted. The second main program includes live broadcast and e-commerce. The non-main programs include: advertisements and empty e-commerce slots. Each second main program is converted into a second main entry using a unified entry system, and each non-main program is converted into a sub-entry. The entry information for each second main program and each sub-entry includes: program type, content identifier, program set identifier, start time, end time, program duration, sorting number, and source rule identifier. Based on the entry information of each first main entry, each second main entry, and each sub-entry in the initial program list, the main entry corresponding to each sub-entry is determined. Then, according to the general insertion rule and the sub-insertion rule of each program, each second main entry is inserted and each sub-entry is inserted into the corresponding main entry to obtain the target program list.

5. The method of claim 4, wherein, The step of determining the main entry corresponding to each sub-entry based on the entry information of each first main entry, each second main entry, and each sub-entry in the initial program list includes: Based on the advertising placement time period, advertising duration and placement conditions in the item information of the advertising sub-item, the item information of each first main item and the item information of each second main item, the main item corresponding to the advertising sub-item is determined; The target time for each empty e-commerce item is determined based on the number of daily empty slots and the display duration in the item information of each empty e-commerce item. Then, the main item corresponding to each empty e-commerce item is determined based on the target time, the item information of each first main item, and the item information of each second main item.

6. The method of claim 4, wherein, The process of inserting each second main entry and each sub-entry into its corresponding main entry according to the general insertion rule and the insertion sub-rules for each program to obtain the target program list includes: According to the general insertion rule and the sub-insertion rules of the programs corresponding to each second main entry, each second main entry is inserted into the initial program list to obtain the intermediate program list; Based on the insertion rules for the programs corresponding to each sub-entry and the intermediate program list, each sub-entry is inserted into the corresponding main entry to obtain the target program list.

7. The method of claim 6, wherein, The step of inserting each sub-entry into its corresponding main entry based on the insertion sub-rules of the program corresponding to each sub-entry and the intermediate program list includes: According to the insertion rules for advertisements, insert the advertisement sub-entries into the corresponding main entries; Based on the target time of the empty e-commerce program and the entry information of the main entry corresponding to the empty e-commerce, the target offset of the empty e-commerce program relative to the corresponding main entry is determined. If the main entry corresponding to the empty e-commerce program does not have a corresponding advertising sub-entry, then based on the target offset of the empty e-commerce, the sub-entry corresponding to the empty e-commerce will be inserted into the corresponding main entry. If the main entry corresponding to the empty e-commerce program has a corresponding advertising sub-entry, then the target advertising sub-entry is determined based on the start and end times of the corresponding advertising sub-entry and the target time of the empty e-commerce program, and the sub-entry corresponding to the empty e-commerce program is inserted after the target advertising sub-entry.

8. The channel scheduling method according to claim 1, characterized in that, The method further includes: When a change entry occurs, the priority of each entry is determined based on its program type; The entries are sorted according to their start time, priority, and sorting number to obtain a sequence of entries to be calculated. The sequence of entries to be calculated includes at least one entry, and each entry belongs to the same channel and the same broadcast period. For each sequence of items to be calculated, time recalculation and conflict resolution are performed to obtain the new start time and new end time of each item in each sequence of items to be calculated. Based on the new start time and new end time of each item in each sequence of items to be calculated, a revised program schedule is generated.

9. The channel scheduling method according to claim 8, characterized in that, The process of recalculating time and resolving conflicts for each sequence of items to be calculated, to obtain the new start time and new end time for each item in each sequence of items to be calculated, includes: Identify the target entry in the sequence of entries to be calculated that has undergone changes; Determine whether the target entry conflicts with other entries in the sequence of entries to be calculated; If so, then conflict resolution is performed on the sequence of items to be calculated, and starting from the target item in the sequence of items to be calculated that has changed, the time is recalculated for each item in the sequence of items to be calculated that is after the target item, to obtain the recalculated sequence. If not, then starting from the target entry that has changed in the sequence of entries to be calculated, the time of each entry in the sequence of entries to be calculated after the target entry is recalculated to obtain the recalculated sequence.

10. A channel scheduling system, characterized in that, The method applied to any one of claims 1-9 includes a channel configuration and content resource module and a dynamic ordering module; The channel configuration and content resource module is used to receive various types of programs and channel rules corresponding to the target channel, and to perform playability verification on each program to obtain the verified program. The dynamic program scheduling module is used to generate an initial program schedule based on the parameter information of the target channel in the channel rules and the verified programs. The dynamic program schedule module is used to generate a target program schedule based on the channel rules and the verified programs. The target program schedule includes a main entry and sub-entries that are associated with the main entry. Each main entry and each sub-entry indicates a program.