CN112363756A - Method capable of dynamically switching BOM versions - Google Patents
Method capable of dynamically switching BOM versions Download PDFInfo
- Publication number
- CN112363756A CN112363756A CN202011403406.6A CN202011403406A CN112363756A CN 112363756 A CN112363756 A CN 112363756A CN 202011403406 A CN202011403406 A CN 202011403406A CN 112363756 A CN112363756 A CN 112363756A
- Authority
- CN
- China
- Prior art keywords
- bom
- version
- versions
- tree
- self
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The invention discloses a method capable of dynamically switching BOM versions, which relates to the field of production, manufacturing and execution systems and comprises the following steps: two attributes, namely version and self-version, are saved for each BOM during data table design; when the network interface requests the server side, the back-end interface performs data joint check according to self-version and returns data expanded into a tree shape to the front-end software; and the front-end software processes the data to obtain tree-shaped BOM information display and switches versions. The invention can lead the selection of the BOM version to be rapid and time-saving and improve the working efficiency.
Description
Technical Field
The invention relates to the field of Manufacturing Execution Systems (MES), in particular to a method capable of dynamically switching BOM versions.
Background
For a manufacturing enterprise, especially an enterprise making patch processing, a material BOM is the most common, however, management and version switching of the material BOM are often the most troublesome for a craftsman, although the manufacturing enterprise has already prepared a BOM version (including a plurality of BOMs) produced this time sufficiently when making a customer order or scheduling, and the relationship between a parent BOM and a child BOM is clearly sorted, in an actual production process, there is a possibility that a BOM is temporarily replaced and a certain BOM version is switched, and this possibility is often very large. The previous processing method is generally that, the front-end page lays out all sub-versions of a BOM or displays a tree, and then selects and switches, and synchronizes the switching result to the server. For the mode of the flat spread column, the process selection is troublesome, technologists need to know the versions of the BOMs and the parent-child relationship among different BOMs in advance, the selection is time-consuming, the tree spread column needs a lot of conditions, but a plurality of versions exist in a certain BOM, and a plurality of repeated BOMs may exist in the descendant BOMs of each version.
Disclosure of Invention
Aiming at the problems of time consumption and unclear logic relation of BOM version switching, the patent provides a method capable of dynamically switching BOM versions to solve the problems of logic and efficiency of BOM version switching. In order to achieve the purpose, the invention adopts the following technical scheme:
a method for dynamically switching BOM versions comprises the following steps:
two attributes, namely version and self-version, are saved for each BOM during data table design;
when the network interface requests the server side, the back-end interface performs data joint check according to self-version and returns data expanded into a tree shape to the front-end software;
and the front-end software processes the data to obtain tree-shaped BOM information display and switches versions.
Furthermore, the version attribute refers to the version of the current BOM, the attribute value is determined by the parent BOM version, and the attribute value of the top BOM is null.
Further, the self-version attribute refers to a version of the current BOM as a parent BOM, and the attribute value of the bottommost BOM is null.
Furthermore, when a certain BOM is used as a parent BOM, a plurality of versions are provided; the multiple versions refer to iterative versions of the BOM, and mutually exclusive relationships exist between different versions.
Further, the specific BOM or BOM list selected during the version switching is selected from the BOM lists below the multiple versions; and adding a dynamic BOM version selection function on the basis of the tree-shaped component.
Further, the adding of the dynamic BOM version selection function on the basis of the tree component specifically includes: when a tree node is clicked, a sub BOM list under a version complete set corresponding to the tree node is not loaded at one time, all version information of a certain BOM is requested from a server side, and if the version information set is empty, the BOM is the bottom layer BOM; after the version information set is acquired, selecting any version, and then sending the server to request all BOM lists under the version; switching another version, and then sending the server side to obtain a BOM list under the other version; each BOM node is provided with a selection box in front, a user can select the BOM node, and finally all selection results are combined to form the BOM information required by new production.
Compared with the prior art, the invention has the beneficial effects that:
the unique technical characteristics of the patent are that the design of the data sheet is reasonable, the BOM version switching design of the front-end page is clear, and the operation is easy. The patent provides a method capable of dynamically switching BOM versions by relying on a clear data table design of a server side, and solves the problem that BOM switching is time-consuming and labor-consuming.
Drawings
FIG. 1 is a schematic diagram of a BOM hierarchical relationship tree in a method capable of dynamically switching BOM versions.
FIG. 2 is a schematic diagram of a BOM version tree selection component in a method capable of dynamically switching BOM versions.
Detailed Description
The present invention will be further described with reference to the following examples, which are intended to illustrate only some, but not all, of the embodiments of the present invention. Based on the embodiments of the present invention, other embodiments used by those skilled in the art without any creative effort belong to the protection scope of the present invention.
Example 1:
a method for dynamically switching BOM versions comprises the following steps:
two attributes, namely version and self-version, are saved for each BOM during data table design;
when the network interface requests the server side, the back-end interface performs data joint check according to self-version and returns data expanded into a tree shape to the front-end software;
and the front-end software processes the data to obtain tree-shaped BOM information display and switches versions.
The version attribute refers to the version of the current BOM, the attribute value is determined by the parent BOM version, and the attribute value of the topmost BOM is null. The self-version attribute refers to the version of the current BOM as the parent BOM, and the attribute value of the bottommost BOM is null. When a certain BOM is used as a parent BOM, a plurality of versions are provided; the multiple versions refer to iterative versions of the BOM, such as V1.0, V2.0, V3.0, etc., and the different versions are mutually exclusive.
The version switching is actually to replace the BOM version V1.0 or the version V2.0 or the version V3.0;
the specific BOM or BOM list selected during the version switching is selected from BOM lists below V1.0, V2.0 or V3.0; and adding a dynamic BOM version selection function on the basis of the tree-shaped component.
The tree-shaped component is added with a dynamic BOM version selection function, and the method specifically comprises the following steps: when a tree node is clicked, a sub BOM list under a version complete set corresponding to the tree node is not loaded at one time, all version information of a certain BOM is requested from a server side, and if the version information set is empty, the BOM is the bottom layer BOM; after the version information set is acquired, selecting any version, and then sending the server to request all BOM lists under the version; switching another version, and then sending the server side to obtain a BOM list under the other version; each BOM node is provided with a selection box in front, a user can select the BOM node, and finally all selection results are combined to form the BOM information required by new production.
In the method for dynamically switching BOM versions of the embodiment of the invention, the tree structure schematic diagram of the BOM version is shown in FIG. 1,
wherein, the left side of FIG. 1 shows the V1 version of material BOM A, and the right side of FIG. 1 shows the V2 version of material BOM A; the V1 version of BOM A is divided into a V1 version of material B and a V1 version of material C, the V1 version of material B is divided into material D and material E, and the V1 version of material C is divided into F and G; the V2 version of BOM A is divided into V2 version of material B and V2 version of material C, the V2 version of material B is divided into material D, E and F, and the V2 version of material C is divided into H and I. Where Material A is the top BOM, Material D, E, F, G, H, I is the bottom BOM, the version attribute of Material A is "or null, the self-version attribute of Material D, E, F, G, H, I is" or null, and the version attributes and self-version attributes of the other remaining BOMs have values.
When the version is switched, a tree BOM version selection component is used, the tree BOM version selection component is expanded on the basis of the tree component, when a BOM node is clicked, whether version set information exists is judged firstly, if no version set information exists, a server side is sent to request version set, if version set information exists, switching selection can be carried out among different versions, and when a certain version is switched, the server side is sent to obtain all BOM data under the version. All BOM data may be selected. The page display schematic diagram of the tree-shaped BOM version selection component of the embodiment of the invention is shown in figure 2, in the figure, a lower triangle shows that a child node is arranged below the tree node, a square frame shows a selection frame, clicking the child node can automatically enable a father node to be in a selected state, A, B, D, E, F, G, H, I shows a material BOM, and a version set selection frame displayed on the right represents a self-version set of the material BOM. FIG. 2 corresponds to the Material BOM relationship of FIG. 1.
Wherein, material BOM A has two versions: and V1 and V2, the two version sets are obtained by the server side when the BOM A tree node is clicked, clicking the A tree node again can judge whether the BOM version set exists, and if so, the server side does not need to request any more. Currently, there is shown a version V1 of BOM A, below which there are sub-levels of BOM B and C, and B also has two versions V1 and V2, as is material C, which is shown here as version V2 of both B and C.
For version V2 of BOM B, version V2 is followed by D, E, F three BOMs, which upon switching to version V1 will show D and E;
for version V2 of BOM C, version V2 is followed by both H and I BOMs, which once switched to version V1 will show F and G;
for D, E, F, H, I, the 5 BOMs are all leaf nodes
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Claims (6)
1. A method for dynamically switching BOM versions is characterized by comprising the following steps:
two attributes, namely version and self-version, are saved for each BOM during data table design;
when the network interface requests the server side, the back-end interface performs data joint check according to self-version and returns data expanded into a tree shape to the front-end software;
and the front-end software processes the data to obtain tree-shaped BOM information display and switches versions.
2. The method as claimed in claim 1, wherein the version attribute is a version of a current BOM, the attribute value is determined by its parent BOM version, and the attribute value of a top-most BOM is null.
3. The method as claimed in claim 1, wherein the self-version attribute is a version of a current BOM as a parent BOM, and the attribute value of a bottom BOM is null.
4. A method according to any one of claims 1-3, wherein when a certain BOM is a parent BOM, there are multiple versions; the multiple versions refer to iterative versions of the BOM, and mutually exclusive relationships exist between different versions.
5. The method according to claim 4, wherein the specific BOM or BOM list selected during the version switching is selected from BOM lists below multiple versions; and adding a dynamic BOM version selection function on the basis of the tree-shaped component.
6. The method according to claim 5, wherein a function of selecting the version of the dynamic BOM is added on the basis of the tree component, and specifically includes: when a tree node is clicked, a sub BOM list under a version complete set corresponding to the tree node is not loaded at one time, all version information of a certain BOM is requested from a server side, and if the version information set is empty, the BOM is the bottommost BOM; after the version information set is acquired, selecting any version, and then sending the server to request all BOM lists under the version; switching another version, and then sending the server side to obtain a BOM list under the other version; each BOM node is provided with a selection box in front, a user can select the BOM node, and finally all selection results are combined to form the BOM information required by new production.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011403406.6A CN112363756B (en) | 2020-12-04 | 2020-12-04 | Method capable of dynamically switching BOM versions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011403406.6A CN112363756B (en) | 2020-12-04 | 2020-12-04 | Method capable of dynamically switching BOM versions |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112363756A true CN112363756A (en) | 2021-02-12 |
CN112363756B CN112363756B (en) | 2022-06-21 |
Family
ID=74535093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011403406.6A Active CN112363756B (en) | 2020-12-04 | 2020-12-04 | Method capable of dynamically switching BOM versions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112363756B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727322A (en) * | 2009-11-19 | 2010-06-09 | 金蝶软件(中国)有限公司 | Method and device for optimizing bill of material management interface |
US20120317543A1 (en) * | 2011-06-08 | 2012-12-13 | International Business Machines Corporation | Computer aided visualization of a business object model lifecycle |
CN103020393A (en) * | 2012-12-31 | 2013-04-03 | 北京航空航天大学 | Aircraft assembly data visualization method based on Web |
CN103093038A (en) * | 2012-12-31 | 2013-05-08 | 深圳市九洲电器有限公司 | Updating method and updating device for bills of material (BOMs) |
CN107464075A (en) * | 2017-07-07 | 2017-12-12 | 甘棠软件系统(上海)有限公司 | Update the method and apparatus of BOM |
CN107678776A (en) * | 2017-08-09 | 2018-02-09 | 上海壹账通金融科技有限公司 | Multimode version dependence construction method, device, server and storage medium |
CN108268275A (en) * | 2017-06-12 | 2018-07-10 | 平安普惠企业管理有限公司 | Software version control method and software version control device |
CN108710677A (en) * | 2018-05-18 | 2018-10-26 | 中国兵器工业新技术推广研究所 | Pass through the multigroup solution for knitting multiple view of NoSQL database realizing BOM datas |
CN108876244A (en) * | 2018-06-22 | 2018-11-23 | 珠海格力电器股份有限公司 | A kind of the storage inquiry system and method for bill of materials BOM |
CN110032509A (en) * | 2019-03-04 | 2019-07-19 | 广州华多网络科技有限公司 | Method, apparatus, system and the storage medium tested in a kind of switching local list |
-
2020
- 2020-12-04 CN CN202011403406.6A patent/CN112363756B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727322A (en) * | 2009-11-19 | 2010-06-09 | 金蝶软件(中国)有限公司 | Method and device for optimizing bill of material management interface |
US20120317543A1 (en) * | 2011-06-08 | 2012-12-13 | International Business Machines Corporation | Computer aided visualization of a business object model lifecycle |
CN103020393A (en) * | 2012-12-31 | 2013-04-03 | 北京航空航天大学 | Aircraft assembly data visualization method based on Web |
CN103093038A (en) * | 2012-12-31 | 2013-05-08 | 深圳市九洲电器有限公司 | Updating method and updating device for bills of material (BOMs) |
CN108268275A (en) * | 2017-06-12 | 2018-07-10 | 平安普惠企业管理有限公司 | Software version control method and software version control device |
CN107464075A (en) * | 2017-07-07 | 2017-12-12 | 甘棠软件系统(上海)有限公司 | Update the method and apparatus of BOM |
CN107678776A (en) * | 2017-08-09 | 2018-02-09 | 上海壹账通金融科技有限公司 | Multimode version dependence construction method, device, server and storage medium |
CN108710677A (en) * | 2018-05-18 | 2018-10-26 | 中国兵器工业新技术推广研究所 | Pass through the multigroup solution for knitting multiple view of NoSQL database realizing BOM datas |
CN108876244A (en) * | 2018-06-22 | 2018-11-23 | 珠海格力电器股份有限公司 | A kind of the storage inquiry system and method for bill of materials BOM |
CN110032509A (en) * | 2019-03-04 | 2019-07-19 | 广州华多网络科技有限公司 | Method, apparatus, system and the storage medium tested in a kind of switching local list |
Non-Patent Citations (2)
Title |
---|
TAO LI 等: "Directed Acyclic Graph Version Model Applied in Product Structure Configuration", 《THE 2008 4TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, NETWORKING AND MOBILE COMPUTING》 * |
李浩 等: "基于服务BOM的复杂产品MRO信息集成建模研究", 《制造技术与机床》 * |
Also Published As
Publication number | Publication date |
---|---|
CN112363756B (en) | 2022-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104067216B (en) | System and method for implementing expansible data storage service | |
US8315980B2 (en) | Parallel execution of window functions | |
US20090125530A1 (en) | Hierarchy Nodes Derived Based on Parent/Child Foreign Key and/or Range Values on Parent Node | |
CN111460023A (en) | Service data processing method, device, equipment and storage medium based on elastic search | |
EP0827091B1 (en) | A method for presenting information on display devices of varying sizes | |
US8352476B2 (en) | Frequent itemset counting using clustered prefixes and index support | |
WO2007136959A2 (en) | Apparatus and method for recursively rationalizing data source queries | |
US8015195B2 (en) | Modifying entry names in directory server | |
CN110147372A (en) | A kind of distributed data base Intelligent Hybrid storage method towards HTAP | |
US20070067327A1 (en) | Performing recursive database operators | |
CN115905628A (en) | Dynamic resource directory construction method, device, equipment and storage medium | |
CN104951565A (en) | XML configuration maintenance method and system based on memory database | |
CN112363756B (en) | Method capable of dynamically switching BOM versions | |
CN115982177B (en) | Method, device, equipment and medium for data aggregation based on tree dimension | |
US20130304707A1 (en) | Data Archiving Approach Leveraging Database Layer Functionality | |
CN101661507A (en) | Method for merging data and system thereof | |
CN111522819A (en) | Method and system for summarizing tree-structured data | |
CN110321388A (en) | A kind of quicksort querying method and system based on Greenplum | |
CN107203554A (en) | A kind of distributed search method and device | |
US9400814B2 (en) | Hierarchy nodes derived based on parent/child foreign key and/or range values on parent node | |
CN101382959B (en) | Multimedia resource acquisition method, apparatus and system | |
CN107276833A (en) | A kind of node information management method and device | |
CN103748578B (en) | The method of data distribution, apparatus and system | |
CN107247760B (en) | Multi-level disaster reduction and relief information management method and system based on loose coupling mode | |
CN112527917A (en) | Data processing method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |