Resource processing method, computing device, storage medium, and computer program product
By automatically detecting and integrating target update resources and their associated resources and configuration data in application projects, the problems of cumbersome and omission-prone resource update operations are solved, achieving efficient resource management and improving development efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
- Filing Date
- 2026-02-26
- Publication Date
- 2026-05-29
Smart Images

Figure CN122111471A_ABST
Abstract
Description
Technical Field
[0001] This manual relates to the fields of digital cultural and creative activities and computer technology, and in particular to resource processing methods, computing devices, storage media and computer program products. Background Technology
[0002] In practical applications, application projects typically contain a large number of resource files. When the application undergoes a version update or requires certain updates, the developers will update some resource files in the application project and submit the updates to these resource files to the application project's version control system so that these updates can be shared with all developers of the application project, facilitating subsequent application version updates.
[0003] However, updating these resource files typically requires developers to manually navigate to each updated subdirectory within the application project and execute a commit command in each subdirectory to submit the update. If resource file updates are scattered across different directories, developers must repeatedly perform this manual process, switching to the corresponding directory to execute the commit command. This is cumbersome, wastes significant manpower and time, and ultimately leads to low development efficiency for the application project. Therefore, an effective technical solution is urgently needed to address these issues. Summary of the Invention
[0004] In view of this, embodiments of this specification provide a resource processing method. This specification also relates to a resource processing apparatus, a computing device, a computer-readable storage medium, and a computer program product, to address the aforementioned problems existing in the prior art.
[0005] According to a first aspect of the embodiments of this specification, a resource processing method is provided, comprising: Determine the target update resource corresponding to the target object; Based on the resource association relationship corresponding to the target object, determine the associated update resource associated with the target update resource, and determine the target configuration data corresponding to the target update resource and / or the associated configuration data corresponding to the associated update resource; The target update resource, associated update resource, target configuration data and / or associated configuration data are integrated to obtain update resource information corresponding to the target object, and the update resource information is submitted to the update database of the target object.
[0006] According to a second aspect of the embodiments of this specification, a resource processing apparatus is provided, comprising: The first determination module is configured to determine the target update resource corresponding to the target object; The second determining module is configured to determine the associated updating resource associated with the target updating resource based on the resource association relationship corresponding to the target object, and to determine the target configuration data corresponding to the target updating resource and / or the associated configuration data corresponding to the associated updating resource; The integration module is configured to integrate the target update resource, associated update resource, target configuration data and / or associated configuration data to obtain update resource information corresponding to the target object, and submit the update resource information to the update database of the target object.
[0007] According to a third aspect of the embodiments of this specification, a computing device is provided, comprising: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions, which, when executed by the processor, implement the steps of the resource processing method described above.
[0008] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided that stores a computer program / instructions that, when executed by a processor, implement the steps of the resource processing method described above.
[0009] According to a fifth aspect of the embodiments of this specification, a computer program product is provided, including a computer program / instructions that, when executed by a processor, implement the steps of the resource processing method described above.
[0010] This specification provides a resource processing method, comprising: determining a target update resource corresponding to a target object; determining associated update resources associated with the target update resource based on the resource association relationship corresponding to the target object, and determining target configuration data and / or associated configuration data corresponding to the target update resource; integrating the target update resource, associated update resource, target configuration data and / or associated configuration data to obtain update resource information corresponding to the target object, and submitting the update resource information to the update database of the target object.
[0011] In the above method, after determining the target update resource corresponding to the target object, the associated update resources associated with the target update resource can be automatically detected based on the resource association relationship corresponding to the target object. The target configuration data corresponding to the target update resource and / or the associated configuration data corresponding to the associated update resource can also be detected. The target update resource, associated update resource, target configuration data and / or associated configuration data are integrated to obtain the update resource information corresponding to the target object. This achieves automatic integration of all updates to the target object and submits the update resource information to the update database of the target object, avoiding submission omissions. Furthermore, it eliminates the need for developers to search through each directory, avoiding significant labor and time costs, simplifying operations, and further improving the development efficiency of the target object. Attached Figure Description
[0012] Figure 1 This is a flowchart of a resource processing method provided in one embodiment of this specification; Figure 2 This is a schematic diagram of a submission confirmation window in a resource processing method provided in one embodiment of this specification; Figure 3 This is a flowchart illustrating a resource processing method for submitting game update versions, provided in one embodiment of this specification. Figure 4 This is a schematic diagram of the structure of a resource processing device provided in one embodiment of this specification; Figure 5 This is a structural block diagram of a computing device provided in one embodiment of this specification. Detailed Implementation
[0013] Many specific details are set forth in the following description to provide a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this specification. Therefore, this specification is not limited to the specific implementations disclosed below.
[0014] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of this specification. The singular forms “a,” “described,” and “the” as used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0015] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this specification, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."
[0016] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this manual are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant regions, and corresponding operation portals are provided for users to choose to authorize or refuse.
[0017] First, the terms and concepts used in one or more embodiments of this specification will be explained.
[0018] Unversion-controlled files: These are resource files that are not managed by a version control system.
[0019] Version control system: A tool that records changes to file content, supports historical retracing, and facilitates collaborative development.
[0020] APP: Application, refers to a software program that runs on mobile devices (such as mobile phones and tablets) or desktop operating systems.
[0021] 3D: Three-Dimensional, refers to a spatial representation with length, width, and depth. In game development, 3D typically refers to a game world or objects constructed using three-dimensional models, cameras, and spatial coordinate systems.
[0022] Shader: A program used to control graphics rendering effects, such as the color, lighting, reflection, and transparency of an object's surface. Common types include vertex shaders and fragment shaders.
[0023] Prefab: In the Unity engine, it refers to a reusable pre-defined game object template.
[0024] FBX model: Filmbox Model, a type of 3D model.
[0025] VG: Virtual Geometry technology: a virtual geometry rendering technology that eliminates the need to manually create LOD models by dividing a high-precision model into multiple clusters and streaming them in real time according to different distances.
[0026] VG objects: Resources used for rendering in the Virtual Geometry system.
[0027] Page file: A file used to store VG object mesh data.
[0028] JSON configuration file: A configuration data file written in JSON format, used to store game parameters (such as model position information, character attributes, level settings, etc.). JSON represents data in key-value pairs and array structures, making it easy for humans to read and for programs to parse, and is often used in data-driven development.
[0029] Assets directory: The root folder in the project where all resource files (such as models, textures, audio, scripts, prefabs, etc.) are stored.
[0030] Unity: A game engine.
[0031] In practical applications, when committing updated resources during application project development, it's common practice to commit directory by directory. Developers navigate to each updated directory and perform the commit operation individually. However, this approach is cumbersome and inefficient when the application project has a complex directory structure and scattered resources. Alternatively, a unified commit can be made in the root directory. Developers can execute the commit from the outer root directory, in which case the system lists all local updated files. These often include many intermediate files that don't need to be committed, requiring manual screening of each file. This is inefficient and inaccurate. Furthermore, invisible data files outside the application project directory are easily overlooked, leading to incomplete dependencies. Unversioned resource files also require manual selection and committing by developers, which is tedious and error-prone. Therefore, an effective technical solution is urgently needed to address these issues.
[0032] This specification provides a resource processing method, and also relates to a resource processing apparatus, a computing device, a computer-readable storage medium, and a computer program product, which are described in detail in the following embodiments.
[0033] The resource processing method provided in this specification can be used for the production and updating of digital cultural products. After determining the target update resource corresponding to the target object, it can automatically detect the associated update resources of the target update resource according to the resource association relationship of the target object, and detect the target configuration data and / or the associated configuration data of the associated update resources. The target update resource, associated update resources, target configuration data and / or associated configuration data are integrated to obtain the update resource information corresponding to the target object, realize the automatic integration of all updates of the target object, submit the update resource information to the update database of the target object, realize the update of digital cultural products, and further realize the provision of users with real and immersive digital cultural content services.
[0034] Figure 1 A flowchart of a resource processing method according to an embodiment of this specification is shown, which specifically includes the following steps: Step 102: Determine the target update resource corresponding to the target object.
[0035] Specifically, the resource processing method provided in the embodiments of this specification can be applied to the development end of the target object. Specifically, the development end can deploy an object editor, which is used to implement the development and updating of the target object. This resource processing method can also be used with a version management tool for the target object, which is used for the collaborative management of the target object's resource files.
[0036] The target object can be understood as the application to be updated. For example, the target object can be a game, an instant messaging app, a social networking platform app, etc. The target update resource can be understood as the resource file that exists in the target object and needs to be updated.
[0037] In practical applications, taking a game as an example, the resource files in a game can include graphics / visual resource files, audio resource files, data / configuration resource files, and video resource files. Graphics / visual resource files may include texture resource files, 3D model resource files, animation resource files, shader resource files, and texture mapping resource files. Audio resource files may include sound effect resource files, background music resource files, voice resource files, and audio configuration resource files. Data / configuration resource files may include numerical table resource files, game level / map data files, and script logic resource files. Video resource files may include animation resource files. Therefore, a target updated resource can be understood as one among these resource files containing updated resource files. This target updated resource could be a newly generated 3D model resource file, or it could be a 3D model resource file obtained by updating the model textures in an existing 3D model file.
[0038] Based on this, we can determine which target update resource exists from all candidate resources of the target object.
[0039] In practice, version control tools can be used to detect all candidate resources of the target object. When an update to a candidate resource is detected, the updated candidate resource is identified as the target update resource. Candidate resources can be understood as resource files of the target object.
[0040] For ease of understanding, the embodiments in this specification use the application of the resource processing method to the target game as an example for illustration, and do not affect the implementation of the resource processing method provided in the embodiments of this specification in other applications.
[0041] In specific implementation, determining the target update resource corresponding to the target object includes: In response to a resource generation instruction for the target object, generate the target updated resource corresponding to the resource generation instruction; or In response to a resource update instruction for a target resource in the target object, the target resource is updated to obtain the updated target resource.
[0042] In this context, a resource generation instruction can be understood as an instruction to generate a resource file for a target object. A target resource can be understood as any one of the candidate resources within the target object that needs to be updated. A resource update instruction can be understood as an instruction to update the target resource.
[0043] Specifically, developers can edit the resources of the target object using the object editor in the development environment. The development environment can respond to the developer's resource generation command for the target object and generate the corresponding updated target resource; or the development environment can respond to the developer's resource update command for the target resource in the target object and update the target resource to obtain the updated target resource.
[0044] Taking the target game as an example, if the developers want to update the target game with a new game scene, then the resource files for that game scene need to be generated. The developers can create the resource files for the game scene through the game editor. The development side responds to the developers' resource generation instructions for the target game and can generate the resource files corresponding to that game scene, which is the target update resource.
[0045] Alternatively, if developers want to update the appearance of an object in the target game, they need to modify the textures and materials of the object's model file. In this case, developers can use the game editor to first select the resource file of the object in the target game (i.e., the target resource), modify the resource file, and obtain the modified resource file as the target update resource.
[0046] In practical applications, multiple resource generation and iteration tools are typically developed or integrated into object editors, enabling the generation or updating of required resource files from specific source files (such as FBX models) with a single click. This includes the generation and updating of material configurations, prefabs, VG objects, and colliders. Based on this, in response to resource generation or update commands, the corresponding target updated resource can be generated using the appropriate resource generation tools.
[0047] In summary, the target updated resource can be determined through the resource generation process or the resource update process.
[0048] Furthermore, after generating the target update resource corresponding to the resource generation instruction in response to the resource generation instruction for the target object, the method further includes: Generate target configuration data corresponding to the target update resource, associated update resources corresponding to the target update resource, and associated configuration data corresponding to the associated update resources.
[0049] Among them, the associated update resources corresponding to the target update resource can be understood as resource files that are related to the target update resource and are being updated. For example, if the target update resource is an FBX model resource, the associated resources that are related to the target update resource can include the collider resources, prefab resources, prefab variant resources, material resources, texture resources, effects resources, animation resources, and script resources of the FBX model. Therefore, the associated update resources can be understood as resources that are being updated among these associated resources.
[0050] The target configuration data corresponding to the target update resource can be understood as the script data file output during the generation process of the target update resource. The associated configuration data corresponding to the associated update resource can be understood as the script data file output during the generation process of the associated update resource. The script data file may include configuration tables, data files, etc.
[0051] For example, when the target update resource is an FBX model resource, the corresponding VG resource and related Page file are generated simultaneously during the Prefab generation process. The VG resource can be understood as the associated update resource, and the Page file can be understood as the target configuration data. The Page file records the mesh data of the FBX model. The Page file is updated synchronously with the FBX model resource. However, the Page file is not located in the project's main resource directory (such as Unity's Assets directory) and cannot be directly viewed in the editor; it needs to be viewed and modified in a local file directory. Alternatively, the script data file can also be a JSON configuration file for the main body's attachments, which can be stored in the project's resource directory.
[0052] Understandably, script data files like Page files, stored in a separate directory outside the target project, lack project-wide visibility and are easily missed during update commits. Failure to synchronize or commit script data files outside the project during an update commit may lead to data loss, logical errors, or even crashes during subsequent runtime of the target object.
[0053] Therefore, target update resources and associated update resources can be stored in the target object's project directory. Target update resources and associated update resources can be stored in the same directory or in different directories.
[0054] Based on this, while generating the target update resource, the associated update resource corresponding to the target update resource will also be generated simultaneously. In addition, the target configuration data corresponding to the target update resource and the associated configuration data corresponding to the associated update resource will also be obtained simultaneously.
[0055] In summary, by simultaneously generating associated update resources, target configuration data, and associated configuration data during the generation of target update resources, the update resource generation process is realized, which facilitates the subsequent automated detection and submission of update resources.
[0056] In specific implementation, generating the target configuration data corresponding to the target update resource, the associated update resource corresponding to the target update resource, and the associated configuration data corresponding to the associated update resource includes: Based on the configuration data storage path of the target updated resource, obtain the target configuration data output during the generation process of the target updated resource; Generate associated update resources corresponding to the target update resource, and obtain the associated configuration data output during the generation process of the associated update resource based on the configuration data storage path of the associated update resource.
[0057] The configuration data storage path can be understood as the storage path of the script data file on the development side.
[0058] Specifically, the target configuration data output during the generation of the target update resource can be obtained based on the configuration data storage path of the target update resource; and the associated configuration data output during the generation of the associated update resource can be obtained based on the configuration data storage path of the associated update resource.
[0059] In summary, by using the corresponding configured data storage path, script data files can be obtained, and the correlation can be determined based on the data file generation rules.
[0060] Further, after updating the target resource in response to a resource update instruction for the target resource in the target object and obtaining the updated target resource, the method further includes: Generate the target configuration data corresponding to the target updated resource; Identify the associated resources of the target resource, update the associated resources to obtain the associated update resources of the target update resource, and generate the associated configuration data corresponding to the associated update resources.
[0061] Specifically, after updating the target resource to obtain the updated target resource, the target configuration data corresponding to the updated target resource can be generated synchronously, and the associated resources associated with the target resource can be updated to obtain the associated updated resources, and the associated configuration data corresponding to the associated updated resources can be generated synchronously.
[0062] It is understandable that the process of generating associated update resources, target configuration data and associated configuration data is similar to that described above, and will not be repeated in the embodiments of this specification.
[0063] Step 104: Based on the resource association relationship corresponding to the target object, determine the associated update resource associated with the target update resource, and determine the target configuration data corresponding to the target update resource and / or the associated configuration data corresponding to the associated update resource.
[0064] Resource association can be understood as the association between candidate resources of the target object, such as the dependency relationship or reference relationship between candidate resources.
[0065] Specifically, after identifying the target update resource in the target object, the associated update resource can be determined based on the relationship between the candidate resources in the target object, and the target configuration data corresponding to the target update resource and / or the associated configuration data corresponding to the associated update resource can be determined.
[0066] In practical applications, intelligent association detection can be used to automatically detect target objects. By analyzing the reference relationships between candidate resources from multiple dimensions, it identifies associated update resources related to the target update resource, detects the target configuration data corresponding to the target update resource and the associated configuration data corresponding to the associated update resources, and filters out irrelevant resources to ensure that cross-directory dependencies are not missed. This intelligent association detection function can be implemented by writing program code. It can simultaneously detect associated update resources associated with multiple target update resources. Based on the intelligent analysis characteristics of association rules, it ensures the integrity of version submissions through automated analysis and verification of associated resources.
[0067] Further, determining the associated update resources of the target update resource based on the resource association relationship corresponding to the target object includes: Based on the resource hierarchy structure association relationship corresponding to the target object, determine the associated update resources associated with the target update resource; and / or Based on the resource reference relationship corresponding to the target object, determine the first update resource referenced by the target update resource, and determine the second update resource referencing the target update resource. Then, define the first update resource and the second update resource as associated update resources related to the target update resource; and / or Based on the resource script component dependencies corresponding to the target object, determine the associated update resources associated with the target update resource.
[0068] The resource hierarchy structure can be understood as the hierarchical structure and path naming relationships between candidate resources of the target object, such as the relationship between model resources and generated prefab resources, prefab variants, materials and textures, and related control scripts. Resource reference relationships can be understood as the reference and being referenced relationships between candidate resources of the target object, such as the relationship between effects resources, collider network resources, animation resources used for interaction, and related control scripts directly referenced by resources. Resource script component dependencies can be understood as the resource dependencies between candidate resources of the target object and script components mounted on the candidate resources, such as the relationship between mesh resources used for collision logic referenced by prefab collision components and data textures referenced by destruction components.
[0069] Specifically, based on the resource hierarchy and association relationships corresponding to the target object, candidate resources associated with the storage path and naming of the target update resource can be automatically matched as associated update resources. And / or, based on the resource hierarchy and association relationships corresponding to the target object, a first update resource referenced by the target update resource and a second update resource referencing the target update resource can be determined, and these first and second update resources can be used as associated update resources. And / or, based on the resource script component dependencies corresponding to the target object, script components mounted on the target update resource can be parsed, and the resource dependencies of these script components can be extracted as associated update resources.
[0070] In practical applications, the system can automatically match storage paths and associated resources, such as prefab resources, prefab variants, materials and textures, and related control scripts pre-generated from model resources. It can parse effects resources, collider network resources, interactive animation resources, and related control scripts directly referenced on the target update resource as associated update resources. It can also parse script components mounted on the target update resource, extracting their resource dependencies, such as mesh resources used for collision logic referenced by the prefab collision component, and data textures referenced by the destruction component, as associated update resources. These resources are generated by the tool and stored in a separate directory. Furthermore, it can reverse-search all other resources in the target object that reference the target update resource as associated update resources, such as prefabs and configuration tables that reference the model. The target update resource and associated update resources are combined as a single resource, ensuring synchronized submission of the combined resources.
[0071] Furthermore, the generation process of target update resources and associated update resources can be monitored, the storage path of the script data files output by the generation operation can be recorded, and the change status of data files outside the corresponding project can be automatically associated based on the storage path, thereby detecting the corresponding script data files (i.e., target configuration data and / or associated configuration data).
[0072] In summary, by utilizing the intelligent association detection function, all file changes related to the target updated resources are automatically identified, including script data files that are not visible in the engine, ensuring the completeness and completeness of cross-directory dependent resources. Through the intelligent association mechanism, the system automatically filters out irrelevant resources, avoiding manual screening and erroneous operations when submitting across directories.
[0073] In one embodiment of this specification, the intelligent association detection function can be embedded in the aforementioned resource generation process. During the generation and updating of target updated resources and associated updated resources, the intelligent association detection function can be integrated into this resource generation process. For example, after generating or updating the FBX model, the model tool can be used to simultaneously generate or update the corresponding associated updated resources such as collider meshes, prefabs, and VG objects. After generation is complete, the development team can call the intelligent association detection function to automatically detect these newly added or changed resource files.
[0074] In addition, the triggering timing or stage of the intelligent association detection function can be customized in other resource generation or change processes according to actual needs, so as to achieve flexible embedding of the intelligent association detection function.
[0075] In another embodiment of this specification, the intelligent association detection function can also be run as an independent module. When a candidate resource in the target object changes, the changed candidate resource can be selected, and the intelligent association detection function can be used to perform detection on the changed candidate resource. The intelligent association detection function can automatically retrieve associated resources that are related to the candidate resource and determine whether the associated resources have been updated. The specific implementation method is as follows.
[0076] The step of determining the associated update resource of the target update resource based on the resource association relationship corresponding to the target object includes: Based on the resource association relationship corresponding to the target object, candidate associated resources for the target updated resource association are determined; from the candidate associated resources, the updated candidate associated resources are determined as the associated updated resources for the target updated resource association.
[0077] Specifically, after determining that there is an updated target resource in the target object, the candidate associated resources of the target updated resource can be detected according to the resource association relationship corresponding to the target object, and it can be determined whether the candidate associated resources are updated. The candidate associated resources that are updated are taken as the associated updated resources of the target updated resource.
[0078] It is understandable that the specific process of determining the candidate associated resources for updating the target resource association based on the resource association relationship corresponding to the target object is similar to that described above, and the embodiments in this specification do not limit this.
[0079] In summary, by identifying candidate associated resources for the target update resource, it is determined whether the candidate associated resources have been updated, thereby achieving automated identification of associated update resources.
[0080] Step 106: Integrate the target update resource, associated update resource, target configuration data and / or associated configuration data to obtain update resource information corresponding to the target object, and submit the update resource information to the update database of the target object.
[0081] In this context, the updated database can be understood as the version database of the target object or a version control system.
[0082] Specifically, the target update resources, associated update resources, target configuration data and / or associated configuration data can be integrated to obtain the update resource information corresponding to the target object, and the update resource information can be submitted to the version database or version control system of the target object.
[0083] Furthermore, the updated resource information can also include files without version control detected by the intelligent association detection function.
[0084] In practical applications, the process of integrating the target update resource, associated update resource, target configuration data, and / or associated configuration data to obtain update resource information corresponding to the target object includes: Determine the target update operation corresponding to the target update resource, and determine the associated update operation corresponding to the associated update resource; The target update resource, the target update operation, the target configuration data, the associated update resource, the associated update operation, and / or the associated configuration data are integrated into the update resource information corresponding to the target object.
[0085] The updated resource information can be a list of resources to be committed. A target update operation can be understood as an update operation on the target resource, and a related update operation can be understood as an update operation on related resources. Update operations can include modification, addition, and deletion. Understandably, if the target update operation for a target resource is a deletion operation, it means that the target resource is being deleted. In this case, the resource attribute information corresponding to the deleted target resource and the corresponding deletion operation need to be integrated into the list of resources to be committed (i.e., updated resource information) so that the corresponding resource files in the version database or version control system can be synchronously deleted after subsequent commits.
[0086] Specifically, the update operations corresponding to the target update resource and the associated update resource can be determined, and the target update resource, the associated update resource, the corresponding update operation, the target configuration data and / or the associated configuration data can be integrated into the update resource information.
[0087] In practical applications, the development team can use the intelligent correlation detection function to integrate the target update resource and all related update resources, including cross-directory dependent resources and script data files, update operations (such as modification, addition, and deletion), and files without version control into a commit list (i.e., update resource information), facilitating subsequent commits. Furthermore, update resources belonging to different directories (update resources can include the target update resource and related update resources) in the commit list can be integrated to determine cross-directory update resources.
[0088] In summary, by integrating resources across multiple directories, we can detect changes to multiple target resources and automatically consolidate scattered related updated resources, eliminating the need for developers to search and filter through each directory individually. Furthermore, we can directly add newly added files and files that need to be deleted to the commit list, automatically consolidating files without version control and preventing omissions in committing such files.
[0089] Further, submitting the updated resource information to the update database of the target object includes: A submission confirmation window is generated, wherein the submission confirmation window is used to display the updated resource information, and the submission confirmation window includes a submission control; In response to a click command on the submit control, the updated resource information is submitted to the update database of the target object.
[0090] Specifically, after the development team integrates the list of items to be submitted, it can trigger a submission confirmation window to display the list and a submission control. After the developer clicks the submission control, the development team responds to the click instruction by submitting the list of items to be submitted to the version control tool of the target object, such as a version database or version control system, so that the developer can verify and complete the resource submission.
[0091] In practical applications, after cross-directory resource integration is completed, a submission confirmation window can automatically pop up to facilitate developers in confirming whether to submit.
[0092] See Figure 2 , Figure 2 This diagram illustrates a submission confirmation window in a resource processing method according to an embodiment of this specification, as shown below. Figure 2 As shown, the submission confirmation window displays updated resource information (i.e., a change list). This information may include the storage path of the updated resource and the corresponding update operation (e.g., no version control, version control in place, added, deleted, modified, etc.). The submission confirmation window also includes a submit control. In response to a developer's click on this control, the updated resource information can be submitted to the target object's version control system. For example, Figure 2 The change list shown includes the VG resources (i.e., associated update resources) and Page files (i.e., target configuration data) of the FBX model resources (i.e., target configuration data).
[0093] Furthermore, the list to be submitted can include multiple target update resources and related associated update resources. By combining multiple target update resources and all their associated resources into the list to be submitted, including files without version control, fully automated management of resource changes is achieved. For example, in updating a target game, all resource files that need to be updated in that update can be updated and checked, and then a list to be submitted, including multiple target update resources and related update resources, can be obtained. After submitting this list to the version control system, the version update of the target game is completed.
[0094] In summary, the above method, after determining the target update resource corresponding to the target object, can automatically detect the associated update resources based on the resource association relationship of the target object, and detect the target configuration data and / or associated configuration data corresponding to the target update resource and associated update resources. It integrates the target update resource, associated update resources, target configuration data, and / or associated configuration data to obtain the update resource information corresponding to the target object, achieving automatic integration of all updates to the target object. The update resource information is then submitted to the target object's update database, avoiding omissions and eliminating the need for developers to search through directories one by one, thus avoiding significant manual and time costs, simplifying operations, and further improving the development efficiency of the target object.
[0095] The following is in conjunction with the appendix Figure 3 Taking the application of the resource processing method provided in this specification in the submission of a game update version as an example, the resource processing method will be further explained. Figure 3 This specification illustrates a process flowchart of a resource processing method for submitting game update versions, provided by an embodiment of this specification. The method specifically includes the following steps: Step 302: Intelligent correlation detection.
[0096] Specifically, intelligent association detection can include detecting changes to associated resources and changes to script data files. Detecting changes to associated resources can include matching based on hierarchical structure and naming rules, detecting resources directly referenced by the target resource (i.e., the target updated resource), detecting resources that script components depend on, and detecting combined resources that reference the target resource. Detecting changes to script data files can include determining association based on data file generation rules.
[0097] Step 304: Associate all dependent resources and accurately exclude irrelevant items.
[0098] Step 306: Integrate and generate the submission list.
[0099] Specifically, the target resource can be integrated with the aforementioned associated resources (which may include associated update resources and script data files) and automatically incorporated into files without version control.
[0100] Step 308: Cross-directory resource integration.
[0101] Step 310: The submission confirmation window will pop up automatically.
[0102] The intelligent association detection function provided in the embodiments of this specification can automatically identify changes to the target updated resource and all its associated resources, accurately exclude irrelevant items, and integrate and generate a list to be submitted. After the resource is generated or modified, a submission window containing associated resources will automatically pop up, and developers can confirm the submission with one click.
[0103] Corresponding to the above method embodiments, this specification also provides resource processing apparatus embodiments. Figure 4 A schematic diagram of a resource processing apparatus according to an embodiment of this specification is shown. Figure 4 As shown, the device includes: The first determining module 402 is configured to determine the target update resource corresponding to the target object; The second determining module 404 is configured to determine the associated updating resource associated with the target updating resource based on the resource association relationship corresponding to the target object, and determine the target configuration data corresponding to the target updating resource and / or the associated configuration data corresponding to the associated updating resource; The integration module 406 is configured to integrate the target update resource, the associated update resource, the target configuration data and / or the associated configuration data to obtain the update resource information corresponding to the target object, and submit the update resource information to the update database of the target object.
[0104] In an optional embodiment, the integration module 406 is further configured to: Determine the target update operation corresponding to the target update resource, and determine the associated update operation corresponding to the associated update resource; The target update resource, the target update operation, the target configuration data, the associated update resource, the associated update operation, and / or the associated configuration data are integrated into the update resource information corresponding to the target object.
[0105] In an optional embodiment, the integration module 406 is further configured to: A submission confirmation window is generated, wherein the submission confirmation window is used to display the updated resource information, and the submission confirmation window includes a submission control; In response to a click command on the submit control, the updated resource information is submitted to the update database of the target object.
[0106] In an optional embodiment, the second determining module 404 is further configured to: Based on the resource hierarchy structure association relationship corresponding to the target object, determine the associated update resources associated with the target update resource; and / or Based on the resource reference relationship corresponding to the target object, determine the first update resource referenced by the target update resource, and determine the second update resource referencing the target update resource. Then, define the first update resource and the second update resource as associated update resources related to the target update resource; and / or Based on the resource script component dependencies corresponding to the target object, determine the associated update resources associated with the target update resource.
[0107] In an optional embodiment, the first determining module 402 is further configured to: In response to a resource generation instruction for the target object, generate the target updated resource corresponding to the resource generation instruction; or In response to a resource update instruction for a target resource in the target object, the target resource is updated to obtain the updated target resource.
[0108] In an optional embodiment, the first determining module 402 is further configured to: Generate target configuration data corresponding to the target update resource, associated update resources corresponding to the target update resource, and associated configuration data corresponding to the associated update resources.
[0109] In an optional embodiment, the first determining module 402 is further configured to: Based on the configuration data storage path of the target updated resource, obtain the target configuration data output during the generation process of the target updated resource; Generate associated update resources corresponding to the target update resource, and obtain the associated configuration data output during the generation process of the associated update resource based on the configuration data storage path of the associated update resource.
[0110] In an optional embodiment, the first determining module 402 is further configured to: Generate the target configuration data corresponding to the target updated resource; Identify the associated resources of the target resource, update the associated resources to obtain the associated update resources of the target update resource, and generate the associated configuration data corresponding to the associated update resources.
[0111] In an optional embodiment, the second determining module 404 is further configured to: Based on the resource association relationship corresponding to the target object, candidate associated resources for the target updated resource association are determined; from the candidate associated resources, the updated candidate associated resources are determined as the associated updated resources for the target updated resource association.
[0112] In the aforementioned device, after determining the target update resource corresponding to the target object, it can automatically detect the associated update resources associated with the target update resource based on the resource association relationship corresponding to the target object, and detect the target configuration data corresponding to the target update resource and / or the associated configuration data corresponding to the associated update resource. It integrates the target update resource, associated update resource, target configuration data and / or associated configuration data to obtain the update resource information corresponding to the target object, realizes the automatic integration of all updates to the target object, and submits the update resource information to the update database of the target object, avoiding submission omissions. Moreover, it eliminates the need for developers to search through each directory, avoiding the occupation of a large amount of labor and time costs, simplifying operations, and further improving the development efficiency of the target object.
[0113] The above is an illustrative scheme of a resource processing apparatus according to this embodiment. It should be noted that the technical solution of this resource processing apparatus and the technical solution of the resource processing method described above belong to the same concept. For details not described in detail in the technical solution of the resource processing apparatus, please refer to the description of the technical solution of the resource processing method described above.
[0114] Figure 5 A structural block diagram of a computing device 500 according to an embodiment of this specification is shown. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and a database 550 is used to store data.
[0115] The computing device 500 also includes an access device 540, which enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or combinations of communication networks such as the Internet. The access device 540 may include one or more of any type of wired or wireless network interface (e.g., a network interface card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) wireless interface, a Wi-MAX (Worldwide Interoperability for Microwave Access) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.
[0116] In one embodiment of this specification, the above-described components of the computing device 500 and Figure 5 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 5 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
[0117] The computing device 500 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or personal computers (PCs). The computing device 500 can also be a mobile or stationary server.
[0118] The processor 520 is used to execute the following computer program / instructions, which, when executed by the processor, implement the steps of the resource processing method described above.
[0119] The above is an illustrative scheme of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the resource processing method described above belong to the same concept. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the resource processing method described above.
[0120] An embodiment of this specification also provides a computer-readable storage medium storing a computer program / instructions that, when executed by a processor, implement the steps of the resource processing method described above.
[0121] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium and the technical solution of the resource processing method described above belong to the same concept. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the resource processing method described above.
[0122] An embodiment of this specification also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the resource processing method described above.
[0123] The above is an illustrative scheme of a computer program product according to this embodiment. It should be noted that the technical solution of this computer program product and the technical solution of the resource processing method described above belong to the same concept. For details not described in detail in the technical solution of the computer program product, please refer to the description of the technical solution of the resource processing method described above.
[0124] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0125] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or certain intermediate forms. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added or removed according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.
[0126] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this specification is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this specification. Furthermore, those skilled in the art should also understand that the embodiments described in this specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this specification.
[0127] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0128] The preferred embodiments disclosed above are merely illustrative of this specification. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the content of this specification. These embodiments have been selected and specifically described in this specification to better explain the principles and practical applications of this specification, thereby enabling those skilled in the art to better understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.
Claims
1. A resource processing method, characterized in that, include: Determine the target update resource corresponding to the target object; Based on the resource association relationship corresponding to the target object, determine the associated update resource associated with the target update resource, and determine the target configuration data corresponding to the target update resource and / or the associated configuration data corresponding to the associated update resource; The target update resource, associated update resource, target configuration data and / or associated configuration data are integrated to obtain update resource information corresponding to the target object, and the update resource information is submitted to the update database of the target object.
2. The method according to claim 1, characterized in that, The step of integrating the target update resource, associated update resource, target configuration data, and / or associated configuration data to obtain update resource information corresponding to the target object includes: Determine the target update operation corresponding to the target update resource, and determine the associated update operation corresponding to the associated update resource; The target update resource, the target update operation, the target configuration data, the associated update resource, the associated update operation, and / or the associated configuration data are integrated into the update resource information corresponding to the target object.
3. The method according to claim 2, characterized in that, The step of submitting the updated resource information to the update database of the target object includes: A submission confirmation window is generated, wherein the submission confirmation window is used to display the updated resource information, and the submission confirmation window includes a submission control; In response to a click command on the submit control, the updated resource information is submitted to the update database of the target object.
4. The method according to claim 1, characterized in that, The step of determining the associated update resource of the target update resource based on the resource association relationship corresponding to the target object includes: Based on the resource hierarchy structure association relationship corresponding to the target object, determine the associated update resources associated with the target update resource; and / or Based on the resource reference relationship corresponding to the target object, determine the first update resource referenced by the target update resource, and determine the second update resource referencing the target update resource. Then, define the first update resource and the second update resource as associated update resources related to the target update resource; and / or Based on the resource script component dependencies corresponding to the target object, determine the associated update resources associated with the target update resource.
5. The method according to any one of claims 1-4, characterized in that, The determination of the target update resource corresponding to the target object includes: In response to a resource generation instruction for the target object, generate the target updated resource corresponding to the resource generation instruction; or In response to a resource update instruction for a target resource in the target object, the target resource is updated to obtain the updated target resource.
6. The method according to claim 5, characterized in that, After generating the target updated resource corresponding to the resource generation instruction in response to the resource generation instruction for the target object, the method further includes: Generate target configuration data corresponding to the target update resource, associated update resources corresponding to the target update resource, and associated configuration data corresponding to the associated update resources.
7. The method according to claim 6, characterized in that, The generation of the target configuration data corresponding to the target update resource, the associated update resource corresponding to the target update resource, and the associated configuration data corresponding to the associated update resource includes: Based on the configuration data storage path of the target updated resource, obtain the target configuration data output during the generation process of the target updated resource; Generate associated update resources corresponding to the target update resource, and obtain the associated configuration data output during the generation process of the associated update resource based on the configuration data storage path of the associated update resource.
8. The method according to claim 5, characterized in that, After updating the target resource in response to a resource update instruction for the target resource in the target object, and obtaining the updated target resource, the method further includes: Generate the target configuration data corresponding to the target updated resource; Identify the associated resources of the target resource, update the associated resources to obtain the associated update resources of the target update resource, and generate the associated configuration data corresponding to the associated update resources.
9. The method according to any one of claims 1-4, characterized in that, The step of determining the associated update resource of the target update resource based on the resource association relationship corresponding to the target object includes: Based on the resource association relationship corresponding to the target object, candidate associated resources for the target updated resource association are determined; from the candidate associated resources, the updated candidate associated resources are determined as the associated updated resources for the target updated resource association.
10. A computing device, characterized in that, include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions, which, when executed by the processor, implement the steps of the method according to any one of claims 1 to 9.
11. A computer-readable storage medium storing a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 9.
12. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method according to any one of claims 1 to 9.