Implementation method of industrial field multi-source concurrent data acquisition equipment

By building a multi-core master control platform in the industrial site and using a ring cache queue for parallel data acquisition, the shortcomings of traditional data acquisition technology in concurrency capabilities, response speed and data processing are solved, and efficient and accurate data acquisition and storage are achieved.

CN119493407APending Publication Date: 2025-02-21INSPUR YUNZHOU (SHANDONG) IND INTERNET CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411619865.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

Traditional data acquisition technology has limitations in industrial sites such as weak concurrency capabilities, slow response data, slow data storage and weak data processing, which cannot meet the needs of modern management.

Method used

By obtaining the acquisition service data of industrial field multi-source concurrent data acquisition equipment, using the preset multi-channel industrial fieldbus communication interface to connect the equipment and temporarily store the data, a multi-core master control platform is built for analysis, when the parallel acquisition efficiency is not lower than the preset efficiency When performing parallel collection, the data cache queue is used for data cache storage.

Benefits of technology

It effectively improves the concurrent acquisition capability of industrial site acquisition equipment, improves the efficiency and accuracy of data acquisition, and can meet the needs of modern management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493407A_ABST
    Figure CN119493407A_ABST
Patent Text Reader

Abstract

The invention provides an implementation method of an industrial field multi-source concurrent data acquisition device, and relates to the technical field of data acquisition, and the method comprises the steps: obtaining the acquisition business data of the industrial field multi-source concurrent data acquisition device, connecting industrial field multi-source concurrent data acquisition equipment according to a preset multi-channel industrial field bus communication interface, and temporarily storing and acquiring business data; constructing a multi-core master control platform, performing multi-core master control analysis on the acquired service data according to the connection between the internal looped network and the industrial field multi-source concurrent data acquisition equipment, and performing parallel acquisition on the acquired service data when the parallel acquisition efficiency of the acquired service data is not lower than the preset acquisition efficiency; data cache storage is carried out on the collection service data collected in parallel according to the annular cache queue, and the concurrent collection capability of the industrial field collection equipment is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data acquisition, and in particular to a method for realizing a multi-source concurrent data acquisition device at an industrial site. Background Art

[0002] Industrial field data collection is an important part of the information management of industrial enterprises. By real-time monitoring of the operating status, production data and resource status of equipment, enterprises can promptly discover and solve potential problems, reduce equipment downtime, and thus improve overall production efficiency. Traditional data collection has the limitations of weak concurrency, slow data response, slow data storage and weak data processing, and cannot meet the needs of modern management.

[0003] Therefore, the present invention provides a method for implementing a multi-source concurrent data acquisition device at an industrial site. Summary of the invention

[0004] The present invention provides an implementation method of a multi-source concurrent data acquisition device for an industrial field. The method obtains the collected business data of the multi-source concurrent data acquisition device for the industrial field, connects the multi-source concurrent data acquisition device for the industrial field according to a preset multi-channel industrial field bus communication interface and temporarily stores the collected business data; constructs a multi-core master control platform, connects the multi-source concurrent data acquisition device for the industrial field according to an internal ring network, performs multi-core master control analysis on the collected business data, and when the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency, collects the collected business data in parallel; performs data caching storage on the collected business data in parallel according to a ring cache queue, thereby effectively improving the concurrent collection capability of the industrial field collection equipment.

[0005] The present invention provides a method for realizing an industrial field multi-source concurrent data acquisition device, comprising:

[0006] Step 1: Acquire the collected business data of the multi-source concurrent data collection device at the industrial site, connect the multi-source concurrent data collection device at the industrial site according to the preset multi-channel industrial field bus communication interface and temporarily store the collected business data;

[0007] Step 2: Build a multi-core master control platform, connect the internal ring network with the multi-source concurrent data acquisition equipment on the industrial site, perform multi-core master control analysis on the collected business data, and collect the collected business data in parallel when the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency;

[0008] Step 3: The collected service data collected in parallel is cached and stored according to the circular cache queue.

[0009] According to an implementation method of an industrial field multi-source concurrent data acquisition device provided by the present invention, acquisition of collection business data of the industrial field multi-source concurrent data acquisition device includes:

[0010] Obtaining the multi-source concurrent data collection requirements of the industrial site and configuring the multi-source concurrent data collection equipment of the industrial site, wherein the multi-source concurrent data collection requirements of the industrial site include: data collection type requirements, data collection accuracy requirements and data collection source requirements;

[0011] The multi-source concurrent data acquisition equipment of the industrial site is divided into acquisition units according to the industrial site, and the acquisition business data of the multi-source concurrent data acquisition equipment of the industrial site is obtained according to the acquisition units.

[0012] According to a method for implementing an industrial field multi-source concurrent data acquisition device provided by the present invention, the industrial field multi-source concurrent data acquisition device is connected according to a preset multi-channel industrial field bus communication interface and the collected business data is temporarily stored, including:

[0013] Preset multiple industrial field bus communication interfaces, set acquisition protocols and field electrical signal processing circuits;

[0014] Constructing a collection center according to the collection units, connecting the multi-source concurrent data collection equipment on the industrial site to the collection center according to the preset multi-channel industrial field bus communication interface, and receiving the collection business data;

[0015] An independent master control is set up in the collection center to set the collection logic of the business data. When a collection abnormality occurs in one collection center, other collection centers can be kept running independently.

[0016] A cache component is provided in the collection center, and the collected business data is temporarily stored based on the power-off volatile memory in the cache component.

[0017] According to a method for implementing a multi-source concurrent data acquisition device in an industrial field provided by the present invention, a multi-core main control platform is constructed, and connected with the multi-source concurrent data acquisition device in the industrial field according to an internal ring network, including:

[0018] A multi-core main control platform is built according to the requirements of multi-source concurrent data collection in industrial sites. The multi-core main control platform includes: data processor, multi-core processor, large-capacity memory and storage array;

[0019] Connect the internal ring network with the multi-source concurrent data acquisition equipment on the industrial site to transmit the collected business data to the data processor;

[0020] Obtain the number of multi-source concurrent data acquisition devices on the industrial site, and determine the multi-core processor of the multi-core main control platform, wherein the multi-core processor includes: an independent working process and a virtual process;

[0021] When the data processor receives the collected service data, the multi-core processor is enabled, and the collected service data is transferred to a large-capacity memory at one time according to an independent working process in the multi-core processor, and at the same time, other cores of the multi-core processor are scheduled according to the independent working process;

[0022] The storage array is driven according to the virtual process in the multi-core processor, and the collected business data is secondary transferred to the high-speed storage array in the large-capacity memory.

[0023] According to a method for implementing an industrial field multi-source concurrent data acquisition device provided by the present invention, the method is connected with the industrial field multi-source concurrent data acquisition device according to an internal ring network, including:

[0024] Connect the collection center to the multi-core main control platform according to the high-speed communication network of the collection center, and record the corresponding high-speed communication network as the internal ring network;

[0025] According to the preset multi-channel industrial field bus communication interface, the industrial field multi-source concurrent data acquisition equipment is connected to the acquisition center, and the connection relationship between the multi-core master control platform and the industrial field multi-source concurrent data acquisition equipment is tested according to the preset test data. If the test data is consistent with the received data, the connection relationship is normal.

[0026] According to the present invention, a method for implementing an industrial field multi-source concurrent data acquisition device also includes:

[0027] The multi-core master control platform sends the configuration and collection information to the collection center according to the internal ring network. When the collection center is configured, the bus collection is started. Through point-to-point or point-to-multipoint methods, multi-source concurrent data collection devices on the industrial site are accessed in batches to realize single-channel field protocol serial collection.

[0028] According to an implementation method of an industrial field multi-source concurrent data acquisition device provided by the present invention, multi-core master control analysis is performed on the collected business data, and when the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency, the collected business data is collected in parallel, including:

[0029] According to the multi-source concurrent data collection requirements of the industrial site, the collection efficiency is preset. At the same time, the key index data of the collection business data and the collection evaluation index of the multi-core main control platform are set. The collection evaluation index includes: collection accuracy evaluation index, collection precision evaluation index and collection recall evaluation index;

[0030] Performing collection and evaluation on the collected business data according to the collection and evaluation indicators of the multi-core main control platform;

[0031] Mark the transmission path of collected business data from multi-source concurrent data collection equipment on industrial sites to the multi-core main control platform and determine the transmission nodes;

[0032] Monitor the parallel collection efficiency of collected business data in real time, and calculate the parallel collection efficiency of collected business data according to the number of multi-source concurrent data collection devices on the industrial site connected to the collection center, the transmission nodes, the collection time used by the transmission nodes, and the parallel collection loss;

[0033] Among them, P represents the parallel collection efficiency of collected business data; a1 represents the collection accuracy evaluation index of collected business data; a2 represents the collection precision evaluation index of collected business data; a3 represents the collection recall evaluation index of collected business data; xi1 represents the data volume of collected business data of the i1th industrial site multi-source concurrent data collection device connected to the collection center; t(i1,j1) represents the collection time used by the i1th industrial site multi-source concurrent data collection device at the j1th transmission node for the collected business data; It represents the parallel collection loss of the collected business data of the i1th industrial site multi-source concurrent data collection device at the j1th transmission node; Indicates the maximum time for a single row of output collection business data; n1 indicates the number of industrial field multi-source concurrent data collection devices connected to the collection center; m1 indicates the number of transmission nodes;

[0034] When the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency, the collected business data is collected in parallel.

[0035] According to an implementation method of an industrial field multi-source concurrent data acquisition device provided by the present invention, key acquisition indicator data of acquired business data is set and acquisition evaluation indicators of a multi-core main control platform are set, including:

[0036] Setting key indicator data for collecting business data and setting collection evaluation indicators for the multi-core main control platform, when the multi-core main control platform monitors the key indicator data for collection, it determines that the corresponding collected business data is effectively collected;

[0037] Otherwise, determining that the corresponding collected service data is a collection exception, locating and retransmitting the corresponding collected service data;

[0038] A current collection evaluation value of corresponding collected business data is obtained. When the current collection evaluation value exceeds the collection evaluation index range, the corresponding collected business data is determined to be a second-class collection anomaly, and the corresponding collected business data is located and retransmitted.

[0039] According to an implementation method of an industrial field multi-source concurrent data acquisition device provided by the present invention, data caching and storing the collected service data collected in parallel according to a circular cache queue includes:

[0040] A buffer is built into the data processor of the multi-core main control platform. When the buffer is full of a preset number of bytes of collected business data, a high-level interrupt is generated. A memory area is opened in the large-capacity memory based on the kernel for use as a circular buffer queue.

[0041] When the ring buffer queue is created, data movement is started in the data processor according to the preset bus reading method, and the data in the buffer is migrated to the large-capacity memory;

[0042] When the data migration is completed, the main core processor queries the working status of other processors through an independent working thread, and notifies the corresponding processor to fetch the temporary data from the base address of the memory pointer through an internal interrupt, and then waits for the next buffer interrupt. When the next buffer interrupt arrives, the data is cyclically stored in the address of the memory base address;

