CN-122019480-A - File distribution method, apparatus, device, readable storage medium, and program product
Abstract
The present application relates to a file distribution method, apparatus, device, readable storage medium, and program product. The method comprises the steps of analyzing codes of a file transfer list and at least one file to be distributed, obtaining analysis results, determining distribution information matched with project codes, machine set numbers, sub-activities, author codes, main activity items, file types and title keyword information when the project codes do not contain collaborative service identification information and the issuing codes contain design product file identification information, determining distribution information matched with the project codes and the author codes when the project codes do not contain collaborative service identification information and the issuing codes do not contain design product file identification information, and performing file distribution on at least one file to be distributed according to the distribution information. The file distribution efficiency and accuracy can be improved.
Inventors
- LIU YUHUI
- XUE ZHICHENG
- ZHANG YANBIN
- ZHANG ZHENLONG
- HOU BIN
- LIU HEMIN
- WU WEI
Assignees
- 中广核工程有限公司
- 深圳中广核工程设计有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260120
Claims (10)
- 1. A method of file distribution, the method comprising: Under the condition that a file transfer list and at least one file to be distributed are received, analyzing the code of the file transfer list, the code of each file to be distributed and the file title information to obtain an analysis result, wherein the analysis result comprises item codes, sender codes, machine group numbers, sub-item activities, author codes, main activity items, file types and title keyword information; Under the condition that the project code does not contain collaborative service identification information and the sender code contains design finished file identification information, determining distribution information matched with the project code, the unit number, the sub-project activity, the author code, the main activity item, the file type and the title keyword information in a company document management information system according to a design finished file distribution rule; under the condition that the project codes do not contain collaborative service identification information and the sender codes do not contain design product file identification information, determining distribution information matched with the project codes and the author codes in a document basic information management platform according to a provider file distribution rule; And according to the respective distribution information of the at least one file to be distributed, distributing the at least one file to be distributed.
- 2. The method according to claim 1, wherein the determining distribution information matching the item code, the group number, the item campaign, the author code, the main campaign item and the file category, and the title keyword information in a company document management information system according to a design product file distribution rule, comprises: analyzing and designing a distribution rule of the finished file to obtain a distribution rule which can be identified by a rule engine, wherein the distribution rule indicates an extraction path of distribution information; And determining distribution information matched with the project code, the unit number, the sub-item activity, the author code, the main activity item, the file type and the title keyword information in a company document management information system according to the extraction path.
- 3. The method according to claim 2, wherein there are a plurality of distribution information that matches the item code, the group number, the sub-item activity, the author code, the main activity item, and the file category, and the title keyword information determined in a company document management information system according to the extraction path, the method further comprising: Determining a rule coding sequence corresponding to each of the plurality of distribution information; and determining target distribution information according to the rule coding sequence.
- 4. The method of claim 1, wherein there are a plurality of distribution information matching the item code and the author code determined in a document base information management platform according to a provider file distribution rule, the method further comprising: Determining a rule coding sequence corresponding to each of the plurality of distribution information; and determining target distribution information according to the rule coding sequence.
- 5. The method according to claim 1, wherein the distribution information includes a distribution group code, and the performing file distribution on the at least one file to be distributed according to the respective distribution information of the at least one file to be distributed includes: acquiring a preset two-dimensional table, wherein the preset two-dimensional table stores the corresponding relation between the distribution group code number and the distribution group; inquiring the preset two-dimensional table according to the respective distribution group code of at least one file to be distributed to obtain the respective distribution group of at least one file to be distributed; And respectively distributing at least one file to be distributed to the corresponding distribution group.
- 6. The method according to claim 1, wherein the method further comprises: And under the condition that the project codes contain the collaborative class service identification information, determining distribution information matched with the project codes in a document basic information management platform according to a collaborative class service file distribution rule.
- 7. A document dispensing apparatus, the apparatus comprising: the analysis module is used for analyzing the codes of the file transfer list, the codes of each file to be distributed and the file title information under the condition that the file transfer list and at least one file to be distributed are received, so as to obtain an analysis result, wherein the analysis result comprises item codes, sender codes, machine group numbers, item division activities, author codes, main activity items, file types and title keyword information; The first determining module is configured to determine distribution information matched with the project code, the unit number, the sub-item activity, the author code, the main activity item, the file type and the title keyword information in a company document management information system according to a design product file distribution rule when the project code does not include collaborative class service identification information and the sender code includes design product file identification information; The second determining module is used for determining distribution information matched with the project code and the author code in a document basic information management platform according to a provider file distribution rule under the condition that the project code does not contain collaborative class service identification information and the sender code does not contain design finished product file identification information; and the distribution module is used for distributing the at least one file to be distributed according to the respective distribution information of the at least one file to be distributed.
- 8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
- 9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
- 10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
Description
File distribution method, apparatus, device, readable storage medium, and program product Technical Field The present application relates to the field of data processing technology, and in particular, to a file distribution method, apparatus, device, readable storage medium, and program product. Background In nuclear power project construction, file distribution is used as an important component of nuclear power project file management and is important to ensure smooth project development. According to statistics, 2 units of a nuclear power project generate 130 tens of thousands of engineering technical files, and the sources relate to a plurality of participants such as a design investigation unit, a device supply unit, a site construction unit and the like. As a general package unit, it is necessary to ensure timely and accurate distribution of each engineering document to the hands of the required personnel. Traditional nuclear power project engineering file distribution mainly relies on document management personnel to perform distribution according to standard distribution rules, namely, distribution operation is performed according to file coding and combined with file content (title). However, the distribution by the document manager according to the standard distribution rule has a problem in that (1) the distribution accuracy is poor. The engineering technology files are different in sources and various in types, the responsibilities of each project organization are different in division, the number and the range of on-site construction contracts are different, the standard distribution rules cannot cover all files, and real standard distribution is difficult to realize. In actual business, file distribution depends largely on experiences accumulated by individuals of document personnel for a long time, and different distribution personnel, even the same person processes the same type of files at different times, may have deviation of distribution results. (2) distribution flow aging and inefficiency. The file is received by taking the transfer list as a unit, a document manager needs to open the file one by one, and the distribution information is filled in manually to finish 'one-time' distribution. The documents then pass through the department or division level, professional team/group level in turn to finally flow to the engineer. The whole process is complicated, the repeated operation is more, the distribution nodes are more, and the timeliness of file circulation is poor. (3) it is difficult to create an effective positive feedback mechanism. Manual distribution is independent of subjective judgment and experience, and distribution experience exists in a form of individual memory or scattered notes, so that precious distribution experience is difficult to inherit once core personnel flow. (4) It is difficult to accommodate large-scale high-concurrency task processing requirements. In addition, some nuclear power project engineering technology files are distributed through hard coding rules, so that automatic distribution of part of engineering technology files is achieved. However, if the business rules (such as organization change, job change, etc.) change, the codes need to be modified and redeployed, the flexibility is poor, the maintenance cost is high, even if the business rules do not change, only the distribution task of a small part of high-version files can be solved, and most files still need to be manually distributed. Therefore, there is a need for a file distribution method that can improve the efficiency and accuracy of file distribution. Disclosure of Invention In view of the foregoing, it is desirable to provide a file distribution method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve file distribution efficiency and accuracy. In a first aspect, the present application provides a file distribution method, including: Under the condition that a file transfer list and at least one file to be distributed are received, analyzing the code of the file transfer list, the code of each file to be distributed and the file title information to obtain an analysis result, wherein the analysis result comprises item codes, sender codes, machine group numbers, sub-item activities, author codes, main activity items, file types and title keyword information; Under the condition that the project code does not contain collaborative service identification information and the sender code contains design product file identification information, determining distribution information matched with the project code, the machine set number, the sub-project activity, the author code, the main activity item, the file type and the title keyword information in a company document management information system (AED for short) according to the design product file distribution rule; under the condition that the project codes do not contain collaborati