Design method and device of digital file pocket, computer equipment and storage medium

By designing digital file bags, the problem of electronic file resource management is solved, centralized management of electronic files and on-demand update and sorting of sub-file directories is realized, information silos are avoided, and file resources are optimized.

CN119248721APending Publication Date: 2025-01-03ANHUI IND INTERNET DATA INTELLIGENT INNOVATION CENT CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411259357.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The existing technology lacks the management method of digital layout files, which makes it difficult to centrally manage and update electronic file resources.

Method used

Design a design method for digital file bags. By obtaining and parsing directory configuration information, generating sub-file directories, comparing new and old configuration information during updates, regenerating sub-file directories according to preset rules, realizing on-demand updates and sorting.

Benefits of technology

Centralized management of multiple electronic files is realized to avoid information silos, ensure that file resources are not scattered in different systems, and the update and sorting of sub-file directories is optimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0005035066390000071
    Figure BDA0005035066390000071
  • Figure BDA0005035066390000081
    Figure BDA0005035066390000081
  • Figure HDA0005035066480000011
    Figure HDA0005035066480000011
Patent Text Reader

Abstract

The invention discloses a design method and device of a digital file pocket, computer equipment and a storage medium. The design method comprises the following steps that directory configuration information in digital file pocket creation request parameters is obtained and analyzed; generating a sub-file directory based on an arrangement sequence of sub-file directory arrays in the directory configuration information; when the digital file pocket is updated, acquiring directory configuration information in the update request parameter, and recording the directory configuration information as new directory configuration information; and comparing the new directory configuration information with the original digital file pocket, and regenerating a sub-file directory based on a comparison result and a preset rule. According to the invention, a plurality of digital file pockets can be automatically generated according to requirements, so that resources formed by service digitization cannot be scattered in different systems, and information islands are avoided. Meanwhile, an updating algorithm of the file catalog of the digital file bag is designed, and on-demand updating and sorting of the sub-file catalog are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of electronic documents, and in particular relates to a design method, device, computer equipment and storage medium for a digital document bag. Background Art

[0002] In reality, paper documents are usually stored in file bags, and documents of the same type are stored in the same file bag. Taking employee files as an example, the relevant file materials include: basic materials, such as personal information; regular filing information, such as monthly / quarterly / annual summaries; major event records, such as regularization information, change information, appointment documents, reward and punishment records; statistical information, such as attendance information, PDCA reporting information...

[0003] However, with the development of digital technology, electronic files are gradually replacing paper files, such as the OFD (Open Fixed-layout Document) format file standard independently developed and customized by my country, and the current technology lacks a management method for format files. Therefore, the present invention proposes the concept of digital file bag, which, as the name implies, is a design that brings multiple files together to facilitate centralized management of file resources. Summary of the invention

[0004] In view of the above problems, the technical solution adopted by the present invention is: a design method for a digital file bag, the design method comprising the following steps:

[0005] Obtain the directory configuration information in the digital file bag creation request parameters and parse it;

[0006] Generate a sub-file directory based on the arrangement order of the sub-file directory array in the directory configuration information:

[0007] When updating the digital file bag, obtaining the directory configuration information in the update request parameter and recording it as the new directory configuration information;

[0008] The new directory configuration information is compared with the original digital file bag, and the sub-file directory is regenerated based on the comparison result and preset rules.

[0009] Optionally, the step of generating a sub-file directory based on the arrangement order of the directory configuration information in the request parameter specifically includes:

[0010] S01: traverse the directory configuration information and define a loop coefficient i=0;

[0011] S02: Determine whether i is less than the array length of the directory configuration information; if so, execute step S03; if not, execute step S06;

[0012] S03: Obtain identification information in the current sub-file directory array, and generate a permutation sequence number of a set length based on the cyclic coefficient i;

[0013] S04: Using the arrangement sequence number and the identification information combination as a sub-file directory name, and generating a sub-file directory;

[0014] S05: Set the cycle coefficient i=i+1, and repeat steps S02 to S05;

[0015] S06: End.

[0016] Optionally, the identification information includes an id identification and a name identification.