[0043] When the main core processor receives an interrupt, it confirms the current time point in the corresponding memory, creates a new file with the current timestamp as the mark, and writes the collected business data;

[0044] When the monitoring receives an interrupt from the main core processor, the data in the memory bar queue is cyclically stored in the file, so that the data collected in parallel is cached and stored according to the circular cache queue.

[0045] According to the present invention, a method for implementing an industrial field multi-source concurrent data acquisition device also includes:

[0046] When the main core processor is waiting for the buffer interrupt, the buffer data in the memory bar queue is sent to the host computer via Gigabit Ethernet;

[0047] When the acquisition is completed, the files stored in the high-speed memory are queried, deleted and downloaded through the host computer.

[0048] Compared with the prior art, the present invention has the following beneficial effects:

[0049] By acquiring the collected business data of the multi-source concurrent data acquisition equipment at the industrial site, connecting the multi-source concurrent data acquisition equipment at the industrial site according to the preset multi-channel industrial field bus communication interface and temporarily storing the collected business data; building a multi-core master control platform, connecting with the multi-source concurrent data acquisition equipment at the industrial site according to the internal ring network, performing multi-core master control analysis on the collected business data, and when the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency, the collected business data is collected in parallel; the collected business data collected in parallel is cached and stored according to the ring cache queue, which effectively improves the concurrent collection capability of the industrial site collection equipment.

[0050] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0051] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0053] Figure 1 It is a flowchart of a method for implementing an industrial field multi-source concurrent data acquisition device provided by an embodiment of the present invention;

[0054] Figure 2 This is a schematic diagram of the overall framework of an industrial field multi-source concurrent data acquisition device provided by an embodiment of the present invention;

[0055] Figure 3 It is a logical schematic diagram of a field device acquisition unit implemented by an industrial field multi-source concurrent data acquisition device provided by an embodiment of the present invention;

[0056] Figure 4 It is a logical schematic diagram of a multi-core main control center implementation of an industrial field multi-source concurrent data acquisition device provided by an embodiment of the present invention;

[0057] Figure 5 The present invention provides a logic diagram of a circular queue high-speed cache of an industrial field multi-source concurrent data acquisition device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0058] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0059] Embodiment 1:

[0060] The embodiment of the present invention provides a method for implementing a multi-source concurrent data acquisition device in an industrial field, such as Figure 1 As shown, including:

[0061] Step 1: Acquire the collected business data of the multi-source concurrent data collection device at the industrial site, connect the multi-source concurrent data collection device at the industrial site according to the preset multi-channel industrial field bus communication interface and temporarily store the collected business data;

[0062] Step 2: Build a multi-core master control platform, connect the internal ring network with the multi-source concurrent data acquisition equipment on the industrial site, perform multi-core master control analysis on the collected business data, and collect the collected business data in parallel when the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency;

[0063] Step 3: The collected service data collected in parallel is cached and stored according to the circular cache queue.

[0064] In this embodiment, the industrial site multi-source concurrent data acquisition device is used to acquire the industrial site multi-source concurrent data, and the number of devices is not unique.

[0065] In this embodiment, the collected business data of the industrial site multi-source concurrent data collection device refers to the data acquired by the collection device, that is, the acquired industrial site multi-source concurrent data.

[0066] In this embodiment, a preset multi-channel industrial field bus communication interface is used to connect the collection center with the industrial field multi-source concurrent data collection equipment, which can realize the connection of different types of industrial field multi-source concurrent data collection equipment.

[0067] In this embodiment, the collection center refers to a device constructed corresponding to the collection unit and used for integrating and collecting business data.

[0068] In this embodiment, the acquisition unit is determined by dividing the acquisition unit of the multi-source concurrent data acquisition equipment of the industrial site according to the industrial site.

[0069] In this embodiment, the multi-core master control platform includes: a data processor, a multi-core processor, a large-capacity memory and a storage array, which are used to perform multi-core master control analysis on the collected data in real time, and improve the parallel collection efficiency through multi-core collaboration.

[0070] In this embodiment, the internal ring network refers to a high-speed communication network inside the collection center that connects the collection center and the multi-core main control platform.

[0071] In this embodiment, a multi-core master control analysis is performed on the collected business data, that is, the multi-core master control platform performs independent working process and virtual process analysis on the collected business data according to the multi-core processor, which is used for high-speed storage of subsequent collected business data.

[0072] In this embodiment, the parallel collection efficiency of collecting business data is determined according to the maximum value of the single-line collection efficiency, that is, the parallel collection efficiency of collecting business data is determined by selecting the maximum single-line collection time.

[0073] In this embodiment, the circular cache queue refers to a memory area opened by the kernel in a large-capacity memory, which is used to implement data cache storage of collected business data.

[0074] In this embodiment, if Figure 2 As shown, the field equipment (industrial field multi-source concurrent data acquisition equipment) is connected to the acquisition unit through the field bus (preset multi-channel industrial field bus communication interface); the acquisition unit builds a collection center; the acquisition unit is connected to the multi-core main control unit (multi-core main control center) through the internal ring network; the high-speed storage unit is connected to the multi-core main control unit through the high-speed bus to realize high-speed storage of data.

[0075] In this embodiment, if Figure 2 As shown, the wireless communication interface and the network communication interface are used to implement data transmission communication.

[0076] The working principle and beneficial effects of the above technical solution are: obtaining the collected business data of the multi-source concurrent data acquisition equipment of the industrial site, connecting the multi-source concurrent data acquisition equipment of the industrial site according to the preset multi-channel industrial field bus communication interface and temporarily storing the collected business data; building a multi-core master control platform, connecting with the multi-source concurrent data acquisition equipment of the industrial site according to the internal ring network, performing multi-core master control analysis on the collected business data, and when the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency, the collected business data is collected in parallel; the collected business data collected in parallel is cached and stored according to the ring cache queue, which effectively improves the concurrent collection capability of the industrial site collection equipment.

