Method for changing data ownership of product data management system and related device
By automating the determination and batch conversion of data ownership, the problem of low efficiency caused by manual operation in product data management systems is solved, and fast and accurate data ownership management is achieved.
Patent Information
- Application Number
- CN202211049625.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2042-08-30
AI Technical Summary
Existing product data management systems rely too heavily on manual operations when changing data ownership, resulting in low efficiency and a high risk of errors, especially when objects have relationships or structures.
By identifying the target object and the types of all its data, including version data and parameter data, the system automatically determines and batches changes the permission owner, and leverages system functions to rewrite and achieve fast and accurate data ownership transfer.
It enables fast and accurate automated changes to data ownership, reducing manual operations, lowering the probability of errors, and improving operational efficiency.
Smart Images

Figure CN115438055B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive data deployment, and more particularly to a method and related equipment for changing data ownership in a product data management system. Background Technology
[0002] During vehicle development, each designer is responsible for the development of multiple components, meaning each owner possesses a lot of data. When personnel change or development tasks change, it is necessary to change data ownership in batches. Currently, the built-in functions of the market can only change the currently selected level by default and do not automatically traverse downwards and expand. When expanding manually, if there are relationships or structures between objects, all objects will be expanded. However, some objects do not need to be changed, which leads to low efficiency of manual operation and easy conversion errors. Summary of the Invention
[0003] In view of the above problems, the present invention provides a method and related equipment for changing the data ownership of a product data management system. The main purpose is to solve the problem that changing the data ownership of a product data management system relies too much on manual labor and lacks a simpler method.
[0004] To address at least one of the aforementioned technical problems, in a first aspect, the present invention provides a method for changing data ownership in a product data management system, the method comprising:
[0005] Identify the target object from which the permission owner needs to be changed;
[0006] Retrieve the types of the target object and all data under the target object, where the types include version data and parameter data;
[0007] Change the owner of the permissions for the target object and all the data under the target object based on the types of the target object and the data under the target object.
[0008] Optionally, changing the permission owner of the target object based on its type includes:
[0009] If the type of the target object is version data, obtain the release status of the target object;
[0010] If the publication status of the aforementioned target object is unpublished, change the ownership of the target object's permissions.
[0011] Optionally, the types for obtaining the target object and all data under the target object include:
[0012] When the type of the target object is parameter data, a dataset is created based on all the data under the target object.
[0013] Obtain the data types within the above dataset in sequence.
[0014] Optionally, the above methods also include:
[0015] Retrieve the release status of version data within the above dataset;
[0016] If the release status of the above version data is "unreleased", change the owner of the permissions for the above version data.
[0017] Optionally, the above methods also include:
[0018] If the release status of the above version data is "unreleased", obtain the special parameters of the above version data, including: view, attribute and lightweight model.
[0019] Optionally, when the release status of the aforementioned version data is unreleased, changing the permission owner of the aforementioned version data includes:
[0020] The owner of the permissions to change the special parameters of the aforementioned version data when the release status of the aforementioned version data is unreleased.
[0021] Optionally, the above methods also include:
[0022] Store all parameters in the above version data, except for special parameters, into the dataset;
[0023] Change the ownership of permissions for all parameters and data within the above dataset.
[0024] Secondly, embodiments of the present invention also provide an apparatus for changing data ownership in a product data management system, comprising:
[0025] The determination unit is used to identify the target object whose permission owner needs to be changed.
[0026] The acquisition unit is used to acquire the type of the target object and all data under the target object, wherein the type includes version data and parameter data;
[0027] The change unit is used to change the permission owner of the target object and the data under the target object based on the type of the target object and all data under the target object.
[0028] To achieve the above objectives, according to a third aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium comprising a stored program, wherein, when the program is executed by a processor, the steps of the above-described method for changing data ownership of a product data management system are implemented.
[0029] To achieve the above objectives, according to a fourth aspect of the present invention, an electronic device is provided, including at least one processor and at least one memory connected to the processor; wherein the processor is configured to invoke program instructions in the memory to execute the steps of the above-described method for changing data ownership of a product data management system.
[0030] By employing the above technical solution, the present invention provides a method and related equipment for changing data ownership in a product data management system. Addressing the problem of overly reliance on manual methods and the lack of a simpler approach for changing data ownership in product data management systems, the present invention identifies the target object whose ownership needs to be changed; obtains the target object and the types of all data under the target object, including version data and parameter data; and changes the ownership of the target object and its data based on the types of the target object and its data. In this solution, by rewriting the system's own functions to obtain the target object and the types of all data under the target object, it supports batch conversion of ownership for multiple data sets. Before conversion, it determines objects that meet the conditions, automatically obtains them, and performs batch conversion, thereby achieving fast, accurate, and automated changes to data ownership.
[0031] Accordingly, the device, equipment, and computer-readable storage medium for changing the data ownership of a product data management system provided in the embodiments of the present invention also have the above-mentioned technical effects.
[0032] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0033] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0034] Figure 1 A flowchart illustrating a method for changing data ownership in a product data management system according to an embodiment of the present invention is shown.
[0035] Figure 2 This diagram illustrates a schematic block diagram of a device for changing data ownership in a product data management system, as provided in an embodiment of the present invention.
[0036] Figure 3This diagram illustrates the composition of an electronic device for changing data ownership in a product data management system, as provided in an embodiment of the present invention. Detailed Implementation
[0037] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
[0038] To address the issue that changing data ownership in a product data management system relies too heavily on manual intervention and lacks a simpler method, this invention provides a method for changing data ownership in a product data management system, such as... Figure 1 As shown, the method includes:
[0039] S101. Identify the target object whose permission owner needs to be changed;
[0040] For example, you first need to select one or more target objects, including parts, digital models, drawings, etc., and a pop-up window will appear to change the owner. Select the new permission owner in the organization and click OK. The system will then seamlessly enter the background program code and reference the AIFComponentContext and TCComponentGroupMember methods to prepare for subsequent operations.
[0041] S102. Obtain the type of the target object and all data under the target object, wherein the type includes version data and parameter data;
[0042] For example, based on the selected data, it is determined whether the selected data is version data or parameter data.
[0043] S103. Change the ownership of permissions for the target object and all data under the target object based on the type of the target object and all data under the target object.
[0044] For example, the operation to change the permission owner is determined based on the target object and the type of all data under the target object.
[0045] By employing the above technical solution, the method for changing data ownership in a product data management system provided by this invention addresses the problem of over-reliance on manual methods and the lack of a simpler approach. This invention identifies the target object whose ownership needs to be changed; obtains the target object and the types of all data under the target object, including version data and parameter data; and changes the ownership of the target object and its data based on the types of the target object and its data. In this solution, by rewriting the system's own functions to obtain the target object and the types of all data under it, it supports batch conversion of ownership for multiple data sets. Before conversion, it identifies objects that meet the conditions, automatically obtains them, and performs batch conversion, thereby achieving fast, accurate, and automated changes to data ownership.
[0046] In one embodiment, changing the permission owner of the target object based on its type includes:
[0047] If the type of the target object is version data, obtain the release status of the target object;
[0048] If the publication status of the aforementioned target object is unpublished, change the ownership of the target object's permissions.
[0049] For example, to ensure the accuracy of the stored versions, the rights owner of the published versions will no longer be changed, and only the rights owner of the unpublished versions will be changed.
[0050] In one embodiment, the type of acquiring the target object and all data under the target object includes:
[0051] When the type of the target object is parameter data, a dataset is created based on all the data under the target object.
[0052] Obtain the data types within the above dataset in sequence.
[0053] For example, this method can batch change data of different data types, unify the data, and obtain all versions and views under the target object to form a data collection.
[0054] In one embodiment, the above method further includes:
[0055] Retrieve the release status of version data within the above dataset;
[0056] If the release status of the above version data is "unreleased", change the owner of the permissions for the above version data.
[0057] For example, to ensure the accuracy of the stored versions, this method also needs to obtain the publication status of the version data in the dataset. The permission owner of the published version data will not be changed, and only the permission owner of the unpublished version data will be changed.
[0058] In one embodiment, the above method further includes:
[0059] If the release status of the above version data is "unreleased", obtain the special parameters of the above version data, including: view, attribute and lightweight model.
[0060] For example, since different methods can obtain different types, method A can only obtain views, properties, and lightweight models, while method B can obtain things like text documents. Therefore, when the release status of the above version data is unreleased, we can obtain the special parameters of the above version data.
[0061] In one embodiment, changing the permission owner of the version data when the release status of the version data is unreleased includes:
[0062] The owner of the permissions to change the special parameters of the aforementioned version data when the release status of the aforementioned version data is unreleased.
[0063] For example, if the release status of the aforementioned version data is unreleased, the permission owner of the special parameters of the aforementioned version data can be changed without modifying the dataset, for ease of operation.
[0064] In one embodiment, the above method further includes:
[0065] Store all parameters in the above version data, except for special parameters, into the dataset;
[0066] Change the ownership of permissions for all parameters and data within the above dataset.
[0067] For example, this method stores all parameters in the aforementioned version data, except for special parameters, into the dataset; it then changes the ownership of all parameters and data within the dataset. Utilizing the interface methods provided by Teamcenter itself, it calls `getRelatedComponents` to retrieve all other relationships under the version and adds them to the dataset, and then calls Teamcenter's built-in `modify_owner` method to change the owner to the new owner.
[0068] For example, the specific implementation steps of this method may be:
[0069] Step 1: Select one or more target objects (non-object version), including parts, digital models, drawings, etc. A pop-up window will appear to change the owner. Select the new permission owner in the organization and click OK. The system will seamlessly enter the background program code, referencing the AIFComponentContext and TCComponentGroupMember methods to prepare for subsequent operations, and proceed to Step 2.
[0070] Step 2: Based on the selected data, determine whether the selected data is the target object itself or version data. If it is the data itself, proceed to Step 3; if it is version data, proceed to Step 6.
[0071] Step 3: Obtain all versions and views under the target object to form a data collection, then proceed to Step 4;
[0072] Step 4: Loop through the data set to check if it contains version data. If not, proceed to Step 5; if it does, proceed to Step 6.
[0073] Step 5: Call the Teamcenter's built-in "Modify Personnel" method to change the owner to the new owner;
[0074] Step 6: Determine if the currently looped version of data has been published. If it has been published, proceed to Step 4 and move on to the next data. If it has not been published, proceed to Step 7.
[0075] Step 7: Obtain the view, dataset, attributes, and lightweight model under the version data, then proceed to Step 8;
[0076] Step 8: Call the "Modify Personnel" method to change the owner; Step 9;
[0077] Step 9: Using the interface methods provided by Teamcenter itself, call getRelatedComponents to get all other relationships under the version and add them to the dataset, then proceed to Step 10;
[0078] Step 10: Call the Teamcenter's built-in "Modify Personnel" method to change the owner to the new owner.
[0079] For example, this method eliminates the need to select each object, version, and dataset for modification. Instead, multiple objects are selected, and the system automatically determines whether the object itself, version, and dataset are published and whether the user has permission to change the owner. This reduces the workload for designers and DBAs, lowers the probability of errors, and prevents data from being converted incorrectly.
[0080] Furthermore, as a response to the above Figure 1In addition to the implementation of the method shown, this embodiment of the invention also provides a device for changing the data ownership of a product data management system, used for the above-mentioned... Figure 1 The method shown is implemented accordingly. This device embodiment corresponds to the foregoing method embodiment. For ease of reading, this device embodiment will not repeat the details of the foregoing method embodiment, but it should be clear that the device in this embodiment can implement all the contents of the foregoing method embodiment. Figure 2 As shown, the device includes: a determining unit 21, an acquiring unit 22, and a modifying unit 23, wherein...
[0081] Determining unit 21 is used to determine the target object whose permission owner needs to be changed;
[0082] The acquisition unit 22 is used to acquire the type of the target object and all data under the target object, wherein the type includes version data and parameter data;
[0083] The modification unit 23 is used to change the permission owner of the target object and the data under the target object based on the type of the target object and all data under the target object.
[0084] For example, changing the permission owner of the target object based on its type includes:
[0085] If the type of the target object is version data, obtain the release status of the target object;
[0086] If the publication status of the aforementioned target object is unpublished, change the ownership of the target object's permissions.
[0087] For example, the types of data obtained from the target object and all data under the target object include:
[0088] When the type of the target object is parameter data, a dataset is created based on all the data under the target object.
[0089] Obtain the data types within the above dataset in sequence.
[0090] For example, the above-mentioned unit is also used for:
[0091] Retrieve the release status of version data within the above dataset;
[0092] If the release status of the above version data is "unreleased", change the owner of the permissions for the above version data.
[0093] For example, the above-mentioned unit is also used for:
[0094] If the release status of the above version data is "unreleased", obtain the special parameters of the above version data, including: view, attribute and lightweight model.
[0095] For example, when the release status of the aforementioned version data is unreleased, changing the permission owner of the aforementioned version data includes:
[0096] The owner of the permissions to change the special parameters of the aforementioned version data when the release status of the aforementioned version data is unreleased.
[0097] For example, the above-mentioned unit is also used for:
[0098] Store all parameters in the above version data, except for special parameters, into the dataset;
[0099] Change the ownership of permissions for all parameters and data within the above dataset.
[0100] By employing the above technical solution, the device for changing data ownership in a product data management system provided by this invention addresses the problem of over-reliance on manual methods and the lack of a simpler approach for changing data ownership in a product data management system. This invention identifies the target object whose ownership needs to be changed; obtains the target object and the types of all data under the target object, including version data and parameter data; and changes the ownership of the target object and its data based on the types of the target object and its data. In this solution, by rewriting the system's own functions to obtain the types of the target object and its data, it can support batch conversion of ownership for multiple data sets. Before conversion, it identifies objects that meet the conditions, automatically obtains them, and then performs batch conversion, thereby achieving fast, accurate, and automated changes to data ownership.
[0101] The processor contains a kernel, which retrieves the corresponding program unit from memory. One or more kernels can be configured. By adjusting kernel parameters, a method for changing data ownership in a product data management system can be implemented, addressing the problem that changing data ownership in a product data management system relies too heavily on manual intervention and lacks a simpler method.
[0102] This invention provides a computer-readable storage medium including a stored program that, when executed by a processor, implements the aforementioned method for changing data ownership in a product data management system.
[0103] This invention provides a processor for running a program, wherein the program executes the method for changing data ownership in a product data management system.
[0104] This invention provides an electronic device, which includes at least one processor and at least one memory connected to the processor; wherein the processor is configured to invoke program instructions in the memory to execute the method for changing data ownership of a product data management system as described above.
[0105] This invention provides an electronic device 30, such as... Figure 3 As shown, the electronic device includes at least one processor 301, and at least one memory 302 and bus 303 connected to the processor; wherein, the processor 301 and the memory 302 communicate with each other through the bus 303; the processor 301 is used to call program instructions in the memory to execute the above-mentioned method for changing the data ownership of the product data management system.
[0106] The smart electronic devices mentioned in this article can be PCs, tablets, mobile phones, etc.
[0107] This application also provides a computer program product, which, when executed on a process management electronic device, is suitable for executing a program that initializes the following method steps:
[0108] Identify the target object from which the permission owner needs to be changed;
[0109] Retrieve the types of the target object and all data under the target object, where the types include version data and parameter data;
[0110] Change the owner of the permissions for the target object and all the data under the target object based on the types of the target object and the data under the target object.
[0111] Furthermore, the above-mentioned method of changing the permission owner of the target object based on the type of the target object includes:
[0112] If the type of the target object is version data, obtain the release status of the target object;
[0113] If the publication status of the aforementioned target object is unpublished, change the ownership of the target object's permissions.
[0114] Furthermore, the types of data obtained from the target object and all data under the target object include:
[0115] When the type of the target object is parameter data, a dataset is created based on all the data under the target object.
[0116] Obtain the data types within the above dataset in sequence.
[0117] Furthermore, the above methods also include:
[0118] Retrieve the release status of version data within the above dataset;
[0119] If the release status of the above version data is "unreleased", change the owner of the permissions for the above version data.
[0120] Furthermore, the above methods also include:
[0121] If the release status of the above version data is "unreleased", obtain the special parameters of the above version data, including: view, attribute and lightweight model.
[0122] Furthermore, when the release status of the aforementioned version data is "unreleased," changing the permission owner of the aforementioned version data includes:
[0123] The owner of the permissions to change the special parameters of the aforementioned version data when the release status of the aforementioned version data is unreleased.
[0124] Furthermore, the above methods also include:
[0125] Store all parameters in the above version data, except for special parameters, into the dataset;
[0126] Change the ownership of permissions for all parameters and data within the above dataset.
[0127] This application is described with reference to flowchart illustrations and / or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable process management electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable process management electronic device, generate instructions for implementing the process... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0128] In a typical configuration, an electronic device includes one or more processors (CPUs), memory, and a bus. The electronic device may also include input / output interfaces, network interfaces, etc.
[0129] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM, and memory includes at least one memory chip. Memory is an example of computer-readable media.
[0130] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer-readable storage media for computers include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage electronic devices, or any other non-transferable medium that can be used to store information accessible to a computing electronic device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0131] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or electronic device. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or electronic device that includes that element.
[0132] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable, computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0133] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for changing data ownership in a product data management system, characterized in that, include: Identify the target object from which the permission owner needs to be changed; Obtain the type of the target object and all data under the target object, wherein the type includes version data and parameter data; Change the ownership of permissions for the target object and all data under the target object based on the type of the target object and all data under the target object; Changing the permission owner of the target object based on its type includes: If the type of the target object is version data, obtain the release status of the target object; If the target object's publication status is unpublished, change the owner of the target object's permissions; The types of data obtained from the target object and all data under the target object include: When the type of the target object is parameter data, a dataset is built based on all the data under the target object; The data types within the dataset are obtained sequentially; Get the release status of the version data within the dataset; If the release status of the version data is unreleased, change the owner of the permissions for the version data; When the release status of the version data is unreleased, changing the permission owner of the version data includes: When the release status of the version data is unreleased, the owner of the permission to change the special parameters of the version data; Store all parameters in the version data, except for special parameters, into the dataset; Change the permission owner for all parameters and data within the dataset.
2. The method according to claim 1, characterized in that, Also includes: When the release status of the version data is unreleased, obtain the special parameters of the version data, wherein the special parameters include: view, attribute and lightweight model.
3. An apparatus for changing data ownership in a product data management system, characterized in that, The determination unit is used to identify the target object whose permission owner needs to be changed. The acquisition unit is used to acquire the target object and the types of all data under the target object, wherein the types include version data and parameter data; The modification unit is used to change the permission owner of the target object and the data under the target object based on the type of the target object and all data under the target object; Changing the permission owner of the target object based on its type includes: If the type of the target object is version data, obtain the release status of the target object; If the target object's publication status is unpublished, change the owner of the target object's permissions; The types of data obtained from the target object and all data under the target object include: When the type of the target object is parameter data, a dataset is built based on all the data under the target object; The data types within the dataset are obtained sequentially; Get the release status of the version data within the dataset; If the release status of the version data is unreleased, change the owner of the permissions for the version data; When the release status of the version data is unreleased, changing the permission owner of the version data includes: When the release status of the version data is unreleased, the owner of the permission to change the special parameters of the version data; Store all parameters in the version data, except for special parameters, into the dataset; Change the permission owner for all parameters and data within the dataset.
4. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed by a processor, it implements the step of changing the data ownership of the product data management system as claimed in any one of claims 1 to 2.
5. An electronic device, characterized in that, The electronic device includes at least one processor and at least one memory connected to the processor; wherein the processor is configured to invoke program instructions in the memory to execute the step of changing the data ownership of the product data management system as claimed in any one of claims 1 to 2.
Citation Information
Patent Citations
Security object management system
US11144676B1
Mass modification of attribute values of objects
US20120166495A1