Method and device for generating database of normative documents
A technology for standardizing files and databases, which is applied in the field of database generation methods and devices for standardizing files, can solve problems such as complex database operations, and achieve the effects of improving efficiency and simplifying the establishment process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] In order to improve the establishment and update efficiency of the IETM database and reduce errors in the establishment process, at the same time, in the process of database generation, determine the association relationship between data, such as sequence relationship, mutually exclusive selection relationship, existence relationship (1 to 1, 1 to many, etc.), the embodiment of the present invention provides a method that can quickly establish a standard database structure, and can be used for the relationship between tables between databases (such as parent-child node relationship, mutually exclusive selection relationship, existence relationship (1 to 1, 1 A method of building a database with restrictions on many, etc.)). According to the above idea, before the database is generated, the relationship between the data elements and the corresponding templates in the database is analyzed by pre-defining the standard schema file, and the standard file and the relationship ...
Embodiment 2
[0037] According to an embodiment of the present invention, a method for generating a database structure based on a specification file is provided, figure 2 It is a flow chart of the method for generating a database structure based on a specification file in this embodiment, such as figure 2 As shown, the method includes the following processing:
[0038] Step 201, customizing the standardized Schema file, or using the Schema file information in the IETM standard, and the predetermined information format is XML Schema format.
[0039] In step 201, the specific content of the Schema file is as follows:
[0040] For the existing data standard specification file, use the corresponding standard specification file, such as the S1000D standard file.
[0041]For an undefined data standard specification file, its specification file needs to be defined in advance, and the format of the file is XMLSchema. In the S1000D standard document, the Schema diagram of the leveledPara elemen...
Embodiment 3
[0061] Figure 7 It is a structural block diagram of the database generating device for specification files in Embodiment 3 of the present invention. Such as Figure 7 As shown, the device includes the following components:
[0062] Establishment module 81, is used for establishing database table for each element in the Schema specification file, includes attribute information of each element in the database table;
[0063] The generation module 82 is used for generating a relationship configuration file according to the relationship between elements during the process of establishing the database table.
[0064] The above-mentioned generation module 82 is specifically used for: after establishing a database table for each element in the Schema specification file, a database table is respectively established based on the relationship between each element and the name of each element.
[0065] Preferably, based on another way different from the above-mentioned generating rel...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


