A production line equipment data synchronization method, equipment and medium

By setting up data receivers in production line equipment to obtain equipment timing data and perform synchronization processing, the problem of slow acquisition of equipment status information in the existing technology is solved, real-time data synchronization and status monitoring are achieved, and production efficiency is improved.

CN118626569BActive Publication Date: 2024-10-01INSPUR GENERSOFT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411102822.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-10-01
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

It is difficult for the existing technology to quickly and simultaneously process the device configuration data in the relational database and the real-time changing data in the time series database, resulting in slow acquisition of device status information and the inability to detect potential problems in a timely manner.

Method used

By setting up a data receiver in the production line equipment to read the equipment tags, obtain the equipment timing data and upload it to the timing database, build a data synchronization task to obtain the equipment timing data from the timing database, store it in the relational database after processing, and determine according to the preset strategy Real-time device status and display.

Benefits of technology

It achieves data synchronization between the time series database and the relational database, improves the acquisition speed and processing efficiency of equipment operation data, and ensures that production managers can understand the equipment status in a timely manner and avoid production interruptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626569B_ABST
    Figure CN118626569B_ABST
Patent Text Reader

Abstract

The present invention discloses a production line equipment data synchronization method, equipment and medium, and relates to the field of electrical digital data processing technology. The method includes: reading the equipment tag corresponding to the production line equipment through a data receiver set inside the workshop, parsing the equipment tag, and obtaining the equipment ID information corresponding to the production line equipment; obtaining the equipment timing data corresponding to the production line equipment according to the equipment ID information, and uploading the equipment timing data to the timing database; based on the trigger mode of the data synchronization task, obtaining the equipment timing data from the timing database, and processing the equipment timing data according to the data processing logic preset in the data synchronization task to obtain the processed equipment structured data; reading the equipment structured data, according to the preset status monitoring strategy, determining the real-time equipment status corresponding to the production line equipment according to the equipment structured data, and displaying the real-time equipment status in the production line monitoring page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic digital data processing, and in particular to a method, device and medium for synchronizing data of production line equipment. Background Art

[0002] In modern manufacturing, with the expansion of production scale and the increase of complexity, the timely acquisition of production line equipment data has become a key link in improving production efficiency, optimizing resource allocation, and ensuring product quality. Production line equipment enables production managers to grasp the operating status of production line equipment, production efficiency and other key indicators in real time, timely discover potential problems and issue early warnings, and effectively avoid production interruptions and failure expansion. However, the status information of production line equipment has certain closedness and limitations. For closed equipment workshops, the current mainstream relational database is mainly used to obtain fixed information, and real-time equipment information usually needs to be obtained from the time series database. When processing the above two types of data, it is often impossible to quickly process the equipment configuration data in the relational database and the real-time changing data in the time series database at the same time, which seriously affects the speed of obtaining real-time data of the equipment, resulting in equipment problems that cannot be discovered in time. Summary of the invention

[0003] In order to solve the above problems, the present invention proposes a production line equipment data synchronization method, comprising:

[0004] The data receiver set up inside the workshop reads the equipment tag corresponding to the production line equipment, and parses the equipment tag to obtain the equipment ID information corresponding to the production line equipment;

[0005] According to the device ID information, obtain the device timing data corresponding to the production line device, and upload the device timing data to the timing database;

[0006] Constructing a data synchronization task for synchronizing the time series database and the relational database, acquiring the device time series data from the time series database based on the trigger mode of the data synchronization task, and processing the device time series data according to the data processing logic preset in the data synchronization task to obtain the processed device structured data;

[0007] The device structured data is stored in a relational database connected to the time series database, the device structured data is read, and according to a preset status monitoring strategy, the real-time device status corresponding to the production line equipment is determined based on the device structured data, and the real-time device status is displayed on the production line monitoring page.

[0008] In an implementation of the present invention, the trigger mode includes an active trigger mode and a passive trigger mode, and based on the trigger mode of the data synchronization task, the device timing data is obtained from the timing database, specifically including:

[0009] Based on the passive trigger mode, the device timing data is acquired from the timing database according to the execution frequency corresponding to the data synchronization task;

[0010] Based on the active trigger mode, during the process of uploading the device timing data to the timing database, the device status field in the device timing data is extracted, and when the device status field is a specified status field, the device timing data is obtained from the timing database; wherein the specified status field is an alarm status field.

