Resource consistency checking method, electronic device, and storage medium

By using a dual-identifier structure of baseline identifier and monolingual identifier in story-driven game projects, multilingual dialogue resources can be quickly located and modified synchronously, solving the problem of poor consistency in dialogue resources and ensuring resource consistency.

CN123157918APending Publication Date: 2026-11-24NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611350744.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In story-driven game projects, inconsistent modifications to dialogue resources in different languages ​​can lead to a lack of synchronization in the modification of the same dialogue in different languages, resulting in poor resource consistency.

Method used

By determining the baseline identifier and monolingual identifier in the resource binding record of the dialogue resources, the associated dialogue resources are obtained and consistency verification is performed to ensure synchronous modification of resources in different languages ​​under the same dialogue.

Benefits of technology

It enables rapid location of related dialogue resources that require synchronous verification, avoiding resource inconsistencies caused by human error and ensuring the consistency of dialogue resources in different languages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123157918A_ABST
    Figure CN123157918A_ABST
Patent Text Reader

Abstract

This application discloses a resource consistency verification method, electronic device, and storage medium. The method includes, upon detecting a change in any dialogue resource, determining a base identifier and a monolingual identifier corresponding to the dialogue resource in the resource binding record of the dialogue resource; wherein dialogue resources in different languages ​​corresponding to the same dialogue resource have the same base identifier but different monolingual identifiers; obtaining associated dialogue resources corresponding to each resource binding record containing the base identifier; and performing a consistency verification on the dialogue resource and associated dialogue resources to obtain a consistency verification result, the consistency verification result including whether the associated dialogue resources and the dialogue resource are consistent. When a change occurs in any language dialogue resource, the system can quickly locate dialogue resources in other languages, enabling synchronous modification of resources in different languages ​​under the same dialogue resource, and ensuring the consistency of dialogue resources in different languages.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of resource consistency detection technology, specifically to a resource consistency verification method, electronic device, and storage medium. Background Technology

[0002] In story-driven game projects, dialogue resources usually need to be modified multiple times. The same dialogue may contain dialogue resources in multiple languages. After the dialogue resources in one language are modified, due to subjective or objective reasons (such as users forgetting or difficulty in finding dialogue resources in other languages), the dialogue resources in different languages ​​of the same dialogue are not modified in sync, resulting in poor consistency of dialogue resources in multiple languages. Summary of the Invention

[0003] This application provides a resource consistency verification method, electronic device, and storage medium. When the dialogue in any language changes, the system can quickly locate all related dialogue resources that need to be verified synchronously, enabling synchronous modification of resources in different languages ​​under the same dialogue, and ensuring the consistency of dialogue resources in different languages.

[0004] On one hand, this application provides a resource consistency verification method, the method comprising: when any change is detected in a dialogue resource, determining a base identifier and a single language identifier corresponding to the dialogue resource in the resource binding record of the dialogue resource, wherein the base identifiers corresponding to dialogue resources in different languages ​​corresponding to the same dialogue are the same but the single language identifiers are different; obtaining the associated dialogue resources corresponding to each resource binding record containing the base identifier; performing consistency verification on the dialogue resource and the associated dialogue resources to obtain a consistency verification result, the consistency verification result including whether the associated dialogue resources and the dialogue resources are consistent.

[0005] On the other hand, embodiments of this application provide an electronic device, which includes a processor and a memory. The memory stores a computer program, and the processor executes the resource consistency verification method as described in any of the above embodiments by calling the computer program stored in the memory.

[0006] On the other hand, embodiments of this application provide a computer-readable storage medium storing a computer program adapted for loading by a processor to execute the resource consistency verification method as described in any of the above embodiments.

[0007] The resource consistency verification method, electronic device, and storage medium provided in this application, when detecting a change in any dialogue resource, determine the base identifier and monolingual identifier corresponding to the dialogue resource in the resource binding record of the dialogue resource, and perform consistency verification on the dialogue resource and the associated dialogue resources in the resource binding record to determine whether the associated dialogue resources and the dialogue resource are consistent. Through the dual identifier structure of the base identifier and the monolingual identifier, dialogues of each language are uniformly associated with the base dialogue, realizing resource binding of different languages ​​under the same dialogue. This allows the system to quickly locate all associated dialogue resources that need to be synchronously verified when a dialogue in any language changes, enabling synchronous modification of resources in different languages ​​under the same dialogue, avoiding inconsistencies caused by human error, and thus ensuring the consistency of dialogue resources in different languages. Attached Figure Description

[0008] To more clearly illustrate the technical solutions in the embodiments of this application, 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 this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0009] Figure 1 A schematic diagram of a resource consistency verification system provided in an embodiment of this application; Figure 2 This is a first flowchart illustrating the resource consistency verification method provided in an embodiment of this application; Figure 3 This is a second flowchart illustrating the resource consistency verification method provided in the embodiments of this application; Figure 4 A schematic diagram of the third process of the resource consistency verification method provided in the embodiments of this application; Figure 5 A schematic diagram of the fourth process of the resource consistency verification method provided in the embodiments of this application; Figure 6 A schematic diagram of the fifth process of the resource consistency verification method provided in the embodiments of this application; Figure 7 This is a schematic diagram of the resource consistency verification device provided in the embodiments of this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0010] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0011] This application provides a resource consistency verification method, an electronic device, and a storage medium. Specifically, the resource consistency verification method of this application can be executed by an electronic device, which can be a terminal or a server, etc.

[0012] The terminal can be a smartphone, tablet, laptop, smart TV, or other device. The terminal may also include a client, which may be a game client, browser client, instant messaging client, or mini-program, etc.

[0013] A server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0014] For example, when this resource consistency verification method runs on a terminal device, the terminal device may include a display screen and a processor. The display screen is used to present the interface and receive instructions generated by developers interacting with the interface. The processor is used to store applications, run the applications, generate the interface, respond to instructions, and control the display of the interface on the display screen. When developers operate the interface through the display screen, the interface can control the local content of the terminal device in response to received operation instructions. The terminal device can provide the graphical user interface to developers in various ways, such as rendering it on the terminal device's display screen or presenting the graphical user interface through holographic projection.

[0015] For example, when this resource consistency verification method runs on a server, it can be implemented and executed based on a cloud system. A cloud system refers to a program execution method based on cloud computing. A cloud system includes servers and client devices. The application's execution entity and the user interface presentation entity are separated. The storage and execution of the resource consistency verification method are completed on the server, while the user interface presentation is completed on the client. The client is mainly used for data reception, transmission, and interface presentation. For example, the client can be a display device with data transmission capabilities located close to the developer, such as a mobile terminal, television, computer, PDA, personal digital assistant, or head-mounted display device. However, the terminal device for data processing is the server in the cloud. When executing the resource consistency verification method, the developer operates the client to send instructions to the server. The server processes the data according to the instructions, encodes and compresses the interface data, returns it to the client via the network, and finally, the client decodes and outputs the interface.

[0016] It should be noted that in the embodiments of this application, the executing entity of the resource consistency verification method can be a terminal device or a server, and the embodiments of this application do not limit the type of executing entity.

[0017] It is understood that in the specific implementation of this application, user object data, context data and other related data are involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0018] For example, in conjunction with the above description, Figure 1 This application illustrates a resource consistency verification system 1000 for implementing a resource consistency verification method. The resource consistency verification system 1000 may include at least one terminal 1001, at least one server 1002, at least one database 1003, and a network. The terminal 1001 can connect to different servers via the network. The terminal can be any device with computing hardware capable of supporting and executing software application tools corresponding to the program.

[0019] In the aforementioned resource consistency verification system 1000, terminal 1001 is used to install and run applications. In some cases, the application may not need to be pre-installed on terminal 1001, and developers can directly access the application interface through a browser or other client. Developers log in to the application using their registered accounts. When a developer logs in, terminal 1001 sends a login request to server 1002. Server 1002 verifies the account used by the developer, and if the verification is successful, server 1002 returns a login success notification to terminal 1001. During the execution of the resource consistency verification method, terminal 1001 and server 1002 interact with each other. Terminal 1001 sends various information to server 1002. Server 1002 determines the display data for terminal 1001 based on the stored program mechanism and the received information, and sends the display data back to terminal 1001 so that terminal 1001 can display the data sent by server 1002 to the developer.

[0020] In possible application scenarios, different terminals 1001 may be served by different servers 1002. Therefore, in order to distinguish the servers 1002 corresponding to different terminals 1001, the embodiments of this application will use the first and second methods for description.

[0021] Furthermore, when the resource consistency verification system 1000 includes multiple terminals, multiple servers, and multiple networks, different terminals can connect to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), Local Area Network (LAN), cellular network, 2G network, 3G network, 4G network, 5G network, etc. Additionally, different terminals can also connect to other terminals or to servers using their own Bluetooth networks or hotspot networks. Furthermore, the system 1000 can include multiple databases, which are coupled to different servers.

[0022] It should be noted that, Figure 1 The schematic diagram of the resource consistency verification system shown is merely an example. The resource consistency verification system 1000 described in this application embodiment is to more clearly illustrate the technical solution of this application embodiment and does not constitute a limitation on the technical solution provided in this application embodiment. As those skilled in the art will know, with the evolution of resource consistency verification systems and the emergence of new business scenarios, the technical solution provided in this application embodiment is also applicable to similar technical problems.

[0023] The technical solution of this application will be described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0024] Please see Figure 2 It should be noted that the steps shown may be executed in a logical order different from that shown in the flowchart of this method. The resource consistency verification method of this application may include the following steps: Step 011: When any change is detected in the dialogue resource, determine the base identifier and single language identifier corresponding to the dialogue resource in the resource binding record of the dialogue resource. The base identifiers corresponding to different languages ​​of the same dialogue are the same, but the single language identifiers are different. Step 012: Obtain the associated dialogue resources corresponding to each resource binding record containing the baseline identifier; Step 013: Perform a consistency check on the dialogue resources and associated dialogue resources to obtain the consistency check result. The consistency check result includes whether the associated dialogue resources and the dialogue resources are consistent.

[0025] Among them, dialogue resources refer to digital resource entities that store dialogue business content, including original text dialogue, translated text, dubbing audio, subtitle timeline, dialogue context scene information, etc.; each dialogue resource has an independent storage medium and supports version management, multilingual translation and reference reuse.

[0026] Resource binding records refer to structured data objects organized around a monolingual identifier, used to store information such as dialogue text resources, pre-recorded voice resources, official voice resources, subtitle resources, lip-syncing resources, screen recording resources, resource versions, resource status, and the set of rules that have most recently passed verification.

[0027] A baseline identifier refers to a globally unique ID for the source version of dialogue resources within a multilingual system. The baseline identifier is anchored to the original dialogue in the baseline language, and all translated derivative languages ​​are associated with this baseline identifier.

[0028] A monolingual identifier refers to a unique identification ID for a specific language version of the dialogue resource. Under the same base identifier, different languages ​​will generate their own independent monolingual identifiers.

[0029] Related dialogue resources refer to a set of dialogue resources that are interconnected through business logic.

[0030] Consistency verification refers to the compliance logic check performed on the dialogue resource dataset to ensure data consistency across multiple copies, multiple languages, and binding relationships.

[0031] Specifically, the system provides two types of identifiers for dialogue resources: a baseline identifier and a monolingual identifier. Different dialogue resources share the same baseline identifier but have different monolingual identifiers. When any dialogue resource changes, the system first determines the two identifiers in the resource binding record of the dialogue resource, and simultaneously retrieves the associated dialogue resources from each resource binding record containing the baseline identifier. Then, a consistency check is performed on the dialogue resource and its associated dialogue resources, and the consistency check result determines whether the two are consistent.

[0032] In one example, this implementation can be applied to a story-driven game project. In such a project, a core line of dialogue may exist in Chinese, English, and Japanese versions, sharing the same base identifier. When the Chinese version of the dialogue changes, the system automatically extracts the base identifier and the single-language identifier from the resource binding record of that dialogue, and retrieves all associated English and Japanese dialogue resources based on the base identifier. Subsequently, a consistency check is performed on the associated resources to check whether the update time and resource status of each version are synchronized. After the check is complete, the system outputs a check result indicating that the multilingual resource versions are out of sync, which can trigger the corresponding translation and dubbing update process, ensuring the synchronization and consistency of the multilingual dialogue resources.

[0033] In this embodiment, upon detecting a change in any dialogue resource, the system determines the base identifier and monolingual identifier corresponding to that dialogue resource in the resource binding record. It then performs a consistency check on the dialogue resource and the associated dialogue resources in the resource binding record to determine if the associated dialogue resources are consistent with the original dialogue resource. Through the dual identifier structure of the base identifier and the monolingual identifier, dialogues in each language are uniformly associated with the base dialogue, achieving resource binding for different languages ​​under the same dialogue. This allows the system to quickly locate all associated dialogue resources that need to be synchronously checked when a change occurs in any language, enabling synchronous modification of resources in different languages ​​under the same dialogue. This avoids inconsistencies caused by human error and ensures the consistency of dialogue resources across different languages.

[0034] Please see Figure 3 In some embodiments, the resource consistency verification method further includes: Step 014: The resource binding record also includes the resource version. If the resource version changes, it is determined that the corresponding dialogue resource has changed.

[0035] The resource version is a version number in the dialogue resource binding record used to mark the iteration status of the dialogue resource. For dialogue entities corresponding to a single language identifier, it records the modification iteration order of resources such as text, dubbing, and subtitles. It can be formed by resource ID, generation batch, modification time, content summary, engine resource version number, or a combination thereof.

[0036] Specifically, when any material such as the text, dubbing audio, or subtitle timeline of the dialogue resource is edited or modified, the resource version in the resource binding record is automatically updated. By comparing the old and new resource versions, the system can determine that the dialogue resource corresponding to the monolingual identifier has changed.

[0037] In one example, this embodiment can be applied to a story-driven game project scenario. When the resource version in the resource binding record for a certain NPC's Chinese dialogue monolingual identifier is upgraded from V1.0 to V1.1, the system detects the change in resource version and determines that the Chinese dialogue resource has been modified.

[0038] This embodiment determines that the dialogue resources have changed by changing the resource version, without having to compare all material content field by field, thus achieving efficient identification of dialogue changes.

[0039] Please refer to it again. Figure 3 In some embodiments, the resource consistency verification method further includes: The resource binding record also includes resource status, which includes a first status of pending confirmation of resource consistency and a second status of confirmed resource consistency. After determining the associated dialogue resource corresponding to the dialogue resource, the method further includes: Step 015: Change the resource status corresponding to the associated dialogue resource to the first status; After performing consistency checks on the dialogue resources and related dialogue resources, the method also includes: Step 016: Based on the consistency verification result, update the resource status of the associated dialogue resources.

[0040] Among them, the resource status indicates whether the resource or the verification result can still be used.

[0041] In some embodiments, the first state refers to the state where the consistency of resources needs to be confirmed, including the expired state (stale) (upstream resources have changed, and the original verification result is invalid) and the pending_recheck state (waiting for re-verification after resource correction). For example, after the upstream dubbing is updated, the status of the old subtitles changes to the first state, waiting for re-verification.

[0042] The second state refers to the state where resource consistency has been confirmed, including the valid state (all verifications passed, resources are available) and the closed state (corresponding errors have been rectified, error records have been closed, and resource versions have been archived). For example, the subtitle resource state after all verifications have passed is the second state.

[0043] The default fields for resource binding records are shown in Table 1 below:

[0044] The resource status is shown in Table 2 below:

[0045] Among them, the cross-language common line identifier refers to the base identifier, where the same line of dialogue shares the same base_line_id in different languages.

[0046] The version identifier represents the identification information of a certain iteration version of a single dialogue resource. The version identifier corresponds one-to-one with the resource version and can be composed of version number, version hash, and modification batch.

[0047] Pre-recorded voice resources refer to unfinished dubbing audio resources used in the intermediate stage of script production. They are generally machine-synthesized voices or temporary test recordings, used for early plot previews and lip-sync pre-generation, and cannot be directly released to the public, but can be replaced by subsequent official voice resources.

[0048] Official voice resources refer to the final dubbing audio resources that have been reviewed, approved, and are ready for public release. These are recorded by voice actors, pass content review, and are used as the actual voice material played during the game's release phase. Pre-recorded voice resources are replaced with official voice resources after production review and confirmation.

[0049] A resource fingerprint, or version identifier, is a feature summary value obtained by hashing the resource's content and stored in the resource binding record. When resource content such as text, audio, or subtitles changes, the resource fingerprint changes, which can be used to quickly determine whether the resource content has changed.

[0050] A rule set refers to a set of validation rule configurations stored in a resource binding record, used to provide validation rule configurations to be executed for the corresponding dialogue resources.

[0051] `affected_rule_set` refers to the set of validation rules affected by resource changes. It represents a subset of validation rules that are affected by the changes to the dialogue resources and require re-execution. This set is filtered from the rule set of the resource binding records and includes only validation items affected by the current resource modification, not all rules.

[0052] The upstream dependent resource version refers to the version tag of the upstream materials that this dialogue resource depends on. The text, voice, subtitles and other materials of the dialogue resource may come from the output of the upstream production process. The upstream dependent resource version records the version number or fingerprint of the upstream input material. When the upstream dependent resource version is updated, it indicates that the upstream input material has been changed, which can trigger the consistency check of the local dialogue resource to identify the chain data problems caused by the upstream change.

[0053] Error logs refer to structured data that records detailed information about resource anomalies, including the rules, resources, expected values, actual values, and correction nodes corresponding to the errors.

[0054] Targeted re-inspection refers to a process that performs a consistency re-inspection on a specified subset of dialogue resources based on a set of verification rules affected by resource changes. This process is used to verify the effectiveness of material rectification, confirm whether the original resource anomalies have been fixed, and avoid full resource scanning.

[0055] Specifically, the resource binding record sets a resource status field, which is divided into two categories: a first status pending confirmation of consistency, and a second status confirming consistency. When the system detects a change in a dialogue resource and identifies the corresponding associated dialogue resources, it first updates the resource status of all associated dialogue resources to the first status, marking these resources as needing re-verification. Subsequently, it performs a consistency check on the dialogue resource and associated dialogue resources. After obtaining the verification result, it updates the resource status of the associated dialogue resources according to the verification result: those that pass the verification are updated to the second status, while those that fail the verification remain in the first status and the error is recorded.

[0056] In one example, this embodiment can be applied to a story-driven game project scenario. Under the same baseline identifier, when the system detects a change in the official Chinese dubbing resources, the system updates the status of the corresponding subtitles, lip-sync data, and screen recording resources to the first state (stale or pending_recheck), marking the verification results generated based on the old dubbing as invalid. Subsequently, a consistency check is performed. If the check fails, the first state (stale or pending_recheck) is maintained; if the check passes, the resource status is updated to the second state (valid or closed).

[0057] This embodiment associates dialogue resources with resource status flags. When a dialogue resource changes, the associated resource is first set to the first state of pending verification, and the status is updated after verification is completed. This eliminates the need for real-time full traversal of all dialogue resources, enabling on-demand triggering of verification tasks, quickly locating resources to be processed, and reducing unnecessary verification calculations.

[0058] Please see Figure 4 In some embodiments, the resource consistency verification method further includes: consistency verification is implemented based on at least one verification rule, and the resource consistency verification method includes: Step 017: Based on the resource type of the associated dialogue resources, determine the target verification rules corresponding to the associated dialogue resources; Perform consistency checks on dialogue resources and related dialogue resources, including: Step 0131: Based on the target verification rules, perform consistency verification on the dialogue resources and related dialogue resources.

[0059] Among them, the verification rules refer to the predefined rules used to determine whether the consistency requirements between resources are met. Different verification rules correspond to different consistency check dimensions.

[0060] The target verification rules refer to the set of verification rules that need to be executed and are related to the current changed resource type. Different types of resource changes correspond to different target verification rules.

[0061] Specifically, consistency verification is implemented based on preset verification rules. Once the system determines the associated dialogue resources corresponding to the dialogue resources, it determines the corresponding target verification rules based on the resource types of the associated dialogue resources. According to the defined target verification rules, consistency verification is performed on the dialogue resources and associated dialogue resources.

[0062] In one example, this embodiment can be applied to a story-driven game project scenario. When the changed resource type is subtitles, the system determines that the target verification rule is a verification rule related to subtitles. When performing verification, it only checks whether the content related to subtitles is consistent, without checking other irrelevant rules.

[0063] This embodiment achieves precise control of the verification scope by automatically matching target verification rules with resource types. It ensures that verification items affected by resource changes are not missed, and verification rules unrelated to the current change are not executed, thus greatly improving verification efficiency.

[0064] In some embodiments, the resource consistency verification method further includes: the resource type includes at least one of text, voice, subtitles, lip-sync, and screen recording; the verification rules include at least one of text-voice consistency verification, subtitle-voice consistency verification, multilingual semantic consistency verification, duration difference consistency verification, and required resource missing verification; the verification rules are shown in Table 3 below.

[0065] Among them, text resources refer to the text content of dialogue resources, including the original dialogue text and translated multilingual dialogue texts. For example, the original Chinese dialogue text and the English translation text both belong to text resources.

[0066] Voice resources refer to the audio resources of dialogue, including pre-recorded voice resources and official dubbing resources. For example, the official dubbing audio recorded by voice actors is considered a voice resource.

[0067] Subtitle resources refer to subtitle files corresponding to dialogue resources, containing subtitle text, timelines, and other information. For example, the Chinese subtitle file corresponding to Chinese dubbing is a subtitle resource.

[0068] Lip-sync resources refer to lip-sync animation data generated from dubbing, used to synchronize lip movements with speech when a character speaks. For example, lip-sync animation data generated from Chinese dubbing falls under the category of lip-sync resources.

[0069] Screen recording resources refer to complete video files containing characters, voices, subtitles, and lip movements, rendered by an engine. For example, a complete scene recording corresponding to a specific line of dialogue is considered a screen recording resource.

[0070] Text-to-speech consistency verification refers to verifying whether the content of the dialogue text is consistent with the text result obtained after speech recognition of the speech resource.

[0071] Subtitle-speech consistency verification refers to verifying whether the text content of the subtitle resource is consistent with the speech recognition result corresponding to the speech resource.

[0072] Multilingual semantic consistency verification refers to verifying whether the semantics of text resources in different languages ​​are consistent under the same dialogue baseline identifier.

[0073] Duration difference consistency verification refers to verifying whether the duration difference between voice resources, lip-sync resources, and screen recording resources is within a preset threshold.

[0074] The required resource missing check refers to checking whether all required resources have been uploaded and associated during the current production stage.

[0075] Rule encoding refers to the encoding information of a single validation rule; each validation rule corresponds to an independent rule encoding.

[0076] text_content represents the text content, storing the original text of the dialogue resources or the text of the translated dialogue.

[0077] text_version represents the text version, marking the iterative versions of the text content.

[0078] final_audio_id represents the official audio identifier and is associated with the official audio resource entity.

[0079] final_audio_version represents the final audio version, marking an iteration of the final audio resource.

[0080] subtitle_id represents the subtitle identifier and is associated with the subtitle resource entity.

[0081] subtitle_version indicates the subtitle version, marking the iterative version of the subtitle resource.

[0082] In one example, this implementation can be applied to a story-driven game project. A core line of dialogue exists in Chinese, English, and Japanese versions, sharing the same base identifier. When the text resource of the Chinese version of the dialogue changes, the system automatically extracts the base identifier and monolingual identifier from the resource binding record of that dialogue, and retrieves all dialogue-related resources based on the base identifier. Subsequently, it executes rules such as text-to-speech consistency verification and multilingual semantic consistency verification to check whether the text, audio, and subtitles of each version are updated synchronously.

[0083] This embodiment covers the core resource types and core consistency verification dimensions of the entire dialogue production process, and can comprehensively check various inconsistencies between multiple languages ​​and multiple resources, ensuring the comprehensiveness of the verification.

[0084] Please refer to the following: Figure 5 In some embodiments, step 017 involves determining the target verification rule corresponding to the associated dialogue resources based on the resource type of the associated dialogue resources. The resource consistency verification method includes: Step 0171: When the resource type is text, determine the target verification rules, including text-to-speech consistency verification and multilingual semantic consistency verification. Step 0172: When the resource type is audio, determine the target verification rules, including text-audio consistency verification, subtitle-audio consistency verification, and duration difference consistency verification. Step 0173: When the resource type is subtitles, determine the target verification rules, including subtitle-voice consistency verification. Step 0174: When the resource type is lip-sync, determine the target verification rules, including duration difference consistency verification. Step 0175: When the resource type is screen recording, determine the target verification rules, including duration difference consistency verification and required resource missing verification.

[0085] The target verification rules are shown in Table 4 below:

[0086] Among them, text_content refers to the dialogue text; final_audio refers to the final audio resource; subtitle refers to the subtitle; lipsync refers to lip-sync; and recording refers to screen recording.

[0087] Specifically, for text-based resources, since text resources carry the core content information of the dialogue, the system determines that its corresponding target verification rules include text-to-speech consistency verification and multilingual semantic consistency verification. Text-to-speech consistency verification is used to ensure that the modified text matches the recorded dubbing audio in content, avoiding the retention of old dubbing versions due to text changes; multilingual semantic consistency verification is used to ensure that the semantics of the modified text do not deviate when translated into other languages.

[0088] For audio resources, since audio resources are associated with multiple dimensions such as text content, subtitle presentation, and playback duration, the system determines its corresponding target verification rules, including text-to-speech consistency verification, subtitle-to-speech consistency verification, and duration difference consistency verification. Specifically, text-to-speech consistency verification confirms whether the dubbing content corresponds to the text; subtitle-to-speech consistency verification confirms whether the subtitle text matches the dubbing content; and duration difference consistency verification confirms whether the dubbing duration is reasonable, avoiding duration changes due to re-recording and thus affecting subsequent stages.

[0089] For subtitle resources, since subtitle resources are mainly directly related to audio content, the system determines that the corresponding target verification rules include subtitle-audio consistency verification, which is used to check whether the subtitle text content is consistent with the audio recognition result, so as to ensure that the subtitle can accurately reflect the dubbing content.

[0090] For lip-sync resources, since the main technical parameter of lip-sync resources is the animation duration, which needs to be strictly matched with the dubbing duration, the system determines its corresponding target verification rules, including duration difference consistency verification, to ensure that the difference between the dubbing duration and the lip-sync animation duration is within a preset threshold range, so as to avoid misalignment between the lip movements and the voice when the character speaks.

[0091] For screen recording resources, since screen recordings are the final, complete story product, their production relies on various pre-recorded resources such as audio, subtitles, and lip-syncing. Therefore, the system determines its corresponding target verification rules, including duration consistency verification and necessary resource missing verification. Duration consistency verification ensures that the screen recording duration matches the audio recording duration; necessary resource missing verification checks whether all necessary pre-recorded resources have been uploaded and associated in the current production stage, preventing the generation of invalid screen recordings based on incomplete resources.

