Methods, devices, equipment, and media for property record management based on cloud archives.
By building an archive management interface in the cloud archive repository and using NLP models to automatically generate tags, the problem of ordinary managers having difficulty using index identifiers correctly has been solved, thereby improving the accuracy of archive access and the user experience.
Patent Information
- Application Number
- CN202510054626.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2045-01-14
AI Technical Summary
In traditional cloud archives, ordinary administrators often struggle to use index identifiers correctly, leading to difficulties in retrieving digital archives and a poor user experience.
By building an archive management interface, NLP models are used to automatically generate storage and retrieval tags, and user-input requirements are combined to ensure the accuracy and consistency of the tags.
It improves the accuracy of digital archive access and the user experience of cloud archives, and ensures the accuracy and security of labels.
Smart Images

Figure CN120085773B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of archives management technology, and in particular to a method, apparatus, equipment, and medium for property archives management based on a cloud archive database. Background Technology
[0002] Property management involves a large number of archives, and traditional paper archives can no longer meet the needs of management efficiency. With the development of cloud technology, cloud archives have gradually been adopted, enabling online storage of archives. To facilitate the indexing of archives, relevant index identifiers need to be added to digital archives, such as adding specific strings before the archive name or selecting several tags for the digital archive. However, the index identifiers supported by cloud archives are usually pre-defined by developers. For ordinary managers without professional knowledge, it is difficult to ensure the correct use of index identifiers during storage, resulting in inaccurate index tags on digital archives. This makes it difficult to quickly find the required digital archives during retrieval, leading to a poor user experience for cloud archives. Summary of the Invention
[0003] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a property archive management method, device, equipment, and medium based on a cloud archive database, which can automatically identify the storage tags of digital archives, improve the accuracy of digital archive access, and enhance the user experience of the cloud archive database.
[0004] In a first aspect, embodiments of the present invention provide a property archive management method based on a cloud archive database, applied to a property archive system, wherein the property archive system is communicatively connected to the cloud archive database, and the method includes:
[0005] A file management interface is constructed, through which a first digital file to be stored is imported. A preset tag set and a target input box are displayed on the file management interface, wherein the preset tag set includes multiple preset file tags.
[0006] A first tag set is constructed based on at least one first file tag selected from the preset tag set. First requirement information input in the target input box is obtained. The preset tag set and the first requirement information are input into a preset NLP model. The first requirement information is used to characterize file storage requirements.
[0007] The NLP model determines at least one second file tag from the preset tag set based on the first requirement information, and constructs a second tag set based on the second file tag;
[0008] At least one storage file tag is determined based on the intersection of the first tag set and the second tag set, the storage file tag is bound to the first digital file, and the first digital file is saved to the cloud archive.
[0009] According to some embodiments of the present invention, obtaining first requirement information input in the target input box, and inputting the preset tag set and the first requirement information into a preset NLP model, includes:
[0010] The target input box displays a first prompt message, a second prompt message, and a third prompt message, wherein the first prompt message is used to indicate the storage location, the second prompt message is used to indicate the first separator, and the third prompt message is used to describe the storage requirements;
[0011] When the first requirement information is obtained and the first separator is identified from the first requirement information, the first requirement information is divided into second requirement information and third requirement information based on the first separator.
[0012] Based on the second requirement information, the target storage database of the first digital archive is determined from the cloud archive library, and the preset tag set and the third requirement information are input into the preset NLP model.
[0013] According to some embodiments of the present invention, the cloud archive includes multiple available storage databases, each of which is associated with multiple preset database file tags, and each database file tag is associated with at least one tag permission. After determining the target storage database of the first digital file from the cloud archive based on the second requirement information, the method further includes:
[0014] The second requirement information is input into the NLP model to determine the target storage database from multiple available storage databases;
[0015] A first target permission is determined based on the currently logged-in first account. At least one third file tag is determined from the database file tags corresponding to the target storage database based on the first target permission. The tag permission associated with the third file tag includes the first target permission.
[0016] Based on each of the third file tags, the first tag set is traversed, and the first file tag that does not match any of the third file tags is determined as an abnormal file tag.
[0017] The abnormal file tag is identified in the file management interface, and the abnormal file tag is removed from the first tag set.
[0018] According to some embodiments of the present invention, the file management interface further includes a read button, and after saving the first digital file to the cloud archive, the method further includes:
[0019] In response to the read trigger signal generated by the read button, the preset tag set is displayed on the file management interface;
[0020] A third tag set is constructed based on at least one fourth file tag selected from the preset tag set. Fourth requirement information is obtained by inputting through the target input box. The fourth requirement information and the preset tag set are input into the NLP model. The fourth requirement information is used to indicate file reading requirements.
[0021] The NLP model determines at least one fifth file tag from the preset tag set based on the fourth requirement information, and constructs a fourth tag set based on the fifth file tag;
[0022] At least one file read tag is determined based on the intersection of the third tag set and the fourth tag set, and a second digital file is obtained from the cloud archive based on the file read tag.
[0023] According to some embodiments of the present invention, obtaining fourth requirement information input through the target input box, and inputting the fourth requirement information and the preset label set into the NLP model, includes:
[0024] The target input box displays a fourth, a fifth, and a sixth prompt message, wherein the fourth prompt message is used to indicate the reading location, the fifth prompt message is used to indicate the second separator, and the sixth prompt message is used to indicate the file reading requirement;
[0025] When the fourth requirement information is obtained, the fourth requirement information is divided into the fifth requirement information and the sixth requirement information based on the second separator.
[0026] Based on the fifth requirement information, the target storage database is determined from the cloud archive, and the preset tag set and the sixth requirement information are input into the preset NLP model.
[0027] According to some embodiments of the present invention, retrieving a second digital file from the cloud archive based on the read file tag includes:
[0028] The fifth requirement information is input into the NLP model to determine the target read database from multiple available storage databases;
[0029] Determine the second target permissions for the currently logged-in second account;
[0030] Based on the read file tag, at least one candidate file tag is determined from the database file tags of the target storage database, and the candidate file tag whose second target permission satisfies the tag permission is determined as the target file tag;
[0031] Based on the target file tags, at least one candidate digital file is determined from the target file database, and the candidate digital file is displayed on the file management interface, wherein the storage file tags carried by the candidate digital file include all the target file tags;
[0032] The selected candidate digital file is identified as the second digital file, and the second digital file is retrieved from the cloud archive.
[0033] According to some embodiments of the present invention, after retrieving a second digital file from the cloud archive based on the read file tag, the method further includes:
[0034] Determine the target operation permissions for the second digital file based on the second target permissions;
[0035] When file update information generated based on the second digital file is obtained, and the target operation permission includes editing permission, the second digital file is updated in the cloud archive based on the file update information.
[0036] Secondly, embodiments of the present invention provide a property file management device based on a cloud archive database, including at least one control processor and a memory for communicatively connecting with the at least one control processor; the memory stores instructions executable by the at least one control processor, the instructions being executed by the at least one control processor to enable the at least one control processor to perform the property file management method based on a cloud archive database as described in the first aspect above.
[0037] Thirdly, embodiments of the present invention provide an electronic device including a property archive management device based on a cloud archive database as described in the second aspect above.
[0038] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions for performing the property file management method based on a cloud archive as described in the first aspect above.
[0039] The property file management method based on a cloud archive according to embodiments of the present invention has at least the following beneficial effects: A file management interface is constructed; a first digital file to be stored is imported through the file management interface; a preset tag set and a target input box are displayed on the file management interface; wherein the preset tag set includes multiple preset file tags; a first tag set is constructed based on at least one first file tag selected from the preset tag set; first requirement information input in the target input box is obtained; the preset tag set and the first requirement information are input into a preset NLP model; wherein the first requirement information is used to characterize file storage requirements; at least one second file tag is determined from the preset tag set by the NLP model based on the first requirement information; a second tag set is constructed based on the second file tag; at least one storage file tag is determined based on the intersection of the first tag set and the second tag set; the storage file tag is bound to the first digital file; and the first digital file is saved to the cloud archive. According to the technical solution of the embodiments of the present invention, storage requirements can be input in text form on the file management interface; the second file tag of the first digital file can be predicted by the NLP model; and the first file tag selected by the user can be verified by the second file tag, ensuring the accuracy of the storage file tag of the first digital file and improving the user experience of the cloud database. Attached Figure Description
[0040] Figure 1 This is a schematic diagram of a property file system provided in one embodiment of the present invention;
[0041] Figure 2 This is a flowchart of a property file management method based on a cloud archive database provided in another embodiment of the present invention;
[0042] Figure 3 This is a complete flowchart of a property file management method based on a cloud archive database provided in another embodiment of the present invention;
[0043] Figure 4 This is a structural diagram of a property file management device based on a cloud archive database provided in another embodiment of the present invention. Detailed Implementation
[0044] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0045] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they cannot be understood as limitations on the present invention.
[0046] In the description of this invention, "several" means one or more, "more than" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. The use of "first" and "second" in the description is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.
[0047] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.
[0048] This invention provides a property file management method, apparatus, device, and medium based on a cloud archive. The method includes: constructing an archive management interface; importing a first digital file to be stored through the archive management interface; displaying a preset tag set and a target input box on the archive management interface, wherein the preset tag set includes multiple preset file tags; constructing a first tag set based on at least one first file tag selected from the preset tag set; obtaining first requirement information input in the target input box; inputting the preset tag set and the first requirement information into a preset NLP model, wherein the first requirement information characterizes file storage requirements; determining at least one second file tag from the preset tag set using the NLP model based on the first requirement information; constructing a second tag set based on the second file tag; determining at least one storage file tag based on the intersection of the first tag set and the second tag set; binding the storage file tag to the first digital file; and saving the first digital file to the cloud archive. According to the technical solution of the present invention, storage requirements can be entered in text form in the file management interface, and a second file tag of the first digital file can be predicted by an NLP model. The second file tag is used to verify the first file tag selected by the user, thereby ensuring the accuracy of the storage file tag of the first digital file and improving the user experience of the cloud database.
[0049] First, refer to Figure 1 , Figure 1This is a schematic diagram of a property archive system provided in an embodiment of the present invention. The property archive system 10 in this embodiment is communicatively connected to the cloud archive database 20.
[0050] It should be noted that the property file system 10 can be a software system deployed on a local server or a cloud server. Property management personnel can log in to the property file system 10 by entering their account and password on electronic devices such as mobile phones and computers. After loading digital files on the electronic devices, the property file system 10 can save the digital files to the cloud archive 20.
[0051] In addition, the cloud archive 20 includes multiple available storage databases, each of which is associated with a preset database file tag, and each database file tag is associated with at least one tag permission.
[0052] It should be noted that each available storage database in Cloud Archive 20 can be a department's database or a branch office's database. Different types of data can be stored in each available storage database. Data can be classified and stored through different available storage databases. The criteria for distinguishing available storage databases are not limited here.
[0053] For example Figure 1 As shown, the cloud archive 20 includes a first database 21, a second database 22, and a third database 23. The first database 21 is used to store digital files of internal employees, the second database 22 is used to store owner files, and the third database is used to store contract files with external companies.
[0054] The following is based on the appendix Figure 1 The property file system shown further illustrates the technical solution of this embodiment of the invention.
[0055] Reference Figure 2 , Figure 2 The flowchart illustrates a property file management method based on a cloud archive database, which includes, but is not limited to, the following steps:
[0056] S10, construct the file management interface, import the first digital file to be stored through the file management interface, and display the preset tag set and target input box in the file management interface. The preset tag set includes multiple preset file tags.
[0057] S20, construct a first tag set based on at least one first file tag selected from the preset tag set, obtain the first requirement information input in the target input box, and input the preset tag set and the first requirement information into the preset NLP model, wherein the first requirement information is used to characterize the file storage requirement;
[0058] S30, using an NLP model to determine at least one second file tag from a preset tag set based on the first requirement information, and constructing a second tag set based on the second file tag;
[0059] S40, determine at least one storage file tag based on the intersection of the first tag set and the second tag set, bind the storage file tag to the first digital file, and save the first digital file to the cloud archive.
[0060] It should be noted that the file management interface can be used to save and retrieve digital files. For example, setting an upload button triggers the file upload process in this embodiment, and setting a download button triggers the file retrieval process in subsequent embodiments. The file management interface in this embodiment includes a preset tag set and a target input box. The preset tag set includes multiple preset file tags. The target user can select any number of preset file tags as the first file tag from the preset tag set. Of course, preset file tags can also be added manually to the preset tag set, allowing the preset tag set to be dynamically updated during use. The target input box is used for text input. The target user describes the input requirements for the first digital file in the target input box, providing a foundation for the NLP model's recognition.
[0061] For example, such as Figure 1 As shown, the file management interface of the property file system 10 displays a preset tag set 12 and a target input box 11. The preset tag set 12 includes multiple preset file tags, such as... Figure 1 The labels “Personnel Files,” “Confidential Documents,” “Promotional Documents,” etc., can be customized according to actual needs.
[0062] It should be noted that the first tag set includes first file tags actively selected based on user intent. These first file tags are not necessarily correct tags. Therefore, this embodiment obtains first requirement information through a target input box. The target user can describe their input requirements for the first digital file in text form. The first requirement information and the preset tag set are used as input to the NLP model. The NLP model and the preset tag set serve as classification criteria, performing semantic recognition on the first requirement information to determine the second file tags, thus obtaining the second tag set. The second tag set is based on machine learning predictions, which, while highly accurate, may still contain errors if the target user's description is inappropriate. Therefore, this embodiment does not use the second tag set as a reference standard, but rather verifies the first tag set by taking the intersection of the second tag set and the first tag set. Preset file tags that appear simultaneously in both the first and second tag sets are identified as stored file tags, improving the reliability of the stored file tags.
[0063] It is worth noting that this embodiment does not input a manually selected first tag set into the NLP model for secondary verification. The NLP model does not consider the first tag set, but uses the first requirement information as the recognition text to independently perform tag recognition, thereby obtaining the second tag set. Since the first tag set and the second tag set are tag sets obtained from the preset tag set based on two different strategies, the intersection of the two can represent the real tags of the first digital archive, improving the accuracy of the archive storage tags.
[0064] For example Figure 1 As shown, the first digital file 14 takes an employee file as an example. Since the employee file records the employee's salary, the target user may think that a preset file tag such as "salary system" needs to be added. In the preset file set 12, "personnel file", "confidential document" and "salary system" are selected as the first file tag to construct the first tag set. However, "salary system" is a mistakenly selected first file tag. Based on this, after completing the selection of the first tag set, this embodiment inputs "save employee's onboarding file" as the first requirement information through the target input box 11. The NLP model 13 identifies the second tag set based on the preset file set 12 and the first requirement information, which includes "personnel file", "confidential document" and "process document". After taking the intersection of the first tag set and the second tag set, the file tags to be stored are determined to be "personnel file" and "confidential document". After associating them with the first digital file 14, they are saved to the cloud archive 20.
[0065] It should be noted that, given a pre-defined set of labels as classification tags, NLP models perform semantic recognition and classification based on the input text, a technique well-known to those skilled in the art. Therefore, the specific algorithms and model structures will not be elaborated upon here. Similarly, the process of saving the first digital file after determining the storage file labels is also a technique well-known to those skilled in the art, and will not be described in detail here.
[0066] It is worth noting that when the first tag set and the second tag set do not overlap, a prompt message can be displayed on the file management interface to prompt the target user to reconfirm the first tag set and the first requirement information. Of course, the target user can also be prompted whether to directly apply the second file tag as the storage file tag. The specific exception response strategy can be adjusted according to actual needs, ensuring that each first digital file includes at least one storage file tag.
[0067] Additionally, in one embodiment, reference is made to Figure 3 Step 20 specifically includes, but is not limited to, the following steps:
[0068] S21, display a first prompt message, a second prompt message and a third prompt message in the target input box, wherein the first prompt message is used to indicate the storage location, the second prompt message is used to indicate the first separator, and the third prompt message is used to describe the storage requirements;
[0069] S22, when the first requirement information is obtained and the first separator is identified from the first requirement information, the first requirement information is divided into second requirement information and third requirement information based on the first separator;
[0070] S23, based on the second requirement information, determine the target storage database of the first digital archive from the cloud archive library, and input the preset tag set and the third requirement information into the preset NLP model.
[0071] It should be noted that in this embodiment, the first prompt, the second prompt, and the third prompt are displayed in the target input box. The first prompt, the second prompt, and the third prompt can be displayed in segments as background text to provide prompts for the user's input content. The display stops when the target user starts to enter text in the target input box to avoid visual interference with the first required information and affecting the user experience.
[0072] It should be noted that the first prompt information in this embodiment is used to indicate the storage location, such as... Figure 1 As shown, the cloud archive 20 includes multiple available storage databases. Each available storage database is pre-set with database description information. For example, the database description information of the first database 21 is an internal database, the database description information of the second database 22 is an owner database, and the database description information of the third database 23 is an external data database. The target user can describe the target storage database in text form according to the needs of the first digital archive. The target storage database in this embodiment is identified based on NLP model recognition. Therefore, the description text is not required to be completely accurate, as long as it can be matched through recognition.
[0073] It should be noted that the second prompt information is used to prompt the first delimiter. In this embodiment, the first requirement information includes storage location and storage requirements. Therefore, when the NLP model performs recognition, it needs to ensure that the corresponding content is obtained from the first requirement information to reduce the introduction of irrelevant content and improve the accuracy of model recognition. In this embodiment, the first delimiter can be punctuation marks, page breaks, separators, spaces, or other characters that can characterize text segmentation. No further limitations are placed on the first delimiter here. For example… Figure 1 The second prompt message described as "separated by carriage return" allows us to identify the part before the carriage return as the second requirement message and the part after it as the third requirement message in the first requirement message.
[0074] It should be noted that the third requirement information is used to record storage requirements. Therefore, the third requirement information and the preset label set can be input into the NLP model to determine the second label set. This will not be repeated here.
[0075] Additionally, in one embodiment, reference is made to Figure 3 After step S23 is completed, the following steps may also be included, but are not limited to:
[0076] S24, Input the second requirement information into the NLP model to determine the target storage database from multiple available storage databases;
[0077] S25, determine the first target permission based on the currently logged-in first account, and determine at least one third file tag from the database file tags corresponding to the target storage database based on the first target permission, wherein the tag permission associated with the third file tag includes the first target permission;
[0078] S26, based on each third file tag, traverse the first tag set and determine the first file tag that does not match any third file tag as an abnormal file tag;
[0079] S27, Identify abnormal file tags in the file management interface and remove abnormal file tags from the first tag set.
[0080] It should be noted that the NLP model in this embodiment includes two inputs. First, the second requirement information is input into the NLP model to identify the target storage database. For example, the database description information is extracted from the second requirement information using the NLP model as described in the above embodiment. Then, the property file system matches the corresponding target storage database based on the database description information. For example, if the second requirement information is "a database for storing employee files", the first digital file is identified as an "internal" file based on "employee", thereby identifying the database description information as "internal database" and determining the first database 21 as the target storage database.
[0081] It should be noted that archives are high-security data, and each target user has a different permission level. Not every target user can access archives in all available storage databases of the cloud archive repository. Therefore, access permissions need to be pre-set for each available storage database. In this embodiment, multiple database archive tags are associated with each available storage database. These database archive tags represent the archive tags that the available storage database can support, and each database archive tag has tag permissions, allowing target users with specific permissions to perform read and write operations on the corresponding tags in the available storage database. Based on this, after determining the first tag set, this embodiment needs to determine whether the target user can perform digital archive operations on the relevant archive tags in the target storage database based on the target user's first account and first target permissions.
[0082] For example, such as Figure 1 As shown, taking the first database 21 corresponding to the internal database as an example, the corresponding database file tags include "personnel files," "confidential documents," and "training materials." If the file storage tag carried by the first digital file includes a preset file tag other than the aforementioned database file tags, then the first digital file cannot be saved to the corresponding first database 21. For example, if the first digital file carries "salary system," since the database file tag of the first database 21 is not recorded, the first file cannot be archived to the first database 21. When the target user's first target permission is permission level 2, and the third file tag is "personnel files" and "confidential documents," which match the storage file tags, subsequent data entry can be completed. If the first target permission is permission level 1, taking permission level 1 as lower than permission level 2 as an example, since permission level 1 is not recorded in the tag permission corresponding to "confidential documents," the target user has no right to enter or read the relevant digital files corresponding to "confidential documents" in the first database 21. Through the technical solution of this embodiment, it can be ensured that after the target user adds the storage file tag, they have the corresponding tag operation permission in the corresponding target storage database, thereby improving the data security of the cloud archive.
[0083] It should be noted that after determining the third file tag, since the third file tag and the first file tag belong to the preset file tags in the preset tag set, they can be directly matched to determine whether the first file tag in the first tag set belongs to the third file tag. The first file tag that does not belong to the third file tag is identified as an abnormal file tag. The corresponding target user does not have the permission to operate on the abnormal file tag in the target storage database. The abnormal file tag is marked on the file management interface, prompting the user to perform subsequent correction operations.
[0084] Additionally, in one embodiment, reference is made to Figure 3 The file management interface also includes a read button. After step S40 is completed, the method also includes, but is not limited to, the following steps:
[0085] S51, in response to the read trigger signal generated by the read button, displays a preset set of tags in the file management interface;
[0086] S52, construct a third tag set based on at least one fourth file tag selected from the preset tag set, obtain the fourth requirement information input through the target input box, and input the fourth requirement information and the preset tag set into the NLP model, wherein the fourth requirement information is used to indicate the file reading requirement;
[0087] S53, determine at least one fifth file label from the preset label set based on the fourth requirement information using an NLP model, and construct the fourth label set based on the fifth file label;
[0088] S54, determine at least one read archive tag based on the intersection of the third tag set and the fourth tag set, and retrieve the second digital archive from the cloud archive library based on the read archive tag.
[0089] It should be noted that after the first digital file is entered according to the technical solution of the above embodiment, this embodiment further completes the file reading based on the preset tag set and the target input box in the file management interface. A read button can be displayed in the file management interface. When the target user clicks the read button, the file reading process is triggered and the preset tag set is displayed.
[0090] It should be noted that, similar to the process of entering files, the fourth file tag is a tag selected by the target user, which can represent the user's subjective intent. After constructing the third tag set based on the fourth file tag, the fourth requirement information describing the file reading needs is obtained through the target input box. After predicting the fifth file tag based on the fourth requirement information and the preset tag set using the NLP model, the constructed fourth tag set is used to verify the third tag set to ensure the accuracy of the file reading tags. The specific principle can be referred to the above description of the first requirement information, the first tag set and the second tag set, which will not be repeated here. The only difference is that the embodiment of steps S10 to S50 is based on tag-based file entry, while this embodiment is based on tag-based file reading.
[0091] In this embodiment, after obtaining the file tag, the file is retrieved from the cloud archive database using the file tag, thereby obtaining the second digital file required by the target user. The file retrieval based on the tag in the cloud archive database is a technique well known to those skilled in the art, and will not be described again here.
[0092] Additionally, in one embodiment, reference is made to Figure 3 Step S52 specifically includes, but is not limited to, the following steps:
[0093] S521, Display the fourth, fifth and sixth prompt messages in the target input box, wherein the fourth prompt message is used to indicate the reading location, the fifth prompt message is used to indicate the second separator, and the sixth prompt message is used to indicate the file reading requirement;
[0094] S522, when the fourth requirement information is obtained, the fourth requirement information is divided into the fifth requirement information and the sixth requirement information based on the second separator;
[0095] S523, based on the fifth requirement information, determines the target storage database from the cloud archive, and inputs the preset tag set and the sixth requirement information into the preset NLP model.
[0096] It should be noted that the fourth prompt information in this embodiment can refer to the first prompt information described above, and the fifth prompt information can refer to the second prompt information described above, and will not be repeated here.
[0097] It should be noted that the sixth prompt is similar to the third prompt mentioned above, except that the sixth prompt is used to describe the file retrieval requirement. For example, if the sixth prompt is "describe the file content", the target user can enter "employee's onboarding file" under the prompt of the sixth prompt, so that the NLP model can identify the file requirement as an employee file.
[0098] It should be noted that the fifth and sixth requirement information are segmented based on the fourth requirement information. The fifth requirement information can refer to the second requirement information in the above embodiment, and the sixth requirement information can refer to the third requirement information in the above embodiment. The specific principles will not be repeated here.
[0099] Additionally, in one embodiment, reference is made to Figure 3 Step S54 specifically includes, but is not limited to, the following steps:
[0100] S541, Input the fifth requirement information into the NLP model, and determine the target database from multiple available storage databases;
[0101] S542, determine the second target permissions of the currently logged-in second account;
[0102] S543, Based on reading the file tag, determine at least one candidate file tag from the database file tags of the target storage database, and determine the candidate file tag whose second target permission satisfies the tag permission as the target file tag;
[0103] S544, determine at least one candidate digital file from the target file database based on the target file tag, and display the candidate digital file in the file management interface, wherein the storage file tag carried by the candidate digital file includes all the target file tags;
[0104] S545, the selected candidate digital file is identified as the second digital file, and the second digital file is retrieved from the cloud archive.
[0105] It should be noted that the process of locating the target database based on the fifth requirement information can be referred to the description of step S24 above, and will not be repeated here.
[0106] It should be noted that, according to the description of the above embodiments, each available storage database includes multiple database file tags. Unlike file entry, since file search requires a long time to perform database search, this embodiment first determines candidate file tags in the target storage database based on reading file tags, and matches the second target permission according to the tag permission associated with the candidate file tags. If the conditions are met, it can be determined that the target user has the permission to obtain the file. If the user does not have the permission to obtain the file, there is no need to perform subsequent steps, thus saving unnecessary database search.
[0107] For example, such as Figure 1 As shown, when the read file tags are "training materials" and "process documents", and the target database is the third data 23, the candidate file tags determined based on the read file tags are "training materials" and "process documents". Taking the tag permissions corresponding to "training materials" as permission level 2 and permission level 3 as an example, and the tag permissions of "process documents" as permission level 1 and permission level 2 as an example, when the second target permission is permission level 2, both candidate file tags are confirmed as target file tags; when the second target permission is permission level 3, only "training materials" is a candidate file tag.
[0108] It should be noted that, after determining the target file tags, based on the embodiments of steps S10 to S50, each digital file has a stored file tag added during entry. Therefore, this embodiment retrieves stored file tags based on the target file tags, determines the matched digital files as candidate digital files, and displays the candidate digital files in the file management interface. When there are multiple target file tags, the candidate digital files need to include all the target file tags. Of course, the candidate digital files can also include file tags other than the target file tags.
[0109] It should be noted that after the candidate digital files are determined, they can be displayed in pages in the file management interface, or a search bar can be provided so that the target user can perform a secondary search. The final selected candidate digital files can be designated as the second column file, which can then be retrieved and downloaded from the cloud archive.
[0110] Additionally, in one embodiment, reference is made to Figure 3 After step S54 is completed, the method may include, but is not limited to, the following steps:
[0111] S55, determine the target operation permissions of the second digital file based on the second target permissions;
[0112] S56, when file update information generated based on the second digital file is obtained, and the target operation permission includes editing permission, the second digital file is updated in the cloud archive based on the file update information.
[0113] It should be noted that, according to the description of the above embodiments, when matching candidate digital files, the possibility of whether the second target permission has read permission is considered. However, reading and editing files belong to different permissions. For example, some managers can download and view employee files, but only the human resources department can edit employee files. Based on this, after obtaining the second digital file, this embodiment determines the target operation permission of the second digital file based on the second target permission. The target operation permission may include read-only, edit, database replacement, etc., and the specific target operation permission is not limited here.
[0114] It should be noted that after determining the target's operation permissions, if the file update information is obtained and the target operation permissions include editing permissions, then it can be determined that the target user can edit the second digital file and directly update the second digital file based on the file update information. For example, a copy of the second digital file can be generated locally on the target user's device. After editing is completed, the corresponding copy is uploaded to the target's read database, overwriting the existing second digital file in the target's read database, thus realizing file editing in the cloud archive.
[0115] like Figure 4 As shown, Figure 4 This is a structural diagram of a property file management device based on a cloud archive database, provided in one embodiment of the present invention. The present invention also provides a property file management device based on a cloud archive database, comprising:
[0116] The processor 401 can be implemented using a general-purpose central processing unit (CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.
[0117] The memory 402 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 402 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 402 and is called and executed by the processor 401 to implement the cloud-based property file management method of this application.
[0118] Input / output interface 403 is used to implement information input and output;
[0119] The communication interface 404 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0120] Bus 405 transmits information between various components of the device (e.g., processor 401, memory 402, input / output interface 403, and communication interface 404);
[0121] The processor 401, memory 402, input / output interface 403 and communication interface 404 are connected to each other within the device via bus 405.
[0122] This application also provides an electronic device, including the property file management device based on a cloud archive as described above.
[0123] This application embodiment also provides a storage medium, which is a computer-readable storage medium, storing a computer program that, when executed by a processor, implements the above-described property file management method based on a cloud archive.
[0124] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof. The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate, and may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0125] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0126] The above provides a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.
Claims
1. A property archive management method based on a cloud archive database, characterized in that, Applied to a property management archive system, wherein the property management archive system is communicatively connected to a cloud archive database, the method includes: A file management interface is constructed, through which a first digital file to be stored is imported. A preset tag set and a target input box are displayed on the file management interface, wherein the preset tag set includes multiple preset file tags. A first tag set is constructed based on at least one first file tag selected from the preset tag set. First requirement information input in the target input box is obtained. The preset tag set and the first requirement information are input into a preset NLP model. The first requirement information is used to characterize file storage requirements. The NLP model determines at least one second file tag from the preset tag set based on the first requirement information, and constructs a second tag set based on the second file tag; At least one storage file tag is determined based on the intersection of the first tag set and the second tag set, the storage file tag is bound to the first digital file, and the first digital file is saved to the cloud archive. Obtaining the first requirement information input in the target input box, and inputting the preset tag set and the first requirement information into a preset NLP model, including: The target input box displays a first prompt message, a second prompt message, and a third prompt message, wherein the first prompt message is used to indicate the storage location, the second prompt message is used to indicate the first separator, and the third prompt message is used to describe the storage requirements; When the first requirement information is obtained and the first separator is identified from the first requirement information, the first requirement information is divided into second requirement information and third requirement information based on the first separator. Based on the second requirement information, the target storage database of the first digital archive is determined from the cloud archive library, and the preset tag set and the third requirement information are input into the preset NLP model.
2. The property file management method based on a cloud archive database according to claim 1, characterized in that, The cloud archive includes multiple available storage databases, each of which is associated with multiple preset database file tags, and each database file tag is associated with at least one tag permission. After determining the target storage database for the first digital file from the cloud archive based on the second requirement information, the method further includes: The second requirement information is input into the NLP model, and the target storage database is determined from the multiple available storage databases. A first target permission is determined based on the currently logged-in first account. At least one third file tag is determined from the database file tags corresponding to the target storage database based on the first target permission. The tag permission associated with the third file tag includes the first target permission. Based on each of the third file tags, the first tag set is traversed, and the first file tag that does not match any of the third file tags is determined as an abnormal file tag. The abnormal file tag is identified in the file management interface, and the abnormal file tag is removed from the first tag set.
3. The property file management method based on a cloud archive database according to claim 2, characterized in that, The file management interface also includes a read button. After saving the first digital file to the cloud archive, the method further includes: In response to the read trigger signal generated by the read button, the preset tag set is displayed on the file management interface; A third tag set is constructed based on at least one fourth file tag selected from the preset tag set. Fourth requirement information is obtained by inputting through the target input box. The fourth requirement information and the preset tag set are input into the NLP model. The fourth requirement information is used to indicate file reading requirements. The NLP model determines at least one fifth file tag from the preset tag set based on the fourth requirement information, and constructs a fourth tag set based on the fifth file tag; At least one file read tag is determined based on the intersection of the third tag set and the fourth tag set, and a second digital file is obtained from the cloud archive based on the file read tag.
4. The property file management method based on a cloud archive database according to claim 3, characterized in that, Obtaining the fourth requirement information input through the target input box, and inputting the fourth requirement information and the preset label set into the NLP model, including: The target input box displays a fourth, a fifth, and a sixth prompt message, wherein the fourth prompt message is used to indicate the reading location, the fifth prompt message is used to indicate the second separator, and the sixth prompt message is used to indicate the file reading requirement; When the fourth requirement information is obtained, the fourth requirement information is divided into the fifth requirement information and the sixth requirement information based on the second separator. Based on the fifth requirement information, the target storage database is determined from the cloud archive, and the preset tag set and the sixth requirement information are input into the preset NLP model.
5. The property file management method based on a cloud archive database according to claim 4, characterized in that, Retrieving a second digital file from the cloud archive based on the read file tag includes: The fifth requirement information is input into the NLP model to determine the target storage database from multiple available storage databases; Determine the second target permissions for the currently logged-in second account; Based on the read file tag, at least one candidate file tag is determined from the database file tags of the target storage database, and the candidate file tag whose second target permission satisfies the tag permission is determined as the target file tag; Based on the target file tags, at least one candidate digital file is determined from the target storage database, and the candidate digital file is displayed on the file management interface, wherein the storage file tags carried by the candidate digital file include all the target file tags; The selected candidate digital file is identified as the second digital file, and the second digital file is retrieved from the cloud archive.
6. The property file management method based on a cloud archive database according to claim 5, characterized in that, After retrieving the second digital file from the cloud archive based on the read file tag, the method further includes: Determine the target operation permissions for the second digital file based on the second target permissions; When file update information generated based on the second digital file is obtained, and the target operation permission includes editing permission, the second digital file is updated in the cloud archive based on the file update information.
7. A property archive management device based on a cloud archive database, characterized in that, It includes at least one control processor and a memory for communicatively connecting to the at least one control processor; the memory stores instructions executable by the at least one control processor, which, when executed by the at least one control processor, enable the at least one control processor to perform the property file management method based on a cloud archive as described in any one of claims 1 to 6.
8. An electronic device, characterized in that, Includes the property file management device based on a cloud archive as described in claim 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the property file management method based on a cloud archive as described in any one of claims 1 to 6.
Citation Information
Patent Citations
RFID-based archive information resource management method
CN102004934A
Diagnosis result verification method and device and electronic equipment
CN111710412A
Text label determination method and device, terminal and readable storage medium
CN112131350A