CN110070114B - Multi-specification fusion processing method and device, computer equipment and storage medium - Google Patents
Multi-specification fusion processing method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110070114B CN110070114B CN201910267987.6A CN201910267987A CN110070114B CN 110070114 B CN110070114 B CN 110070114B CN 201910267987 A CN201910267987 A CN 201910267987A CN 110070114 B CN110070114 B CN 110070114B
- Authority
- CN
- China
- Prior art keywords
- requirement
- execution
- meta
- directory
- requirements
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000007499 fusion processing Methods 0.000 title claims abstract description 22
- 230000009471 action Effects 0.000 claims abstract description 75
- 230000004927 fusion Effects 0.000 claims abstract description 36
- 238000003672 processing method Methods 0.000 claims abstract description 22
- 230000004048 modification Effects 0.000 claims description 33
- 238000012986 modification Methods 0.000 claims description 33
- 238000012545 processing Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012217 deletion Methods 0.000 claims description 2
- 230000037430 deletion Effects 0.000 claims description 2
- 238000004458 analytical method Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a multi-specification fusion processing method and device, computer equipment and a storage medium. The processing method comprises the steps of obtaining a first specification file and a second specification file, wherein the priority of the first specification file is higher than that of the second specification file; splitting the first standard file to obtain a first directory, wherein the first directory comprises a plurality of first element requirements; splitting the second specification file to obtain a second directory, wherein the second directory comprises a plurality of second element requirements, and the first element requirements and the second element requirements respectively comprise execution conditions, execution actions and execution objects; and correcting the second element requirement which conflicts with the first element requirement in the second directory by comparing the execution conditions, the execution actions and/or the execution objects of the first element requirement and the second element requirement, and adding the missing first element requirement. By the method and the device, the data fusion of different specifications and the friendly display of the fused specifications can be realized.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a processing method and apparatus for multi-specification fusion, a computer device, and a storage medium.
Background
In many industries, especially the financial industry, strict regulations are required, typical characteristics are various business development and IT development, various management regulations must be observed, and compliance is the bottom line and minimum requirements of the financial enterprise. Meanwhile, for implementing supervision regulations and various management requirements in enterprises, the internal control is much higher than the requirements of other industries. In large financial institutions (such as nationwide commercial banks, stock system banks, exchanges, large securities companies and the like), IT internal control compliance is a part of generalized information security and is an important part in a management system, and how financial enterprises make IT is a part which is unavailable for realizing strict supervision.
When the internal control compliance management construction is realized, not only various industry management regulations need to be complied with, but also various internal management requirements need to be met, so that the internal control compliance management construction is very complicated and is easy to make mistakes. However, in the prior art, a plurality of industry management regulation files, internal specification files and the like are independently arranged, and effective data fusion is not available.
Therefore, it is a technical problem to be solved in the art to provide a processing method and apparatus for multi-specification fusion, a computer device, and a storage medium, so as to implement the fusion of file data, that is, to implement the effective fusion of multiple specification files.
Disclosure of Invention
The invention aims to provide a multi-specification fusion processing method, a multi-specification fusion processing device, computer equipment and a storage medium, which are used for solving the technical problem of data fusion of a plurality of specification files in the prior art.
In one aspect, the present invention provides a method for processing multi-specification fusion.
The processing method of multi-specification fusion comprises the following steps: acquiring a first specification file and a second specification file, wherein the priority of the first specification file is higher than that of the second specification file; splitting the first standard file to obtain a first directory, wherein the first directory comprises a plurality of first element requirements; splitting the second specification file to obtain a second directory, wherein the second directory comprises a plurality of second element requirements, and the first element requirements and the second element requirements respectively comprise execution conditions, execution actions and execution objects; and correcting the second element requirement which conflicts with the first element requirement in the second directory by comparing the execution conditions, the execution actions and/or the execution objects of the first element requirement and the second element requirement, and adding the missing first element requirement.
Further, the step of revising the second meta-requirement that conflicts with the first meta-requirement comprises: acquiring a first element requirement and a second element requirement which are respectively the same as an execution object and an execution action as a first matching group; in the first matching group, if the execution condition of the first meta-requirement is higher than the execution condition of the second meta-requirement, the execution condition of the second meta-requirement is replaced by the execution condition of the first meta-requirement.
Further, the step of revising the second meta-requirement that conflicts with the first meta-requirement comprises: acquiring a first element requirement and a second element requirement which are respectively identical to an execution object and execution conditions, and taking the first element requirement and the second element requirement as a second matching group; in the second matching group, if the execution action requested by the first component and the execution action requested by the second component do not coexist, the execution action requested by the first component is used to replace the execution action requested by the second component.
Further, the processing method of multi-specification fusion further comprises: in the second matching group, if the execution action of the first meta-request and the execution action of the second meta-request can coexist, the execution action of the first meta-request is added to the second meta-request.
Further, the step of adding the missing first tuple comprises: and after correcting the second element requirements which conflict with the first element requirements, adding the missing first element requirements into a second directory, wherein the missing first element requirements comprise first element requirements of which the execution objects are different from any second element requirements, and first element requirements of which the execution actions and the execution conditions are simultaneously different from any second element requirements.
Further, the processing method of multi-specification fusion further comprises: and generating an instruction file for modifying the second directory, wherein the instruction file comprises a plurality of modification records, each modification record comprises a second element requirement before modification, a second element requirement after modification and the name of the first specification file according to modification, and for the modification of adding the first element requirement in the second directory, the second element requirement before modification in the corresponding modification record is null.
Further, after the step of splitting the first canonical file to obtain the first directory, before the step of modifying, in the second directory, the second meta-requirement that conflicts with the first meta-requirement and adding the missing first meta-requirement, the processing method of multi-canonical fusion further includes: deduplication is required for the same first element in the first directory.
In another aspect, to achieve the above object, the present invention provides a multi-specification fusion processing apparatus.
The multi-specification fusion processing device comprises: the acquisition module is used for acquiring a first specification file and a second specification file, wherein the priority of the first specification file is higher than that of the second specification file; the system comprises a splitting module, a storage module and a processing module, wherein the splitting module is used for splitting a first standard file to obtain a first directory and splitting a second standard file to obtain a second directory, the first directory comprises a plurality of first element requirements, the second directory comprises a plurality of second element requirements, and the first element requirements and the second element requirements comprise execution conditions, execution actions and execution objects; and the processing module is used for correcting the second element requirement which conflicts with the first element requirement aiming at the second directory and increasing the missing first element requirement.
To achieve the above object, the present invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
To achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above method.
The multi-specification fusion processing method, the multi-specification fusion processing device, the computer equipment and the storage medium split the specification files with different priorities, split the specification files into a set of a plurality of meta-requirements, determine conflict, missing and the like among the different specification files by comparing the meta-requirements, fuse the specification files with high priorities into the specification files with low priorities, and realize fusion among the different specification files. Meanwhile, the merged specification file is used as a set of meta-requirements, and when the specification file is queried, the meta-requirements related to the same execution object, the same execution condition or the same execution action can be queried respectively, so that the meta-requirements related to the same execution object, the same execution condition or the same execution action can be displayed in a concentrated manner.
Drawings
Fig. 1 is a flowchart of a processing method for multi-specification fusion according to an embodiment of the present invention;
FIG. 2 is a block diagram of a multi-specification fusion processing apparatus according to a second embodiment of the present invention;
fig. 3 is a hardware structure diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention 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 invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment of the invention provides a processing method for multi-specification fusion, which comprises the steps of splitting a specification file to be fused by taking a meta-requirement as a splitting unit, wherein the meta-requirement comprises an execution condition, an execution action and an execution object, comparing the execution condition, the execution action and/or the execution object of the meta-requirement in different specification files, amending the specification file with low priority on the level of meta-requirement, finally fusing the specification file with low priority and the specification file with high priority, and the fused specification file is embodied in the form of meta-requirement, when the specification file is queried, the query can be performed according to the execution object, the execution condition or the execution action respectively, therefore, meta-requirements related to the same execution object, the same execution condition or the same execution action can be collectively shown. Specifically, the processing method of multi-specification fusion provided by this embodiment includes steps S101 to S103 as follows.
Step S101: and acquiring the first specification file and the second specification file.
The priority of the first canonical file is higher than that of the second canonical file, that is, when the first canonical file and the second canonical file have execution conflict, the first canonical file is used as the standard, and when the second canonical file lacks the specification of some execution objects, the first canonical file is used as the standard. For example, the first specification file requires the financial enterprise office terminal to modify the user login password at least once a month, and the second specification file requires the financial enterprise office terminal to modify the user login password at least once a half year, based on the "modify the user login password once a month" in the first specification file.
The first specification file and the second specification file can be digital electronic data, a terminal executing a multi-specification fusion processing method provides a file receiving channel, and receives the first specification file and the second specification file; or, the first specification file and the second specification file can be paper files, and a terminal executing a multi-specification fusion processing method provides a character recognition function module, recognizes the information of the first specification file and the second specification file and stores the information to form digital electronic data.
The first specification file and the second specification file may be files corresponding to a single specification, or may also be files corresponding to a group of specifications, and the like, which is not limited in the present application.
Step S102: and splitting the first standard file to obtain a first directory, and splitting the second standard file to obtain a second directory.
After the digital electronic data of the first specification file and the second specification file are obtained, the digital electronic data can be split through rules of semantic analysis, word segmentation, keyword matching and the like, a first directory is obtained after the first specification file is split, the first directory comprises a plurality of first element requirements, a second directory is obtained after the second specification file is split, the second directory comprises a plurality of second element requirements, and the first element requirements and the second element requirements are element requirements including execution conditions, execution actions and execution objects.
For example, "the financial enterprise office terminal modifies the user login password at least once per month" is a meta requirement, "at least once per month" is an execution condition, "modifies the user login password" is an execution action, "and" the financial enterprise office terminal "is an execution object.
And splitting the first canonical file and the second canonical file to respectively form a directory for gathering a plurality of meta-requirements.
Step S103: and modifying the second element requirement which conflicts with the first element requirement in the second catalogue by comparing the execution conditions, the execution actions and/or the execution objects of the first element requirement and the second element requirement, and adding the missing first element requirement.
In this step, comparing the first meta-requirement with the second meta-requirement, and during comparison, comparing the execution conditions and execution actions of the first meta-requirement and the second meta-requirement with the same execution object to determine whether the same execution corresponding specifications in different specification files are the same or conflict, and modifying a second directory corresponding to a second specification file with a low priority when a conflict occurs; the missing meta-requirement of the second canonical file may be added to the second directory, and finally, the fusion of the first canonical file and the second canonical file is achieved.
By adopting the processing method for multi-specification fusion provided by the embodiment, the specification files with different priorities are split, the specification files are split into a set of a plurality of meta-requirements, each meta-requirement comprises an execution condition, an execution action and an execution object, conflicts, deletions and the like among the different specification files are determined by comparing the meta-requirements, the specification files with high priorities are fused into the specification files with low priorities, and the fusion among the different specification files is realized. Meanwhile, the merged specification file is used as a set of meta-requirements, and when the specification file is queried, the meta-requirements related to the same execution object, the same execution condition or the same execution action can be queried respectively, so that the meta-requirements related to the same execution object, the same execution condition or the same execution action can be displayed in a concentrated manner.
Optionally, in step S103, the step of correcting the second meta-requirement that conflicts with the first meta-requirement specifically includes: and acquiring a first meta-requirement and a second meta-requirement which are respectively identical to the execution object and the execution action as a first matching group, and in the first matching group, replacing the execution condition of the second meta-requirement with the execution condition of the first meta-requirement if the execution condition of the first meta-requirement is higher than the execution condition of the second meta-requirement. Specifically, first, a first directory and a second directory are queried respectively by an execution object to obtain element requirements identical to the execution object, further, the element requirements identical to the execution object are queried by the execution action, and finally, a first matching group is formed by the queried element requirements. For example, the execution condition "at least monthly" of the first meta-requirement is higher than the execution condition "at least semi-annually" of the second meta-requirement, so that the execution condition "at least monthly" replaces the execution condition "at least semi-annually". As for the comparison of the execution conditions, the comparison may be performed by word sense analysis, and as for the word sense analysis method, any word sense analysis method in the prior art may be employed; the analytical alignment can also be carried out manually.
By adopting the processing method for multi-specification fusion provided by the embodiment, when the specifications with different execution conditions for performing the same execution action on the same execution object appear in different specification files, the execution conditions in the specifications with low priority are corrected, so that the conflict between the specifications is avoided, and the multi-specification effective fusion is realized.
Optionally, in step S103, the step of correcting the second meta-requirement that conflicts with the first meta-requirement specifically includes: acquiring a first element requirement and a second element requirement which are respectively identical to an execution object and execution conditions, and taking the first element requirement and the second element requirement as a second matching group; in the second matching group, if the execution action requested by the first component and the execution action requested by the second component do not coexist, the execution action requested by the first component is used to replace the execution action requested by the second component. Specifically, first, a first directory and a second directory are queried respectively by an execution object to obtain element requirements identical to the execution object, further, the element requirements identical to the execution conditions are queried by the execution conditions, and finally, a second matching group is formed by the queried element requirements. For example, the execution action "export log to predetermined file" of the first meta-requirement may not coexist with the execution action "do not log" of the second meta-requirement to execute the action "export log to predetermined file" instead of executing the action "do not log". The comparison of whether the execution actions coexist or not can be performed by word sense analysis, and as for the word sense analysis method, any word sense analysis method in the prior art can be adopted; the analytical alignment can also be carried out manually.
By adopting the processing method for multi-specification fusion provided by the embodiment, when the specification of the execution action which can not coexist is implemented under the same execution condition aiming at the same execution object appears in different specification files, the execution action in the specification with low priority is corrected, the conflict between the specifications is avoided, and the multi-specification effective fusion is realized.
Further optionally, the processing method of multi-specification fusion further includes: in the second matching group, if the execution action of the first meta-request and the execution action of the second meta-request can coexist, the execution action of the first meta-request is added to the second meta-request. For example, the execution action of the first meta-requirement "export log to predetermined file" and the execution action of the second meta-requirement "desensitize log sensitive data" may coexist, adding "export log to predetermined file" to the second meta-requirement, such that the execution action of the second meta-requirement is "desensitize log sensitive data" and "export log to predetermined file".
By adopting the processing method for multi-specification fusion provided by the embodiment, when the specification of the coexistable execution action is implemented in different specification files under the same execution condition aiming at the same execution object, the two execution actions are simultaneously reserved, so that the execution action of the fused specification file is more comprehensive, and the multi-specification effective fusion is realized.
Optionally, in step S103, the step of adding the missing first meta-requirement specifically includes: and after correcting second element requirements which conflict with the first element requirements, adding the missing first element requirements into a second directory, wherein the missing first element requirements comprise two types of first element requirements, one type is the first element requirements of which the execution objects are different from any second element requirements, and the other type is the first element requirements of which the execution actions and the execution conditions are simultaneously different from any second element requirements.
By adopting the processing method of multi-specification fusion provided by the embodiment, the missing part of the specification file with high relative priority is added in the specification file with low priority, including the missing of the specification of the execution object, including the missing of the execution action of some execution objects under the specific execution condition, so that the fused data can completely cover the fused specification.
Optionally, after step S103, the processing method of multi-specification fusion further includes the following steps: and generating an instruction file for modifying the second directory, wherein the instruction file comprises a plurality of modification records, each modification record comprises a second element requirement before modification, a second element requirement after modification and the name of the first specification file according to modification, and for the modification of adding the first element requirement in the second directory, the second element requirement before modification in the corresponding modification record is null.
By adopting the processing method of multi-specification fusion provided by the embodiment, the description file is formed aiming at the modified part in the second directory while the second directory is modified and the specification fusion is performed, so that the conflict and missing parts in the second specification file can be displayed.
Optionally, after step S102 is executed and before step S103 is executed, the processing method of multi-specification fusion further includes the following steps: deduplication is required for the same first element in the first directory.
By adopting the processing method of multi-specification fusion provided by the embodiment, after the first directory is formed, the repeated content in the first directory is subjected to deduplication processing, so that the data processing amount in the subsequent data fusion process is reduced.
Example two
Corresponding to the first embodiment, a second embodiment of the present invention provides a processing apparatus with multi-specification fusion, where technical features of a part of the processing apparatus correspond to technical features of a part of the processing method of the first embodiment, and have the same technical effects, and are not described herein again, and can be understood with reference to the foregoing specifically. Fig. 2 is a block diagram of a multi-specification fusion processing apparatus according to a second embodiment of the present invention, and as shown in fig. 2, the multi-specification fusion processing apparatus includes: an acquisition module 201, a splitting module 202 and a processing module 203.
The obtaining module 201 is configured to obtain a first canonical file and a second canonical file, where a priority of the first canonical file is higher than a priority of the second canonical file; the splitting module 202 is configured to split the first canonical file to obtain a first directory, split the second canonical file to obtain a second directory, where the first directory includes a plurality of first element requirements, the second directory includes a plurality of second element requirements, and the first element requirements and the second element requirements both include execution conditions, execution actions, and execution objects; and the processing module 203 is used for correcting the second element requirement which conflicts with the first element requirement aiming at the second directory and adding the missing first element requirement.
When the processing module 203 corrects the second meta-requirement that conflicts with the first meta-requirement, the specific steps executed include: acquiring a first element requirement and a second element requirement which are respectively the same as an execution object and an execution action as a first matching group; in the first matching group, if the execution condition of the first meta-requirement is higher than the execution condition of the second meta-requirement, the execution condition of the second meta-requirement is replaced by the execution condition of the first meta-requirement.
When the processing module 203 corrects the second meta-requirement that conflicts with the first meta-requirement, the specific steps executed include: acquiring a first element requirement and a second element requirement which are respectively identical to an execution object and execution conditions, and taking the first element requirement and the second element requirement as a second matching group; in the second matching group, if the execution action requested by the first component and the execution action requested by the second component do not coexist, the execution action requested by the first component is used to replace the execution action requested by the second component.
The processing module 203 is further configured to, in the second matching group, add the execution action required by the first component to the second component requirement if the execution action required by the first component and the execution action required by the second component can coexist.
When the processing module 203 adds the missing first meta-requirement, the specific steps executed include: and after correcting the second element requirements which conflict with the first element requirements, adding the missing first element requirements into a second directory, wherein the missing first element requirements comprise first element requirements of which the execution objects are different from any second element requirements, and first element requirements of which the execution actions and the execution conditions are simultaneously different from any second element requirements.
The multi-specification fusion processing device further comprises: and the generation module is used for generating an instruction file for modifying the second directory, wherein the instruction file comprises a plurality of modification records, each modification record comprises a second element requirement before modification, a second element requirement after modification and the name of the first specification file according to modification, and for the modification of adding the first element requirement in the second directory, the second element requirement before modification in the corresponding modification record is null.
The multi-specification fusion processing device further comprises: and the duplication eliminating module is used for eliminating the duplication of the same first element in the first directory before the step of splitting the first specification file to obtain the first directory, correcting the second element requirement which conflicts with the first element requirement in the second directory and adding the missing first element requirement.
EXAMPLE III
The embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers) capable of executing programs, and the like. As shown in fig. 3, the computer device 01 of the present embodiment at least includes but is not limited to: a memory 011 and a processor 012, which are communicatively connected to each other via a system bus, as shown in fig. 3. It is noted that fig. 3 only shows the computer device 01 having the component memory 011 and the processor 012, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
In this embodiment, the memory 011 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 011 can be an internal storage unit of the computer device 01, such as a hard disk or a memory of the computer device 01. In other embodiments, the memory 011 can also be an external storage device of the computer device 01, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the computer device 01. Of course, the memory 011 can also include both internal and external memory units of the computer device 01. In this embodiment, the memory 011 is generally used for storing an operating system installed in the computer device 01 and various application software, such as a program code of the multi-specification fusion processing apparatus according to the second embodiment. Further, the memory 011 can also be used to temporarily store various kinds of data that have been output or are to be output.
The processor 012 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data Processing chip in some embodiments. The processor 012 is generally used to control the overall operation of the computer device 01. In the present embodiment, the processor 012 is configured to run a program code or process data stored in the memory 011, and is, for example, a processing apparatus of multi-specification fusion.
Example four
The present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer-readable storage medium of this embodiment is used to store a multi-specification fusion processing apparatus, and when executed by a processor, the multi-specification fusion processing method of the first embodiment is implemented.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (9)
1. A processing method for multi-specification fusion is characterized by comprising the following steps:
acquiring a first specification file and a second specification file, wherein the priority of the first specification file is higher than that of the second specification file;
splitting the first specification file to obtain a first directory, wherein the first directory comprises a plurality of first element requirements;
splitting the second specification file to obtain a second directory, wherein the second directory comprises a plurality of second element requirements, and the first element requirements and the second element requirements respectively comprise execution conditions, execution actions and execution objects; and
modifying the second meta-requirement conflicting with the first meta-requirement in the second directory by comparing the execution conditions, the execution actions and/or the execution objects of the first meta-requirement and the second meta-requirement, adding the missing first meta-requirement,
the step of adding the first meta-requirement of the deletion comprises:
after the second element requirements which conflict with the first element requirements are corrected, adding missing first element requirements into the second directory, wherein the missing first element requirements comprise the first element requirements of which the execution objects are different from any second element requirements, and the first element requirements of which the execution actions and the execution conditions are simultaneously different from any second element requirements.
2. The method of claim 1, wherein the step of modifying the second meta-requirement that conflicts with the first meta-requirement comprises:
acquiring the first element requirement and the second element requirement which are respectively the same as the execution object and the execution action, and taking the first element requirement and the second element requirement as a first matching group;
in the first matching group, if the execution condition of the first meta-requirement is higher than the execution condition of the second meta-requirement, the execution condition of the second meta-requirement is replaced by the execution condition of the first meta-requirement.
3. The method of claim 1, wherein the step of modifying the second meta-requirement that conflicts with the first meta-requirement comprises:
acquiring the first element requirement and the second element requirement of the execution object and the execution condition which are respectively the same as each other as a second matching group;
in the second matching group, if the execution action required by the first element and the execution action required by the second element cannot coexist, the execution action required by the first element is used for replacing the execution action required by the second element.
4. The multi-specification fusion processing method according to claim 3, further comprising:
in the second matching group, if the execution action required by the first component and the execution action required by the second component can coexist, the execution action required by the first component is added to the second component.
5. The multi-specification fusion processing method according to claim 1, further comprising:
generating an instruction file for modifying the second directory, wherein the instruction file includes a plurality of modification records, each modification record includes the second element requirement before modification, the second element requirement after modification, and a name of the first specification file according to modification, and for modification for adding the first element requirement in the second directory, the second element requirement before modification in the corresponding modification record is null.
6. The method for processing multi-specification fusion according to claim 1, wherein after the step of splitting the first specification file into a first directory, before the step of modifying the second meta-requirement that conflicts with the first meta-requirement in the second directory and adding the missing first meta-requirement, the method further comprises:
deduplication is required for the same first element in the first directory.
7. A multi-specification converged processing apparatus, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a first canonical file and a second canonical file, and the priority of the first canonical file is higher than that of the second canonical file;
the splitting module is used for splitting the first canonical file to obtain a first directory and splitting the second canonical file to obtain a second directory, wherein the first directory comprises a plurality of first element requirements, the second directory comprises a plurality of second element requirements, and the first element requirements and the second element requirements comprise execution conditions, execution actions and execution objects; and
a processing module, configured to modify, for the second directory, the second meta-requirement that conflicts with the first meta-requirement, and add the missing first meta-requirement,
when the processing module adds a missing first element requirement, the specific steps executed by the processing module include: after the second element requirements which conflict with the first element requirements are corrected, adding missing first element requirements into the second directory, wherein the missing first element requirements comprise the first element requirements of which the execution objects are different from any second element requirements, and the first element requirements of which the execution actions and the execution conditions are simultaneously different from any second element requirements.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented by the processor when executing the computer program.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implements the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910267987.6A CN110070114B (en) | 2019-04-03 | 2019-04-03 | Multi-specification fusion processing method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910267987.6A CN110070114B (en) | 2019-04-03 | 2019-04-03 | Multi-specification fusion processing method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110070114A CN110070114A (en) | 2019-07-30 |
CN110070114B true CN110070114B (en) | 2020-11-10 |
Family
ID=67367084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910267987.6A Active CN110070114B (en) | 2019-04-03 | 2019-04-03 | Multi-specification fusion processing method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110070114B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108062254A (en) * | 2017-12-12 | 2018-05-22 | 腾讯科技(深圳)有限公司 | Job processing method, device, storage medium and equipment |
CN109284480A (en) * | 2018-07-27 | 2019-01-29 | 阿里巴巴集团控股有限公司 | A kind of service profile processing method, device and server |
CN109445842A (en) * | 2018-09-26 | 2019-03-08 | 中国平安人寿保险股份有限公司 | Rule generating method, device, computer equipment and storage medium |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015505082A (en) * | 2011-12-12 | 2015-02-16 | インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation | Generation of natural language processing model for information domain |
CN104731828B (en) * | 2013-12-24 | 2017-12-05 | 华为技术有限公司 | A kind of cross-cutting Documents Similarity computational methods and device |
CN105205177A (en) * | 2015-10-16 | 2015-12-30 | 浪潮(北京)电子信息产业有限公司 | Method for file processing, system and file processing terminal |
US11157920B2 (en) * | 2015-11-10 | 2021-10-26 | International Business Machines Corporation | Techniques for instance-specific feature-based cross-document sentiment aggregation |
CN108563734B (en) * | 2018-04-09 | 2023-04-18 | 平安科技(深圳)有限公司 | System information query method, device, computer equipment and storage medium |
CN109117479B (en) * | 2018-08-13 | 2022-07-22 | 数据地平线(广州)科技有限公司 | Financial document intelligent checking method and device and storage medium |
CN109409664A (en) * | 2018-09-20 | 2019-03-01 | 信利光电股份有限公司 | A kind of design specification detection method and system |
CN109492100B (en) * | 2018-10-31 | 2021-07-30 | 武汉雨滴科技有限公司 | Non-structural information processing and resource management system |
CN109299452A (en) * | 2018-11-26 | 2019-02-01 | 深圳龙图腾创新设计有限公司 | A kind of document combination method, device and equipment |
-
2019
- 2019-04-03 CN CN201910267987.6A patent/CN110070114B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108062254A (en) * | 2017-12-12 | 2018-05-22 | 腾讯科技(深圳)有限公司 | Job processing method, device, storage medium and equipment |
CN109284480A (en) * | 2018-07-27 | 2019-01-29 | 阿里巴巴集团控股有限公司 | A kind of service profile processing method, device and server |
CN109445842A (en) * | 2018-09-26 | 2019-03-08 | 中国平安人寿保险股份有限公司 | Rule generating method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110070114A (en) | 2019-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109977110B (en) | Data cleaning method, device and equipment | |
CN111181975B (en) | Account management method, device, equipment and storage medium | |
CN111274045B (en) | Multi-platform docking method and device, computer equipment and readable storage medium | |
US9721114B2 (en) | Automatic resource ownership assignment system and method | |
CN109657177A (en) | The generation method of the page, device, storage medium and computer equipment after upgrading | |
CN112416972A (en) | Real-time data stream processing method, device, equipment and readable storage medium | |
CN112650753A (en) | Log management method, device, system, equipment and readable storage medium | |
CN111367890A (en) | Data migration method and device, computer equipment and readable storage medium | |
CN108121774B (en) | Data table backup method and terminal equipment | |
CN113569257B (en) | User authority management method and device in gray level release | |
WO2020211233A1 (en) | Method and device for batch data editing, computer device, and storage medium | |
CN113792274A (en) | Information management method, management system and storage medium | |
CN113535563A (en) | Test case duplication removing method and device, computer equipment and storage medium | |
CN110070114B (en) | Multi-specification fusion processing method and device, computer equipment and storage medium | |
CN111026613A (en) | Log processing method and device | |
WO2019134238A1 (en) | Method for executing auxiliary function, device, storage medium, and terminal | |
CN111585897B (en) | Request route management method, system, computer system and readable storage medium | |
CN113342579A (en) | Data restoration method and device | |
CN113342647A (en) | Test data generation method and device | |
CN108363614B (en) | Application service module management method and device and server | |
CN112035501B (en) | User identifier updating method, device and equipment | |
CN106528145A (en) | Instance system and version management method for agent in instance system | |
CN113127548B (en) | File merging method, device, equipment and storage medium | |
US20230409521A1 (en) | Automatic preservation | |
US20150293973A1 (en) | Managing electronic records |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 100088 Building 3 332, 102, 28 Xinjiekouwai Street, Xicheng District, Beijing Applicant after: QAX Technology Group Inc. Address before: 100088 Building 3 332, 102, 28 Xinjiekouwai Street, Xicheng District, Beijing Applicant before: BEIJING QIANXIN TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |