Device detection method, device, system, computer device and storage medium
By sending the process flow to real equipment and simulated equipment and comparing its operation results, the problem of difficult detection of faults in the equipment during the process flow is solved, and efficient detection and handling of equipment faults is achieved.
Patent Information
- Application Number
- CN202011600672.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2040-12-29
AI Technical Summary
The prior art is difficult to detect whether the equipment has faults during the process execution, resulting in safety issues and reduced production efficiency.
By obtaining the process flow, sending it to real equipment and simulated equipment, it allows it to run the process flow. Use the simulation virtual model built on real devices to obtain the actual operation results and simulation operation results, and compare them. If different, judge that there is a fault in the real device.
It realizes fault detection of equipment during the process of performing process, improves production safety and efficiency, and reduces fault detection time and processing costs.
Smart Images

Figure CN114690662B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of fault detection, and in particular to equipment detection methods, devices, systems, computer equipment and storage media. Background Art
[0002] Simulation refers to the use of models to reproduce the essential processes that occur in actual systems, and to study existing or designed systems through experiments on system models, also known as simulation. The models here include various physical and mathematical, static and dynamic, continuous and discrete models. The systems referred to are also very broad, including electrical, mechanical, chemical, hydraulic, thermal and other systems, as well as social, economic, ecological and management systems. When the system under study is expensive, the experiment is dangerous or it takes a long time to understand the consequences of changes in system parameters, simulation is a particularly effective research method. The important tool for simulation is the computer. The difference between simulation and numerical calculation and solution methods is that it is first of all an experimental technology. The simulation process includes two main steps: establishing a simulation model and conducting simulation experiments.
[0003] In the field of automated production or automated transportation, due to the many uncertainties in the process, collisions are prone to occur during actual operation, or errors in process design may lead to problems in the coordination of equipment, which in turn leads to a series of safety issues. Currently, for related technologies, even if real equipment is used to directly test the process, it is impossible to detect whether the real equipment meets the standards required by the process, and it is still difficult to determine whether the equipment has a fault when running the process.
[0004] Currently, no effective solution has been proposed for the problem that it is difficult to detect faults in equipment during the execution of a process flow in related technologies. Summary of the invention
[0005] The embodiments of the present application provide a device method, apparatus, system, computer device and storage medium to at least solve the problem in the related art that faults of the device are difficult to detect during the execution of a process flow.
[0006] In a first aspect, an embodiment of the present application provides an equipment detection method, comprising: obtaining a process flow, wherein the process flow is used to control the various components constituting a real device to work together; sending the process flow to the real device and the simulation device, so that the real device and the simulation device run the process flow; the simulation device includes a simulation virtual model built based on the real device; obtaining actual operation results and simulation operation results fed back by the real device and the simulation device; comparing the actual operation results with the simulation operation results, if the actual operation results are different from the simulation operation results, then the real device has a fault.
[0007] In one embodiment, sending the process flow to the real device and the simulated device so that the real device and the simulated device run the process flow includes: sending the process flow to the real device so that the real device runs the process flow; obtaining a first virtual-to-real switching instruction; sending the process flow to the simulated device so that the simulated device runs the process flow.
[0008] In one embodiment, sending the process flow to a real device and a simulated device so that the real device and the simulated device run the process flow also includes: sending the process flow to the simulated device so that the simulated device runs the process flow; obtaining a second virtual-to-real switching instruction; sending the process flow to the real device so that the real device runs the process flow.
[0009] In one of the embodiments, after obtaining the actual operation results and the simulation operation results fed back by the real device and the simulated device, the method further includes: generating simulation animation instructions according to the actual operation results and the simulation operation results; sending the simulation animation instructions to the client, so that the client demonstrates the simulation animation according to the simulation animation instructions.
[0010] In one of the embodiments, after generating the simulation animation instruction according to the actual operation result and the simulation operation result, the method further includes: transmitting the simulation animation instruction to the cloud, so that the client obtains the simulation animation instruction from the cloud.
[0011] In a second aspect, an embodiment of the present application provides a device detection apparatus, including:
[0012] Process acquisition module: used to acquire the process flow, which is used to control the coordinated work of various components constituting the real equipment;
[0013] Execution module: sending the process flow to the real device and the simulation device, so that the real device and the simulation device run the process flow; the simulation device includes a simulation virtual model built based on the real device;
[0014] Result acquisition module: used to obtain the actual operation results and simulation operation results fed back by the real device and the simulation device;
[0015] Detection module: used to compare the actual operation result with the simulation operation result. If the actual operation result is different from the simulation operation result, the real device has a fault.
[0016] In a third aspect, an embodiment of the present application provides a device detection system, including: a real device, a simulation device, and a detection device;
[0017] The detection device is used to obtain the process flow and send the process flow to the real device and the simulation device;
[0018] The real device is used to run the process flow and obtain actual operation results, and the process flow is used to control the various components constituting the real device to work together;
[0019] The simulation device is used to run the process flow and obtain simulation results;
[0020] The detection device is also used to compare the actual operation result with the simulation operation result. If the actual operation result is different from the simulation operation result, the real device has a fault.
[0021] In one of the embodiments, the detection system further includes a simulation device, and the simulation device is used to generate simulation animation instructions according to the actual operation results and the simulation operation results and demonstrate simulation animation based on the simulation animation instructions.
[0022] In a third aspect, an embodiment of the present application provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the device detection method as described in the first aspect above when executing the computer program.
[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the device detection method as described in the first aspect above.
[0024] Compared with the related art, the equipment detection method provided in the embodiment of the present application obtains a process flow, and the process flow is used to control the various components that constitute the real equipment to work together; the process flow is sent to the real equipment and the simulation equipment, so that the real equipment and the simulation equipment run the process flow; the simulation equipment includes a simulation virtual model built based on the real equipment; the actual operation results and the simulation operation results fed back by the real equipment and the simulation equipment are obtained; the actual operation results are compared with the simulation operation results. If the actual operation results are different from the simulation operation results, the real equipment has a fault, which solves the problem that it is difficult to detect faults in the equipment during the execution of the process flow, and achieves the technical effect of fault detection on the equipment executing the process flow.
[0025] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0027] Figure 1 is a flow chart of a device detection method according to an embodiment of the present application;
[0028] Figure 2 is a flow chart of a device detection method according to another embodiment of the present application;
[0029] Figure 3 is a data flow diagram of a device detection method according to another embodiment of the present application;
[0030] Figure 4 is a structural block diagram of a device detection apparatus according to an embodiment of the present application;
[0031] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0033] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0034] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0035] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0036] This embodiment provides a device detection method. Figure 1 is a flow chart of a device detection method according to an embodiment of the present application, such as Figure 1 As shown, the process includes the following steps:
[0037] Step S101, obtaining the process flow.
[0038] Specifically, the process flow is obtained according to the operation instruction. The operation instruction may be an instruction issued by an operator, or an instruction automatically obtained by the system based on a preset time and stored in a designated storage location.
[0039] In one of the embodiments, a method for creating a process flow is also provided. The process flow is used to control the various components that constitute the real device to work together. The user can formulate a process flow based on the real device, and the real device refers to a production line or a transportation line, that is, the real device is composed of multiple physical devices. The technician simplifies the function of each physical device and generates a device control instruction, and saves the device control instruction in a database. Simplifying the function of each physical device means generating a unique device control instruction corresponding to the function according to the function of each physical device, and when the instruction is executed, the corresponding physical device is controlled to run and exercise the corresponding function. Preferably, the simplification of the function of each physical device can also be: if the current physical device can execute multiple functions, a corresponding device control instruction is generated according to each function of the current physical device. When a certain device control instruction is executed, the corresponding device action executed by the corresponding physical device is controlled according to the instruction to exercise the single function corresponding to the device control instruction. Preferably, the device control instruction can also be set in the database in the form of an icon. When technicians configure a process flow or a transport flow, they only need to drag and drop the corresponding icons to configure a control instruction flow for controlling the collaborative operation of multiple physical devices; the process flow or the transport flow is generated based on the control instruction flow. When performing equipment testing, the operation instruction issued by the operator is first received, and then the control instruction flow is obtained based on the operation instruction, and the process flow is obtained based on the control instruction flow.
[0040] Step S102: sending the process flow to the real device and the simulation device, so that the real device and the simulation device run the process flow.
[0041] The simulation device includes a simulation virtual model built based on the real device. Specifically, after the real device obtains the process flow, it operates according to the steps in the process flow, executes all the equipment actions in the process flow, and generates an actual feedback message, which is the actual operation result. The process flow can also be sent to the simulation device, which is built based on the real device and can simulate and execute all the equipment actions that the real device can execute. The simulation device runs the same process flow as the real device and generates a simulation operation result.
[0042] In one embodiment, sending the process flow to the real device and the simulation device so that the real device and the simulation device run the process flow includes: sending the process flow to the real device so that the real device runs the process flow; obtaining a first virtual-real switching instruction; sending the process flow to the simulation device so that the simulation device runs the process flow. Specifically, a virtual-real switching switch can be configured in the system. The process flow is sent to the real device for actual operation; after the actual operation is completed and the actual operation result is obtained, when the operator points the virtual-real switching switch to the imaginary part, the first virtual-real switching instruction is received, and the process flow is sent to the simulation device for simulation operation to obtain the simulation operation result.
[0043] In one of the embodiments, sending the process flow to the real device and the simulation device so that the real device and the simulation device run the process flow also includes: sending the process flow to the simulation device so that the simulation device runs the process flow; obtaining a second virtual-real switching instruction; sending the process flow to the real device so that the real device runs the process flow. Specifically, the process flow is sent to the simulation device for simulation operation, and the simulation operation result is obtained. When the operator points the virtual-real switching switch to the real part, the second virtual-real switching instruction is received to send the process flow to the real device for actual operation; after the actual operation ends, the actual operation result is obtained. In one of the embodiments, the acquisition cycle of the virtual-real switching instruction can also be set to regularly switch the sending target of the process flow.
[0044] In one of the embodiments, before a production line or a transportation line actually runs a process or a transportation process, it is necessary to verify in a virtual simulation system whether the current real equipment, that is, the production line or the transportation line, can smoothly and safely execute the process or the transportation process. In this application, by setting a virtual-real switching switch, when the virtual-real switching switch only points to the imaginary part, the simulation equipment simulates the operation of the process, which is equivalent to simulating before the real equipment is run, and judging whether the current process has obvious design errors based on the simulation results. The potential safety hazards of the production line or the transportation line are greatly reduced, and at the same time, the losses that may be caused by the process running directly on the real equipment are avoided.
[0045] In one of the embodiments, when formally carrying out automated production or transportation, a set of monitoring equipment is required to monitor and track the implementation actions of the process flow or transportation process executed by the real equipment, so as to truly realize the unmanned production of the production line and remote monitoring of logistics and transportation. This application sets a virtual-real switching switch. When the virtual-real switching switch only points to the real part, the real equipment actually runs the process flow and obtains the actual operation result. The operation of the real equipment can be demonstrated based on the actual operation result through a simulation demonstration device, thereby realizing the monitoring of the implementation actions of the process flow or transportation process executed by the real equipment, and then realizing the unmanned production of the production line and remote monitoring of logistics and transportation.
[0046] Step S103, obtaining the actual operation results and the simulation operation results fed back by the real device and the simulation device.
[0047] Specifically, the actual operation results generated by the actual operation process of the real equipment are reported by the real equipment; the simulation operation results generated by the actual operation process of the simulation equipment are reported by the simulation equipment.
[0048] In one of the embodiments, when the virtual-real switching switch only points to the real part or only points to the imaginary part during the execution of the process flow, when only one of the actual operation result and the simulation operation result is allowed to be reported to the execution system, the flag ID of the reported data is the same, and the source of the data is not distinguished. The execution system can identify the current operation result according to the current state of the virtual-real switching switch. When the virtual-real switching switch only points to the real part, the execution system will only send the process flow to the real device for operation, and the feedback data obtained is the actual operation result; when the virtual-real switching switch only points to the imaginary part, the execution system will only send the process flow to the simulation device for operation, and the feedback data obtained is the simulation operation result. In one of the embodiments, the object of the current execution of the process flow can also be adjusted by obtaining the virtual-real switching instruction, so as to determine whether the current feedback data is the actual operation result or the simulation operation result.
[0049] Step S104: compare the actual operation result with the simulation operation result. If the actual operation result is different from the simulation operation result, the real device has a fault.
[0050] Specifically, the simulation operation results are taken as the correct standard results; the actual operation results are compared with the standard results. If the actual operation results are inconsistent with the standard results, it means that the equipment fails when running the process flow, that is, the real equipment is operating abnormally.
[0051] In one embodiment, after obtaining the actual operation results and simulation operation results fed back by the real device and the simulated device, the method further includes: generating a simulation animation instruction according to the actual operation results and the simulation operation results; and sending the simulation animation instruction to the client, so that the client demonstrates the simulation animation according to the simulation animation instruction. Specifically, a simulation animation instruction that can be identified by the client is generated according to the simulation operation results and the actual operation results, and the client demonstrates the simulation operation results and the actual operation results according to the simulation animation instruction.
[0052] In one of the embodiments, during the operation of the process flow or the transportation process, the virtual-to-real switching switch only points to the real part, and the real equipment runs the process flow or the transportation process, generates the actual operation results and generates simulation animation instructions, and the client performs a three-dimensional simulation animation demonstration of the actual operation results according to the simulation animation instructions to achieve real-time monitoring of the operation status of the real equipment.
[0053] In one of the embodiments, after generating the simulation animation instruction according to the actual operation result and the simulation operation result, it also includes: transmitting the simulation animation instruction to the cloud, so that the client obtains the simulation animation instruction from the cloud. Specifically, by sending the simulation animation instruction to the cloud, and then allowing the client to obtain the simulation animation instruction from the cloud, since the simulation animation instruction is the system parsing the actual operation result or the simulation operation result, it is obtained by obtaining the actual operation status or the simulation operation status. That is, the simulation animation instruction itself includes all the information of the actual operation result or the simulation operation result, but the information is placed in the simulation animation instruction according to the data form that the client can demonstrate. Therefore, users of multiple clients only need to download the simulation instruction, and they can obtain the simulation demonstration animation of the actual operation result or the simulation operation result without rebuilding the equipment operation scene of the process flow.
[0054] Through the above steps, the present application obtains a process flow, wherein the process flow is used to control the various components that constitute the real device to work together; sends the process flow to the real device and the simulation device, so that the real device and the simulation device run the process flow; the simulation device includes a simulation virtual model built based on the real device; obtains the actual operation results and the simulation operation results fed back by the real device and the simulation device; compares the actual operation results with the simulation operation results. If the actual operation results are different from the simulation operation results, the real device has a fault, which solves the problem that faults of the device are difficult to detect during the execution of the process flow, and achieves the technical effect of fault detection on the device that executes the process flow.
[0055] In addition, the present application can troubleshoot the more significant problems in the process flow by sending the process flow to the simulation device for simulation operation before the real device runs the process flow, greatly reducing the safety hazards of the production line or transportation line. By sending the process flow to the real device, the real device runs and generates the actual operation results, and the simulation animation is demonstrated based on the actual operation results, the operation process of the real device can be detected, so as to discover and deal with various abnormal accidents in the first time. By setting the virtual-real switch, the user can directly switch between the simulation operation and the real device operation, that is, the simulated data can be immediately put into the real production for use, and the problems in the real production process can also be immediately switched to the simulation for re-verification, which greatly improves the efficiency of fault detection and reduces the fault detection time and processing cost. In addition, the fault detection method of the present application adopts a cloud architecture, which saves the installation and deployment links on each PC end. The user can download a simulation application in any PC and see the three-dimensional simulation effect on any terminal that can be reached by the network. In addition, the present application abstracts the actions of the equipment into independent modules, which include corresponding algorithm logic. When designing the process flow, only these modules need to be combined to match the production lines in various scenarios.
[0056] The embodiments of the present application are described and illustrated below through preferred embodiments.
[0057] Figure 2 is a flow chart of a device detection method according to another embodiment of the present application. Figure 2 As shown, the method can be applied to a device detection system, which includes multiple subsystems, namely a configuration system, a response system, a simulation system and an execution system. Figure 3 is a data flow diagram of a device detection method according to another embodiment of the present application, such as Figure 3 As shown, the configuration system is used to abstract the functions of each device, and configure the single device function in the configuration system by dragging and dropping to form an instruction stream containing multiple devices running collaboratively for subsequent use by other systems. The response system is used to simulate the execution of real devices. When the instruction stream is sent to the response system, the response system parses and simulates the execution of these instructions, and then simulates the message information that will be returned after the real device is executed. The simulation system is used to receive the simulation message information sent by the execution system, parse these messages, translate them into animation instructions that can be recognized by the PC simulation application, and then send them to each related PC, that is, Figure 2PC1, PC2, and PC3 in the figure only show three PC terminals, but this application does not limit the number of PC terminals. After the PC-side simulation application receives these animation instructions, it will dynamically demonstrate the 3D simulation animation according to the instruction content. The execution system is used to create and issue real message instructions. It first obtains the instruction stream from the configuration system, and then uses these instruction streams to configure the process required for real production or transportation. The execution system can be a production system or a logistics system. It sends real instructions to the real device or response system, and sends the message information returned by the real device or response system to the simulation system after processing. The execution system is also used to compare the simulation operation message returned by the response system with the real message returned by the real device. If the comparison result shows that the two messages are inconsistent, it is considered that the real device has a fault. The execution system is the core that connects the four subsystems in series.
[0058] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0059] This embodiment also provides a device detection device, which is used to implement the above embodiments and preferred implementations, and will not be repeated here. As used below, the terms "module", "unit", "subunit", etc. can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0060] Figure 4 is a structural block diagram of a device detection apparatus according to an embodiment of the present application, such as Figure 4 As shown, the device comprises:
[0061] The process acquisition module 10 is used to acquire the process flow, and the process flow is used to control the various components constituting the real equipment to work together.
[0062] Execution module 20: sends the process flow to the real device and the simulation device, so that the real device and the simulation device run the process flow; the simulation device includes a simulation virtual model built based on the real device.
[0063] The result acquisition module 30 is used to acquire the actual operation results and the simulation operation results fed back by the real device and the simulation device.
[0064] Detection module 40: used for comparing the actual operation result with the simulation operation result. If the actual operation result is different from the simulation operation result, the real device has a fault.
[0065] The execution module 20 is further used to send the process flow to the real device so that the real device runs the process flow; obtain a first virtual-real switching instruction; and send the process flow to the simulation device so that the simulation device runs the process flow.
[0066] The execution module 20 is further used to send the process flow to the simulation device so that the simulation device runs the process flow; obtain a second virtual-real switching instruction; and send the process flow to the real device so that the real device runs the process flow.
[0067] The detection module 40 is further used to generate a simulation animation instruction according to the actual operation result and the simulation operation result; and send the simulation animation instruction to the client, so that the client demonstrates the simulation animation according to the simulation animation instruction.
[0068] The detection module 40 is further used to transmit the simulation animation instruction to the cloud, so that the client obtains the simulation animation instruction from the cloud.
[0069] This embodiment also provides a device detection system, including: a real device, a simulation device and a detection device;
[0070] The detection device is used to obtain the process flow and send the process flow to the real device and the simulation device;
[0071] The real device is used to run the process flow and obtain actual operation results, and the process flow is used to control the various components constituting the real device to work together;
[0072] The simulation device is used to run the process flow and obtain simulation results;
[0073] The detection device is also used to compare the actual operation result with the simulation operation result. If the actual operation result is different from the simulation operation result, the real device has a fault.
[0074] This embodiment also provides a device detection system, which also includes a simulation device, and the simulation device is used to generate simulation animation instructions according to the actual operation results and the simulation operation results and demonstrate simulation animation based on the simulation animation instructions.
[0075] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0076] In addition, combined Figure 1 The device detection method described in the embodiment of the present application can be implemented by a computer device. Figure 5 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present application.
[0077] The computer device may include a processor 51 and a memory 52 storing computer program instructions.
[0078] Specifically, the processor 51 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0079] Among them, the memory 52 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 52 may include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 52 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 52 may be inside or outside the data processing device. In a specific embodiment, the memory 52 is a non-volatile memory. In a specific embodiment, the memory 52 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, PROM for short), an erasable PROM (Erasable ProgrammableRead-Only Memory, EPROM for short), an electrically erasable PROM (Electrically Erasable ProgrammableRead-Only Memory, EEPROM for short), an electrically alterable ROM (Electrically Alterable Read-Only Memory, EAROM for short) or a flash memory (FLASH) or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.
[0080] The memory 52 may be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor 51 .
[0081] The processor 51 implements any one of the device detection methods in the above embodiments by reading and executing computer program instructions stored in the memory 52 .
[0082] In some of the embodiments, the computer device may further include a communication interface 53 and a bus 50. Figure 5 As shown, the processor 51, the memory 52, and the communication interface 53 are connected via a bus 50 and communicate with each other.
[0083] The communication interface 53 is used to implement communication between the modules, devices, units and / or equipment in the embodiment of the present application. The communication port 53 can also implement data communication with other components such as: external devices, image / data acquisition equipment, databases, external storage, and image / data processing workstations.
[0084] The bus 50 includes hardware, software or both, and couples the components of the computer device to each other. The bus 50 includes but is not limited to at least one of the following: a data bus, an address bus, a control bus, an expansion bus, and a local bus. By way of example and not limitation, bus 50 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, bus 50 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0085] The computer device can execute the device detection method in the embodiment of the present application based on the acquired computer program instructions, thereby realizing the combination Figure 1 Describes the device detection method.
[0086] In addition, in combination with the device detection method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any device detection method in the above embodiment is implemented.
[0087] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0088] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A device detection method, It is characterized in that include: Acquire a process flow, wherein the process flow is used to control various components constituting a real device to work in coordination; The real device is composed of multiple physical devices; Acquiring the process flow includes: configuring a control instruction flow for controlling the collaborative operation of multiple physical devices; generating a process flow according to the control instruction flow; Sending the process flow to the real device and the simulation device, so that the real device and the simulation device run the process flow; the simulation device includes a simulation virtual model built based on the real device; Obtaining actual operation results and simulation operation results fed back by the real device and the simulation device; The actual operation result is compared with the simulation operation result. If the actual operation result is different from the simulation operation result, the real device has a fault.
2. The device detection method according to claim 1, It is characterized in that The sending the process flow to the real device and the simulated device so that the real device and the simulated device run the process flow comprises: Sending the process flow to the real device so that the real device runs the process flow; Obtaining a first virtual-real switching instruction; The process flow is sent to the simulation device, so that the simulation device runs the process flow.
3. The device detection method according to claim 1, It is characterized in that The step of sending the process flow to the real device and the simulated device so that the real device and the simulated device run the process flow further comprises: Sending the process flow to the simulation device so that the simulation device runs the process flow; Obtaining a second virtual-real switching instruction; The process flow is sent to the real device, so that the real device runs the process flow.
4. The device detection method according to claim 1, It is characterized in that After obtaining the actual operation results and the simulation operation results fed back by the real device and the simulation device, the following further comprises: Generate a simulation animation instruction according to the actual operation result and the simulation operation result; The simulation animation instruction is sent to the client, so that the client demonstrates the simulation animation according to the simulation animation instruction.
5. The device detection method according to claim 4, It is characterized in that After generating the simulation animation instruction according to the actual operation result and the simulation operation result, the following step is further included: The simulation animation instruction is transmitted to the cloud, so that the client obtains the simulation animation instruction from the cloud.
6. A device for detecting equipment, It is characterized in that include: Process acquisition module: used to acquire the process flow, which is used to control the coordinated work of various components constituting the real equipment; The real device is composed of multiple physical devices; Acquiring the process flow includes: configuring a control instruction flow for controlling the collaborative operation of multiple physical devices; generating a process flow according to the control instruction flow; Execution module: sending the process flow to the real device and the simulation device, so that the real device and the simulation device run the process flow; the simulation device includes a simulation virtual model built based on the real device; Result acquisition module: used to obtain the actual operation results and simulation operation results fed back by the real device and the simulation device; Detection module: used to compare the actual operation result with the simulation operation result. If the actual operation result is different from the simulation operation result, the real device has a fault.
7. A device detection system, It is characterized in that include: Real equipment, simulated equipment, and test equipment; The detection device is used to obtain the process flow and send the process flow to the real device and the simulation device; The real device is composed of multiple physical devices; Acquiring the process flow includes: configuring a control instruction flow for controlling the collaborative operation of multiple physical devices; generating a process flow according to the control instruction flow; The real device is used to run the process flow and obtain actual operation results, and the process flow is used to control the various components constituting the real device to work together; The simulation device is used to run the process flow and obtain simulation results; The detection device is also used to compare the actual operation result with the simulation operation result. If the actual operation result is different from the simulation operation result, the real device has a fault.
8. The device detection system according to claim 7, It is characterized in that The detection system also includes a simulation device, which is used to generate simulation animation instructions according to the actual operation results and the simulation operation results and demonstrate simulation animation based on the simulation animation instructions.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the device detection method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the device detection method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Tower crane fault diagnosis system
CN111158307A