Disclosure of Invention
In view of the foregoing, it is desirable to provide a file viewing method, device, computer device and storage medium, which can conveniently and quickly view files.
A method of file viewing, the method comprising:
when a list subdirectory viewing instruction is detected, identifying a target attribute identifier of a target list subdirectory;
performing query matching based on the target attribute identification to obtain a target attribute file corresponding to the target list subdirectory;
and displaying the target attribute file.
In one embodiment, the method further comprises the following steps:
when a list subdirectory creating instruction is detected, identifying the identification information of the list subdirectory to be created;
and receiving the uploaded attribute file to be associated, and associating the attribute file to be associated with the identification information.
In one embodiment, the method further comprises the following steps:
the identification information of the to-be-created list sub-system comprises a first sub-system identification of the to-be-created list sub-system and a first list identification of a list to which the to-be-created list sub-system belongs;
the receiving the uploaded attribute file to be associated, and associating the attribute file to be associated with the identification information includes:
receiving the uploaded attribute file to be associated, determining a first building attribute identifier of the attribute file to be associated, and establishing an association relation between the first building attribute identifier of the attribute file to be associated and the first sub-directory identifier.
In one embodiment, the method further comprises the following steps:
identifying a target list to which the target list subdirectory belongs and a second building attribute identifier contained in the target attribute identifier;
and inquiring and matching in a file database to obtain a corresponding target attribute file based on a second list identifier corresponding to the target list and the second building attribute identifier.
In one embodiment, the method further comprises the following steps:
obtaining a first file list associated with the target manifest from a file database based on the second manifest identification;
performing query matching in the first file list based on a second sub-directory identifier contained in the target attribute identifier to obtain a second file list associated with the target directory sub-directory;
and inquiring and matching in the second file list based on the second building attribute identification to obtain a target attribute file corresponding to the second building attribute identification.
In one embodiment, the method further comprises the following steps:
when an attribute file modification instruction is detected, obtaining a user identifier based on the attribute file modification instruction, and determining whether a target user corresponding to the user identifier has a file modification authority;
when the target user is determined to have the file modification right, identifying a second attribute identifier of the selected list to be modified, and performing query matching based on the second attribute identifier to obtain an attribute file to be modified corresponding to the list to be modified;
and controlling the attribute file to be modified to be in an editable state, and receiving the input modification information.
In one embodiment, the method further comprises the following steps:
and when the target attribute identification is not matched with the corresponding target attribute file, sending prompt information of attribute file query matching failure.
A document viewing apparatus, the apparatus comprising:
the detection module is used for identifying the target attribute identifier of the target list subdirectory when the list subdirectory viewing instruction is detected;
the query module is used for performing query matching based on the target attribute identification to obtain a target attribute file corresponding to the target list subdirectory;
and the display module is used for displaying the target attribute file.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
when a list subdirectory viewing instruction is detected, identifying a target attribute identifier of a target list subdirectory;
performing query matching based on the target attribute identification to obtain a target attribute file corresponding to the target list subdirectory;
and displaying the target attribute file.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
when a list subdirectory viewing instruction is detected, identifying a target attribute identifier of a target list subdirectory;
performing query matching based on the target attribute identification to obtain a target attribute file corresponding to the target list subdirectory;
and displaying the target attribute file.
According to the file viewing method, the file viewing device, the computer equipment and the storage medium, when the list subdirectory viewing instruction is detected, the target attribute identification of the corresponding target list subdirectory is firstly identified, then the query matching is carried out in the preset database according to the obtained target attribute identification, the target attribute file corresponding to the target attribute identification is obtained, and finally the obtained target attribute file is displayed. When a user needs to check the attribute files of the list subdirectories in the engineering quantity list in the using process of the engineering quantity list, the attribute files can be automatically inquired by triggering the corresponding file checking instruction, and the inquired files are displayed. The attribute files related to the project can be checked conveniently and quickly.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The file viewing method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein theterminal 102 communicates with theserver 104 via a network. When theterminal 102 detects the list sub-directory viewing instruction, the target attribute identifier of the target list sub-directory selected by the user is identified, then the query matching is performed in theserver 104 according to the target attribute identifier to obtain a target attribute file corresponding to the target list sub-directory, and finally theterminal 102 displays the obtained target attribute file on the display interface. Theterminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and theserver 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In an embodiment, as shown in fig. 2, a file viewing method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 202, when the directory subdirectory viewing instruction is detected, identifying the target attribute identification of the target directory subdirectory.
The list subdirectory is a general name of each item of information in the engineering quantity list. The attribute identifier is a description of the feature information of the list subdirectory, and the specific representation mode can be characters, and can also be a number and the like.
The engineering quantity list is a simple and intuitive way for describing the engineering, and all information required for completing the engineering, such as materials, cost, construction time and the like required for completing the engineering, is recorded in the engineering quantity list. The inventory sub-items are descriptions of each item of information, including materials, expenses, and construction time required to complete the item, i.e. the engineering quantity inventory is composed of all inventory sub-items included in the engineering.
Specifically, when a terminal detects a list subdirectory viewing instruction, a target attribute identifier corresponding to a target list subdirectory which needs to be viewed currently is determined, wherein the list subdirectory viewing instruction is specifically an instruction for viewing attribute files associated with the list subdirectory, and in an actual viewing process, a user can directly view data information contained in each list subdirectory in a project amount list, but the attribute files associated with the list subdirectory are not directly displayed in the list subdirectory.
In practical applications, the project amount list usually only records simple data information for completing the project, such as materials and costs for completing a single project, but the project or a certain project in the project cannot be visually displayed, that is, the property files associated with the sub-categories of the list cannot be visually displayed, wherein the property files include files of construction standards, process flows, technical risks and the like corresponding to the project or project.
And step 204, performing query matching based on the target attribute identifier to obtain a target attribute file corresponding to the target list subdirectory.
After the list subdirectory viewing instruction is detected and the target attribute identification of the corresponding target list subdirectory is identified, the query matching is carried out according to the obtained target attribute identification to obtain the target attribute file corresponding to the target list subdirectory. Specifically, the association relationship between the directory subdirectory and the attribute file is pre-established, and specifically, the association relationship between the attribute file and the attribute identifier of the directory subdirectory is established, so that when the query is matched, the query is matched according to the attribute identifier of the queried directory subdirectory, and the attribute file matched with the attribute identifier is obtained.
In practical applications, many list sub-categories are recorded in the engineering quantity list, the data and associated attribute files corresponding to different list sub-categories are different, and there may be a plurality of attribute files contained in one list sub-category. For example, when building a wall, the material for building a wall may be bricks or cement, and for different materials, the corresponding attribute files such as construction standards, process flows, technical risks, and the like are different when building a wall, so that when the target attribute files are actually queried and matched, the target attribute identifier of the currently viewed target list sub-category needs to be accurately identified, and the target attribute file corresponding to the target list sub-category is accurately obtained.
Further, when the query of the target attribute file is matched, when the query is not matched with the corresponding target attribute file based on the target attribute identification, the prompt message of failed query matching of the attribute file is sent.
Specifically, the target property files are stored and associated in advance, and for the user who checks, the user does not necessarily need to store the files in association, so that it is not possible to accurately know whether the target list subdirectory currently checked has a corresponding target property file. When the target attribute file corresponding to the target attribute identification is not matched during query matching, sending out prompt information of attribute file query matching failure so as to inform a user that the attribute file corresponding to the viewed target list subdirectory does not exist.
In addition, besides determining whether the target attribute file corresponding to the target list subdirectory exists or not through direct query matching, the method can also be set in advance, corresponding icons or virtual marks are set on the display interface, for the list subdirectory in which the corresponding attribute file exists, the icons or the virtual marks in which the corresponding attribute file exists are displayed at the corresponding position of the list subdirectory, and then the user can query and match the attribute file by clicking the icons or the virtual marks, so that the attribute file is displayed for the user to check.
And step 206, displaying the target attribute file.
Specifically, after the terminal obtains the target attribute file through query matching, the obtained target attribute file is displayed, so that the user can view the target attribute file.
In general, when a user views a property file of a target list subdirectory, the user views the property file corresponding to the target list subdirectory when viewing a project amount list. Because the number of the files or the sizes of the files of the attribute files corresponding to the sub-categories of the list are uncertain, when the attribute files obtained by query are viewed, the attribute files can be viewed in a preset mode, for example, a small window is displayed on a display interface, list display is performed in the small window, a user can view different information by selecting different items, and the target attribute files related to the target sub-categories of the list can be directly displayed in corresponding attribute file display frames.
In the file viewing method, when a list sub-directory viewing instruction is detected, the target attribute identifier of the corresponding target list sub-directory is firstly identified, then the obtained target attribute identifier is inquired and matched in a preset database to obtain the target attribute file corresponding to the target attribute identifier, and finally the obtained target attribute file is displayed. When a user needs to check the attribute files of the list subdirectories in the engineering quantity list in the using process of the engineering quantity list, the attribute files can be automatically inquired by triggering the corresponding file checking instruction, and the inquired files are displayed. The attribute files related to the project can be checked conveniently and quickly.
In one embodiment, as shown in fig. 3, the method includes:
step 302, when the creation instruction of the list subdirectory is detected, the identification information of the list subdirectory to be created is identified.
And 304, receiving the uploaded attribute file to be associated, and associating the attribute file to be associated with the identification information.
When the terminal can check the target attribute file based on the detected instruction information, firstly, the association relationship between the list subdirectory and the attribute file needs to be established and stored. Specifically, when the terminal detects a list subdirectory creating instruction, identifying the identification information of the selected to-be-created list subdirectory, receiving the uploaded to-be-associated attribute file associated with the to-be-associated list subdirectory, associating the to-be-associated list subdirectory with the to-be-associated attribute file based on the identification information of the to-be-associated list subdirectory, and storing the association relationship between the to-be-associated list subdirectory and the to-be-associated attribute file.
Specifically, when a user creates a list sub-list in an engineering quantity list, the terminal identifies identification information of the list sub-list created by the user, wherein the identification information includes a first sub-list identification of the list sub-list to be created and a first list identification of a list to which the list sub-list to be created belongs, the first sub-list identification is description of sub-list characteristic information of the list sub-list to be created, the first list identification is description of the list characteristic information of the list to which the list sub-list to be created belongs, and the first sub-list identification and the first list identification can be characters, numbers and the like. In practical application, for a project, the number of the project quantity lists contained in the project quantity list is multiple, each project quantity list contains multiple list sub-categories, different project quantity lists may contain the same list sub-categories, but attribute files corresponding to the same list sub-categories contained in the project quantity lists may be different, so that when the list sub-categories are associated with corresponding attribute files, besides determining the association relationship between the list sub-categories and the attribute files, the correspondence relationship between the list sub-categories and the project quantity lists needs to be determined, so as to achieve accurate corresponding association of the attribute files.
Further, in an embodiment, receiving the uploaded to-be-associated property file, and associating the to-be-associated property file with the identification information includes: and receiving the uploaded attribute file to be associated, determining a first building attribute identifier of the attribute file to be associated, and establishing an association relation between the first building attribute identifier of the attribute file to be associated and the first sub-category identifier.
The building attribute mark is a description of the characteristic information of the attribute file, and can be a character, a number and the like, and the building marks corresponding to different attribute files are different.
Specifically, when the attribute file to be associated is associated with the to-be-created list sub-directory, first identifying and determining a first building attribute identifier of the attribute file to be associated, then establishing an association relationship between the first sub-directory identifier and the first building attribute identifier, and meanwhile, a certain association relationship exists between the first list identifier of the list to which the selected to-be-created list sub-directory belongs and the first sub-directory identifier of the to-be-created list sub-directory. That is, when associating the property file with the list subdirectory, it is necessary to establish an association relationship among the engineering quantity list, the list subdirectory and the property file, and determine the engineering quantity list to which the currently created list subdirectory belongs and associate the property file corresponding to the created list subdirectory. By establishing the corresponding relation among the three, when the user checks the attribute files of the list subdirectory, the associated attribute files can be accurately acquired for checking.
In one embodiment, as shown in fig. 4, performing query matching based on the target attribute identifier to obtain a target attribute file corresponding to a target list subdirectory, includes:
step 402, identifying a target list to which the target list subdirectory belongs and a second building attribute identifier contained in the target attribute identifier.
And step 404, based on the second list identifier and the second building attribute identifier corresponding to the target list, querying and matching in a file database to obtain a corresponding target attribute file.
When the target attribute files corresponding to the target list subdirectories are obtained through query matching, the terminal firstly determines the target list to which the target list subdirectories belong and identifies the second building attribute identifier contained in the target attribute identifier of the target list subdirectories, and then performs query matching in the file database according to the obtained second list identifier of the target list and the identified second building attribute identifier to obtain the target attribute files corresponding to the target list subdirectories. All the attribute files are stored in the file database, and an association relation list among the engineering quantity list, the list subdirectory and the attribute files is also stored, so that when the inquiry is matched, the matching is carried out according to the association relation list to obtain the corresponding target attribute file.
In practical application, when querying a target attribute file of a target list subdirectory, firstly, the identification information of the target list subdirectory needs to be accurately determined, including the target list to which the target list subdirectory belongs and a second building attribute identifier included in the target attribute identifier of the target list subdirectory. When the engineering quantity list is created, the second building attribute identifier of the attribute file is associated with the associated list sub-directory, and there may be a plurality of building attribute identifiers associated with the same list sub-directory, so that when the query is matched, the building attribute identifier of the attribute file which needs to be checked currently needs to be determined. The building attribute identifier may be determined according to a selection instruction when the user performs an operation, or may be determined when the user triggers a list sub-directory viewing instruction, that is, the building attribute identifier is included in the target attribute identifier.
Further, in an embodiment, based on the second list identifier and the second building attribute identifier corresponding to the target list, querying and matching in the file database to obtain a corresponding target attribute file, includes:
and c, acquiring a first file list associated with the target list from the file database based on the second list identification.
And d, inquiring and matching in the first file list based on the second sub-directory identifier contained in the target attribute identifier to obtain a second file list associated with the target directory sub-directory.
And e, inquiring and matching in the second file list based on the second building attribute identification to obtain a target attribute file corresponding to the second building attribute identification.
Wherein the file list is a collection of partial attribute files, and the file list is formed based on a file database. The attribute files contained in the file database are more than the attribute files contained in the first file list, and the attribute files contained in the first file list are more than the attribute files contained in the second file list. The second sub-directory identifier is a description of the sub-directory feature information of the target list sub-directory, and the second sub-directory identifier may be a word or a number.
And after the target list to which the target list subdirectory belongs and the second building attribute identifier contained in the identification target attribute identifier are obtained, checking the target attribute file according to the obtained information. Specifically, a first file list associated with a target list is acquired from a file database according to a second list identifier of the target list, wherein all attribute files associated with the target list are stored in the first file list, then query matching is performed in the first file list according to a second sub-category identifier contained in the target attribute identifier of the sub-category of the target list, so as to obtain a second file list associated with the sub-category of the target list, wherein all attribute files associated with the sub-category of the target list are stored in the second file list, and finally query matching is performed in the second file list according to the obtained second building attribute identifier, so as to obtain a final corresponding target attribute file.
When the file database is created, the incidence relation among the engineering quantity list, the list subdirectory and the attribute files is established, so that the target attribute files corresponding to the target list subdirectory can be quickly and accurately found when the attribute files are checked and matched. Therefore, when the attribute file is checked, the range for inquiring and matching the attribute file is gradually reduced according to the related information of the target list subdirectory so as to accurately obtain the target attribute file corresponding to the target list subdirectory.
In practical application, when a target attribute file is queried, firstly, according to a project quantity list to which a target list sub-system belongs, an attribute file list associated with the project quantity list is obtained in a file database, then, an attribute file list associated with the target list sub-system is obtained in the attribute file list associated with the project quantity list, and finally, a corresponding target attribute file is obtained from the attribute file list associated with the target list sub-system according to a second building attribute identifier to be checked.
In one embodiment, as shown in fig. 5, the method further comprises:
step 502, when detecting the property file modification instruction, obtaining a user identifier based on the property file modification instruction, and determining whether a target user corresponding to the user identifier has a file modification authority.
And 504, when the target user is determined to have the file modification right, identifying a second attribute identifier of the selected list to be modified, and performing query matching based on the second attribute identifier to obtain the attribute file to be modified corresponding to the list to be modified.
Step 506, controlling the attribute file to be modified to be in an editable state, and receiving the input modification information.
The attribute file modification instruction refers to an instruction for modifying the associated attribute file in the engineering quantity list.
Specifically, when a terminal detects an attribute file modification instruction, a user identifier for identifying a target user triggering attribute modification of a file is acquired first, then whether the acquired user identifier has a file modification right or not is judged, when the target user is determined to have the file modification right based on the user identifier, a second attribute identifier of a selected list to be modified is identified, so that an attribute file corresponding to a list to be modified is read to serve as the attribute file to be modified, the attribute file to be modified is controlled to be in an editable state, and input modification information is received to modify the attribute file to be modified.
In practical application, a user can view the property files of the list subdirectory, can create the corresponding relationship between the list subdirectory and the engineering quantity list and the property files, and for the pre-stored list subdirectory and property files, the user can modify the property files therein, such as modifying some data of the property files and replacing part or the whole of the property files.
Since the attribute file associated with the engineering quantity list needs to ensure the reliability and accuracy of the attribute file, not all people can modify the data information in the attribute file. When a user needs to modify, it is first determined whether the user has file modification authority, and only if the user has the file modification authority, the property file can be modified. In this embodiment, when determining the authority, matching may be performed in an account information list having the authority according to account information of a user for login, and when the account information of the user exists in the account information list, it is indicated that the authority to modify the file is granted, otherwise, there is no authority.
The modification stage of the property file is arbitrary, the property file can be modified when the property file associated with the manifest subdirectory is not checked, or the property file can be modified after the property file is displayed. The terminal can modify the attribute file as long as receiving the attribute file modification instruction, and the modification of the attribute file is completed according to the modification information input by the user.
When the property file is modified directly, besides judging whether the user modifying the property file has the file modification permission, the property file related to the list subdirectory selected by the user is also required to be obtained, so that the property file is controlled to be in an editable state, and modification information input by the user is received to complete modification of the property file. When the property file needs to be modified after the property file is viewed and displayed, and when the user is determined to have the file modification right, the displayed property file is directly controlled to be in an editable state, and then modification information input by the user is received to complete modification of the property file.
It should be understood that although the various steps in the flow charts of fig. 2-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in FIG. 6, there is provided a file viewing apparatus 600 comprising: adetection module 602, aquery module 604, and apresentation module 606, wherein:
adetection module 602, configured to identify a target attribute identifier of a target directory subdirectory when a directory subdirectory viewing instruction is detected;
thequery module 604 is configured to perform query matching based on the target attribute identifier to obtain a target attribute file corresponding to the target list subdirectory;
and thedisplay module 606 is used for displaying the target attribute file.
In one embodiment, a file viewing apparatus is provided that further comprises a receiving association module. The detection module is further used for identifying the identification information of the to-be-created list subdirectory when a list subdirectory creation instruction is detected, and the receiving association module is used for receiving the uploaded to-be-associated attribute file and associating the to-be-associated attribute file with the identification information.
In one embodiment, the receiving module associating module is further configured to receive the uploaded to-be-associated property file, determine a first building property identifier of the to-be-associated property file, and establish an association relationship between the first building property identifier of the to-be-associated property file and the first sub-category identifier.
In one embodiment, a query module is provided that further includes an identification module and a matching module. The identification module is used for identifying a target list to which the target list subdirectory belongs and a second building attribute identifier contained in the target attribute identifier, and the matching module is used for inquiring and matching in the file database to obtain a corresponding target attribute file based on the second list identifier and the second building attribute identifier corresponding to the target list.
In one embodiment, a matching module is provided that further comprises a first matching module, a second matching module, and a third matching module. The first matching module is used for acquiring a first file list associated with a target list from a file database based on a second list identifier, the second matching module is used for performing query matching in the first file list based on a second sub-category identifier contained in the target attribute identifier to obtain a second file list associated with the target list sub-category, and the third matching module is used for performing query matching in the second file list based on the second building attribute identifier to obtain a target attribute file corresponding to the second building attribute identifier.
In one embodiment, a file viewing apparatus is provided that further comprises a modification module. The detection module is further used for obtaining a user identifier based on the attribute file modification instruction when the attribute file modification instruction is detected, and determining whether a target user corresponding to the user identifier has a file modification right, the search module is further used for identifying a second attribute identifier of the selected list to be modified when the target user is determined to have the file modification right, and performing query matching based on the second attribute identifier to obtain an attribute file to be modified corresponding to the list to be modified subdirectory, and the modification module is used for controlling the attribute file to be modified to be in an editable state and receiving input modification information.
In one embodiment, a file viewing device is provided that further comprises a prompt module. The prompt module is used for sending prompt information of attribute file query matching failure when the target attribute identification query is not matched with the corresponding target attribute file.
For the specific definition of the file viewing device, reference may be made to the above definition of the file viewing method, which is not described herein again. The modules in the file viewing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a file viewing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
when a list subdirectory viewing instruction is detected, identifying a target attribute identifier of a target list subdirectory;
performing query matching based on the target attribute identifier to obtain a target attribute file corresponding to the target list subdirectory;
and displaying the target attribute file.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when a list subdirectory creating instruction is detected, identifying the identification information of the list subdirectory to be created;
and receiving the uploaded attribute file to be associated, and associating the attribute file to be associated with the identification information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and receiving the uploaded attribute file to be associated, determining a first building attribute identifier of the attribute file to be associated, and establishing an association relation between the first building attribute identifier of the attribute file to be associated and the first sub-category identifier.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
identifying a target list to which the target list subdirectory belongs and a second building attribute identifier contained in the target attribute identifier;
and inquiring and matching in a file database to obtain a corresponding target attribute file based on a second list identifier corresponding to the target list and a second building attribute identifier.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
obtaining a first file list associated with the target list from a file database based on the second list identification;
performing query matching in the first file list based on a second sub-directory identifier contained in the target attribute identifier to obtain a second file list associated with the target directory sub-directory;
and inquiring and matching in the second file list based on the second building attribute identification to obtain a target attribute file corresponding to the second building attribute identification.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
when an attribute file modification instruction is detected, obtaining a user identifier based on the attribute file modification instruction, and determining whether a target user corresponding to the user identifier has a file modification authority;
when the target user is determined to have the file modification right, identifying a second attribute identifier of the selected list to be modified, and performing query matching based on the second attribute identifier to obtain an attribute file to be modified corresponding to the list to be modified;
and controlling the attribute file to be modified to be in an editable state, and receiving the input modification information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and when the target attribute identification is not matched with the corresponding target attribute file, sending out prompt information of attribute file query matching failure.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
when a list subdirectory viewing instruction is detected, identifying a target attribute identifier of a target list subdirectory;
performing query matching based on the target attribute identifier to obtain a target attribute file corresponding to the target list subdirectory;
and displaying the target attribute file.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when a list subdirectory creating instruction is detected, identifying the identification information of the list subdirectory to be created;
and receiving the uploaded attribute file to be associated, and associating the attribute file to be associated with the identification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving the uploaded attribute file to be associated, determining a first building attribute identifier of the attribute file to be associated, and establishing an association relation between the first building attribute identifier of the attribute file to be associated and a first sub-category identifier;
and establishing an incidence relation between the first identification attribute and the first list identification.
In one embodiment, the computer program when executed by the processor further performs the steps of:
identifying a target list to which the target list subdirectory belongs and a second building attribute identifier contained in the target attribute identifier;
and inquiring and matching in a file database to obtain a corresponding target attribute file based on a second list identifier corresponding to the target list and a second building attribute identifier.
In one embodiment, the computer program when executed by the processor further performs the steps of:
obtaining a first file list associated with the target list from a file database based on the second list identification;
performing query matching in the first file list based on a second sub-directory identifier contained in the target attribute identifier to obtain a second file list associated with the target directory sub-directory;
and inquiring and matching in the second file list based on the second building attribute identification to obtain a target attribute file corresponding to the second building attribute identification.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when an attribute file modification instruction is detected, obtaining a user identifier based on the attribute file modification instruction, and determining whether a target user corresponding to the user identifier has a file modification authority;
when the target user is determined to have the file modification right, identifying a second attribute identifier of the selected list to be modified, and performing query matching based on the second attribute identifier to obtain an attribute file to be modified corresponding to the list to be modified;
and controlling the attribute file to be modified to be in an editable state, and receiving the input modification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the target attribute identification is not matched with the corresponding target attribute file, sending out prompt information of attribute file query matching failure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.