[0011] In an implementation of the present invention, before acquiring the device timing data from the timing database according to the execution frequency corresponding to the data synchronization task, the method further includes:

[0012] Acquire historical equipment time series data stored in the time series database, and divide the historical equipment time series data into several categories according to the production line equipment types corresponding to the historical equipment time series data;

[0013] For each category of historical device time series data, determine a real-time update value of the historical device time series data;

[0014] Determine the preset monitoring duration corresponding to the historical device timing data, determine the average update interval of the historical device timing data within the preset monitoring duration based on the real-time update value, and determine the execution frequency corresponding to the data synchronization task based on the average update interval.

[0015] In an implementation of the present invention, determining the average update interval of the historical device time series data within the preset monitoring time period according to the real-time update value specifically includes:

[0016] When the real-time update value corresponding to the historical device time series data at different time points exceeds a preset range, determining the time interval between the time points;

[0017] The time intervals in the preset monitoring duration are summarized, and the average values ​​between the time intervals are calculated to obtain the average update interval of the historical time series data within the preset monitoring duration.

[0018] In one implementation of the present invention, determining the preset monitoring duration corresponding to the historical device time series data specifically includes:

[0019] According to the production line equipment type corresponding to the category to which the historical equipment time series data belongs, obtaining the operation document corresponding to the production line equipment type, and determining the operation cycle required for the production line equipment type to implement each work cycle according to the operation document;

[0020] According to the operation cycle, a preset monitoring duration corresponding to the historical device time series data is determined; wherein the operation cycle is positively correlated with the preset monitoring duration, and the preset monitoring duration is shorter than the operation cycle.

[0021] In an implementation of the present invention, according to a preset status monitoring strategy, determining the real-time device status corresponding to the production line device according to the device structured data specifically includes:

[0022] According to a preset status monitoring strategy, a response sequence corresponding to different device states is determined, and according to the response sequence, a device state response sequence consisting of different device states is generated; wherein the device state includes an operating state, an alarm state, a standby state, and an offline state, and the response sequence of the alarm state takes precedence over the response sequence of the operating state, the standby state, and the offline state;

[0023] According to the response order of each device status in the device status response sequence, the device status fields matching the device status are retrieved from the device structured data in sequence, so as to determine the real-time device status corresponding to the production line equipment according to the field value corresponding to the device status field.

[0024] In an implementation of the present invention, after determining the real-time device status corresponding to the production line device according to the field value corresponding to the device status field, the method further includes:

[0025] When the real-time device status is the alarm status, determine the production line device type corresponding to the production line device that is currently alarming, and determine the alarm priority corresponding to the production line device according to the production line device type; wherein the alarm priority is related to whether the production line device type is a critical production line device;

[0026] For the production line equipment that is currently giving an alarm, determine the workshop area to which the production line equipment belongs according to the location point corresponding to the production line equipment;

[0027] The total number of equipment alarms in the workshop area and within the workshop are summarized respectively, and the interval alarm probability corresponding to the workshop area is calculated based on the total number of equipment alarms obtained after summarization, and the interval alarm probability is bound to the production line equipment in the corresponding workshop area, so that the alarm status and the interval alarm probability can be displayed on the production line monitoring page.

[0028] In an implementation of the present invention, after determining the real-time device status corresponding to the production line device according to the field value corresponding to the device status field, the method further includes:

[0029] When the real-time device status is the operating status, the operating parameters corresponding to the production line equipment are obtained from the device structured data, and a corresponding management strategy is generated according to the operating parameters, so as to display the management strategy in the production line monitoring page.

[0030] An embodiment of the present invention provides a production line equipment data synchronization device, the device comprising:

[0031] at least one processor;

[0032] and, a memory communicatively coupled to the at least one processor;

[0033] Wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a production line equipment data synchronization method as described in any of the above items.

[0034] An embodiment of the present invention provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0035] A method for synchronizing production line equipment data as described in any of the above items.

[0036] The production line equipment data synchronization method proposed by the present invention can bring the following beneficial effects:

[0037] Data synchronization between the time series database and the relational database is achieved by constructing data synchronization tasks. This mechanism ensures that data can flow from the time series database to the relational database in a timely and accurate manner according to the predetermined trigger mode, and integrates the time series data and the device-related information in the relational database. In this way, when analyzing and processing the data, there is no need to process the equipment operation data in the relational database and the time series database at the same time. Only the relational database needs to be processed accordingly, which greatly improves the acquisition speed and processing efficiency of the equipment operation data. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0039] Figure 1 A schematic diagram of a process flow of a production line equipment data synchronization method provided by an embodiment of the present invention;

[0040] Figure 2 A schematic diagram of the structure of a production line equipment data synchronization device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0042] The technical solutions provided by various embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0043] like Figure 1 As shown, a production line equipment data synchronization method provided by an embodiment of the present invention includes:

[0044] S101: Read the device tag corresponding to the production line equipment through the data receiver set up in the workshop, and parse the device tag to obtain the device ID information corresponding to the production line equipment.

[0045] Each production line equipment has a corresponding equipment tag, which is bound to the production line equipment information. During the operation of the production line equipment, the data receiver pre-installed in the workshop will read the equipment tag of the production line equipment in real time. After the equipment tag is uploaded to the server, the server will parse the equipment tag to obtain the equipment ID information corresponding to the production line equipment.

[0046] S102: Obtain device timing data corresponding to the production line device according to the device ID information, and upload the device timing data to a timing database.

[0047] Through the equipment ID information, the server can timely obtain the equipment timing data of the corresponding production line equipment during the operation of the production line equipment, such as alarm parameters (including pressure alarm, temperature alarm and other parameters), operating time, standby time, offline time, equipment name, etc. The above-mentioned acquired equipment timing data will be uploaded to the timing database for storage. Each production line equipment corresponds to a table structure. The table structure of the same type of equipment has the same specific fields. When storing the equipment timing data, it is necessary to store it in correspondence with the fields in the table. At the same time, the timing database will add the corresponding time field information to the acquired equipment timing data. In this way, the equipment timing data in a specific time period can be filtered out through the time field information, and then the equipment operation status of the time period can be analyzed and displayed.

[0048] It should be noted that the read device time series data may have two situations, one is with value and the other is null value. For the device time series data with null value, the server will not process it, and for the device time series data with value, it is necessary to analyze whether its corresponding data format conforms to the table structure format in the time series database. If the format does not conform, the device time series data is ignored, otherwise the device time series data needs to be stored in the time series database.

[0049] S103: Construct a data synchronization task for synchronizing the time series database and the relational database, obtain the device time series data from the time series database based on the trigger mode of the data synchronization task, and process the device time series data according to the data processing logic preset in the data synchronization task to obtain the processed device structured data.

[0050] The program is executed regularly by collecting the device time series data from the time series database, and the device time series data is stored in the relational database. Then, the corresponding real-time device status is obtained and displayed by analyzing and processing the data. Therefore, after storing the device time series data in the time series database, it is necessary to build a data synchronization task for data synchronization between the time series database and the relational database. The data synchronization task is executed regularly. After the data synchronization task is started based on the trigger mode of the data synchronization task, it is necessary to jump to the logic processing layer in the time series database for further processing, and then jump to influx to connect to the database and write SQL statements to generate SQL statements for obtaining device time series data. After obtaining the device time series data through the SQL statement, the device time series data is processed based on the data processing logic preset in the data synchronization task to obtain the processed device structured data. The processed equipment structured data can be directly synchronized to the relational database. In this way, the equipment time series data in the time series database that can reflect the real-time operation status of the equipment can be directly synchronized to the relational database. When analyzing and processing the data, there is no need to process the equipment operation data in the relational database and the time series database at the same time, which greatly improves the speed of acquiring equipment operation data, so that managers can understand the real-time equipment status of production line equipment in a timely manner, avoiding equipment operation failures due to untimely data acquisition and causing economic losses.

[0051] In one embodiment, the triggering mode of the data synchronization task is divided into an active triggering mode and a passive triggering mode. The difference between the two is that the active triggering mode periodically triggers the data synchronization task based on the set execution frequency, while the passive mode actively triggers the data synchronization task according to real-time events (such as changes in device status). Therefore, in the passive triggering mode, the execution frequency of the data synchronization task must first be set, and then based on the passive triggering mode, the server obtains the device timing data from the timing database according to the execution frequency corresponding to the data synchronization task. In the active mode, when the device timing data is uploaded to the timing database, it is necessary to extract the device status field in the device timing data and confirm whether the device status field is the specified status field, that is, the alarm status field. If it is an alarm status field, it indicates that the current production line equipment has certain faults during operation, and the corresponding device timing data needs to be displayed to the management personnel in a timely manner. At this time, there is no need to execute the data synchronization task according to the preset execution frequency, and the device timing data can be directly obtained from the timing database.

