CN102819540A - Method and device for constructing data platform - Google Patents
Method and device for constructing data platform Download PDFInfo
- Publication number
- CN102819540A CN102819540A CN2011103577337A CN201110357733A CN102819540A CN 102819540 A CN102819540 A CN 102819540A CN 2011103577337 A CN2011103577337 A CN 2011103577337A CN 201110357733 A CN201110357733 A CN 201110357733A CN 102819540 A CN102819540 A CN 102819540A
- Authority
- CN
- China
- Prior art keywords
- data
- tree structure
- tree
- buffer table
- structure zone
- 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.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a method and a device for constructing a data platform. The method includes constructing a buffer table of a first tree-type structure area, wherein the buffer table comprises node information and father-child relations of the first tree-type structure area; and obtaining data of a second tree-type structure area, and adding the data of the second tree-type structure area to assigned node of the first tree-type structure area to form a new tree-type structure area according to the node information and father-child relations in the buffer table. According to the method and the device, new tree-type structure areas can be quickly formed by data of different tree-type structure areas through change of the node information and father-child relations, different data processing functions can be achieved simultaneously on the same interface, and the operation and the utilization are convenient.
Description
Technical field
The present invention relates to field of computer technology, specifically is method and the device that makes up data platform.
Background technology
Usually will pass through a plurality of processes such as engineering design, process route, the manufacturing in the enterprise production management, each process all relates to dissimilar BOM (BOM).Dissimilar BOMs comprises similar name of material, but solves material composition in the production management, processes, the isoparametric management of the production schedule respectively, so content differs greatly.Making up the material list mode in the prior art has tree structure, and in the interface of this tree structure, choosing all data all is to realize through pop-up window, and the data of selecting oneself need use turn back to current interface.Usually use a plurality of showing interfaces and handle dissimilar BOMs, need switch different interfaces during data processing, very loaded down with trivial details.
Summary of the invention
Fundamental purpose of the present invention provides a kind of method and device of quick structure data platform, to realize the function of different data processing simultaneously at same interface.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of method that makes up data platform, it comprises:
Make up the buffer table in first tree structure zone, comprise the nodal information and the set membership in first tree structure zone in the buffer table;
Obtain the data in second tree structure zone, it is regional that the specified node that adds the data in second tree structure zone to this first tree structure zone according to the nodal information in the buffer table and set membership forms new tree structure.
Preferably; The specified node that the data that second tree structure is regional are added this first tree structure zone to forms after the new tree structure zone, further comprises: set up the set membership of regional data of second tree structure and specified node and upgrade the nodal information in the buffer table.
Preferably; Set up the set membership of regional data of second tree structure and specified node and upgrade the nodal information in the buffer table; Afterwards; Further comprise: obtain the data of the 3rd tree-like structural region, the data of the 3rd tree-like structural region are added in this new tree structure zone according to nodal information in the buffer table and set membership.
Preferably, the specified node that the data that second tree structure is regional are added this first tree structure zone to forms after the new tree structure zone, further comprises: move the node data in new tree structure zone, and revise the set membership in the buffer table.
Preferably; According to nodal information in the buffer table and set membership the data of the 3rd tree-like structural region are added in this new tree structure zone; Afterwards, further comprise: the data in deletion first tree structure zone, the data in second tree structure zone or the data of the 3rd tree-like structural region from new tree structure zone.
The present invention also provides a kind of device that makes up data platform, and it comprises:
The buffer table construction unit is used to make up the regional buffer table of first tree structure, comprises the nodal information and the set membership in first tree structure zone in the buffer table;
The data construct unit is used to obtain the data in second tree structure zone, and it is regional that the specified node that adds the data in second tree structure zone to this first tree structure zone according to the nodal information in the buffer table and set membership forms new tree structure.
Preferably, device also comprises: node relationships construction unit, the nodal information that is used for setting up the set membership of regional data of second tree structure and specified node and upgrades buffer table.
Preferably, the data construct unit also is used to obtain the data of the 3rd tree-like structural region, according to nodal information in the buffer table and set membership the data of the 3rd tree-like structural region is added in this new tree structure zone.
Preferably, the data construct unit also is used for moving the node data in new tree structure zone, and revises the set membership in the buffer table.
Preferably, the data construct unit also is used for from data, the data in second tree structure zone or the data of the 3rd tree-like structural region in new deletion first tree structure zone, tree structure zone.
The technical scheme of embodiment of the present invention; Have following beneficial effect: the present invention forms new data structure zone with the data in different tree structure zones through changing nodal information and set membership; Can realize the function of different data processing at same interface simultaneously, operation and easy to use.
Description of drawings
Fig. 1 is the process flow diagram of first method embodiment provided by the invention;
Fig. 2 is the process flow diagram of first method embodiment provided by the invention;
Fig. 3 is the process flow diagram of first method embodiment provided by the invention;
Fig. 4 is the process flow diagram of first method embodiment provided by the invention;
Fig. 5 is the process flow diagram of first method embodiment provided by the invention;
Fig. 6 is the structural representation of first kind of device embodiment provided by the invention;
Fig. 7 is the structural representation of second kind of device embodiment provided by the invention;
Fig. 8 is the synoptic diagram of application examples data construct provided by the invention.
The realization of the object of the invention, functional characteristics and advantage will combine embodiment, further specify with reference to accompanying drawing.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention provides a kind of method of the BOM of structure data platform, and is as shown in Figure 1, and the method comprising the steps of:
The buffer table in S110, structure first tree structure zone comprises first tree structure regional nodal information and set membership in the buffer table;
S120, obtain the data in second tree structure zone, it is regional that the specified node that adds the data in second tree structure zone to this first tree structure zone according to the nodal information in the buffer table and set membership forms new tree structure.
The method that provides through the foregoing description can be fast with the data construct in two different tree structure zones on identical platform, can realize the function of different (two kinds) data processing at same interface simultaneously, operation and easy to use.
On the basis of the foregoing description, further, this method is after step S120, and is as shown in Figure 2, also comprises step S130: set up the set membership of regional data of second tree structure and specified node and upgrade the nodal information in the buffer table.With the hierarchical relationship between the data of each regional node of the data of each node of knowing this second tree structure zone and first tree structure; And in this buffer table, upgrade this nodal information, set membership etc., so that use when the data construct in other tree structures zones is to this platform in next time.
On the basis of the foregoing description; Further; This method is after step S130; As shown in Figure 3, also comprise step S140: obtain the data of the 3rd tree-like structural region, the data of the 3rd tree-like structural region are added in this new tree structure zone according to nodal information in the buffer table and set membership.The method that provides according to the foregoing description is building up in the above-mentioned platform the regional data of another different tree structure, can realize the function of different (three kinds) data processing at same interface simultaneously, operation and easy to use.
On the basis of above-mentioned each embodiment, further, this method is after step S120, step S130 or step S140, and is as shown in Figure 4, also comprises step S150: move the node data in new tree structure zone, and revise the set membership in the buffer table.In like manner, in this buffer table, upgrade this nodal information, set membership etc., so that use when the data construct in other tree structures zones is to this platform in next time.
On the basis of the foregoing description; Further; After step S140, as shown in Figure 5, also comprise step S160: the data in deletion first tree structure zone, the data in second tree structure zone or the data of the 3rd tree-like structural region from new tree structure zone.So that delete unwanted data, upgrade platform.
Among above-mentioned each embodiment, can under the interface of identical platform, operate and control through pulling the quick structure that technology realizes data platform to data of different types, easy to use.
The embodiment of the invention also provides a kind of device that makes up data platform, and this device can be Intelligent treatment equipment such as computing machine, server, and is as shown in Figure 6, and this device comprises:
Buffer table construction unit 210 is used to make up the regional buffer table of first tree structure, comprises the nodal information and the set membership in first tree structure zone in the buffer table;
The device that provides through the foregoing description can be fast with the data construct in two different tree structure zones on identical platform, can realize the function of different (two kinds) data processing at same interface simultaneously, operation and easy to use.
In other embodiment; On the basis of the foregoing description, further, as shown in Figure 7; Device also comprises: node relationships construction unit 230, the nodal information that is used for setting up the set membership of regional data of second tree structure and specified node and upgrades buffer table.In this buffer table, upgrade this nodal information, set membership etc., so that use when the data construct in other tree structures zones is to this platform in next time.
In other embodiment; On the basis of the foregoing description; Further; Data construct unit 220 also is used to obtain the data of the 3rd tree-like structural region, according to nodal information in the buffer table and set membership the data of the 3rd tree-like structural region is added in this new tree structure zone.The device that provides according to this embodiment is building up in the above-mentioned platform the regional data of another different tree structure, can realize the function of different (three kinds) data processing at same interface simultaneously, operation and easy to use.
In other embodiment, on the basis of the foregoing description, further, data construct unit 220 also is used for moving the node data in new tree structure zone, and revises the set membership in the buffer table.In this buffer table, upgrade this nodal information, set membership etc., so that use when the data construct in other tree structures zones is to this platform in next time.
In other embodiment; On the basis of the foregoing description; Further, data construct unit 220 also is used for from data, the data in second tree structure zone or the data of the 3rd tree-like structural region in new deletion first tree structure zone, tree structure zone; So that delete unwanted data, upgrade platform.
The application examples of above-mentioned each embodiment is provided below:
As shown in Figure 8, be example with the CP product, comprising: the data in the data in the data in first tree structure zone and second tree structure zone and new tree structure zone.
Set up the buffer table of the data in this first tree structure zone through the buffer table construction unit, as shown in table 1, this buffer table comprises nodal information and set membership:
Table one
The row nodal information | Father node information | Type | Title |
000001 | Material | CP | |
000002 | 000001 | Material | A0 |
000003 | 000001 | Material | A1 |
000004 | 000001 | Material | A2 |
000005 | 000001 | Material | A3 |
000006 | 000001 | Material | A4 |
000007 | 000001 | Material | A5 |
000008 | 000002 | Material | A0-1 |
000009 | 000002 | Material | A0-2 |
000010 | 000002 | Material | A0-3 |
000011 | 000005 | Material | A3-1 |
000012 | 000005 | Material | A3-2 |
000013 | 000005 | Material | A3-3 |
Convert new tree structure regional data according to the information of the above-mentioned buffer table data that this first tree structure is regional through making up in the data that are dragged to this second tree structure zone and with the regional data of second tree structure through the data construct unit; During the data in the data in this first tree structure zone and second tree structure zone make up; The data construct unit adds the data of each node in the data in first tree structure zone in the data in second tree structure zone; Make up through increasing new node; After increasing new node, then form new set membership.In this Fig. 8; Child node with the CP001 in the data in the A0 (A0 comprises child node: A0-1, A0-1, A0-1) in the data in first tree structure zone, A1, A2, A3 (A3 comprises child node: A3-1, A3-1, A3-1), A4, A5 node and second tree structure zone: 10 nodes, 20 nodes, 30 nodes make up; Add A0 (comprising child node: A0-1, A0-1, A0-1), A1, A2 node to child node that 10 nodes form this 10 node afterwards; Add A3 (comprising child node: A3-1, A3-1, A3-1) to 20 nodes and form the child node that this electrical equipment assembles 20 nodes afterwards; Add A4, A5 node to child node that 30 nodes form this 30 node afterwards; So just form the data in new tree structure zone; Be built into a data platform, can operate through an interface of this data platform, easy to use.The data construct that step can be regional with more tree structure according to this is in same data platform.
In this application examples; Can also through the data construct unit data in the tree structure zone of this property be adjusted as required; Set membership and nodal information with the adjustment node; And should adjusted set membership and nodal information be kept in the buffer table, and can also be as required, through the data of the some nodes of data construct element deletion.
More than be merely preferred embodiment of the present invention,, all any modifications of within spirit of the present invention and principle, being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention not in order to restriction the present invention.
Claims (10)
1. a method that makes up data platform is characterized in that, comprising:
Make up the buffer table in first tree structure zone, comprise the nodal information and the set membership in said first tree structure zone in the said buffer table;
Obtain the data in second tree structure zone, it is regional that the specified node that adds the data in said second tree structure zone to this first tree structure zone according to the nodal information in the said buffer table and set membership forms new tree structure.
2. method according to claim 1; It is characterized in that the specified node that said data with second tree structure zone are added this first tree structure zone to further comprises after forming new tree structure zone: set up the set membership of regional data of said second tree structure and said specified node and upgrade the nodal information in the said buffer table.
3. like the said method of claim 2; It is characterized in that; The said data of setting up second tree structure zone further comprise with the set membership of said specified node and the nodal information that upgrades in the said buffer table afterwards: obtain the data of the 3rd tree-like structural region, according to nodal information in the said buffer table and set membership the data of said the 3rd tree-like structural region are added in this new tree structure zone.
4. method according to claim 1; It is characterized in that; The specified node that said data with second tree structure zone are added this first tree structure zone to further comprises after forming new tree structure zone: move the said new regional node data of tree structure, and revise the set membership in the said buffer table.
5. like the said method of claim 3; It is characterized in that; Saidly the data of said the 3rd tree-like structural region are added in this new tree structure zone according to nodal information in the buffer table and set membership; Afterwards, further comprise: regional data, the data in second tree structure zone or the data of the 3rd tree-like structural region of said first tree structure of deletion from said new tree structure zone.
6. a device that makes up data platform is characterized in that, comprising:
The buffer table construction unit is used to make up the regional buffer table of first tree structure, comprises the nodal information and the set membership in said first tree structure zone in the said buffer table;
The data construct unit; Be used to obtain the data in second tree structure zone, it is regional that the specified node that adds the data in said second tree structure zone to this first tree structure zone according to the nodal information in the said buffer table and set membership forms new tree structure.
7. like the said device of claim 6, it is characterized in that, also comprise: node relationships construction unit, the nodal information that is used for setting up the set membership of regional data of said second tree structure and said specified node and upgrades said buffer table.
8. like the said device of claim 7; It is characterized in that; Said data construct unit also is used to obtain the data of the 3rd tree-like structural region, according to nodal information in the said buffer table and set membership the data of said the 3rd tree-like structural region is added in this new tree structure zone.
9. like the said device of claim 6, it is characterized in that said data construct unit also is used for moving the said new regional node data of tree structure, and revises the set membership in the said buffer table.
10. like the said method of claim 8; It is characterized in that; Said data construct unit also is used for from said new regional data, the data in second tree structure zone or the data of the 3rd tree-like structural region of tree structure zone said first tree structure of deletion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103577337A CN102819540A (en) | 2011-11-14 | 2011-11-14 | Method and device for constructing data platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103577337A CN102819540A (en) | 2011-11-14 | 2011-11-14 | Method and device for constructing data platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102819540A true CN102819540A (en) | 2012-12-12 |
Family
ID=47303653
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103577337A Pending CN102819540A (en) | 2011-11-14 | 2011-11-14 | Method and device for constructing data platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102819540A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111882264A (en) * | 2020-06-11 | 2020-11-03 | 中国铁道科学研究院集团有限公司电子计算技术研究所 | Method and device for establishing railway land management department model |
CN111882264B (en) * | 2020-06-11 | 2024-05-31 | 中国铁道科学研究院集团有限公司电子计算技术研究所 | Method and device for establishing railway land management department model |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4847761A (en) * | 1987-09-24 | 1989-07-11 | International Business Machines Corp. | Automated bill of material |
CN101458786A (en) * | 2007-12-14 | 2009-06-17 | 英业达股份有限公司 | Material bracket altering method and system of material manifest |
CN101727322A (en) * | 2009-11-19 | 2010-06-09 | 金蝶软件(中国)有限公司 | Method and device for optimizing bill of material management interface |
US20110161209A1 (en) * | 2009-12-28 | 2011-06-30 | International Business Machines Corporation | Bill of Material Synchronization |
-
2011
- 2011-11-14 CN CN2011103577337A patent/CN102819540A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4847761A (en) * | 1987-09-24 | 1989-07-11 | International Business Machines Corp. | Automated bill of material |
CN101458786A (en) * | 2007-12-14 | 2009-06-17 | 英业达股份有限公司 | Material bracket altering method and system of material manifest |
CN101727322A (en) * | 2009-11-19 | 2010-06-09 | 金蝶软件(中国)有限公司 | Method and device for optimizing bill of material management interface |
US20110161209A1 (en) * | 2009-12-28 | 2011-06-30 | International Business Machines Corporation | Bill of Material Synchronization |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111882264A (en) * | 2020-06-11 | 2020-11-03 | 中国铁道科学研究院集团有限公司电子计算技术研究所 | Method and device for establishing railway land management department model |
CN111882264B (en) * | 2020-06-11 | 2024-05-31 | 中国铁道科学研究院集团有限公司电子计算技术研究所 | Method and device for establishing railway land management department model |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Gao et al. | From a single network to a network of networks | |
US20170220636A1 (en) | Real-time saved-query updates for a large graph | |
Chao | Computation of elementary siphons in Petri nets for deadlock control | |
US20210125144A1 (en) | Bill of material conversion method, electronic apparatus and non-transitory computer-readable storage medium | |
CN102663076B (en) | Method for processing file data | |
Falkowski et al. | Studying community dynamics with an incremental graph mining algorithm | |
CN101025805A (en) | Product-based bill of material generating method | |
CN108228171A (en) | A kind of project tree query and display methods based on tree structure | |
CN109033729B (en) | Product design information management method and system | |
Karimi et al. | A tabu search heuristic for solving the CLSP with backlogging and set-up carry-over | |
CN105302803A (en) | Product BOM difference analyzing and synchronous updating method | |
CN102567820A (en) | Dynamic news release and management system | |
CN104504010B (en) | The data collecting system and its acquisition method of a kind of multi-to-multi | |
CN104573184A (en) | Construction method and construction device for high speed train product meta-model | |
CN107133044A (en) | The quick development method and system of the data maintenance type page | |
CN105243237A (en) | Assembly technology structure tree and building method thereof | |
CN107729396A (en) | Data Dynamic Query method and device | |
CN100395755C (en) | Method for building tree file structure in computer | |
CN104899426A (en) | Processing method and apparatus for high speed train indicator system | |
CN102034168A (en) | Method and system for matching task executor for work breakdown structure | |
CN105824279A (en) | Method for establishing flexible and effective CMDB (Configuration Management Database) of machine room monitoring system | |
CN102819540A (en) | Method and device for constructing data platform | |
CN109582299B (en) | Automatic layout method of serial-parallel nested subtask flowchart | |
CN105354671A (en) | Universal configuration management system and enterprise-level information system comprising same | |
CN106909460A (en) | Data buffering method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20121212 |