Marking method, system and equipment based on production execution system and storage medium
By constructing a two-dimensional grid and converting it into three-dimensional coordinates in the production execution system, the problem that defect statistics in the existing technology relies on text descriptions is solved, efficient and convenient marking and positioning are achieved, and the accuracy of product quality control is improved. and visualization effects.
Patent Information
- Application Number
- CN202410739560.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-03
AI Technical Summary
In the existing technology, defect statistics during the product production process rely on text descriptions, resulting in irregular descriptions and low data quality, making it difficult to accurately trace problems and identify quality control points.
Based on the marking method of the production execution system, by constructing a two-dimensional grid and setting the grid spacing, the two-dimensional marking information is converted into three-dimensional coordinates to realize the real-time marking function. The user can mark directly in the two-dimensional view, simplifying the production of three-dimensional models. process.
It improves the accuracy and efficiency of marking, reduces the cost of 3D model production, provides more intuitive defect location and statistical analysis, and enhances the visualization effect of quality control.
Smart Images

Figure CN118587359A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of production detection technology, and in particular to a marking method, system, device and storage medium based on a production execution system. Background Art
[0002] With the advent of the era of intelligent manufacturing, enterprises are actively undergoing digital transformation, which requires higher standards for data collection and analysis during the production process. In this process, quality statistics plays a vital role, especially the accurate marking and statistics of quality defects in the production process, which is directly related to the reliability and availability of data.
[0003] In order to effectively trace problems in the production process and identify key quality control points, it is crucial to count the specific locations where defects occur. However, the current statistics on product production defects rely heavily on text descriptions, which often have problems with non-standard descriptions and low data quality. Summary of the invention
[0004] The main purpose of the present invention is to provide a marking method, system, device and storage medium based on a production execution system, which can provide a real-time marking function and can be applied in the fields of defect marking, etc. Users can mark directly in a two-dimensional view, which can be directly converted into three-dimensional coordinates through the production execution system, which is efficient and convenient, and saves the production cost of the three-dimensional model.
[0005] In order to achieve the above objectives, the embodiments of the present application provide the following technical solutions:
[0006] According to a first aspect of an embodiment of the present application, a marking method based on a production execution system is provided, the method comprising:
[0007] Build a production execution system based on a pre-built 2D grid and set grid spacing;
[0008] Receiving a marking instruction sent by a user through the production execution system, wherein the marking instruction carries two-dimensional marking information;
[0009] The production execution system converts the two-dimensional marking information into three-dimensional coordinates;
[0010] All transformed 3D coordinates are summarized and marked and displayed on the 3D view.
[0011] Optionally, the production execution system converts the two-dimensional marking information into three-dimensional coordinates, including:
[0012] For each two-dimensional marking information, determining the type of the two-dimensional marking information;
[0013] The three-dimensional coordinates corresponding to the two-dimensional mark information are determined according to the coordinate conversion rule corresponding to the type of the two-dimensional mark information, the reference plane information of the two-dimensional grid and the set grid spacing.
[0014] Optionally, the type of the two-dimensional mark information includes letter marks, number marks and / or coordinate marks.
[0015] Optionally, before constructing the production execution system based on the pre-constructed two-dimensional grid and setting the grid spacing, the method further includes:
[0016] Establish a virtual 3D model of the target maintenance equipment;
[0017] A reference coordinate system is constructed based on the virtual three-dimensional model.
[0018] Optionally, after constructing a reference coordinate system based on the virtual three-dimensional model, the method further comprises:
[0019] Determining a target view for a processing procedure of the target maintenance equipment;
[0020] A two-dimensional grid is constructed based on the target view and the reference coordinate system; wherein the grid spacing of the two-dimensional grid is adjusted according to the actual target view.
[0021] Optionally, constructing a two-dimensional grid based on the target view and the reference coordinate system includes:
[0022] Draw grid lines along the X-axis and Y-axis directions in the target view, ensuring that the grid lines are aligned with the reference coordinate system and that the grid spacing remains consistent in the target view;
[0023] Marking is performed at the intersection of each grid line to identify the coordinates of each grid intersection;
[0024] A grid is applied to the target view, ensuring that the grid covers the entire view range and all objects are located within the grid cells to construct the two-dimensional grid.
[0025] Optionally, constructing a production execution system based on a pre-constructed two-dimensional grid and setting a grid spacing includes:
[0026] Inputting the two-dimensional grid of each target view and the corresponding set grid spacing in the pre-built production execution system so that the two-dimensional grid of each target view is associated with the corresponding set grid spacing;
[0027] defining a set coordinate transformation rule as a coordinate transformation rule of the production execution system;
[0028] A marking function is provided in the user interface of the production execution system so that the user can directly mark in the two-dimensional grid of each target view.
[0029] According to a second aspect of an embodiment of the present application, a marking system based on a production execution system is provided, the system comprising:
[0030] System building module for building a production execution system based on a pre-built 2D grid and set grid spacing;
[0031] An instruction receiving module, used for receiving a marking instruction sent by a user through the production execution system, wherein the marking instruction carries two-dimensional marking information;
[0032] A marking conversion module, used for the production execution system to convert the two-dimensional marking information into three-dimensional coordinates;
[0033] The display module is used to summarize all converted 3D coordinates and perform marked statistics and display on the 3D view.
[0034] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect above.
[0035] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the method described in the first aspect above.
[0036] In summary, the embodiments of the present application provide a marking method, system, device and storage medium based on a production execution system, by constructing a production execution system based on a pre-constructed two-dimensional grid and setting the grid spacing; receiving a marking instruction sent by a user through the production execution system, the marking instruction carries two-dimensional marking information; the production execution system converts the two-dimensional marking information into three-dimensional coordinates; all converted three-dimensional coordinates are summarized, and the marking is counted and displayed on a three-dimensional view. It can provide a real-time marking function and can be applied in fields such as defect marking. Users mark directly in a two-dimensional view, which can be directly converted into three-dimensional coordinates through the production execution system, which is efficient and convenient, and saves the production cost of a three-dimensional model. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0038] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.
[0039] Figure 1 A schematic flow chart of a marking method based on a production execution system provided in an embodiment of the present application;
[0040] Figure 2 A schematic diagram of a three-dimensional model and a coordinate system provided in an embodiment of the present application;
[0041] Figure 3 A two-dimensional grid view provided for an embodiment of the present application;
[0042] Figure 4 A schematic diagram of defect position marking provided in an embodiment of the present application;
[0043] Figure 5 A block diagram of a marking system based on a production execution system provided in an embodiment of the present application;
[0044] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown;
[0045] Figure 7 A schematic diagram of a computer-readable storage medium provided in an embodiment of the present application is shown.
[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0048] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0049] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0050] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0051] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0052] In the prior art, there are two main mainstream methods for recording the location of product quality defects: one is the "position numbering" system, which uses specific rules to number key areas of quality concern in the product, such as "001k001". In this coding, the first three digits represent the part number, and the letters refer to the quality focus point. For example, "k" may represent a hole, and the last three digits "001" represent the specific location number of the hole. Another method is "3D marking", which involves transferring the 3D model of each product to the manufacturing execution system (MES), and the operator can directly mark the location of the defect on the model.
[0053] However, each of these methods has some limitations. First, although the position numbering system has certain standardization, it is less intuitive and has challenges in management and query. For field operators, it may be quite difficult to remember these numbers in the face of a large number of product types and quality concerns. In addition, the position numbering system can only mark a limited number of locations, which may lead to incomplete records.
[0054] In contrast, the 3D marking method is much more intuitive and more convenient for on-site operation. However, this method has high requirements for the configuration of the software system and industrial computer, and requires lightweight processing of the 3D model, as well as optimization of the display and marking functions. In addition, a lot of work is required to design the conversion of the 3D model and the system transmission, which makes this method face some difficulties in large-scale promotion.
[0055] To overcome these challenges, consider developing a more efficient, intuitive and easy-to-operate recording system while ensuring that it can adapt to the diversity of different products and quality concerns, as well as meet the actual needs of field operators.
[0056] Figure 1 The present invention provides a marking method based on a production execution system, which includes:
[0057] Step 101: constructing a production execution system based on a pre-constructed two-dimensional grid and a set grid spacing;
[0058] Step 102: receiving a marking instruction sent by a user through the production execution system, wherein the marking instruction carries two-dimensional marking information;
[0059] Step 103: The production execution system converts the two-dimensional marking information into three-dimensional coordinates;
[0060] Step 104: Summarize all converted three-dimensional coordinates, and perform statistics and display of the marks on the three-dimensional view.
[0061] In a possible implementation, before step 101 of constructing a production execution system based on a pre-constructed two-dimensional grid and setting a grid spacing, the method further includes:
[0062] A virtual three-dimensional model is established for the target maintenance equipment; and a reference coordinate system is constructed based on the virtual three-dimensional model.
[0063] In a possible implementation, after constructing a reference coordinate system based on the virtual three-dimensional model, the method further includes:
[0064] A target view is determined for the processing procedure of the target maintenance equipment; a two-dimensional grid is constructed based on the target view and the reference coordinate system; wherein the grid spacing of the two-dimensional grid is adjusted according to the actual target view.
[0065] The two-dimensional grid can accurately locate specific areas on the equipment that need to be processed or maintained. The grid spacing can also be flexibly adjusted according to different processing requirements and equipment characteristics to adapt to various complex processing scenarios.
[0066] In a possible implementation, constructing a two-dimensional grid based on the target view and the reference coordinate system includes:
[0067] Draw grid lines along the X-axis and Y-axis directions in the target view, ensure that the grid lines are aligned with the reference coordinate system, and the grid spacing is consistent in the target view; mark the intersection of each grid line to identify the coordinates of each grid intersection; apply the grid to the target view, ensure that the grid covers the entire view range and all objects are located within the grid cells to construct the two-dimensional grid.
[0068] In a possible implementation, in step 101, constructing a production execution system based on a pre-constructed two-dimensional grid and setting a grid spacing includes:
[0069] The two-dimensional grid of each target view and the corresponding set grid spacing are input into a pre-built production execution system so that the two-dimensional grid of each target view is associated with the corresponding set grid spacing; the set coordinate transformation rule is defined as the coordinate transformation rule of the production execution system; and a marking function is set in the user interface of the production execution system so that the user can directly mark in the two-dimensional grid of each target view.
[0070] The marking function in the user interface allows users to mark directly in the 2D grid, which improves the interactivity and usability of the system. By associating the 2D grid of each target view and setting the grid spacing, the consistency and accuracy of the data are enhanced. Ensure that the 2D grid and grid spacing of all target views are consistent with the coordinate transformation rules of the production execution system to achieve standardized data processing processes.
[0071] In a possible implementation, in step 103, the production execution system converts the two-dimensional marking information into three-dimensional coordinates, including:
[0072] For each two-dimensional marking information, the type of the two-dimensional marking information is determined; and the three-dimensional coordinates corresponding to the two-dimensional marking information are determined according to the coordinate conversion rule corresponding to the type of the two-dimensional marking information, the reference plane information of the two-dimensional grid and the set grid spacing.
[0073] In a possible implementation manner, the type of the two-dimensional mark information includes letter marks, number marks and / or coordinate marks.
[0074] By converting 2D marks into 3D coordinates, the visualization effect in the production process is enhanced, allowing users to understand the production status more intuitively. 3D coordinates provide more accurate location information, which helps to accurately locate products, parts or defects, thereby improving processing accuracy and quality control.
[0075] The marking method based on the production execution system provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.
[0076] The production execution system provided in the embodiment of the present application realizes the conversion from two-dimensional view to three-dimensional space by establishing a unified reference coordinate system. It accurately identifies and records the defect location in the three-dimensional model. It specifically includes the following stages:
[0077] Phase 1: Constructing the reference coordinate system.
[0078] A virtual three-dimensional model is established for the target maintenance equipment, and a reference coordinate system is constructed based on the virtual three-dimensional model. A two-dimensional projection is performed on the three-dimensional model to establish a reference coordinate system, ensuring that all views are located in one quadrant of the coordinate system. Figure 2 A schematic diagram of the three-dimensional model and coordinate system is shown.
[0079] Phase 2: Constructing a two-dimensional grid.
[0080] A target view is determined for the processing procedure of the target maintenance equipment; a two-dimensional grid is constructed based on the target view and the reference coordinate system; wherein the grid spacing of the two-dimensional grid is adjusted according to the actual target view.
[0081] The step of constructing a two-dimensional grid based on the target view and the reference coordinate system may include: drawing grid lines along the X-axis and Y-axis directions in the target view, ensuring that the grid lines are aligned with the reference coordinate system and that the grid spacing remains consistent in the target view; marking the intersection of each grid line to identify the coordinates of each grid intersection; applying the grid to the target view, ensuring that the grid covers the entire view range and that all objects are located within the grid cells to construct the two-dimensional grid.
[0082] Figure 3 A schematic diagram of a two-dimensional grid is shown. Figure 2 Taking product processing as an example, for each processing step, you can select a view that can reflect the processing position, and establish a two-dimensional grid based on the coordinate system. The grid spacing can be adjusted as needed.
[0083] Phase 3: Recording of view planes and grid spacing in the MES system.
[0084] The two-dimensional grid of each target view and the corresponding set grid spacing are input into a pre-built production execution system so that the two-dimensional grid of each target view is associated with the corresponding set grid spacing; the set coordinate transformation rule is defined as the coordinate transformation rule of the production execution system; and a marking function is set in the user interface of the production execution system so that the user can directly mark in the two-dimensional grid of each target view.
[0085] After the view is generated, the basic data of the view is maintained in the MES system at the same time. It should contain two types of information, the view plane and the grid spacing, for coordinate conversion. With the basic data of the view plane and the grid spacing, the position in the two-dimensional view can be converted to the coordinate in the three-dimensional space. For example, if the view plane is y=0 and the grid spacing is 1cm, then the position marked in the view can be converted to the coordinate in the three-dimensional space.
[0086] like Figure 3 The view plane can be marked as y=0, xz plane, and the grid spacing is set to 1cm. Figure 3 The grid spacing is 1 cm. As shown in Table 1:
[0087] Table 1 Basic data maintenance
[0088] Basic data parameter View Plane Y=0, XZ plane Grid Spacing 1cm
[0089] In the MES system, a view plane needs to be defined and maintained. This plane can be marked as a specific mathematical equation, such as y=0, which means that the view plane is horizontal and parallel to the y axis. This view plane can be simplified as the xz plane, which means that on this plane, the value of the y coordinate is 0, while the x and z coordinates can vary.
[0090] The process of maintaining view base data in the Manufacturing Execution System (MES) to ensure accurate reference when performing coordinate transformations. In the MES system, the grid spacing also needs to be set, which is the size of each grid cell in the grid system. For example, the grid spacing can be set to 1 cm, meaning that the side length of each grid cell is 1 cm.
[0091] Accurately maintaining the basic data of view planes and grid spacing in the MES system is the key to coordinate transformation and accurate positioning of defects. By maintaining the basic view data in the MES system, the accuracy and efficiency of the production process can be improved, while reducing errors and rework, ensuring product quality and production efficiency.
[0092] Stage 4: Marking defect locations in a 2D grid view.
[0093] Figure 4A schematic diagram of defect position marking provided in an embodiment of the present application. In a two-dimensional grid view, the defect position is marked. The marked grid position is recorded in a table or recorded manually with reference to the two-dimensional grid view.
[0094] It should be noted that the two-dimensional grid diagram is used as a reference here to help identify and record the defect location, and it is not necessary to mark it directly on the diagram. The two-dimensional grid diagram does not need to use the traditional coordinate marking method, and letters, numbers or other marking methods can be used to identify the defect location. The most appropriate marking method can be selected according to the actual situation.
[0095] Phase 5: Convert 2D markers into 3D coordinates.
[0096] First, for each two-dimensional mark information, determine the type of the two-dimensional mark information; further, determine the three-dimensional coordinates corresponding to the two-dimensional mark information according to the coordinate conversion rule corresponding to the type of the two-dimensional mark information, the reference plane information of the two-dimensional grid and the set grid spacing. The type of the two-dimensional mark information includes letter marks, digital marks and / or coordinate marks. For example, the mark position X7Z1 can be converted into a three-dimensional coordinate (X, Y, Z) = (7.5, 0.5, 1.5).
[0097] When marking or positioning, select the lower left corner of the grid or coordinate system as the starting point or reference point. For example, if the view coordinate plane is used as the reference, the "left and bottom" principle can be adopted for marking. The "left and bottom" principle usually means that when marking or positioning, select the lower left corner of the grid or coordinate system as the starting point or reference point. This principle is used to determine the coordinates of a specific position in a two-dimensional or three-dimensional grid system.
[0098] Specifically, if you have a grid system and are standing in a certain view of the grid, "left-to-bottom" means: when facing the grid, choose the leftmost column of the grid as the starting point of the X axis. At the same time, choose the bottom row of the grid as the starting point of the Y axis. For example, a 3x3 grid, and standing in front of the grid, then the principle of "left-to-bottom" would mean that the 0 point (starting point) of the X axis is the leftmost column of the grid, and the 0 point (starting point) of the Y axis is the bottom row of the grid. When marking a point, start counting from the bottom left corner, increase the X value to the right, and increase the Y value upward. This notation method helps standardize the coordinate system so that different people can consistently understand and communicate location information when using the same grid system.
[0099] In the example, if the marker position is Figure 4If the X7Z1 in the view is X7Z1, then it can be marked as Y0X7Z1 in combination with the view reference plane, or just X7Z1, and the system can automatically match the view reference plane Y0 based on the basic data. Furthermore, according to the grid spacing, the grid center point is taken as the coordinate point to convert the mark of the two-dimensional grid into the coordinates in the three-dimensional view. For example, if the grid spacing is 1, Z1 represents the first grid in the Z axis direction. Similarly, the Z coordinate is 1+0.5=1.5. Then the coordinates of the center point of the grid marked X7Z1 may be (X,Y,Z=7.5,0.5,1.5).
[0100] Phase 6: Summarize defect information: Integrate defect information and perform three-dimensional view statistics.
[0101] All defect location information is summarized and converted into corresponding three-dimensional coordinates to realize the statistics and analysis of defect locations on a three-dimensional view.
[0102] This process helps to accurately locate and record defects in three-dimensional space, making defect management more efficient and accurate. Through automated and standardized recording methods, human errors can be reduced and the efficiency of defect tracking and repair can be improved.
[0103] Currently, two-dimensional drawings have been widely used in MES systems, such as work instructions, installation schematics, etc. The function of marking defect locations with two-dimensional grid maps does not require major changes to the software system and hardware configuration. In addition, when marking in the two-dimensional view, there is no need to remember the relevant position numbers, which is convenient, intuitive and relatively comprehensive. The two-dimensional view does not need to be dimensioned and can be directly converted, which requires little workload. The establishment of a reference coordinate system can unify the marks in different views into three dimensions, which can provide better control over the overall quality of the product and facilitate statistical analysis.
[0104] It should be noted that it is not necessary to mark directly in the two-dimensional grid diagram. The two-dimensional grid is used as a reference and is only for display. The two-dimensional grid does not need to be marked with coordinates. Other marking methods such as letters and numbers are also within this scope.
[0105] In summary, the embodiment of the present application provides a marking method based on a production execution system, by constructing a production execution system based on a pre-constructed two-dimensional grid and setting the grid spacing; receiving a marking instruction sent by a user through the production execution system, the marking instruction carries two-dimensional marking information; the production execution system converts the two-dimensional marking information into three-dimensional coordinates; all converted three-dimensional coordinates are summarized, and the marking is counted and displayed on a three-dimensional view. It can provide a real-time marking function and can be applied in fields such as defect marking. Users mark directly in a two-dimensional view, which can be directly converted into three-dimensional coordinates through the production execution system, which is efficient and convenient, and saves the production cost of a three-dimensional model.
[0106] Based on the same technical concept, the embodiment of the present application also provides a marking system based on a production execution system, such as Figure 5 As shown, the system comprises:
[0107] A system construction module 501 is used to construct a production execution system based on a pre-constructed two-dimensional grid and a set grid spacing;
[0108] An instruction receiving module 502 is used to receive a marking instruction sent by a user through the production execution system, wherein the marking instruction carries two-dimensional marking information;
[0109] A mark conversion module 503, used by the production execution system to convert the two-dimensional mark information into three-dimensional coordinates;
[0110] The display module 504 is used to collect all the converted three-dimensional coordinates and perform marked statistics and display on the three-dimensional view.
[0111] The present application also provides an electronic device corresponding to the method provided in the above embodiment. Figure 6 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. The electronic device 20 may include: a processor 200, a memory 201, a bus 202 and a communication interface 203, wherein the processor 200, the communication interface 203 and the memory 201 are connected via the bus 202; the memory 201 stores a computer program that can be run on the processor 200, and the processor 200 executes the method provided by any of the aforementioned embodiments of the present application when running the computer program.
[0112] The memory 201 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one physical port 203 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0113] The bus 202 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used to store programs, and the processor 200 executes the programs after receiving execution instructions. The method disclosed in any implementation of the aforementioned embodiment of the present application may be applied to the processor 200, or implemented by the processor 200.
[0114] The processor 200 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 200. The above processor 200 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 201, and the processor 200 reads the information in the memory 201 and completes the steps of the above method in combination with its hardware.
[0115] The electronic device provided in the embodiment of the present application and the method provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, operated or implemented by them.
[0116] The present application also provides a computer-readable storage medium corresponding to the method provided in the above embodiment. Figure 7 The computer-readable storage medium shown is a CD 30 on which a computer program (ie, a program product) is stored. When the computer program is run by a processor, the method provided in any of the aforementioned embodiments is executed.
[0117] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0118] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0119] It should be noted that:
[0120] The algorithm and display provided herein are not inherently related to any particular computer, virtual device or other equipment. Various general purpose devices can also be used together with the teachings based on this. According to the above description, it is obvious to construct the structure required for this type of device. In addition, the application is not directed to any specific programming language. It should be understood that the content of the application described herein can be realized using various programming languages, and the description of the specific language above is to disclose the best mode of implementation of the application.
[0121] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0122] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.
[0123] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0124] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0125] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the creation device of the virtual machine according to the embodiment of the present application. The application can also be implemented as a device or device program (e.g., computer program and computer program product) for executing part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0126] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets should not be constructed as a limitation to the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names.
[0127] The above is only a preferred specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
[0128] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A marking method based on a production execution system, characterized in that: The method comprises: Build a production execution system based on a pre-built 2D grid and set grid spacing; Receiving a marking instruction sent by a user through the production execution system, wherein the marking instruction carries two-dimensional marking information; The production execution system converts the two-dimensional marking information into three-dimensional coordinates; All transformed 3D coordinates are summarized and marked and displayed on the 3D view.
2. The method according to claim 1, characterized in that The production execution system converts the two-dimensional marking information into three-dimensional coordinates, including: For each two-dimensional marking information, determining the type of the two-dimensional marking information; The three-dimensional coordinates corresponding to the two-dimensional mark information are determined according to the coordinate conversion rule corresponding to the type of the two-dimensional mark information, the reference plane information of the two-dimensional grid and the set grid spacing.
3. The method according to claim 2, characterized in that The types of the two-dimensional mark information include letter marks, number marks and / or coordinate marks.
4. The method according to claim 1, characterized in that Before constructing the production execution system based on the pre-constructed two-dimensional grid and setting the grid spacing, the method further includes: Establish a virtual 3D model of the target maintenance equipment; A reference coordinate system is constructed based on the virtual three-dimensional model.
5. The method according to claim 4, characterized in that After constructing the reference coordinate system based on the virtual three-dimensional model, the method further includes: Determining a target view for a processing procedure of the target maintenance equipment; A two-dimensional grid is constructed based on the target view and the reference coordinate system; wherein the grid spacing of the two-dimensional grid is adjusted according to the actual target view.
6. The method according to claim 5, characterized in that The constructing a two-dimensional grid based on the target view and the reference coordinate system includes: Draw grid lines along the X-axis and Y-axis directions in the target view, ensuring that the grid lines are aligned with the reference coordinate system and that the grid spacing remains consistent in the target view; Marking is performed at the intersection of each grid line to identify the coordinates of each grid intersection; A grid is applied to the target view, ensuring that the grid covers the entire view range and all objects are located within the grid cells to construct the two-dimensional grid.
7. The method according to claim 1, characterized in that The production execution system is constructed based on a pre-constructed two-dimensional grid and a set grid spacing, including: Inputting the two-dimensional grid of each target view and the corresponding set grid spacing in the pre-built production execution system so that the two-dimensional grid of each target view is associated with the corresponding set grid spacing; defining a set coordinate transformation rule as a coordinate transformation rule of the production execution system; A marking function is provided in the user interface of the production execution system so that the user can directly mark in the two-dimensional grid of each target view.
8. A marking system based on a production execution system, characterized in that: The system comprises: System building module for building a production execution system based on a pre-built 2D grid and set grid spacing; An instruction receiving module, used for receiving a marking instruction sent by a user through the production execution system, wherein the marking instruction carries two-dimensional marking information; A marking conversion module, used for the production execution system to convert the two-dimensional marking information into three-dimensional coordinates; The display module is used to summarize all converted 3D coordinates and perform marked statistics and display on the 3D view.
9. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1-7.
