Movatterモバイル変換


[0]ホーム

URL:


CN109471840B - File viewing method and device, computer equipment and storage medium - Google Patents

File viewing method and device, computer equipment and storage medium
Download PDF

Info

Publication number
CN109471840B
CN109471840BCN201811196517.7ACN201811196517ACN109471840BCN 109471840 BCN109471840 BCN 109471840BCN 201811196517 ACN201811196517 ACN 201811196517ACN 109471840 BCN109471840 BCN 109471840B
Authority
CN
China
Prior art keywords
list
target
file
attribute
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201811196517.7A
Other languages
Chinese (zh)
Other versions
CN109471840A (en
Inventor
刘石磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Haishubao Technology Co ltd
Original Assignee
Beijing Haishubao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Haishubao Technology Co ltdfiledCriticalBeijing Haishubao Technology Co ltd
Priority to CN201811196517.7ApriorityCriticalpatent/CN109471840B/en
Publication of CN109471840ApublicationCriticalpatent/CN109471840A/en
Application grantedgrantedCritical
Publication of CN109471840BpublicationCriticalpatent/CN109471840B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

本申请涉及一种文件查看方法、装置、计算机设备和存储介质。所述方法包括:当检测到清单子目查看指令时,识别目标清单子目的目标属性标识;基于所述目标属性标识进行查询匹配,得到与所述目标清单子目相对应的目标属性文件;将所述目标属性文件进行展示。采用本方法能够方便快速对相关属性文件进行查看。同时,对属性文件的可以及时进行修改保证了属性文件的及时性。

Figure 201811196517

The present application relates to a file viewing method, apparatus, computer equipment and storage medium. The method includes: when a list subitem viewing instruction is detected, identifying a target attribute identifier of a target list subitem; performing query matching based on the target attribute identifier to obtain a target attribute file corresponding to the target list subitem; The target properties file is displayed. By adopting the method, the related property files can be viewed conveniently and quickly. At the same time, the property file can be modified in time to ensure the timeliness of the property file.

Figure 201811196517

Description

File viewing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of building engineering data processing technologies, and in particular, to a file viewing method, an apparatus, a computer device, and a computer-readable storage medium.
Background
In the technical field of construction engineering, a project amount list is a collection of all work contents of a project, but data information required to be counted is huge for a project, and a large amount of file information is often required for better describing the project.
However, in the conventional processing method, the engineering quantity list and the related file information are separately recorded, and then when a file associated with a certain list sub-directory in the engineering quantity list needs to be checked, the file needs to be searched in the whole file database or the list, so that when a user needs to check the related file, a large amount of searching work needs to be performed, and the file checking is not convenient and fast enough.
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.
Drawings
FIG. 1 is a diagram of an application environment of a file viewing method in one embodiment;
FIG. 2 is a flowchart illustrating a file viewing method according to an embodiment;
FIG. 3 is a flowchart showing a file viewing method in another embodiment;
FIG. 4 is a flowchart illustrating the steps of obtaining a target property file in one embodiment;
FIG. 5 is a flowchart showing a file viewing method in still another embodiment;
FIG. 6 is a block diagram showing the configuration of a file viewing apparatus in one embodiment;
FIG. 7 is a diagram illustrating an internal structure of a computer device according to an embodiment.
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.

Claims (10)

Translated fromChinese
1.一种文件查看方法,所述方法包括:1. A file viewing method, the method comprising:当检测到清单子目查看指令时,识别目标清单子目的目标属性标识;所述目标属性标识中包含建筑属性标识;所述目标属性标识是清单子目的特征信息的描述;所述建筑属性标识是对属性文件的特征信息的描述;When the check list subitem viewing instruction is detected, the target attribute identification of the target list subobject is identified; the target attribute identification includes a building attribute identification; the target attribute identification is a description of the feature information of the list subitem; the building attribute identification is A description of the characteristic information of the property file;识别所述目标清单子目所属的目标清单标识;所述目标清单标识是所述目标清单子目所属清单的清单特征信息的描述;Identifying the target list identifier to which the target list subitem belongs; the target list identifier is a description of the list feature information of the list to which the target list subitem belongs;基于预先建立的所述目标清单标识、所述目标属性标识以及所述建筑属性标识三者之间的关联关系,进行查询匹配,得到与所述目标清单子目相对应的目标属性文件;所述目标属性文件包括工程或者项目对应的施工标准文件、工艺流程文件以及技术风险文件;Based on the pre-established association relationship among the target list identifier, the target attribute identifier and the building attribute identifier, query and match are performed to obtain a target attribute file corresponding to the target list subitem; the The target attribute files include construction standard documents, technological process documents and technical risk documents corresponding to the project or project;将所述目标属性文件按照预先设定的方式进行展示。The target property file is displayed in a preset manner.2.根据权利要求1所述的方法,其特征在于,所述当检测到清单子目查看指令时,识别目标清单子目的目标属性标识,之前还包括:2. The method according to claim 1, wherein the identifying the target attribute identifier of the target list sub-item when the check-list sub-item instruction is detected, further comprising:当检测到清单子目创建指令时,识别待创建清单子目的标识信息;When the list subitem creation instruction is detected, identifying the identification information of the list subitem to be created;接收所上传的待关联属性文件,并将所述待关联属性文件与所述标识信息进行关联。The uploaded attribute file to be associated is received, and the attribute file to be associated is associated with the identification information.3.根据权利要求2所述的方法,其特征在于,所述待创建清单子目的标识信息包括所述待创建清单子目的第一子目标识以及所述待创建清单子目所属清单的第一清单标识;3 . The method according to claim 2 , wherein the identification information of the list subitem to be created includes a first subobject identification of the list subitem to be created and a first subitem of the list to which the list subitem to be created belongs. 4 . list identification;所述接收所上传的待关联属性文件,并将所述待关联属性文件与所述标识信息进行关联包括:The receiving the uploaded attribute file to be associated and associating the attribute file to be associated with the identification information includes:接收所上传的待关联属性文件,确定所述待关联属性文件的第一建筑属性标识,并建立所述待关联属性文件的第一建筑属性标识与所述第一子目标识的关联关系。Receive the uploaded property file to be associated, determine the first building property identifier of the property file to be associated, and establish an association relationship between the first building property identifier of the property file to be associated and the first sub-object identifier.4.根据权利要求3所述的方法,其特征在于,所述基于预先建立的所述目标清单标识、所述目标属性标识以及所述建筑属性标识三者之间的关联关系,进行查询匹配,得到与所述目标清单子目相对应的目标属性文件包括:4. The method according to claim 3, wherein the query matching is performed based on the pre-established association relationship among the target list identification, the target attribute identification and the building attribute identification, Obtaining the target attribute file corresponding to the target list subitem includes:识别所述目标清单子目所属的目标清单以及所述目标属性标识中所包含的第二建筑属性标识;Identifying the target list to which the target list subitem belongs and the second building attribute identification included in the target attribute identification;基于所述目标清单对应的第二清单标识以及所述第二建筑属性标识,在文件数据库中查询匹配得到对应的目标属性文件。Based on the second list identifier corresponding to the target list and the second building attribute identifier, query and match in the file database to obtain the corresponding target attribute file.5.根据权利要求4所述的方法,其特征在于,所述基于所述目标清单对应的第二清单标识以及所述第二建筑属性标识,在文件数据库中查询匹配得到对应的目标属性文件包括:5 . The method according to claim 4 , wherein, based on the second list identifier corresponding to the target list and the second building attribute identifier, querying and matching in the file database to obtain the corresponding target attribute file comprises: 6 . :基于所述第二清单标识从文件数据库中获取与所述目标清单相关联的第一文件列表;obtaining a first file list associated with the target manifest from a file database based on the second manifest identification;基于所述目标属性标识中所包含的第二子目标识在所述第一文件列表中进行查询匹配,得到与所述目标清单子目相关联的第二文件列表;Querying and matching is performed in the first file list based on the second sub-object identification included in the target attribute identification, to obtain a second file list associated with the sub-item of the target list;基于所述第二建筑属性标识在所述第二文件列表中进行查询匹配,得到与所述第二建筑属性标识相对应的目标属性文件。Query matching is performed in the second file list based on the second building attribute identification, and a target attribute file corresponding to the second building attribute identification is obtained.6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method of claim 1, wherein the method further comprises:当检测到属性文件修改指令时,基于所述属性文件修改指令得到用户标识,并确定所述用户标识对应的目标用户是否具有文件修改权限;When an attribute file modification instruction is detected, a user ID is obtained based on the attribute file modification instruction, and it is determined whether the target user corresponding to the user ID has file modification authority;当确定所述目标用户具有文件修改权限时,识别所选择的待修改清单子目的第二属性标识,并基于所述第二属性标识进行查询匹配得到与所述待修改清单子目对应的待修改属性文件;When it is determined that the target user has the file modification authority, the second attribute identifier of the selected list subitem to be modified is identified, and a query matching is performed based on the second attribute identifier to obtain the to-be-modified corresponding to the list subitem to be modified. properties file;控制所述待修改属性文件处于可编辑状态,并接收所输入的修改信息。The to-be-modified property file is controlled to be in an editable state, and the input modification information is received.7.根据权利要求1至6任意一项所述的方法,其特征在于,所述方法还包括:7. The method according to any one of claims 1 to 6, wherein the method further comprises:当基于所述目标属性标识查询没有匹配到对应的目标属性文件时,发出属性文件查询匹配失败的提示信息。When the query based on the target attribute identifier does not match the corresponding target attribute file, a prompt message indicating that the attribute file query matching fails is sent.8.一种文件查看装置,其特征在于,所述装置包括:8. A file viewing device, wherein the device comprises:检测模块,用于当检测到清单子目查看指令时,识别目标清单子目的目标属性标识;所述目标属性标识中包含建筑属性标识;所述目标属性标识是清单子目的特征信息的描述;所述建筑属性标识是对属性文件的特征信息的描述;The detection module is used to identify the target attribute identification of the target list sub-item when the check list sub-item viewing instruction is detected; the target attribute identification includes a building attribute identification; the target attribute identification is a description of the feature information of the list sub-item; The building attribute identification is a description of the characteristic information of the attribute file;识别模块,用于识别所述目标清单子目所属的目标清单标识;所述目标清单标识是所述目标清单子目所属清单的清单特征信息的描述;an identification module for identifying the target list identifier to which the target list subitem belongs; the target list identifier is a description of the list feature information of the list to which the target list subitem belongs;查询模块,用于基于预先建立的所述目标清单标识、所述目标属性标识以及所述建筑属性标识三者之间的关联关系,进行查询匹配,得到与所述目标清单子目相对应的目标属性文件;所述目标属性文件包括工程或者项目对应的施工标准文件、工艺流程文件以及技术风险文件;A query module, configured to perform query matching based on the pre-established association relationship among the target list identifier, the target attribute identifier and the building attribute identifier to obtain the target corresponding to the target list subitem Attribute files; the target attribute files include construction standard documents, technological process documents and technical risk documents corresponding to the project or project;展示模块,用于将所述目标属性文件按照预先设定的方式进行展示。The display module is used to display the target property file in a preset manner.9.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述方法的步骤。9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when the processor executes the computer program .10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的方法的步骤。10. A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
CN201811196517.7A2018-10-152018-10-15File viewing method and device, computer equipment and storage mediumExpired - Fee RelatedCN109471840B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811196517.7ACN109471840B (en)2018-10-152018-10-15File viewing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811196517.7ACN109471840B (en)2018-10-152018-10-15File viewing method and device, computer equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN109471840A CN109471840A (en)2019-03-15
CN109471840Btrue CN109471840B (en)2021-10-26

Family

ID=65663748

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811196517.7AExpired - Fee RelatedCN109471840B (en)2018-10-152018-10-15File viewing method and device, computer equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN109471840B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113157996B (en)*2020-01-232022-09-16久瓴(上海)智能科技有限公司Document information processing method and device, computer equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106096997A (en)*2016-06-012016-11-09江苏国泰新点软件有限公司Inventory composing exes, system and device
CN107145574A (en)*2017-05-052017-09-08恒生电子股份有限公司database data processing method, device and storage medium and electronic equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102073632A (en)*2009-07-182011-05-25苏州鼎思科技有限公司Comprehensive construction management knowledge base data structure for construction engineering
US8612491B2 (en)*2011-10-252013-12-17The United States Of America, As Represented By The Secretary Of The NavySystem and method for storing a dataset of image tiles
CN103226608B (en)*2013-04-282016-04-27北京航空航天大学A kind of parallel file searching method based on directory level telescopic Bloom Filter bitmap table
CN103699694B (en)*2014-01-132017-08-29联想(北京)有限公司A kind of data processing method and device
US9626408B2 (en)*2014-06-092017-04-18International Business Machines CorporationAdapting a relational query to accommodate hierarchical data
CN106448683A (en)*2016-09-302017-02-22珠海市魅族科技有限公司Method and device for viewing recording in multimedia files
CN106548420A (en)*2016-10-242017-03-29深圳神马宝典信息技术有限公司Information of building project management system
CN106599040A (en)*2016-11-072017-04-26中国科学院软件研究所Layered indexing method and search method for cloud storage
CN107766396B (en)*2017-03-032020-03-27平安医疗健康管理股份有限公司Resource data management method and device
CN106919709A (en)*2017-03-102017-07-04深圳市科脉技术股份有限公司Associate the data capture method and system of form
CN107357825A (en)*2017-06-152017-11-17中工国际工程股份有限公司A kind of project document management system based on database

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106096997A (en)*2016-06-012016-11-09江苏国泰新点软件有限公司Inventory composing exes, system and device
CN107145574A (en)*2017-05-052017-09-08恒生电子股份有限公司database data processing method, device and storage medium and electronic equipment

Also Published As

Publication numberPublication date
CN109471840A (en)2019-03-15

Similar Documents

PublicationPublication DateTitle
US20190384801A1 (en)Application processing method, computer device, and storage medium
CN107730077A (en)Node tasks data display method, device, storage medium and computer equipment
CN112181569A (en) Page personalized display method, device, computer equipment and storage medium
CN109597979B (en)List table generation method and device, computer equipment and storage medium
CN111158998B (en)Buried point data display method and device
JP6222923B2 (en) File management program, file management apparatus, and file management method
CN110659092A (en)Webpage screenshot method and device, computer equipment and storage medium
CN112084403B (en)Data query method, device, computer equipment and storage medium
CN113296799B (en) Application installation method, device, electronic device and storage medium
CN109542962B (en)Data processing method, data processing device, computer equipment and storage medium
CN108921459B (en)Index generation method and device, computer equipment and storage medium
CN108399125B (en)Automatic testing method and device, computer equipment and storage medium
CN109359282A (en)Listings data introduction method, device, computer equipment and storage medium
CN112463783A (en)Index data monitoring method and device, computer equipment and storage medium
CN109471840B (en)File viewing method and device, computer equipment and storage medium
JP2014130546A (en)File management program, file management device and file management method
CN105354490A (en)Method and device for processing hijacked browser
CN111722881B (en)Resource expansion method, system and device of container cloud platform
CN111694627B (en) Desktop editing method and device
CN113129155A (en)Multi-type personnel information processing method, equipment and storage medium
CN116521488B (en)Metadata-based self-defined document tracing method, device, equipment and medium
CN109299300B (en)Method and device for generating inventory subdirectories, computer equipment and storage medium
WO2021036681A1 (en)Data verification method and apparatus, computer device and storage medium
CN105243134A (en)Method and equipment for processing hijacked browser
CN109871214B (en)Program code generation method, program code generation device, computer device, and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20211026


[8]ページ先頭

©2009-2025 Movatter.jp