A method and terminal for automatically integrating game client resources

By automating the integration of game client resources through a method and terminal, the problems of low efficiency in resource file integration and reading errors were solved, achieving efficient and accurate resource file processing.

CN118491108BActive Publication Date: 2025-12-12FUJIAN TQ DIGITAL
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310125856.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-16
Publication Date
2025-12-12
Estimated Expiration
2043-02-16

AI Technical Summary

Technical Problem

The integration of game client resource files is inefficient and prone to reading errors, and manual operation is prone to mistakes.

Method used

The system automatically adds a new client resource file directory, scans and categorizes cache tags and index information, preprocesses the files according to preset rules, backs up and encrypts the files before storing them in the client resource file directory, and issues an integration acceptance notification.

Benefits of technology

It improves the efficiency of resource file integration, avoids resource reading errors, and ensures the automation and accuracy of operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118491108B_ABST
    Figure CN118491108B_ABST
Patent Text Reader

Abstract

The application discloses a kind of method and terminal of automatic integration game client resource, including newly added client resource file directory, the cache label and index information of local scanning and classification marking newly added resource file are marked to obtain resource file;According to preset rule, resource file is preprocessed;The resource file after preprocessing and original resource file are respectively backed up to local directory, and are stored in client resource file directory after encryption operation;Release integration acceptance notice.The application identifies and classifies the newly added resource file by automatic scanning, and is preprocessed according to preset rule after resource file, then is stored in the local directory after backup, then is stored in the newly added client resource file directory after encryption operation, finally release integration acceptance notice, the whole operation process is solidified in the form of automation in the whole game production process, effectively improve the integration efficiency of resource file, while avoiding resource reading exception.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of game client resource file processing and encryption, and particularly to a method and terminal for automatically integrating game client resources. BACKGROUND

[0002] Generally, a game of some game companies has a large number of client resource files (art resources, performance files, configuration files, etc.), which need to be subjected to a series of operations for various pre-processing and encryption of resources, and the encrypted resource files need to be classified and disposed. Manual operation is low in efficiency and prone to errors. Incorrect encryption operation will result in the inability to read the client resource file, causing abnormal game performance and unpredictable errors. SUMMARY

[0003] The technical problem to be solved by the present application is to provide a method and terminal for automatically integrating game client resources, to improve the integration efficiency of resource files and avoid resource reading abnormalities.

[0004] To solve the above technical problems, the technical scheme adopted by the present application is:

[0005] A method for automatically integrating game client resources, comprising the steps of:

[0006] S1, adding a client resource file directory, localizing scanning and classifying and marking the cache tag and index information of the added resource file to obtain the resource file;

[0007] S2, pre-processing the resource file according to a preset rule;

[0008] S3, backing up the pre-processed resource file and the original resource file to a local directory respectively, and storing them in the client resource file directory after encryption;

[0009] S4, issuing an integration acceptance notice.

[0010] To solve the above technical problems, another technical scheme adopted by the present application is:

[0011] A terminal for automatically integrating game client resources, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for automatically integrating game client resources as described above when executing the computer program.

[0012] The application has the beneficial effects that the application provides a method and terminal for automatically integrating game client resources, identifies and classifies and marks current new resource files through automatic scanning, pre-processes the resource files according to a set rule, backs up the pre-processed files and original files to a local directory respectively, stores the files in the client resource file directory after encryption, then publishes an integration acceptance notice, and the whole operation process is solidified in an automatic form to serve the whole game production process, effectively improves the integration efficiency of resource files, and avoids resource reading abnormalities. BRIEF DESCRIPTION OF DRAWINGS

[0013] Figure 1 A flowchart of the whole method for automatically integrating game client resources according to an embodiment of the application;

[0014] Figure 2 A detailed flowchart of the method for automatically integrating game client resources according to an embodiment of the application;

[0015] Figure 3 A structure diagram of the terminal for automatically integrating game client resources according to an embodiment of the application.

[0016] KEY

[0017] 1. A terminal for automatically integrating game client resources; 2. a memory; 3. a processor. DETAILED DESCRIPTION

[0018] To make the technical content, achieved purposes and effects of the application clear, the following will be described in detail in combination with embodiments and the drawings.

[0019] Please refer to Figure 1 and Figure 2 A method for automatically integrating game client resources, comprising the steps of:

[0020] S1. creating a client resource file directory, localizing scanning and classifying and marking the cache tags and index information of new resource files to obtain the resource files;

[0021] S2. pre-processing the resource files according to a preset rule;

[0022] S3. backing up the pre-processed resource files and original resource files to a local directory respectively, and storing them in the client resource file directory after encryption;

[0023] S4. publishing an integration acceptance notice.

[0024] From the above description, the beneficial effects of the present application are that the current newly added resource files are identified and classified by automatic scanning, the resource files are preprocessed according to the set rules, the preprocessed files and original files are respectively backed up to the local directory, and then stored in the newly added client resource file directory after encryption operation, and then the integration acceptance notification is issued, the whole operation process is solidified in the form of automation to serve the whole game production process, which effectively improves the integration efficiency of resource files, and avoids resource reading exception.

[0025] Further, the step S1 further comprises:

[0026] The cache tag and the index information are stored in the client resource file directory.

[0027] The step S1 and the step S2 further comprise:

[0028] The client resource file directory is looped to obtain the cache tag and the index information, and the resource files newly added in the local are obtained according to the cache tag and the index information.

[0029] From the above description, the cache tag and the index information for classifying and marking the newly added resource files are stored in the newly added client resource file directory, so that the resource files newly added in the local can be quickly obtained according to the cache tag and the index information in the subsequent, and the preprocessing of the resource files can be avoided by the traversal mode, and the integration efficiency is further improved.

[0030] Further, the preset rules include the naming, specification, specific configuration item rules and non-specific rules of the specific type resource files of the resource files.

[0031] The specification includes size, format and order.

[0032] From the above description, the name, specification, configuration parameter and specific type of the resource file are determined in advance by preprocessing the original resource file, so as to facilitate subsequent encryption processing.

[0033] Further, the preprocessing in the step S2 is specifically:

[0034] The game client path, the client update of integrated resources, the operation file name, the upper folder name, the encrypted resource title, the configuration information and the DC encryption hidden tool execution parameter and path are obtained.

[0035] The resource files are encoded and processed and DC encrypted and hidden based on the above parameters.

[0036] From the above description, the preprocessing further includes defining parameters for the resource file to pre-encode and DC encrypt the resource file, thereby realizing transcoding and subsequent automatic encryption of the resource file, and further improving the integration efficiency.

[0037] Further, the local directory includes a cache file directory and a temporary file directory.

[0038] The step S3 is specifically:

[0039] S31, backup the pre-processed resource file and the original resource file to the cache file directory and the temporary file directory respectively;

[0040] S32, based on the DC encryption hidden processing, automatically arouse the encapsulated KFDB encryption tool to batch encrypt the resource file and directory level;

[0041] S33, store the batch-encrypted resource file into the client resource file directory, and bind the corresponding index information one by one.

[0042] From the above description, the pre-processed resource file and the original resource file are respectively backed up to the local cache file directory and the temporary file directory, and then stored in the specified client resource file directory after encryption, which avoids the problem of unable to read the resource file caused by incorrect encryption operation, and further improves the integration efficiency.

[0043] Further, between the step S3 and the step S4, there is further:

[0044] S34, clean up the cache file and the temporary file.

[0045] Further, the step S34 is specifically:

[0046] S341, query whether the index information in the client resource file directory has been bound, and clean up the resource file corresponding to the abnormal or unbound index information;

[0047] S342, traverse the cache file directory and the temporary file directory, and confirm whether the resource file in the cache file directory and the temporary file directory has been encrypted and stored in the client resource file directory, mark and summarize the abnormal or unstored resource file, and clean up the stored resource file.

[0048] From the above description, the abnormal cache, unused cache and temporary file are automatically cleaned up in time, reducing the local memory occupation.

[0049] Further, the step S4 is specifically:

[0050] The local IM instant messenger issues the acceptance notice of the completed integration.

[0051] From the above description, it can be seen that the instant messenger is used to ensure that the acceptance notice is issued in time to the staff for integration result acceptance, further improving the integration efficiency.

[0052] Please refer to Figure 2 A terminal for automatically integrating game client resources, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the method for automatically integrating game client resources as described above.

[0053] From the above description, the beneficial effects of the present application are that based on the same technical concept, in combination with the above-mentioned method for automatically integrating game client resources, a terminal for automatically integrating game client resources is provided, which automatically scans, identifies, and classifies and marks the current newly added resource files, and pre-processes the resource files according to the set rules, backs up the pre-processed files and the original files to the local directory respectively, and stores them in the newly added client resource file directory after encryption operation, then issues the integration acceptance notice, the entire operation process is solidified in the form of automation to serve the entire game production process, effectively improves the integration efficiency of resource files, and avoids resource reading abnormalities.

[0054] The method and terminal for automatically integrating game client resources provided by the present application are suitable for the scene of integrating local game resources. The following will be specifically described in conjunction with embodiments.

[0055] Please refer to Figure 1 The first embodiment of the present application is:

[0056] A method for automatically integrating game client resources, as shown in Figure 1 The method comprises the steps of:

[0057] S1, a new client resource file directory is added, and the cache tags and index information of the newly added resource files are scanned and classified and marked locally to obtain resource files.

[0058] S2, the resource files are pre-processed according to the preset rules.

[0059] The preset rules include naming, specification, specific configuration item rules and non-specific rules of specific type resource files of the resource file, and contain accurate meaning explanation and rules of configuration class files, for example, accurate pixel of art resources or wide art style related demarcation explanation and rules, and the specification includes size, format and sequence, and the preset rules can facilitate subsequent encryption processing.

[0060] S3, backup the preprocessed resource file and the original resource file to the local directory respectively, and store in the client resource file directory after encryption operation.

[0061] S4, release the integration acceptance notification, specifically, issue the integration completed acceptance notification through the local IM instant messaging tool.

[0062] In the embodiment, the current newly added resource file is identified and classified and marked by automatic scanning, the resource file is preprocessed according to the set rules, the name, specification, configuration parameter and specific type of the resource file are determined in advance, then the preprocessed file and the original file are respectively backed up to the local directory, and are stored in the newly added client resource file directory after encryption operation, finally, the acceptance notification is issued in time to the staff through the instant messaging tool to ensure the integration result acceptance, the whole operation process is solidified in the form of automation to serve the whole game production process, the integration efficiency of the resource file is effectively improved, and the resource reading exception is avoided.

[0063] Embodiment two of the application is:

[0064] A method for automatically integrating game client resources, based on the above embodiment one, in the embodiment, step S1 further includes:

[0065] The cache tag and the index information are stored in the client resource file directory.

[0066] Meanwhile, as shown in the embodiment, between step S1 and step S2, further includes: Figure 2

[0067] The client resource file directory is traversed circularly, the cache tag and the index information are acquired, and the locally added resource file is acquired according to the cache tag and the index information.

[0068] That is, in the embodiment, the cache tag and the index information for classifying and marking the newly added resource file are stored in the newly added client resource file directory, so that the locally added resource file can be quickly acquired according to the cache tag and the index information in the subsequent process, and the preprocessing of the resource file can be avoided by the traversal mode, and the integration efficiency is further improved.

[0069] ​In the embodiment, the preprocessing in step S2 is specifically:

[0070] The game client path, the client update of integrated resources, the operation file name, the upper folder name, the encrypted resource title, the configuration information, and the DC encryption hiding tool execution parameter and path are obtained.

[0071] The resource file is encoded and processed and DC encrypted and hidden based on the above parameters.

[0072] That is, in the embodiment, the name, specification, configuration parameter, and specific type of the resource file are determined in advance through preprocessing of the original resource file, so as to automatically mark and classify; meanwhile, the preprocessing also includes defining each parameter of the resource file, so as to pre-encode and process and pre-encrypt and hide the resource file, thereby realizing transcoding of the resource file and subsequent automatic encryption, and further improving the integration efficiency.

[0073] The local directory in step S3 includes the cache file directory and the temporary file directory, and step S3 is specifically:

[0074] S31, the preprocessed resource file and the original resource file are respectively backed up to the cache file directory and the temporary file directory.

[0075] S32, the KFDB encryption tool encapsulated based on the DC encryption and hiding processing automatically arouses batch encryption of the resource file and the directory level.

[0076] S33, the batch-encrypted resource file is stored in the client resource file directory, and the corresponding index information is bound one by one.

[0077] That is, the preprocessed resource file and the original resource file are respectively backed up to the local cache file directory and the temporary file directory, and then stored in the specified client resource file directory after encryption, so as to avoid the problem that the resource file cannot be read due to incorrect encryption operation, and further improve the integration efficiency.

[0078] In addition, in the embodiment, between step S3 and step S4, there is also:

[0079] S34, the cache file and the temporary file are cleaned up.

[0080] Meanwhile, step S34 is specifically:

[0081] S341, it is inquired whether the index information in the client resource file directory has been bound, and the resource file corresponding to the abnormal or unbound index information is cleaned up.

[0082] S342, traversing the cache file directory and the temporary file directory, confirming whether the resource files in the cache file directory and the temporary file directory are stored in the client resource file directory, marking and summarizing the abnormal or non-stored resource files, and cleaning the stored resource files.

[0083] That is, in the embodiment, the abnormal cache, unused cache and temporary files are automatically cleaned in time, and the local memory occupation is reduced.

[0084] Please refer to Figure 2 , the third embodiment of the present application is:

[0085] An automatic game client resource integration terminal 1, as shown in Figure 3 , comprises a memory 2, a processor 3 and a computer program stored in the memory 2 and executable on the processor 3, and the processor 3 implements the steps in the method of automatically integrating game client resources in the first embodiment or the second embodiment when executing the computer program.

[0086] In summary, the present application provides a method and terminal for automatically integrating game client resources, which automatically scans, identifies, classifies and marks the newly added resource files of the current round, pre-processes the resource files according to the set rules, backs up the pre-processed files and original files to the local directory, stores them in the newly added client resource file directory after encryption, and cleans the cache, temporary and useless files in time to reduce the local memory occupation. Finally, the acceptance notice is sent to the staff for integration result acceptance through the instant messaging tool. The entire operation process is solidified in the form of automation to serve the entire game production process, effectively improving the integration efficiency of resource files, and avoiding resource reading abnormalities.

[0087] The above is only an embodiment of the present application, and does not limit the patent range of the present application. Any equivalent transformation, direct or indirect application in related technical fields based on the content of the specification and drawings of the present application is also included in the patent protection range of the present application.

Claims

1. A method for automatically integrating game client resources, characterized in that, Including the following steps: S1. Add a new client resource file directory, and locally scan and classify the cache tags and index information of the newly added resource files to obtain the resource files; S2. Preprocess the resource files according to preset rules; S3. Back up the preprocessed resource file and the original resource file to the local directory respectively, and then encrypt them before storing them in the client resource file directory; S4. Issue the integration acceptance notice; The preprocessing in step S2 specifically includes: Obtain the game client path, client update information for integrated resources, operation file name, parent folder name, encrypted resource title, configuration information, and execution parameters and path of the DC encryption and hiding tool; Based on the above parameters, the resource file is encoded and DC encryption / hiding is performed. The local directory includes a cache file directory and a temporary file directory; Step S3 specifically involves: S31. Back up the preprocessed resource file and the original resource file to the cache file directory and the temporary file directory, respectively; S32. Based on the DC encryption hiding process, the encapsulated KFDB encryption tool is automatically invoked to perform batch encryption on the resource files and directory levels; S33. Store the batch-encrypted resource files in the client resource file directory and bind their corresponding index information one by one.

2. The method for automatically integrating game client resources according to claim 1, characterized in that, Step S1 also includes: The cache tag and the index information are stored in the client resource file directory.

3. The method for automatically integrating game client resources according to claim 2, characterized in that, The step between step S1 and step S2 also includes: The client resource file directory is traversed in a loop to obtain the cache tag and the index information, and the newly added local resource file is obtained based on the cache tag and the index information.

4. The method for automatically integrating game client resources according to claim 1, characterized in that, The preset rules include naming, specifications, specific configuration item rules for the resource files, and non-specific rules for specific types of resource files; The specifications include size, format, and order.

5. The method for automatically integrating game client resources according to claim 1, characterized in that, Between step S3 and step S4, the following is also included: S34. Clean up cached and temporary files.

6. The method for automatically integrating game client resources according to claim 5, characterized in that, Step S34 specifically involves: S341. Traverse and query whether all the index information in the client resource file directory has been bound, and perform targeted cleanup on the resource files corresponding to the abnormal or unbound index information; S342. Traverse the cache file directory and the temporary file directory, confirm whether the resource files in the cache file directory and the temporary file directory have been encrypted and stored in the client resource file directory, mark and summarize the abnormal or unstored resource files, and clean up the stored resource files.

7. The method for automatically integrating game client resources according to claim 1, characterized in that, Step S4 specifically involves: Invoke the local IM instant messaging tool to send an acceptance notification indicating that the integration is complete.

8. A terminal for automatically integrating game client resources, characterized in that, It includes a memory, a processor, and a computer program running on the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of a method for automatically integrating game client resources as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Packing method and unpacking method for resource files

    CN106022014A

  • Automatic updating method and device for game information

    CN109395391A