[0017] Optionally, the preset rules include:

[0018] The new directory configuration information is given the highest priority;

[0019] The sub-file directory generated by the new directory configuration information is merged with the sub-file directory with the same name in the original digital file bag.

[0020] Optionally, the step of regenerating the sub-file directory based on the comparison result and the preset rules specifically includes:

[0021] S11: traverse the new directory configuration information and define a loop coefficient i=0;

[0022] S12: Determine whether i is less than the array length of the new directory configuration information; if so, execute step S13;

[0023] S13: Obtain identification information in the current sub-file directory array, and generate a permutation sequence number of a set length based on the cyclic coefficient i;

[0024] S14: taking the arrangement sequence number and the identification information combination as the name of the current sub-file directory and generating the sub-file directory;

[0025] S15: Determine whether there is a sub-file directory in the original digital file bag with the same ID as the sub-file directory newly generated; if not, execute step S16;

[0026] S16: Determine whether there is a sub-file directory with the same name identifier as the sub-file directory currently generated in the original digital file bag; if not, execute step S17; if yes, merge the sub-file directories with the same name identifier into the sub-file directory currently generated, and execute step S17;

[0027] S17: Let the loop coefficient i=i+1, and repeat steps S12 to S17 until the judgment result of S12 is no.

[0028] Optionally, in step S15, if the judgment result is yes, the sub-file directory with the same id in the original digital file bag is recorded as the target sub-file directory, and the following steps are performed:

[0029] S21: Determine whether the name identifier of the target sub-file directory is the same as the name identifier of the newly generated sub-file directory; if so, execute step S22; if not, execute step S23;

[0030] S22: merge the target sub-file directory into the currently newly generated sub-file directory, and jump to step S17 for execution;

[0031] S23: Determine whether there is a sub-file directory in the original digital file bag with the same name identifier as the sub-file directory newly generated currently. If yes, execute step S24; if no, execute step S25;

[0032] S24: merge the sub-file directories with the same name identifier into the most recently generated sub-file directory;

[0033] S25: modify the arrangement sequence number to move the target sub-file directory backward, and jump to step S17 for execution.

[0034] Optionally, the design method further includes: defining a backward shift coefficient point=N, wherein N is a positive integer greater than the length of the new directory configuration information array; in the step of modifying the arrangement sequence number to shift the target sub-file directory backward, specifically including:

[0035] S201: Generate a new permutation sequence number of a set length based on the shift coefficient point;

[0036] S202: replacing the original sequence number of the target sub-file directory with the new sequence number;

[0037] S203: Set the shift coefficient point=point+1.

[0038] Optionally, in step S12, if the judgment result is no, the following steps are performed:

[0039] S31: traverse the unprocessed sub-file directory in the original digital file bag, and define the loop coefficient j=0;

[0040] S32: Determine whether j is less than the number of unprocessed sub-file directories: if so, execute step S33; if not, execute step S35;

[0041] S33: Generate a new sequence number of a set length based on the current backward shift coefficient point, and replace the original sequence number of the current sub-file directory with the new sequence number;

[0042] S34: Set the circulation coefficient j=j+1, the backward shift coefficient point=point+1, and repeat steps S32 to S34;

[0043] S35: End.

[0044] And, a design device for a digital file bag, the design device comprising:

[0045] Acquisition module: used to obtain directory configuration information in the digital file bag creation request parameters;

[0046] Parsing module: used to parse directory configuration information;

[0047] Directory generation module: used to generate a sub-file directory according to the arrangement order of the sub-file directory array in the directory configuration information;

[0048] Update module: used to compare the new directory configuration information with the original digital file bag when generating new directory configuration information, and regenerate the sub-file directory based on the comparison results and preset rules.

[0049] A computer device comprises a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the above-mentioned design method by executing the computer instructions.

[0050] A computer storage medium, wherein the computer readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the above-mentioned design method.

[0051] The present invention adopts the above technical solution, so that it has the following beneficial effects: multiple digital file bags can be automatically generated according to demand, so that the resources formed by business digitization will not be scattered in different systems, avoiding information islands. At the same time, the update algorithm of the file directory of the digital file bag is designed to realize the on-demand update and sorting of the sub-file directory.

