A performance optimization method for complex PDM systems
By decoupling the system deployment structure and optimizing the database buffer pool design, the problem of low response speed and operating efficiency of the complex PDM system is solved, efficient data transmission and resource management are achieved, and the efficiency of complex product development is improved.
Patent Information
- Application Number
- CN202111658740.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-30
AI Technical Summary
The response speed and operating efficiency of existing complex PDM systems cannot meet the needs of complex product research and development, and cannot effectively manage corporate business with long development cycles, complex industrial chains, and a large number of components.
By decoupling the system deployment structure, the software and hardware resources, user layer and application service layer are deployed on different servers respectively. Database buffer pool and index design are used to optimize the license allocation and data filtering modules to achieve data transfer only through address information. Carry out, reduce the actual content interpretation.
It greatly improves the response speed and operating efficiency of complex PDM systems, reduces system consumption, and ensures efficient data transmission and rational utilization of resources.
Smart Images

Figure CN114490038B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of product data management, and in particular to a performance optimization design method for a complex PDM system. Background Art
[0002] The PDM system is a software platform that supports product development and is used to manage all product-related information, including component information, configuration information, CAD documents, descriptive documents, product organizational structure, component spatial location relationships, permission information, etc., as well as all product-related processes, including the definition and management of product development processes.
[0003] The development of complex products, such as aircraft, launch vehicles, and large ships, mostly has the characteristics of long development cycles, complex industrial chain supporting relationships, frequent changes in demand, a large number of components, and a wide range of professional fields involved. The traditional engineering management model cannot be used for effective management, so most complex product development manufacturers at home and abroad use PDM systems to manage the entire life cycle of product development with the help of information technology.
[0004] The use of PDM system enables product data to be highly integrated, coordinated and shared, and the product development process to be highly optimized and reorganized, which greatly improves the efficiency of product development and brings huge benefits to enterprises. As PDM system plays an increasingly important role in enterprises, various business activities are increasingly dependent on PDM system, so the performance of PDM system has become the focus of attention of all parties in the enterprise, and the response speed and operation efficiency of existing PDM system are increasingly difficult to meet the needs.
[0005] Therefore, how to optimize the performance of complex PDM systems and improve response speed and operating efficiency is a problem that needs to be solved. Summary of the invention
[0006] The purpose of this application is to provide a complex PDM system performance optimization design method to solve the problem that the response speed and operation efficiency of the complex PDM system in the prior art are difficult to meet the research and development needs of current complex products.
[0007] The technical solution of the present application is: a method for optimizing the performance of a complex PDM system, including: decoupling the system deployment structure, deploying the software and hardware resources in the system deployment architecture on different servers, and each software and hardware resource on the server, each user at the user layer, and the server at the application service layer are all regarded as a node; when each user at the user layer uses it, the application service layer allocates a license to each user, and after the user logs in to the PDM system with the license, the corresponding software and hardware resources are allocated to the user; the user publishes a subscription command according to demand, and the subscription command contains the subscription information of the corresponding node, the target address information, and the user's address information; the data layer receives the subscription information and searches and publishes the corresponding data packet according to the address information, and then moves the data packet to the corresponding user location according to the user's address information, and the user takes out the data packet to complete the subscription.
[0008] Preferably, the method for deploying software and hardware resources within the system deployment architecture includes: when establishing the system structure, first recording the hard disk space, number of CPUs, and memory size on each server, and at the same time recording the category and occupancy size of each module in the application service, database, and electronic warehouse, planning the service capabilities on each server, and after all resources are planned, deploying different services to different servers in turn.
[0009] Preferably, the method for accessing data in the database buffer pool includes: all data interfaces connected to the database are registered in the database buffer pool, the user issues an acquisition command to the database buffer pool, the database buffer pool obtains the user command and connects to the corresponding part of the database in the data layer; the database packages the required content, the database obtains the address of a non-occupied unit in a memory space, and puts it into the unit space; and records the storage address of the data packet in the memory space, and returns the storage address to the user, and the user takes out the data packet in the memory space according to the storage address.
[0010] Preferably, the database buffer pool is provided with a memory space search module, and the memory space search module can search for the occupied or unoccupied status of all unit spaces in the memory space.
[0011] Preferably, the database index design method includes: classifying all data according to the database index, when a user processes the data, recording the index category corresponding to the data content, judging the specific content of the user's operations of adding, deleting, and modifying data in this category within a time period, and then judging the content that needs to be added, deleted, or modified in the index content based on the above content.
[0012] Preferably, the license allocation method of the application service layer includes: classifying users who need licenses and allocating a certain number of licenses to each category; when any user logs in, it is necessary to first determine the category to which he belongs, and then find a license in the category to which he belongs and allocate it to the user, and record it; if it is determined that the license is not available, a license search module is provided to search for unoccupied licenses in the category, allocate them to the user, and again determine whether the required license is available. If available, use the license and register it; if not possible, search again until a available license in the category is found.
[0013] Preferably, a data screening module for screening the data generated by the user is provided in the user layer, and the screening method of the data screening module includes: analyzing and identifying the resource data generated by the user, finding out the data that needs to be retained and the data that can be deleted, and releasing the releasable data and saving the data that needs to be retained during the process of completing a time cycle and restarting.
[0014] Preferably, the method for allocating user software and hardware resources includes: recording all software and hardware resources used by each user within a time period, and when reaching a node between two adjacent periods, saving the data generated during the operation of the software and hardware to a data screening module, and then clearing the data in all used software and hardware resources, and after reaching the next time period, reallocating the software and hardware resources according to user needs.
[0015] The present application discloses a method for optimizing the performance of a complex PDM system, which decouples the system deployment structure and separates the close relationship between the user layer, the application service layer and the data layer. In this way, when a user needs some data, he only needs to send the corresponding address information. The data pool finds the corresponding data packet in the database based on the address information and the database index, and stores the data packet in the data pool. The user then obtains the data packet based on the address information of the corresponding data packet in the data pool. In this way, the data transmission of the entire system only needs to send and receive data based on the address information, and the system does not need to interpret the actual content in the data packet, which greatly improves the response speed and operation efficiency of the complex PDM system, while greatly reducing the operation consumption. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solution provided by the present application, the following is a brief introduction to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present application.
[0017] Figure 1 This is a schematic diagram of the overall process of this application. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solutions and advantages of the implementation of this application clearer, the technical solutions in the embodiments of this application will be described in more detail below in conjunction with the drawings in the embodiments of this application.
[0019] A performance optimization design method for complex PDM systems, such as Figure 1 As shown, the following steps are included:
[0020] Step S100, decoupling the system deployment structure, deploying the software and hardware resources in the system deployment architecture on different servers, and each software and hardware resource on the server, each user at the user layer, and the server at the application service layer are all regarded as a node;
[0021] The complex PDM system is divided into the data layer, application service layer and user layer in terms of architecture. The user layer includes database data and electronic warehouse data. Database data stores structured data in relational data, such as component attributes, status information, etc.; electronic warehouse data stores unstructured data in the file system or disk, such as CAD documents, technical description documents, etc. Different types of data have different requirements for server hardware and software.
[0022] The deployment methods of software and hardware resources in the system deployment architecture include:
[0023] When establishing the system structure, the hard disk space, number of CPUs, and memory size on each server are first recorded. At the same time, the category and size of each module in the application service, database, and electronic warehouse are recorded, and the service capacity on each server is planned. After all resources are planned, different services are deployed to different servers in turn.
[0024] By allocating different software and hardware resources to different servers, the system deployment architecture forms a separated structure. Application services, databases, and electronic warehouses are installed and deployed on different servers respectively. Resources are allocated according to their different demands for software and hardware resources, so that server software and hardware resources can be reasonably and maximized.
[0025] Step S200, when each user of the user layer uses it, the application service layer allocates a license to each user, and after the user logs into the PDM system with the license, the corresponding software and hardware resources are allocated to the user;
[0026] A periodic restart service is set up in the application service layer, that is, the application service layer will restart at regular intervals, such as 24 hours. A certain number of licenses are stored in the application service layer. Users need licenses every time they log in. After each restart of the application service layer, licenses need to be reallocated. However, in actual work, some users may not be allocated licenses. Therefore, it is necessary to optimize the license allocation method of the application service layer.
[0027] The license allocation methods for the application service layer include:
[0028] Users who need licenses are classified, and a certain number of licenses are allocated to each category. When any user logs in, he needs to first determine the category he belongs to, and then find a license in the category he belongs to and allocate it to the user, and record it. If it is determined that the license is not available, a license search module is provided to search for unoccupied licenses in the category, allocate them to the user, and then determine again whether the required license is available. If available, use the license and register it. If not possible, search again until an available license in the category is found.
[0029] Categorizing licenses and setting up retrieval services can ensure that each user can be assigned the required license.
[0030] When a user logs into the PDM system, the system will generate some temporary files related to the user in the temporary directory. As the user uses it, the number of temporary files and the space they occupy will increase, which will affect the performance of the system. Regularly delete the temporary files of users in the system to release the occupied storage space and file index resources in time, speed up the speed of users reading and writing temporary files, and thus improve the access efficiency of the system.
[0031] Step S300: The user publishes a subscription command according to the demand. The subscription command includes the subscription information of the corresponding node, the target address information, and the user's address information. The database buffer pool receives the subscription command and connects to the corresponding position of the data layer according to the database index.
[0032] The sending and receiving of data packets between the user and the database is realized by establishing a database buffer pool. The database buffer pool is a memory for caching database tables or index data pages.
[0033] Methods for accessing data in the database buffer pool include:
[0034] The database buffer pool registers all data interfaces connected to the database. The user issues an acquisition command to the database buffer pool, and the database buffer pool acquires the user command and connects to the corresponding part of the database in the data layer.
[0035] The database packages the required content, obtains the address of a non-occupied unit in the memory space, and puts it in the unit space; and records the storage address of the data packet in the memory space, and returns the storage address to the user, and the user takes out the data packet in the memory space according to the storage address.
[0036] Preferably, the database buffer pool is provided with a memory space search module, and the memory space search module can search for the occupied or unoccupied status of all unit spaces in the memory space.
[0037] By establishing a database buffer pool, applications are allowed to reuse database connections that already exist in the pool to avoid repeatedly establishing new database connections. This effectively improves the scalability of applications and reduces the overhead of constantly connecting to the database. The background table structure of a complex PDM system is intricate, with a large number of tables and indexes and a large number of database transactions. An independent database buffer pool is established for the PDM system, and the default database buffer pool is not used, thereby improving the access performance of the database.
[0038] Preferably, in order to realize the rapid storage of data packets, a database indexing function is established for periodic maintenance, and the database indexing design method includes:
[0039] All data are classified according to the database index. When a user processes the data, the index category corresponding to the data content is recorded, and the specific content of the user's operations of adding, deleting, and modifying data in this category within a time period is determined. Then, based on the above content, the content that needs to be added, deleted, or modified in the index content is determined.
[0040] Database index is like the table of contents at the front of a book, which can greatly speed up the access to the database and improve the performance of the system. By creating a unique index, the uniqueness of each row of data in the database table can be guaranteed; the connection between tables can be accelerated to achieve the reference integrity of the data; the time for grouping and sorting in the query can be significantly reduced; and the optimization hider can be used in the query process to improve the performance of the system. The user's operations of adding, deleting, and modifying data in the PDM system are a series of database operations, which will affect or even destroy the database index. By regularly maintaining the PDM system database index, the database index can be repaired, sorted, and improved, thereby speeding up the access to the database.
[0041] In step S400, the data layer receives the subscription information and searches for and publishes the corresponding data packet according to the address information, and then moves the data packet to the database buffer pool according to the user's address information, and sends the address information of the data packet in the database buffer pool to the corresponding user location. The user takes out the data packet in the buffer pool according to the address information to complete the subscription.
[0042] When a user logs into the PDM system, the system will allocate the corresponding hardware and software resources to the user; when the user has finished using and exited safely, the system will release the corresponding resources for other users to use. However, if the user fails to exit in time after use, the occupied resources cannot be released. At the same time, sometimes there are some broken processes occupying system resources, which will affect the performance of the system. Therefore, it is necessary to filter the data.
[0043] A data screening module is provided in the user layer to screen the data generated by the user. The screening method of the data screening module includes:
[0044] Analyze and identify the resource data generated by users, find out the data that needs to be retained and the data that can be deleted, and release the releasable data and save the data that needs to be retained during the process of completing a time cycle and restarting.
[0045] The allocation methods of user software and hardware resources include:
[0046] All software and hardware resources used by each user within a time period are recorded. When reaching the node between two adjacent periods, the data generated during the operation of the software and hardware is saved to the data screening module, and then the data in all used software and hardware resources is cleared. After reaching the next time period, the software and hardware resources are reallocated according to user needs.
[0047] Select a time period with low user frequency (such as early morning) every day, restart the application service regularly, and forcibly reclaim system resources. When the user logs in again the next day, the system will reallocate resources. This will prevent some users or dead processes from occupying resources for a long time and not releasing them in time, thus improving system performance.
[0048] By decoupling the system deployment structure and separating the close relationship between the user layer, application service layer and data layer, when users need some data, they only need to send the corresponding address information. The data pool finds the corresponding data packet in the database based on the address information and the database index, and stores the data packet in the data pool. The user then obtains the data packet based on the address information of the corresponding data packet in the data pool. In this way, the data transmission of the entire system only needs to send and receive data based on the address information, and the actual content in the data packet does not need to be interpreted by the system, which greatly improves the response speed and operation efficiency of the complex PDM system, and at the same time greatly reduces the operation consumption. The data packet also does not need to be interpreted when it is stored, and only the address information is transmitted.
[0049] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A complex PDM system performance optimization design method, characterized in that: include: Decouple the system deployment structure. The software and hardware resources in the system deployment architecture are deployed on different servers. Each software and hardware resource on the server, each user at the user layer, and the server at the application service layer are all considered as a node. When each user in the user layer uses it, the application service layer allocates a license to each user. After the user logs into the PDM system with the license, the corresponding software and hardware resources are allocated to the user. The user publishes a subscription command based on demand. The subscription command contains the subscription information of the corresponding node, the target address information, and the user's address information. The database buffer pool receives the subscription command and connects to the corresponding position of the data layer based on the database index. The data layer receives the subscription information and searches for and publishes the corresponding data packet according to the address information. Then, the data packet is moved to the database buffer pool according to the user's address information, and the address information of the data packet in the database buffer pool is sent to the corresponding user location. The user takes out the data packet in the buffer pool according to the address information to complete the subscription. The method for accessing data in the database buffer pool includes: The database buffer pool registers all data interfaces connected to the database. The user issues an acquisition command to the database buffer pool, and the database buffer pool acquires the user command and connects to the corresponding part of the database in the data layer. The database packages the required content, obtains the address of a non-occupied unit in the memory space, and puts it into the space of the unit; and records the storage address of the data packet in the memory space, and returns the storage address to the user, and the user takes out the data packet in the memory space according to the storage address; The database index design method includes: All data is classified according to the database index. When a user processes data, the index category corresponding to the data content is recorded, and the specific content of the user's operations of adding, deleting, and modifying data in this category within a time period is determined. Then, based on the above content, the content that needs to be added, deleted, or modified in the index content is determined; The license allocation method of the application service layer includes: Users who need licenses are classified, and a certain number of licenses are allocated to each category. When any user logs in, he needs to first determine the category he belongs to, and then find a license in the category he belongs to and allocate it to the user, and record it. If it is determined that the license is not available, a license search module is provided to search for unoccupied licenses in the category, allocate them to the user, and then determine whether the license is available. If available, use the license and register it. If unavailable, search again until a available license in the category is found.
2. The complex PDM system performance optimization design method according to claim 1, characterized in that: The method for deploying software and hardware resources in the system deployment architecture includes: When establishing the system structure, the hard disk space, number of CPUs, and memory size on each server are first recorded. At the same time, the category and size of each module in the application service, database, and electronic warehouse are recorded, and the service capacity on each server is planned. After all resources are planned, different services are deployed to different servers in turn.
3. The complex PDM system performance optimization design method according to claim 1, characterized in that: The database buffer pool is provided with a memory space search module, and the memory space search module can search for the occupied or non-occupied status of all unit spaces in the memory space.
4. The complex PDM system performance optimization design method according to claim 1, characterized in that: The user layer is provided with a data screening module for screening the data generated by the user, and the screening method of the data screening module includes: Analyze and identify the resource data generated by users, find out the data that needs to be retained and the data that can be deleted, and release the releasable data and save the data that needs to be retained during the process of completing a time cycle and restarting.
5. The complex PDM system performance optimization design method according to claim 4, characterized in that: The method for allocating user software and hardware resources includes: All software and hardware resources used by each user within a time period are recorded. When reaching the node between two adjacent periods, the data generated during the operation of the software and hardware is saved to the data screening module, and then the data in all used software and hardware resources is cleared. After reaching the next time period, the software and hardware resources are reallocated according to user needs.
Citation Information
Patent Citations
Data control platform and architecture
CN105760520A
Application upgrading data package processing method and device, electronic equipment, and system
CN105812435A