[0052] It should be noted that the execution frequency needs to take into account the update frequency of the equipment timing data. If the data is updated very frequently, in order to capture the status changes of the equipment in time, it is usually necessary to upload the equipment timing data at a higher execution frequency. Therefore, before executing the data synchronization task, it is necessary to obtain the historical equipment timing data stored in the timing database, and then analyze the update characteristics of the equipment timing data based on the historical equipment timing data. Since different types of production line equipment have different operating characteristics and data update modes, it is necessary to divide the historical equipment timing data into several categories according to the production line equipment types corresponding to the historical equipment timing data. For each category of historical equipment timing data, determine the real-time update value of the historical equipment timing data. According to the equipment characteristics, set a preset monitoring time for the equipment timing data of each type of production line equipment. Within the preset monitoring time, it is necessary to summarize the real-time update values ​​of the historical equipment timing data, and then determine the average update interval of the historical equipment timing data within the preset monitoring time based on the real-time update value. Finally, determine the execution frequency corresponding to the data synchronization task based on the average update interval. Generally speaking, the execution frequency of data synchronization tasks matches the average update interval, but in actual applications, external factors such as resource limitations and data processing time must be taken into account and the execution frequency must be corrected to a corresponding degree.

[0053] Among them, when calculating the update interval, it is necessary to summarize all data updates within the preset monitoring time. First, traverse the historical equipment time series data corresponding to all time points in the preset monitoring time to determine whether the real-time update value corresponding to the historical equipment time series data at different time points exceeds the preset range. The preset range is used to evaluate the performance stability of the equipment. If the real-time update value of the historical equipment time series data corresponding to the above time points exceeds the preset range, it may indicate that the production line equipment is unstable or there are potential problems. At this time, it is necessary to determine the time interval between the time points. Summarizing the time intervals in the preset monitoring time can gather the time points where the equipment time series data that may have abnormalities within the preset monitoring time. By calculating the average value between all the above time intervals, the average update interval of the historical time series data within the preset monitoring time can be obtained. The average update interval represents the average fluctuation of the equipment time series data within a certain period of time. The execution frequency of the data synchronization task is set according to the average update interval. The equipment operation status can be analyzed and processed based on the frequency of equipment status changes, which can ensure that timely measures are taken when the equipment status changes.

[0054] It should be noted that different types of production line equipment often have different operation cycles due to their different designs, functions and working modes. In order to ensure the real-time and accuracy of the data, these differences directly affect the selection of the preset monitoring duration. Therefore, it is necessary to obtain the operation document corresponding to the type of production line equipment according to the type of production line equipment corresponding to the category to which the historical equipment time series data belongs. The operation document records the detailed operation parameters and operation steps corresponding to each type of production line equipment. Based on the operation document, it is possible to determine the operation cycle required for the production line equipment type to achieve each work cycle. The operation cycle is the working time required for the production line equipment to complete a work cycle under normal operation. According to the operation cycle, the preset monitoring duration corresponding to the historical equipment time series data is determined. The operation cycle is positively correlated with the preset monitoring duration. For production line equipment on high-speed production lines with short operation cycles, the operating status and performance parameters of these production line equipment will be frequently updated. Therefore, a shorter preset monitoring duration needs to be selected to ensure the real-time nature of the data. In addition, the preset monitoring duration is shorter than the operation cycle because the production line equipment may be in a relatively stable state at certain stages of the work cycle, and there is no need for excessively frequent monitoring, thereby saving monitoring resources.

[0055] S104: Store the equipment structured data in a relational database connected to the time series database, read the equipment structured data, determine the real-time equipment status corresponding to the production line equipment according to the equipment structured data according to a preset status monitoring strategy, and display the real-time equipment status on the production line monitoring page.

[0056] The structured data of the equipment needs to be stored in a relational database connected to the time series database. In this way, by reading the data in the relational database, the real-time equipment status corresponding to the production line equipment can be determined based on the real-time operation data of the production line equipment and the fixed data in the relational database, and the real-time equipment status can be displayed on the production line monitoring page.

[0057] In one embodiment, when determining the real-time device status corresponding to the production line equipment, it is necessary to proceed based on a preset status monitoring strategy. The status monitoring strategy defines the priority of different real-time device statuses. According to the preset status monitoring strategy, the response order corresponding to different device statuses can be determined. After the response order is clarified, a device status response sequence consisting of different device statuses is generated according to the response order. The equipment status includes running status, alarm status, standby status, and offline status. The response order of the alarm status takes precedence over the response order of the running status, standby status, and offline status. The device status response sequence is alarm status, running status, standby status, and offline status. In other words, when determining the real-time device status of the production line equipment, it is first necessary to determine whether the production line equipment is in an alarm state, and then determine whether it is in other device states except the alarm state.

[0058] When judging the real-time device status, it is necessary to retrieve the device status fields that match the device status from the device structured data in sequence according to the response order of each device status in the device status response sequence, so as to determine the real-time device status corresponding to the production line equipment based on the field value corresponding to the device status field.

[0059] In one embodiment, if the alarm status field is "True" or "Yes", it indicates that the current production line equipment is in an alarm state. At this time, it is necessary to determine the type of production line equipment corresponding to the production line equipment that is currently alarming, and determine the alarm priority corresponding to the production line equipment based on the type of production line equipment. The alarm priority is related to whether the production line equipment type is a critical production line equipment. If the production line equipment is a critical production line equipment, such as processing equipment, quality inspection equipment and other equipment directly involved in equipment production, its corresponding alarm priority should be higher than that of auxiliary equipment such as conveying equipment and starting equipment used to assist production. The setting of the alarm priority can give priority to the equipment that has the greatest impact on product production, thereby ensuring the normal operation of the production line.

[0060] In addition to the alarm priority, when displaying the real-time equipment status, the server will also calculate the interval alarm rate corresponding to the production area based on the pre-divided production area, so that managers can quickly locate equipment problems and provide more intuitive alarm information.

[0061] Specifically, for the production line equipment that is currently alarming, determine the workshop area to which the production line equipment belongs based on the location point corresponding to the production line equipment. Summarize the total number of equipment alarms in the workshop area and inside the workshop respectively, and calculate the interval alarm probability corresponding to the workshop area based on the total number of equipment alarms obtained after aggregation. The interval alarm probability reflects the frequency of alarms in a specific time period and is an important indicator for evaluating regional stability and risks. Bind the interval alarm probability to the production line equipment in its corresponding workshop area. In this way, when the production line equipment alarms, the interval alarm probability corresponding to the workshop area where it is located can also be displayed on the production line monitoring page, helping managers understand the overall operation of the production line.

[0062] In one embodiment, if the production line equipment is not in an alarm state, and the operating status field in the corresponding equipment structured data is "True" or "Yes", it indicates that the current production equipment is in an operating state. At this time, it is necessary to obtain the operating parameters corresponding to the production line equipment from the equipment structured data, and generate a corresponding management strategy based on the operating parameters to display the management strategy on the production line monitoring page. For example, after obtaining the temperature information, it is determined that the current temperature is slightly higher than the normal temperature. At this time, a corresponding management strategy needs to be generated to prompt the management personnel to physically cool down the production line equipment or take other cooling measures.

[0063] The above are embodiments of the method proposed by the present invention. Based on the same idea, some embodiments of the present invention also provide devices and non-volatile computer storage media corresponding to the above methods.

[0064] Figure 2 A schematic diagram of the structure of a production line equipment data synchronization device provided by an embodiment of the present invention. Figure 2 As shown, including:

[0065] at least one processor; and,

[0066] at least one processor is communicatively connected to a memory; wherein,

[0067] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute a production line equipment data synchronization method as described in any of the above items.

[0068] An embodiment of the present invention provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0069] A method for synchronizing production line equipment data as described in any of the above items.

[0070] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0071] The devices and media provided in the embodiments of the present invention correspond one-to-one to the methods, and therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0072] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0073] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0074] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0075] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0076] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0077] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0078] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0079] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0080] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A production line equipment data synchronization method, characterized in that: The method comprises: The data receiver set up inside the workshop reads the equipment tag corresponding to the production line equipment, and parses the equipment tag to obtain the equipment ID information corresponding to the production line equipment; According to the device ID information, obtain the device timing data corresponding to the production line device, and upload the device timing data to the timing database; Constructing a data synchronization task for synchronizing the time series database and the relational database, acquiring the device time series data from the time series database based on the trigger mode of the data synchronization task, and processing the device time series data according to the data processing logic preset in the data synchronization task to obtain the processed device structured data; The device structured data is stored in a relational database connected to the time series database, the device structured data is read, and according to a preset status monitoring strategy, the real-time device status corresponding to the production line equipment is determined according to the device structured data, and the real-time device status is displayed on the production line monitoring page; wherein the status monitoring strategy defines the priority of different real-time device statuses; According to the preset status monitoring strategy, the real-time device status corresponding to the production line device is determined according to the device structured data, specifically including: According to a preset status monitoring strategy, a response sequence corresponding to different device states is determined, and according to the response sequence, a device state response sequence consisting of different device states is generated; wherein the device state includes an operating state, an alarm state, a standby state, and an offline state, and the response sequence of the alarm state takes precedence over the response sequence of the operating state, the standby state, and the offline state; According to the response order of each device status in the device status response sequence, the device status fields matching the device status are retrieved from the device structured data in sequence, so as to determine the real-time device status corresponding to the production line equipment according to the field value corresponding to the device status field.

