CN116029623B - Method, apparatus and storage medium for constructing check flow model - Google Patents

Method, apparatus and storage medium for constructing check flow model Download PDF

Info

Publication number
CN116029623B
CN116029623B CN202310128019.3A CN202310128019A CN116029623B CN 116029623 B CN116029623 B CN 116029623B CN 202310128019 A CN202310128019 A CN 202310128019A CN 116029623 B CN116029623 B CN 116029623B
Authority
CN
China
Prior art keywords
node
check
flow
check flow
inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310128019.3A
Other languages
Chinese (zh)
Other versions
CN116029623A (en
Inventor
彭杉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiwei Technology Guangzhou Co ltd
Original Assignee
Xiwei Technology Guangzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiwei Technology Guangzhou Co ltd filed Critical Xiwei Technology Guangzhou Co ltd
Priority to CN202310128019.3A priority Critical patent/CN116029623B/en
Publication of CN116029623A publication Critical patent/CN116029623A/en
Application granted granted Critical
Publication of CN116029623B publication Critical patent/CN116029623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method, equipment and storage medium for constructing an inspection flow model, and belongs to the technical field of product inspection. The method comprises the following steps: constructing a verification flow hierarchy comprising a plurality of levels of plant elements, each level of plant elements comprising at least one plant element; and respectively identifying a plurality of factory elements in the inspection flow hierarchical structure as inspection flow nodes of different types, and respectively configuring corresponding execution instructions for the identified inspection flow nodes to obtain an inspection flow model, wherein the inspection flow model is used for describing the inspection flow of the production line. Therefore, the inspection flow model of any type of factory can be set in a self-defined mode, different logic processing capacities are given to factory elements in the inspection flow model, and the inspection flow model constructed in the mode can support the inspection requirements of any product on any node, so that the requirements of a flexible product production line on multiple products, multiple configurations and multiple inspection contents are met, and the inspection flexibility of the flexible product production line is improved.

Description

Method, apparatus and storage medium for constructing check flow model
Technical Field
The present disclosure relates to the field of product inspection technologies, and in particular, to a method, an apparatus, and a storage medium for constructing an inspection flow model.
Background
When products are produced or assembled on a product production line, inspection points are usually set on the production line to inspect the products in the production process so as to ensure the quality of the products.
Conventional inspection processes are typically set up for a single product line. For example, for a production line of a specific product, one inspection point is arranged for inspection every two tacts on the production line, or one inspection point is arranged for inspection every several batches/pieces of product produced. After each inspection point is inspected and the set inspection project is completed, the quality inspector of each inspection point manually fills in the inspection result, and records the relation among the product, the inspection project, the inspection result and the inspection point, thereby completing the inspection process. However, with the rise of production technology, flexible product production lines have emerged, which are capable of completing the production or assembly of different products by a production configuration on one production line.
Because for the flexible product production line, the production beats of each product on the production line are different, the setting positions and the frequency of the inspection points are different, and the inspection items required to be inspected at each inspection point are different, the traditional inspection flow is complex to operate, and the requirements of the flexible product production line on multiple products, multiple configurations and multiple inspection contents cannot be met.
Disclosure of Invention
The method, the device and the storage medium for constructing the inspection flow model can support the inspection requirements of any product on any node, so that the requirements of a flexible product production line on multiple products, multiple configurations and multiple inspection contents can be met, and the inspection flexibility of the flexible product production line is improved. The technical scheme is as follows:
in a first aspect, a method of constructing a check flow model is provided, the method comprising:
constructing a verification flow hierarchy comprising a plurality of levels of plant elements, each level of plant elements comprising at least one plant element;
identifying a plurality of factory elements in the inspection flow hierarchical structure as inspection flow nodes of different types respectively, and configuring corresponding execution instructions for the identified inspection flow nodes respectively to obtain an inspection flow model, wherein the inspection flow model is used for describing inspection flows of a production line;
the different types of check flow nodes at least comprise a starting point, a check point and an ending point, the starting point and the ending point are respectively the starting node and the ending node of the check flow, the check point is used for indicating that the corresponding check flow node has check capability for products, the execution instruction comprises a transmission instruction and/or an operation instruction, the transmission instruction is used for indicating the corresponding node to transmit information to other equipment, and the operation instruction is used for indicating the corresponding node to execute corresponding operation.
Optionally, the building the check flow hierarchy includes:
constructing a factory element object table, wherein the factory element object table comprises a hierarchy identification of N hierarchies and a hierarchy constraint relation, the hierarchy constraint relation is used for constraining the last hierarchy and/or the next hierarchy of each hierarchy in the N hierarchies, and N is the maximum number of hierarchies which can be included in the inspection flow hierarchy;
constructing a check flow structure table according to the plant element object table, wherein the check flow structure table comprises element identifiers of at least one plant element in each of the multiple layers, layer identifiers of corresponding layers and layer identifiers of upper-level layers and/or lower-level layers of the corresponding layers;
and constructing the check flow hierarchical structure according to the check flow structure table.
Optionally, the constructing the check flow layer level structure according to the check flow structure table includes:
and performing hierarchical rendering according to the check flow structure table to generate a visualized check flow hierarchical structure, wherein the visualized check flow hierarchical structure is in a tree structure or a tiled structure.
Optionally, the method further comprises:
and if the exchanging operation of the element identifiers of the two factory elements belonging to the same hierarchy in the check flow structure table is detected, exchanging the hierarchy identifiers of the corresponding hierarchy of the element identifiers of the two factory elements and the hierarchy identifiers of the upper hierarchy and/or the lower hierarchy of the corresponding hierarchy.
Optionally, the identifying the plurality of plant elements in the inspection flow hierarchical structure as inspection flow nodes of different types respectively, and configuring corresponding execution instructions for the identified inspection flow nodes respectively, to obtain an inspection flow model, includes:
establishing a check flow node table, wherein the check flow node table comprises node identifiers of a plurality of check flow nodes corresponding to the plurality of plant elements one by one, node position information, node types and instruction identifiers of corresponding execution instructions, and the node position information is used for indicating serial numbers of the corresponding plant elements in each of the plurality of levels;
and generating the check flow model according to the check flow node table and the check flow hierarchical structure.
Optionally, before the establishing the check flow node table, the method further includes:
establishing an execution instruction table, wherein the execution instruction table comprises an instruction identification, instruction description information and an instruction type of each instruction in all instructions which can be executed by a stream node, and the instruction type comprises the transfer instruction and the operation instruction;
said constructing said check flow model from said check flow node table and said check flow hierarchy, comprising:
And generating the check flow model according to the check flow node table, the execution instruction table and the check flow hierarchical structure.
Optionally, before the establishing the check flow node table, the method further includes:
displaying the visualized check flow hierarchy;
if the node type identification operation on the plurality of plant elements is detected based on the visualized inspection flow hierarchical structure, acquiring the node type identification operation as the node type respectively identified by the plurality of plant elements;
and establishing the check flow node table according to the node type identification operation as the node type respectively identified by the plurality of factory elements.
Optionally, before the node types respectively identified for the plurality of plant elements according to the node type identification operation and the check flow node table is established, the method further includes:
if the execution instruction configuration operation of the inspection flow nodes corresponding to the plurality of factory elements is detected based on the visualized inspection flow hierarchical structure, acquiring the execution instruction configuration operation as the execution instructions respectively configured by the inspection flow nodes corresponding to the plurality of factory elements;
And establishing the check flow node table according to the node type identified by the node type identification operation as the node type respectively identified by the plurality of factory elements and the execution instruction configuration operation as the execution instruction respectively configured by the check flow nodes corresponding to the plurality of factory elements.
Optionally, before the generating the check flow model according to the check flow node table, the instruction table and the check flow hierarchy, the method further includes:
establishing a node event table, wherein the node event table is used for storing event identification, event description information, object identification of an event initiating object, object identification of an event acting object and event time stamp of a completed event of the inspection flow model, and the completed event is an event that each inspection flow node in the inspection flow model executes a corresponding execution instruction to complete;
after the generating the check flow model according to the check flow node table, the instruction table and the check flow hierarchy, the method further includes:
after a first check flow node in the check flow model executes a corresponding execution instruction, correspondingly storing an event identifier of an event, an object identifier of an event initiating object, an object identifier of an event acting object and an event timestamp of the event completed by the first check flow node executing the corresponding execution instruction in the node event table, wherein the first check flow node is any check flow node in the check flow model.
Optionally, after identifying the plurality of factory elements in the inspection flow hierarchy as different types of inspection flow nodes and configuring corresponding execution instructions for the identified inspection flow nodes, the method further includes at least one of the following manners:
for a first check flow node in the check flow model, the first check flow node sends information of the first check flow node to a previous check flow node and/or a next check flow node of the first check flow node;
the first check flow node broadcasts information of the first check flow node to other check flow nodes, wherein the other nodes refer to all or part of check flow nodes except the first check flow node in the check flow model;
the first check flow node sends an execution instruction to a second check flow node, wherein the execution instruction is a transfer instruction or an operation instruction, and the second check flow node is any check flow node except the first check flow node in the check flow model;
and the first check flow node receives an execution instruction sent by the second check flow node.
Optionally, the different types of check flow nodes further include at least one of the following check flow nodes:
An assembly point for indicating that the corresponding check flow node has assembly capability for the product;
a dynamic checkpoint, which is a checkpoint for a specific product set by a first checkpoint, and is used for indicating that a corresponding checkpoint node has the checking capability of the first checkpoint, and the first checkpoint is any one of the checkflow models;
an online rework point for indicating that the corresponding inspection flow node has rework capability for an online product of the production line;
the quality gate node is used for indicating the capability of the corresponding check flow node for judging whether the product is wholly qualified or not;
the storage point is used for indicating the corresponding check flow node to store the qualified product;
and the independent repair point is used for indicating that the corresponding inspection flow node has the repair capability for the product on line of the production line.
In a second aspect, there is provided an apparatus for constructing a check flow model, the apparatus comprising:
a first building module for building a check flow hierarchy, the check flow hierarchy comprising a plurality of levels of plant elements, each level of plant elements comprising at least one plant element;
The second construction module is used for respectively identifying a plurality of factory elements in the lowest-level factory elements included in the inspection flow level structure as inspection flow nodes of different types, and respectively configuring corresponding execution instructions for the identified inspection flow nodes to obtain an inspection flow model;
the different types of check flow nodes at least comprise a starting point, a check point and an ending point, the starting point and the ending point respectively refer to the starting node and the ending node of the check flow, the check point refers to the corresponding check flow node having check capability for products, the execution instruction comprises a transfer instruction and/or an operation instruction, the transfer instruction is used for indicating the corresponding node to transfer information to other devices, and the operation instruction is used for indicating the corresponding node to execute corresponding operation.
In a third aspect, a computer device is provided, the computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program implementing the above-described method of building a check flow model when executed by the processor.
In a fourth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a computer program, which when executed by a processor, implements the above-described method of building a check flow model.
In a fifth aspect, a computer program product is provided comprising instructions which, when run on a computer, cause the computer to perform the steps of the method of constructing a check flow model described above.
The method for constructing the check flow model has the beneficial effects that:
in the embodiment of the application, the inspection flow layer structure of the factory element inspection flow comprising a plurality of layers is constructed, so that the inspection flow model of any type of factory can be set in a self-defined mode. And then, by respectively identifying a plurality of factory elements in the inspection flow layer structure as inspection flow nodes of different types and respectively configuring corresponding execution instructions for the identified inspection flow nodes, different logic processing capacities can be given to the plurality of factory elements in the inspection flow layer structure, so that the plurality of factory elements can mutually cooperate according to the corresponding logic processing capacities to finish inspection of products, and the inspection flow nodes of different types can be freely expanded to bind the inspection flow nodes with the different logic processing capacities. The inspection flow model constructed in the mode can support the inspection requirement of any product on any node, so that the requirements of a flexible product production line for multiple products, multiple configurations and multiple inspection contents can be met, and the inspection flexibility of the flexible product production line is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic logic structure diagram of a computer device according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of constructing a check flow model provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of a visual inspection flow hierarchy provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a check flow model provided in an embodiment of the present application;
FIG. 5 is a flow chart of another method of constructing a check flow model provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of instructions executed by each check flow node in a check flow model and corresponding generated events according to an embodiment of the present application;
FIG. 7 is a logic diagram of a method for constructing a check flow model according to an embodiment of the present application;
FIG. 8 is a block diagram of an apparatus for building a check flow model provided by an embodiment of the present application;
Fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that reference herein to "a plurality" means two or more. In the description of the present application, "/" means or, unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, for the purpose of facilitating the clear description of the technical solutions of the present application, the words "first", "second", etc. are used to distinguish between the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
Before explaining the embodiments of the present application in detail, application scenarios of the embodiments of the present application are described.
The method for constructing the inspection flow model is applied to the flexible product production line, and can construct the inspection flow model supporting the flexible product production line so as to meet inspection requirements of different products on the flexible product production line and improve inspection flexibility of the flexible product production line. The inspection flow model refers to a model describing inspection flow of a production line of a product, wherein the inspection flow is used for indicating inspection flow of the product on the production line, such as inspection of nodes of the product on the production line, operation performed on each node, information flow direction among the nodes and the like.
The flexible product production line can be used for producing or assembling products such as vehicles, electronic equipment, electrical equipment and the like, and the embodiment of the application is not limited. For example, the vehicle may be a car or SUV (Sport UtilityVehicle ), the electronic device may be a mobile phone, a tablet computer, a computer, or the like, and the electrical device may be a television, a refrigerator, a washing machine, or the like.
The execution subject of the method provided by the embodiment of the application can be computer equipment, and the verification flow model is constructed through the computer equipment. The computer equipment can be a mobile phone, a tablet personal computer or a computer and other terminals, and can also be a server and the like. For example, the computer device is configured with a check flow model management module by which a check flow model can be constructed. In addition, the constructed check flow model can be managed or checked by the check flow model management module.
In addition, the computer equipment can be further provided with a checking module which can interact with the checking flow model management module to finish checking the product according to the checking flow model constructed by the checking flow model management module.
The check flow model management module may be a code module integrated with the computer device. In addition, the check flow model management module can also be an application program installed for the computer equipment, for example, the check flow model management module can be a check flow model management application, and the check flow model management application can realize related functions under the support of a background server. In addition, the verification flow model management module may be a part of functional modules in an application program installed on the computer device, such as a functional module of a quality management platform installed on the computer device. The implementation form of the inspection flow model management module is not limited in the embodiment of the application.
Next, a check flow model management module will be described as an example of a check flow model management application. Referring to fig. 1, fig. 1 is a schematic logic structure of a computer device according to an embodiment of the present application, and as shown in fig. 1, the computer device is installed with a verification flow model management application 10 and a database 20. The check flow model management application 10 is configured to construct a check flow model of any product according to the method provided in the embodiments of the present application, and the database 20 is configured to store data required in the process of constructing the check flow model by the check flow model management application 10 and generated data, such as a factory element object table, a check flow structure table, a check flow layer level structure, a check flow node table, an instruction table, model data of the check flow model, and the like, although other relevant data may be stored.
As an example, the administrator may log in to the check-flow model management application 10 using an administrator account, and after the login is successful, perform an operation of building a check-flow model in an application interface provided by the check-flow model management application 10, so that the check-flow model management application 10 completes the building of a check-flow model according to the operation of the administrator.
It should be noted that fig. 1 is only an example of the verification flow model management application 10 and the database 20 being located in the same computer device, and it should be understood that the database 20 may also be located in other devices, such as a server located in the cloud, and the location of the database 20 is not limited in the embodiments of the present application.
It should be further noted that fig. 1 only illustrates an example in which the method provided in the embodiment of the present application is applied to a verification flow model management application installed in an electronic device, and it should be understood that the method may also be applied to a server, for example, a background server of the verification flow model management application, or the method may also be implemented by interaction between the verification flow model management application and the server, and the embodiment of the present application does not limit a specific implementation environment of the method.
The method for constructing the check flow model provided in the embodiment of the present application is explained in detail below.
Fig. 2 is a flowchart of a method for constructing a check flow model according to an embodiment of the present application, where the method is applied to an electronic device, for example, in a check flow model management application installed in the electronic device. Referring to fig. 2, the method includes the steps of:
step 201: a verification flow hierarchy is constructed that includes a plurality of levels of plant elements, each level of plant elements including at least one plant element.
In the embodiment of the application, the inspection flow model is a factory model capable of describing the inspection flow of the product on the production line, and in order to construct the inspection flow model, an inspection flow hierarchical structure may be constructed first. The inspection flow hierarchy is a plant model that is made up of multiple levels of plant elements.
The factory element refers to a core element constituting a factory, such as a factory, a workshop, a production line, a section or a station. Wherein, different levels are provided with corresponding level identifiers, and the level identifiers can be level names or level numbers and the like.
For example, the inspection flow hierarchy includes 5 levels of factory elements, the 5 levels being factory, shop, production line, section and station, respectively. Illustratively, the plants are level 0, the workshops are level 1, the production lines are level 2, the workshops are level 3, and the workstations are level 4. It should be understood that the inspection flow hierarchy may also include more or less than 5 hierarchies, which is not limited in this embodiment of the present application.
As one example, the check flow hierarchy is a tree structure or a tiled structure.
As one example, the electronic device may display a build interface of the check flow hierarchy in which a user may operate to build the check flow hierarchy. If the electronic equipment detects the construction operation of the user based on the construction interface, constructing the check flow hierarchical structure according to the construction operation of the user. For example, the electronic device may run a check flow model management application, and display a construction interface of the check flow hierarchy in an application interface of the check flow model management application according to a user operation of the check flow model management application by a user.
The building interface of the inspection flow hierarchy structure is used for building the inspection flow hierarchy structure, such as configuring the layer number included in the inspection flow hierarchy structure, factory elements corresponding to each layer, and the like.
Illustratively, the inspection flow hierarchy may be configured by a build interface of the inspection flow hierarchy to include 5 levels, the 5 levels being a factory, a plant, a production line, a section, and a station, respectively. Wherein, the factory is level 0, the workshop is level 1, the production line is level 2, the workshop is level 3, and the workstation is level 4; the factory comprises a workshop 1, the workshop 1 comprises a production line 1 and a production line 2, the production line 2 comprises a working section 1 and a working section 2, and the working section 2 comprises a working station 1 and a working station 2.
As an example, building the check flow hierarchy may be implemented by steps 501-503 in the embodiment of fig. 5 described below, which is not described herein.
Step 202: and respectively identifying a plurality of factory elements in the inspection flow hierarchical structure as inspection flow nodes of different types, and respectively configuring corresponding execution instructions for the identified inspection flow nodes to obtain an inspection flow model.
Wherein each of the check flow nodes corresponds to one of a plurality of plant elements in the check flow hierarchy, different types of check flow nodes having different functions. The different types of check flow nodes can be set by a user according to the production requirement and the check requirement of the product, and the different types of check flow nodes identified by the embodiment of the application are not limited.
For example, the plurality of factory elements are factory elements of a last level in the inspection flow hierarchy, i.e., the plurality of factory elements in the last level in the inspection flow hierarchy may be respectively identified as different types of inspection flow nodes. The plurality of factory elements may be all or part of the factory elements of the last level in the inspection flow hierarchy.
As one example, the different types of check flow nodes include at least a start point, a check point, and an end point. Of course, the different types of inspection flow nodes may also include other types of functional nodes such as an assembly point, a dynamic inspection point, an online repair point, a quality gate node, a storage point, or an independent repair point, which is not limited in the embodiment of the present application.
Where the starting point refers to the starting node of the check flow. The start point is used to identify that a check order is generated for a given product at all check points after the start point and that the given product begins to assemble. In addition, the starting point may or may not be a check point.
For example, after a certain factory element is identified as a starting point, the starting point may be used to detect whether a specified product reaches the starting point, and if it is detected that the specified product reaches the starting point, the starting point may send, to the inspection module, indication information indicating that the specified product reaches the starting point, so that the inspection module generates or issues an inspection order for all inspection points subsequent to the starting point according to the indication information.
For example, any plant element in level 4 may be identified as a starting point. The principle of the uppermost element is satisfied by identifying a starting point, i.e. no other node is located above the starting point. In addition, when the product reaches the starting point, the starting point needs to transmit the following instructions to other product feature modules: a check flow chart for the current product is generated for configuration information for the product. The starting point needs to transmit the following instructions to other inspection modules: the full generation of the check order is performed when the product reaches the start node. The starting point is to transmit the following instructions to other product order modules: the serial number of the product needs to be scanned and correlated with the product inspection plan.
Wherein, the check point means that the corresponding check flow node has check capability for the product. The check point is the core node of the check flow, indicating that a quality check of the product needs to be performed on the corresponding check node.
In addition, the checkpoint may also have one or more of the following functions:
1) The current checkpoint is skipped. When the product reaches the current check point, the check item of the current check point is skipped, and the product is directly transmitted to the next node. For example, the check point may pass instructions to other check modules identifying that the check of the check point for a product may be omitted.
2) Designating a repair point. The rework site refers to a check flow node for reworking a product. If the current inspection point fails to inspect the product, the current inspection point can designate other inspection flow nodes as repairing points so as to transmit the product which fails to inspect to the designated repairing points for repairing.
3) Designating a discard point. The reject point refers to a check flow node for placing reject products. If the current inspection point fails to inspect the product and determines that the current product is a scrapped product, the current inspection point can designate other inspection flow nodes as scrapped points so as to transmit the scrapped product to the designated scrapped point for placement.
3) A loop point is specified. The circulation point is used for indicating the circulation operation of the product from the corresponding inspection point. For example, the operation of the previous assembly process and/or inspection process is repeatedly performed on the product.
4) Mutual checkpoints are specified. The mutual check point is a check flow node which performs mutual check with the current check point, and the check requirements of two check points which are mutually check points are the same. The current check point can designate other check flow nodes as mutual check points of the current check point so as to instruct the mutual check point to check the product according to the check requirement of the current check point, and meanwhile, the current check point can also check the product according to the check requirement of the mutual check point.
5) And alarming. The current inspection point can give an alarm according to different conditions. For example, if the current inspection point fails to inspect the product, an alarm is given to prompt the user that the inspection of the product fails. Of course, the alarm can be given for other situations. For example, the checkpoint may communicate instructions to other checkpoints identifying that the checkpoints fail to communicate alarm notification information.
6) An audiot test was performed. The Audit test is a novel quality test method, and is characterized in that quality inspection and evaluation are carried out on qualified products according to the eye light and requirements of users, responsibility is implemented on detected quality defects, the reasons for the defects are analyzed, correction measures are adopted to eliminate the defects, and the quality of the products is gradually improved. For example, this checkpoint may communicate instructions to other checkpoints identifying that an audiot check is to be initiated on the product at this checkpoint.
7) And reconfirm control points of the repair points. The checkpoint may pass instructions to identify the node as a post-repair acknowledgement that the instructions can only pass backward.
The checkpoints may turn on or off any of the functions described above. For example, the on or off of the above-described functions may be indicated by an on flag or an off flag. For example, the on or off of the corresponding function may be identified by a Boolean field of 0 or 1.
As an example, in the embodiment of the present application, any factory element in the hierarchy 4 may be identified as a checkpoint, but the location of the checkpoint is only from top to bottom at the start point= > checkpoint= > end point. The start point can be the first inspection point and the end point can be the last inspection point.
The end point refers to the end node of the check flow. The end points are used to identify inspection orders that close all inspection points at the end points, and rework orders that close all rework points.
For example, after a certain factory element is identified as an end point, the end point may detect whether a specified product reaches the end point, and if the specified product is detected to reach the end point, the end point may send indication information that the specified product reaches the end point to the inspection module, so that the inspection module closes inspection orders of all inspection points and closes repair orders of all repair points according to the indication information.
The assembly point is used to indicate that the corresponding check-flow node has assembly capability for the product, indicating that the product is assembled by a person or machine on this check-flow node. The inspection point and the assembly point may overlap.
The dynamic test point is usually a test point for a specified product set by a certain test point, and the dynamic test point is given a test requirement of the certain test point, and the specified product can be tested according to the test requirement of the certain test point. In addition, a dynamic range of the dynamic test point can be set for a certain test point, and the dynamic range is used for indicating the product range of the dynamic test point for testing. For example, the product range may be the last 15 products of a product that is inspected at a certain inspection point, i.e., the last 15 products have passed the post-dynamic inspection point failure.
The online rework site is used to indicate that the corresponding inspection flow node has rework capabilities for the product on-line of the production line. In addition, the online repairing point can also be associated with repairing information such as repairing projects, repairing time and the like.
And the quality gate node is used for indicating the capability of the corresponding check flow node for judging whether the product is wholly qualified or not. Whether the product is released or not is judged by judging whether the whole product is qualified or not. For example, if the product is not acceptable as a whole, the operation at the quality gate node may be to take the product off-line or to repair it on-line. If the product is wholly acceptable, the product is released, for example, transferred to the next node or to a storage point.
The deposit point is used for indicating the corresponding check flow node to store the qualified product, i.e. the deposit point is the area for storing the qualified product.
The independent repair points are used for indicating that the corresponding inspection flow nodes have the repair capability for the offline products of the production line. The independent repairing points are independent repairing areas, and repairing work which cannot be completed at the online repairing points can be designated to be repaired at the independent repairing points after offline completion. In addition, the repair information such as the repair content and the repair time can be set.
As one example, a plurality of factory elements in a lowest-level factory element in the inspection flow hierarchy may be identified as different types of inspection flow nodes, respectively. For example, a plurality of workstations in level 4 are each identified as a different type of check flow node.
As one example, after completion of the verification-stream hierarchy construction, the electronic device may display the visualized verification-stream hierarchy. For example, the visual inspection flow hierarchy may be presented as a tree structure or a tiled structure, or the like. The user may perform a node type identification operation on each of a plurality of plant elements in the visualized inspection flow hierarchy to identify each of the plurality of plant elements as different types of inspection flow nodes. For example, the visualized inspection flow hierarchy may be a tiled structure as shown in FIG. 3.
For example, after the electronic device displays the visualized check flow hierarchy, the visualized check flow hierarchy includes element identifiers of a plurality of factory elements, if a node type identifier operation for a first element is detected based on the element identifier of the first element, a node type identified by the node type identifier operation is determined, and the first element is identified as a check flow node of the node type identified by the node type identifier operation.
The first element may be any one of a plurality of plant elements. The element identification of the plant element may include a name, a number, an icon, or the like of the plant element, which is not limited in the embodiment of the present application. For example, as shown in FIG. 3, the element identification of a plant element may be a plant element name+number, such as plant 1.
The node type identification operation may be a touch operation, a click operation, a voice operation, or a gesture operation, which is not limited in the embodiment of the present application. For example, the node type identification operation may include a first operation for triggering display of a node type selection list including type identifications of a plurality of node types and a second operation. The first operation may be a triggering operation of the element identifier of the first element, or may be other operations, which is not limited in the embodiment of the present application. The second operation refers to an operation of selecting a type identifier of a certain node type from the node type selection list.
As one example, after the electronic device displays the visualized inspection flow hierarchy, the visualized inspection flow hierarchy includes element identifications of a plurality of factory elements, and if a first trigger operation for an element identification of a first element is detected, a node type selection list is displayed, the node type selection list including type identifications of a plurality of node types. If a selection operation of the type identification of the first node type of the plurality of node types is detected, the first element is identified as a check flow node of the first node type.
Wherein executing the instructions includes communicating instructions and/or operating instructions.
The transfer instruction is used for instructing the corresponding node to transfer information to other devices, such as instructions of starting to check, notifying stop line, notifying repair, and the like. The other devices may be one or more check flow nodes in the check flow model, or may be other devices than check flow nodes in the check flow model, such as check modules, etc.
The operation instruction is used for instructing the corresponding node to execute corresponding operation, such as operation instructions of notifying the pulling-out, notifying the adjustment inspector, notifying the repairing person and the like.
As one example, after completion of the verification-stream hierarchy construction, the electronic device may display the visualized verification-stream hierarchy. The user may perform instruction configuration operations on respective ones of the plurality of plant elements in the visualized inspection flow hierarchy to configure respective ones of the execution instructions for the respective ones of the plurality of plant elements.
For example, after the electronic device displays the visualized check flow hierarchy, the visualized check flow hierarchy includes element identifiers of a plurality of factory elements, if an instruction configuration operation for a first element is detected based on the element identifier of the first element, an execution instruction configured by the instruction configuration operation is determined, and a corresponding execution instruction is configured for a check flow node corresponding to the first element according to the execution instruction configured by the instruction configuration operation.
The instruction configuration operation may be a touch operation, a click operation, a voice operation, or a gesture operation, which is not limited in the embodiment of the present application. For example, the instruction configuration operations may include a third operation for triggering the display of the trigger execution instruction configuration interface and a fourth operation. The fourth operation refers to an operation of configuring the execution instruction in the execution instruction configuration interface.
As one example, after the electronic device displays the visualized checkflow hierarchy, the visualized checkflow hierarchy includes element identifications of a plurality of factory elements, and if a second trigger operation for the element identification of the first element is detected, an execution instruction configuration interface is displayed. If the execution instruction configuration operation is detected based on the execution instruction configuration interface, the configured execution instruction is configured as the execution instruction corresponding to the check flow node corresponding to the first element.
As an example, identifying multiple factory elements in the inspection flow hierarchy as different types of inspection flow nodes, and configuring corresponding execution instructions for the identified inspection flow nodes, to obtain an inspection flow model may be implemented through steps 504-505 in the embodiment of fig. 5 described below, which is not described herein.
By respectively identifying a plurality of factory elements in the inspection flow layer level structure as inspection flow nodes of different types and respectively configuring corresponding execution instructions for the identified inspection flow nodes, different logic processing capacities can be given to the plurality of factory elements in the inspection flow layer level structure, so that the plurality of factory elements can mutually cooperate according to the corresponding logic processing capacities to finish inspection of products.
As one example, the electronic device may also display the visualized check flow model after the check flow model is obtained. For example, the visualized inspection flow model may be displayed in an image form, such as displaying a model schematic of the inspection flow model, so that a user visually views the inspection flow of the product on the production line based on the patterned inspection flow model.
The model schematic of the inspection flow model may include element identifications of a plurality of plant elements and indication information of inspection flow of the product between the plurality of plant elements. For example, the indication of the inspection flow of the product between the plurality of factory elements may include graphical information such as icons and/or arrows to indicate the inspection flow of the product between the plurality of factory elements using the graphical information such as icons and/or arrows. In addition, the indication information of the inspection flow of the product between the plurality of plant elements may further include node identifiers of inspection flow nodes corresponding to the plurality of plant elements, type identifiers of corresponding node types, function description information (such as inspection content), and the like, which is not limited in the embodiment of the present application. Referring to fig. 4, fig. 4 is a schematic diagram of an inspection flow model of an automobile according to an embodiment of the present application. As shown in fig. 4, the inspection flow model includes 9 stations, the node identifier of the inspection flow node corresponding to each station is corresponding function description information, and the inspection flow of the product between the inspection flow nodes can be represented by the function description information of the corresponding inspection flow node and the arrows, that is, the arrows are used for representing the data flow direction of the inspection flow.
In the embodiment of the application, the inspection flow layer structure of the factory element inspection flow comprising a plurality of layers is constructed, so that the inspection flow model of any type of factory can be set in a self-defined mode. And then, by respectively identifying a plurality of factory elements in the inspection flow layer structure as inspection flow nodes of different types and respectively configuring corresponding execution instructions for the identified inspection flow nodes, different logic processing capacities can be given to the plurality of factory elements in the inspection flow layer structure, so that the plurality of factory elements can mutually cooperate according to the corresponding logic processing capacities to finish inspection of products, and the inspection flow nodes of different types can be freely expanded to bind the inspection flow nodes with the different logic processing capacities. The inspection flow model constructed in the mode can support the inspection requirement of any product on any node, so that the requirements of a flexible product production line for multiple products, multiple configurations and multiple inspection contents can be met, and the inspection flexibility of the flexible product production line is improved.
FIG. 5 is a flow chart of another method of constructing a check flow model provided by an embodiment of the present application. Referring to fig. 5, the method includes the steps of:
step 501: a factory element object table is constructed, the factory element object table comprising hierarchy identifications and hierarchy constraint relationships of N hierarchies.
Wherein N is the maximum number of levels that the inspection flow hierarchy can include, and N is a positive integer. For example, N may be 5. The hierarchy identification may be a hierarchy name or a hierarchy number. The hierarchy constraint relationship is used to constrain a previous hierarchy and/or a next hierarchy of each of the N hierarchies.
The plant element object table may include element identifiers of plant elements corresponding to respective hierarchical levels. The element identifier may be an element name and/or an element id of the plant element.
For example, where N is 5 and the plant element object table includes 5 levels, the plant element object table may be as shown in table 1 below:
Figure SMS_1
step 502: and constructing a check flow structure table according to the plant element object table, wherein the check flow structure table comprises element identifiers of at least one plant element in each of a plurality of levels, level identifiers of corresponding levels and level identifiers of a level higher than and/or a level lower than the corresponding level.
In addition, each hierarchy may include one or more plant elements, and any plant element in each hierarchy may correspond to one or more plant elements of the next hierarchy. The verification flow structure table may also include the locations of the plant elements in each hierarchy.
As one example, the check flow structure table may be as shown in table 2 below:
Figure SMS_2
as shown in table 2, the element identifier of the plant element includes an element id and an element name, and the element name is an element name+number. The number is used to indicate the position/number of the corresponding element in the hierarchy to which it belongs.
For example, the factory element names are: factory + number; the names of workshop elements are: workshop and numbering; the line element names are: production line + numbering; the names of the section elements are as follows: section + number; the station element names are as follows: station + number.
Illustratively, the level at which the plant is located defaults to level 0, with the plant not having the last level.
Illustratively, the level at which the plant is located defaults to level 1, with one level on the plant being level 0. Alternatively, the hierarchical number of the hierarchical level where the shop is located may be assigned to 1 or 0, and cannot be smaller than 0 and cannot be larger than 1.
Illustratively, the level at which the production line is located defaults to level 2. Alternatively, the level number of the level where the production line is located may be assigned as 1 or 2, and cannot be smaller than 1 and cannot be larger than 2.
Illustratively, the level at which the section is located defaults to level 3. Alternatively, the level number of the level at which the section is located may be assigned as 1, 2 or 3, and cannot be smaller than 1 and not larger than 3.
Illustratively, the level at which the workstation is located defaults to level 4. Alternatively, the level number of the level at which the section is located may be assigned as 1, 2, 3 or 4, and cannot be smaller than 1 and not larger than 4.
In addition, element identifiers of any two factory elements at the same level in the inspection flow structure table can be exchanged. For example, if an exchange operation of element identifiers of two factory elements belonging to the same hierarchy in the inspection flow structure table is detected, the hierarchy identifiers of the corresponding hierarchy and the hierarchy identifiers of the upper hierarchy and/or the lower hierarchy of the corresponding hierarchy are exchanged. Illustratively, station 2 and station 3 in table 2 above may be exchanged.
Step 503: and constructing a check flow layer level structure according to the check flow structure table.
For example, the hierarchical rendering may be performed according to a checkflow structure table to generate a visual checkflow hierarchical structure so that a user intuitively knows the plant model based on the visual checkflow hierarchical structure. For example, the visualized inspection flow hierarchy may be as shown in FIG. 3.
The visualized check flow hierarchical structure is a tree structure or a tiled structure.
Step 504: and establishing a check flow node table, wherein the check flow node table comprises node identifiers, node position information, node types and instruction identifiers of a plurality of check flow nodes corresponding to a plurality of factory elements one by one.
The node identifier may be a node name or a node id. The instruction identification of the execution instruction may include a pass instruction identification and/or an operation instruction identification. The transfer instruction identifier may be a transfer instruction name or id, etc., and the operation instruction identifier may be an operation instruction identifier or id, etc. Different transfer instruction identifiers are used to indicate different transfer instructions and different operation instruction identifiers are used to indicate different operation instructions.
The node position information is used for indicating serial numbers of corresponding plant elements in various levels. For example, the node location information may be 1-1-1-1, indicating that the sequence numbers of the corresponding check flow nodes in tier 1-tier 4 are all 1.
In addition, each check flow node can also turn on or off the corresponding transfer instruction or turn on or off the corresponding operation instruction. The check flow node table comprises an opening identifier or a closing identifier of a transfer instruction corresponding to each check flow node in a plurality of check flow nodes corresponding to a plurality of factory elements one by one, and/or an opening identifier or a closing identifier of an operation instruction corresponding to each check flow node. For example, the on flag is YES, and the off flag is NO.
As one example, the check flow node table may be as shown in table 3 below:
Figure SMS_3
As one example, an isStart node type field may be used in the check flow node table to identify a certain plant element as a starting point.
As one example, an isistance node type field may be used in the check flow node table to identify a certain factory element as a check point.
As one example, an isAssembly node type field may be used in the check flow node table to identify a certain factory element as an assembly point. In addition, an operation attribute of whether to perform the operation of scanning and tracing the binding for the product materials can be set in the checking flow node table.
As one example, an isodynamicinaction node type field may be used in the check flow node table to identify a certain factory element as a dynamic check point. For example, a pass-through instruction may be set in the checkflow node table to identify any node (non-checkpoint) by checkpoint as a dynamic checkpoint for a certain product. The operational attributes may also be set in the check flow node table: the verification requirements at the original verification point are assigned to the dynamic verification point. While the dynamic range of the dynamic checkpoint may be set by passing instructions.
As one example, an isOnlineRework node type field may be used in the inspection flow node table to identify a certain factory element as an online rework point. In addition, a transfer instruction may be set in the check flow node table: and correlating the repair requirements to the repair module. The operational attributes may also be set in the check flow node table: setting a repair time requirement and the like.
As one example, an isOnlineRework node type field may be used in the check flow node table to identify a certain factory element as a quality gate node. In addition, the operation attribute may also be set in the check flow node table: the operation of setting the product at this circulation point is to pull it off-line or to repair it on-line. The transfer instruction may also be set in the check flow node table: the repair point location for the on-line repair can be specified.
As one example, an isFinish node type field may be used in the check flow node table to identify a certain factory element as an end point.
As one example, an ispack node type field may be used in the check flow node table to identify a certain factory element as a deposit point.
As one example, an isIsolateRework node type field may be used in the check flow node table to identify a certain factory element as an independent rework point. In addition, a delivery instruction can be set in the inspection flow node table at a repair job which cannot be completed at the online repair point: and designating an independent repairing point after the offline point is completed for repairing. The operational attributes may also be set in the check flow node table: setting the repair content and repair time requirement.
In addition, all nodes identified as check points can also identify whether different types of product characteristic information are allowed to be associated, and the types of the characteristic information determine the operation state and the instruction transfer state:
scanning type characteristics: scanning on the check point to determine the existence or non-existence state, binding the result with the check point, and transmitting instruction information to other detection modules
Visual type characteristic: visual inspection is carried out on the inspection point, the inspection result is marked as 'yes' or 'no', and the result is bound with the inspection point and then instruction information is transmitted to other detection modules
Metering type characteristics: performing readable measurement detection on the check point, binding the measurement value record with the check point, and transmitting instruction information to other detection modules
Counting type characteristics: judging whether the check point passes or fails, binding the result with the check point, and transmitting instruction information to other detection modules
In addition, an execution instruction table can be established, wherein the execution instruction table comprises an instruction identification, instruction description information and instruction types of each instruction in all instructions which can be executed by the flow node, and the instruction types comprise a transfer instruction and an operation instruction.
As one example, the execution instruction table may be as shown in table 4 below:
Figure SMS_4
it should be noted that the execution instruction table may be set or extended according to needs, for example, according to different scenes.
As one example, a user may perform a corresponding user operation based on the visualized inspection flow hierarchy, such as performing a node type identification operation on the plant element to identify the plant element as an inspection flow node of some type. The electronic device may build a check flow node table and/or an execution instruction table according to operations performed by the user.
For example, a visual inspection flow hierarchy is displayed first; if the node type identification operation on the plurality of factory elements is detected based on the visualized inspection flow hierarchical structure, determining the node type identification operation as the node type respectively identified by the plurality of factory elements; and establishing a check flow node table according to the node type identification operation which is the node type respectively identified by the plurality of factory elements.
Further, if the execution instruction configuration operation of the inspection flow nodes corresponding to the plurality of factory elements is detected based on the visualized inspection flow hierarchical structure, determining the execution instruction configuration operation as the execution instructions respectively configured by the inspection flow nodes corresponding to the plurality of factory elements; and establishing a check flow node table according to the node type identified by the node type identification operation as the node type respectively identified by the plurality of factory elements and the execution instruction configuration operation as the execution instruction respectively configured by the check flow nodes corresponding to the plurality of factory elements.
Step 505: and generating a check flow model according to the check flow node table and the check flow layer level structure.
For example, the verification flow model may be generated by associating node identifications in a verification flow node table with plant element identifications in a verification flow hierarchy.
In addition, a check flow model can be generated according to the check flow node table, the execution instruction table and the check flow layer level structure. For example, according to the execution instruction table, determining the instruction indicated by each instruction identifier in the inspection flow node table, and then associating the node identifier in the inspection flow node table with the plant element identifier in the inspection flow hierarchy to generate the inspection flow model.
In addition, before generating the check flow model, a node event table may be further established, where the node event table is used to store event identification, event description information, object identification of an event initiating object, object identification of an event acting object, and event time stamp of an event that has been completed by each check flow node in the check flow model, where the execution of the corresponding execution instruction is completed by the check flow node.
After the first check flow node in the check flow model executes the corresponding execution instruction after generating the check flow model, the event identifier of the event, the object identifier of the event initiating object, the object identifier of the event acting object and the event timestamp of the event completed by the first check flow node executing the corresponding execution instruction may be correspondingly stored in the node event table, so as to record the event executed by each check flow node in the check flow model through the node event table. The first check flow node is any check flow node in the check flow model.
As one example, the node event table may be as shown in table 5 below:
Figure SMS_5
referring to fig. 6, the transfer instructions and operation instructions executed by each check flow node in the check flow model, and the corresponding generated events, may be as shown in fig. 6. As shown in fig. 6, the start point may transmit an instruction to start inspection to the inspection module when it is detected that the product reaches the start point, so that the start point may generate event id1: a check order is generated for all check points. The starting point is also the check point 1, and the check point 1 can execute an operation instruction designating the node 3 as a dynamic check point, so that the node 3 can be changed to the dynamic check point (dynamic check point) 1. Checkpoint 3 executes the alarm operation instruction such that checkpoint 3 generates event id2: and (5) alarming. The checkpoint 4 executes the operation instruction of the audio, so that the checkpoint 4 generates the event id3: and carrying out an audio operation on the product. The inspection point 2 transmits the instruction of the product to this repair to the unique repair point (independent repair point) 1, so that the unique repair point 1 generates the event id4: and receiving the product number to repair the product corresponding to the product number.
Wherein each check flow node in the check flow model also has the following functions by which interaction and logical operations are formed:
1) Recording a time stamp: event time information is recorded from a certain node to/through a certain node. For example, the time stamp may be accurate to the seconds of UTC (UniversalTime Coordinated, coordinated universal time).
2) Information transfer: information of a certain node is transferred to a subsequent node or a previous node.
3) Information sharing: and broadcasting the information of one node to other nodes.
4) Instruction transfer: delivering one or more instructions from one node to another node, the instructions comprising corresponding actions initiated on the product such as: pulling out, repairing, mutual checking, temporary checking, dynamic checking, sampling checking, scanning, odite, alarming and calling.
5) And (3) receiving an instruction: receiving an instruction transmitted from another node and performing a corresponding action.
As one example, after generating the check flow model, the check flow model may also perform at least one of the following operations:
1) For a first check flow node in the check flow model, the first check flow node records a timestamp of an event that arrives at or passes through the first check flow node. The first check flow node is any check flow node in the check flow model.
2) The first check flow node sends information of the first check flow node to a previous check flow node and/or a next check flow node of the first check flow node;
3) The first check flow node broadcasts information of the first check flow node to other check flow nodes, wherein the other nodes refer to all or part of check flow nodes except the first check flow node in the check flow model;
4) The first check flow node sends an execution instruction to a second check flow node, wherein the execution instruction is a transfer instruction or an operation instruction, and the second check flow node is any check flow node except the first check flow node in the check flow model.
5) The first check flow node receives an execution instruction sent by the second check flow node. In addition, after receiving the execution instruction sent by the second check flow node, the first check flow node may execute a corresponding action according to the received execution instruction.
Thus, the information or instructions of the nodes can be transmitted point to point, can be broadcast point to many, and can be distributed many to many.
As an example, a visualized check flow model can be generated according to the check flow node table and the check flow layer structure, so that a user can clearly and intuitively view, edit, delete and add corresponding check flow nodes on the model.
For example, a visual check flow model may be generated from a check flow node table and a check flow hierarchy by using modeling tools such as Minko, unity, etc.
In addition, each check flow node in the check flow model can also send the information of the check flow node of the check flow model to the check module, so that the check model precisely matches check items to be made by each check flow node, and a check order of each check node is generated according to the matched check items.
As one example, a check flow model may be generated according to the logic process shown in fig. 7. In addition, the generated check flow model may also be passed to other modules or devices so that the other modules or devices utilize the generated check flow model to perform other functions, such as the check flow model may be passed to an external check order module, an external rework module, or an external product feature module, etc. In addition, the information generated by any node in the inspection flow model can be transmitted to other modules or devices to perform node-to-product binding, node-to-inspection requirement binding, node-to-repair requirement binding and the like.
In the embodiment of the application, the check flow layer structure is constructed by establishing the factory element object table and the check flow structure table, the check flow model is generated according to the check flow node table and the check flow layer structure by establishing the check flow node table, the check flow model of any type of factory can be set in a self-defined mode, different logic processing capacities are given to a plurality of factory elements in the check flow layer structure, the plurality of factory elements can mutually cooperate according to the corresponding logic processing capacities to finish the check of a product, and different types of check flow nodes can be freely expanded to bind the check flow nodes with different logic processing capacities. The inspection flow model constructed in the mode can support the inspection requirement of any product on any node, so that the requirements of a flexible product production line for multiple products, multiple configurations and multiple inspection contents can be met, and the inspection flexibility of the flexible product production line is improved.
In addition, a visual check flow model can be generated, the visual check flow model can help a user to quickly establish a check flow and check whether production requirements are met or not, and the check flow model can be quickly verified whether the product integrity check requirements are met or not. In addition, according to the generated check flow model, the operations of adjustment, online, change and the like of temporary check contents can be completed rapidly. In addition, by the method provided by the embodiment of the application, the check flow model of one product can be quickly copied to other products, the check flow model of one company can be quickly copied to another company, and the like, so that the applicability is high.
Fig. 8 is a block diagram of an apparatus for constructing a check flow model according to an embodiment of the present application. The apparatus may be implemented by software, hardware, or a combination of both as part or all of a computer device, which may be the computer device of fig. 1 described above. Referring to fig. 8, the apparatus includes:
a first building module 801 for building a verification-flow hierarchy comprising a plurality of levels of factory elements, each level of factory elements comprising at least one factory element;
a second building module 802, configured to identify a plurality of factory elements in the inspection flow hierarchical structure as inspection flow nodes of different types, and configure corresponding execution instructions for the identified inspection flow nodes respectively, so as to obtain an inspection flow model, where the inspection flow model is used to describe an inspection flow of a product on a production line;
The method comprises the steps that different types of check flow nodes at least comprise a starting point, a check point and an ending point, the starting point and the ending point respectively refer to the starting node and the ending node of the check flow, the check point is used for indicating that the corresponding check flow node has the check capability on products, an execution instruction comprises a transmission instruction and/or an operation instruction, the transmission instruction is used for indicating that the corresponding node transmits information to other equipment, and the operation instruction is used for indicating that the corresponding node executes corresponding operation.
Optionally, the first construction module 801 is configured to:
a first construction unit, configured to construct a plant element object table, where the plant element object table includes a hierarchy identifier of N hierarchies and a hierarchy constraint relationship, where the hierarchy constraint relationship is used to constrain a previous hierarchy and/or a next hierarchy of each hierarchy of the N hierarchies, and N is a maximum number of hierarchies that can be included in the inspection flow hierarchy;
a second construction unit, configured to construct a check flow structure table according to the plant element object table, where the check flow structure table includes element identifiers of at least one plant element in each of multiple levels, level identifiers of corresponding levels, and level identifiers of a level higher than and/or a level lower than the corresponding level;
And constructing a check flow layer level structure according to the check flow structure table.
Optionally, the first building unit is configured to:
and performing hierarchical rendering according to the check flow structure table to generate a visual check flow hierarchical structure which is a tree structure or a tiled structure.
Optionally, the apparatus further includes a switching module, configured to switch, if a switching operation of element identifiers of two plant elements belonging to the same hierarchy in the inspection flow structure table is detected, a hierarchy identifier of a hierarchy corresponding to the element identifiers of the two plant elements and a hierarchy identifier of a level higher than and/or a hierarchy identifier of a level lower than the corresponding hierarchy.
Optionally, the second building module 802 includes:
the first establishing unit is used for establishing a check flow node table, and the check flow node table comprises node identifiers of a plurality of check flow nodes corresponding to a plurality of factory elements one by one, node position information, node types and instruction identifiers of corresponding execution instructions, wherein the node position information is used for indicating serial numbers of the corresponding factory elements in each of a plurality of levels;
and the generating unit is used for generating a check flow model according to the check flow node table and the check flow layer level structure.
Optionally, the second building module 802 further comprises a second building unit:
the second establishing unit is used for establishing an execution instruction table, wherein the execution instruction table comprises an instruction identification, instruction description information and instruction types of each instruction in all instructions which can be executed by the check flow node, and the instruction types comprise a transfer instruction and an operation instruction;
and the generating unit is used for generating a check flow model according to the check flow node table, the execution instruction table and the check flow layer level structure.
Optionally, the device further comprises a display module:
the display module is used for displaying the visual inspection flow layer level structure;
a first establishing unit, configured to determine, if a node type identification operation for a plurality of plant elements is detected based on the visualized inspection flow hierarchy, that the node type identification operation is a node type respectively identified by the plurality of plant elements; and establishing a check flow node table according to the node type identification operation which is the node type respectively identified by the plurality of factory elements.
Optionally, the first building unit is further configured to determine that the execution instruction configuration operation is an execution instruction configured by each of the inspection flow nodes corresponding to the plurality of plant elements if the execution instruction configuration operation of the inspection flow nodes corresponding to the plurality of plant elements is detected based on the visualized inspection flow hierarchy; and establishing a check flow node table according to the node type identified by the node type identification operation as the node type respectively identified by the plurality of factory elements and the execution instruction configuration operation as the execution instruction respectively configured by the check flow nodes corresponding to the plurality of factory elements.
Optionally, the apparatus further comprises:
the system comprises a building module, a node event table and a processing module, wherein the building module is used for building a node event table, the node event table is used for storing event identification, event description information, object identification of an event initiating object, object identification of an event acting object and event time stamp of a finished event of the inspection flow model, and the finished event is the event that each inspection flow node in the inspection flow model executes a corresponding execution instruction to finish;
the storage module is used for correspondingly storing the event identification of the event, the object identification of the event initiating object, the object identification of the event acting object and the event time stamp of the event which are completed by the execution of the corresponding execution instruction by the first check flow node in the check flow model in the node event table after the first check flow node executes the corresponding execution instruction, wherein the first check flow node is any check flow node in the check flow model.
Optionally, the apparatus further comprises an execution module for performing one or more of the following steps:
for a first check flow node in the check flow model, the first check flow node sends information of the first check flow node to a previous check flow node and/or a next check flow node of the first check flow node;
The first check flow node broadcasts information of the first check flow node to other check flow nodes, wherein the other nodes refer to all or part of check flow nodes except the first check flow node in the check flow model;
the first check flow node sends an execution instruction to a second check flow node, wherein the execution instruction is a transfer instruction or an operation instruction, and the second check flow node is any check flow node except the first check flow node in the check flow model;
the first check flow node receives an execution instruction sent by the second check flow node.
Optionally, the different types of check flow nodes further comprise at least one of the following check flow nodes:
the assembly point is used for indicating that the corresponding check flow node has assembly capability for a product;
the dynamic check point is a check point which is set by the first check point and is aimed at a specific product, the dynamic check point is used for indicating that the corresponding check point node has the check capability of the first check point, and the first check point is any check point in the check flow model;
an online repair point for indicating that the corresponding inspection flow node has repair capability for an online product of the production line;
the quality gate node is used for indicating the capability of the corresponding check flow node for judging whether the product is wholly qualified or not;
The storage point is used for indicating the corresponding check flow node to store the qualified product;
and the independent repair point is used for indicating that the corresponding inspection flow node has the repair capability for the offline product of the production line.
In the embodiment of the application, the inspection flow layer structure of the factory element inspection flow comprising a plurality of layers is constructed, so that the inspection flow model of any type of factory can be set in a self-defined mode. And then, by respectively identifying a plurality of factory elements in the inspection flow layer structure as inspection flow nodes of different types and respectively configuring corresponding execution instructions for the identified inspection flow nodes, different logic processing capacities can be given to the plurality of factory elements in the inspection flow layer structure, so that the plurality of factory elements can mutually cooperate according to the corresponding logic processing capacities to finish inspection of products, and the inspection flow nodes of different types can be freely expanded to bind the inspection flow nodes with the different logic processing capacities. The inspection flow model constructed in the mode can support the inspection requirement of any product on any node, so that the requirements of a flexible product production line for multiple products, multiple configurations and multiple inspection contents can be met, and the inspection flexibility of the flexible product production line is improved.
It should be noted that: the device for constructing a check flow model provided in the above embodiment is only exemplified by the division of the above functional modules when constructing a check flow model, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
The functional units and modules in the above embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiments of the present application.
The device for constructing the check flow model provided in the above embodiment belongs to the same concept as the method embodiment for constructing the check flow model, and specific working processes and technical effects brought by the units and modules in the above embodiment can be referred to in the method embodiment section, and are not repeated here.
Fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 9, the computer device 9 includes: the steps in the method of constructing a check flow model in the above embodiment are implemented by the processor 90, the memory 91, and the computer program 92 stored in the memory 91 and executable on the processor 90, when the processor 90 executes the computer program 92.
The computer device 9 may be a general purpose computer device or a special purpose computer device. In a specific implementation, the computer device 9 may be a desktop, a portable computer, a network server, a palmtop, a mobile phone, a tablet, a wireless terminal device, a communication device, or an embedded device, and the embodiments of the present application are not limited to the type of computer device 9. It will be appreciated by those skilled in the art that fig. 9 is merely an example of the computer device 9 and is not limiting of the computer device 9, and may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input-output devices, network access devices, etc.
The processor 90 may be a central processing unit (CentralProcessing Unit, CPU), and the processor 90 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (ApplicationSpecific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or may be any conventional processor.
The memory 91 may in some embodiments be an internal storage unit of the computer device 9, such as a hard disk or a memory of the computer device 9. The memory 91 may also be an external storage device of the computer device 9 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 9. Further, the memory 91 may also include both an internal storage unit and an external storage device of the computer device 9. The memory 91 is used to store an operating system, application programs, boot Loader (Boot Loader), data, and other programs. The memory 91 may also be used to temporarily store data that has been output or is to be output.
The embodiment of the application also provides a computer device, which comprises: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, which when executed by the processor performs the steps of any of the various method embodiments described above.
The present application also provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the respective method embodiments described above.
The present embodiments provide a computer program product which, when run on a computer, causes the computer to perform the steps of the various method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. With such understanding, the present application implements all or part of the flow of the above-described method embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, may implement the steps of the above-described method embodiments. Wherein the computer program comprises computer program code which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal device, recording medium, computer Memory, ROM (Read-Only Memory), RAM (Random Access Memory ), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, optical data storage device, and so forth. The computer readable storage medium mentioned in the present application may be a non-volatile storage medium, in other words, a non-transitory storage medium.
It should be understood that all or part of the steps to implement the above-described embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The computer instructions may be stored in the computer-readable storage medium described above.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in this application, it should be understood that the disclosed apparatus/computer device and method may be implemented in other ways. For example, the apparatus/computer device embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A method of constructing a check flow model, the method comprising:
constructing a verification flow hierarchy comprising a plurality of levels of plant elements, each level of plant elements comprising at least one plant element, comprising: constructing a factory element object table, wherein the factory element object table comprises level identifications and level constraint relations of N levels, and N is the maximum number of levels which can be included in the inspection flow hierarchy structure; constructing a check flow structure table according to the plant element object table, wherein the check flow structure table comprises element identifiers of at least one plant element in each of the multiple layers, layer identifiers of corresponding layers and layer identifiers of upper-level layers and/or lower-level layers of the corresponding layers; performing hierarchical rendering according to the check flow structure table to generate a visualized check flow hierarchical structure; the plant element includes: factories, workshops, production lines, sections or stations;
Identifying a plurality of factory elements in the inspection flow hierarchical structure as inspection flow nodes of different types respectively, configuring corresponding execution instructions for the identified inspection flow nodes respectively to obtain an inspection flow model, wherein the inspection flow model is used for describing the inspection flow of a product on a production line and comprises the following steps: establishing an execution instruction table, wherein the execution instruction table comprises an instruction identification, instruction description information and instruction types of each instruction in all instructions which can be executed by a check flow node; establishing a check flow node table, wherein the check flow node table comprises node identifiers of a plurality of check flow nodes corresponding to the plurality of factory elements one by one, node position information, node types and instruction identifiers of corresponding execution instructions; generating the check flow model according to the check flow node table, the execution instruction table and the check flow hierarchical structure;
the different types of check flow nodes at least comprise a starting point, a check point and an ending point, the starting point and the ending point are respectively the starting node and the ending node of the check flow, the check point is used for indicating that the corresponding check flow node has the check capability on the product, the execution instruction comprises a transmission instruction and/or an operation instruction, the transmission instruction is used for indicating the corresponding node to transmit information to other equipment, and the operation instruction is used for indicating the corresponding node to execute corresponding operation.
2. The method of claim 1, wherein the hierarchy constraint relationship is used to constrain a previous hierarchy and/or a next hierarchy of each of the N hierarchies; the inspection flow hierarchy of the visualization is a tree structure or a tiled structure.
3. The method of claim 2, wherein the method further comprises:
and if the exchanging operation of the element identifiers of the two factory elements belonging to the same hierarchy in the check flow structure table is detected, exchanging the hierarchy identifiers of the corresponding hierarchy of the element identifiers of the two factory elements and the hierarchy identifiers of the upper hierarchy and/or the lower hierarchy of the corresponding hierarchy.
4. The method of claim 1, wherein the instruction type comprises the transfer instruction and the operation instruction; the node location information is used to indicate a sequence number of a corresponding plant element in each of the plurality of levels.
5. The method of claim 4, wherein prior to the establishing the check flow node table, the method further comprises:
displaying the visualized check flow hierarchy;
if a node type identification operation is detected for the plurality of plant elements based on the visualized inspection flow hierarchy, determining that the node type identification operation is a node type for the plurality of plant elements;
If the execution instruction configuration operation of the inspection flow nodes corresponding to the plurality of factory elements is detected based on the visualized inspection flow hierarchical structure, determining that the execution instruction configuration operation is an execution instruction of the inspection flow nodes corresponding to the plurality of factory elements; the establishing a check flow node table comprises the following steps:
and establishing the check flow node table according to the node type identified by the node type identification operation as the node types identified by the plurality of plant elements and the execution instruction configuration operation as the execution instruction of the check flow node corresponding to the plurality of plant elements.
6. The method of claim 4, wherein prior to generating the check flow model from the check flow node table, the execution instruction table, and the check flow hierarchy, the method further comprises:
establishing a node event table, wherein the node event table is used for storing event identification, event description information, object identification of an event initiating object, object identification of an event acting object and event time stamp of a completed event of the inspection flow model, and the completed event is an event that each inspection flow node in the inspection flow model executes a corresponding execution instruction to complete;
After the generating the check flow model according to the check flow node table, the execution instruction table and the check flow hierarchy, the method further includes:
after a first check flow node in the check flow model executes a corresponding execution instruction, correspondingly storing an event identifier of an event, an object identifier of an event initiating object, an object identifier of an event acting object and an event timestamp of the event completed by the first check flow node executing the corresponding execution instruction in the node event table, wherein the first check flow node is any check flow node in the check flow model.
7. The method of any one of claims 1-6, further comprising at least one of:
for a first check flow node in the check flow model, the first check flow node sends information of the first check flow node to a previous check flow node and/or a next check flow node of the first check flow node; and/or the number of the groups of groups,
a first check flow node broadcasts information of the first check flow node to other check flow nodes, wherein the other check flow nodes refer to all or part of check flow nodes except the first check flow node in the check flow model; and/or the number of the groups of groups,
The method comprises the steps that a first check flow node sends an execution instruction to a second check flow node, wherein the second check flow node is any check flow node except the first check flow node in the check flow model; and/or the number of the groups of groups,
the first check flow node receives an execution instruction sent by the second check flow node.
8. The method of any of claims 1-6, wherein the different types of check flow nodes further comprise at least one of the following check flow nodes:
an assembly point for indicating that the corresponding check flow node has assembly capability for the product;
a dynamic check point, wherein the dynamic check point is a check point set by a first check point and used for indicating that a corresponding check flow node has the check capability of the first check point, and the first check point is any check point in the check flow model;
an online rework point for indicating that the corresponding inspection flow node has rework capability for an online product of the production line;
the quality gate node is used for indicating the capability of the corresponding check flow node for judging whether the product is qualified or not;
The storage point is used for indicating the corresponding check flow node to store the qualified product;
and the independent repair point is used for indicating that the corresponding inspection flow node has the repair capability for the product on line of the production line.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, which computer program, when executed by the processor, implements the method according to any of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.
CN202310128019.3A 2023-02-17 2023-02-17 Method, apparatus and storage medium for constructing check flow model Active CN116029623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310128019.3A CN116029623B (en) 2023-02-17 2023-02-17 Method, apparatus and storage medium for constructing check flow model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310128019.3A CN116029623B (en) 2023-02-17 2023-02-17 Method, apparatus and storage medium for constructing check flow model

Publications (2)

Publication Number Publication Date
CN116029623A CN116029623A (en) 2023-04-28
CN116029623B true CN116029623B (en) 2023-06-30

Family

ID=86091401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310128019.3A Active CN116029623B (en) 2023-02-17 2023-02-17 Method, apparatus and storage medium for constructing check flow model

Country Status (1)

Country Link
CN (1) CN116029623B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956413A (en) * 2019-12-17 2020-04-03 国家体育总局体育科学研究所 Inspection system based on fixed flow

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8547539B2 (en) * 2008-09-08 2013-10-01 Schlumberger Technology Corporation System and method for detection of flexible pipe armor wire ruptures
CN110910081A (en) * 2018-09-17 2020-03-24 上海宝信软件股份有限公司 Workflow configuration implementation method and system based on laboratory information management system
KR20200063340A (en) * 2018-11-22 2020-06-05 한국클라우드컴퓨팅연구조합 Method and system that machine learning-based quality inspection using the cloud
JP2023542609A (en) * 2020-08-05 2023-10-11 キトフ システムズ リミテッド Design encoding of inspection requirements between components
CN115545246A (en) * 2021-06-28 2022-12-30 上海交通大学 Multi-vehicle batch flexible production line scheduling method
CN114066144A (en) * 2021-09-30 2022-02-18 广州佳帆计算机有限公司 Order product quality inspection method and device of flexible production line
CN114066148A (en) * 2021-09-30 2022-02-18 广州佳帆计算机有限公司 Automatic quality inspection method and device for flexible production line
CN115454974A (en) * 2022-09-29 2022-12-09 中科云谷科技有限公司 Product inspection method, system, terminal and computer storage medium
CN115496480A (en) * 2022-10-24 2022-12-20 金蝶软件(中国)有限公司 Data inspection method, system and related equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110956413A (en) * 2019-12-17 2020-04-03 国家体育总局体育科学研究所 Inspection system based on fixed flow

Also Published As

Publication number Publication date
CN116029623A (en) 2023-04-28

Similar Documents

Publication Publication Date Title
KR102393944B1 (en) Flexible assembly system for multi-product production and method of reconstructing a production line
WO2016090929A1 (en) Method, server and system for software system fault diagnosis
US20140278244A1 (en) System and method for providing user guidance for electronic device processing
CN107885660A (en) Fund system automatic test management method, device, equipment and storage medium
CN115311027B (en) Supply chain management method and system based on digital twinning
CN111274635A (en) Construction safety management system and method based on building information model
CN112116288B (en) Method, system, equipment and medium for ensuring consistency of key parts
CN113610389B (en) Prefabricated component production quality management system based on BIM and RFID
CN110659202A (en) Client automatic testing method and device
CN112948217A (en) Server repair checking method and device, storage medium and electronic equipment
TWI469068B (en) Quality control system, specification and task management system, device, application program and storage medium thereof
CN114996127A (en) Intelligent test method and system for solid state disk firmware module
CN116029623B (en) Method, apparatus and storage medium for constructing check flow model
CN111767218B (en) Automatic test method, equipment and storage medium for continuous integration
CN108984398A (en) Method, apparatus, electronic device and the storage medium of software test
KR20230036179A (en) Construction management method for railway infrastructure using bim and ar
CN112257234A (en) Gas cylinder quality safety tracing system, terminal and readable storage medium
WO2020117449A1 (en) Systems and methods for integrated documentation of network design and implementation
KR102298342B1 (en) Information Interface System and Method for Information Interface
CN115829191B (en) Method, apparatus and storage medium for generating inspection plan
CN113577775A (en) Method and device for checking art resource file, electronic device and storage medium
CN111401578A (en) Equipment point inspection management method and device and computer readable storage medium
KR101571510B1 (en) Asset management system and method for ship and offshore structure
CN112734348B (en) Green building engineering electromechanical device performance inspection management system
CN117032835B (en) Number making device and method for scene arrangement

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant