A data management method and device
By dividing product data editing and layout into two parts and automating the process using preset rules and templates, the problem of low editing efficiency and high error rate in existing technologies is solved, achieving efficient and accurate product data layout.
Patent Information
- Application Number
- CN202311568168.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2026-11-06
- Estimated Expiration
- 2043-11-22
AI Technical Summary
The existing data editing mode relies on manual operation, resulting in low editing efficiency and high error rate, and it cannot achieve fast and accurate product data layout.
The editing and layout of product data are divided into two parts. The product data is classified and structured by preset rules, and the layout is automated using preset templates to form structured data modules.
This achieves independent editing and layout of product data, reduces error rates, improves layout efficiency, and ensures the accuracy and rapid generation of product data.
Smart Images

Figure CN117787221B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data management technology, and in particular to a data management method and apparatus. Background Technology
[0002] Currently, with the rapid development of industrial products, the typesetting and production of product data for industrial products has become a crucial part of the industrial sector. The ability to accurately and quickly generate product data manuals has become a major requirement for typesetting tools among industrial product manufacturers.
[0003] In the field of product data creation, the editing mode is mainly based on Word + Photoshop or InDesign software. These two editing modes can handle a large amount of editable data, which can help staff complete the editing and creation of product data.
[0004] However, the two editing modes mentioned above rely heavily on manual operation and consume a lot of memory, resulting in low production efficiency and a high error rate in the output results, which can easily lead to misalignment of product data or waste of layout time. Summary of the Invention
[0005] This application provides a data management method and apparatus to solve the problems of high error rate and low efficiency in data typesetting.
[0006] To achieve the above objectives, this application adopts the following technical solution.
[0007] In a first aspect, embodiments of this application provide a data management method, comprising: responding to a data management request for a target product set, obtaining one or more product data of the target product set; wherein the target product set includes one or more products; editing one or more product data of the target product set according to preset rules to obtain edited product data; the preset rules include classification rules for product data and editing formats corresponding to each data category of product data; formatting the edited product data according to a preset template of a product data manual to obtain a data manual for the target product set; the preset template includes multiple data modules, one data module corresponding to one data category of product data; and uploading the data manual for the target product set to a data management system.
[0008] The technical solution provided in this application provides at least the following beneficial effects: This technical solution divides the creation of product data into two parts: editing and typesetting. By editing one or more product data items of the target product set, the product data is transformed into structured data modules, resulting in edited product data. Subsequently, the edited product data is typeset according to a preset template of the product data manual, and the data manual for the target product set is obtained, thus completing the product data typesetting task. This achieves independent editing and typesetting of product data and automated typesetting, reducing the error rate during editing and typesetting processes and improving typesetting efficiency.
[0009] In some embodiments, product data includes the technical parameters used in the product, the product design drawings, and the product material information.
[0010] In some embodiments, the technical parameters used in the product include the product model; before editing one or more product data of the target product set according to preset rules, the method further includes: obtaining status information of each product model in the target product set; the status information includes delisting status or pre-market status; and updating one or more product data of the target product set according to the status information of each product model in the target product set.
[0011] In some embodiments, updating one or more product data of a target product set based on product model and status information includes: for any product model in the target product set, searching for the product model in the product model database of the data management system; if the product model exists in the product model database and the product model's status is discontinued, deleting the product data corresponding to the product model from one or more product data of the target product set and the product model database; if the product model does not exist in the product model database and / or the product model's status is pre-launch, adding the product model to the product model database.
[0012] In some embodiments, after adding a product model to the product model library, the method further includes: for any part used by the product model, searching for the part in the parts library of the data management system; if the part does not exist in the parts library, adding the part to the parts library; if the part exists in the parts library and there is no association between the product model and the part, adding an association between the product model and the part to the parts library.
[0013] Secondly, embodiments of this application provide a data management device, comprising: an acquisition module, configured to acquire one or more product data of a target product set in response to a data management request for the target product set; wherein the target product set includes one or more products; a processing module, configured to edit one or more product data of the target product set according to preset rules to obtain edited product data; the preset rules include classification rules for product data and editing formats corresponding to each data category of product data; the processing module is further configured to format the edited product data according to a preset template of a product data manual to obtain a data manual for the target product set; the preset template includes multiple data modules, one data module corresponding to one data category of product data; and the processing module is further configured to upload the data manual of the target product set to a data management system.
[0014] Thirdly, embodiments of this application provide a controller, including: one or more processors; one or more memories; wherein the one or more memories are used to store computer program code, the computer program code including computer instructions, and when the one or more processors execute the computer instructions, the controller executes any of the data management methods provided in the first aspect.
[0015] Fourthly, embodiments of this application provide a computer-readable storage medium including computer instructions that, when executed on a computer, cause the computer to perform the methods provided in the first aspect and possible implementations.
[0016] Fifthly, embodiments of the present invention provide a computer program product that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can implement the methods provided in the first aspect and possible implementations.
[0017] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the controller's processor or may be packaged separately from the controller's processor; this application does not impose any limitations on this.
[0018] The beneficial effects described in aspects two through five of this application can be referred to the analysis of the beneficial effects of aspect one, and will not be repeated here. Attached Figure Description
[0019] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of this application to explain the technical solutions of the present invention and do not constitute a limitation on the technical solutions of the present invention.
[0020] Figure 1A flowchart illustrating a data management method provided in an embodiment of this application;
[0021] Figure 2 This is a schematic diagram of a data module encoding rule provided in an embodiment of this application;
[0022] Figure 3 This is a schematic diagram of a data encoding method provided in an embodiment of this application;
[0023] Figure 4 This is a schematic diagram illustrating another data encoding method provided in an embodiment of this application;
[0024] Figure 5 This is a schematic diagram illustrating another data encoding method provided in an embodiment of this application;
[0025] Figure 6 This is a schematic diagram illustrating another data encoding method provided in an embodiment of this application;
[0026] Figure 7 This is a schematic diagram illustrating another data encoding method provided in an embodiment of this application;
[0027] Figure 8 A flowchart illustrating another data management method provided in an embodiment of this application;
[0028] Figure 9 A flowchart illustrating another data management method provided in an embodiment of this application;
[0029] Figure 10 A flowchart illustrating another data management method provided in an embodiment of this application;
[0030] Figure 11 A flowchart illustrating another data management method provided in an embodiment of this application;
[0031] Figure 12 A flowchart illustrating another data management method provided in an embodiment of this application;
[0032] Figure 13 A flowchart illustrating another data management method provided in an embodiment of this application;
[0033] Figure 14 This is a schematic diagram of the structure of a data management device provided in an embodiment of this application;
[0034] Figure 15 This is a schematic diagram of another data management device provided in an embodiment of this application. Detailed Implementation
[0035] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0036] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indication will also change accordingly.
[0037] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0038] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "connected" and "linked" should be interpreted broadly, for example, as a fixed connection, a detachable connection, or an integral connection. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances. Furthermore, when describing pipelines, the terms "connected" and "linked" as used in this application have the meaning of establishing electrical connection. The specific meaning needs to be understood in conjunction with the context.
[0039] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0040] To facilitate understanding, we will first provide a brief introduction and explanation of some terms or basic concepts of technology involved in the embodiments of the present invention.
[0041] As mentioned above, existing data editing methods require a large amount of manpower, resulting in low editing efficiency and a high error rate.
[0042] Based on this, embodiments of this application provide a data management method, including: responding to a data management request for a target product set, obtaining one or more product data of the target product set; wherein, the target product set includes one or more products; editing one or more product data of the target product set according to preset rules to obtain edited product data; the preset rules include classification rules for product data and editing formats corresponding to each data category of product data; formatting the edited product data according to a preset template of a product data manual to obtain a data manual for the target product set; the preset template includes multiple data modules, one data module corresponding to one data category of product data; and uploading the data manual for the target product set to a data management system.
[0043] In this way, the editing and layout of product data can be carried out without interference, and the layout of manuals can be automated, reducing the error rate in the editing and layout process and improving the layout efficiency.
[0044] The embodiments provided in this application will now be described in detail with reference to the accompanying drawings.
[0045] Figure 1 This is a flowchart illustrating a data management method provided in an embodiment of this application, such as... Figure 1 As shown, the method includes the following steps:
[0046] S101. In response to a data management request for the target product set, obtain data for one or more products in the target product set.
[0047] The target product set includes one or more products, and the product data includes the technical parameters used in the product, the product design drawings, and the product material information.
[0048] Optionally, product data may also include product model status (launched or withdrawn from the market, etc.), product version, model, and the relationship between the product and the data.
[0049] In some embodiments, the product design drawings record information needed by the product engineer for pre-sales design, after-sales maintenance, or product operation and use, and are technically structured design drawings, such as machine nameplate design drawings, electrical wiring diagrams, etc.
[0050] It should be noted that Bill of Material (BOM) is one of the key aspects of manufacturing management. BOM records all the materials required to compose a product, listing all components of the product and their information. The calculation of material requirements starts from the final product and works down layer by layer to calculate the required quantities of components, parts, and raw materials.
[0051] It's important to note that a single product data entry typically represents a series of products. However, over time, some models within a series may be discontinued, while new models may be developed. This means that different versions of a single data entry may not reflect the same product. Therefore, it's necessary to establish a relationship between each version of the product data and the corresponding product model. Only after establishing this relationship can the associated product model information be transferred to the management system.
[0052] In some embodiments, when a request to initiate a data layout task is received from the design system, product lifecycle management (PLM) sends the acquired product data to the data management system.
[0053] S102. Edit one or more product data of the target product set according to preset rules to obtain the edited product data.
[0054] The preset rules include the classification rules for product data and the editing formats corresponding to each data category of the product data.
[0055] In some embodiments, when the data management system receives product data sent by the PLM, it automatically converts the product data into structured data.
[0056] It should be noted that in order to establish standardized document formatting tools and processes, the product data must first be structured. In the embodiments of this application, the S1000D rule is used to convert the product data into a structured XML file. In specific implementations, the structuring method or the rule used can also be other possible methods or rules, and this application does not limit this.
[0057] It should be noted that S1000D is an international standard aimed at covering business activities related to technical publications in the assurance of any system project (such as air, sea, land transportation vehicles, products and tools, etc.). It uses a common source database (CSDB) to create technical documents and supports Standard Generalized Markup Language (SGML) and computer graphics metafile (CGM).
[0058] In some embodiments, the data of technical publications created through the S1000D rules is not managed in the traditional form of manuals or chapters, but organized in the form of data modules (DMs). A DM is an independent data unit used to describe the technical content of a specific part. In the embodiments of this application, the DM includes a model identification code (MIC), a system difference code (SDC), a system code, a subsystem code, a subsubsystem code, an assembly location code, a decoder, decoder variables, an information code, an information code variable, and a location code.
[0059] Figure 2 This is a schematic diagram of a data module encoding rule provided in an embodiment of this application, such as... Figure 2 As shown, the MIC consists of 4 symbols, the SDC consists of 4 symbols, the system code consists of 2 symbols, the subsystem code consists of 1 symbol, the sub-subsystem code consists of 1 symbol, the assembly position code consists of 2 symbols, the decoder consists of 2 symbols, the decoder variable consists of 1 symbol, the information code consists of 3 symbols, the information code variable consists of 1 symbol, and the position code consists of 1 symbol.
[0060] Among them, MIC, SDC, system code, subsystem code, subsubsystem code, assembly location code, decoder and decoder variables are the hardware / system definitions of the product, while information code, information code variables and location code are the information type descriptions of the product.
[0061] In some embodiments, the MIC consists of four symbols: the first two are the product type code (using the frame structure code in the product platform), the third is the algebra code, and the fourth is the frame serial number.
[0062] For example, Figure 3 This diagram illustrates a data encoding method, including product types and their corresponding product type codes. Figure 4 This diagram illustrates another data encoding method, including another product type and its corresponding product type code. Figure 5 This diagram illustrates another data encoding method, including algebraic classifications and their corresponding algebraic codes. Figure 6 This diagram illustrates another data encoding method, including frame classification and its corresponding frame code. Taking the M-series product N1, which consists of models from HVR-224W / SM2FZBpv to HVR-3200W / SM2FZBpv and belongs to the top-discharge air product type, as an example, the product N1 type code segment uses TF (e.g., ...). Figure 3 As shown), if product N1 belongs to the fourth generation, then the algebraic code segment number of product N1 is D (e.g., Figure 5 As shown), the comprehensive technical parameters of this series will be implemented using a DM (Designated Data Structure). Therefore, this DM contains all the frames in this series. Hence, the frame code segment is 0 (meaning unspecified frame, unrelated to the frame) (e.g. Figure 6 As shown in the figure, that is, the MIC of product N1 is TFD0.
[0063] In some embodiments, the SDC consists of four symbols. The first symbol is the compressor code, the second and third symbols are the heat exchanger code, and the fourth symbol is a sub-code in the electronic control software code (for example, a scroll compressor will use code S, and a rotary compressor will use code R. The heat exchanger code includes the heat exchanger classification and the outer diameter of the condenser tube. For example, C5 indicates a type C heat exchanger that uses a condenser tube with an outer diameter of 5mm. For example, the electronic control software of a multi-split outdoor unit is 1, and that of a single unit is 2).
[0064] Figure 7 This diagram illustrates another data encoding method, including the heat exchanger type, condenser tube outer diameter, and its corresponding heat exchanger code. Taking product N1 using a rotary compressor as an example, the compressor code for product N1 is R. If product N1 uses a type D heat exchanger, and the condenser tube outer diameter of this type D heat exchanger is 7mm, then the code for the heat exchanger portion of product N1 is D7 (e.g., ...). Figure 7 As shown), if product N1 is a multi-split outdoor unit, then the electronic control software code segment of product N1 is 1, that is, the SDC of product N1 is RG71.
[0065] Furthermore, taking the system code of product N as 01 as an example, since the technical parameters of product N1 are the comprehensive technical parameters of the whole machine, rather than the parameters of specific parts or subsystems, and also directly involve information such as specific assembly positions, the subsystem code, sub-subsystem code, assembly position code, and decoding code are all 0, so this code segment is 01-00-00-00.
[0066] Meanwhile, the algebraic code defaults to starting the calculation from A. Currently, A is used, but depending on the situation, B, C, or D may be used in the future, because the detailed data in this DM is a comprehensive technical parameter, and the comprehensive technical parameter is information code 030.
[0067] Furthermore, the location code identifies the applicable situation of the information, such as where the product is performing maintenance tasks. It is used to clarify where the part was before the task started or in what situation this information applies. This data module includes the scenarios in which the data is used for the whole machine, parts, and workbench, and is identified as code D. If it is only used in training scenarios, the location code is T.
[0068] In some embodiments, the location code may also have one of the following values: A, related information to a part still mounted on the product; B, related information to a part on a component that has been removed from the product; and C, related information to a part that has been disassembled from the component and is now placed on a workbench.
[0069] It should be noted that in the information set and publication section, Z indicates that one of the values A, B, C, D or T must be used.
[0070] In summary, the data module number for product N1 is DMC-TFD0-RG71-01-00-00-00A-030A-D.
[0071] It should be noted that the above Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 as well as Figure 7 The product code correspondence shown is merely an example. In specific implementations, different product types may correspond to different product codes, and this application does not limit this.
[0072] In some embodiments, the structured processing of data modules can be automatically written by the above rules or manually written by technicians. However, data modules manually written by technicians need to be verified by S1000D rules to avoid errors.
[0073] In some embodiments, after the product data is structured, the structured product data is stored in a pre-defined database to prepare for product data updates.
[0074] In some embodiments, a complete product datasheet is composed of several data modules. Some of these modules are currently usable, while others require addition or modification. If the product involved in the current datasheet layout has changed certain technical parameters (e.g., appearance and structure) compared to the previous generation, then the data modules containing appearance and structure information need to be updated or renumbered. The product data can be updated based on the product's technical parameters, design drawings, and material information to obtain the updated product data.
[0075] In some embodiments, after the structured product data is stored in a pre-defined database, the modified data in the database needs to be updated. Figure 8 This is a flowchart illustrating another data management method provided in an embodiment of this application, used for updating product data, such as... Figure 8 As shown, the method includes the following steps:
[0076] S201. Obtain the status information of each product model in the target product set.
[0077] The target product set is any product set in at least one product set, and the target product set includes at least one product model. The status information includes the delisting status or the pre-launch status.
[0078] In some embodiments, a single product data entry is typically product data for a series of products. Over time, some product models in a series may be discontinued, while new product models may be developed. Therefore, the status information of the product model reflected in different versions of a single product data entry will not remain unchanged.
[0079] S202. Update one or more product data in the target product set based on the status information of each product model in the target product set.
[0080] In some embodiments, after obtaining the status information of each product model, the product data can be updated based on the status information of each product model. Figure 9 This is a flowchart illustrating another data management method provided in an embodiment of this application, used for updating product data, such as... Figure 9 As shown, the method includes the following steps:
[0081] S301. For any product model in the target product set, search for the product model in the product model database of the data management system.
[0082] The product model database is set up by the product manufacturer and stored in the memory. The product model database contains the model information of all products.
[0083] In some embodiments, after obtaining product data, it is necessary to determine whether the product model in the product data exists in the product model database, and update the product data based on the result.
[0084] S302. If the product model exists in the product model database and the product model is in the discontinued state, delete the product data corresponding to the product model from one or more product data items and the product model database of the target product set.
[0085] For example, product data X is associated with 5 product models, all of which are currently on the market. On a certain date, product model N2 is discontinued. Therefore, the product data corresponding to product model N2 needs to be deleted from product data X and the product model database.
[0086] S303. If the product model does not exist in the product model library and / or the product model is in the pre-market status, add the product model to the product model library.
[0087] In some embodiments, if the status of a product model is pre-launch, it indicates that the product model is a newly developed product signal, and the product model needs to be added to the product model library.
[0088] In some embodiments, after a product model is added to the product model library, the product data can be updated based on the parts used in that product model. Figure 10 This is a flowchart illustrating another data management method provided in an embodiment of this application, used for updating product data, such as... Figure 10 As shown, the method includes the following steps:
[0089] S401. For any part used in the product model, search for the part in the parts library of the data management system.
[0090] In some embodiments, after a product model is added to the product model library, it is determined whether any part used by the product model exists in the parts library.
[0091] The parts library is set up by the product manufacturer and stored in the memory. The parts library contains information about all the parts used in the product.
[0092] S402. If the part does not exist in the part library, add the part to the part library.
[0093] In some embodiments, a new part is added to the part library if the part does not exist in the part library.
[0094] S403. If a part exists in the parts library and there is no association between the product model and the part, add an association between the product model and the part in the parts library.
[0095] In some embodiments, if a part exists in the parts library and there is no association between the product model and the part, an association between the product model and the part is added to the parts library.
[0096] S103. Arrange the edited product data according to the preset template of the product data manual to obtain the data manual of the target product set.
[0097] The preset template includes multiple data modules, with each data module corresponding to a data category of the product data.
[0098] In some embodiments, after the product data is structured and updated, an XML visual editing tool can be used to format the edited product data according to the preset template of the product manual, thereby obtaining the manual for the target product set.
[0099] Optionally, standardized editing includes two modes: automatic writing mode and manual writing mode.
[0100] For example, in automatic data writing mode, the system automatically extracts component parameters, unit comprehensive parameters, or noise parameters from the PLM according to the preset data categories and writes the product data.
[0101] For example, in manual editing mode, technicians can supplement, modify, or delete information that is not in the PLM, thereby improving the accuracy of typesetting.
[0102] In some embodiments, after all product data has been edited, the edited product data is formatted according to a preset template of the product data manual to obtain the data manual for the target product set.
[0103] Optionally, the brochure for the target product set can be presented in tabular form.
[0104] In some implementations, the templates for comprehensive parameter tables and part parameter tables may differ for different product types. Therefore, blank lines may appear in the completed manual. In this case, the blank lines need to be deleted to improve the readability of the page. Figure 11 This is a flowchart illustrating another data management method provided in an embodiment of this application, used to delete blank lines in a data manual, such as... Figure 11 As shown, the method includes the following steps:
[0105] S501. Obtain the total number of columns in the data manual and the target number of rows and columns in the data manual that are empty.
[0106] In some embodiments, rows in the datasheet containing only empty values are blank rows. When processing blank rows in the datasheet, starting from the first row, each column in that row is checked to see if all column values are empty. If not, the next row is processed.
[0107] It should be noted that, since there may be merged rows in the target row, the number of columns in the target row may be less than the total number of columns in the manual. In order to avoid accidentally deleting the contents of other rows when deleting blank rows, it is necessary to obtain the number of columns in the target row that is empty in the manual, and delete the blank rows in the manual based on the number of columns in the target row that is empty in the manual.
[0108] S502. Based on the total number of columns in the data manual and the number of target rows and columns with empty values in the data manual, determine whether there are merged rows in the target row.
[0109] In some implementations, when the total number of columns in the data manual is equal to the number of columns in the target row where the values are empty, it indicates that there are no merged rows in the target row.
[0110] Alternatively, if the total number of columns in the data manual is equal to the number of columns in the target row where the values are empty, it indicates that there are merged rows in the target row.
[0111] S503. If there are merged rows in the target row, delete the target row with an empty value in the data manual according to the number of merged rows.
[0112] In some embodiments, if the target row contains merged rows, directly deleting the row may accidentally delete data information in other rows. Therefore, in this case, the target row with an empty value in the data manual can be deleted based on the number of merged rows of the target row.
[0113] In some embodiments, when there are merged rows in the target row, the merged row is merged down one more row, and the relationship between the total number of columns in the manual and the number of columns in the target row with empty values in the manual is determined. When the total number of columns in the manual is greater than the number of columns in the target row with empty values in the manual, the more rows value of the target row is obtained.
[0114] It should be noted that the "more rows" value indicates the number of rows that the merged row has more than one row. For example, if the target row is merged from 2 rows, then "more rows" = 2 - 1 = 1. If the target row is merged from 3 rows, then "more rows" = 3 - 1 = 2.
[0115] In some embodiments, after obtaining the more rows value of the target row, the rows above the more rows are merged by 1, and then the target row is deleted.
[0116] In some embodiments, when the total number of columns in the data manual is equal to the number of columns in the target row where the value is empty, it means that there is no merged row in the target row, and the row can be deleted directly.
[0117] In some embodiments, after blank lines in the manual are deleted, the manual is packaged into a compressed data package, which is then imported into InDesign software to automatically match a pre-made template, perform layout, and complete the data management task.
[0118] S104. Upload the data manual for the target product set to the data management system.
[0119] In some embodiments, once the data manual for the target product set is completed, the data manual for the target product set is uploaded to the data management system for technical personnel to view and manually verify.
[0120] The technical solution provided in this application provides at least the following beneficial effects: This technical solution divides the creation of product data into two parts: editing and typesetting. Based on the technical parameters of the product in the product data, the product data is standardized and edited to form a structured data module. After obtaining the edited product data manual, this manual is matched to a preset template to complete the product data typesetting task. This achieves independent editing and typesetting of product data, automates the typesetting of the manual, reduces the error rate during editing and typesetting, and improves typesetting efficiency.
[0121] In some embodiments, steps S201-S202, S301-S303, and S401-S403 can also be achieved through methods such as... Figure 12 The flowchart shown is implemented. Figure 12 A flowchart illustrating another data management method provided in this application embodiment is shown below. Figure 12 As shown, the PLM main interface pushes update tasks, creates interface logs and document information, obtains and inherits the model relationship of the previous version of the document, and obtains the associated models pushed by the interface.
[0122] Furthermore, it is determined whether the associated model exists in the model database. If it exists, it is determined whether the status information of the associated model is in the discontinued state. If so, the model relationship of the document is deleted; otherwise, the model relationship of the document is added.
[0123] Alternatively, if the associated model does not exist in the model library, the associated model will be added to the model library, and then the document signal relationship will be added.
[0124] Furthermore, it checks whether the parts used for the associated model exist in the parts library. If they do, it checks whether a part relationship exists. If no part relationship exists, it adds a part relationship. If a part relationship exists, it ends the data update process.
[0125] Alternatively, if the part used for the associated model does not exist in the parts library, the part is added to the parts library first, and then the part relationship is added.
[0126] It should be noted that the PLM main interface has two functions: first, during initialization, it transmits data on documents and models, and models and parts; second, during changes, it transmits the changes in the relationship between documents and models.
[0127] The change in the relationship between the document and the model number is also the change in the status information of the product model.
[0128] In some embodiments, steps S501-S503 described above can also be performed as follows: Figure 13 The flowchart shown is implemented. Figure 13A flowchart illustrating another data management method provided in this application embodiment is shown below. Figure 13 As shown, obtain the number of columns n and the number of rows p to be processed in the table. Start looping through each row. If all column values of the row to be processed are empty, check if there are any merged rows in the row to be processed. If so, merge one row down and then check the relationship between p and n.
[0129] Furthermore, if p < n, then the more rows above the line to be processed are reduced by 1, and then that line is deleted before processing the next line. If p = n, then the line is deleted directly.
[0130] Alternatively, if at least one column value in the row to be processed is not empty, then process the row.
[0131] Alternatively, if the rows to be processed have not been merged, then directly determine the relationship between p and n.
[0132] In this embodiment of the invention, electronic products can be divided into functional modules according to the above method examples. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0133] When dividing each function into modules according to its corresponding function. Figure 14 This is a schematic diagram of the structure of a data management device provided in an embodiment of this application, as shown below. Figure 14 As shown, the data management device 200 may include an acquisition module 201 and a processing module 202.
[0134] In some embodiments, the acquisition module 201 is configured to acquire one or more product data of the target product set in response to a data management request for the target product set.
[0135] In some embodiments, the processing module 202 is used to edit one or more product data of the target product set according to preset rules to obtain the edited product data.
[0136] In some embodiments, the processing module 202 is further configured to format the edited product data according to a preset template of the product data manual to obtain a data manual for the target product set.
[0137] In some embodiments, the processing module 202 is further configured to upload the data manuals of the target product set to the data management system.
[0138] In some embodiments, the acquisition module 201 is further configured to acquire status information of each product model in the target product set.
[0139] In some embodiments, the processing module 202 is further configured to update one or more product data of the target product set according to the status information of each product model in the target product set.
[0140] In some embodiments, the processing module 202 is further configured to search for any product model in the product model database of the data management system for any product model in the target product set.
[0141] In some embodiments, the processing module 202 is further configured to delete the product data corresponding to the product model from one or more product data items of the target product set and the product model library when the product model exists in the product model library and the product model is in a discontinued state.
[0142] In some embodiments, the processing module 202 is further configured to add the product model to the product model library if the product model does not exist in the product model library and / or the product model is in a pre-market state.
[0143] In some embodiments, the processing module 202 is further configured to search for any part used in the data management system in the parts library for the product model.
[0144] In some embodiments, the processing module 202 is further configured to add the part to the parts library if the part does not exist in the parts library.
[0145] In some embodiments, the processing module 202 is further configured to add an association between the product model and the part in the parts library when the part exists in the parts library and there is no association between the product model and the part.
[0146] When using integrated units, Figure 15 A possible structural schematic diagram of the data management device involved in the above embodiments is shown. For example... Figure 15 As shown, the data management device 200 may further include a storage module 203 and a communication module 204. The communication module 204 can be used to support communication between the data management device and other entities. The storage module 203 is used to store the program code and data of the data management device.
[0147] In some embodiments, processing module 202 may be a processor or a controller. Storage module 203 may be a memory. Communication module 204 may be a transceiver, transceiver circuit, or communication interface, etc.
[0148] In this configuration, when the processing module 202 is a processor, the storage module 203 is a memory, and the communication module 204 is a transceiver, the processor, transceiver, and memory can be connected via a bus. The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc.
[0149] This invention also provides a computer-readable storage medium including computer-executable instructions that, when executed on a computer, cause the computer to perform the method provided in the above embodiments.
[0150] This invention also provides a computer program product that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program product can implement the methods provided in the above embodiments.
[0151] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this invention can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0152] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0153] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely exemplary; for instance, the division of modules or units is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed between each other may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate; components shown as units may be one physical unit or multiple physical units, i.e., they may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0154] Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a product (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0155] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A data management method, characterized in that, include: In response to a data management request for a target product set, one or more product data items of the target product set are obtained; wherein, the target product set includes one or more products, the product data includes the technical parameters adopted by the product, the design drawings of the product, and the material information of the product, the technical parameters adopted by the product include the product model, and the product data is associated with the product model so that the associated product model information is transmitted to the data management system; Obtain the status information of each product model in the target product set; the status information includes the withdrawal status or the pre-launch status; update one or more product data of the target product set according to the status information of each product model in the target product set; Edit one or more product data of the target product set according to preset rules to obtain edited product data; the preset rules include product data classification rules and the editing format corresponding to each data category of the product data. The edited product data is formatted according to the preset template of the product data manual to obtain the data manual for the target product set; the preset template includes multiple data modules, and each data module corresponds to a data category of the product data; Upload the data manuals for the target product set to the data management system.
2. The method according to claim 1, characterized in that, The step of updating one or more product data of the target product set based on the product model and the status information includes: For any product model in the target product set, search for that product model in the product model database of the data management system; If the product model exists in the product model database and the product model is in the discontinued state, the product data corresponding to the product model will be deleted from one or more product data items of the target product set and the product model database. If the product model does not exist in the product model library and / or the product model is in the pre-launch state, the product model will be added to the product model library.
3. The method according to claim 2, characterized in that, After adding the product model to the product model library, the method further includes: For any part used in the product model, search for the part in the parts library of the data management system; If the part does not exist in the parts library, add the part to the parts library; If the part exists in the parts library and there is no association between the product model and the part, add an association between the product model and the part to the parts library.
4. A data management device, characterized in that, include: The acquisition module is used to respond to a data management request for a target product set and acquire one or more product data of the target product set; wherein, the target product set includes one or more products, the product data includes the technical parameters adopted by the product, the design drawings of the product, and the material information of the product, the technical parameters adopted by the product include the product model, and the product data establishes an association relationship with the product model so that the associated product model information is transmitted to the data management system; The processing module acquires the status information of each product model in the target product set; the status information includes the withdrawal status or the pre-launch status; and updates one or more product data of the target product set according to the status information of each product model in the target product set. The processing module is also used to format the edited product data according to the preset template of the product data manual to obtain the data manual of the target product set; the preset template includes multiple data modules, and one data module corresponds to a data category of the product data; The processing module is also used to upload the data manual of the target product set to the data management system.
5. The apparatus according to claim 4, characterized in that, The processing module is also used to search for any product model in the product model database of the data management system for any product model in the target product set. The processing module is further configured to delete the product data corresponding to the product model from one or more product data items in the target product set and the product model library when the product model exists in the product model library and the product model is in the discontinued state. The processing module is further configured to add the product model to the product model library when the product model does not exist in the product model library and / or the product model is in a pre-market state.
6. The apparatus according to claim 5, characterized in that, The processing module is also used to search for any part used in the data management system in the parts library for the product model. The processing module is also used to add the part to the parts library if the part does not exist in the parts library; The processing module is further configured to, when the part exists in the parts library and there is no association between the product model and the part, add an association between the product model and the part in the parts library.
Citation Information
Patent Citations
Civil aircraft flight manual compilation system and compilation method
CN112380823A
Typesetting method and device driven by database
CN113326685A