2. A production line equipment data synchronization method according to claim 1, characterized in that: The trigger mode includes an active trigger mode and a passive trigger mode. Based on the trigger mode of the data synchronization task, the device timing data is obtained from the timing database, specifically including: Based on the passive trigger mode, the device timing data is acquired from the timing database according to the execution frequency corresponding to the data synchronization task; Based on the active trigger mode, during the process of uploading the device timing data to the timing database, the device status field in the device timing data is extracted, and when the device status field is a specified status field, the device timing data is obtained from the timing database; wherein the specified status field is an alarm status field.

3. A production line equipment data synchronization method according to claim 2, characterized in that: Before acquiring the device timing data from the timing database according to the execution frequency corresponding to the data synchronization task, the method further includes: Acquire historical equipment time series data stored in the time series database, and divide the historical equipment time series data into several categories according to the production line equipment types corresponding to the historical equipment time series data; For each category of historical device time series data, determine a real-time update value of the historical device time series data; Determine the preset monitoring duration corresponding to the historical device timing data, determine the average update interval of the historical device timing data within the preset monitoring duration based on the real-time update value, and determine the execution frequency corresponding to the data synchronization task based on the average update interval.

4. A production line equipment data synchronization method according to claim 3, characterized in that: Determining the average update interval of the historical device time series data within the preset monitoring time according to the real-time update value specifically includes: When the real-time update value corresponding to the historical device time series data at different time points exceeds a preset range, determining the time interval between the time points; The time intervals in the preset monitoring duration are summarized, and the average values ​​between the time intervals are calculated to obtain the average update interval of the historical device time series data within the preset monitoring duration.

5. A production line equipment data synchronization method according to claim 3, characterized in that: Determining a preset monitoring duration corresponding to the historical device time series data specifically includes: According to the production line equipment type corresponding to the category to which the historical equipment time series data belongs, obtaining the operation document corresponding to the production line equipment type, and determining the operation cycle required for the production line equipment type to implement each work cycle according to the operation document; According to the operation cycle, a preset monitoring duration corresponding to the historical device time series data is determined; wherein the operation cycle is positively correlated with the preset monitoring duration, and the preset monitoring duration is shorter than the operation cycle.

6. A production line equipment data synchronization method according to claim 1, characterized in that: After determining the real-time device status corresponding to the production line device according to the field value corresponding to the device status field, the method further includes: When the real-time device status is the alarm status, determine the production line device type corresponding to the production line device that is currently alarming, and determine the alarm priority corresponding to the production line device according to the production line device type; wherein the alarm priority is related to whether the production line device type is a critical production line device; For the production line equipment that is currently giving an alarm, determine the workshop area to which the production line equipment belongs according to the location point corresponding to the production line equipment; The total number of equipment alarms in the workshop area and within the workshop are summarized respectively, and the interval alarm probability corresponding to the workshop area is calculated based on the total number of equipment alarms obtained after summarization, and the interval alarm probability is bound to the production line equipment in the corresponding workshop area, so that the alarm status and the interval alarm probability can be displayed on the production line monitoring page.

7. A production line equipment data synchronization method according to claim 1, characterized in that: After determining the real-time device status corresponding to the production line device according to the field value corresponding to the device status field, the method further includes: When the real-time device status is the operating status, the operating parameters corresponding to the production line equipment are obtained from the device structured data, and a corresponding management strategy is generated according to the operating parameters to display the management strategy in the production line monitoring page.

8. A production line equipment data synchronization device, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; Wherein, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a production line equipment data synchronization method as described in any one of claims 1-7.

9. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: A method for synchronizing production line equipment data as described in any one of claims 1 to 7.