[0052] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0054] Figure 1 A flowchart of creating a digital file bag according to the first embodiment of the present invention is shown;

[0055] Figure 2 It shows a flow chart of updating a digital file bag according to the second embodiment of the present invention;

[0056] Figure 3 A schematic diagram showing a digital file bag before and after updating according to the second embodiment of the present invention is shown. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] Embodiment 1

[0059] like Figure 1 As shown, the design method of the digital file bag of the embodiment of the present invention comprises the following steps:

[0060] S1: Obtain and parse the directory configuration information in the digital file bag creation request parameters;

[0061] It should be noted that the request parameters include at least the following:

[0062] ·mainOfdUrl: the file service address of the main file (i.e. the digital file bag). The backend service can obtain the main file from this URL;

[0063] formJson: the complete content of each component element of the sub-file to be generated, used to generate the ofd sub-file;

[0064] eventId: the id of the event category to which the sub-file belongs;

[0065] eventName: sub-file name;

[0066] subFileConfigJson: The latest file directory configuration information. subFileConfigJson is an array of objects, each object corresponds to a sub-file directory configuration.

[0067] The specific analysis is to parse formjson and generate the mainOfd main file.

[0068] S2: Generate a sub-file directory based on the arrangement order of the sub-file directory array in the directory configuration information, that is, the order of the objects in the array is the order of the sub-file directory in the file bag. S2 specifically includes the following steps:

[0069] S01: traverse the directory configuration information and define a loop coefficient i=0;

[0070] S02: Determine whether i is less than the array length of the directory configuration information; if so, execute step S03; if not, execute step S06;

[0071] S03: Obtain identification information in the current sub-file directory array, and generate a permutation sequence number of a set length based on the cyclic coefficient i;

[0072] The identification information includes an id identifier and a name identifier, namely, eventId and eventName.

[0073] The arrangement number is defined as index, and the index is generated as i+1 and 0 is added in front to generate a number of a set length. Considering that the number of file bags will not exceed 9999 for a long time in the future, the length is set to 4 digits in this embodiment.

[0074] S04: Using the arrangement sequence number and the identification information combination as a sub-file directory name, and generating a sub-file directory;

[0075] Define the sub-file directory name as dirName = index_eventId_eventName. And add a new directory dirName at the set location;

[0076] S05: Set the cycle coefficient i=i+1, and repeat steps S02 to S05;

[0077] S06: Return to the main file and end.

[0078] Embodiment 2

[0079] This embodiment is based on the above implementation. After creating a digital file bag, there is a need to update it. Figure 2 As shown, the specific steps include:

[0080] S3: Get the directory configuration information in the update request parameters and record it as new directory configuration information subFileConfigJson;

[0081] S4: Compare the new directory configuration information subFileConfigJson with the original digital file bag, record the existing directory files in the original digital file bag, and regenerate the sub-file directory based on the comparison result and preset rules. The preset rules include: taking the new directory configuration information as the highest priority; merging the sub-file directory generated by the new directory configuration information with the sub-file directory with the same name in the original digital file bag; and all existing directories cannot be deleted. In step S4, the following steps are specifically included:

[0082] S11: traverse the new directory configuration information and define a loop coefficient i=0; define a backward shift coefficient point=N, wherein N is a positive integer greater than the length of the new directory configuration information array;

[0083] like Figure 3 As shown, in this embodiment, the original digital file bag contains the following 7 files:

[0084] 0001_1001_Event Category 01

[0085] 0002_1002_Event Category 02

[0086] 0003_1003_Event Category 03

[0087] 0004_1004_Event Category 04

[0088] 0005_1005_Event Category 05

[0089] 0006_1006_Event Category 06

[0090] 0007_1007_Event Category 07

[0091] The new directory configuration information subFileConfigJson is as follows:

[0092]

[0093]

[0094] In this embodiment, the maximum value of the number of files and the length of the subFileConfigJson array is recorded as point, so point=7 in this embodiment.

