An artificial intelligence-based video script automatic generation method and system
By constructing standardized information units and multi-dimensional distinguishing identifiers, combined with multi-level filtering and evidence-driven action screening mechanisms, the problem of information mis-merging in the video script generation system was solved, achieving efficient and accurate multi-channel data processing and ensuring the accuracy and compliance of video content.
Patent Information
- Application Number
- CN202611186678.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-06
- Publication Date
- 2026-11-24
AI Technical Summary
Existing video script generation systems are prone to erroneous merging due to neglecting conditional constraints when processing information from multiple channels and sources. This leads to confusion in business boundaries and content distortion, failing to meet the requirements for high consistency and strict constraints in video content production.
By employing an AI-based approach, standardized information units are constructed based on the core business elements and constraints of the script. Multi-dimensional distinguishing identifiers are generated for filtering and correlation judgment, eliminating actions that do not meet the constraints. This enables accurate identification and separation of information from different conditions, channels, and versions. A multi-level filtering and evidence-driven action screening mechanism is used to prevent erroneous merging.
It achieves accurate data processing in complex business scenarios with high concurrency and multiple versions, avoids the risk of accidental merging, improves data compression efficiency and the credibility of generated content, and ensures the clarity and compliance of business boundaries.
Smart Images

Figure CN123164302A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital media content production and processing technology, and in particular to a method and system for automatically generating video scripts based on artificial intelligence. Background Technology
[0002] With the rapid development of short videos, live streaming, and new media marketing, the demand for video script creation and management is increasing. Artificial intelligence (AI)-driven automatic script generation systems have become an important focus in the industry. Existing intelligent video script generation systems typically use model algorithms to automatically transform user-input topics, keywords, product selling points, and other content into multi-dimensional outputs such as storyboards, narration, and subtitles, thereby improving script creation efficiency and enabling personalized output.
[0003] For example, Chinese invention patent CN119383419A discloses an automated video script generation system, which relates to the field of script generation technology. The system includes: a content generation module that automatically generates video scripts based on user-input topics and keywords using a script generation algorithm; a retrieval experience enhancement module that collects and processes user feedback data on the video scripts to obtain quantitative data, and adjusts the script generation algorithm based on the quantitative data; a preference learning module that collects historical creation data of multiple video scripts generated using the script generation algorithm and corresponding feedback data, and trains an online preference model; and an online iterative optimization module that obtains user feedback data on the generated video scripts and the trained online preference model, and iteratively optimizes the script generation algorithm.
[0004] For example, Chinese invention patent CN120935427A discloses a method, apparatus, device, and medium for generating a video script. The method includes: acquiring multiple scene description texts of an initial video script; performing semantic analysis on each scene description text to obtain character keywords, action keywords, and background keywords; determining character design information associated with the character keywords and posture design information associated with the action keywords; performing text logic integration on the character design information, posture design information, and background keywords to generate scene description texts corresponding to each scene description text; determining visual and auditory elements associated with the initial video script; and aligning the scene description texts, scene description texts, auditory elements, and visual elements to obtain the final video script.
[0005] However, in the process of implementing the technical solution of the invention in the embodiments of this application, it was found that the above-mentioned technology has at least the following technical problems: In the context of increasingly complex video content production and distribution, especially in business scenarios such as e-commerce promotions, cross-platform operations, and multi-department collaboration, systems often need to simultaneously integrate a large amount of script elements from multiple channels and sources, including product backends, scheduling tables, influencer personalized messages, customer service knowledge bases, and historical activity records. When the input information is large, the data sources are diverse, the content structure is varied, and there are significant redundancies, overlapping conditions, and version overlaps, simply splicing or using traditional deduplication methods is insufficient to guarantee business boundaries and content compliance. In this specific scenario, structured compression of the input information is necessary.
[0006] In the process of compressing information from multiple sources, different input information often shows high similarity only at the level of some fields, while differing in key constraints such as applicable conditions, time windows, or business rules. If the system compresses or merges information based solely on text similarity, keyword overlap, or simple rules, it is highly likely to misjudge inequivalent information as mergeable objects, resulting in erroneous merging problems. The root cause is that existing compression logic often ignores conditional constraints beyond the value itself. For example, the same price value may represent different business semantics depending on the target audience, sales channels, or effective time, but it is incorrectly treated as the same information and merged during compression.
[0007] Taking e-commerce promotional scenarios as an example, the system may receive multiple input messages such as "New Customer Exclusive Price 99 Yuan," "Livestream Limited Price 99 Yuan," and "Member Renewal Price 99 Yuan" within the same activity period. While these messages are identical in terms of price, their target audience, applicable channels, and business rules differ. When the system compresses this type of information to reduce input redundancy and control script length, if it fails to accurately identify these conditional boundaries, it is highly likely to merge multiple messages into a single "99 Yuan Discount" during compression. This results in the final generated video script lacking necessary conditional constraints, leading to incomplete factual expression or breached business boundaries. Similarly, when historical and new versions are input concurrently, if the system cannot distinguish version coverage relationships or effectiveness priorities, it may retain or incorrectly merge outdated statements during compression, further amplifying the risk of mixed input.
[0008] Existing technologies, in the process of compressing multi-source information in video scripts, are prone to mistakenly merging information that has the same numerical value but different applicable conditions, time windows or rules, resulting in confusion of business boundaries and distortion of script content, which cannot meet the production requirements of high consistency and strict constraints for video content. Summary of the Invention
[0009] To address the technical problems of confusion in business boundaries and content distortion caused by mis-merging of information in existing technologies, this invention provides a method and system for automatically generating video scripts based on artificial intelligence. The technical solution is as follows: On the one hand, an artificial intelligence-based method for automatically generating video scripts is provided, the method comprising: S1: Obtain the input information used to generate the video script, and construct standardized information units of the core business elements and constraints of the script through the input information. Generate multi-dimensional distinguishing identifiers for the standardized information units, filter them based on the multi-dimensional distinguishing identifiers, and obtain standardized information unit pairs that meet the preset association criteria to form a candidate association pair set.
[0010] S2: Perform association discrimination on each candidate association pair in the candidate association pair set, generate a set of constraint evidence, and perform constraint verification on the preset action set based on the set of constraint evidence to eliminate actions that do not meet the constraint conditions, thereby obtaining a set of actionable actions.
[0011] S3: Based on the action execution type contained in the action set, perform the corresponding compression processing to obtain compressed information for script generation, and input the compressed information into the artificial intelligence model to automatically generate video scripts.
[0012] On the other hand, an AI-based video script automatic generation system is provided, which includes: an information standardization candidate module, a constraint evidence screening module, and a compression generation module.
[0013] The system comprises the following modules: an information standardization candidate module, which acquires input information for generating video scripts and constructs standardized information units representing the core business elements and constraints of the script based on this input information. It generates multi-dimensional distinguishing identifiers for these standardized information units, filters them based on these identifiers, and obtains pairs of standardized information units that meet preset association criteria, forming a candidate association pair set. A constraint evidence filtering module performs association discrimination on each candidate association pair in the candidate association pair set, generates a constraint evidence set, and performs constraint verification on a preset action set based on the constraint evidence set to eliminate actions that do not meet the constraint conditions, resulting in a set of actionable actions. A compression generation module performs corresponding compression processing based on the action execution types contained in the set of actionable actions, obtaining compressed information for script generation. This compressed information is then input into an artificial intelligence model to automatically generate the video script.
[0014] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: 1. This invention provides an AI-based automatic video script generation method, which for the first time proposes the collaborative application of minimum business semantic unit decomposition and multi-dimensional distinguishing identifier generation to multi-source data processing of video scripts. Through a dual mechanism of structured processing and multi-dimensional distinguishing, the system can not only proactively decompose heterogeneous inputs from product master data, scheduling, historical data, etc., into standardized information units with uniqueness and traceability, but also implement multi-granular feature encoding for each unit through four-dimensional identifiers of semantic structure, numerical / time, condition set, and source version. This combination breaks through the single judgment method of existing technologies based solely on keywords and text similarity, and realizes the proactive separation and accurate identification of information with the same numerical value but different conditions, channels, and versions, preventing the fundamental risk of being mistakenly merged into the same fact due to implicit differences in conditions, rules, and versions. Compared with simply using deduplication or simple rules, the collaborative processing of structured processing and multi-dimensional identifiers in this invention achieves a leapfrog improvement in identification granularity and traceability capabilities, and is particularly suitable for complex business scenarios with high concurrency, strong constraints, and multiple versions.
[0015] 2. This invention, through the synergistic application of a hierarchical, multi-level filtering mechanism (semantic domain narrowing, numerical / time bucket filtering, conditional fingerprint matching, and Top-K scale control) and structured constraint evidence induction, can efficiently screen out candidate pairs with comparable business structures in stages, while dynamically eliminating conflicting information caused by incompatible conditions, rules, and versions. For example, if two price information pieces are only numerically identical but differ in time window, channel, or rule, they will be automatically isolated and output after multi-level filtering and inductive verification, rather than being simply merged. This effectively avoids compliance risks and historical information pollution problems caused by mixing "redundant information from different channels / new and old versions / multi-caliber sources." Compared with the passive processing method of existing technologies that rely solely on global rules / manual verification, the multi-level filtering and inductive analysis composite mechanism of this invention can proactively, batch-wise, and automatically identify and block potential risk paths, achieving precise prevention and control of erroneous merging and improved boundary tracing capabilities under large-scale multi-source data processing.
[0016] 3. This invention innovatively introduces an evidence-driven action screening and dynamic branching decision-making mechanism into the data compression process. By real-time determination of the uncertainty and high-risk level of each candidate pair, it achieves adaptive switching between a binary strategy that optimizes compression efficiency in scenarios with sufficient evidence and automatically provides a fallback in high-risk scenarios. When evidence is sufficient, the system intelligently selects the action with the lowest expected cost by combining risk probability, average loss per unit action, and structural complexity score, significantly improving data compression and generation efficiency. In scenarios with insufficient evidence or a concentration of high-risk fields, the system automatically triggers a risk-priority branch, allowing only robust and safe processing actions and resolutely avoiding high-risk erroneous merging. This branching mechanism, based on evidence and business risk for dynamic decision-making, overcomes the shortcomings of existing technologies where static and extensive decision-making leads to difficulty in covering erroneous merging. It can achieve zero tolerance for erroneous merging and zero content pollution in scenarios with extremely high uncertainty and complexity, greatly improving the security and business credibility of the automatic compression link. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 A flowchart of an artificial intelligence-based automatic video script generation method provided in this application embodiment; Figure 2 A schematic diagram of the structure of an AI-based automatic video script generation system provided in this application embodiment; Figure 3 This is a schematic diagram of the overall process for input information processing and action branch selection provided in the embodiments of this application; Figure 4 This is a schematic diagram of the action branch decision and final action execution process provided in the embodiments of this application. Detailed Implementation
[0019] The following provides explanations for some of the terms used in this application. It should be noted that these explanations are for the convenience of those skilled in the art and do not constitute a limitation on the scope of protection claimed in this application.
[0020] The embodiments of this application involve at least one, including one or more; where "multiple" means two or more. Furthermore, it should be understood that in the description of this specification, terms such as "first," "second," and "third" are used only for descriptive purposes and should not be construed as indicating relative importance or order. For example, "first device" and "second device" do not represent the degree of importance of the two or their order, but are merely for descriptive distinction. In the embodiments of this application, "and / or" merely describes an association relationship, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0021] The directional terms mentioned in the embodiments of this application, such as "up", "down", "left", "right", "inner", and "outer", are only for reference to the directions in the accompanying drawings. Therefore, the directional terms used are for better and clearer explanation and understanding of the embodiments of this application, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of this application.
[0022] References to "one embodiment," "in some examples," or "some embodiments" as described in the embodiments of this application mean that one or more embodiments of this specification include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in some examples," "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0023] In this embodiment of the invention, sometimes a subscript such as W1 may be written in a non-subscript form such as W1. When the difference is not emphasized, the meaning they express is the same.
[0024] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0025] Embodiment 1 of the present invention provides a method for automatically generating video scripts based on artificial intelligence, such as... Figure 1 The diagram shown is a flowchart of an artificial intelligence-based automatic video script generation method provided in an embodiment of this application. The processing flow of this method may include the following steps: S1: Obtain the input information used to generate the video script, and construct standardized information units of the core business elements and constraints of the script based on the input information. Generate multi-dimensional distinguishing identifiers for the standardized information units, and filter them based on the multi-dimensional distinguishing identifiers to obtain standardized information unit pairs that meet the preset association criteria, forming a candidate association pair set. In this step, the input information is decomposed into the smallest business semantic unit, and each independently declarable and constrained verifiable fact is constructed into a standardized information unit set {x}. k This is to reduce the risk of uncontrollable cross-condition merging. Each standardized information unit x k It includes at least: a main field, a high-risk field, a rule field, and a source version field. Here, k is a positive integer ranging from 1 to N, where N is the total number of standardized information units generated after the current input information is split, and each x... k It is unique within the set.
[0026] To further clarify, the input information may include product master data, activity configuration data, campaign scheduling data, compliance and prohibited word rules, influencer / customer service statements, inventory and purchase limit strategies, and historical script version information, etc. The input format may be structured fields, semi-structured text, or API returned data; before proceeding to this step, it will be uniformly parsed into an internal representation containing key-value fields and original fragment references.
[0027] The minimum business semantic unit decomposition is based on the principle that one information unit corresponds to one verifiable fact. When the same input segment contains multiple high-risk field values, multiple time windows, or mutually exclusive applicable conditions, it is decomposed according to the combination of value-applicable condition-time window to obtain a standardized information unit set {x}. k}, and for each x k Retain the source version and original fragment location information for backtracking. The aforementioned original fragment location information may include the position index of the input data in the original structure, field path, or unique identifier, to support subsequent backtracking and tracing operations.
[0028] The main field indicates the object or set of objects to which the information refers. The main field can be a product identifier, activity identifier, channel identifier, audience identifier, store identifier, or a combination thereof. The high-risk field carries critical values that significantly impact the script content and are prone to misinterpretation. The high-risk field can adopt a three-element structure of "value-applicable conditions-time window," where the value must include at least one of the following: price, coupon amount, discount, gift, or inventory threshold, or a combination thereof. The applicable conditions must include at least one of the following: channel, region, audience, threshold, or overlapping relationship, or a combination thereof. The time window must include at least the effective time and the expiration time or an available time period. The rule field records constraints, including at least one of the following: non-commutative constraints, mutually exclusive / dependent constraints, or mandatory / prohibited constraints, or a combination thereof. The source version field records the source, version number or batch, update timestamp, review status, etc., making this information unit traceable, rollbackable, and reviewable. The above three-element structure can be a single field or any combination thereof, depending on the specific business scenario.
[0029] It should be noted that during the construction phase, it is allowed to place null values for missing fields and record the reason for the missing value. At the same time, the missing value is used as one of the evidences for subsequent probes and action selection, thereby avoiding the introduction of unauthorized facts due to forced completion.
[0030] To facilitate subsequent filtering, retrieval, and candidate generation, a set of multi-dimensional distinguishing identifiers is generated for each standardized information unit. The multi-dimensional distinguishing identifiers include at least: semantic structure identifier, numerical / time coarse-grained bucket identifier, condition set fingerprint, and source version identifier.
[0031] Semantic structure identifiers encode the subject type, field slot structure, and expression intent, used to cluster information with the same structure into the same retrieval space; numerical / time coarse-grained bucket identifiers coarsely bucket the numerical values and time windows in high-risk fields, such as price range buckets, activity day / week buckets, and start and end time period buckets; condition set fingerprints fingerprint the applicable condition set, used to support approximate retrieval and similarity calculation; source version identifiers encode the source channel, version number, update time, and review status, used for subsequent version consistency judgment and conflict handling.
[0032] After completing the above construction and identifier generation, a multi-level filtering process is performed based on multi-dimensional identifier differentiation to generate a candidate association pair set: The semantic structure identifier performs the first level of domain narrowing, generating candidates only within the same or comparable structures (referring to standardized information units with similar main fields, field slots, and key semantics, which can be merged or compared in business operations); then, a second level of hard filtering is performed using numerical or time-based coarse-grained bucket identifiers to directly exclude combinations that clearly cross time periods or numerical ranges and are inexplicable; the source version identifier is called to trace and determine the source domain, version number, and review status of standardized information units, further separating information units from different sources, different versions, or with inconsistent review statuses and no direct inheritance relationship, prioritizing the retention of standardized information units with authoritative sources, the latest versions, and approved reviews, while eliminating standardized information units with historical redundancy or source conflicts; finally, a conditional set fingerprint is used for approximate retrieval, and the Top-K candidate association objects with the highest similarity are retained for each standardized information unit, thus obtaining a candidate association pair set {(x p ,x q The subscripts p and q are used for subsequent probe verification and action selection. Both subscripts p and q are positive integers, and p ≠ q. In this specification, "interpretable" refers to differences that are acceptable based on sufficient logic / rules according to business rules, field associations, or historical data; "non-interpretable" refers to conflicts that lack business support and are prone to incorrect mixing.
[0033] In this invention, (x) a ,x b ), (x e ,x f Combinations such as (x) and (x) p ,x q The symbols (x, b, e, f, etc.) have a consistent meaning and are used to represent any pair of standardized information units selected as candidate association pairs. The letter subscripts a, b, e, f, etc., are either positive integers or used to represent abstract numbers; each subscript is unique, and each symbol, once given in this specification, remains unique and immutable. Regardless of the use of (x... a ,x b ), (x e ,x f ) or (x p ,x q Symbols such as ) all refer to standardized information unit pairs that need to be merged, compressed, or kept independent in business processing, and all belong to the set of all information units {x}. k The different members of}. The following is a concise description, uniformly using (x p ,x q ) represents any candidate association pair. Other symbols are only examples of symbol extension and do not change the core object definition.
[0034] Multi-level filtering is performed in order from coarse to fine and from low to high cost to control the candidate size while ensuring recall. The first round of elimination is completed by prioritizing structural comparability and high-risk field boundaries. Then, conditional approximation retrieval and Top-K1 truncation are performed within a small candidate domain. The aforementioned Top-K1 is the candidate size control parameter, and K1 can be a preset constant or adaptively determined according to the input size and computing power budget.
[0035] In this embodiment, to perform approximate retrieval and Top-K1 truncation of candidate related objects, the similarity of condition sets, overlap of time windows, and similarity of source versions are obtained respectively. The applicable conditions of each standardized information unit are normalized and parsed, and conditions such as channel, region, population, threshold, and superposition relationship are mapped to unified enumeration or structured key values. Condition set representations (set / vector / fingerprint) are generated in a predetermined order. Then, the similarity is calculated based on the intersection and union of the condition sets of two information units. The similarity can be expressed as (weighted) intersection-union ratio to reflect the matching degree of key conditions (such as channel, population, threshold), i.e., condition set similarity. The effective and ineffective times of time windows are extracted from the high-risk field. The overlap and union durations of the two time windows are calculated, and the overlap duration is used as the ratio of the overlap duration to the union duration as the time window overlap degree, which is used to characterize the consistency between the two at the time boundary. The source domain, version number / batch, update timestamp and review status are extracted from the source version field. The source version proximity is obtained based on whether the source is consistent, whether the review status is compatible, and information such as update time difference / version difference. The update time difference or version difference can be mapped to a proximity score through a decay function.
[0036] Example A (different values and different time windows): Standardization and filtering of two price standards across dates. Input information fragments include: Source X gives "Product S is 99 yuan on 12 / 12", and Source Y gives "Product S is 109 yuan on 12 / 13". Construct information units x respectively. a With information unit x b Information unit x a The time window for high-risk fields is 12 / 12, and the information unit x b The high-risk field time window is 12 / 13. After generating coarse-grained numerical / time bucket identifiers for both, they fall into different time buckets and are preferentially separated in the second-level hard filtering stage, thereby reducing the entry point for erroneous merging across date scopes; if the business allows cross-day merging into multi-day segment scopes, (x) can still be used. a ,x b These pairs are retained as candidate associations, but will be used as evidence to drive action selection in subsequent steps based on time window differences. Example B (same value but different applicable conditions): Standardization and candidate generation for the same price across different channels / target audiences. Source X provides "Livestream exclusive price 99", while source Z provides "Short video channel price 99, limited to new customers only". Construct information unit x. c With information unit x d Both have identical main fields, values, and time windows, but different sets of applicable conditions. Furthermore, the rule fields record "channels cannot be exchanged, and audience restrictions cannot be deleted or modified." During candidate generation, semantic structure identifiers place them in the same retrieval domain, and condition set fingerprints make them highly similar candidates, thus (x c x d The candidate association pairs are included in the set of candidates, providing an object basis for subsequent probes to determine whether they can be merged or whether differential binding is required.
[0037] Example C (Suppression of Candidate Cluster Inflation Caused by Same Template Copy): Top-K1 cluster control addresses the issue when multiple channels reuse the same selling point template, "Only XX yuan available, limited time offer," leading to generally high text similarity. If candidates are generated solely based on text similarity, different dates, channels, and thresholds will mutually become candidates, resulting in candidate cluster inflation. By first narrowing the domain through semantic structure identification, using time bucket hard filtering to cut off obvious cross-time period combinations, and limiting the upper limit of the number of candidates for each information unit through Top-K1, the scale of candidate association pairs is stabilized within a controllable range, thus mechanistically suppressing cluster inflation and the spread of erroneous merging.
[0038] As can be seen from Examples A to C above, this step is not a simple text deduplication, but rather an explicit decomposition of high-risk fields into "value-condition-time window" and a candidate generation mechanism of "semantic domain narrowing-bucket hard filtering-condition approximation Top-K1" driven by multi-dimensional identifiers. This significantly reduces the situation where unrelated units across channels and time periods are mistakenly listed as candidate association pairs.
[0039] S2: For each candidate association pair in the candidate association pair set, perform association discrimination to generate a constraint evidence set. Then, based on this constraint evidence set, perform constraint verification on the preset action set to eliminate actions that do not meet the constraints, thus obtaining a set of actionable actions. In this step, for each candidate association pair (x) in the candidate association pair set... p ,x q By employing a field comparison and inductive method, combined with the attributes and contextual data of information units, key business fields and rule fields are automatically extracted. Attribute value comparisons, constraint compatibility checks, and source information analysis are then performed uniformly. Differences, conflicts, and compatibility of all relevant fields are integrated and summarized to form a structured constraint evidence set. This constraint evidence set directly reflects the compatibility and potential conflict types between information units and provides evidentiary support for subsequent action selection. The preset action set includes merging, bundling and compression, and not merging.
[0040] A field-based inductive criterion-driven elimination method is used to filter the action set. Specifically, the inductive criteria for each key business field and rule field are automatically analyzed. For irreconcilable field differences (such as conflicts in key parameters, strong mutual exclusion constraints, incompatibility in version tracing, etc.), the relevant actions (such as merging or compressing actions) are directly determined to be infeasible and removed from the action set. The system not only focuses on the absolute consistency of field values but also considers the interpretation space of business rules (such as partial overlap or coexistence of business rules) to avoid mistakenly eliminating reasonable actions. Finally, the set of feasible actions corresponding to each candidate association is output. This is used for subsequent compression processing. The elements of the action set are one or more of the preset action sets (merge, do not merge, bundle compression).
[0041] This approach primarily relies on global field comparison and comprehensive business logic, making it suitable for business scenarios with clear field structures and well-defined rule boundaries.
[0042] S3: Based on the action execution type contained in the action set, perform corresponding compression processing to obtain compressed information for script generation. Input this compressed information into the artificial intelligence model to automatically generate the video script. In this step, based on the action set output from S2... Perform the corresponding compression process and generate compressed information for the script.
[0043] It should be noted that: when the set of possible actions Execute directly when there is only one action; when When multiple actions are involved, the action selection branch is entered, and the uncertainty U is used. pq High-risk level H pq Different strategies are selected based on the trigger amount to achieve the same goal, namely, to select the final action while ensuring that there is no mixed writing and the risk is controllable; the two implementation methods of action selection branch will be further explained in subsequent embodiments.
[0044] In specific embodiment two, this embodiment proposes a constraint discrimination method based on a multi-dimensional probe mechanism, which differs from embodiment one. For each candidate association pair (x... p ,x q This method sequentially executes multiple types of business probes and generates a detailed set of constraint evidence accordingly. Through multi-angle and multi-granularity probe discrimination, it achieves refined identification and tracing of business constraints and potential risks, making it suitable for business scenarios with higher requirements for the granularity and traceability of discrimination results.
[0045] Specifically, for each candidate association pair (x p ,x qMultiple business probes are pre-configured, each focusing on different business judgment dimensions, and executed sequentially to comprehensively identify potential constraints and risks. The specific probes and their judgment logic are as follows: Key dimension probe P1, for x p With x q High-risk fields (such as values, applicable conditions, time windows, etc.) are compared for consistency item by item. The system determines whether the values are consistent, whether the discrepancy is interpretable or uninterpretable, and provides a specific conclusion. For example, if prices are the same but time windows do not overlap, it is considered an interpretable discrepancy; if values completely conflict and there is no reasonable explanation, it is considered an uninterpretable discrepancy.
[0046] Exchange the default probe P2 to detect whether the rule fields of the two units (such as channels cannot be exchanged, audiences cannot overlap, thresholds cannot be superimposed, etc.) are violated when the value-applicable conditions-time window combination is exchanged or reorganized. If a rule conflict or constraint violation is found, specific evidence of the default is output.
[0047] The implied contradiction probe P3 performs in-depth analysis of the condition set and rule fields to determine whether there is a necessary conflict or mutual exclusion relationship between two units. For example, if one rule requires a certain occurrence while the other rule prohibits it, it is marked as an implied contradiction.
[0048] Source version probe P4, verify x p With x q The system takes into account factors such as the source, version number, and review status to determine whether a version can be directly overwritten, requires multiple versions to be retained, or has conflicts regarding source priority or validity period. For example, if a new version can directly overwrite an old version, it is marked as an overwriteable version; if the source / review status is incompatible, evidence of a version conflict is output.
[0049] The arrangement of the probes is designed based on the dependencies and progressive nature of evidence information in the actual business compression process. Structural and rule-based conflicts are typically prioritized, followed by identification of source and version-level relationships, thereby ensuring the comprehensiveness and accuracy of the judgment process. In this embodiment, the probe configuration types, execution order, and evidence item structure can all be adjusted and expanded according to business needs. P1-P4 are not the only implementation method; more probe types can also be introduced.
[0050] In actual execution, all probes P1-P4 are triggered for each candidate association pair. The execution results of each probe will be fully recorded and written into the evidence pool of the current candidate association pair. Even if the preceding probe has hit key evidence (such as finding unexplainable differences or rule conflicts), subsequent probes will continue to be executed in order to summarize all constraints and potential risks and form a traceable and reusable set of constraint evidence.
[0051] After each probe is executed, at least one evidence item is written into the corresponding evidence pool, thereby forming the constraint evidence set E corresponding to the candidate association pair. pq The constraint evidence set shall include at least: the hit probe number, the location of the hit field and a summary of the cause, the confidence level of the evidence, and the source version citation information.
[0052] Building upon the above, the transformation from probe execution results to a computable and referable set of evidence is completed, enabling subsequent processing of candidate association pairs to no longer rely on implicit judgments but instead possess a clear evidentiary basis. For ease of understanding, an example is provided below: Example D (P2 exchange default probe hit): Channel / audience conditions are not exchangeable, candidate related pair (x c x d This is derived from Example B of Embodiment 1. Wherein, information unit x c The message states, "During the National Day holiday, the live stream exclusive price is 99"; Information Unit x d The message states, "During the National Day holiday, the short video channel price is 99 and is only for new customers." The key dimension probe P1 is executed, determining that the two are consistent in the numerical dimension and time window dimension of the high-risk field, but their applicable condition sets are different. Subsequently, the exchange default probe P2 is executed. When performing an exchangeability test on the combination of "value-applicable conditions-time window" elements, the constraints of non-exchangeable channels and non-modifiable audience restrictions recorded in the rule fields are triggered. P2 determines that this candidate association pair has an exchange default risk and sends it to the evidence set E. cd Write an evidence item to characterize that, under the current constraints, the candidate association pair does not satisfy the security condition that high-risk fields are commutative. The evidence set E is then defined. cd The evidence item in the document can be specifically stated as: "P2 hit, applicable condition field has channel non-exchange restriction, involving x" c Version V1, x d Version V2, "High confidence level of evidence". This evidence item also records the triggered rule field and its source version reference information to support subsequent interpretation and auditing.
[0053] Example E (P4 source version probe hit): The input information fragment includes two price calibers from the same source, where information unit x e The old draft version uses the caliber "12 / 12 price 99", information unit x f To establish the approved standard for the new version, "12 / 12 price 109", construct information unit x. e With x f Then, the source version probe P4 is executed. By comparing the source identifier, version number, and review status, x is determined. f For x e A clear version coverage relationship is established. Based on this, in evidence set E efThe corresponding evidence items are generated to characterize that the candidate association pair has a definite coverage relationship in the version dimension, and the relevant version number and review status information are recorded. Evidence set E ef The evidence item could be: "P4 hit, source version field comparison result is x". f (Version V2, approved) Regarding x e (Version V1, draft) forms an overriding relationship. The reason for the overriding is that the new version, approved from the same source, overwrites the old draft version, and the evidence has a high degree of confidence.
[0054] As can be seen from Examples D and E above, the role of the probe mechanism is not only to determine whether candidate association pairs are similar, but also to transform implicit rules such as non-commutativity and version coverage into structured, computable, and traceable evidence items, and to unify them into a set of constrained evidence. Based on the set of constrained evidence, action elimination and action selection can be further completed in subsequent embodiments, thereby enabling the overall decision-making process to have clear logical hierarchy and interpretability.
[0055] like Figure 3 As shown in the schematic diagram of the overall process of input information processing and action branch selection provided in this application embodiment, input information for generating video scripts is obtained and standardized information units are constructed. Subsequently, multi-dimensional distinguishing identifiers are generated for these standardized information units. After generating multi-dimensional distinguishing identifiers, the system performs hierarchical filtering to obtain standardized information units and forms a candidate association pair set. For each candidate association pair in the candidate association pair set, the system sequentially performs multi-category business probe discrimination processing. Through the above processing, a constraint evidence set corresponding to each candidate association pair is obtained. Based on the constraint evidence set, a preset action set is constrained and verified to eliminate actions that do not meet the constraint conditions, resulting in an actionable action set. Further judgment: Does the actionable action set contain only one action? If so, the action is taken as the final execution action, and the corresponding data processing operation is performed; if not, it is assigned to different action selection branches based on uncertainty and high-risk level, and proceeds to the next stage of judgment and execution.
[0056] In specific embodiment three, based on embodiments one and two, a multi-evidence priority branch elimination method based on constrained evidence sets is further described.
[0057] For each candidate association pair, the obtained set of constraint evidence is categorized by constraint type (evidence types can be automatically identified and categorized through field labels, rule mappings, or business criteria). Based on the applicability of different types of evidence items to preset actions, actions are executed to remove them one by one. Evidence items include, but are not limited to, high-risk field non-exchangeable evidence, mutually exclusive rule conflict evidence, version coverage or non-coverable evidence, etc. Specific removal rules include: When the constraint evidence set contains evidence items indicating that high-risk fields are not interchangeable, the system determines that performing a merge operation under misaligned current conditions or time windows will lead to semantic ambiguity risks. Based on this, the system directly removes merge-type actions and retains only bundled compression or non-merge actions. When the constraint evidence set contains evidence items indicating that the source versions have a clear overriding relationship and do not conflict with other high-risk field constraints, the system allows merging or replacement merging as an actionable action. When the constraint evidence set contains evidence items indicating that contradictions are involved and cannot be explained, actions that may lead to conflict propagation are further removed, and only bundled compression or non-merge actions with stronger difference isolation capabilities are retained.
[0058] In the absence of explicit negative evidence, multiple actions are allowed to be retained simultaneously, forming the set of actionable actions for the current candidate association pair.
[0059] During the action removal process, if the constraint evidence set contains multiple evidence items of different types that affect the action decision, the system processes them according to pre-defined constraint priority rules. High-risk fields and rule-based constraints take precedence over version coverage evidence. When there are conflicts between different constraint conclusions, the system prioritizes business security and content compliance, automatically selecting a more conservative action combination and fully recording the conflict details and removal reasons for subsequent review, auditing, or rule optimization. For example, if evidence item indicating a high-risk field cannot be exchanged (exchange violation probe P2) is detected, the merge action will be removed first. Coverage evidence from other probes, such as the source version probe P4, only takes effect if it does not violate the high-risk constraint. If multiple constraints conflict, the system prioritizes business security and content compliance, automatically selecting the most conservative and robust action set and recording all conflict details for subsequent review or optimization.
[0060] After the above elimination process, candidate association pairs (x) are obtained. p ,x q The set of possible actions The branching mechanism is triggered when there are multiple actions in the action set.
[0061] When the set of available actions contains only one action, that is The corresponding action is executed directly; when the set of available actions contains multiple actions, that is... Calculate the uncertainty U pq High-risk level H pq This triggers subsequent branching mechanisms, where uncertainty characterizes whether the evidence is sufficient, whether the probe's conclusion is unique, or whether there are source conflicts; and high-risk level characterizes the degree of constraint exerted by the candidate association on high-risk fields such as price, time window, and threshold. Based on the comprehensive evaluation results of uncertainty and high-risk level, a selection is made among different strategy branches.
[0062] when When calculating the uncertainty U pq High-risk level H pq Based on this, you can choose to enter either branch one or branch two.
[0063] ; ; Where: rE(p,q) represents the candidate association pair (x p ,x q The reliability of evidence is used to reflect the binding evidence set E. pq The comprehensive evaluation results in terms of structural consistency, probe judgment consistency, and evidence coverage range from 0 to 1, with larger values indicating more sufficient evidence and clearer judgments; rE(p,q) can be calculated using a weighted normalized scoring method, where E... pq The key structural fields, consistency of probe conclusions, and evidence coverage are each assigned a weight, and the overall reliability of the evidence is obtained. For example, when E pq When all probes yield clear conclusions, have no structural conflicts, and provide complete evidence coverage, rE(p,q) is set to 1; if some probes yield uncertain conclusions or the evidence coverage is incomplete, the value of rE(p,q) is reduced accordingly. The scoring rules can be optimized and adjusted based on actual business needs and historical cases. P3 (p,q) represents the implied contradiction indicator, which takes the value 1 when the implied contradiction probe P3 cannot provide a unique decision or when there are unresolved conflicts; otherwise, it takes the value 0. src (p,q) represents the source conflict indicator, which takes the value of 1 when candidate associations come from different sources and there is no explicit priority, coverage relationship, or audit constraint; otherwise, it takes the value of 0. λ1 is the implied conflict indicator adjustment coefficient, and λ2 is the source conflict indicator adjustment coefficient, used to characterize the degree of influence of implied conflict uncertainty and source conflict uncertainty on the overall uncertainty, respectively. The adjustment coefficients λ1 and λ2 are preset or optimized and updated through historical merge correction results. Khigh represents a predefined set of high-risk fields, including at least one or more of price, time window, threshold condition, applicable population, and overlay rules; wk represents the weight coefficient of high-risk field k on the overall verification risk, the value of which is pre-configured by the business risk assessment results or obtained through statistical learning based on historical mixed writing and erroneous merging cases; I k (p,q) are field indicators, when the candidate association pair (x) p ,x q The value is 1 if any information unit contains field k, otherwise the value is 0.
[0064] After obtaining the uncertainty and the risk level, the uncertainty is based on the maximum allowable value U within the specified range. th The maximum allowable value H within the specified range for the high-risk level. th Classify candidate association pairs if and only if When the evidence for the current candidate association pair is deemed sufficient and the business risk is controllable, the branch that minimizes the expected cost (i.e., branch one) is prioritized, and the action with the optimal overall risk and resource consumption among all possible actions is selected as the final action; when If the current candidate association is deemed to have insufficient evidence or uncontrollable business risks, a robust risk-priority branch (i.e., branch two) is adopted, prioritizing actions that are controllable, explainable, and not easily confused, in order to minimize the risk of business loss.
[0065] Example F: For candidate association pairs (x e ,x f The data originates from Example E in Example 2. After executing the probe, the result is a P4 hit (the new version's approval overwrites the old version), and the P3 determination is consistent. The overall evidence consistency score rE(e,f) = 0.95 (relatively high), and there are no undetermined P3 values or source conflicts. λ1 = λ2 = 0.2, therefore U... ef =1-0.95+0.2×0+0.2×0=0.05, the high-risk field only involves price (weight 1.5), and does not involve time window / threshold, so we get H. ef =1.5×1=1.5, assuming the branch criterion is U th =0.3, H th =3.0, then U ef =0.05<0.3,H ef =1.5 < 3.0, so the decision is made to proceed to branch one, and the final action is selected according to the principle of minimizing expected cost. During this process, since there is no P2 match in the evidence set (no rule violation) and no P3 contradiction, all actions are not eliminated; therefore, the set of possible actions is... ={Merge, bundle and compress, do not merge}.
[0066] Example G: For candidate association pairs (x p ,x q After the probe was executed, P3 could not be definitively determined (e.g., incomplete input), and P1, P2, and P4 were all inconclusive. The evidence consistency score rE(p,q)=0.4, λ1=0.2, λ2=0.2, and P3 was undetermined (I P3 (p,q) is undetermined = 1), then U pq =1-0.4+0.2×1+0.2×0=0.8. Meanwhile, the candidate association pairs involve price (weight 1.5), time window (weight 1.2), and threshold (weight 1.1), resulting in H. pq=1.5×1+1.2×1+1.1×1=3.8, since U pq =0.8>0.3 or H pq =3.8>3.0, indicating a move to branch two. A more robust action is chosen to prevent high-risk erroneous merging or mixed-up writing. During this process, due to the inability to qualitatively classify P3 and the presence of many high-risk fields, the merging action is proactively removed to prevent business risks (as merging at this point carries a significant risk of mixed-up writing). Therefore, the set of possible actions is... ={Bundled and compressed, not merged}.
[0067] By establishing the above indicator formulas and clarifying the branch criteria, action decisions can be made automatically and quantitatively with the support of structured evidence. This ensures both compression efficiency and effectively avoids confusion and factual errors in high-risk business scenarios.
[0068] Specific Implementation Example 4: This example, based on Implementation Example 3, further explains the action selection method for Branch 1. Branch 1 is suitable for situations where the evidence is sufficient and the risk is controllable. (The text then abruptly shifts to discussing the set of possible actions.) For each action 'a', the expected cost function ECost(a) is actively established.
[0069] By automatically calculating the probability P(bad|E) of the risk of action a leading to mixed writing, incorrect interpretation, or incorrect time window under the existing evidence set and action conditions using historical data and evidence confidence levels (e.g., using Bayesian models or scoring tables), we can obtain the probability P(bad|E) of the risk of action a leading to mixed writing, incorrect interpretation, or incorrect time window. pq For historical instances where action 'a' failed, the direct economic losses, complaints and rework, and data corrections resulting from issues such as mixed writing and incorrect definitions are traced and statistically analyzed. The results are automatically attributed and aggregated to derive the average loss per unit action, L(a,H). pq Based on the changes that action a brings to the data structure (such as the need to build differential slots or maintain multiple versions), the established scoring criteria are referenced to output the structural complexity score C(a). The structural complexity score C(a) can be comprehensively considered in combination with data redundancy, maintenance costs, model input complexity, etc. The specific scoring criteria can be flexibly configured according to the business scenario.
[0070] Construct a cost function based on risk probability, average loss per unit action, and structural complexity score: ; Actively iterate through all possible actions and select the action with the lowest risk upper bound as the final decision a*: ; For example F, the expected cost is calculated for each action in the set of possible actions. The merging action has a failure probability of 0.05 under the existing evidence conditions, an average loss per unit of 1.2, a structural complexity score of 0.03, and an expected cost of 0.09. The bundling and compression action has a failure probability of 0.01 and an average loss per unit of 1.0, but due to the need to maintain a differential structure, its structural complexity score is 0.18, and its expected cost is 0.19. Although the non-merging action does not pose a risk of data mixing, its structural complexity score is 0.21 and its expected cost is 0.21 due to the high data size and subsequent processing costs. After comparison, the final decision is a. =0.09 indicates that the merging action has the lowest expected cost, and therefore the merging action is selected as the final action to be executed.
[0071] Specific Implementation Example 5: This example, based on Implementation Example 3, further explains the action selection method for Branch 2. Branch 2 is applicable to situations with insufficient evidence or strong constraints on high-risk fields. For each possible action a∈ Actively establish risk ranges [pa, Risk upper bound criterion: Based on a historical case database, the failure probability (e.g., mixed writing, incorrect interpretation, missing conditions, etc.) of each type of action 'a' in scenarios with insufficient evidence or conflicting fields is statistically analyzed over intervals to obtain the historical average failure probability pa (the average failure probability of the same type of action in scenarios with insufficient historical evidence or conflicting fields); this is combined with the current uncertainty U. pq Calculate the upper bound probability pa of the risk + : Where κ is a weighting parameter, reflecting the amplifying effect of uncertainty on the probability of the upper bound of risk when evidence is insufficient; its specific value shall be determined by professionals in the field. Construct the expected cost function for the upper bound of risk: ; Actively iterate through all possible actions and select the action with the lowest risk upper bound as the final decision a*: ; For example G, the upper bound of risk and expected cost are calculated for each action in the set of possible actions. The bundled compression action has a mean risk of 0.07 based on historical statistics, and the current uncertainty U... pqThe risk upper bound probability of the first action is 0.6, with a weight parameter k of 0.2 (obtained from business requirements or historical data fitting). Under the current uncertainty conditions, its risk upper bound probability is 0.07 + 0.2 × 0.6 = 0.19, corresponding to an average unit loss of 1.5. The structural complexity score is 0.09, and its expected risk upper bound cost is 0.375. The historical average risk of the non-merging action is 0.01, with a risk upper bound probability of 0.01 + 0.2 × 0.6 = 0.13 and an average unit loss of 0.5. However, due to the independent output information, the structural complexity score is higher at 0.25, and its expected risk upper bound cost is 0.315. Comparatively, the non-merging action has the lowest expected risk upper bound cost, and the final decision is a. =0.315, based on which the non-merging action is selected as the final action to be executed.
[0072] When choosing to merge, x p With x q Merge duplicates into a single message while retaining traceable metadata; if you choose not to merge, x will be... p With x q Each remains independent and maintains its own conditional boundaries and time window boundaries; when bundled compression is selected, for x... p With x q The largest common substructure is extracted as a shared skeleton, and the different parts are stored as a differential slot list (including at least one or a combination of price slot, time slot, threshold slot, and audience slot), forming a differentially bundled shared skeleton and differential slot list. This is further encoded into an input format that the model can easily follow to prevent cross-slot code mixing. The compressed information is then input into the AI model to automatically generate the video script.
[0073] like Figure 4 As shown in the schematic diagram of the action branch decision and final action execution flow provided in this application embodiment, starting from the allocation of different action selection branches based on uncertainty and high-risk level, the process first determines whether the uncertainty is less than or equal to the maximum allowed value of the high-risk level within the specified range. If not, it proceeds to action branch two, the robust risk priority branch, and selects the action with the lowest expected cost at the upper risk bound as the final action to be executed. If yes, it further determines whether the high-risk level is less than or equal to the maximum allowed value of the high-risk level within the specified range. If yes, it proceeds to action branch one, the expected cost minimization branch, and selects the action with the lowest expected cost as the final action to be executed. If not, it proceeds to action branch two, the robust risk priority branch, and selects the action with the lowest expected cost at the upper risk bound as the final action to be executed. Simultaneously, the corresponding data processing operation is performed based on the final action to be executed.
[0074] Specific Implementation Example Six: This example further illustrates the role and implementation method of the artificial intelligence model in the automatic video script generation process. The artificial intelligence model is a generative model based on deep learning, and the following structure and process can be selected: The model can be an encoder-decoder architecture, where the encoder receives and parses the compressed structured input information (including merging and bundling compression), and the decoder outputs standardized script text or multi-field script fragments. Common implementations include text generation models based on the Transformer architecture, sequence-to-sequence (Seq2Seq) models, and pre-trained-fine-tuning generation models (such as BERT and GPT).
[0075] The model input consists of compressed information generated in the aforementioned embodiments, specifically structured data that has undergone field summarization, evidence-driven elimination, and multi-dimensional structure annotation. This input may include business master fields, high-risk fields, rule fields, source version fields, and final action tags, and is provided to the model in a pre-defined format (such as JSON, table structure, or custom encoding).
[0076] The model outputs a complete video script, or structured script fragments such as shot breakdowns, dialogue, subtitles, selling points, and time windows, which can be directly used in subsequent stages of the video production chain.
[0077] The model can be trained in a supervised manner using large-scale historical script samples and actual business data, and iteratively optimized using automatic evaluation metrics (such as BLEU, ROUGE, and business rule constraints). During model fine-tuning, structural labels of compressed information can be introduced to improve the model's adaptability and fault tolerance to compressed input structures.
[0078] like Figure 2 The diagram shown is a structural schematic of an AI-based automatic video script generation system provided in an embodiment of this application, including: an information standardization candidate module, a constraint evidence screening module, a compression generation module, and a management database.
[0079] The information standardization candidate module and the constraint evidence screening module are connected, the constraint evidence screening module and the compression generation module are connected, and the information standardization candidate module, the constraint evidence screening module and the compression generation module are all connected to the management database; the management database is used to store various parameters involved in an artificial intelligence-based video script automatic generation system.
[0080] The system comprises the following modules: an information standardization candidate module, which acquires input information for generating video scripts and constructs standardized information units representing the core business elements and constraints of the script based on this input information. It generates multi-dimensional distinguishing identifiers for these standardized information units, filters them based on these identifiers, and obtains pairs of standardized information units that meet preset association criteria, forming a candidate association pair set. A constraint evidence filtering module performs association discrimination on each candidate association pair in the candidate association pair set, generates a constraint evidence set, and performs constraint verification on a preset action set based on the constraint evidence set to eliminate actions that do not meet the constraint conditions, resulting in a set of actionable actions. A compression generation module performs corresponding compression processing based on the action execution types contained in the set of actionable actions, obtaining compressed information for script generation. This compressed information is then input into an artificial intelligence model to automatically generate the video script.
[0081] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of the present invention is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)). Where there is no conflict, the solutions in the above embodiments can be combined.
[0082] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0083] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0084] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0085] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope and intent of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and variations.
Claims
1. A method for automatically generating video scripts based on artificial intelligence, characterized in that, Includes the following steps: S1: Obtain input information for generating video scripts, and construct standardized information units of core business elements and constraint relationships of the script through the input information. Generate multi-dimensional distinguishing identifiers for the standardized information units, filter based on the multi-dimensional distinguishing identifiers, and obtain standardized information unit pairs that meet preset association criteria to form a candidate association pair set. S2: Perform association discrimination on each candidate association pair in the candidate association pair set, generate a constraint evidence set, and perform constraint verification on the preset action set based on the constraint evidence set to eliminate actions that do not meet the constraint conditions, thereby obtaining an action set. S3: Perform corresponding compression processing based on the action execution type contained in the set of possible actions to obtain compressed information for script generation, and input the compressed information into the artificial intelligence model to automatically generate video script.
2. The video script automatic generation method based on artificial intelligence as described in claim 1, characterized in that: The standardized information units that construct the core business elements and constraint relationships of the script using the input information are specifically constructed as follows: The input information is decomposed into the smallest business semantic unit, and each factual information that can be independently described and verified by business rules is mapped into a standardized information unit; and the subject field, high-risk field, rule field and source version field are determined for each standardized information unit. Among them, the subject field is used to identify the business object to which the information points, the high-risk field is used to carry the key values that have a significant impact on the consistency of the script content, as well as their applicable conditions and time boundaries, the rule field is used to describe non-exchangeable, mutually exclusive or mandatory constraint relationships, and the source version field is used to record the source of information and its version status, so that the standardized information unit has the business description capabilities of being constrained, comparable and traceable.
3. The video script automatic generation method based on artificial intelligence as described in claim 1, characterized in that: The process of filtering based on multi-dimensional distinguishing identifiers to obtain standardized information unit pairs that meet preset association criteria is as follows: The multi-dimensional distinguishing identifiers include semantic structure identifiers, numerical or temporal coarse-grained bucket identifiers, condition set fingerprints, and source version identifiers. Based on the semantic structure identifier, the standardized information units are filtered in the first layer, and candidate relationships are established only between standardized information units with the same semantic structure or comparableity. A second layer of filtering is performed based on the numerical or time coarse-grained bucket identifier to exclude combinations that do not have the possibility of association at the critical numerical range or time window boundary. Based on the condition set fingerprint, similarity filtering is performed on the remaining standardized information units, and for each standardized information unit, only the associated objects that meet the preset number limit are retained; During the filtering process, the source version identifier is actively invoked to distinguish standardized information units with different sources or version information that differs in update, overwrite, priority, or review status. Standardized information unit pairs that meet preset association criteria are actively generated. The preset association criteria include semantic structure, field values or time windows, set of applicable conditions, and consistency or compatibility of source versions. The final result is a pair of standardized information units driven by multi-dimensional distinguishing identifiers, multi-level filtering, and source version classification.
4. The video script automatic generation method based on artificial intelligence as described in claim 1, characterized in that: The specific process of performing association discrimination on each candidate association pair in the candidate association pair set to generate a set of constraint evidence is as follows: For each candidate association pair in the candidate association pair set, perform multi-type business probe discrimination processing in sequence; The key dimension probe is used to determine the consistency of high-risk fields of corresponding standardized information units in candidate association pairs in terms of value, applicable conditions and time window dimensions, and output the judgment results of consistency, interpretable difference or non-interpretable difference. The exchange default probe verifies whether the combination of value, applicable conditions, and time window of high-risk fields violates the rule fields of the corresponding information unit when an exchange or reorganization occurs, and generates exchange default evidence when the verification fails. By combining the condition set and rule fields of candidate association pairs with the implied contradiction probe, it is determined whether there is a necessary conflict or mutual exclusion relationship, and the corresponding contradiction discrimination evidence is output. By comparing the source identifier, version information and review status of candidate association pairs using source version probes, it is determined whether there is version overlap, version coexistence or source conflict relationship, and corresponding version relationship evidence is generated. The discrimination results of each probe are summarized in a structured form to form a set of constraint evidence that corresponds one-to-one with the candidate association pair. This set is used to characterize the business constraint status of the candidate association pair in terms of field consistency, rule compliance, and source version relationship.
5. The method for automatically generating video scripts based on artificial intelligence as described in claim 1, characterized in that: The specific process of performing constraint verification on the preset action set based on the constraint evidence set to eliminate actions that do not meet the constraint conditions, thereby obtaining the set of actionable actions, is as follows: The preset action set includes merging, not merging, and bundling / compression; For each candidate association pair, the set of constraint evidence is classified into evidence items, and the evidence items are distinguished by high-risk field constraints, rule mutual exclusion constraints, and source version constraints; based on the applicability relationship between the evidence items and the preset actions, the feasibility of the actions is verified item by item. When there are evidence items in the constraint evidence set that represent high-risk fields that cannot be exchanged, the pre-set action of removing those with semantic confusion risk is determined under the current conditions or time window misalignment. When there are mutually exclusive or contradictory evidence items in the constraint evidence set that cannot be explained, the pre-set action that causes conflict propagation is removed. When there are evidence items in the constraint evidence set that clearly represent the coverage relationship of the source version and do not conflict with high-risk fields or rule-based constraints, the preset action that reflects the coverage relationship is retained; This yields a set of possible actions that correspond one-to-one with the candidate association pairs.
6. The method for automatically generating video scripts based on artificial intelligence as described in claim 1, characterized in that: The compression process based on the action execution type included in the set of possible actions is as follows: Detect the number of actions in the set of actionable actions corresponding to each candidate association. When the set of actionable actions contains only one action, directly use that action as the final action to be executed and perform the corresponding data processing operation according to the final action. When the set of possible actions contains two or more actions, the uncertainty and the risk level are obtained, and the actions are assigned to different action selection branches based on the uncertainty and the risk level. If and only if the uncertainty is less than or equal to the maximum allowable uncertainty within the specified range and the high-risk level is less than or equal to the maximum allowable high-risk level within the specified range, then proceed to action branch one, i.e., the expected cost minimization branch. When the uncertainty is greater than the maximum allowable value within the specified range or the high risk level is greater than the maximum allowable value within the specified range, the decision is made to proceed to action branch two, namely the robust risk priority branch. Uncertainty reflects the reliability of current evidence in supporting action decisions, while high-risk level refers to the level of risk intensity of the core business fields involved in the action decision-making process.
7. The method for automatically generating video scripts based on artificial intelligence as described in claim 6, characterized in that: The first step in the action, namely the expected cost minimization branch, is as follows: Based on risk probability, average loss per unit action, and structural complexity score, the expected cost is proactively established. The historical risk probability represents the risk probability of candidate actions in the actionable action set under the current evidence and action conditions. The average loss per unit action represents the average loss of candidate actions in the actionable action set under the constraint of high-risk fields. The structural complexity score represents the structural complexity score brought by candidate actions in the actionable action set. The expected cost refers to the weighted expected value of the total loss and resource consumption that each candidate action may bring in actual execution. Iterate through all candidate actions, actively select the action with the lowest expected cost as the final action to be executed, and perform the corresponding data processing operation according to the final action.
8. The method for automatically generating video scripts based on artificial intelligence as described in claim 6, characterized in that: The second step in the action, namely the robust risk-priority branch, is as follows: Based on the upper bound of risk probability, the average loss per unit action, and the structural complexity score, we proactively establish the expected cost of the upper bound of risk. The risk upper bound expected cost refers to the comprehensive cost assessment result of the action under the risk maximization assumption, which is used to reflect the most unfavorable consequences that the action may bring in a high-risk scenario. Iterate through all candidate actions, actively select the action with the lowest expected cost at the upper bound of risk as the final action to be executed, and perform the corresponding data processing operations according to the final action.
9. The method for automatically generating video scripts based on artificial intelligence as described in claims 6-8, characterized in that: The process of performing the corresponding data processing operation according to the final execution action is as follows: When the final action is to merge, the standardized information units in the candidate association pairs are merged to generate a deduplicated single information unit. When the final action is not to merge, the standardized information units in the candidate association pairs will remain independent. When the final execution action is bundling and compression, the largest common substructure of the standardized information units in the candidate association pair is extracted as a shared skeleton, and the different parts are encoded separately in the form of a differential field list to form a differential bundling structure.
10. A system applying the artificial intelligence-based automatic video script generation method as described in any one of claims 1-9, characterized in that, include: Information standardization candidate module, constraint evidence screening module, and compression generation module; The information standardization candidate module is used to acquire input information for generating video scripts, construct standardized information units of core business elements and constraints of the script through the input information, generate multi-dimensional distinguishing identifiers for the standardized information units, filter based on the multi-dimensional distinguishing identifiers, obtain standardized information unit pairs that meet preset association criteria, and form a candidate association pair set. The constraint evidence filtering module is used to perform association discrimination on each candidate association pair in the candidate association pair set, generate a constraint evidence set, and perform constraint verification on the preset action set based on the constraint evidence set to eliminate actions that do not meet the constraint conditions, thereby obtaining an action set. The compression generation module is used to perform corresponding compression processing based on the action execution type contained in the set of possible actions to obtain compressed information for script generation, and input the compressed information into the artificial intelligence model to automatically generate video scripts.
Citation Information
Patent Citations
System for automatically generating video script creation
CN119383419A
Video script generation method and device, equipment and medium
CN120935427A