[0077] Embodiment 2:

[0078] The embodiment of the present invention provides a method for implementing a multi-source concurrent data acquisition device at an industrial site, which obtains the collected business data of the multi-source concurrent data acquisition device at the industrial site, including:

[0079] Obtaining the multi-source concurrent data collection requirements of the industrial site and configuring the multi-source concurrent data collection equipment of the industrial site, wherein the multi-source concurrent data collection requirements of the industrial site include: data collection type requirements, data collection accuracy requirements and data collection source requirements;

[0080] The multi-source concurrent data acquisition equipment of the industrial site is divided into acquisition units according to the industrial site, and the acquisition business data of the multi-source concurrent data acquisition equipment of the industrial site is obtained according to the acquisition units.

[0081] In this embodiment, the industrial site multi-source concurrent data collection requirements, for example, the need to collect a1 type data and the required collection accuracy b1, that is, the collection accuracy of a1 type data must not be lower than b1.

[0082] In this embodiment, the multi-source concurrent data acquisition device of the industrial site is divided into acquisition units according to the industrial site. For example, the multi-source concurrent data acquisition device of the industrial site is divided into acquisition units c1 and c2 according to the industrial site, wherein the acquisition unit c1 includes the multi-source concurrent data acquisition devices d1 and d2.

[0083] In this embodiment, the collection units are independent working units, that is, the data collection between the collection units does not affect each other. For example, when the collection unit c1 collects abnormal data, the collection unit c2 keeps collecting data normally and is not affected by the collection unit c1.

[0084] The working principle and beneficial effects of the above technical solution are: by acquiring the collected business data of multi-source concurrent data acquisition equipment at the industrial site, a data foundation is laid for the follow-up; dividing the acquisition units is conducive to the parallel collection of collected business data.

[0085] Embodiment 3:

[0086] The embodiment of the present invention provides a method for implementing an industrial field multi-source concurrent data acquisition device, which connects the industrial field multi-source concurrent data acquisition device according to a preset multi-channel industrial field bus communication interface and temporarily stores the collected business data, including:

[0087] Preset multiple industrial field bus communication interfaces, set acquisition protocols and field electrical signal processing circuits;

[0088] Constructing a collection center according to the collection units, connecting the multi-source concurrent data collection equipment on the industrial site to the collection center according to the preset multi-channel industrial field bus communication interface, and receiving the collection business data;

[0089] An independent master control is set up in the collection center to set the collection logic of the business data. When a collection abnormality occurs in one collection center, other collection centers can be kept running independently.

[0090] A cache component is provided in the collection center, and the collected business data is temporarily stored based on the power-off volatile memory in the cache component.

[0091] In this embodiment, a multi-channel industrial field bus communication interface is preset to connect the collection center with the industrial field multi-source concurrent data collection equipment, including: a communication bus, a collection protocol and a field electrical signal processing circuit.

[0092] In this embodiment, a collection protocol and an on-site electrical signal processing circuit are set to set business logic to collect various data, adapt to various types of industrial on-site multi-source concurrent data collection equipment, and be applicable to various industrial on-site scenarios.

[0093] In this embodiment, a collection center is constructed according to the collection units, that is, the collection units correspond to the collection centers one by one, and are used to aggregate and process the collected business data. For example, the collection center b1 is constructed corresponding to the collection unit a1.

[0094] In this embodiment, an independent main control is provided in the collection center to enable the collection center to have independent operation capability.

[0095] In this embodiment, the power-off volatile memory in the cache component is used to implement temporary storage of large-capacity data.

[0096] In this embodiment, if Figure 3 As shown, on-site industrial equipment transmits collected business data to the communication interface chip through the on-site communication protocol; the communication interface chip realizes a two-way connection with the main control unit through the communication bus; the ring network interface is used to connect the collection unit with the multi-core central control unit through the internal ring network; RAM cache, that is, a high-speed storage unit.

[0097] In this embodiment, the communication interface chip is used to preset the field communication protocol and preset the multi-channel industrial field bus communication interface.

[0098] The working principle and beneficial effect of the above technical solution are: by presetting a multi-channel industrial field bus communication interface to connect multi-source concurrent data acquisition equipment on the industrial site and temporarily store the collected business data, it is conducive to the subsequent high-speed access to the collected business data.

[0099] Embodiment 4:

[0100] The embodiment of the present invention provides a method for implementing a multi-source concurrent data acquisition device at an industrial site, constructing a multi-core main control platform, and connecting the multi-source concurrent data acquisition device at the industrial site according to an internal ring network, including:

[0101] A multi-core main control platform is built according to the requirements of multi-source concurrent data collection in industrial sites. The multi-core main control platform includes: data processor, multi-core processor, large-capacity memory and storage array;

[0102] Connect the internal ring network with the multi-source concurrent data acquisition equipment on the industrial site to transmit the collected business data to the data processor;

[0103] Obtain the number of multi-source concurrent data acquisition devices on the industrial site, and determine the multi-core processor of the multi-core main control platform, wherein the multi-core processor includes: an independent working process and a virtual process;

[0104] When the data processor receives the collected service data, the multi-core processor is enabled, and the collected service data is transferred to a large-capacity memory at one time according to an independent working process in the multi-core processor, and at the same time, other cores of the multi-core processor are scheduled according to the independent working process;

[0105] The storage array is driven according to the virtual process in the multi-core processor, and the collected business data is secondary transferred to the high-speed storage array in the large-capacity memory.

[0106] In this embodiment, a multi-core master control platform is constructed according to the requirements of multi-source concurrent data collection at industrial sites. For example, data identification and analysis type parameters of the multi-core master control platform are determined according to the data collection type requirements, and then the multi-core master control platform is constructed.

[0107] In this embodiment, the data processor is used to perform data preprocessing on the collected business data to ensure the consistency and accuracy of the collected business data. At the same time, it provides a data processing temporary storage area for the subsequent multi-core processor. For example, the collected business data a1 is temporarily stored in the data processor, and the multi-core master control analysis of the collected business data a1 is performed according to the multi-core processor.

[0108] In this embodiment, a small buffer area is provided in the data processor for temporarily storing the collected service data, and can receive multiple frames of collected service data.

[0109] In this embodiment, the multi-core processor is divided into independent working processes and virtual processes according to the number of cores.

[0110] In this embodiment, the collected business data is transferred once to a large-capacity memory according to an independent working process in a multi-core processor, wherein the one-time transfer refers to ordinary storage of the collected business data, that is, data storage is performed according to set parameters.

[0111] In this embodiment, the virtual process in the multi-core processor drives the storage array to transfer the collected business data to a high-speed storage array in a large-capacity memory for a second time, wherein the second transfer refers to the fast storage of the collected business data.

[0112] In this embodiment, if Figure 4As shown, the ring network data, that is, the collected business data, is transmitted to the data processing unit (data processor) through the internal ring network; the data processing unit transmits it to the multi-core processor through PCIE X4 (communication bus); DDR4 large-capacity memory is used to transfer the collected business data; the real-time clock is used to determine the time point; Gigabit Ethernet is used to ensure data transmission efficiency; NVME memory builds a storage array driven by a virtual process.

[0113] The working principle and beneficial effects of the above technical solution are: by building a multi-core master control platform and connecting it with multi-source concurrent data acquisition devices at the industrial site according to the internal ring network, it is beneficial to conduct multi-core master control analysis on the collected business data, thereby improving the parallel acquisition efficiency.

[0114] Embodiment 5:

[0115] The embodiment of the present invention provides a method for implementing an industrial field multi-source concurrent data acquisition device, which is connected with the industrial field multi-source concurrent data acquisition device according to an internal ring network, including:

[0116] Connect the collection center to the multi-core main control platform according to the high-speed communication network of the collection center, and record the corresponding high-speed communication network as the internal ring network;

[0117] According to the preset multi-channel industrial field bus communication interface, the industrial field multi-source concurrent data acquisition equipment is connected to the acquisition center, and the connection relationship between the multi-core master control platform and the industrial field multi-source concurrent data acquisition equipment is tested according to the preset test data. If the test data is consistent with the received data, the connection relationship is normal.

[0118] In this embodiment, the high-speed communication network of the collection center is used to quickly transmit the collection business data.

[0119] In this embodiment, a connection test is performed on the connection relationship between the multi-core main control platform and the multi-source concurrent data acquisition equipment on the industrial site according to preset test data to ensure the transmission security of the collected business data during the actual transmission process.

[0120] The working principle and beneficial effect of the above technical solution are: by connecting the internal ring network with multi-source concurrent data acquisition equipment on the industrial site, data security during the transmission process and data transmission efficiency are ensured.

[0121] Embodiment 6:

[0122] An embodiment of the present invention provides a method for implementing an industrial site multi-source concurrent data acquisition device, further comprising:

[0123] The multi-core master control platform sends the configuration and collection information to the collection center according to the internal ring network. When the collection center is configured, the bus collection is started. Through point-to-point or point-to-multipoint methods, multi-source concurrent data collection devices on the industrial site are accessed in batches to realize single-channel field protocol serial collection.

[0124] In this embodiment, the multi-core main control platform sends configuration and collection information to the collection center according to the internal ring network, wherein the configuration and collection information, for example, collects class a1 data and related parameter configurations of the collection of class a1 data.

[0125] In this embodiment, after the configuration of the acquisition center is completed, bus acquisition is started, that is, the multi-core main control platform connects to the multi-source concurrent data acquisition devices in the industrial field through the preset multi-channel industrial field bus communication interface to perform parallel data acquisition.

[0126] In this embodiment, single-channel field protocol serial acquisition, that is, data parallel acquisition, simultaneously acquires data from multiple concurrent data acquisition devices at the industrial field.

[0127] The working principle and beneficial effects of the above technical solution are: by issuing configurations and collecting information, it is conducive to the efficient and accurate acquisition of collected business data; by batch access to multi-source concurrent data acquisition devices on industrial sites in a point-to-point or point-to-multipoint manner, parallel collection is effectively realized.

[0128] Embodiment 7:

[0129] The embodiment of the present invention provides a method for implementing a multi-source concurrent data acquisition device at an industrial site, performing multi-core master control analysis on the collected business data, and performing parallel collection of the collected business data when the parallel collection efficiency of the collected business data is not lower than a preset collection efficiency, including:

[0130] According to the multi-source concurrent data collection requirements of the industrial site, the collection efficiency is preset. At the same time, the key index data of the collection business data and the collection evaluation index of the multi-core main control platform are set. The collection evaluation index includes: collection accuracy evaluation index, collection precision evaluation index and collection recall evaluation index;

[0131] Performing collection and evaluation on the collected business data according to the collection and evaluation indicators of the multi-core main control platform;

[0132] Mark the transmission path of collected business data from multi-source concurrent data collection equipment on industrial sites to the multi-core main control platform and determine the transmission nodes;

[0133] Monitor the parallel collection efficiency of collected business data in real time, and calculate the parallel collection efficiency of collected business data according to the number of multi-source concurrent data collection devices on the industrial site connected to the collection center, the transmission nodes, the collection time used by the transmission nodes, and the parallel collection loss;

[0134] Among them, P represents the parallel collection efficiency of collected business data; a1 represents the collection accuracy evaluation index of collected business data; a2 represents the collection precision evaluation index of collected business data; a3 represents the collection recall evaluation index of collected business data; xi1 represents the data volume of collected business data of the i1th industrial site multi-source concurrent data collection device connected to the collection center; t(i1,j1) represents the collection time used by the i1th industrial site multi-source concurrent data collection device at the j1th transmission node for the collected business data; It represents the parallel collection loss of the collected business data of the i1th industrial site multi-source concurrent data collection device at the j1th transmission node; Indicates the maximum time for a single row of output collection business data; n1 indicates the number of industrial field multi-source concurrent data collection devices connected to the collection center; m1 indicates the number of transmission nodes;

[0135] When the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency, the collected business data is collected in parallel.

[0136] In this embodiment, the collection efficiency is preset according to the multi-source concurrent data collection requirements of the industrial site, for example, the collection efficiency is preset to be a1. When the actual parallel collection efficiency is not higher than the preset collection efficiency a1, the actual parallel collection needs to be optimized.

[0137] In this embodiment, the collection accuracy evaluation index is used, where the collection accuracy refers to the probability of effective data collection. For example, if the number of data is b1 and the number of effective collected data is b2, then the collection accuracy is b2 / b1.

[0138] In this embodiment, the collection accuracy evaluation index is used, wherein the collection accuracy refers to the probability of accurately collecting a type of data. For example, the number of c1 type data is b3, and the number of c1 type data accurately collected is b4, then the collection accuracy is b4 / b3.

[0139] In this embodiment, a collection recall rate evaluation index is used, wherein the collection recall rate is the proportion of collection data positioning retransmissions.

[0140] In this embodiment, the transmission path refers to the path of the marked collection business data from the multi-source concurrent data acquisition device of the industrial site to the multi-core main control platform, for example, the transmission path e1-e2-e4-e5, wherein the transmission nodes are the industrial site multi-source concurrent data acquisition device node e1, the intermediate transmission nodes e2, e4 and the multi-core main control platform transmission node e5.

[0141] In this embodiment, the parallel acquisition loss refers to the waiting time and program processing overhead time in the acquisition, which is determined according to the actual situation.

[0142] The working principle and beneficial effect of the above technical solution are: by performing multi-core master control analysis on the collected business data, when the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency, the collected business data is collected in parallel, which effectively improves the concurrent collection capability of the industrial field collection equipment.

[0143] Embodiment 8:

[0144] The embodiment of the present invention provides a method for implementing a multi-source concurrent data acquisition device at an industrial site, setting key acquisition indicator data of acquired business data and setting acquisition evaluation indicators of a multi-core main control platform, including:

[0145] Setting key indicator data for collecting business data and setting collection evaluation indicators for the multi-core main control platform, when the multi-core main control platform monitors the key indicator data for collection, it determines that the corresponding collected business data is effectively collected;

[0146] Otherwise, determining that the corresponding collected service data is a collection exception, locating and retransmitting the corresponding collected service data;

[0147] A current collection evaluation value of corresponding collected business data is obtained. When the current collection evaluation value exceeds the collection evaluation index range, the corresponding collected business data is determined to be a second-class collection anomaly, and the corresponding collected business data is located and retransmitted.

[0148] In this embodiment, key indicator data for collecting business data is set, for example, key indicator data a1 is collected. When the multi-core main control platform monitors the key indicator data a1, it determines that the corresponding business data is collected effectively and the corresponding industrial site multi-source concurrent data collection equipment is working normally.

[0149] In this embodiment, one type of acquisition anomaly refers to an acquisition anomaly caused by a device anomaly.

[0150] In this embodiment, obtaining the current collection evaluation value of the corresponding collection service data refers to a value determined by evaluating and quantifying the collection evaluation index of the set multi-core main control platform.

[0151] In this embodiment, when the current collection evaluation value exceeds the collection evaluation index range, it is determined that the corresponding collection business data has a second-class collection anomaly, that is, data collection anomaly, for example, collection accuracy anomaly.

[0152] The working principle and beneficial effect of the above technical solution are: by setting the key indicator data for collecting business data and setting the collection evaluation indicators of the multi-core main control platform, it is helpful to ensure the real-time collection of key indicator data and accurately perceive collection anomalies.

[0153] Embodiment 9:

[0154] The embodiment of the present invention provides a method for implementing a multi-source concurrent data acquisition device at an industrial site, which performs data caching and storage on the collected service data collected in parallel according to a circular cache queue, including:

[0155] A buffer is built into the data processor of the multi-core main control platform. When the buffer is full of a preset number of bytes of collected business data, a high-level interrupt is generated. A memory area is opened in the large-capacity memory based on the kernel for use as a circular buffer queue.

[0156] When the ring buffer queue is created, data movement is started in the data processor according to the preset bus reading method, and the data in the buffer is migrated to the large-capacity memory;

[0157] When the data migration is completed, the main core processor queries the working status of other processors through an independent working thread, and notifies the corresponding processor to fetch the temporary data from the base address of the memory pointer through an internal interrupt, and then waits for the next buffer interrupt. When the next buffer interrupt arrives, the data is cyclically stored in the address of the memory base address;

[0158] When the main core processor receives an interrupt, it confirms the current time point in the corresponding memory, creates a new file with the current timestamp as the mark, and writes the collected business data;