[0095] S12: Determine whether i is less than the array length of the new directory configuration information; if so, execute steps S13 to S17; if not, execute step S31;

[0096] S13: Obtain identification information in the current sub-file directory array, and generate a permutation number of a set length based on the cyclic coefficient i; the specific method is the same as that described in the first embodiment above, that is, after i+1 obtains a value, 0 is added in front to generate a 4-digit number to obtain an index;

[0097] S14: Based on the arrangement sequence number and the identification information combination, the name of the current sub-file directory is used, and the sub-file directory is generated; that is, dirName = index_eventId_eventName;

[0098] S15: Determine whether there is a sub-file directory in the original digital file bag that has the same eventId as the sub-file directory that is most recently generated;

[0099] If not, execute step S16;

[0100] If yes, then the sub-file directory with the same eventId in the original digital file bag is recorded as the target sub-file directory, and steps S21 to S25 are executed;

[0101] S16: Determine whether there is a sub-file directory in the original digital file bag that has the same eventName as the sub-file directory that is currently generated;

[0102] If not, it indicates that there is no sub-file directory dir in files that is the same as eventId or eventName in the new configuration information. This situation is called situation 1, and step S17 is executed;

[0103] If yes, this situation is called situation 3, the sub-file directories with the same name identifier are merged into the currently newly generated sub-file directory, and step S17 is executed;

[0104] S21: Determine whether the name identifier of the target sub-file directory is the same as the name identifier of the newly generated sub-file directory;

[0105] If yes, that is, eventId and eventName are the same, this situation is called situation 4, and step S22 is executed;

[0106] If not, execute step S23;

[0107] S22: merge the target sub-file directory into the currently newly generated sub-file directory, or directly regenerate the index based on the current loop coefficient i and update the dirName of the target folder without regenerating the sub-file directory, and jump to step S17 for execution;

[0108] S23: determining whether there is a sub-file directory in the original digital file bag with the same name identifier as the sub-file directory that is currently generated;

[0109] If yes, it indicates that the newly generated sub-file directory conflicts with multiple sub-file directories in the original digital file bag, which is called case 5, and step S24 is executed;

[0110] If not, it indicates that the latest generated sub-file directory conflicts with the eventID in the original digital file bag, which is called case 2, and step S25 is executed;

[0111] S24: merge the sub-file directories with the same name identifier into the most recently generated sub-file directory;

[0112] S25: modify the arrangement sequence number to move the target sub-file directory backward, and jump to step S17 for execution.

[0113] The step of modifying the arrangement sequence number to move the target sub-file directory backward specifically includes the following steps S201-S203:

[0114] S201: Generate a new permutation sequence number of a set length based on the shift coefficient point;

[0115] S202: replacing the original sequence number of the target sub-file directory with the new sequence number;

[0116] S203: Set the shift coefficient point=point+1.

[0117] S16: Set the loop coefficient i=i+1, and repeat steps S12 to S17 until the judgment result of S12 is no.

[0118] Through the above steps, all sub-file directories in the new configuration information are established, and they are arranged in the order set, so that the user of the updated digital file bag can see the sub-file directories in the new configuration information first. The sub-file directories of files with the same eventName as the new configuration information are merged, and the sub-file directories of files with the same eventId as the new configuration information are moved back, and the sub-file directories with the same eventId are arranged next to the new sub-file directories, so that those conflicting eventIds are used more frequently, and the priority of the conflicting eventId directories is increased, so that it is placed in front and the user can see it first. And through the following steps S31 to S34, the sub-file directories in the original digital file bag that are not conflicted are arranged in the back according to the original order.

[0119] S31: traverse the unprocessed sub-file directory in the original digital file bag, and define the loop coefficient j=0;

[0120] S32: Determine whether j is less than the number of unprocessed sub-file directories; if so, execute step S33; if not, execute step S35;

[0121] S33: Generate a new sequence number of a set length based on the current backward shift coefficient point, and replace the original sequence number of the current sub-file directory with the new sequence number;

