Guidance information generation method and device, equipment and medium
By matching the target rules and component model files from the rule base and generating automated guidance information, the problems of low production efficiency and poor quality caused by excessive length of existing process files are solved, and efficient production guidance is achieved.
Patent Information
- Application Number
- CN202510596420.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-09
- Publication Date
- 2025-08-01
AI Technical Summary
The existing paper and electronic version process documents are too long, resulting in cumbersome identification process, low production efficiency, easy to have artificial understanding errors, low production quality, and high labor costs.
By determining the target rules and component model files that match the target process of the target device from the rule base, automated guidance information is generated, including guidance animations and physical illustrations, and the behavior information of components is indicated using the target assembly rules.
The automated generation of guidance information is realized, production efficiency and quality are improved, engineers' workload and labor costs are reduced, and production processes are closely integrated.
Smart Images

Figure CN120409656A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and particularly to a method, apparatus, device, and medium for generating guidance information. Background Art
[0002] Device assembly is the process of combining various components of a device into a complete electronic device according to specific technological processes and technical specifications, which requires precise operation and strict quality control. The technological process is the basis for operators to correctly perform processing operations during production. A reasonable technological process can play a role in guiding production. For example, manufacturing enterprises use paper-based or electronic process documents to guide production equipment.
[0003] However, due to the excessive length of paper-based or electronic process documents, the process identification is relatively cumbersome, and the production efficiency of manufacturing enterprises is low. Summary of the Invention
[0004] In view of the above problems, this application provides a method, apparatus, device, medium, and program product for generating guidance information.
[0005] According to a first aspect of this application, a method for generating guidance information is provided, including: determining a target rule that matches the target process of a target device from a rule library, where the rule library includes multiple guidance rules and assembly rules corresponding to each of the multiple guidance rules, and any one of the multiple guidance rules is used to guide the assembly of any one of the multiple components of the target device, and the assembly rule is used to indicate the behavior information for assembling any component; determining a component model file for a target component among the multiple components, where the target component is associated with the target guidance rule in the target rule; generating guidance information for the target process based on the target assembly rule in the target rule and the component model file.
[0006] A second aspect of this application provides a device for generating guidance information, including: a first determination module for determining a target rule that matches the target process of a target device from a rule library, where the rule library includes multiple guidance rules and assembly rules corresponding to each of the multiple guidance rules, and any one of the multiple guidance rules is used to guide the assembly of any one of the multiple components of the target device, and the assembly rule is used to indicate the behavior information for assembling any component; a second determination module for determining a component model file for a target component among the multiple components, where the target component is associated with the target guidance rule in the target rule; and a generation module for generating guidance information for the target process based on the target assembly rule in the target rule and the component model file.
[0007] A third aspect of the present application provides an electronic device, including: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0008] A fourth aspect of the present application further provides a computer-readable storage medium, on which computer programs or instructions are stored, and when the computer programs or instructions are executed by a processor, the steps of the above method are implemented.
[0009] A fifth aspect of the present application further provides a computer program product, including computer programs or instructions, and when the computer programs or instructions are executed by a processor, the steps of the above method are implemented.
[0010] According to the embodiments of the present application, since the target guidance rule and the target assembly rule are matched for the target process of the target device, and the component model file for the target component in multiple components is determined based on the target guidance rule, it is possible to automatically generate the guidance information for the target process by using the target assembly rule and the component model file, realizing the automated generation of the guidance information. In addition, during the process of automatically generating the guidance information, since the target assembly rule can indicate the behavior information of assembling the target component, it is possible to achieve a close combination with the production process, which is beneficial to improving the production efficiency and production quality of the target device. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Through the following description of the embodiments of the present application with reference to the drawings, the above content and other objects, features and advantages of the present application will become clearer. In the drawings:
[0012] Figure 1 Schematically shows an application scenario diagram of a guidance information generation method, device, equipment, medium and program product according to an embodiment of the present application;
[0013] Figure 2 Schematically shows a flowchart of a guidance information generation method according to an embodiment of the present application;
[0014] Figure 3 Schematically shows a structural diagram of a rule library according to an embodiment of the present application;
[0015] Figure 4 Schematically shows a flowchart of a guidance information generation method according to another embodiment of the present application;
[0016] Figure 5 Schematically shows a flowchart of updating the target assembly rule or converting the component model file according to an embodiment of the present application;
[0017] Figure 6Schematically shows a schematic diagram of generating a guidance animation according to an embodiment of the present application;
[0018] Figure 7 Schematically shows a structural block diagram of a guidance information generation device according to an embodiment of the present application; and
[0019] Figure 8 Schematically shows a block diagram of an electronic device suitable for implementing a guidance information generation method according to an embodiment of the present application. Detailed implementation manners
[0020] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present application. In the following detailed description, for the sake of explanation, many specific details are set forth in order to provide a thorough understanding of the embodiments of the present application. However, obviously, one or more embodiments can also be implemented without this specific detail information. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts of the present application.
[0021] The terms used herein are merely for describing specific embodiments and are not intended to limit the present application. The terms "including", "comprising", etc. used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0022] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0023] In the case of information using expressions such as "at least one of A, B, and C", generally, it should be interpreted according to the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include, but is not limited to, a system having only A, only B, only C, having A and B, having A and C, having B and C, and / or having A, B, and C, etc.).
[0024] In the process of implementing the embodiments of the present application, it is found that most manufacturing enterprises use paper-based process documents, and a few use electronic process documents. However, the electronic process documents are only a change in the display form, moving the documents from paper to electronic software. Due to the long length of the current paper-based or electronic process documents and the limitation of excessive text narration, the process of identifying the process is cumbersome, and human understanding is prone to errors, resulting in low production quality. In addition, certain requirements are needed for the understanding ability and product knowledge of the operating employees, resulting in high labor costs.
[0025] For example, for the assembly of a server, the current process document shows the server assembly steps through the combination of long texts and / or pictures, which consumes a lot of time of the engineer who writes the process document, and the operating employees also need a lot of time to understand the content of the process document, resulting in low production efficiency of the manufacturing enterprise and being unfavorable to the long-term stable development of the enterprise.
[0026] Based on this, the embodiments of the present application provide a guidance information generation method, including: determining a target rule matching the target process of the target device from a rule library, where the rule library includes multiple guidance rules and assembly rules respectively corresponding to the multiple guidance rules, and any one of the multiple guidance rules is used to guide any one of the multiple components of the target device, and the assembly rule is used to indicate the behavior information of assembling any component; determining a component model file for the target component among the multiple components, where the target component is associated with the target guidance rule in the target rule; generating guidance information for the target process based on the target assembly rule in the target rule and the component model file.
[0027] Figure 1 Schematically shows an application scenario diagram of a guidance information generation method, device, equipment, medium and program product according to an embodiment of the present application.
[0028] As Figure 1 shown, the application scenario 100 according to this embodiment may include a third-party device 101, a digital process system 102 and an information generation system 103. Communication is carried out between two of the third-party device 101, the digital process system 102 and the animation generation system 103 through a network. The network may include various connection types, such as wired, wireless communication links or fiber optic cables, etc.
[0029] The third-party device 101 may be used to provide component model files of multiple components. Component model designers may use the third-party device 101 to interact with the digital process system 102 or the animation generation system 103 through a network to receive or send messages, etc. The third-party device 101 is various electronic devices with a display screen and supporting component design, including but not limited to smart phones, tablet computers, laptop computers and desktop computers, etc.
[0030] The digital process system 102 can be used to construct and store a rule base.
[0031] The information generation system 103 can be used to generate guidance information for a target process of a target device. The information generation system 103 can include, for example, but is not limited to, an animation generation system, etc. The animation generation system can include, for example, but is not limited to, models for generating animations, etc.
[0032] It should be noted that the guidance information generation method provided in the embodiments of the present application can generally be executed by the information generation system 103. Correspondingly, the guidance information generation device provided in the embodiments of the present application can generally be set in the information generation system 103. The guidance information generation method provided in the embodiments of the present application can also be executed by an information generation system or an information generation cluster that is different from the information generation system 103 and can communicate with the third-party device 101 and / or the digital process system 102. Correspondingly, the guidance information generation device provided in the embodiments of the present application can also be set in an information generation system or an information generation cluster that is different from the information generation system 103 and can communicate with the third-party device 101 and / or the digital process system 102.
[0033] It should be understood that Figure 1 the numbers of the third-party device 101, the digital process system 102, and the information generation system 103 in
[0034] are merely illustrative. According to the implementation requirements, there can be any number of third-party devices, digital process systems, and information generation systems. Figure 1 Based on the Figures 2 to 5 scenario described below, the guidance information generation method of the application embodiments will be described in detail through
[0035] Figure 2 FIG. schematically shows a flowchart of the guidance information generation method according to an embodiment of the present application.
[0036] As Figure 2 shown, the guidance information generation method of this embodiment includes operation S210 to operation S230.
[0037] In operation S210, a target rule that matches the target process of the target device is determined from the rule base.
[0038] In operation S220, a component model file for a target component among multiple components is determined.
[0039] In operation S230, based on the target assembly rule in the target rule and the component model file, guidance information for the target process is generated.
[0040] In an embodiment of the present application, the rule library may include multiple guiding rules and assembly rules respectively corresponding to the multiple guiding rules. Any one of the multiple guiding rules may be used to guide any one of the multiple components of the target device to be assembled. The assembly rules may be used to indicate the behavior information for assembling any component.
[0041] Exemplarily, the target device may include an electronic device. The electronic device may include, for example, but is not limited to, a server. The multiple components of the target device may include, for example, but are not limited to: a central processing unit, a memory, a motherboard, a hard disk drive, an optical disc drive, various expansion cards, connection lines, a power supply, etc.
[0042] The behavior information may include, for example, but is not limited to, a movement path, a rotation angle, a connection method, etc.
[0043] The target process may include, for example, the processes in a process list. The process list may be used to record the production process of the target device from raw materials to finished products. A process may be the smallest indivisible unit of each step in the production process in the process list. For example, assembling a central processing unit, assembling a hard disk backplane, etc.
[0044] The target component is associated with the target guiding rule in the target rule. The target rule may include a target guiding rule for guiding the assembly of the target component, and a target assembly rule corresponding to the guiding rule for guiding the assembly of the target component.
[0045] The component model file of the target component may include, for example, a three-dimensional model file of the target component.
[0046] The guiding information may include, for example, a guiding animation or a guiding physical diagram, etc. For example, for the guiding animation, it may be generated using an animation engine. For the guiding physical diagram, it may be generated using a software tool.
[0047] For example, the target components may be a central processing unit and a motherboard. The target rule may be used to guide the assembly of the central processing unit and indicate the behavior information of the central processing unit. For example, when assembling the central processing unit, the motherboard is fixed first, and then the central processing unit is inserted from above the motherboard, etc.
[0048] For example, through an animation engine, a guiding animation for assembling the central processing unit may be generated. Through a software tool, a guiding physical diagram for assembling the central processing unit may be generated.
[0049] According to an embodiment of the present application, since a target guidance rule and a target assembly rule are matched for a target process of a target device, and a component model file for a target component among multiple components is determined based on the target guidance rule, it is possible to automatically generate guidance information for the target process by using the target assembly rule and the component model file, realizing the automated generation of guidance information. In addition, during the process of automatically generating guidance information, since the target assembly rule can indicate the behavior information for assembling the target component, it is possible to achieve a close combination with the production process, which is beneficial to improving the production efficiency and production quality of the target device.
[0050] According to an embodiment of the present application, the rule library can be obtained in the following manner: Generate component identifiers corresponding to the component model files of multiple components of the target device according to the component model files of the multiple components of the target device; Based on the predetermined configuration information of the target device, determine the associated components for assembling any component and the behavior information for assembling any component; Based on the component identifiers corresponding to the component model files of the multiple components, determine the component identifiers of any component and the component identifiers for assembling any component respectively; Generate a guidance rule according to the component identifiers of any component and the component identifiers for assembling any component respectively; Generate an assembly rule for any component according to the behavior information for assembling any component; Based on the component identifier of any component, construct a mapping relationship between any guidance rule and the assembly rule of any component to obtain the rule library.
[0051] In an embodiment of the present application, the component identifier can be used to indicate the unique identifier of the component.
[0052] For example, the component identifier can include a reference indicator of the component. The reference indicator can adopt the format of {component type}_{position number}. For example, the reference indicator of the central processing unit can be expressed as CPU_0, CPU_1, etc. The reference indicator of the radiator can be expressed as HS_0, HS_1, etc. The reference indicator of the hard disk can be expressed as FHD_*, RHD_*, etc. The reference indicator of the hard disk tray can be expressed as FHDtray_*, FHDtray_*, etc. * can represent the number of hard disks. The reference indicator of the motherboard can be expressed as MB, the reference indicator of the management board can be expressed as SCM, the reference indicator of the chassis can be expressed as Chassis, and the reference indicator of the backplane can be expressed as FHDBP_8_0, etc.
[0053] The reference indicator can be verified by a regular expression to ensure the uniqueness of the component identifier.
[0054] The predefined configuration information may be information preconfigured by an engineer according to the components to be assembled when assembling the target device and the assembly process of the components. The predefined configuration information may include the assembly method configuration information for each of the multiple components of the target device. For example, for the central processing unit, the assembly method configuration information may include that when assembling the central processing unit, the motherboard is fixed first, and then the central processing unit is inserted from above the motherboard.
[0055] By parsing the predefined configuration information, the associated components for assembling any component and the behavior information for assembling any component can be determined from the predefined configuration information. For example, for the central processing unit, it can be determined through parsing that the associated component may be the motherboard, and the behavior information may include that the motherboard is fixed first and the central processing unit is inserted from above, etc.
[0056] Figure 3 A schematic structural diagram of a rule library according to an embodiment of the present application is schematically shown.
[0057] As Figure 3 shown, the target device may include N components, where N is an integer greater than or equal to 2. The component model file of component 1 corresponds to component identifier 1, and a mapping relationship is established between the guiding rule 1 associated with component identifier 1 and the assembly rule 1 of component 1. The component model file of component 2 corresponds to component identifier 2, and a mapping relationship is established between the guiding rule 2 associated with component identifier 2 and the assembly rule 2 of component 2, and so on. The component model file of component N corresponds to component identifier N, and a mapping relationship is established between the guiding rule N associated with component identifier N and the assembly rule N of component N, obtaining a rule library.
[0058] The guiding rule may include the component identifier for assembling each component and the component identifier of the associated component when assembling each component. For example, for the central processing unit, the guiding rule may be that CPU_0 and MB are required for assembling the central processing unit. For the hard disk, the guiding rule may be that FHD_*, Chassis, and FHDtray_* are required for assembling the hard disk. For the management board, the guiding rule may be that Chassis, MB, and SCM are required for assembling the management board.
[0059] The assembly rule may include the behavior information for assembling the component, etc. For example, for the backplane, the assembly rule may be to align the buckle structures on the backplane with the buckle structures on the main body of the target device and then snap them tightly.
[0060] Since the rule library is obtained by establishing a mapping relationship between the assembly rules and the guiding rules based on the component identifiers, the operation of obtaining the target rules can be simplified, and the target rules matching the target process of the target device can be obtained quickly and accurately. In addition, since the component model files of each component in multiple components of the target device are associated with the component identifiers, the component model files including the assembled components and the associated components can be accurately identified from the multiple component model files. Thus, the guiding information can be automatically generated, which can reduce the guiding information generation time and lower the working cost of engineers.
[0061] According to an embodiment of the present application, the associated components for assembling components are determined according to the types of the components.
[0062] Exemplarily, when the types of the assembled components are the same, the associated components are the same.
[0063] For example, in the case where there are multiple hardware components in a server, the associated components for assembling the hardware components can be the same.
[0064] Since the associated components for assembling components are determined according to the types of the components, when the types of the assembled components are the same, the process of repeatedly determining the associated components can be reduced, thereby saving the resources occupied by repeatedly determining the associated components.
[0065] According to an embodiment of the present application, for the above Figure 2 shown operation S230, based on the target assembly rules in the target rules and the component model file, the guiding information for the target process can be generated, which may include operations: converting the component model file into a three-dimensional data format to obtain a component model file after format conversion; generating the guiding information for the target process based on the target assembly rules and the component model file after format conversion.
[0066] Exemplarily, the format of the component model file may include but is not limited to the STP format. For example, the STP format can be converted into a three-dimensional data format such as the JT format. The guiding animation in the MP4 format can be generated according to the component model file in the JT format and in accordance with the target assembly rules.
[0067] Since the component model file is converted into a three-dimensional data format, the automatic generation of the guiding information for the target process can be realized, which is beneficial to improving the production efficiency and production quality of the target device.
[0068] According to an embodiment of the present application, there may be multiple target components. For example, when assembling any component, the target components may include the assembled component and the associated components for assembling the component.
[0069] Figure 4 The flowchart of the guiding information generation method according to another embodiment of the present application is schematically shown.
[0070] As shown Figure 4 in the figure, the method for generating guidance information may include operations S410 to S440.
[0071] In operation S410, based on the target assembly rules and the converted component model file, conflict detection is performed on at least two target components to obtain a detection result.
[0072] In operation S420, it is determined whether the detection result indicates that there is a conflict between at least two target components.
[0073] In the case where it is determined that the detection result indicates that there is a conflict between at least two target components, after performing operation S430, operation S440 is performed. In the case where it is determined that the detection result indicates that there is no conflict between at least two target components, the target assembly rules or the converted component model file are not updated, and operation S440 is performed.
[0074] In operation S430, the target assembly rules or the converted component model file are updated.
[0075] In operation S440, guidance information for the target process is generated.
[0076] Updating the target assembly rules or the converted component model file may be, for example, making changes or replacements to the target assembly rules or the converted component model file.
[0077] Conflict detection can be used to detect three-dimensional physical conflicts of components. For example, a hierarchical bounding box algorithm can be used to detect the physical conflicts of the three-dimensional models of components. The response time of the hierarchical bounding box algorithm can be, for example, ≤50 ms, which can quickly respond and provide detection results, ensuring the real-time nature of conflict detection.
[0078] Since conflict detection is performed during the process of generating guidance information, therefore, when there is a conflict between at least two target components, the target assembly rules or the converted component model file can be updated in real time, ensuring the feasibility of component assembly and improving the production quality of the target device.
[0079] Figure 5 Schematically shows a flowchart of updating the target assembly rules or the converted component model file according to an embodiment of the present application.
[0080] According to an embodiment of the present application, for the above-mentioned operation S430 as Figure 4 shown, updating the target assembly rules or the converted component model file may include operations S501 to S504 as Figure 5 shown in the figure.
[0081] In operation S501, the information generation system 103 may send a prompt message to the third-party device 101.
[0082] In operation S502, the third-party device 101 modifies the component model file or the predetermined configuration information of each of at least two target components according to the received prompt message.
[0083] In operation S503, the third-party device 101 sends the modified component model file of each of at least two target components or the modified predetermined configuration information to the information generation system 103.
[0084] In operation S504, in response to receiving the modified component model file of each of at least two target components or the modified predetermined configuration information, the information generation system 103 updates the converted component model file based on the modified component model file of each of at least two target components, or updates the target assembly rule based on the modified predetermined configuration information.
[0085] Exemplarily, in certain cases, a prompt message may be generated according to the detection result indicating at least two target components where a conflict occurs between at least two target components.
[0086] The prompt message may be used to indicate that a conflict occurs between at least two target components. When the third-party device 101 receives the prompt message, the component model designer may control the third-party device 101 to modify the component model file of each of at least two target components, or the development engineer may control the third-party device 101 to modify the predetermined configuration information.
[0087] Since the prompt message is sent to the third-party device when a conflict is detected in the conflict detection, it is possible to timely modify the component model file or the predetermined configuration information of each of at least two target components through the third-party device, reduce unnecessary losses, ensure the feasibility of component assembly, and improve the production quality of the target device.
[0088] According to another embodiment of the present application, the guidance information generation method may further include an operation in addition to operations S210 to S230 as described above Figure 2 shown: adding the guidance information for the target process to the production process list of the target device so as to display the production process list with the added guidance information.
[0089] For example, the production process list may include the processes of multiple components. The guidance information may be embedded in the target process of the production process list.
[0090] Since guiding information is added to the target processes in the production process list, it is possible to facilitate the viewing of the assembly process in the production process list, avoid consuming a large amount of time and labor costs in understanding paper-based or electronic process documents, and improve production efficiency.
[0091] Figure 6 A schematic diagram showing the generation of a guiding animation according to an embodiment of the present application is schematically illustrated.
[0092] As Figure 6 shown, taking the guiding information as an example of a guiding animation, target rules matching each target process in the production process list 601 of the target device can be determined from the rule library 602, and then based on the target guiding rules in the target rules, the component model file 604 of the target component is retrieved. After converting the retrieved component model file of the target component into a three-dimensional data format, the converted component model file and the target assembly rules are stored in the animation library 605, and an animation conversion is performed based on the converted component model file and the target assembly rules in the animation library 605 to obtain the guiding animation 606.
[0093] Exemplarily, the rule library 602 can be updated based on the component identifier 603.
[0094] For example, in the case where it is determined that a new component model file is added to the target device, a new component identifier corresponding to the new component model file can be added, and based on the new component identifier, a mapping relationship between the new guiding rule corresponding to the new component identifier and the new assembly rule is constructed, and the new guiding rule and the new assembly rule with the mapping relationship are added to the rule library 602, thereby updating the rule library 602.
[0095] Since the rule library can be maintained based on the component identifier, the guiding information generation method provided by the present application has strong scalability, supports the addition of new component types and rules matching the new component types, and can meet the requirements of diverse products.
[0096] The production process list (Bill of Process, BOP) can support third-party device access. Various processes can be established in the BOP, and functions such as play control (including pause, zoom), step marking, and the ability to record the animation call frequency and generate process optimization suggestions are provided.
[0097] The above guiding information generation method of the present application can be applied to various assembly industries, including but not limited to the automotive industry, parts industry, electronic product industry, etc.
[0098] Based on the above guiding information generation method, the present application also provides a guiding information generation device. The following will be combined with Figure 7 to describe this device in detail.
[0099] Figure 7 A structural block diagram of a guidance information generation device according to an embodiment of the present application is schematically shown.
[0100] As Figure 7 shown, the guidance information generation device 700 of this embodiment includes a first determination module 710, a second determination module 720, and a generation module 730.
[0101] The first determination module 710 is configured to determine a target rule matching the target process of the target device from a rule library. The rule library includes a plurality of guidance rules and assembly rules respectively corresponding to the plurality of guidance rules. Any one of the plurality of guidance rules is used to guide any one of the plurality of components for assembling the target device, and the assembly rule is used to indicate the behavior information for assembling any one component. In one embodiment, the first determination module 710 may be configured to perform the operation S210 described above, which will not be elaborated here.
[0102] The second determination module 720 is configured to determine a component model file for a target component among the plurality of components, and the target component is associated with the target guidance rule in the target rule. In one embodiment, the second determination module 720 may be configured to perform the operation S220 described above, which will not be elaborated here.
[0103] The generation module 730 is configured to generate guidance information for the target process based on the target assembly rule in the target rule and the component model file. In one embodiment, the generation module 730 may be configured to perform the operation S230 described above, which will not be elaborated here.
[0104] According to an embodiment of the present application, the rule library can be obtained in the following manner: generating component identifiers corresponding to the component model files of the plurality of components of the target device according to the component model files of the plurality of components of the target device; determining associated components for assembling any one component and the behavior information for assembling any one component based on the predetermined configuration information of the target device; determining the component identifiers of any one component and the component identifiers for assembling any one component respectively based on the component identifiers corresponding to the component model files of the plurality of components; generating guidance rules according to the component identifiers of any one component and the component identifiers for assembling any one component respectively; generating assembly rules for any one component according to the behavior information for assembling any one component; and constructing a mapping relationship between any one guidance rule and the assembly rule of any one component based on the component identifier of any one component to obtain the rule library.
[0105] According to an embodiment of the present application, the associated components for assembling a component are determined according to the type of the component.
[0106] According to an embodiment of the present application, the generation module 730 may include a conversion unit and an information generation unit. The conversion unit is used to perform three-dimensional data format conversion on the component model file to obtain a component model file with format conversion. The information generation unit is used to generate guidance information for the target process based on the target assembly rule and the component model file with format conversion.
[0107] According to an embodiment of the present application, there are multiple target components. The guidance information generation device 700 further includes: a detection module, an update module, and a non-update module. The detection module is used to perform conflict detection on at least two target components based on the target assembly rule and the converted component model file to obtain a detection result. The update module is used to update the target assembly rule or the converted component model file when it is determined that the detection result indicates that there is a conflict between at least two target components. The non-update module is used to not update the target assembly rule or the converted component model file when it is determined that the detection result indicates that there is no conflict between at least two target components.
[0108] According to an embodiment of the present application, the update module includes a sending unit and a sub-update unit. The sending unit is used to send a prompt message to a third-party device so that the third-party device modifies the component model file or the predetermined configuration information of each of the at least two target components according to the received prompt message. The sub-update unit is used to update the converted component model file based on the modified component model files of the at least two target components in response to receiving the modified component model files of the at least two target components, or update the target assembly rule based on the modified predetermined configuration information.
[0109] According to an embodiment of the present application, the guidance information generation device 700 further includes an adding module. The adding module is used to add the guidance information for the target process to the production process list of the target device so as to display the production process list with the added guidance information.
[0110] According to an embodiment of the present application, any one or more of the first determination module 710, the second determination module 720, and the generation module 730 may be combined and implemented in one module, or any one of them may be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules may be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present application, at least one of the first determination module 710, the second determination module 720, and the generation module 730 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or may be implemented by any other reasonable means such as hardware or firmware for integrating or packaging circuits, or may be implemented in any one of the three implementation manners of software, hardware, and firmware, or in any suitable combination of several of them. Alternatively, at least one of the first determination module 710, the second determination module 720, and the generation module 730 may be at least partially implemented as a computer program module, and when the computer program module is run, it may execute corresponding functions.
[0111] Figure 8 Schematically shown is a block diagram of an electronic device suitable for implementing a guidance information generation method according to an embodiment of the present application.
[0112] As Figure 8 shown, the electronic device 800 according to an embodiment of the present application includes a processor 801, which may perform various appropriate actions and processes according to a program stored in a read only memory (ROM) 802 or a program loaded from a storage section 808 into a random access memory (RAM) 803. The processor 801 may include, for example, a general microprocessor (such as a CPU), an instruction set processor, and / or a related chipset, and / or a dedicated microprocessor (such as an application specific integrated circuit (ASIC)), etc. The processor 801 may also include on-board memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present application.
[0113] In the RAM 803, various programs and data required for the operation of the electronic device 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. The processor 801 performs various operations of the method flow according to an embodiment of the present application by executing the program in the ROM 802 and / or the RAM 803. It should be noted that the program may also be stored in one or more memories other than the ROM 802 and the RAM 803. The processor 801 may also perform various operations of the method flow according to an embodiment of the present application by executing the program stored in one or more memories.
[0114] According to an embodiment of the present application, the electronic device 800 may further include an input / output (I / O) interface 805, and the input / output (I / O) interface 805 is also connected to the bus 804. The electronic device 800 may further include one or more of the following components connected to the input / output (I / O) interface 805: an input portion 806 including a keyboard, a mouse, etc.; an output portion 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage portion 808 including a hard disk, etc.; and a communication portion 809 including a network interface card such as a LAN card, a modem, etc. The communication portion 809 performs communication processing via a network such as the Internet. The drive 810 is also connected to the input / output (I / O) interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is assembled on the drive 810 as needed so that a computer program read from it can be assembled into the storage portion 808 as needed.
[0115] The present application also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist separately without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the one or more programs are executed, the method according to the embodiments of the present application is implemented.
[0116] According to an embodiment of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium may be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present application, the computer-readable storage medium may include the above-described ROM 802 and / or RAM 803 and / or one or more memories other than ROM 802 and RAM 803.
[0117] An embodiment of the present application also includes a computer program product, which includes a computer program, and the computer program contains program codes for executing the method shown in the flowchart. When the computer program product runs in a computer system, the program codes are used to cause the computer system to implement the method provided by the embodiments of the present application.
[0118] When the computer program is executed by the processor 801, the above functions defined in the system / apparatus of the embodiments of the present application are executed. According to the embodiments of the present application, the above-described systems, apparatuses, modules, units, etc. can be implemented by computer program modules.
[0119] In one embodiment, the computer program can rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program can also be transmitted and distributed in the form of signals on a network medium, and be downloaded and assembled through the communication part 809, and / or be assembled from the removable medium 811. The program code included in the computer program can be transmitted by any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0120] In such an embodiment, the computer program can be downloaded and assembled from the network through the communication part 809, and / or be assembled from the removable medium 811. When the computer program is executed by the processor 801, the above functions defined in the system of the embodiments of the present application are executed. According to the embodiments of the present application, the above-described systems, devices, apparatuses, modules, units, etc. can be implemented by computer program modules.
[0121] According to the embodiments of the present application, the program code for executing the computer program provided by the embodiments of the present application can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. The programming languages include but are not limited to, such as Java, C++, python, the "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, by using an Internet service provider to connect through the Internet).
[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a part of code, and the above-mentioned module, segment of a program, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the block may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0123] Those skilled in the art can understand that the features described in various embodiments of the present application can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in various embodiments of the present application can be combined and / or combined in various ways. All such combinations and / or combinations fall within the scope of the present application.
[0124] The above describes the embodiments of the present application. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present application. Although the embodiments are described separately above, this does not mean that the measures in each embodiment cannot be used advantageously in combination. Without departing from the scope of the present application, those skilled in the art can make various substitutions and modifications, and all such substitutions and modifications should fall within the scope of the present application.
Claims
1. A method for generating guidance information, characterized in that, The method includes: Determine a target rule matching the target process of the target device from a rule library, where the rule library includes multiple guiding rules and assembly rules corresponding to the multiple guiding rules respectively. Any one of the multiple guiding rules is used to guide any one of the multiple components of the target device, and the assembly rule is used to indicate the behavior information of assembling any component; Determine a component model file for a target component among the multiple components, where the target component is associated with the target guiding rule in the target rule; Generate guiding information for the target process based on the target assembly rule in the target rule and the component model file.
2. The method according to claim 1, wherein The rule library is obtained through the following method: Generate component identifiers corresponding to the component model files of the multiple components according to the component model files of the multiple components of the target device; Based on the predetermined configuration information of the target device, determine the associated components for assembling any component and the behavior information of assembling any component; Based on the component identifiers corresponding to the component model files of the multiple components, determine the component identifier of any component and the component identifier of assembling any component respectively; Generate guiding rules according to the component identifier of any component and the component identifier of assembling any component respectively; Generate an assembly rule for any component according to the behavior information of assembling any component; Based on the component identifier of any component, construct a mapping relationship between any guiding rule and the assembly rule of any component to obtain the rule library.
3. The method according to claim 2, characterized in that, The associated components for assembling the component are determined according to the type of the component.
4. The method according to any one of claims 1 to 3, characterized in that, The generating guiding information for the target process based on the target assembly rule in the target rule and the component model file includes: Convert the component model file into a three-dimensional data format to obtain a component model file after format conversion; Generate guiding information for the target process based on the target assembly rule and the component model file after format conversion.
5. The method according to claim 4, wherein There are multiple target components; The method further includes: Perform conflict detection on at least two of the target components based on the target assembly rule and the converted component model file to obtain a detection result; In the case where it is determined that the detection result indicates that there is a conflict between at least two of the target components, update the target assembly rule or the converted component model file; In the case where it is determined that the detection result indicates that there is no conflict between at least two of the target components, do not update the target assembly rule or the converted component model file.
6. The method according to claim 5, wherein The updating the target assembly rule or the converted component model file includes: Send a prompt message to a third-party device so that the third-party device modifies the component model file or the predetermined configuration information of at least two of the target components according to the received prompt message. In response to receiving the component model files of at least two of the target components that have been modified or the predetermined configuration information that has been modified, update the converted component model file based on the component model files of at least two of the target components that have been modified, or update the target assembly rules based on the modified predetermined configuration information.
7. The method according to claim 1, wherein The method further includes: Adding the guiding information for the target process to the production process list of the target device, so as to display the production process list with the guiding information added.
8. An instruction information generation device, characterized in that, The device includes: A first determination module, configured to determine a target rule that matches the target process of the target device from a rule library, where the rule library includes a plurality of guiding rules and assembly rules corresponding to the plurality of guiding rules respectively, any one of the plurality of guiding rules is used to guide the assembly of any one of the plurality of components of the target device, and the assembly rules are used to indicate the behavior information of assembling any one of the components; A second determination module, configured to determine the component model file for the target component among the plurality of components, where the target component is associated with the target guiding rule in the target rule; and A generation module, configured to generate guiding information for the target process based on the target assembly rule in the target rule and the component model file.
9. An electronic device, including: One or more processors; A memory, configured to store one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, The computer program or instruction, when executed by a processor, implements the steps of the method according to any one of claims 1 to 7.