[0159] When the monitoring receives an interrupt from the main core processor, the data in the memory bar queue is cyclically stored in the file, so that the data collected in parallel is cached and stored according to the circular cache queue.

[0160] In this embodiment, the high-level interrupt is used by the kernel to allocate a memory area in the large-capacity memory.

[0161] In this embodiment, the ring cache queue refers to a memory area allocated by the kernel in the large-capacity memory.

[0162] In this embodiment, a bus reading mode is preset, for example, a point-to-point bus reading mode.

[0163] In this embodiment, data migration refers to migrating data in the buffer to a large-capacity memory to achieve high-speed data storage.

[0164] In this embodiment, the main core processor queries the working status of other processors through an independent working thread, and notifies the corresponding processor to fetch temporary data from the base address of the memory bar pointer through an internal interrupt, and then waits for the next cache interrupt. After the next cache interrupt arrives, the data is cyclically stored in the address of the memory base address. For example, when the main core processor a1 queries through an independent working thread that other processor b1 is in a normal standby working state, it notifies processor b1 to fetch temporary data from the base address of the memory bar pointer, and then waits for the next cache interrupt. After the next cache interrupt arrives, the data is cyclically stored in the address of the memory base address.

[0165] In this embodiment, other processor working states include, for example, a normal standby working state, a normal running working state, an abnormal standby working state, and an abnormal running working state.

[0166] In this embodiment, the memory base address is the memory bank pointer base address.

[0167] In this embodiment, an internal interrupt, that is, a high-level interrupt is generated after the buffer is fully stored with a preset number of bytes of collected service data.

[0168] In this embodiment, if Figure 4 , 5 As shown, when the buffer is full of the preset number of bytes of collected business data, a high-level interrupt is generated, which enables the core CPU0 to open a memory area in the DDR4 memory for use as a circular cache queue. After the core CPU0 queue is opened, data movement is started from the FPGA in the PCIE X4 bus reading mode to migrate the data in the FIFO buffer to the DDR memory.

[0169] The working principle and beneficial effect of the above technical solution are: by caching and storing the collected business data collected in parallel according to the circular cache queue, high-speed storage of the collected business data is effectively achieved.

[0170] Embodiment 10:

[0171] An embodiment of the present invention provides a method for implementing an industrial site multi-source concurrent data acquisition device, further comprising:

[0172] When the main core processor is waiting for the buffer interrupt, the buffer data in the memory bar queue is sent to the host computer via Gigabit Ethernet;

[0173] When the acquisition is completed, the files stored in the high-speed memory are queried, deleted and downloaded through the host computer.

[0174] In this embodiment, the memory bank queue is a circular buffer queue in the memory bank.

[0175] In this embodiment, the host computer refers to a device for users to query, delete and download stored files.

[0176] The working principle and beneficial effect of the above technical solution are: by sending the cached data in the memory bar queue to the host computer through Gigabit Ethernet, high-speed reading of collected business data is effectively achieved, which is beneficial for users to access and utilize cached data.

[0177] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for implementing a multi-source concurrent data acquisition device at an industrial site, characterized in that: include: Step 1: Acquire the collected business data of the multi-source concurrent data collection device at the industrial site, connect the multi-source concurrent data collection device at the industrial site according to the preset multi-channel industrial field bus communication interface and temporarily store the collected business data; Step 2: Build a multi-core master control platform, connect the internal ring network with the multi-source concurrent data acquisition equipment on the industrial site, perform multi-core master control analysis on the collected business data, and collect the collected business data in parallel when the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency; Step 3: The collected service data collected in parallel is cached and stored according to the circular cache queue.

2. The method for realizing a multi-source concurrent data acquisition device at an industrial site according to claim 1, characterized in that: Acquire the collected business data of multi-source concurrent data collection equipment at industrial sites, including: Obtaining the multi-source concurrent data collection requirements of the industrial site and configuring the multi-source concurrent data collection equipment of the industrial site, wherein the multi-source concurrent data collection requirements of the industrial site include: data collection type requirements, data collection accuracy requirements and data collection source requirements; The multi-source concurrent data acquisition equipment of the industrial site is divided into acquisition units according to the industrial site, and the acquisition business data of the multi-source concurrent data acquisition equipment of the industrial site is obtained according to the acquisition units.

3. The method for realizing a multi-source concurrent data acquisition device at an industrial site according to claim 2, characterized in that: According to the preset multi-channel industrial field bus communication interface, it connects to the multi-source concurrent data acquisition equipment in the industrial field and temporarily stores the collected business data, including: Preset multiple industrial field bus communication interfaces, set acquisition protocols and field electrical signal processing circuits; Constructing a collection center according to the collection units, connecting the multi-source concurrent data collection equipment on the industrial site to the collection center according to the preset multi-channel industrial field bus communication interface, and receiving the collection business data; An independent master control is set up in the collection center to set the collection logic of the business data. When a collection abnormality occurs in one collection center, other collection centers can be kept running independently. A cache component is provided in the collection center, and the collected business data is temporarily stored based on the power-off volatile memory in the cache component.

4. The method for realizing a multi-source concurrent data acquisition device at an industrial site according to claim 1, characterized in that: Build a multi-core master control platform and connect it with multi-source concurrent data acquisition devices on industrial sites based on the internal ring network, including: A multi-core main control platform is built according to the requirements of multi-source concurrent data collection in industrial sites. The multi-core main control platform includes: data processor, multi-core processor, large-capacity memory and storage array; Connect the internal ring network with the multi-source concurrent data acquisition equipment on the industrial site to transmit the collected business data to the data processor; Obtain the number of multi-source concurrent data acquisition devices on the industrial site, and determine the multi-core processor of the multi-core main control platform, wherein the multi-core processor includes: an independent working process and a virtual process; When the data processor receives the collected service data, the multi-core processor is enabled, and the collected service data is transferred to a large-capacity memory at one time according to an independent working process in the multi-core processor, and at the same time, other cores of the multi-core processor are scheduled according to the independent working process; The storage array is driven according to the virtual process in the multi-core processor, and the collected business data is secondary transferred to the high-speed storage array in the large-capacity memory.