[0092] In one example, this implementation can be applied to a story-driven game project. A game project supports Chinese, English, and Japanese versions. A core dialogue line, "We've finally found the entrance," is linked to various resource types, including Chinese text, English text, Japanese text, Chinese voice-over audio, Chinese subtitles, character lip-sync animation data, and screen recordings. During version iterations, the developers modified and optimized the Chinese dialogue text. Upon detecting the change in the Chinese text resources, the system automatically triggers a consistency check process, determining the target check rules as text-to-speech consistency and multilingual semantic consistency. During the check, it first checks if the current Chinese voice-over content matches the modified text, then checks if the English and Japanese translated texts semantically match the modified Chinese text. Other irrelevant checks, such as subtitles and duration, are not performed.

[0093] This embodiment uses differentiated verification rules for different resource types to accurately perform corresponding consistency checks on various related resources, which not only improves verification efficiency but also ensures the consistency and integrity of multilingual dialogue resources in different production stages.

[0094] Please see Figure 6 In some embodiments, consistency verification is implemented based on at least one verification rule, and the resource consistency verification method includes: Step 018: Generate an error record based on the associated dialogue resources with resource anomalies. Resource anomalies include failure to pass consistency verification. Step 019: Based on the error log, generate and issue an error correction task; Step 020: After the associated dialogue resources corresponding to the error record are corrected, a consistency check is performed again based on the first verification rule corresponding to the error record and the second verification rule corresponding to the resource type of the corrected associated dialogue resources, so as to obtain the consistency re-check result. Step 021: Based on the consistency review results, update the resource status of the corrected associated dialogue resources.

[0095] Among them, resource anomalies refer to situations where dialogue resources have not undergone consistency verification or where abnormal situations that do not conform to the verification rules are detected.

[0096] Error logs refer to structured data that records detailed information about resource anomalies, including the rules, resources, expected values, actual values, and correction nodes corresponding to the errors.

[0097] A correction task is a processing task generated based on error records and sent to the corresponding correction node. It contains information such as the resources that need to be corrected, the cause of the error, and the correction requirements.

[0098] The consistency retest result refers to the test result obtained by re-performing the consistency check after correcting the dialogue resources that have caused resource anomalies. It is used to confirm whether the error has been fixed and whether new inconsistencies have been introduced.

[0099] Specifically, when a resource anomaly occurs, i.e., when dialogue resources and associated dialogue resources fail the consistency check, a structured error record is generated. Based on the information in the error record, a corresponding error correction task is automatically generated and sent to the corresponding correction node. After the correction node reports that the correction is complete, the system determines the set of rules that need to be rechecked, including the first verification rule corresponding to the error record and the second verification rule corresponding to the corrected resource type. Then, the consistency recheck is performed again, and finally, the status of the corrected resource is updated based on the recheck results.

[0100] In some embodiments, the error record fields include: baseline identifier, monolingual identifier, rule code, set of verification rules affected by resource changes, error type, resource type, resource identifier, changed resource type, changed resource version, expected value, actual value, reflow correction node, reflow status, and number of retries.

[0101] The first verification rule refers to the verification rule that fails and generates the error record. During targeted re-examination, the first verification rule is executed again to verify whether the original problem has been fixed.

[0102] The second verification rule refers to all target verification rules obtained after the correction, based on the resource type of the currently corrected associated dialogue resources.

[0103] After performing the consistency check, the re-check result is obtained. If the re-check passes, the error record is closed, the set of verified resource versions is updated, and the resource status of the associated dialogue resource is updated to the second status. If the re-check fails, the number of retries is increased, and the resource status is updated to the first status or pending correction.

[0104] The error records and their corresponding correction nodes and re-inspection range mapping table are shown in Table 5 below:

[0105] Error type refers to the classification and labeling of resource anomalies identified by the verification, such as text-speech mismatch, duration exceeding the limit, missing necessary resources, and semantic inconsistency between multiple languages.

[0106] Resource identifiers refer to the identity identifiers of dialogue resources, including base identifiers, monolingual identifiers, and may also include various material IDs; they are used to locate dialogue resources that have encountered anomalies and to associate error records and correction tasks.

[0107] The "Changed Resource Type" refers to the material type corresponding to the dialogue resource that has been modified, such as text change, voice change, or subtitle change; it is used to filter the set of validation rules affected by resource changes.

[0108] The changed resource version refers to the version number of the material that has been changed, such as the text version or the official audio version; it is used to identify the change iteration and serves as the basis for triggering consistency checks.

[0109] The expected value refers to the standard reference benchmark pre-configured for the validation rules, such as the allowed duration deviation threshold, standard text, and set of legal resources.

[0110] The actual value refers to the actual business data of the resource read from the resource binding record, such as the recognized speech text, the actual audio duration, and the currently associated material set.

[0111] A rollback node (rollback_node) is a node that saves snapshots of historical versions of dialogue resources, recording key data such as changed dialogue text and versions of various materials. When changes cause numerous anomalies, the resource binding records can be restored to their historical state based on the rollback node. Correction nodes include content correction nodes such as dialogue text correction nodes and subtitle correction nodes, as well as material completion nodes such as screen recording re-production nodes and missing resource re-recording nodes.

[0112] The rollback state (rollback_state) represents the execution status of the rollback correction node, and its values ​​include pending correction, pending re-inspection, passed, and pending retry.

[0113] The retry count (retry_count) refers to the retry statistics of the verification task. It is accumulated when a temporary read exception is encountered during verification. Once a preset maximum threshold is reached, retries are terminated and an error record is written, preventing the task from looping indefinitely.

[0114] The verified resource version set is a persistently stored ledger-like data collection that includes all resource version information that has passed consistency checks. It serves to prove that the text, official audio, subtitles, lip-syncing, and screen recording resources corresponding to the current pass result are all the latest versions that participated in the verification.

[0115] TEXT_AUDIO_MISMATCH indicates a text-to-speech mismatch error; SUBTITLE_AUDIO_MISMATCH indicates a subtitle-to-speech mismatch error; MULTILINGUAL_SEMANTIC_DEVIATION indicates a multilingual semantic deviation anomaly; DURATION_OUT_OF_RANGE indicates a duration out-of-range anomaly; REQUIRED_RESOURCE_MISSING indicates a required resource missing anomaly.

[0116] Correction nodes refer to pre-defined business processing nodes, corresponding to a specific rectification procedure entry point for a type of resource anomaly, and are bound to fixed rectification personnel or processing procedures. Different error types will be mapped to corresponding correction nodes according to the mapping relationship, responsible for modifying and correcting existing resources such as text, subtitles, and audio.

[0117] The supplementary production node refers to the production node for audio-visual supporting derivative materials. It mainly handles anomalies such as duration exceeding the limit and audio-visual asynchrony. For secondary rendering output resources such as lip-sync animation and screen recording, it re-renders and generates new versions of lip-sync data and screen recording files that match the voice duration, thus completing the supplementary production of materials.

[0118] The supplementary recording node is responsible for collecting the original audio materials and is used to handle anomalies caused by missing essential resources. When original recording materials such as dubbing audio are missed or missing, the voice actors are arranged to re-record the corresponding audio resources for that dialogue to fill in the missing original materials.

[0119] In one example, this implementation can be applied to a story-driven game project scenario. When the consistency check result of the subtitles and the official dubbing of a certain Chinese line of dialogue is inconsistent, the system generates an error record, and the error corresponds to the subtitle-voice consistency check rule. The system generates a subtitle correction task based on the error type and sends it to the subtitle production node. After the subtitle production staff corrects the subtitles and submits a completion signal, the system determines the rules that need to be rechecked: the first check rule corresponding to the original error: subtitle-voice consistency check, plus the second check rule corresponding to the subtitle resource type: subtitle-voice consistency check. The subtitle-voice consistency check is executed again. If the recheck passes, the error record is closed and the subtitle resource status is updated to the second status; if the recheck still fails, the number of retries is increased and the resource status is updated to the first status or pending correction.

[0120] This embodiment performs targeted re-inspection by using the set of verification rules affected by resource changes, ensuring that the scope of the re-inspection covers all affected verification rules without re-executing all irrelevant rules.

[0121] In some embodiments, the resource consistency verification method further includes: resource anomalies include at least one of the following: anomalies in the aggregation relationship of the aggregation view constructed based on the baseline identifier, a resource status being in the first state, and a missing necessary resource for dialogue resources.

[0122] The aggregated view refers to a unified visual view that integrates and summarizes scattered data such as multilingual and multi-type dialogue resources, resource binding records, verification status, error records, and correction tasks stored under the same baseline identifier, according to business dimensions. It allows for centralized viewing of all dimensions of dialogue materials and verification status for the entire storyline, replacing the method of checking data separately for each category, and facilitating production staff to have a global grasp of the progress of multilingual localization and the distribution of anomalies.

[0123] Aggregation relationship anomalies refer to anomalies arising from the association and matching relationships between multiple types or multilingual dialogue resources under the same base identifier not conforming to the preset aggregation rules. For example, a certain language dubbing may have been updated but not associated with the base identifier, lip-sync material may be associated with the wrong dialogue ID, or the base identifiers of multilingual resources may be disordered. These are not problems with individual material content, but rather errors in the aggregation and binding relationships between resources.

[0124] Required resources refer to a list of dialogue resources that are mandatory and must be present and complete at the current production stage of the project. These resources are pre-configured by the production specifications, and the list varies at different stages. For example, at the official release stage, the required resources for a single line of dialogue usually include the dialogue text, the official audio, subtitles, and lip-sync data. The absence of any one of these will trigger a required resource missing check exception.

[0125] Specifically, resource anomalies, besides failure to pass consistency checks, also include abnormal aggregation relationships, resource status being in the first state, and missing necessary resources for dialogue. If any of these resource anomalies occur, the system will automatically generate an error record and trigger a correction process.

[0126] In one example, this implementation can be applied to a story-driven game project scenario. In the aggregated view of game dialogue, the German voice-over material for an NPC's dialogue has been updated, but it is not bound to the corresponding baseline identifier, resulting in an aggregation relationship anomaly; lip-sync data for a side quest's dialogue is missing, failing to meet the necessary resource configuration for the release phase; some related dialogue resources are marked as being in the first state. When any of the above anomalies occur, without performing content consistency checks, the system can identify it as a resource anomaly, automatically generate the corresponding error record, and distribute the correction task to the corresponding node for rectification.

[0127] This embodiment incorporates aggregated binding relationships, resource status, and the completeness of necessary resources into the scope of resource anomaly judgment, rather than solely relying on the results of consistency verification, thus broadening the dimensions of anomaly detection coverage. It can detect problems such as resource binding errors, missing material configurations, and existing tasks awaiting re-inspection in advance, and uniformly generate error records and correction tasks, reducing omissions in manual inspections.

[0128] In some embodiments, the resource consistency verification method further includes: the baseline identifier corresponding to the dialogue resource is generated based on the scene identifier and dialogue sequence number of the dialogue resource in the standardized script record, and the monolingual identifier is determined based on the baseline identifier and the language identifier of the dialogue resource in the standardized script record.

[0129] The standardized script record refers to the structured and standardized original script text data record established for the plot dialogue. It uniformly includes original plot text, scene information, dialogue sequence, multilingual translation drafts and other meta-information, serving as the authoritative benchmark source for script resource production, translation and verification. Script resources in all languages ​​reference this script record to avoid scattered script text versions and provide a reference for multilingual semantic consistency verification.

[0130] Scene identifiers are fields used to uniquely identify the business scene to which the plot belongs, such as scene IDs for plot levels, dialogue segments, and cutscenes. They are used to group and aggregate multiple lines of dialogue. All dialogue resources under the same plot scene share the same scene identifier, and support batch filtering and batch verification of dialogue resources by scene.

[0131] The dialogue sequence number refers to the sequential number set for a single dialogue line within a single scene. It represents the order in which the dialogue lines are played in the story dialogue flow, and is used to constrain the dialogue playback order and compare the timing of subtitles. At the same time, it is used to locate a single dialogue line entry in the aggregate view.

[0132] Language identifiers are identifier fields that mark the language of dialogue resources, distinguishing between different languages ​​such as Chinese, English, and German, and are compatible with single-language identifiers; dialogue resources in different languages ​​under the same base identifier have different language identifiers, which are used to distinguish multilingual translation, dubbing, and subtitle materials.

[0133] Specifically, after generating standardized script records, the system generates a baseline identifier based on scene identifier and line number to ensure that the same line number in the same scene corresponds to the same baseline identifier; and generates a single language identifier based on the baseline identifier and language identifier to ensure that the same line in different languages ​​has different identifiers.

[0134] In some embodiments, the system receives a script table and maps the raw fields to scene identifiers, dialogue numbers, language identifiers, character identifiers, dialogue text, pre-recorded voice resources, official voice resources, subtitle identifiers, lip-sync identifiers, and voice identifiers. Subsequently, the system performs format normalization operations on the scene identifiers, dialogue numbers, and language identifiers, and generates standardized script records.

[0135] Finally, a baseline identifier is generated based on the scene identifier and the dialogue sequence number, and a single-language identifier is generated based on the baseline identifier and the language identifier. The generation rules are as follows: the baseline identifier is composed of the scene identifier, the separator "_", and the dialogue sequence number concatenated in sequence; the single-language identifier is composed of the baseline identifier, the separator "_", and the language identifier concatenated in sequence. Through these rules, the same dialogue line shares the same baseline identifier in different languages, while each language version has an independent single-language identifier.

[0136] In one example, this implementation can be applied to a story-driven game project. The game imports a story table, the system completes field mapping, obtaining a scene identifier SCN_0105, a dialogue sequence number 008, and language identifiers zh-CN, en-US, and de-DE, respectively. After format standardization, a standardized script record is generated. According to the generation rules, the base identifier is SCN_0105_008; the corresponding single-language identifiers for each language are SCN_0105_008_zh-CN, SCN_0105_008_en-US, and SCN_0105_008_de-DE, respectively. The Chinese, English, and German versions of the same NPC dialogue reuse the same base identifier, each possessing its own independent single-language identifier.

[0137] This embodiment generates dual identifiers through three basic fields: scene identifier, line number, and language identifier. This enables stable aggregation of the same lines across languages. The identifiers are unique and traceable, ensuring the stability of multilingual associations.

[0138] Please refer to it again. Figure 3 In some embodiments, the resource consistency verification method further includes: Step 022: If the consistency check of all associated dialogue resources passes, the change of dialogue resources is confirmed to be complete.

[0139] Specifically, when any dialogue resource is changed, a consistency check is performed on the dialogue resource and its associated dialogue resources. If the check results for the changed resource and all its associated dialogue resources pass, the resource status of all corresponding resources is updated to the second state. When all associated dialogue resources under this dialogue baseline identifier pass the consistency check and all resource statuses are in the second state, the system determines that the dialogue resource change is complete. If any associated resource still fails the check or remains in the first state, the change is determined to be incomplete, and the system continues to wait for correction and re-check.

[0140] In some embodiments, when there are no records in the dialogue resources that are in the first state, and there are no error records in the return state that are pending correction, pending re-inspection, or pending retry, and all consistency verification rules are in the pass state, the system generates a compliance report.

[0141] The compliance report should include at least the baseline identifier, the monolingual identifier, the set of verified resource versions, the set of approved rules, the set of closed-loop error records, the output batch identifier, and the output time.

[0142] This includes a set of rule pointers that references dialogue resources corresponding to a specific monolingual identifier, storing the complete set of verification rule codes that have been executed and passed in the current or historical verification. This is used to demonstrate which rules have passed for the current resource version.

[0143] The closed-loop error record set refers to the storage of historical error records that have been rectified and confirmed to be repaired after re-inspection. The set stores archived information such as the rule code, resource identifier, expected value, actual value, correction node, and re-inspection results of historical anomalies. It serves as proof that historical errors have been corrected.

[0144] The output batch identifier is used to mark a unique batch number for exporting or generating dialogue resources in a single batch. This identifier is assigned when exporting multilingual text, dubbing packages, subtitle packages, and other dialogue products in batches. All dialogue resources exported in the same batch share the same output batch identifier.

[0145] The output time record records the timestamps of the dialogue resources being exported, rendered, and packaged, corresponding to the actual generation time of the output batch, and is bound to the resource binding record and output batch identifier.

[0146] In one example, this implementation can be applied to a story-driven game project scenario. When project developers modify the Chinese dialogue text of an NPC, it triggers a verification process for multilingual (Chinese, English, German) related dialogue resources under this benchmark identifier. If all related dialogue resources in Chinese, English, and German pass consistency checks and their statuses are updated to the second state, the dialogue change is considered complete. If the German subtitle-voice verification fails, the resources remain in the first state, and there are pending re-inspection error records, the change is considered incomplete and awaits rectification and re-inspection. When all dialogue resources under this benchmark are not in the first state, and there are no pending correction, re-inspection, or retry error records, and all verification rules pass, the system automatically generates a compliance report. The report includes the benchmark identifier, identifiers for each language, the set of verified resource versions, the set of passed rules, the set of closed-loop error records, the output batch identifier, and the output time, serving as proof for the delivery and version archiving of this batch of dialogue resources.

[0147] This embodiment uses the verification results of all associated dialogue resources as the condition for determining the completion of dialogue changes, thus avoiding premature termination of the change process when only some verifications pass.

[0148] All of the above technical solutions can be combined in any way to form optional embodiments of this application, and will not be described in detail here.

[0149] In summary, the resource consistency verification method of this application has the following technical effects: (1) By using a dual identifier structure of baseline identifier and single language identifier, all language versions of the same line of dialogue are aggregated together, so that the same line of dialogue can still maintain a stable resource binding relationship after multiple resource replacement iterations, reducing the probability of abnormal resource aggregation relationship.

[0150] (2) When a single resource is replaced, it can fully locate all consistency verification rules affected by the linkage, preventing the problem of missing verification rules.

[0151] (3) Configure the first and second states to complete the management and control of resource status flow. After the dialogue resources change and are updated, the validity of historical resources such as old subtitles, old lip movements, and old screen recordings can be marked in time to avoid the defect of old materials being mistakenly judged as valid and usable.

[0152] (4) Based on the set of verification rules affected by resource changes, it is not necessary to re-execute all verification rules. Only the rules affected by the changes are verified, while ensuring that the scope of re-inspection fully covers all affected verification items.

[0153] To facilitate better implementation of the resource consistency verification method of this application, this application also provides a resource consistency verification device. Please refer to... Figure 6 , Figure 6 This is a schematic diagram of the resource consistency verification device provided in an embodiment of this application. The resource consistency verification device 100 may include: The determination module 101 is used to determine the base identifier and single language identifier corresponding to the dialogue resource in the resource binding record of the dialogue resource when any dialogue resource is detected to have changed. The base identifiers corresponding to dialogue resources in different languages ​​for the same dialogue are the same, but the single language identifiers are different. The acquisition module 102 is used to acquire the associated dialogue resources corresponding to each resource binding record containing the baseline identifier; The consistency verification module 103 is used to perform consistency verification on the dialogue resources and associated dialogue resources to obtain the consistency verification result, which includes whether the associated dialogue resources and the dialogue resources are consistent.

[0154] Each module or unit in the aforementioned resource consistency verification device can be implemented entirely or partially through software, hardware, or a combination thereof. Each of these units can be embedded in or independent of the processor in an electronic device in hardware form, or stored in the memory of an electronic device in software form, so that the processor can call and execute the operations corresponding to each of these units.

[0155] The resource consistency verification device 100 can be integrated into a terminal or server that has storage and a processor and thus computing power, or the resource consistency verification device 100 can be the terminal or server itself.

[0156] Optionally, this application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0157] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device may be a terminal or a server. Figure 7 As shown, the electronic device 200 includes a processor 201 with one or more processing cores, a memory 202 with one or more computer-readable storage media, and a computer program stored in the memory 202 and executable on the processor. The processor 201 is electrically connected to the memory 202. Those skilled in the art will understand that the electronic device structure shown in the figures does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0158] The processor 201 is the control center of the electronic device 200. It connects various parts of the electronic device 200 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 202, and calling data stored in the memory 202, it executes various functions of the electronic device 200 and processes data, thereby performing overall processing of the electronic device 200.

[0159] Optional, such as Figure 7 As shown, the electronic device 200 also includes: a display screen 203, a radio frequency circuit 204, an audio circuit 205, an input unit 206, and a power supply 207. The processor 201 is electrically connected to the display screen 203, the radio frequency circuit 204, the audio circuit 205, the input unit 206, and the power supply 207. Those skilled in the art will understand that... Figure 7 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0160] The display screen 203 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The display screen 203 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program. Optionally, the touch panel may include a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, and transmits the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to the processor 201, and can receive and execute commands from the processor 201. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 201 to determine the type of touch event. Subsequently, the processor 201 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the display screen 203 to achieve input and output functions. However, in some embodiments, the touch panel and the display panel can be implemented as two independent components to achieve input and output functions. That is, the display screen 203 can also be used as part of the input unit 206 to achieve input functions.

[0161] The radio frequency circuit 204 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices, and to transmit and receive signals with network devices or other electronic devices.

[0162] Audio circuitry 205 can be used to provide an audio interface between a user and an electronic device via a speaker and microphone. Audio circuitry 205 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 205, converted back into audio data, and then processed by processor 201 before being transmitted via radio frequency circuitry 204 to, for example, another electronic device, or output to memory 202 for further processing. Audio circuitry 205 may also include an earphone jack to facilitate communication between peripheral headphones and electronic devices.

[0163] The input unit 206 can be used to receive input numbers, characters, or object feature information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

[0164] Power supply 207 is used to supply power to various components of electronic device 200. Optionally, power supply 207 can be logically connected to processor 201 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 207 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0165] although Figure 7 As not shown in the diagram, the electronic device 200 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.

[0166] This application also provides a computer-readable storage medium for storing a computer program. This computer-readable storage medium can be applied to an electronic device, and the computer program causes the electronic device to execute the corresponding process in the resource consistency verification method described in the embodiments of this application; for brevity, further details are omitted here.

[0167] This application also provides a computer program product including computer instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the corresponding process in the resource consistency verification method described in the embodiments of this application. For simplicity, further details are omitted here.

[0168] It should be understood that the processor in this application may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0169] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0170] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0171] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0172] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0173] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0174] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0175] In addition, the functional units in 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.

[0176] If a function is implemented as a software functional unit and sold or used as an independent product, it 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 a portion 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 an electronic device (which may be a personal computer or a server) to execute all or part of the steps of the methods in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0177] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations 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. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A resource consistency verification method, characterized in that, include: If any change is detected in the dialogue resource, the base identifier and single language identifier corresponding to the dialogue resource are determined in the resource binding record of the dialogue resource. The base identifiers of the dialogue resources corresponding to different languages ​​for the same dialogue are the same, but the single language identifiers are different. Obtain the associated dialogue resources corresponding to each of the resource binding records containing the benchmark identifier; A consistency check is performed on the dialogue resources and associated dialogue resources to obtain a consistency check result, which includes whether the associated dialogue resources and the dialogue resources are consistent.

2. The resource consistency verification method according to claim 1, characterized in that, The resource binding record also includes the resource version. If the resource version changes, it is determined that the corresponding dialogue resource has changed.

3. The resource consistency verification method according to claim 1, characterized in that, The resource binding record also includes a resource status, which includes a first status of pending confirmation of resource consistency and a second status of confirmed resource consistency. After determining the associated dialogue resource corresponding to the dialogue resource, the resource consistency verification method further includes: Change the resource status corresponding to the associated dialogue resource to the first status; After performing a consistency check on the dialogue resources and associated dialogue resources, the method further includes: Based on the consistency verification result, update the resource status of the associated dialogue resources.

4. The resource consistency verification method according to claim 1, characterized in that, The consistency verification is based on at least one verification rule, and the resource consistency verification method further includes: Based on the resource type of the associated dialogue resources, determine the target verification rules corresponding to the associated dialogue resources; The consistency check of the dialogue resources and associated dialogue resources includes: Based on the target verification rules, a consistency verification is performed on the dialogue resources and associated dialogue resources.

5. The resource consistency verification method according to claim 4, characterized in that, The resource types include at least one of text, voice, subtitles, lip-syncing, and screen recording, and the verification rules include at least one of text-voice consistency verification, subtitle-voice consistency verification, multilingual semantic consistency verification, duration difference consistency verification, and required resource missing verification.

6. The resource consistency verification method according to claim 5, characterized in that, The method for determining the target verification rule corresponding to the associated dialogue resource based on the resource type of the associated dialogue resource includes: When the resource type is text, the target verification rules are determined to include text-to-speech consistency verification and multilingual semantic consistency verification. When the resource type is audio, the target verification rules are determined to include text-audio consistency verification, subtitle-audio consistency verification, and duration difference consistency verification. When the resource type is subtitles, the target verification rule is determined to include subtitle-voice consistency verification; When the resource type is lip-sync, the target verification rule is determined to include duration difference consistency verification; When the resource type is screen recording, the target verification rules are determined to include duration difference consistency verification and required resource missing verification.

7. The resource consistency verification method according to claim 1 or 3, characterized in that, The consistency verification is based on at least one verification rule, and the resource consistency verification method further includes: Based on the associated dialogue resources with resource anomalies, an error record is generated, wherein the resource anomalies include failing the consistency check; Based on the error records, an error correction task is generated and issued; After the associated dialogue resource corresponding to the error record is corrected, a consistency check is performed again based on the first verification rule corresponding to the error record and the second verification rule corresponding to the resource type of the corrected associated dialogue resource, so as to obtain the consistency re-check result. Based on the consistency re-check results, the resource status of the corrected associated dialogue resources is updated.

8. The resource consistency verification method according to claim 7, characterized in that, The resource anomalies also include at least one of the following: an aggregation relationship anomaly in the aggregation view constructed based on the baseline identifier, the resource status being in the first state, and the dialogue resource lacking necessary resources.

9. The resource consistency verification method according to claim 1, characterized in that, The baseline identifier corresponding to the dialogue resource is generated based on the scene identifier and dialogue sequence number of the dialogue resource in the standardized script record, and the monolingual identifier is determined based on the baseline identifier and the language identifier of the dialogue resource in the standardized script record.

10. The resource consistency verification method according to claim 1, characterized in that, Also includes: If the consistency check of each of the associated dialogue resources passes, the change of the dialogue resources is determined to be complete.

11. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing a computer program, and the processor executing the resource consistency verification method according to any one of claims 1-10 by calling the computer program stored in the memory.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted for loading by a processor to perform the resource consistency verification method as described in any one of claims 1-10.