[0122] S34: Set the circulation coefficient j=j+1, the backward shift coefficient point=point+1, and repeat steps S32 to S34;

[0123] S35: End.

[0124] like Figure 3 As shown, the first sub-file directory array in the new directory configuration information belongs to case 1, and the first sub-file directory "0001_2001_New Event Category 01" is directly created;

[0125] The second sub-file directory array in the new directory configuration information belongs to case 2, creating the second sub-file directory "0001_1002_New Event Category 04", and at the same time, moving the sub-file directory "0002_1002_Event Category 02" in the original digital file bag that conflicts with the eventId to become "0007_1002_Event Category 02";

[0126] The third sub-file directory array in the new directory configuration information belongs to case 4. It only needs to change the sequence number before "0003_1003_Event Category 03". Since the original sequence number is the same as the position of the third sub-file directory array, the atomic file directory is directly used without change and is directly used as the third sub-file directory.

[0127] The fourth sub-file directory array in the new directory configuration information belongs to case 3, and the fourth sub-file directory "0004_2004_Event Category 04" is created, and the content of the sub-file directory "0004_1004_Event Category 04" in the original digital file bag that conflicts with the eventName is merged into the fourth sub-file directory "0004_2004_Event Category 04";

[0128] The fifth sub-file directory array in the new directory configuration information belongs to case 1, and the fifth sub-file directory "0005_2005_New Event Category 05" is created directly;

[0129] Return to traverse the unprocessed sub-file directories in the original digital file bag, that is, the sub-file directories that have not been moved back or merged, including "0001_1001_Event Category 01", "0005_1005_Event Category 05", "0006_1006_Event Category 06", "0007_1007_Event Category 07", and update the arrangement sequence numbers in front of them to "0008_1001_Event Category 01", "0009_1005_Event Category 05", "0010_1006_Event Category 06", "0011_1007_Event Category 07". Thus, the directory update is completed.

[0130] Embodiment 3

[0131] Based on the above-mentioned embodiments 1 and 2, an embodiment of the present invention provides a digital file bag design device, including:

[0132] Acquisition module: used to obtain directory configuration information in the digital file bag creation request parameters;

[0133] Parsing module: used to parse directory configuration information;

[0134] Directory generation module: used to generate a sub-file directory according to the arrangement order of the sub-file directory array in the directory configuration information;

[0135] Update module: used to compare the new directory configuration information with the original digital file bag when generating new directory configuration information, and regenerate the sub-file directory based on the comparison results and preset rules.

[0136] It should be noted that the implementation process of the functions and effects of each module in this embodiment is specifically described in the implementation process of the corresponding steps in the above method, which will not be repeated here.

[0137] Embodiment 4

[0138] Based on the above-mentioned embodiments one and two, an embodiment of the present invention provides a computer device, including a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the design methods in the above-mentioned embodiments one and two by executing the computer instructions.

[0139] Embodiment 5

[0140] Based on the above-mentioned embodiments 1 and 2, an embodiment of the present invention provides a computer storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the design methods in the above-mentioned embodiments 1 and 2.

[0141] The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modifications to equivalent embodiments of equivalent changes using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.

Claims

1. A method for designing a digital file bag, characterized in that: The design method comprises the following steps: Obtain the directory configuration information in the digital file bag creation request parameters and parse it; Generating a sub-file directory based on the arrangement order of the sub-file directory array in the directory configuration information; When updating the digital file bag, obtaining the directory configuration information in the update request parameter and recording it as the new directory configuration information; The new directory configuration information is compared with the original digital file bag, and the sub-file directory is regenerated based on the comparison result and preset rules.

2. The design method of a digital file bag as claimed in claim 1, characterized in that: The step of generating a sub-file directory based on the arrangement order of the directory configuration information in the request parameter specifically includes: S01: traverse the directory configuration information and define a loop coefficient i=0; S02: Determine whether i is less than the array length of the directory configuration information; if so, execute step S03; if not, execute step S06; S03: Obtain identification information in the current sub-file directory array, and generate a permutation sequence number of a set length based on the cyclic coefficient i; S04: Using the arrangement sequence number and the identification information combination as a sub-file directory name, and generating a sub-file directory; S05: Set the cycle coefficient i=i+1, and repeat steps S02 to S05; S06: End.