5. The method for realizing a multi-source concurrent data acquisition device at an industrial site according to claim 4, characterized in that: Connect with multi-source concurrent data acquisition devices on industrial sites based on the internal ring network, including: Connect the collection center to the multi-core main control platform according to the high-speed communication network of the collection center, and record the corresponding high-speed communication network as the internal ring network; According to the preset multi-channel industrial field bus communication interface, the industrial field multi-source concurrent data acquisition equipment is connected to the acquisition center, and the connection relationship between the multi-core master control platform and the industrial field multi-source concurrent data acquisition equipment is tested according to the preset test data. If the test data is consistent with the received data, the connection relationship is normal.

6. The method for realizing a multi-source concurrent data acquisition device at an industrial site according to claim 5, characterized in that: Also includes: The multi-core master control platform sends the configuration and collection information to the collection center according to the internal ring network. When the collection center is configured, the bus collection is started. Through point-to-point or point-to-multipoint methods, multi-source concurrent data collection devices on the industrial site are accessed in batches to realize single-channel field protocol serial collection.

7. The method for realizing a multi-source concurrent data acquisition device at an industrial site according to claim 1, characterized in that: Perform multi-core master control analysis on the collected business data. When the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency, the collected business data is collected in parallel, including: According to the multi-source concurrent data collection requirements of the industrial site, the collection efficiency is preset. At the same time, the key index data of the collection business data and the collection evaluation index of the multi-core main control platform are set. The collection evaluation index includes: collection accuracy evaluation index, collection precision evaluation index and collection recall evaluation index; Performing collection and evaluation on the collected business data according to the collection and evaluation indicators of the multi-core main control platform; Mark the transmission path of collected business data from multi-source concurrent data collection equipment on industrial sites to the multi-core main control platform and determine the transmission nodes; Monitor the parallel collection efficiency of collected business data in real time, and calculate the parallel collection efficiency of collected business data according to the number of multi-source concurrent data collection devices on the industrial site connected to the collection center, the transmission nodes, the collection time used by the transmission nodes, and the parallel collection loss; Among them, P represents the parallel collection efficiency of collected business data; a1 represents the collection accuracy evaluation index of collected business data; a2 represents the collection precision evaluation index of collected business data; a3 represents the collection recall evaluation index of collected business data; xi1 represents the data volume of collected business data of the i1th industrial site multi-source concurrent data collection device connected to the collection center; t(i1,j1) represents the collection time used by the i1th industrial site multi-source concurrent data collection device at the j1th transmission node for the collected business data; It represents the parallel collection loss of the collected business data of the i1th industrial site multi-source concurrent data collection device at the j1th transmission node; Indicates the maximum time for a single row of output collection business data; n1 indicates the number of industrial field multi-source concurrent data collection devices connected to the collection center; m1 indicates the number of transmission nodes; When the parallel collection efficiency of the collected business data is not lower than the preset collection efficiency, the collected business data is collected in parallel.

8. The method for realizing a multi-source concurrent data acquisition device at an industrial site according to claim 7, characterized in that: Set key indicators for collecting business data and set collection evaluation indicators for the multi-core control platform, including: Setting key indicator data for collecting business data and setting collection evaluation indicators for the multi-core main control platform, when the multi-core main control platform monitors the key indicator data for collection, it determines that the corresponding collected business data is effectively collected; Otherwise, determining that the corresponding collected service data is a collection exception, locating and retransmitting the corresponding collected service data; A current collection evaluation value of corresponding collected business data is obtained. When the current collection evaluation value exceeds the collection evaluation index range, the corresponding collected business data is determined to be a second-class collection anomaly, and the corresponding collected business data is located and retransmitted.

9. The method for realizing a multi-source concurrent data acquisition device at an industrial site according to claim 1, characterized in that: The collected business data collected in parallel is cached and stored according to the circular cache queue, including: A buffer is built into the data processor of the multi-core main control platform. When the buffer is full of a preset number of bytes of collected business data, a high-level interrupt is generated. A memory area is opened in the large-capacity memory based on the kernel for use as a circular buffer queue. When the ring buffer queue is created, data movement is started in the data processor according to the preset bus reading method, and the data in the buffer is migrated to the large-capacity memory; When the data migration is completed, the main core processor queries the working status of other processors through an independent working thread, and notifies the corresponding processor to fetch the temporary data from the base address of the memory pointer through an internal interrupt, and then waits for the next buffer interrupt. When the next buffer interrupt arrives, the data is cyclically stored in the address of the memory base address; When the main core processor receives an interrupt, it confirms the current time point in the corresponding memory, creates a new file with the current timestamp as the mark, and writes the collected business data; When the monitoring receives an interrupt from the main core processor, the data in the memory bar queue is cyclically stored in the file, so that the data collected in parallel is cached and stored according to the circular cache queue.

10. The method for realizing the multi-source concurrent data acquisition device at an industrial site according to claim 9, characterized in that: Also includes: When the main core processor is waiting for the buffer interrupt, the buffer data in the memory bar queue is sent to the host computer via Gigabit Ethernet; When the acquisition is completed, the files stored in the high-speed memory are queried, deleted and downloaded through the host computer.