CN109240996B - Accessory export method, accessory export device, computer equipment and computer readable storage medium - Google Patents

Accessory export method, accessory export device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN109240996B
CN109240996B CN201810965415.0A CN201810965415A CN109240996B CN 109240996 B CN109240996 B CN 109240996B CN 201810965415 A CN201810965415 A CN 201810965415A CN 109240996 B CN109240996 B CN 109240996B
Authority
CN
China
Prior art keywords
hierarchical
accessory
folder
screened
attachments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810965415.0A
Other languages
Chinese (zh)
Other versions
CN109240996A (en
Inventor
张奇
陆源
魏尧东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810965415.0A priority Critical patent/CN109240996B/en
Publication of CN109240996A publication Critical patent/CN109240996A/en
Application granted granted Critical
Publication of CN109240996B publication Critical patent/CN109240996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an accessory export method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring a hierarchical packaging structure from a plurality of preset hierarchical packaging structures; acquiring a hierarchical encapsulation object according to the acquired hierarchical encapsulation structure, wherein the hierarchical encapsulation object comprises a plurality of screened attachments and a plurality of hierarchical folders; combining the acquired hierarchical encapsulation objects according to the acquired hierarchical encapsulation structure by calling a combination mode; creating a multi-level folder in a layer-by-layer recursion mode according to the combined hierarchical encapsulation structure by calling an iterator mode, and respectively storing a plurality of screened attachments into the last layer folder of the corresponding created multi-level folder; and if an export instruction input by a user is received, pressurizing the created multi-level folder into a compressed package and exporting the compressed package. By implementing the method and the device, the problem of complex whole operation process caused by the need of multiple searching and multiple downloading when accessories are exported in batches in the prior art can be solved.

Description

Accessory export method, accessory export device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of file downloading technologies, and in particular, to an accessory export method, an accessory export device, a computer device, and a computer readable storage medium.
Background
In a business application scenario using an attachment as a carrier, for example, different attachments exist in a business system of a user, and the attachments may be attachments of different ages, different companies, different business types and different business states, and the storage positions of the attachments are disordered, when the user needs to find all attachments related to the theme of the business meeting using the attachment as the carrier, it is often difficult to accurately and quickly find the attachments meeting the needs of the user. In the prior art, the accessory is usually searched by searching the keyword, the accuracy of searching the accessory by the keyword is low, the accessory can be searched only by the keyword with the name, and then all the searched files are manually clicked and checked for downloading, so that the operation is troublesome. In the process of downloading accessories with different themes in batches, the accessories meeting the service requirements can be downloaded only by multiple times of searching and downloading, the whole operation process is tedious and troublesome, the downloaded accessories are disordered, and the specific service application scenes of all the downloaded accessories can not be embodied.
Disclosure of Invention
The embodiment of the invention provides an accessory export method, an accessory export device, computer equipment and a computer readable storage medium, which aim to solve the problem that the whole operation process is tedious and troublesome because of multiple times of searching and multiple times of downloading when accessories are exported in batches in the prior art.
In a first aspect, an embodiment of the present invention provides an accessory export method, including: acquiring a hierarchical packaging structure from a plurality of preset hierarchical packaging structures, wherein the hierarchical packaging structure is a multi-level folder nested structure; acquiring a hierarchical encapsulation object according to the acquired hierarchical encapsulation structure, wherein the hierarchical encapsulation object comprises a plurality of screened attachments and a plurality of hierarchical folders; combining the acquired hierarchical encapsulation objects according to the acquired hierarchical encapsulation structure by calling a combination mode; creating a multi-level folder in a layer-by-layer recursion mode according to the combined hierarchical encapsulation structure by calling an iterator mode, and respectively storing a plurality of screened attachments into the last layer folder of the corresponding created multi-level folder; and if an export instruction input by a user is received, pressurizing the created multi-level folder into a compressed package and exporting the compressed package.
In a second aspect, an embodiment of the present invention further provides an accessory-deriving device comprising means for performing the method of the first aspect described above.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes a memory and a processor, where the memory stores a computer program, and the processor implements the method of the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the method of the first aspect described above.
The embodiment of the invention provides an accessory export method, an accessory export device, computer equipment and a computer readable storage medium. The embodiment of the invention can effectively solve the problem of complicated and troublesome whole operation process caused by the need of searching keywords for searching the accessories for multiple times and the repeated execution of downloading operation when accessories are exported in batches in the prior art, and simultaneously solves the problem that related accessories are often difficult to quickly and accurately find by searching the accessories through the keywords. According to the embodiment of the invention, the acquired multiple screened attachments and multiple hierarchical folders are combined according to the acquired hierarchical packaging structure, the acquired hierarchical packaging structure is determined by the service specific application scene of the hierarchical packaging structure, the multi-level folders are built according to the combined hierarchical packaging structure, the screened attachments are correspondingly stored in the last layer of folders in the multi-level folders, the multi-level folders storing the screened attachments are pressurized into compressed packages and then are exported by one key, and the purpose of corresponding the exported attachments to the specific application scene of the exported attachments can be achieved. After the exported compressed package is decompressed and opened, the storage position of the exported accessory is positioned in the corresponding hierarchical encapsulation structure, the storage position is in a seal and can fully embody the service application scene associated with the exported accessory.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an accessory deriving method according to a first embodiment of the present invention;
FIG. 2 is a schematic sub-flowchart of an accessory exporting method according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of another sub-flowchart of an accessory deriving method according to the first embodiment of the present invention;
FIG. 4 is a flowchart of an accessory exporting method according to a second embodiment of the present invention;
FIG. 5 is a schematic block diagram of an accessory-deriving device according to a first embodiment of the present invention;
FIG. 6 is a schematic block diagram of a first acquisition unit of an accessory-deriving device according to a first embodiment of the present invention;
FIG. 7 is a schematic block diagram of a first creation unit of an accessory-deriving device according to a first embodiment of the present invention;
FIG. 8 is a schematic block diagram of an accessory-deriving device according to a second embodiment of the present invention; and
Fig. 9 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1, a schematic flow chart of an accessory deriving method according to a first embodiment of the present invention is shown. The accessory export method is applied to various business application scenes taking accessories as carriers. As shown in fig. 1, the method may include steps S110 to S150.
S110, acquiring a hierarchical packaging structure from a plurality of preset hierarchical packaging structures, wherein the hierarchical packaging structure is a multi-level folder nested structure.
Specifically, any one of the preset multiple hierarchical encapsulation structures is a multi-level folder nesting structure, the multi-level folder may include one layer, two layers, three layers, n layers, etc., the specific nesting layer number of the multi-level folder is not limited herein, the specific nesting layer number of the folder is determined by the obtained one hierarchical encapsulation structure, the preset multiple hierarchical encapsulation structures respectively correspond to multiple business application scenes of the user, that is, the hierarchical encapsulation structure is determined according to the business application scenes of the user, for example, if accessories of different years and months, different companies, different business types and different business states exist in the business system of the user, the user can select one hierarchical encapsulation structure of 'year and month-company-business type-business state' to sequentially create the multi-level folder, namely, the first layer folder is a year and month folder, the second layer folder is a company folder, the third layer folder is a business type folder and the fourth layer folder is a business state folder, wherein the first layer folder is nested with the second layer, the second layer folder is nested with the third layer and the third layer folder is nested with the fourth layer folder, the fourth layer folder is used for storing specific accessories, the accessories are specific accessories determined according to a hierarchical packaging structure of 'year and month-company-business type-business state', wherein the position of any layer in 'year and month-company-business type-business state' can be correspondingly adjusted or modified and replaced according to business requirements of a user, for example, the company can be used as the first layer folder, the year and month are used as the second layer folder, and therefore, if the total number of layers of the multi-level nested folder is 4, the nesting order of the 4-level folder is fully arranged, so that 4 x 3 x 2 x 1 hierarchical packaging structures can be obtained, that is, 24 different hierarchical packaging structures exist, that is, in an embodiment, the preset multiple hierarchical packaging structures can include 24 hierarchical packaging structures. Therefore, if the total number of layers of the multi-level nested folder is n, the predetermined multiple level package structures may include n (n-1) × (n-2) × (… …) × 1 level package structures. According to the specific business application scene, the user can choose to store the accessories in a hierarchical encapsulation structure such as 'month-company-business type-business state' or 'month-business type-business state', etc., and export the accessories, for example, the multi-level folder is correspondingly created according to the hierarchical encapsulation structure such as 'month-company-business type-business state', and then the specific accessories are stored in the last-level folder of the multi-level folder and exported in a compressed mode.
In an embodiment, the step of obtaining a hierarchical packaging structure from a plurality of predetermined hierarchical packaging structures specifically includes the following steps a and B:
step A: and judging whether a selection instruction input by a user is received.
And (B) step (B): and if a selection instruction input by a user is received, executing the step of acquiring a hierarchical packaging structure from the preset multiple hierarchical packaging structures.
Specifically, the user can select which hierarchical packaging structure the exported accessory specifically needs to be hierarchically packaged according to by using the selection instruction input by the user, and then the hierarchical packaging structure selected by the user can be obtained according to the selection instruction input by the user. Therefore, the user can choose to hierarchically package the accessory according to different hierarchical package structures such as 'company-year-month-service state' or 'year-month-company-service state', wherein the hierarchical package structures are different, program codes corresponding to the hierarchical package structures are different, but the principle of deriving the accessory after hierarchically packaging is the same.
In other embodiments, the obtained hierarchical packaging structure is a hierarchical packaging structure determined in advance with the business volume of the user, that is, a hierarchical packaging structure meeting the business needs of the user is selected from a plurality of selectable preset hierarchical packaging structures in advance according to the specific business application scenario of the user and is set in advance, for example, if the accessory required to be exported by the user is fixed to the specific application scenario of the business, after the hierarchical packaging structure is agreed with the user, the hierarchical packaging structure corresponding to the business specific application scenario can be set in advance, for example, a hierarchical packaging structure of "year, month, company, business type" is selected to establish the multi-level folder of the accessory according to the user needs, and the obtained hierarchical packaging structure is set as a hierarchical packaging structure of "year, month, company, business type" in advance, so that the customized needs of the user can be met, the efficiency exported after the hierarchical packaging of the accessory can also be greatly improved, and the experience effect of the user can be improved.
S120, acquiring a hierarchical encapsulation object according to the acquired hierarchical encapsulation structure, wherein the hierarchical encapsulation object comprises a plurality of screened attachments and a plurality of hierarchical folders.
Specifically, the hierarchical encapsulation object to be acquired is determined according to the acquired hierarchical encapsulation structure, where the hierarchical encapsulation object includes a plurality of screened attachments and a plurality of hierarchical folders, for example, if the acquired hierarchical encapsulation structure is "year-month-company-business state", then the plurality of screened attachments and the plurality of hierarchical folders related to the hierarchical encapsulation structure need to be acquired, for example, a plurality of attachments meeting the requirements of the first-layer year-month folder are acquired first, then attachments meeting the requirements of the second-layer company folder are searched on the basis of the plurality of attachments, and then screened attachments meeting the requirements of the third-layer business state folder are searched in the attachments, and the plurality of hierarchical folders to be acquired need to be determined according to the specific hierarchical encapsulation structure of the screened attachments.
S130, combining the acquired hierarchical encapsulation objects according to the acquired hierarchical encapsulation structure by calling a combination mode.
Specifically, all objects such as the plurality of filtered attachments and the plurality of hierarchical folders can be regarded as the same object through the combination mode (Composite Pattern) to combine the tree structures of the plurality of hierarchical folders and the plurality of filtered attachments. The composition schema forms a tree structure for combining a plurality of objects to represent a hierarchy having a "whole-part" relationship. The combined pattern, which may also be referred to as a "Part-in-Part" pattern, is an object structure pattern, having consistency in the use of a single object (i.e., leaf object) and a combined object (i.e., container object). The tree structure comprises a plurality of container objects (objects containing sub-objects) and a plurality of leaf objects (objects not containing sub-objects), wherein a plurality of hierarchical folders can be used as container objects through a combination mode, specific files can be contained in the plurality of hierarchical folders, the sub-folders can be continuously contained in the plurality of hierarchical folders, a plurality of screened attachments can be used as leaf objects, and the sub-files or the sub-folders can not be contained in the plurality of screened attachments.
S140, recursively creating a multi-level folder layer by layer according to the combined hierarchical encapsulation structure by calling an iterator mode, and respectively storing a plurality of screened attachments into the last-level folder of the corresponding created multi-level folder.
Specifically, a hierarchical encapsulation structure in a tree structure combined according to a combination mode is recursively created layer by calling an iterator mode, whether each combined object is a container object or a leaf object, namely a folder or a file is judged by calling a unified iteration recursion call creation method in the iterator mode, and the hierarchical folder is recursively created layer by layer, wherein the iterator mode is used for providing a method for sequentially accessing various elements in an aggregation object without exposing the internal representation of the object. For example, if the combined hierarchical encapsulation structure is "year and month-company-business state", a first year and month folder in the year and month folder is created first, a first company folder under the first year and month folder is created second, a first business analysis report folder under the first company folder is created second, and finally all the screened specific attachments capable of meeting the first year and month folder, the first company folder and the first business analysis report folder are stored, and recursion is sequentially performed until the creation of the multi-level folder is completed. Wherein in one embodiment, the multi-tier folders are recursively created in the server's network attached storage (Network Attached Storage, NAS) disk layer by layer and pressurized into compressed packages and exported to the client.
And S150, if an export instruction input by a user is received, pressurizing the created multi-level folder into a compressed package and exporting the compressed package.
In one embodiment, the step of pressurizing the created multi-level folder into a compressed package and then exporting the compressed package if receiving the export command input by the user specifically includes the following steps: and pressurizing the multi-level folder storing the screened attachments into a compressed package and exporting the compressed package by calling an appearance mode, wherein the appearance mode is used for sealing a process of pressurizing the multi-level folder into the compressed package and a process of exporting the compressed package to a client into a unified interface for external access.
In one embodiment, the step of pressurizing the multi-level folder storing the plurality of filtered accessories into a compressed package by calling the appearance mode specifically includes the following step C and step D:
step C: by invoking the appearance mode, a setting interface is provided for the user to set the name.
Step D: and receiving the name submitted by the user in the setting interface, and taking the name as the name of the compressed package of the multi-level folder.
Specifically, all the complicated processes can be encapsulated by calling an appearance mode, namely, a process of pressurizing a multi-level folder storing the plurality of screened attachments into a compressed package, a process of exporting the compressed package, a process of providing a setting interface for setting a name by a user, and a process of receiving the name as the name of the compressed package are encapsulated into a unified interface for external access, wherein the appearance mode is used for encapsulating complex and complicated processes into a unified access interface, and the unified access interface enables external users to access or use more easily.
In the above embodiment, the present solution achieves the purposes of hierarchical encapsulation of the attachment and export of the attachment after hierarchical encapsulation by adopting a composite mode formed by combining modes such as a combination mode, an iterator mode, an appearance mode, and the like, where all objects such as a plurality of hierarchical folders and a plurality of filtered attachments are regarded as the same object by using the combination mode to combine the tree structures of the plurality of hierarchical folders and the plurality of filtered attachments; the iterator mode is utilized to carry out layer-by-layer recursion creation of the multi-level folder according to the combined tree structure, specifically, a unified iteration recursion call creation method in the iterator mode is called to judge whether each combined object is a folder or a file, and the multi-level folder is recursively created layer by layer until the creation of the multi-level folder is completed; and all complicated processes can be packaged by using the appearance mode, namely, the pressurizing process of pressurizing the multi-level folder into a compressed package and the exporting process of exporting the compressed package can be packaged into a unified interface for external access. By implementing the embodiment of the invention, the problem of tedious and troublesome whole operation process caused by the need of searching keywords for searching the accessories for multiple times and executing the downloading operation for multiple times when the batched accessories with multiple topics are exported in the prior art can be effectively solved, and the problem that the related accessories are difficult to quickly and accurately find by searching the accessories through the keywords is solved. According to the embodiment of the invention, the acquired multiple screened attachments and multiple hierarchical folders are combined according to the acquired hierarchical packaging structure, the acquired hierarchical packaging structure is determined by the specific service application scene of the service, the multiple hierarchical folders are built according to the combined hierarchical packaging structure, the multiple screened attachments are further stored in the last layer of folders in the corresponding multiple hierarchical folders respectively, the multiple hierarchical folders stored with the screened attachments are pressurized into compressed packages and then are exported by one key, the purpose of corresponding the exported attachments to the specific application scene of the exported attachments is achieved, the exported compressed packages are decompressed and opened, the storage positions of the exported attachments are located in the corresponding hierarchical packaging structure, the storage positions of the exported attachments are in a seal-circulated mode, and the service application scene related to the exported attachments can be fully embodied.
Referring to fig. 2, a sub-flowchart of an attachment export method according to a first embodiment of the present invention is shown in fig. 2, in which step S120, a hierarchical encapsulation object is obtained according to the obtained hierarchical encapsulation structure, and the steps of the hierarchical encapsulation object including a plurality of filtered attachments and a plurality of hierarchical folders specifically include the following steps S121-S125.
S121, determining a plurality of groups of screening conditions according to the acquired hierarchical encapsulation structure.
Specifically, the hierarchical packaging structure is determined by the service application scenario of the user, and the multiple sets of screening conditions are determined by the acquired hierarchical packaging structure, so that the user needs to determine multiple sets of screening conditions according to the acquired hierarchical packaging structure for screening, for example, if the acquired hierarchical packaging structure is 'year, month, company and service type', three sets of screening conditions of year, month, company and service type are provided, and if the acquired hierarchical packaging structure is 'year, month, company and service state', three sets of screening conditions of year, month, company and service state are provided.
S122, receiving a screening instruction input by a user, wherein the screening instruction is an instruction for the user to select a condition from a plurality of groups of screening conditions.
Specifically, the screening instruction is an instruction that a user selects a condition from multiple groups of screening conditions, that is, the user may select the multiple groups of screening conditions according to his own needs, where the multiple groups of screening conditions are determined by a service application scenario of the user, for example, if there are attachments of different ages, different companies, different service types and different service states in a service system of the user, if the user selects a hierarchical encapsulation structure of "year, month, company, service type, service state" to build a multi-level folder according to his own service application scenario, according to this hierarchical encapsulation structure, a time range may be used as a set of conditions available for screening, a company name may be used as another set of conditions available for screening, and different service types and different states may be used as other two sets of conditions available for screening, and then the user may select a condition meeting his own needs from the four sets of screening conditions according to his own needs, so as to select an attachment meeting his own needs, without specific limitation on the number of sets and the number of sets of conditions. The screening instruction is determined by the user according to the specific application scenario of the service, in one embodiment, the user can select incomplete and completed service operation analysis reports of 2018 month 1 to 2018 month 5, the insurance company and the life insurance company; in another embodiment, the user may select from 2017, 1 month to 12 months, incomplete and completed in financial statements of finance and technology companies.
S123, filtering the non-conforming attachments according to a preset level association table and the screening instructions to obtain a plurality of screened attachments matched with the screening instructions.
Specifically, after receiving a screening instruction input by a user, determining a plurality of screened attachments matched with the screening instruction by searching the preset level association table, wherein the preset level association table is an association table of a specific level packaging structure corresponding to the attachments, and the preset level association table stores file names of all the attachments, month and year information corresponding to each attachment, company information, service types and service state information. Therefore, the accessories which do not meet the user requirements can be filtered according to the screening instruction and the preset level association table to obtain a plurality of screened accessories which meet the user requirements, and the application scene of the accessories is not limited specifically herein, for example, a plurality of accessories required by a screening frame of 'file names' in a plurality of groups of screening conditions can be checked, accessories of a plurality of companies required by a screening frame of 'professional companies' can also be checked, and after the screening instruction from the user is received, the preset level association table is searched to obtain a plurality of screened accessories.
S124, determining the hierarchical packaging structure of each screened accessory according to the acquired hierarchical packaging structure and the preset hierarchical association table.
Specifically, in an embodiment, if the user inputs and selects the screening conditions such as "month-company-business type" from year 01 month to year 05 month "," business/financial risk "," business analysis report "and the like, and then screens out 5 accessories such as accessory a, accessory B, accessory C, accessory D and accessory E, the hierarchical packaging structure of each accessory is determined according to the acquired" month-company-business type "and the preset hierarchical association table, for example, the month information of accessory a is" year 02 month ", the affiliated company is" business risk "company, the affiliated business type is" business analysis report ", the business type of accessory B is" business analysis report ", and the affiliated company is" life risk "company, and the affiliated business type is" business analysis report ", so that the hierarchical packaging structure of accessory a is determined to be" year 02 month-business type "and the hierarchical packaging structure of accessory a is" business report "from year 01 month to year 02 month-business report" from year 02 month to year 02 month-business report "and the affiliated business analysis report" from year 02 month-business to year 02 month-business report "from year 02 month-business analysis report" and the business analysis report "from year 02 month-year 02 to year 02 month-business analysis report" respectively, and determining the hierarchical packaging structure of the screened accessories according to the acquired hierarchical packaging structure and the preset hierarchical association table.
S125, acquiring a plurality of hierarchical folders according to the hierarchical encapsulation structure of each screened attachment.
Specifically, according to one embodiment in step S124, if the plurality of selected attachments are attachment a to attachment E, 5 attachments are added, and a plurality of hierarchical folders are obtained according to the hierarchical encapsulation structure of each selected attachment, the plurality of hierarchical folders include 4 folders of "201801/201802/201803/201805", 5 folders of "risk/life", wherein the "risk" folders and the "life" folders are included in the 2018 month 02, and 5 folders of "business analysis report" are finally included.
In the above embodiment, according to the scheme, by setting multiple groups of screening conditions and the preset hierarchical association table of the accessories, batches of screened accessories meeting the conditions can be quickly and accurately searched, batches of screened accessories meeting the conditions are obtained, the hierarchical packaging structure of each screened accessory is determined according to the obtained hierarchical packaging structure and the preset hierarchical association table, and a plurality of hierarchical folders can be obtained according to the hierarchical packaging structure of each screened accessory.
Referring to fig. 3, which is another sub-flowchart of an attachment export method according to the first embodiment of the present invention, as shown in fig. 3, the step S140 of recursively creating a multi-level folder layer by layer according to the assembled hierarchical encapsulation structure by invoking the iterator mode, and the step of respectively storing a plurality of filtered attachments in the last-level folder of the corresponding created multi-level folder specifically includes the following steps S141-S143.
S141, recursively creating a multi-level folder layer by layer according to the combined hierarchical encapsulation structure by calling an iterator mode.
S142, determining a target storage path of each screened attachment in the created multi-level folder according to the combined hierarchical packaging structure.
Specifically, the target storage path corresponding to each screened attachment is determined according to the combined hierarchical encapsulation structure, for example, in an embodiment, one hierarchical encapsulation structure obtained is a "year-month-company-business type", a hierarchical encapsulation object is obtained according to the hierarchical encapsulation structure obtained as a "year-month-company-business type", the hierarchical encapsulation object includes a plurality of screened attachments and a plurality of hierarchical folders, for example, according to an embodiment in step S124, 5 attachments in total are obtained according to a plurality of sets of screening conditions, attachment a, attachment B, attachment C, attachment D and attachment E are found, the target storage path corresponding to the attachment a to attachment E is determined by looking up the preset hierarchical encapsulation structure, for example, the year information of attachment a can be checked as "2018 year 02 month" according to the preset hierarchical association table, the company is a "business type" business report ", the month information of attachment B is" 2018 month "report" and the business type "is" 2018 month "are obtained according to the multi-screening conditions, therefore, the storage path corresponding to the attachment a to attachment E can be determined in the" business report "file in a" management report "2018 month" in a hierarchy report "in which the same manner as that the file in the" file folder "management report" is required to be analyzed in 20102 ", it may be determined that the attachment C needs to be stored in the "business analysis report" folder in the "risk of production" folder in "2018, 03, and the attachment D needs to be stored in the" business analysis report "folder in the" risk of production "folder in" 2018, 01, and the attachment E needs to be stored in the "business analysis report" folder in the "life of life" folder in "2018, 02, and therefore, it is determined that the hierarchical encapsulation structure of the plurality of screened attachments is" 2018, 01, 05, to risk, and business analysis report "according to the acquired one hierarchical encapsulation structure and the preset hierarchical association table, and a multi-hierarchical folder is recursively created layer by layer according to the hierarchical encapsulation structure of the plurality of screened attachments using the hierarchical encapsulation method. After the multi-level folder is sequentially and recursively created layer by layer, the first layer of the multi-level folder is a year and month folder, 5 subfolders such as "2018 year 01 month", "2018 year 02 month", "2018 year 03 month", "2018 year 04 month" and "2018 year 05" are stored after the year and month folder is opened, a second-layer company folder is used after any specific month subfolder is opened, that is, after any specific month subfolder is opened, a "risk of production" or a "life risk" subfolder may be stored, a third-layer business type folder is used after any specific month subfolder is opened, that is, a "business analysis report" subfolder is stored after any specific month is opened, and a third-layer "business analysis report" subfolder is used as a last-layer folder for storing attached accessories.
S143, determining the original storage path of each screened accessory from a preset accessory summary table.
Specifically, the original storage path may be determined in the preset accessory summary table, where the preset accessory summary table includes document information of all accessories, where the document information includes file sizes, file names, and file storage paths of all accessories, and the file storage paths are storage paths before the accessories are not exported, that is, original storage paths of the accessories.
S144, each screened accessory is taken out from the original storage path and stored in the corresponding target storage path.
Specifically, the target storage path is the last layer of folders in the multi-level folders corresponding to the hierarchical encapsulation structure of each screened attachment, for example, if the hierarchical encapsulation structure of the attachment a is determined to be "2018 month 02-risk-business analysis report", the attachment a should be stored in the "business analysis report" folder in the "risk of creation" folder in the "2018 month 02" folder.
In the above embodiment, the present solution recursively creates a multi-hierarchy folder layer by invoking the iterator mode and stores a plurality of filtered attachments into the last-hierarchy folder of the corresponding created multi-hierarchy folder, respectively.
Fig. 4 is a flowchart of an accessory deriving method according to a second embodiment of the present invention. The accessory export method is applied to various business application scenes taking accessories as carriers. As shown in fig. 4, the method may include steps S210-S270. Steps S210 to S250 are similar to steps S110 to S150 in the above embodiment, and are not described herein. Step S260 and step S270 added in the present embodiment are described in detail below.
S260, calling the same method interface by calling a strategy mode from any one hierarchical encapsulation structure obtained from a plurality of preset hierarchical encapsulation structures.
Specifically, through the policy schema, multiple different hierarchical encapsulation structures can all invoke the same method interface. The policy mode is a behavior mode and is used for providing a plurality of selectable algorithm policies for a specific project, and a client can select and call any specific algorithm policy according to different application requirements when the client runs. The principle of this policy model is to separate the algorithm policy from the object, making the algorithm independent of the user using it. Specifically, the part of a class which is changed frequently or possibly in future is extracted as a same method interface, and then an instance of the object is contained in the class, so that the instance of the class can call the action of realizing the interface class at the time of running, namely, a group of algorithms are prepared, and each algorithm is packaged to be interchangeable. Thus, policy algorithms are different implementations of the same behavior.
S270, deleting the temporary file and the temporary folder by calling the appearance mode.
Specifically, in an embodiment, in the process of creating a multi-level folder by using a server Nas disk, a temporary file such as a specific temporary directory and a temporary folder are generated in the server Nas disk, where the specific temporary directory is used to create a multi-level nested folder and a compressed folder (the folder may include a folder or a specific file), and when the multi-level folder is created and exported, the temporary file and the temporary folder generated in the Nas disk need to be deleted, so as to reduce the storage pressure of the server, improve the operation speed of the server, and in addition, by using an appearance mode, the temporary file and the temporary folder stored in the Nas disk may be deleted while the multi-level folder is pressurized into a compressed package and exported.
In the above embodiment, the present solution achieves the purposes of hierarchical encapsulation of the attachment and export of the attachment after hierarchical encapsulation by adopting a composite mode formed by combining modes such as a policy mode, a combination mode, an iterator mode, an appearance mode, and the like, where, through the policy mode, a plurality of different hierarchical encapsulation structures can all invoke the same method. The embodiment of the invention can enable a plurality of different hierarchical encapsulation structures to call the same method interface by adding the strategy mode, and can effectively reduce the storage pressure of the server and improve the running speed of the server by encapsulating the process of deleting the temporary file and the temporary folder in the appearance mode.
Referring to fig. 5, a schematic block diagram of an accessory deriving device 300 according to a first embodiment of the present invention is shown. As shown in fig. 5, the accessory deriving device 300 corresponds to the accessory deriving method shown in fig. 1. The accessory deriving device 300 includes a unit for performing the accessory deriving method described above, and the accessory deriving device 300 may be configured in a terminal such as a desktop computer, a tablet computer, a portable computer, or the like. Specifically, referring to fig. 5, the accessory deriving device 300 includes a first obtaining unit 301, a second obtaining unit 302, a first combining unit 303, a first creating unit 304, and a first deriving unit 305.
The first obtaining unit 301 is configured to obtain a hierarchical packaging structure from a plurality of preset hierarchical packaging structures, where the hierarchical packaging structure is a multi-level folder nested structure.
Specifically, the preset multiple hierarchical encapsulation structures respectively correspond to multiple service application scenarios of the user, that is, the hierarchical encapsulation structures are determined according to the service application scenarios of the user. In an embodiment, the first obtaining unit 301 is configured to determine whether a selection instruction input by a user is received, and if the selection instruction input by the user is received, perform the step of obtaining a hierarchical packaging structure from a plurality of predetermined hierarchical packaging structures. The user can select which hierarchical packaging structure the exported accessory specifically needs to be subjected to according to by using the selection instruction input by the user, and then the hierarchical packaging structure selected by the user can be obtained according to the selection instruction input by the user.
The second obtaining unit 302 is configured to obtain a hierarchical encapsulation object according to the obtained hierarchical encapsulation structure, where the hierarchical encapsulation object includes a plurality of filtered attachments and a plurality of hierarchical folders.
The first combining unit 303 is configured to combine the acquired hierarchical encapsulation objects according to the acquired hierarchical encapsulation structure by calling a combination mode.
Specifically, all objects such as the plurality of filtered attachments and the plurality of hierarchical folders can be regarded as the same object through the combination mode (Composite Pattern) to combine the tree structures of the plurality of hierarchical folders and the plurality of filtered attachments.
The first creating unit 304 is configured to recursively create a multi-level folder layer by layer according to the assembled hierarchical encapsulation structure by invoking the iterator mode, and store the plurality of filtered attachments in a last-level folder of the corresponding created multi-level folder, respectively.
Specifically, the multi-level folder can be recursively created layer by layer according to the hierarchical encapsulation structure in the tree structure combined by the iterator patterns, whether each combined object is a container object or a leaf object, namely a folder or a file is judged by calling a unified iteration recursion call creation method in the iterator patterns, and the multi-level folder is recursively created layer by layer, wherein the iterator patterns are used for providing a method for sequentially accessing various elements in one aggregation object without exposing the internal representation of the object. Wherein in one embodiment, the multi-tier folders are recursively created and pressurized in a server-side network attached storage (NetworkAttached Storage, NAS) disk layer by layer into compressed packages and exported to a client
The first export unit 305 is configured to, when receiving an export instruction input by a user, pressurize the created multi-hierarchy folder into a compressed package and export the compressed package.
Specifically, in an embodiment, the first exporting unit 305 is configured to compress the multi-level folders storing the multiple filtered attachments into a compressed package and export the compressed package by calling an appearance mode, where the appearance mode is used to encapsulate the process of compressing the multi-level folders into the compressed package and the process of exporting the compressed package to the client into a unified interface for external access. In another embodiment, the first deriving unit 305 is further configured to provide a setting interface for a user to set a name and a name submitted by the user in the setting interface by calling an appearance mode, and take the name as a name of a compressed package of the multi-level folder.
Referring to fig. 6, a schematic block diagram of a second obtaining unit 302 of an accessory deriving device 300 according to a first embodiment of the present invention is shown, where the second obtaining unit 302 includes a first determining unit 3021, a receiving unit 3022, a first filtering unit 3023, a second determining unit 3024, and a folder obtaining unit 3025.
The first determining unit 3021 is configured to determine a plurality of sets of screening conditions according to the obtained hierarchical packaging structure.
Specifically, the hierarchical encapsulation structure is determined by the service application scenario of the user, and the multiple sets of screening conditions are determined by the acquired hierarchical encapsulation structure, so that the required multiple sets of screening conditions need to be determined according to the acquired hierarchical encapsulation structure for the user to screen due to the existence of multiple different hierarchical encapsulation structures.
The receiving unit 3022 is configured to receive a filtering instruction input by a user, where the filtering instruction is an instruction that the user selects a condition from a plurality of groups of filtering conditions.
Specifically, the screening instruction is an instruction that a user selects a condition from a plurality of groups of screening conditions, that is, the user can select a plurality of groups of provided screening conditions according to own needs, wherein the plurality of groups of provided screening conditions are determined by a service application scene of the user.
The first filtering unit 3023 is configured to filter the attachments that do not meet the conditions according to the preset hierarchical association table and the filtering instruction, so as to obtain a plurality of filtered attachments that are matched with the filtering instruction.
Specifically, after receiving a screening instruction input by a user, determining a plurality of screened attachments matched with the screening instruction by searching the preset level association table, wherein the preset level association table is an association table of a specific level packaging structure corresponding to the attachments, and the preset level association table stores file names of all the attachments, month and year information corresponding to each attachment, company information, service types and service state information.
The second determining unit 3024 is configured to determine a hierarchical encapsulation structure of each filtered attachment according to the obtained hierarchical encapsulation structure and the preset hierarchical association table.
The folder acquisition unit 3025 is configured to acquire a plurality of hierarchical folders according to the hierarchical encapsulation structure of each of the screened attachments.
Referring to fig. 7, a schematic block diagram of a first creating unit 304 of an accessory deriving device 300 according to a first embodiment of the present invention is shown, where the first creating unit 304 includes a third determining unit 3041, a first creating subunit 3042, a determining unit 3043, and an accessing unit 3044.
The third determining unit 3041 is configured to recursively create a multi-level folder layer by layer according to the assembled hierarchical encapsulation structure by calling an iterator pattern.
The first creating subunit 3042 is configured to determine, according to the assembled hierarchical encapsulation structure, a target storage path of each of the filtered attachments in the created multi-level folder.
The determining unit 3043 is configured to determine an original storage path of each of the screened attachments from a preset attachment summary table.
Specifically, the original storage path may be determined in the preset accessory summary table, where the preset accessory summary table includes document information of all accessories, where the document information includes file sizes, file names, and file storage paths of all accessories, and the file storage paths are storage paths before the accessories are not exported, that is, original storage paths of the accessories.
The access unit 3044 is configured to take each of the screened attachments out of its original storage path and store the selected attachment in a corresponding target storage path.
Specifically, the target storage path is a last layer folder in the multi-level folders corresponding to the hierarchical encapsulation structure of each screened attachment.
It should be noted that, as will be clearly understood by those skilled in the art, the specific implementation process and effects of the accessory deriving device 300 and the units described above may refer to the corresponding descriptions in the foregoing method embodiments, and are not repeated herein for convenience and brevity of description.
Referring to fig. 8, a schematic block diagram of an accessory deriving device 400 according to a second embodiment of the present invention is shown. As shown in fig. 8, an accessory deriving device 400 according to a second embodiment of the present invention is provided with a calling unit 406 and a deleting unit 407 added to the above embodiments, that is, the device 400 includes a third obtaining unit 401, a fourth obtaining unit 402, a second combining unit 403, a second creating unit 404, a second deriving unit 405, a calling unit 406 and a deleting unit 407. The third obtaining unit 401, the fourth obtaining unit 402, the second combining unit 403, the second creating unit 404, and the second deriving unit 405 are similar to the first obtaining unit 301, the second obtaining unit 302, the first combining unit 303, the first creating unit 304, and the first deriving unit 305 in the above embodiments, and the application process and the corresponding functions are similar to those of the corresponding units in the above embodiments, and are not repeated herein.
The calling unit 406 is configured to call the same method interface by calling a policy mode from any one of a plurality of preset hierarchical encapsulation structures.
Specifically, through the policy schema, multiple different hierarchical encapsulation structures can all invoke the same method interface. The policy mode is a behavior mode and is used for providing a plurality of selectable algorithm policies for a specific project, and a client can select and call any specific algorithm policy according to different application requirements when the client runs. The principle of this policy model is to separate the algorithm policy from the object, making the algorithm independent of the user using it. Specifically, the part of a class that is changed frequently or possibly in the future is extracted as an identical method interface, and then the instance of the object is included in the class, so that the instance of the class can invoke the behavior of implementing the interface class at runtime, i.e. a set of algorithms is prepared, and each algorithm is packaged to be interchangeable. Thus, policy algorithms are different implementations of the same behavior.
The deleting unit 407 is configured to delete the temporary file and the temporary folder by calling the appearance mode.
Specifically, in the process of creating the multi-level folder by using the server Nas disk, a temporary file such as a specific temporary directory and a temporary folder are generated in the server Nas disk, where the specific temporary directory is used to create a multi-level nested folder and a compressed folder (the folder may include a folder or a specific file), and when the multi-level folder is created and exported, the temporary file and the temporary folder generated in the Nas disk need to be deleted.
It should be noted that, as those skilled in the art can clearly understand the specific implementation process and effects of the above apparatus 400 and each unit, reference may be made to the corresponding descriptions in the foregoing method embodiments, and for convenience and brevity of description, no further description is provided herein.
The above-described apparatus may be implemented in the form of a computer program which is executable on a computer device as shown in fig. 9.
Referring to fig. 9, a schematic block diagram of a computer device according to an embodiment of the present invention is shown. The computer device 600 may be a terminal or a server, where the terminal may be an electronic device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, and a personal digital assistant. The server may be an independent server or a server cluster formed by a plurality of servers.
With reference to FIG. 9, the computer device 600 includes a processor 602, memory and a network interface 605 connected by a system bus 601, wherein the memory may include a non-volatile storage medium 603 and an internal memory 604.
The non-volatile storage medium 603 may store an operating system 6031 and a computer program 6032. The computer program 6032 includes program instructions that, when executed, cause the processor 602 to perform an accessory derivation method.
The processor 602 is used to provide computing and control capabilities to support the operation of the overall computer device 600.
The internal memory 604 provides an environment for the execution of a computer program 6032 in the non-volatile storage medium 603, which computer program 6032, when executed by the processor 602, causes the processor 602 to perform an accessory deriving method.
The network interface 605 is used for network communication with other devices. It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely a block diagram of a portion of the structure associated with the present application and does not constitute a limitation of the computer device 600 to which the present application is applied, and that a particular computer device 600 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 602 is configured to execute a computer program 6032 stored in a memory to implement the steps of:
in one embodiment, when implementing the accessory-deriving method, the processor 602 specifically implements the following steps: acquiring a hierarchical packaging structure from a plurality of preset hierarchical packaging structures, wherein the hierarchical packaging structure is a multi-level folder nested structure; acquiring a hierarchical encapsulation object according to the acquired hierarchical encapsulation structure, wherein the hierarchical encapsulation object comprises a plurality of screened attachments and a plurality of hierarchical folders; combining the acquired hierarchical encapsulation objects according to the acquired hierarchical encapsulation structure by calling a combination mode; creating a multi-level folder in a layer-by-layer recursion mode according to the combined hierarchical encapsulation structure by calling an iterator mode, and respectively storing a plurality of screened attachments into the last layer folder of the corresponding created multi-level folder; and if an export instruction input by a user is received, pressurizing the created multi-level folder into a compressed package and exporting the compressed package.
In one embodiment, when the step of obtaining the hierarchical encapsulation object according to the obtained hierarchical encapsulation structure, the hierarchical encapsulation object includes a plurality of filtered attachments and a plurality of hierarchical folders, the processor 602 specifically implements the following steps: determining a plurality of groups of screening conditions according to the acquired hierarchical packaging structure; receiving a screening instruction input by a user, wherein the screening instruction is an instruction for selecting a condition from a plurality of groups of screening conditions by the user; filtering the non-conforming attachments according to a preset hierarchy association table and the screening instruction to obtain a plurality of screened attachments matched with the screening instruction; determining the hierarchical packaging structure of each screened accessory according to the acquired hierarchical packaging structure and the preset hierarchical association table; and acquiring a plurality of hierarchical folders according to the hierarchical encapsulation structure of each screened attachment.
In one embodiment, when implementing the step of recursively creating a multi-level folder layer by layer according to the assembled hierarchical encapsulation structure by calling the iterator mode and storing the filtered attachments in the last layer folder of the corresponding created multi-level folder, the processor 602 specifically implements the following steps: creating a multi-level folder by recursively creating layers according to the combined hierarchical encapsulation structure by calling an iterator mode; determining a target storage path of each screened attachment in the created multi-level folder according to the combined hierarchical packaging structure; determining an original storage path of each screened accessory from a preset accessory summary table; and taking out each screened accessory from the original storage path and storing the screened accessory in the corresponding target storage path.
In one embodiment, before implementing the step of obtaining a hierarchical packaging structure from the preset multiple hierarchical packaging structures, the processor 602 specifically implements the following steps: judging whether a selection instruction input by a user is received or not; and if a selection instruction input by a user is received, executing the step of acquiring a hierarchical packaging structure from the preset multiple hierarchical packaging structures.
In an embodiment, after the step of obtaining a hierarchical packaging structure from the preset multiple hierarchical packaging structures, the hierarchical packaging structure is a multi-level folder nested structure, the processor 602 specifically further realizes the following steps: by calling the policy mode, any hierarchical encapsulation structure obtained from a plurality of preset hierarchical encapsulation structures can call the same method interface.
In one embodiment, when the step of exporting the created multi-level folder after being pressurized into a compressed package is implemented by the processor 602 if the export instruction input by the user is received, the following steps are specifically implemented: and pressurizing the multi-level folder storing the screened attachments into a compressed package and exporting the compressed package by calling an appearance mode, wherein the appearance mode is used for sealing a process of pressurizing the multi-level folder into the compressed package and a process of exporting the compressed package to a client into a unified interface for external access.
In an embodiment, after implementing the step of exporting the compressed packet, the processor 602 specifically further implements the following steps: the temporary file and the temporary folder are deleted by calling the appearance mode.
It should be appreciated that in embodiments of the present invention, the processor 602 may be a central processing unit (Central Processing Unit, CPU), the processor 602 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable gate arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can be stored in a storage medium, wherein the storage medium is a storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a computer-readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program includes program instructions. The program instructions, when executed by a processor, cause the processor to perform the accessory-deriving method as described above.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, etc. which may store the program code.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (7)

1. An accessory derivation method, comprising:
acquiring a hierarchical packaging structure from a plurality of preset hierarchical packaging structures, wherein the hierarchical packaging structure is a multi-level folder nested structure;
determining a plurality of groups of screening conditions according to the acquired hierarchical packaging structure; receiving a screening instruction input by a user, wherein the screening instruction is an instruction for selecting a condition from a plurality of groups of screening conditions by the user; filtering the non-conforming attachments according to a preset hierarchy association table and the screening instruction to obtain a plurality of screened attachments matched with the screening instruction; determining the hierarchical packaging structure of each screened accessory according to the acquired hierarchical packaging structure and the preset hierarchical association table; obtaining a plurality of hierarchical folders according to the hierarchical packaging structure of each screened attachment;
combining the acquired hierarchical encapsulation objects according to the acquired hierarchical encapsulation structure by calling a combination mode;
creating a multi-level folder by recursively creating layers according to the combined hierarchical encapsulation structure by calling an iterator mode; determining a target storage path of each screened attachment in the created multi-level folder according to the combined hierarchical packaging structure; determining an original storage path of each screened accessory from a preset accessory summary table; and taking out each screened accessory from the original storage path and storing the screened accessory in the corresponding target storage path; and
And if an export instruction input by a user is received, pressurizing the multi-level folder storing the screened accessories into a compressed package by calling an appearance mode, and exporting the compressed package, wherein the appearance mode is used for sealing the process of pressurizing the multi-level folder into the compressed package and the process of exporting the compressed package to a client into a unified interface for external access.
2. The accessory derivation method of claim 1, further comprising, prior to the step of obtaining a hierarchical encapsulation structure from among the plurality of predetermined hierarchical encapsulation structures:
judging whether a selection instruction input by a user is received or not; and
and if a selection instruction input by a user is received, executing the step of acquiring a hierarchical packaging structure from the preset multiple hierarchical packaging structures.
3. The accessory derivation method of claim 1, further comprising, after the step of obtaining a hierarchical encapsulation structure from among the plurality of predetermined hierarchical encapsulation structures: and calling the same method interface by calling a strategy mode from any one hierarchical encapsulation structure obtained from a plurality of preset hierarchical encapsulation structures.
4. The attachment exporting method of claim 1, wherein after the step of exporting the compressed packets, further comprising: the temporary file and the temporary folder are deleted by calling the appearance mode.
5. Accessory derivation means, characterized in that it comprises means for executing the accessory derivation method according to any one of claims 1-4.
6. A computer device comprising a memory and a processor, the memory having stored thereon a computer program, the processor implementing the accessory derivation method of any one of claims 1-4 when the computer program is executed.
7. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, which when executed by a processor, implements the accessory derivation method of any one of claims 1-4.
CN201810965415.0A 2018-08-23 2018-08-23 Accessory export method, accessory export device, computer equipment and computer readable storage medium Active CN109240996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810965415.0A CN109240996B (en) 2018-08-23 2018-08-23 Accessory export method, accessory export device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810965415.0A CN109240996B (en) 2018-08-23 2018-08-23 Accessory export method, accessory export device, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109240996A CN109240996A (en) 2019-01-18
CN109240996B true CN109240996B (en) 2024-02-27

Family

ID=65069271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810965415.0A Active CN109240996B (en) 2018-08-23 2018-08-23 Accessory export method, accessory export device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109240996B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204523B (en) * 2021-05-14 2024-04-16 深圳中智永浩机器人有限公司 Chassis multi-floor map management method, device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1688981A (en) * 2002-08-09 2005-10-26 网络装置公司 Storage virtualization by layering virtual disk objects on a file system
CN102207981A (en) * 2011-07-13 2011-10-05 华为软件技术有限公司 Method and system for managing file
CN103873279A (en) * 2012-12-13 2014-06-18 腾讯科技(深圳)有限公司 Server management method and server management device
CN104133889A (en) * 2014-07-30 2014-11-05 国云科技股份有限公司 Database virtualization microkernel data source registration and encapsulation method
CN105808770A (en) * 2016-03-22 2016-07-27 北京北方微电子基地设备工艺研究中心有限责任公司 File management method and device
CN108139794A (en) * 2015-09-27 2018-06-08 索拉巴·A·普拉卡什 Browser is can customize for computer file system and Email

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110119634A1 (en) * 2009-11-16 2011-05-19 Apple Inc. Global view for digital assets

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1688981A (en) * 2002-08-09 2005-10-26 网络装置公司 Storage virtualization by layering virtual disk objects on a file system
CN102207981A (en) * 2011-07-13 2011-10-05 华为软件技术有限公司 Method and system for managing file
CN103873279A (en) * 2012-12-13 2014-06-18 腾讯科技(深圳)有限公司 Server management method and server management device
CN104133889A (en) * 2014-07-30 2014-11-05 国云科技股份有限公司 Database virtualization microkernel data source registration and encapsulation method
CN108139794A (en) * 2015-09-27 2018-06-08 索拉巴·A·普拉卡什 Browser is can customize for computer file system and Email
CN105808770A (en) * 2016-03-22 2016-07-27 北京北方微电子基地设备工艺研究中心有限责任公司 File management method and device

Also Published As

Publication number Publication date
CN109240996A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
JP7464543B2 (en) Publishing to a Data Warehouse
US20190354632A1 (en) Exercising artificial intelligence by refining model output
US20150302074A1 (en) Business Application Publication
US9323814B2 (en) Adapting data quality rules based upon user application requirements
US20120143876A1 (en) Method and Apparatus for Efficiently Organizing Hierarchical QoS Policies
US20040249830A1 (en) Database object script generation method and system
CN109189469B (en) Reflection-based android application micro-servitization method and system
KR20150117280A (en) Building applications for configuring processes
US10453165B1 (en) Computer vision machine learning model execution service
CN105511873A (en) User interface control display method and device
CN105094924B (en) The introduction method and device of image file
US20170004203A1 (en) Method and system for configuration management of hierarchically-organized unstructured data using associative templates
CN109167784A (en) Data processing method and system on block chain
US20200092337A1 (en) Context-aware content object security
CN112052011A (en) Method and device for combining small programs, electronic equipment and medium
CN109240996B (en) Accessory export method, accessory export device, computer equipment and computer readable storage medium
CN111984666A (en) Database access method and device, computer readable storage medium and computer equipment
US10073682B1 (en) Method and mechanism for optimal scope evaluation in scope based hierarchical configuration using evaluated scope propagation technique
US11556802B2 (en) Interfacing with results of artificial intelligent models
CN116560626A (en) Data processing method, system, equipment and storage medium based on custom rules
CN104317590B (en) The method of embedded configuration system and embedded configuration audit flow
CN113076086B (en) Metadata management system and method for modeling model object using the same
CN114330244A (en) Method, system, device and medium for arranging files
CN107402749A (en) Realize the method and device in picture loading storehouse
US9477821B2 (en) Generic feature-licensing framework

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant