CN114297035B - Production monitoring method, system, equipment and computer readable storage medium - Google Patents

Production monitoring method, system, equipment and computer readable storage medium Download PDF

Info

Publication number
CN114297035B
CN114297035B CN202111682629.5A CN202111682629A CN114297035B CN 114297035 B CN114297035 B CN 114297035B CN 202111682629 A CN202111682629 A CN 202111682629A CN 114297035 B CN114297035 B CN 114297035B
Authority
CN
China
Prior art keywords
information
interface
production
preset
acquisition
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
CN202111682629.5A
Other languages
Chinese (zh)
Other versions
CN114297035A (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.)
Skyworth Group Intelligent Equipment Co Ltd
Original Assignee
Skyworth Group Intelligent Equipment 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 Skyworth Group Intelligent Equipment Co Ltd filed Critical Skyworth Group Intelligent Equipment Co Ltd
Priority to CN202111682629.5A priority Critical patent/CN114297035B/en
Publication of CN114297035A publication Critical patent/CN114297035A/en
Application granted granted Critical
Publication of CN114297035B publication Critical patent/CN114297035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The invention discloses a production monitoring method, which comprises the following steps: acquiring first acquisition information of a first preset acquisition device and second acquisition information of an interface device, wherein the first preset acquisition device is connected with an interface-free device; processing the first acquired information and the second acquired information to obtain production state information, and storing the production state information into a preset database; and acquiring a calling instruction of a user, calling corresponding production state information in a preset database according to the calling instruction, and outputting the corresponding production state information to a preset monitoring terminal. The invention also discloses a system, equipment and a computer readable storage medium. The invention greatly improves the intelligent degree of monitoring production equipment.

Description

Production monitoring method, system, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of production monitoring, and in particular, to a production monitoring method, system, device, and computer readable storage medium.
Background
At present, a large number of small and medium-sized micro enterprises exist in the machining industry, and along with the development of informatization and intellectualization, the small and medium-sized enterprises want to monitor the production state of equipment in real time, so that the specific situation of the production process is mastered, and corresponding improvement measures are formulated to improve the production benefit. However, the construction of the intelligent factory is often a matched design, and the design from the layout, network construction and equipment research and development of the factory to the scheme design of the whole system is customized, so that the intelligent factory is often quite expensive in cost and is not suitable for the requirements of small and medium-sized micro enterprises. The common points of the small and medium-sized enterprises are that the number of the equipment is not large, the equipment is mixed with the old and the new equipment, and the equipment model is more. Therefore, the statistics of production information of equipment by the existing small and medium-sized enterprises is always totally manual, and the intelligent degree of equipment monitoring is low.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a production monitoring method, which aims to solve the technical problem of low intelligent degree of monitoring production equipment.
To achieve the above object, the present invention provides a production monitoring method comprising the steps of:
acquiring first acquisition information of a first preset acquisition device and second acquisition information of an interface device, wherein the first preset acquisition device is connected with an interface-free device;
processing the first acquired information and the second acquired information to obtain production state information, and storing the production state information into a preset database;
and acquiring a calling instruction of a user, calling corresponding production state information in a preset database according to the calling instruction, and outputting the corresponding production state information to a preset monitoring terminal.
Preferably, the step of acquiring the first acquired information of the first preset acquiring device and the second acquired information of the interface device includes:
obtaining the first acquisition information through the production information of the interface-free equipment acquired by the first preset acquisition equipment;
Acquiring interface information of the interface equipment, and acquiring a communication protocol corresponding to the interface information according to the interface information;
and acquiring production information of the interface equipment based on the communication protocol, and acquiring the second acquired information.
Preferably, the step of obtaining a communication protocol corresponding to the interface information according to the interface information includes:
judging whether a preset protocol storage position stores a communication protocol corresponding to the interface information according to the interface information;
and if the communication protocol corresponding to the interface information is stored, calling the communication protocol corresponding to the interface information in the preset protocol storage position.
Preferably, the step of determining whether the preset protocol storage location stores the communication protocol corresponding to the interface information according to the interface information includes:
and if the communication protocol corresponding to the interface information is not stored, calling a preset protocol generation tool to generate the communication protocol corresponding to the interface information, and storing the communication protocol to a preset protocol storage position.
Preferably, the step of processing the first collected information and the second collected information to obtain production status information and storing the production status in a preset database includes:
And extracting production information in the first acquisition information and the second acquisition information according to the data integration information in the preset database, and integrating the production information to obtain production state information.
Preferably, the step of processing the first collected information and the second collected information to obtain production status information, and storing the production status in a preset database further includes:
acquiring field information of a second preset acquisition device, and generating a corresponding relation between the field information and the interface-free device;
and storing the field information and the corresponding relation to a preset database.
Preferably, the step of calling corresponding production state information in a preset database according to the calling instruction and outputting the corresponding production state information to a preset monitoring terminal includes:
calling corresponding production state information in a preset database according to the calling instruction;
and carrying out visualization processing on the invoked production state information so that the production state information subjected to the visualization processing is displayed on the preset monitoring terminal.
In addition, to achieve the above object, the present invention also provides a production monitoring system including:
The system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring first acquisition information of first preset acquisition equipment and second acquisition information of interface equipment, and the first preset acquisition equipment is connected with the interface-free equipment;
the processing module is used for processing the first acquired information and the second acquired information to obtain production state information, and storing the production state information into a preset database;
the output module is used for acquiring a calling instruction of a user, calling corresponding production state information in a preset database according to the calling instruction and outputting the corresponding production state information to the preset monitoring terminal.
In addition, to achieve the above object, the present invention also provides a production monitoring apparatus including: a memory, a processor, and a production monitoring program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the production monitoring method as claimed in any one of the preceding claims.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a production monitoring program which, when executed by a processor, implements the steps of the production monitoring method as set forth in any one of the above.
According to the production monitoring method, the first acquisition information of the first preset acquisition equipment and the second acquisition information of the interface equipment can be acquired, wherein the first preset acquisition equipment is connected with the interface-free equipment. The first preset acquisition equipment is used for acquiring production information of the interface-free equipment as first acquisition information, and the production information of the interface-free equipment can be acquired through a communication interface corresponding to the interface-free equipment as second acquisition information. And further, processing (such as analyzing, extracting, integrating and the like) the first acquired information and the second acquired information to obtain production state information of the interface equipment and the non-interface equipment, and storing the production state into a preset database. And finally, after the call instruction of the user is acquired, analyzing the call instruction to acquire the production state information required to be acquired by the user, and then calling the corresponding production state information in the preset database to output to the preset monitoring terminal for the user to check. According to the invention, the production information is acquired by adopting the first preset acquisition equipment for the non-interface equipment, and the production information is acquired by the corresponding interface for the interface equipment, so that the acquisition of the production information of different equipment is realized, and the acquired information is processed and stored for the user to call, the problem that the monitoring of the production equipment is difficult to realize due to equipment mixing in the existing small and medium-sized micro enterprises is solved, and the intelligent degree of the monitoring of the production equipment is greatly improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. 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 described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a first embodiment of a production monitoring method of the present application;
FIG. 2 is a flow chart of a second embodiment of the production monitoring method of the present application;
FIG. 3 is a schematic diagram of a production monitoring system according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a device architecture of a hardware operating environment according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments. Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element defined by the phrase "comprising one … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element, and furthermore, elements having the same name in different embodiments of the application may have the same meaning or may have different meanings, the particular meaning of which is to be determined by its interpretation in this particular embodiment or by further combining the context of this particular embodiment.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context. Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, steps, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, steps, operations, elements, components, items, categories, and/or groups. The terms "or", "and/or", "including at least one of", and the like, as used herein, may be construed as inclusive, or mean any one or any combination. For example, "including at least one of: A. b, C "means" any one of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C ", again as examples," A, B or C "or" A, B and/or C "means" any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; a and B and C). An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily occurring in sequence, but may be performed alternately or alternately with other steps or at least a portion of the other steps or stages.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
It should be noted that, in this document, step numbers such as S100 and S200 are adopted, and the purpose of the present application is to more clearly and briefly describe the corresponding content, and not to constitute a substantial limitation on the sequence, and those skilled in the art may execute S200 first and then execute S100 when implementing the present application, which is within the scope of protection of the present application.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In the following description, suffixes such as "module", "part" or "unit" for representing elements are used only for facilitating the description of the present application, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
Referring to fig. 1, a first embodiment of the present application provides a production monitoring method including the steps of:
step S100, acquiring first acquisition information of a first preset acquisition device and second acquisition information of an interface device, wherein the first preset acquisition device is connected with an interface-free device;
specifically, the non-interface device is a device without a communication interface, and the device with an interface is a device with a communication interface. The first collected information is production information of the interface-free equipment, and the second collected information is production information of the interface-free equipment. The first preset collecting device is connected with the non-interface device and is used for collecting production information (such as a starting state, yield information, main device indexes and the like) of the non-interface device to obtain first collecting information, and the production information of the interface device is collected through a corresponding communication interface connected with the interface device to obtain second collecting information. In this embodiment, the production information is acquired by adopting the first preset acquisition device for the non-interface device, and the production information is acquired by the corresponding interface for the interface device, so that the acquisition of the production information of different devices is realized.
Further, the step S100 includes the steps of:
step S110, obtaining the first acquisition information through the production information of the interface-free equipment acquired by the first preset acquisition equipment;
step S120, obtaining interface information of the interface equipment, and obtaining a communication protocol corresponding to the interface information according to the interface information;
and step S130, acquiring production information of the interface equipment based on the communication protocol, and acquiring the second acquired information.
Specifically, the first acquired information is obtained through the production information of the interface-free device acquired by the first preset acquisition device, for example, the first preset acquisition device includes a remote I/O unit, an AD unit and a PLC (Programmable Logic Controller ), the production information of the interface-free device is obtained through connection (such as adding a button, a relay, etc.) of the remote I/O unit and the AD unit with the interface-free device, the production information is sent to the PLC in the form of an I/O signal and an AD signal, and the PLC analyzes the I/O signal and the AD to obtain the production information of the interface-free device (i.e., the first acquired information). The second acquisition information can be obtained by acquiring the interface information of the interface equipment, acquiring a communication protocol corresponding to the interface information according to the interface information, and then acquiring the production information of the interface equipment based on the communication protocol. Therefore, the butt joint of the communication interfaces of different interface devices is realized, so that the production information of different interface devices is acquired, and the second acquired information is obtained. For example, a corresponding program is written based on the PyQt framework, and at the same time, a communication protocol corresponding to the interface information of the interface device can be written by means of a python rich resource package such as a socket module, so that the production information of the interface device is collected based on the communication protocol, and the second collection information is obtained.
Further, the step S120 includes the steps of:
step S121, judging whether a preset protocol storage position stores a communication protocol corresponding to the interface information according to the interface information;
step S122, if the communication protocol corresponding to the interface information is stored, calling the communication protocol corresponding to the interface information in the preset protocol storage position.
Step S123, if the communication protocol corresponding to the interface information is not stored, calling a preset protocol generation tool to generate the communication protocol corresponding to the interface information, and storing the communication protocol to a preset protocol storage position.
Specifically, when the interface device is initially connected, a preset protocol generating tool (such as a socket module) may be called to generate a communication protocol corresponding to the interface information, and the communication protocol is stored in a preset protocol storage location. When the production information of the interface equipment is required to be acquired, judging whether a preset protocol storage position stores a communication protocol corresponding to the interface information according to the interface information of the interface equipment, and if the preset protocol storage position stores the communication protocol corresponding to the interface information, calling the communication protocol corresponding to the interface information in the preset protocol storage position so as to avoid repeated generation of the communication protocol, thereby improving the efficiency of acquiring the second acquired information. And if the communication protocol corresponding to the interface information is not stored in the preset protocol storage position, calling a preset protocol generation tool to generate the communication protocol corresponding to the interface information, and storing the communication protocol in the preset protocol storage position. The second acquired information is acquired, and meanwhile, the second acquired information can be directly called when the same communication protocol is needed in the later period, so that the efficiency of acquiring the second acquired information is improved.
Step 200, processing the first acquired information and the second acquired information to obtain production state information, and storing the production state information into a preset database;
specifically, the first collected information and the second collected information may be analyzed to obtain production information corresponding to the interface-free equipment and the interface-free equipment, and then the production information corresponding to the interface-free equipment and the interface-free equipment may be integrated according to preset data integration requirements (such as equipment startup conditions, real-time output, time-division output, total output, yield and other data requirements expected to be obtained by a user) of the user, so as to obtain production state information (such as equipment startup conditions, real-time output, time-division output, total output, yield and other information) of the interface-free equipment and the interface-free equipment. And then, the production state information of the interface equipment and the non-interface equipment is stored in a preset database so as to call corresponding data according to different call instructions of a user at a later period.
Still further, step S200 further includes the steps of:
step S210, extracting production information in the first collected information and the second collected information according to the data integration information in the preset database, and integrating the production information to obtain production status information.
Specifically, the data integration information is data integration requirement information of the user, and may be in a form of a table, for example, according to a data integration table in the preset database, production information corresponding to the data integration table in the first collection information and the second collection information is extracted, and then the corresponding production information is integrated into the data integration table, so as to implement processing of the first collection information and the second collection information. In this embodiment, after the data integration information acquires the first acquired information and the second acquired information, the data can be rapidly processed, so that a later user can call conveniently, the data processing of the interface equipment and the non-interface equipment is automatically realized, and the efficiency and the intelligent degree of equipment monitoring are improved.
Step S300, a calling instruction of a user is obtained, and corresponding production state information in a preset database is called according to the calling instruction and is output to a preset monitoring terminal.
Specifically, the call instruction may include a request for the user to acquire each production status information. After a call instruction of a user is acquired, the call instruction is analyzed, production state information which is required to be acquired by the user is acquired, and then the corresponding production state information in a preset database is called and output to a preset monitoring terminal for the user to check.
Further, the step of calling the corresponding production state information in the preset database according to the calling instruction and outputting the corresponding production state information to the preset monitoring terminal comprises the following steps:
step S310, corresponding production state information in a preset database is called according to the calling instruction;
step S320, performing visualization processing on the invoked production status information, so that the production status information of the visualization processing is displayed on the preset monitoring terminal.
Specifically, according to the calling instruction, the corresponding production state information in a preset database is called, and then the called production state information is subjected to visualization processing, so that the production state information of the visualization processing is displayed on the preset monitoring terminal. The visual processing can be to convert the called production state information into visual forms such as characters and/or tables and/or images, so that a user can intuitively know the corresponding production state information.
In the first embodiment of the invention, the first acquisition information of the first preset acquisition device and the second acquisition information of the interface device can be acquired, wherein the first preset acquisition device is connected with the interface-free device. The first preset acquisition equipment is used for acquiring production information of the interface-free equipment as first acquisition information, and the production information of the interface-free equipment can be acquired through a communication interface corresponding to the interface-free equipment as second acquisition information. And further, processing (such as analyzing, extracting, integrating and the like) the first acquired information and the second acquired information to obtain production state information of the interface equipment and the non-interface equipment, and storing the production state into a preset database. And finally, after the call instruction of the user is acquired, analyzing the call instruction to acquire the production state information required to be acquired by the user, and then calling the corresponding production state information in the preset database to output to the preset monitoring terminal for the user to check. According to the method, the production information is acquired by adopting the first preset acquisition equipment for the non-interface equipment, the production information is acquired by the corresponding interface for the interface equipment, the acquisition of the production information of different equipment is realized, and then the acquired information is processed and stored for the user to call, so that the problem that the monitoring of the production equipment is difficult to realize due to equipment mixing in the existing small and medium-sized micro enterprises is solved, and the intelligent degree of the monitoring of the production equipment is greatly improved.
Further, referring to fig. 2, a second embodiment of the present invention provides a production monitoring method, based on the embodiment shown in fig. 1, the following steps are included before step S200:
step S220, acquiring field information of a second preset acquisition device, and generating a corresponding relation between the field information and the interface-free device;
step S221, storing the field information and the correspondence to a preset database.
Specifically, the site information may include information such as product information, personnel information, and process information. The relevant field information can be directly input into the second preset acquisition equipment by the user, and the relevant field information and the like can be acquired by the user by adopting the second preset acquisition equipment. For example, the user generates a corresponding two-dimensional code or a bar code with the field information corresponding to the interface-free device and the interface-free device, and then scans the corresponding two-dimensional code or bar code through a code scanning gun to obtain the field information corresponding to the interface-free device and the corresponding relation between the field information and the interface-free device. And then, storing the field information and the corresponding relation to a preset database through a serial port protocol corresponding to the code scanning gun so as to facilitate the call of subsequent users. In this embodiment, the second preset acquisition device acquires the field information of the interface device and the non-interface device, so that the production field information is monitored in addition to the production information of the device, thereby improving the flexibility of device monitoring, improving the richness of data in the preset database, and further improving the intelligentization degree of device monitoring.
Still further, in another embodiment, the production monitoring method further includes:
corresponding production state analysis software can be written through a PyQt framework, and then a timing task such as data acquisition of sectional yield, night shift yield, total yield and the like can be realized through an apschedule module in the production state analysis software; the QTimer timer module is used for realizing the update task of real-time data; the method comprises the steps of obtaining data in a PLC (programmable logic controller) through communication between a modbus_tk module and the PLC; compiling serial communication through a pyrerval module to acquire field information of the code scanning gun; compiling network port communication through a socket module, and acquiring production information of corresponding interface equipment according to interface protocols of different interface equipment manufacturers;
analyzing the data of the acquired production information, and integrating the data according to the format of a corresponding data integration table in a preset database;
and connecting a preset database through a pymysql module of the production state analysis software and storing the integrated data into the preset database.
The user sends HTTP request to preset server by POET mode;
after receiving the HTTP request, the preset server performs regular matching according to the URL address of the request, and responds to the corresponding interface function after matching the corresponding URL address;
Firstly acquiring parameters of POST in a function, requiring a preset server to execute corresponding database query operation according to the parameters, acquiring data in a preset database through query methods such as aggregation, grouping and the like, and recombining the data into a required interface data format to return the data to a preset monitoring terminal through HTTP response;
the preset monitoring terminal analyzes the returned data and displays the data in the form of a chart and the like.
Referring to fig. 3, fig. 3 is a schematic diagram of a production monitoring system according to an embodiment of the present invention, and in one embodiment of the present invention, a production monitoring system is provided, where the production monitoring system includes:
the acquisition module 10 is configured to acquire first acquisition information of a first preset acquisition device and second acquisition information of an interface device, where the first preset acquisition device is connected to an interface-free device;
the processing module 20 is configured to process the first collected information and the second collected information to obtain production status information, and store the production status in a preset database;
and the output module 30 is used for acquiring a calling instruction of a user, calling corresponding production state information in a preset database according to the calling instruction, and outputting the corresponding production state information to a preset monitoring terminal.
Still further, the production monitoring system further comprises:
the acquisition module 10 is further configured to obtain the first acquisition information through production information of the interface-free device acquired by the first preset acquisition device;
the acquisition module 10 is further configured to acquire interface information of the interface device, and acquire a communication protocol corresponding to the interface information according to the interface information;
the collection module 10 is further configured to collect production information of the interfacing device based on the communication protocol, and obtain the second collected information.
Still further, the production monitoring system further comprises:
the acquisition module 10 is further configured to determine, according to the interface information, whether a preset protocol storage location stores a communication protocol corresponding to the interface information;
the collection module 10 is further configured to invoke a communication protocol corresponding to the interface information in the preset protocol storage location if the communication protocol corresponding to the interface information is stored.
Still further, the production monitoring system further comprises:
and the acquisition module 10 is further configured to call a preset protocol generation tool to generate a communication protocol corresponding to the interface information if the communication protocol corresponding to the interface information is not stored, and store the communication protocol to a preset protocol storage location.
Still further, the production monitoring system further comprises:
the processing module 20 is further configured to extract production information in the first collected information and the second collected information according to the data integration information in the preset database, and integrate the production information to obtain production status information.
Still further, the production monitoring system further comprises:
the acquisition module 10 is further configured to acquire field information of a second preset acquisition device, and generate a correspondence between the field information and the interface-free device;
and storing the field information and the corresponding relation to a preset database.
Still further, the production monitoring system further comprises:
the output module 30 is further configured to invoke corresponding production status information in a preset database according to the invocation instruction;
and the output module 30 is further configured to perform visualization processing on the invoked production status information, so that the production status information in the visualization processing is displayed on the preset monitoring terminal.
As shown in fig. 4, fig. 4 is a schematic device structure diagram of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 4, the apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the device may also include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, wiFi modules, and the like. Among other sensors, such as light sensors, motion sensors, and other sensors. In particular, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen, turn off the display screen and/or the backlight according to the brightness of ambient light. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which are not described herein.
It will be appreciated by those skilled in the art that the apparatus structure shown in fig. 4 is not limiting of the production monitoring apparatus and may include more or fewer components than shown, or certain components in combination, or a different arrangement of components.
As shown in FIG. 4, an operating system, network communication module, user interface module, and production monitoring application may be included in memory 1005, which is a type of computer storage medium.
In the apparatus shown in fig. 4, the processor 1001 may be configured to call a production monitor program stored in the memory 1005, and perform the following operations:
acquiring first acquisition information of a first preset acquisition device and second acquisition information of an interface device, wherein the first preset acquisition device is connected with an interface-free device;
processing the first acquired information and the second acquired information to obtain production state information, and storing the production state information into a preset database;
and acquiring a calling instruction of a user, calling corresponding production state information in a preset database according to the calling instruction, and outputting the corresponding production state information to a preset monitoring terminal.
Still further, the processor 1001 may be further configured to call a production monitor program stored in the memory 1005, and perform the following operations:
obtaining the first acquisition information through the production information of the interface-free equipment acquired by the first preset acquisition equipment;
acquiring interface information of the interface equipment, and acquiring a communication protocol corresponding to the interface information according to the interface information;
And acquiring production information of the interface equipment based on the communication protocol, and acquiring the second acquired information.
Still further, the processor 1001 may be further configured to call a production monitor program stored in the memory 1005, and perform the following operations:
judging whether a preset protocol storage position stores a communication protocol corresponding to the interface information according to the interface information;
and if the communication protocol corresponding to the interface information is stored, calling the communication protocol corresponding to the interface information in the preset protocol storage position.
Still further, the processor 1001 may be further configured to call a production monitor program stored in the memory 1005, and perform the following operations:
and if the communication protocol corresponding to the interface information is not stored, calling a preset protocol generation tool to generate the communication protocol corresponding to the interface information, and storing the communication protocol to a preset protocol storage position.
Still further, the processor 1001 may be further configured to call a production monitor program stored in the memory 1005, and perform the following operations:
and extracting production information in the first acquisition information and the second acquisition information according to the data integration information in the preset database, and integrating the production information to obtain production state information.
Still further, the processor 1001 may be further configured to call a production monitor program stored in the memory 1005, and perform the following operations:
acquiring field information of a second preset acquisition device, and generating a corresponding relation between the field information and the interface-free device;
and storing the field information and the corresponding relation to a preset database.
Still further, the processor 1001 may be further configured to call a production monitor program stored in the memory 1005, and perform the following operations:
calling corresponding production state information in a preset database according to the calling instruction;
and carrying out visualization processing on the invoked production state information so that the production state information subjected to the visualization processing is displayed on the preset monitoring terminal.
In addition, the embodiment of the application also provides a computer storage medium.
The computer storage medium stores a computer program, and when the computer program is executed by a processor, the operations in the production monitoring method provided in the foregoing embodiment are implemented, and specific implementation steps may refer to the foregoing embodiment and will not be repeated herein.
It can be understood that the above scenario is merely an example, and does not constitute a limitation on the application scenario of the technical solution provided by the embodiment of the present application, and the technical solution of the present application may also be applied to other scenarios. For example, as one of ordinary skill in the art can know, with the evolution of the system architecture and the appearance of new service scenarios, the technical solution provided by the embodiment of the present application is also applicable to similar technical problems.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs.
In the present application, the same or similar term concept, technical solution and/or application scenario description will be generally described in detail only when first appearing and then repeatedly appearing, and for brevity, the description will not be repeated generally, and in understanding the present application technical solution and the like, reference may be made to the previous related detailed description thereof for the same or similar term concept, technical solution and/or application scenario description and the like which are not described in detail later.
In the present application, the descriptions of the embodiments are emphasized, and the details or descriptions of the other embodiments may be referred to.
The technical features of the technical scheme of the application can be arbitrarily combined, and all possible combinations of the technical features in the above embodiment are not described for the sake of brevity, however, as long as there is no contradiction between the combinations of the technical features, the application shall be considered as the scope of the description of the application.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
In the above embodiments, it may be implemented in whole or in part 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. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be accessed by a computer or data storage devices, such as servers, data centers, etc., that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disks, storage disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid State Disk (SSD)), among others.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A production monitoring method, characterized in that the production monitoring method comprises the steps of:
acquiring first acquisition information of a first preset acquisition device and second acquisition information of an interface device, wherein the first preset acquisition device is connected with an interface-free device;
processing the first acquired information and the second acquired information to obtain production state information, and storing the production state information into a preset database;
acquiring a calling instruction of a user, calling corresponding production state information in a preset database according to the calling instruction, and outputting the corresponding production state information to a preset monitoring terminal;
the step of acquiring the first acquired information of the first preset acquisition device and the second acquired information of the interface device comprises the following steps:
the method comprises the steps that production information of an interface-free device is acquired through a first preset acquisition device, the first acquisition information is obtained, the first preset acquisition device comprises a remote I/O unit, an AD unit and a PLC, the first preset acquisition device is connected with the interface-free device through the remote I/O unit and the AD unit, the production information of the interface-free device is obtained, the production information is sent to the PLC in the form of an I/O signal and an AD signal, and the PLC analyzes the I/O signal and the AD signal to obtain the first acquisition information;
Acquiring interface information of the interface equipment, and acquiring a communication protocol corresponding to the interface information according to the interface information;
acquiring production information of the interface equipment based on the communication protocol to acquire second acquired information;
the step of processing the first collected information and the second collected information to obtain production state information and storing the production state to a preset database further comprises the following steps:
scanning a corresponding two-dimensional code or bar code through a second preset acquisition device to obtain field information corresponding to the interface-free device and the interface-free device;
acquiring field information of a second preset acquisition device, and generating a corresponding relation between the field information and the interface-free device;
and storing the field information and the corresponding relation to a preset database based on a serial port protocol corresponding to the second preset acquisition equipment.
2. The production monitoring method of claim 1, wherein the step of obtaining a communication protocol corresponding to the interface information according to the interface information comprises:
judging whether a preset protocol storage position stores a communication protocol corresponding to the interface information according to the interface information;
And if the communication protocol corresponding to the interface information is stored, calling the communication protocol corresponding to the interface information in the preset protocol storage position.
3. The production monitoring method according to claim 2, wherein the step of determining whether a predetermined protocol storage location stores a communication protocol corresponding to the interface information according to the interface information comprises:
and if the communication protocol corresponding to the interface information is not stored, calling a preset protocol generation tool to generate the communication protocol corresponding to the interface information, and storing the communication protocol to a preset protocol storage position.
4. The production monitoring method of claim 1, wherein the steps of processing the first collected information and the second collected information to obtain production status information, and storing the production status to a preset database comprise:
and extracting production information in the first acquisition information and the second acquisition information according to the data integration information in the preset database, and integrating the production information to obtain production state information.
5. The production monitoring method according to any one of claims 1 to 4, wherein the step of calling corresponding production state information in a preset database according to the call instruction to output to a preset monitoring terminal comprises:
Calling corresponding production state information in a preset database according to the calling instruction;
and carrying out visualization processing on the invoked production state information so that the production state information subjected to the visualization processing is displayed on the preset monitoring terminal.
6. A production monitoring system, the production monitoring system comprising:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring first acquisition information of first preset acquisition equipment and second acquisition information of interface equipment, and the first preset acquisition equipment is connected with the interface-free equipment;
the processing module is used for processing the first acquired information and the second acquired information to obtain production state information, and storing the production state information into a preset database;
the output module is used for acquiring a calling instruction of a user, calling corresponding production state information in a preset database according to the calling instruction and outputting the corresponding production state information to a preset monitoring terminal;
the production monitoring system includes: the acquisition module is also used for:
the method comprises the steps that production information of an interface-free device is acquired through a first preset acquisition device, the first acquisition information is obtained, the first preset acquisition device comprises a remote I/O unit, an AD unit and a PLC, the first preset acquisition device is connected with the interface-free device through the remote I/O unit and the AD unit, the production information of the interface-free device is obtained, the production information is sent to the PLC in the form of an I/O signal and an AD signal, and the PLC analyzes the I/O signal and the AD signal to obtain the first acquisition information;
Acquiring interface information of the interface equipment, and acquiring a communication protocol corresponding to the interface information according to the interface information;
acquiring production information of the interface equipment based on the communication protocol to acquire second acquired information;
the production monitoring system includes: the acquisition module is also used for:
scanning a corresponding two-dimensional code or bar code through a second preset acquisition device to obtain field information corresponding to the interface-free device and the interface-free device;
acquiring field information of a second preset acquisition device, and generating a corresponding relation between the field information and the interface-free device;
and storing the field information and the corresponding relation to a preset database based on a serial port protocol corresponding to the second preset acquisition equipment.
7. A production monitoring device, characterized in that the production monitoring device comprises: memory, a processor and a production monitoring program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the production monitoring method according to any one of claims 1 to 5.
8. A computer-readable storage medium, on which a production monitoring program is stored, which, when executed by a processor, implements the steps of the production monitoring method according to any one of claims 1 to 5.
CN202111682629.5A 2021-12-30 2021-12-30 Production monitoring method, system, equipment and computer readable storage medium Active CN114297035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111682629.5A CN114297035B (en) 2021-12-30 2021-12-30 Production monitoring method, system, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111682629.5A CN114297035B (en) 2021-12-30 2021-12-30 Production monitoring method, system, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114297035A CN114297035A (en) 2022-04-08
CN114297035B true CN114297035B (en) 2023-11-14

Family

ID=80974926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111682629.5A Active CN114297035B (en) 2021-12-30 2021-12-30 Production monitoring method, system, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114297035B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801016A (en) * 2005-09-19 2006-07-12 上海电器科学研究所(集团)有限公司 Long-distance IO analog value module with Profibus-DP bus interface
CN101042582A (en) * 2007-04-25 2007-09-26 上海电器科学研究所(集团)有限公司 Programmable and configurable remote I/O module with field bus interface
CN101685301A (en) * 2009-07-29 2010-03-31 东华大学 Embedded type state monitoring information adaptor capable of operating under complex working conditions of numerically-controlled machine tool and method thereof
CN203250205U (en) * 2013-05-15 2013-10-23 浙江力太科技有限公司 Manufacturing equipment acquisition interacted system
US8838087B1 (en) * 2010-09-06 2014-09-16 Sprint Communications Company L.P. Provisioning system and methods for interfaceless phone
CN110456725A (en) * 2019-07-04 2019-11-15 烽台科技(北京)有限公司 A kind of monitoring method of PLC device, device and intelligent terminal
CN110658793A (en) * 2019-09-10 2020-01-07 上海大学 Intelligent production heterogeneous equipment multi-channel information perception analysis system and operation method thereof
CN111016967A (en) * 2019-11-27 2020-04-17 北京西南交大盛阳科技有限公司 Interval monitoring method, device, system, computer equipment and storage medium
CN111046982A (en) * 2018-10-15 2020-04-21 珠海格力电器股份有限公司 Equipment data monitoring method and device, computer equipment and storage medium
CN111352370A (en) * 2020-03-16 2020-06-30 威海精讯畅通电子科技有限公司 Agricultural data and production-based management system and agricultural data monitoring terminal
CN111400384A (en) * 2020-03-11 2020-07-10 广东溢达纺织有限公司 Monitoring system, method, computer equipment and storage medium for sizing machine
CN111420828A (en) * 2019-01-09 2020-07-17 上海交通大学 Rail type spraying robot
CN111586090A (en) * 2020-03-25 2020-08-25 杭州传化智能制造科技有限公司 Method, system, computer device and readable storage medium for industrial data acquisition
CN113609427A (en) * 2021-08-06 2021-11-05 山东鸿业信息科技有限公司 System data resource extraction method and system under condition of no interface

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801016A (en) * 2005-09-19 2006-07-12 上海电器科学研究所(集团)有限公司 Long-distance IO analog value module with Profibus-DP bus interface
CN101042582A (en) * 2007-04-25 2007-09-26 上海电器科学研究所(集团)有限公司 Programmable and configurable remote I/O module with field bus interface
CN101685301A (en) * 2009-07-29 2010-03-31 东华大学 Embedded type state monitoring information adaptor capable of operating under complex working conditions of numerically-controlled machine tool and method thereof
US8838087B1 (en) * 2010-09-06 2014-09-16 Sprint Communications Company L.P. Provisioning system and methods for interfaceless phone
CN203250205U (en) * 2013-05-15 2013-10-23 浙江力太科技有限公司 Manufacturing equipment acquisition interacted system
CN111046982A (en) * 2018-10-15 2020-04-21 珠海格力电器股份有限公司 Equipment data monitoring method and device, computer equipment and storage medium
CN111420828A (en) * 2019-01-09 2020-07-17 上海交通大学 Rail type spraying robot
CN110456725A (en) * 2019-07-04 2019-11-15 烽台科技(北京)有限公司 A kind of monitoring method of PLC device, device and intelligent terminal
CN110658793A (en) * 2019-09-10 2020-01-07 上海大学 Intelligent production heterogeneous equipment multi-channel information perception analysis system and operation method thereof
CN111016967A (en) * 2019-11-27 2020-04-17 北京西南交大盛阳科技有限公司 Interval monitoring method, device, system, computer equipment and storage medium
CN111400384A (en) * 2020-03-11 2020-07-10 广东溢达纺织有限公司 Monitoring system, method, computer equipment and storage medium for sizing machine
CN111352370A (en) * 2020-03-16 2020-06-30 威海精讯畅通电子科技有限公司 Agricultural data and production-based management system and agricultural data monitoring terminal
CN111586090A (en) * 2020-03-25 2020-08-25 杭州传化智能制造科技有限公司 Method, system, computer device and readable storage medium for industrial data acquisition
CN113609427A (en) * 2021-08-06 2021-11-05 山东鸿业信息科技有限公司 System data resource extraction method and system under condition of no interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾凡智,杨定安.工业控制中现代通讯技术的应用.福建电脑.2003,(第07期),56. *

Also Published As

Publication number Publication date
CN114297035A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN109726103B (en) Test report generation method, device, equipment and storage medium
CN105867751B (en) Operation information processing method and device
CN111339195A (en) Quality control system and method based on block chain and computer readable storage medium
CN111078556B (en) Application testing method and device
CN108401026B (en) Block chain-based data storage method, system and computer-readable storage medium
CN104834597A (en) Method and system for measuring application response duration
US20210144209A1 (en) Data generation apparatus, data generation method, and program
CN108052661B (en) Aggregation retrieval method and device in distributed environment and readable storage medium
CN114640727B (en) Protocol analysis method, device and computer readable storage medium
CN107918509B (en) Software shortcut prompt setting method and device and readable storage medium
CN109669402B (en) Abnormity monitoring method, device, apparatus and computer readable storage medium
CN108062401B (en) Application recommendation method and device and storage medium
CN107563467A (en) Searching articles method and apparatus
CN105813102B (en) Automatic test system and method
CN107707602B (en) Data communication processing terminal, method and computer readable storage medium
CN114297035B (en) Production monitoring method, system, equipment and computer readable storage medium
CN110019077A (en) Log inquiring method, device, equipment and computer readable storage medium
US20210392188A1 (en) Information processing method, and program
KR20210101583A (en) Electronic device and method for operating contents using the same
CN112199254B (en) Data model scanning method, system, computer device and storage medium
CN111736539B (en) Monitoring data display method, device, system, server and storage medium
CN115017340A (en) Multimedia resource generation method and device, electronic equipment and storage medium
CN113256253A (en) Data processing method, device, equipment, computer readable storage medium and product
CN113138763A (en) Page construction method, device, equipment and computer readable storage medium
CN113919877B (en) Task progress processing method, device and readable storage medium based on DMP platform

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