Railway wagon configuration control method, apparatus, medium and device
By using a configuration coding library and a structure tree generation method in railway freight car configuration control, the problem of difficulty in identifying configuration item changes in existing technologies has been solved, achieving precise control and efficient change tracing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CRRC YANGTZE GRP CO LTD
- Filing Date
- 2026-02-05
- Publication Date
- 2026-05-29
AI Technical Summary
The current railway freight car configuration control relies on static BOM structure or manual records, which makes it difficult to accurately identify the affected configuration items when products are changed, resulting in low efficiency in change transmission and traceability.
By extracting the functional and positional codes of the target configuration item from the configuration coding library, establishing a mapping relationship, and generating a functional structure tree and a positional structure tree, precise control and change tracking of the configuration item can be achieved.
It improves the configuration control accuracy of railway freight car products and the efficiency of subsequent change traceability, reduces workload and improves system resource utilization efficiency.
Smart Images

Figure CN122114887A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of configuration control technology, and in particular relates to a method, device, medium and equipment for railway freight car configuration control. Background Technology
[0002] During the operation and maintenance of railway freight cars, it is necessary to control changes to established baselines to ensure that changes to product configuration items and configuration documents are always under control. Current railway freight car configuration control largely relies on static BOM (Bill of Materials) structures or manual records, which may lead to difficulties in accurately identifying affected configuration items when products change, resulting in low efficiency in subsequent change transfer and traceability. Summary of the Invention
[0003] The embodiments of this application provide a railway freight car configuration control method, apparatus, medium, and equipment, which at least to some extent help improve the configuration control accuracy of railway freight car products and the efficiency of subsequent change traceability.
[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.
[0005] The first aspect of this application provides a railway freight car configuration control method, including: Obtain the target configuration item that matches the project configuration requirements, and extract the target configuration code of the target configuration item from the configuration coding library; wherein, the configuration coding library includes configuration codes of several configuration items, each configuration code includes a function code and a position code, the function code is a unique identifier of the configuration item in the functional hierarchy structure, and the position code is a unique identifier of the configuration item in the position hierarchy structure; Establish a mapping relationship between the functional encoding and positional encoding of the target configuration item; A functional structure tree is generated based on the node position of the target configuration item in the functional hierarchy, and a position structure tree is generated based on the node position of the target configuration item in the position hierarchy; wherein the target configuration item node in the functional structure tree and the target configuration item node in the position structure tree have the mapping relationship.
[0006] Optionally, extracting the target configuration code of the target configuration item from the configuration coding library includes: Obtain the identity identifier of the target configuration item; Search the configuration code library for the target configuration code corresponding to the identity identifier.
[0007] Optionally, the target configuration item includes multiple functional sub-components, and establishing the mapping relationship between the functional encoding and positional encoding of the target configuration item includes: Establish a coding matrix diagram between the function codes and position codes of each of the aforementioned functional sub-components; The association between the functional code and the position code of each functional sub-component is identified in the coding matrix diagram, and a mapping relationship between the functional code and the position code of the functional sub-component is established based on the association.
[0008] Optionally, generating a functional structure tree based on the node position of the target configuration item in the functional hierarchy includes: The position of the first node of the target configuration item in the functional hierarchy is determined based on the functional code of the target configuration item; The functional structure tree is generated based on the functional transfer path between the first node position and the root node of the functional hierarchy.
[0009] Optionally, generating a position structure tree based on the node positions of the target configuration item in the position hierarchy includes: The second node position of the target configuration item in the position hierarchy is determined based on the position code of the target configuration item; The position structure tree is generated based on the positional adjacency relationship between the second node and the root node of the position hierarchy.
[0010] Optionally, before obtaining the target configuration item that matches the project configuration requirements, the method further includes: Based on the functional modules of railway freight cars, functional hierarchical division is carried out to generate an initial functional code library; The location hierarchy is divided according to the physical layout of railway freight cars to generate an initial location code library; The initial function encoding library and the initial position encoding library are bidirectionally mapped to obtain the configuration encoding library.
[0011] Optionally, after generating a position structure tree based on the node positions of the target configuration item in the position hierarchy, the method further includes: Configure an applicability identifier for the target configuration item node in the functional structure tree and / or the location structure tree, wherein the applicability identifier is used to characterize the scope of applicability of the target configuration item in the project.
[0012] Optionally, the project configuration requirements correspond to the configuration requirements of at least one vehicle body, each vehicle body has a sequential number, and the functional structure tree includes: the project functional structure tree and the vehicle body functional structure tree for each vehicle body; and / or, the location structure tree includes: the project location structure tree and the vehicle body location structure tree for each vehicle body.
[0013] Optionally, the applicability identifier includes: the version identifier of the drawing to which the target configuration item node applies and the production sequence number of the vehicle body.
[0014] Optionally, after configuring an applicability identifier for the target configuration item node in the functional structure tree and / or the location structure tree, the method further includes: If the change information of the applicability identifier is collected, the applicability identifier of the target configuration item in the functional structure tree and / or the location structure tree is updated based on the changed applicability identifier.
[0015] Optionally, after configuring an applicability identifier for the target configuration item node in the functional structure tree and / or the location structure tree, the method further includes: If the change information of the applicability identifier is collected, the applicability identifier of the target configuration item in the target structure tree is updated based on the changed applicability identifier; The target structure tree includes at least one of the project function structure tree, the vehicle body function structure tree, the project location structure tree, and the vehicle body location structure tree.
[0016] Optionally, after updating the applicability identifiers of the target configuration items in the functional structure tree and / or the location structure tree based on the modified applicability identifiers, the method further includes: In response to a user's configuration control traceability request, the updated applicability identifier's corresponding functional structure tree and / or location structure tree are displayed to the user based on the configuration control traceability request.
[0017] A second aspect of this application provides a railway freight car configuration control device, comprising: The encoding extraction unit is used to obtain target configuration items that match the project configuration requirements and extract the target configuration code of the target configuration item from the configuration encoding library; wherein, the configuration encoding library includes configuration codes of several configuration items, each configuration code includes a function code and a position code, the function code is a unique identifier of the configuration item in the functional hierarchy structure, and the position code is a unique identifier of the configuration item in the position hierarchy structure; A mapping establishment unit is used to establish a mapping relationship between the functional encoding and positional encoding of the target configuration item; A structure tree generation unit is used to generate a functional structure tree based on the node position of the target configuration item in the functional hierarchy structure, and to generate a position structure tree based on the node position of the target configuration item in the position hierarchy structure; wherein the target configuration item node in the functional structure tree and the target configuration item node in the position structure tree have the mapping relationship.
[0018] A third aspect of this application provides a computer-readable storage medium storing at least one computer program instruction, which is loaded and executed by a processor to perform the operations described in any of the methods described in the first aspect.
[0019] A fourth aspect of this application provides an electronic device including one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, and the at least one piece of program code is loaded and executed by the one or more processors to perform the operation as described in any of the methods in the first aspect.
[0020] The one or more technical solutions provided in the embodiments of the present invention achieve at least the following technical effects or advantages: The railway freight car configuration control method of this application includes: obtaining target configuration items that match project configuration requirements; extracting target configuration codes of target configuration items from a configuration coding library; wherein the configuration coding library includes configuration codes of several configuration items, each configuration code including a function code and a position code, the function code being a unique identifier of the configuration item in the functional hierarchy structure, and the position code being a unique identifier of the configuration item in the position hierarchy structure; establishing a mapping relationship between the function code and the position code of the target configuration item; generating a functional structure tree based on the node position of the target configuration item in the functional hierarchy structure, and generating a position structure tree based on the node position of the target configuration item in the position hierarchy structure; wherein the target configuration item nodes in the functional structure tree and the target configuration item nodes in the position structure tree have a mapping relationship. Therefore, this application embodiment sets functional codes and regional codes for each configuration item node, and generates a structure tree based on the node position of the configuration item node in the hierarchical structure during structure tree design, that is, reverse structure tree construction, which effectively reduces the workload. Moreover, the target configuration item node in the functional structure tree and the target configuration item node in the position structure tree have a mapping relationship with each other, which helps to improve the configuration control accuracy of railway freight car products and the efficiency of subsequent change traceability.
[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0022] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can derive other drawings from these drawings without creative effort. In the drawings: Figure 1 A flowchart of a railway freight car configuration control method according to an embodiment of this application is shown; Figure 2 A structural diagram of a railway freight car configuration control device according to an embodiment of this application is shown; Figure 3 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation
[0023] 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 a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0024] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.
[0025] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different models and / or processor devices and / or microcontroller devices.
[0026] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0027] It should also be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such uses of these terms can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described.
[0028] The configuration item of a railway freight car can refer to the item established to distinguish and define the differences in structural form, functional configuration, technical parameters and application categories of railway freight cars, and it runs through the entire life cycle of freight car design, manufacturing, operation and maintenance.
[0029] For example, the configuration items of a railway freight car may include: the basic shape of the car body, the running gear and load-bearing structure, dimensions and load parameters, functions and auxiliary equipment, etc. Among these, the basic shape of the car body can be... Open wagons without roofs, boxcars with doors and windows, flatcars with only a floor, and special tank cars, etc.; the running gear and load-bearing structure can be the number of bogie axles (such as two-axle and three-axle), the body load-bearing method (such as underframe load-bearing or integral load-bearing), and the model of the coupler buffer device; the size and load-bearing parameters can be the vehicle distance, vehicle length, width and maximum height, tare weight, and maximum load, etc.; the functions and auxiliary equipment can be configured according to the needs of transporting goods, such as hoppers, multi-layer racks, special binding devices, insulation or pressurization systems, etc.
[0030] During the operation and maintenance of railway freight cars, it is necessary to control changes to established baselines to ensure that changes to product configuration items and configuration documents are always under control. Current railway freight car configuration control largely relies on static BOM (Bill of Materials) structures or manual records, which may lead to difficulties in accurately identifying affected configuration items when products change, resulting in low efficiency in subsequent change transfer and traceability.
[0031] The railway freight car configuration control method of this application embodiment will be described below with reference to the accompanying drawings.
[0032] Figure 1 A flowchart of a railway freight car configuration control method according to an embodiment of this application is shown.
[0033] The first aspect of this application provides a railway freight car configuration control method, including but not limited to: Step S10. Obtain the target configuration item that matches the project configuration requirements, and extract the target configuration code of the target configuration item from the configuration code library; wherein, the configuration code library includes configuration codes of several configuration items, each configuration code includes a function code and a position code, the function code is the unique identifier of the configuration item in the functional hierarchy structure, and the position code is the unique identifier of the configuration item in the position hierarchy structure; In some embodiments, prior to obtaining the target configuration item that matches the project configuration requirements, the method further includes: Step S01. Divide the functions into functional levels according to the functional modules of railway freight cars and generate an initial functional code library; Step S02. Divide the location hierarchy according to the physical layout of railway freight cars and generate an initial location code library; Step S03. Perform bidirectional mapping on the initial function encoding library and the initial position encoding library to obtain the configuration encoding library.
[0034] In steps S01-S03, for railway freight cars, various project information of railway freight car products is obtained, including: technical specification documents, parts list, system architecture diagram and key performance parameters.
[0035] In step S01, based on project information, functional decomposition is performed, dividing the overall function of the freight car into major functional modules such as the power system, braking system, traction control, car body structure, bogie, and air conditioning system. Each major functional module is further decomposed into secondary functional units, and each secondary functional unit is further decomposed into specific functional sub-units, thus forming a complete functional hierarchy structure. After the functional hierarchy structure is established, each level corresponds to a code, for example, A represents a first-level function, B represents a second-level function, and C represents a specific functional unit. Therefore, for a certain configuration item, according to its position in the functional hierarchy structure, it can be assigned a corresponding functional code. For example, the functional code for axle assembly is DC, where D represents axle assembly and C represents a specific functional unit; another example is the functional code for a wheel, DC-02, where D-02 represents wheel number 02 in the axle assembly. This ensures that each configuration item has a unique functional code, thereby generating an initial functional code library. The initial functional code library includes the functional codes of each basic configuration item of the railway freight car.
[0036] Furthermore, by collecting physical layout data of railway freight cars and using 3D scanning technology to obtain dimensional data of the car body structure, key spatial parameters are extracted in conjunction with design drawings. From this data, installation space boundary values (used to define the installation boundaries of components) and interface layout requirements are extracted (for example, if component A is connected to component B, then component A needs to provide an interface to connect to component B). Based on the installation space boundary values and interface layout requirements, railway freight cars can be divided into regions, such as the roof area, front area, underframe area, equipment compartment area, and passenger compartment area. Each main area can be further divided into multiple sub-areas, and each sub-area can be further divided into multiple specific installation locations, thus forming a complete position hierarchy structure. After the position hierarchy structure is established, each level corresponds to a position code, for example, X represents a first-level area, YY represents a second-level area, and ZZZ represents a specific installation location. Therefore, for a certain configuration item, according to its position in the position hierarchy structure, it can be assigned a corresponding position code. For example, the position code for the first axle area of a bogie is 91.10, and the position code for the left area of the first axle area of a bogie is 91.11. This ensures that each configuration item has a unique position code, thereby generating an initial position code library. The initial position code library includes the position codes of each basic configuration item of the railway freight car.
[0037] In step S03, the initial function coding library and the initial position coding library are combined to generate an initial mapping set. A mapping relationship table is established for each group of functions and positions in the initial mapping set. Based on the mapping relationship table, suitable function-position combinations are selected and integrated into a configuration coding, constructing a configuration coding library containing function coding and position coding. For example, the configuration coding adopts the ABCXYZ format, e.g., DC02-91.11, where DC02 is the function coding and 91.11 is the position coding. Thus, a mapping relationship between function coding and position coding is established.
[0038] In step S10, for each specific project, the configuration requirements are different. For example, a project, due to its need to transport special goods, requires a unit braking device suitable for cold environments and equipped with an eddy current retarder function. Based on this requirement, a target configuration item that meets the requirements will be configured, and the configuration code of the target configuration item will be looked up in the configuration code library. For example, the target configuration code is identified as BD-08-83.05, where BD-08 serves as a function code, uniquely pointing to the specific functional unit of braking system - basic braking 1 - unit braking device (eddy current assisted type), and 83.05 serves as a position code, uniquely corresponding to the installation position on the right side of the second axle of the three-position bogie, ensuring that the special functional requirements of the project can be accurately implemented in the specific physical space of the vehicle.
[0039] In some embodiments, extracting the target configuration code of the target configuration item from the configuration coding library includes: In step S101, the identity identifier of the target configuration item is obtained; In step S102, the target configuration code corresponding to the identity identifier is queried in the configuration code library.
[0040] In steps S101-S102, the identifier of the target configuration item is its index within the management system. This identifier can be a unique part number, such as an internal part code. Using this identifier as a query condition, a search and matching operation is performed in the established configuration code library. Each configuration item in this library is stored in the function code-location code combination format described earlier. By comparing and extracting the target configuration code corresponding to the input identifier, the project configuration requirements are converted into identifiable digital configuration instructions.
[0041] Step S20. Establish the mapping relationship between the functional encoding and positional encoding of the target configuration item; In some embodiments, the target configuration item includes multiple functional components, and establishing the mapping relationship between the functional encoding and positional encoding of the target configuration item includes: Step S201. Establish a coding matrix diagram between the functional codes and position codes of each of the aforementioned functional sub-components; Step S202. Identify the association between the functional code and the position code of each functional sub-component in the coding matrix diagram, and establish a mapping relationship between the functional code and the position code of the functional sub-component based on the association.
[0042] In steps S201-S202, a two-dimensional coding matrix is established for all functional sub-components constituting the target configuration item. One dimension of the matrix lists the functional codes of all functional sub-components, such as DA-01 representing wheelset and DB-03 representing axle box. The other dimension lists the position codes that these sub-components may be associated with or actually occupy, such as 91.11 representing the left position of bogie axle, thus forming a relationship grid that clearly shows all possible coding combinations. Based on design rules and physical constraints, the exact association relationship of each functional sub-component is identified in the coding matrix. For example, it is confirmed that the functional code DA-01 (wheelset) is simultaneously associated with the position codes 91.11 (left position of bogie axle) and 91.12 (right position of bogie axle). After this one-to-many or many-to-one association is clarified, a mapping from the functional code to the position code is established for each functional sub-component according to these specific association relationships.
[0043] Step S30. Generate a functional structure tree based on the node position of the target configuration item in the functional hierarchy, and generate a position structure tree based on the node position of the target configuration item in the position hierarchy; wherein the target configuration item node in the functional structure tree and the target configuration item node in the position structure tree have the mapping relationship.
[0044] In some embodiments, generating a functional structure tree based on the node position of the target configuration item in the functional hierarchy includes: Step S301. Determine the first node position of the target configuration item in the functional hierarchy based on the functional code of the target configuration item; Step S302. Generate the functional structure tree based on the functional transfer path between the first node position and the root node of the functional hierarchy.
[0045] In steps S301-S302, when generating the functional structure tree, the functional code of the target configuration item (e.g., DC-02) is parsed. By decoding its hierarchical segments (D represents the bogie system, C represents the wheel and axle assembly, and 02 represents the wheel), its first node position in the entire functional decomposition system is located. Then, based on this node position, the root node of the functional hierarchy structure (e.g., the top-level function of the whole vehicle) is traced backward to outline the complete functional transfer path from the root node to the target node (whole vehicle - bogie system - wheel and axle assembly - wheel), thereby generating a functional structure tree with the target configuration item as the bottom node and reflecting its functional affiliation and dependency.
[0046] In some embodiments, generating a position structure tree based on the node positions of the target configuration item in the position hierarchy includes: Step S303. Determine the second node position of the target configuration item in the position hierarchy based on the position code of the target configuration item; Step S304. Generate the position structure tree based on the positional adjacency relationship between the second node position and the root node of the position hierarchy structure.
[0047] In steps S303-S304, when generating the position structure tree, the position code of the target configuration item (e.g., 91.11) is parsed. By decoding its hierarchical segments (91 represents the underframe and running gear area, 10 represents the bogie axle area, and 11 represents the left-side specific position), its second node position in the physical space division is located. Based on this node position, combined with the inclusion and adjacency rules of spatial regions, the root node of the position hierarchy structure (e.g., the overall space of the vehicle) is traced backwards to construct a hierarchical spatial path from the root node to the specific installation position (vehicle space - underframe and running gear area - bogie area - axle area - left-side position), thereby generating a position structure tree with the target configuration item as the bottom node and reflecting its spatial belonging and adjacency relationship.
[0048] Therefore, this embodiment of the application improves the management efficiency of configuration control by visualizing and structurally presenting isolated configuration codes within complete functional and positional structure trees. Starting from the encoding of the target configuration item, the process traces backward to the root node to generate a path. Compared to the method of forward expansion of the entire tree from the root node to relocate the target, this avoids traversing and calculating all irrelevant branches in a large hierarchical structure, reducing data query and processing volume. In the configuration management of complex products such as railway freight cars, specific projects typically involve only some functions and locations. The reverse approach can focus on a limited number of requirement-related paths, quickly generating concise and effective local structure trees, saving system resources, and improving the efficiency of responding to configuration changes and conducting impact analysis.
[0049] In some embodiments, after generating a position structure tree based on the node positions of the target configuration item in the position hierarchy, the method further includes: Configure an applicability identifier for the target configuration item node in the functional structure tree and / or the location structure tree, wherein the applicability identifier is used to characterize the scope of applicability of the target configuration item in the project.
[0050] In some embodiments, the applicability identifier includes: the version identifier of the drawing to which the target configuration item node is applicable and the production sequence number of the vehicle body.
[0051] Understandably, applicability markings are used to characterize the specific scope of application of a configuration item in different projects or different batches of the same project. For example, an applicability marking may include the version number of the drawing on which it is based (such as drawing version A) to associate and distinguish different technical states resulting from design changes; an applicability marking may also include the applicable range of vehicle body production sequence numbers (such as vehicle serial numbers 1 to 10) to define the effective period of the configuration item in the manufacturing batch.
[0052] Therefore, by attaching applicability tags to target configuration item nodes, refined, versioned, and batch-based control and management of configuration items can be achieved. This ensures that in subsequent material procurement, production assembly, maintenance and replacement, and history traceability, matching and valid configuration items can be accurately selected based on the project code, drawing version, and production serial number of a specific vehicle. This avoids design errors, misinstallation of parts, or improper maintenance caused by version confusion or batch mismatch, thus improving the accuracy of configuration control and management.
[0053] In some embodiments, the project configuration requirement corresponds to the configuration requirement of at least one vehicle body, each vehicle body has a sequential number, and the function structure tree includes: a project function structure tree and a vehicle body function structure tree for each vehicle body; and / or, the location structure tree includes: a project location structure tree and a vehicle body location structure tree for each vehicle body.
[0054] For example, a railway freight car project involves the production of 10 coal open wagons (car bodies numbered 1 to 10). The project configuration requirements mandate the use of a new type of high-strength coupler. The common configuration framework of these 10 wagons is described using a project function structure tree and a project location structure tree. Assume that the first 5 wagons, due to early production batches, use the old version of the drawings for their braking systems, while the latter 5 wagons are upgraded to have an eddy current-assisted braking system according to the new version of the drawings. Therefore, a corresponding car body function structure tree and car body location structure tree are generated for each specific car body. In the car body function structure tree, the braking branch nodes of wagons numbered 1-5 are associated with the old version drawing identifier, while the braking branch nodes of wagons numbered 6-10 are associated with the new version of the drawings and the eddy current function code. In the car body location structure tree, both have the same nodes in the coupler installation area, but under the bogie braking unit location node, wagons numbered 1-5 will include the additional eddy current retarder installation location and its code. Thus, the project-level structure tree manages generality, while the vehicle-level structure tree depicts the individual configuration and version differences of each vehicle, achieving precise configuration from unified requirements to specific vehicle instances.
[0055] In some embodiments, after configuring an applicability identifier for the target configuration item node in the functional structure tree and / or the location structure tree, the method further includes: If the change information of the applicability identifier is collected, the applicability identifier of the target configuration item in the functional structure tree and / or the location structure tree is updated based on the changed applicability identifier.
[0056] For example: If the original plan was to manufacture 10 vehicles (sequence numbers 1-10) and all vehicle bodies (functional nodes BA) were based on version A drawings, the initial suitability identifier for these vehicles would be BA. A(1-10)The identifier clearly defines three coordinates: Functional Node (BA), Version Identifier (A), and the effective production sequence number range (1-10). When the fourth vehicle is manufactured, the user requests an upgrade, requiring the body (BA) to be upgraded to version B drawings starting from the fourth vehicle. Based on this change information, the original identifier is updated to BA. A(1-3)B(4-10) This reflects the plan that Version A would apply to the first 3 vehicles, and Version B to vehicles 4 through 10. However, a deviation occurred in actual production; vehicle 4 did not meet the upgrade requirements, and the change was actually implemented starting with vehicle 5. After collecting this change implementation information, the applicability flag was automatically updated to BA again. A(1-4)B(5-10) This process demonstrates how, using an applicability matrix (functional nodes, version identifiers, production sequence numbers) as a framework, the applicability identifiers of the tree structure nodes can be dynamically adjusted by collecting and responding to change information in real time. This ensures that the configuration data remains consistent with the actual production status and the technical version of each vehicle, achieving refined and traceable control over the scope of impact of design changes.
[0057] In some embodiments, after configuring an applicability identifier for the target configuration item node in the functional structure tree and / or the location structure tree, the method further includes: If the change information of the applicability identifier is collected, the applicability identifier of the target configuration item in the target structure tree is updated based on the changed applicability identifier; The target structure tree includes at least one of the project function structure tree, the vehicle body function structure tree, the project location structure tree, and the vehicle body location structure tree.
[0058] For example, in a railway freight car project, a braking control unit (function code BF-01) is defined in the project's functional structure tree. Its initial applicability identifier is drawing Rev.2.0, and car body serial numbers are 1-50. When change information is collected, requiring an upgrade to drawing Rev.3.0 starting from car number 31, the applicability identifier of this node in the project's functional structure tree is updated to drawing Rev.2.0 (1-30) and drawing Rev.3.0 (31-50) to record the version distribution at the project level. Furthermore, the functional structure trees of each affected car body are updated synchronously. For example, the node identifier in the structure tree of car number 25 remains drawing Rev.2.0, while the node identifier in the structure tree of car number 35 is updated to drawing Rev.3.0. Similarly, if the change involves modifications to the physical installation interface, the applicability identifiers of the associated installation location nodes in the corresponding project location structure tree and the specific car body's car body location structure tree will also be updated synchronously. This process ensures that configuration information in all relevant structure trees from the project top level down to each specific vehicle body instance can be updated in a linked manner based on the same change source, maintaining the consistency of configuration data.
[0059] In some embodiments, after updating the applicability identifiers of the target configuration items in the functional structure tree and / or the location structure tree based on the modified applicability identifiers, the method further includes: In response to a user's configuration control traceability request, the updated applicability identifier's corresponding functional structure tree and / or location structure tree are displayed to the user based on the configuration control traceability request.
[0060] Understandably, when a user submits a configuration control traceability request (e.g., to inquire why the braking unit of vehicle number 40 uses Rev.3.0 drawings), the system can clearly display the complete traceability path based on the updated applicability identifiers (such as Rev.3.0 drawings and vehicle serial numbers 31-50) and their corresponding function and location structure trees. This includes displaying the effective range of the function node version in the project's function structure tree, showing the Rev.3.0 node used by vehicle number 40 and its subordinate relationships in the vehicle function structure tree, and displaying its corresponding physical installation location in the location structure tree. Through this visual display, the applicability identifiers, scope of impact, and implementation status of the version change on the vehicle are presented to the user intuitively and in a structured manner, effectively supporting traceability queries for configuration changes.
[0061] Figure 2 A structural diagram of a railway freight car configuration control device according to an embodiment of this application is shown.
[0062] A second aspect of this application provides a railway freight car configuration control device 200, comprising: The encoding extraction unit 201 is used to obtain target configuration items that match the project configuration requirements and extract the target configuration code of the target configuration item from the configuration encoding library; wherein, the configuration encoding library includes configuration codes of several configuration items, each configuration code includes a function code and a position code, the function code is a unique identifier of the configuration item in the functional hierarchy structure, and the position code is a unique identifier of the configuration item in the position hierarchy structure; The mapping establishment unit 202 is used to establish the mapping relationship between the functional code and the positional code of the target configuration item; The structure tree generation unit 203 is used to generate a functional structure tree based on the node position of the target configuration item in the functional hierarchy structure, and to generate a position structure tree based on the node position of the target configuration item in the position hierarchy structure; wherein the target configuration item node in the functional structure tree and the target configuration item node in the position structure tree have the mapping relationship.
[0063] A third aspect of this application provides a computer-readable storage medium storing at least one computer program instruction, which is loaded and executed by a processor to perform the operations as described in any of the methods in the first aspect.
[0064] Computer-readable storage media may be portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the computer-readable storage medium of this application is not limited thereto. In this application, the readable storage medium may be any tangible medium that contains or stores a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0065] Readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, and portable compact disk read-only memory (CD). ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0066] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java and C++, and conventional procedural programming languages such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0067] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.
[0068] The units described as separate components may or may not be physically separate. Similarly, the components of the control device may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0069] 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 computer-readable storage medium. Based on this understanding, the technical solution of this invention, 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 computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0070] Figure 3 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown.
[0071] According to a fourth aspect of the present application, an electronic device is provided, including one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, the at least one piece of program code being loaded and executed by the one or more processors to perform the operations performed as described in any of the methods in the first aspect.
[0072] like Figure 3As shown, the electronic device 400 is manifested in the form of a general-purpose computing device. The components of the electronic device 400 may include, but are not limited to: at least one processing unit 410, at least one storage unit 420, and a bus 430 connecting different system components (including storage unit 420 and processing unit 410).
[0073] The storage unit stores program code, which can be executed by the processing unit 410, causing the processing unit 410 to perform the steps described in the "Embodiment Method" section above according to various exemplary embodiments of this application.
[0074] Storage unit 420 may include readable media in the form of volatile storage units, such as random access memory (RAM) 421 and / or cache 422, and may further include read-only memory (ROM) 423.
[0075] Storage unit 420 may also include a program / utility 424 having a set (at least one) of program modules 425, such program modules 425 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0076] Bus 430 can represent one or more of several bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the multiple bus structures.
[0077] Electronic device 400 can also communicate with one or more external devices 500 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 400, and / or with any device that enables electronic device 400 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed through I / O (input / output) interface 450, which can also be connected to display unit 440 to display the communication content. Furthermore, electronic device 400 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) through network adapter 460. As shown, network adapter 460 communicates with other modules of electronic device 400 via bus 430. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0078] The above description is merely an embodiment of this application and is not intended to limit 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 controlling the configuration of railway freight cars, characterized in that, include: Obtain the target configuration item that matches the project configuration requirements, and extract the target configuration code of the target configuration item from the configuration coding library; wherein, the configuration coding library includes configuration codes of several configuration items, each configuration code includes a function code and a position code, the function code is a unique identifier of the configuration item in the functional hierarchy structure, and the position code is a unique identifier of the configuration item in the position hierarchy structure; Establish a mapping relationship between the functional encoding and positional encoding of the target configuration item; A functional structure tree is generated based on the node position of the target configuration item in the functional hierarchy, and a position structure tree is generated based on the node position of the target configuration item in the position hierarchy; wherein the target configuration item node in the functional structure tree and the target configuration item node in the position structure tree have the mapping relationship.
2. The method according to claim 1, characterized in that, The step of extracting the target configuration code of the target configuration item from the configuration coding library includes: Obtain the identity identifier of the target configuration item; Search the configuration code library for the target configuration code corresponding to the identity identifier.
3. The method according to claim 1, characterized in that, The target configuration item includes multiple functional sub-components, and establishing the mapping relationship between the functional codes and position codes of the target configuration item includes: Establish a coding matrix diagram between the function codes and position codes of each of the aforementioned functional sub-components; The association between the functional code and the position code of each functional sub-component is identified in the coding matrix diagram, and a mapping relationship between the functional code and the position code of the functional sub-component is established based on the association.
4. The method according to claim 1, characterized in that, The step of generating a functional structure tree based on the node position of the target configuration item in the functional hierarchy includes: The position of the first node of the target configuration item in the functional hierarchy is determined based on the functional code of the target configuration item; The functional structure tree is generated based on the functional transfer path between the first node position and the root node of the functional hierarchy.
5. The method according to claim 1, characterized in that, The step of generating a position structure tree based on the node positions of the target configuration item in the position hierarchy includes: The second node position of the target configuration item in the position hierarchy is determined based on the position code of the target configuration item; The position structure tree is generated based on the positional adjacency relationship between the second node and the root node of the position hierarchy.
6. The method according to any one of claims 1-5, characterized in that, Before obtaining the target configuration item that matches the project configuration requirements, the method further includes: Based on the functional modules of railway freight cars, functional hierarchical division is carried out to generate an initial functional code library; The location hierarchy is divided according to the physical layout of railway freight cars to generate an initial location code library; The initial function encoding library and the initial position encoding library are bidirectionally mapped to obtain the configuration encoding library.
7. The method according to claim 1, characterized in that, After generating a position structure tree based on the node positions of the target configuration item in the position hierarchy, the method further includes: Configure an applicability identifier for the target configuration item node in the functional structure tree and / or the location structure tree, wherein the applicability identifier is used to characterize the scope of applicability of the target configuration item in the project.
8. The method according to claim 7, characterized in that, The project configuration requirements correspond to the configuration requirements of at least one vehicle body. Each vehicle body has a sequential number. The functional structure tree includes: the project functional structure tree and the vehicle body functional structure tree for each vehicle body; and / or, the location structure tree includes: the project location structure tree and the vehicle body location structure tree for each vehicle body.
9. The method according to claim 8, characterized in that, The applicability identifier includes: the version identifier of the drawing to which the target configuration item node applies and the production sequence number of the vehicle body.
10. The method according to claim 7, characterized in that, After configuring an applicability identifier for the target configuration item node in the functional structure tree and / or the location structure tree, the method further includes: If the change information of the applicability identifier is collected, the applicability identifier of the target configuration item in the functional structure tree and / or the location structure tree is updated based on the changed applicability identifier.
11. The method according to claim 8, characterized in that, After configuring an applicability identifier for the target configuration item node in the functional structure tree and / or the location structure tree, the method further includes: If the change information of the applicability identifier is collected, the applicability identifier of the target configuration item in the target structure tree is updated based on the changed applicability identifier; The target structure tree includes at least one of the project function structure tree, the vehicle body function structure tree, the project location structure tree, and the vehicle body location structure tree.
12. The method according to claim 10, characterized in that, After updating the applicability identifiers of the target configuration items in the functional structure tree and / or the location structure tree based on the modified applicability identifiers, the method further includes: In response to a user's configuration control traceability request, the updated applicability identifier's corresponding functional structure tree and / or location structure tree are displayed to the user based on the configuration control traceability request.
13. A railway freight car configuration control device, characterized in that, include: The encoding extraction unit is used to obtain target configuration items that match the project configuration requirements and extract the target configuration code of the target configuration item from the configuration encoding library; wherein, the configuration encoding library includes configuration codes of several configuration items, each configuration code includes a function code and a position code, the function code is a unique identifier of the configuration item in the functional hierarchy structure, and the position code is a unique identifier of the configuration item in the position hierarchy structure; A mapping establishment unit is used to establish a mapping relationship between the functional encoding and positional encoding of the target configuration item; A structure tree generation unit is used to generate a functional structure tree based on the node position of the target configuration item in the functional hierarchy structure, and to generate a position structure tree based on the node position of the target configuration item in the position hierarchy structure; wherein the target configuration item node in the functional structure tree and the target configuration item node in the position structure tree have the mapping relationship.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program instruction, which is loaded and executed by a processor to perform the operation as described in any one of claims 1-12.
15. An electronic device, characterized in that, It includes one or more processors and one or more memories, wherein at least one piece of program code is stored in the one or more memories, and the at least one piece of program code is loaded and executed by the one or more processors to perform the operation performed by the method as described in any one of claims 1-12.