3. The design method of the digital file bag as claimed in claim 2, characterized in that: The identification information includes an id identification and a name identification.

4. The method for designing a digital file bag according to claim 1, characterized in that: The preset rules include: The new directory configuration information is given the highest priority; The sub-file directory generated by the new directory configuration information is merged with the sub-file directory with the same name in the original digital file bag.

5. The method for designing a digital file bag as claimed in claim 4, characterized in that: The step of regenerating the sub-file directory based on the comparison result and the preset rules specifically includes: S11: traverse the new directory configuration information and define a loop coefficient i=0; S12: Determine whether i is less than the array length of the new directory configuration information; if so, execute step S13; S13: Obtain identification information in the current sub-file directory array, and generate a permutation sequence number of a set length based on the cyclic coefficient i; S14: taking the arrangement sequence number and the identification information combination as the name of the current sub-file directory and generating the sub-file directory; S15: Determine whether there is a sub-file directory in the original digital file bag with the same ID as the sub-file directory newly generated; if not, execute step S16; S16: Determine whether there is a sub-file directory with the same name identifier as the sub-file directory currently generated in the original digital file bag; if not, execute step S17; if yes, merge the sub-file directories with the same name identifier into the sub-file directory currently generated, and execute step S17; S17: Let the loop coefficient i=i+1, and repeat steps S12 to S17 until the judgment result of S12 is no.

6. The method for designing a digital file bag as claimed in claim 5, characterized in that: In the step S15, if the result of the judgment is yes, the sub-file directory with the same id in the original digital file bag is recorded as the target sub-file directory, and the following steps are performed: S21: Determine whether the name identifier of the target sub-file directory is the same as the name identifier of the newly generated sub-file directory; if so, execute step S22; if not, execute step S23; S22: merge the target sub-file directory into the currently newly generated sub-file directory, and jump to step S17 for execution; S23: Determine whether there is a sub-file directory in the original digital file bag with the same name identifier as the sub-file directory newly generated currently. If yes, execute step S24; if no, execute step S25; S24: merge the sub-file directories with the same name identifier into the most recently generated sub-file directory; S25: modify the arrangement sequence number to move the target sub-file directory backward, and jump to step S17 for execution.

7. The method for designing a digital file bag according to claim 6, characterized in that: The design method further includes: defining a backward shift coefficient point=N, wherein N is a positive integer greater than the length of the new directory configuration information array; in the step of modifying the arrangement sequence number to shift the target sub-file directory backward, specifically including: S201: Generate a new permutation sequence number of a set length based on the shift coefficient point; S202: replacing the original sequence number of the target sub-file directory with the new sequence number; S203: Set the shift coefficient point=point+1.

8. The method for designing a digital file bag according to claim 7, characterized in that: In step S12, if the judgment result is no, the following steps are performed: S31: traverse the unprocessed sub-file directory in the original digital file bag, and define the loop coefficient j=0; S32: Determine whether j is less than the number of unprocessed sub-file directories; if so, execute step S33; if not, execute step S35; S33: Generate a new sequence number of a set length based on the current backward shift coefficient point, and replace the original sequence number of the current sub-file directory with the new sequence number; S34: Set the circulation coefficient j=j+1, the backward shift coefficient point=point+1, and repeat steps S32 to S34; S35: End.

9. A digital document bag design device, characterized in that: The design device comprises: Acquisition module: used to obtain directory configuration information in the digital file bag creation request parameters; Parsing module: used to parse directory configuration information; Directory generation module: used to generate a sub-file directory according to the arrangement order of the sub-file directory array in the directory configuration information; Update module: used to compare the new directory configuration information with the original digital file bag when generating new directory configuration information, and regenerate the sub-file directory based on the comparison results and preset rules.

10. A computer device, characterized in that: The computer device includes a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the design method described in any one of claims 1 to 7 by executing the computer instructions.

11. A computer storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the design method according to any one of claims 1 to 7.