CN116595416A - Multi-type data acquisition method, system, terminal and storage medium - Google Patents

Multi-type data acquisition method, system, terminal and storage medium Download PDF

Info

Publication number
CN116595416A
CN116595416A CN202310551238.2A CN202310551238A CN116595416A CN 116595416 A CN116595416 A CN 116595416A CN 202310551238 A CN202310551238 A CN 202310551238A CN 116595416 A CN116595416 A CN 116595416A
Authority
CN
China
Prior art keywords
data acquisition
parameter
data
setting
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310551238.2A
Other languages
Chinese (zh)
Inventor
张玉斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Dhms Information Technology Co ltd
Original Assignee
Suzhou Dhms Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Dhms Information Technology Co ltd filed Critical Suzhou Dhms Information Technology Co ltd
Priority to CN202310551238.2A priority Critical patent/CN116595416A/en
Publication of CN116595416A publication Critical patent/CN116595416A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The application relates to a multi-type data acquisition method, a system, a terminal and a storage medium, wherein the multi-type data acquisition method is suitable for a wired industrial sensor and comprises the following steps of: receiving a data acquisition model, completing parameter setting of a corresponding sensor module, generating a parameter setting completion mark corresponding to the current sensor module, and uploading the parameter setting completion mark to a back-end platform; and receiving a block data packet and a time sequence data packet, and transmitting the block data packet to a rear-end platform, wherein the block data packet is original data in a single data acquisition process, and the time sequence data packet comprises one or more time sequence data obtained after calculation processing of the original data and a corresponding sampling time stamp. The application can realize the high-efficiency integration of various industrial sensors, randomly adjust the data and signal types to be acquired, realize the acquisition of various analog signals by one data acquisition terminal, and fully utilize transmission interface resources while controlling the number of the data acquisition terminals.

Description

Multi-type data acquisition method, system, terminal and storage medium
Technical Field
The application relates to the field of industrial Internet and industrial intelligent application, in particular to a multi-type data acquisition method, a system, a terminal and a storage medium for a wired industrial sensor.
Background
Industrial data acquisition is the most practical, highest frequency requirement in industrial manufacturing, where a variety of industrial sensors are typically required to acquire a variety of different types of industrial data, such as vibration, temperature, current, pressure, flow, etc., at various stages of industrial manufacturing. Due to the complexity of industrial production environment and the cost of equipment arrangement, most of industrial sensors which are mainstream and widely applied at present are wired. The industrial sensor outputs through analog signals such as voltage, current and IEPE, and is connected to a data acquisition terminal by means of an aviation plug or other interfaces. After receiving the analog signals, the accessed data acquisition terminal converts the analog signals into digital signals through an ADC (analog to digital converter), and then uploads the digital signals to a back-end device or an industrial Internet cloud platform.
In an actual application scenario, because the types of data collected by different industrial sensors and the types of generated analog signals are different, the transmission interfaces and the ADC conversion circuits which are matched with the data are different, one data collection terminal can only be matched with one industrial sensor under normal conditions. If a plurality of industrial sensors are arranged in the monitored equipment or the production environment, a plurality of different data acquisition terminals are required to be configured, so that the equipment arrangement cost is obviously increased, and the resource waste is caused.
In order to cope with the above situation, some new data acquisition terminals are presented at present, and these data acquisition terminals can support to access different industrial sensors in a fixed combination mode, such as current+voltage, voltage+iepe, etc., but also because the difference between the transmission interface and the ADC conversion circuit and the interface cannot be used together, the data acquisition terminals often fix different types and numbers of transmission interfaces according to specific requirements of target monitoring equipment and industrial sensor types, so as to achieve the purpose that one data acquisition terminal acquires multiple types of industrial data. Although such a setting manner is feasible for a specific target monitoring device, once an application scene changes, problems such as mismatching between a transmission interface and an application requirement, influence on data acquisition due to insufficient number of the transmission interfaces, resource waste due to redundancy of the number of the transmission interfaces may occur. In addition, in order to realize the support to the multi-type data from the hardware level, the acquisition circuit and the ADC conversion circuit in the data acquisition terminal can become extremely complex, the occupied PCB area is also very large, and further the whole size of the data acquisition terminal is enlarged and cannot be miniaturized, and the subsequent installation and use are influenced.
In view of the above-mentioned drawbacks in the prior art, how to propose a new multi-type data acquisition scheme for a wired industrial sensor, so as to realize the acquisition of multiple analog signals by one data acquisition terminal, and the data and signal types can be freely defined, and the number of the data acquisition terminals is controlled while the transmission interface resources are fully utilized, which is also a problem to be solved by those skilled in the art.
Disclosure of Invention
In order to better meet the multi-type data acquisition requirements in the industrial Internet, the application provides a multi-type data acquisition method, a multi-type data acquisition system, a multi-type data acquisition terminal and a multi-type data storage medium. The scheme of the application can realize the efficient integration of various industrial sensors, randomly adjust the data and signal types to be acquired, realize the acquisition of various analog signals by one data acquisition terminal, and fully utilize transmission interface resources while controlling the number of the data acquisition terminals.
In a first aspect, the present application provides a method for collecting multiple types of data, which adopts the following technical solutions.
A multi-type data acquisition method is suitable for a wired industrial sensor, and comprises the following steps:
Receiving data acquisition models from each sensor module one by one, completing parameter setting of the corresponding sensor module according to the data acquisition models, generating a parameter setting completion identifier corresponding to the current sensor module after the parameter setting is completed, and uploading the parameter setting completion identifier to a back-end platform;
and receiving block data packets from each sensor module with the parameter setting completion identifier one by one and time sequence data packets, wherein the block data packets are original data obtained by ADC (analog-to-digital converter) conversion of physical quantity data from the industrial sensor received by the sensor module in a single data acquisition process, and the time sequence data packets comprise one or more time sequence data obtained by calculation processing of the original data and corresponding sampling time stamps, and forwarding the received block data packets and the received time sequence data packets to the back-end platform.
By adopting the technical scheme, the sensor module connected with the industrial sensor is connected with the rear-end platform, so that simultaneous adaptation of a plurality of sensor modules and various industrial sensors is realized, different sensor types can be combined at will according to use requirements, and the flexibility and compatibility of multi-type data acquisition are obviously improved.
Preferably, each sensor module corresponds to a unique data acquisition model, and the data acquisition model comprises a sensor type, an acquisition physical quantity, current software and hardware version information, current acquisition parameters, uploading parameters and a data type list.
By adopting the technical scheme, the specific content of the data acquisition model in the scheme is refined and limited, and an explicit execution target is provided for subsequent parameter setting and parameter adjustment.
Preferably, the parameter setting of the corresponding sensor module is completed according to the data acquisition model, and the method comprises the following steps:
and if the setting parameter information corresponding to the current data acquisition model exists, the searched setting parameter information is issued to the corresponding sensor module, the sensor module performs setting updating on the data acquisition model according to the setting parameter information, parameter setting on the sensor module is completed, if the setting parameter information does not exist, the current data acquisition model is stored locally, and when data interaction is performed with the back-end platform next time, the corresponding setting parameter information is searched in a setting parameter database of the back-end platform according to the locally stored data acquisition model, and the setting parameter information is downloaded to the local after the searching is successful.
By adopting the technical scheme, the parameter setting flow of the sensor module is refined and limited, the automation and real-time adjustment of the data acquisition parameters in the data acquisition process are realized, the flexibility and the compatibility in the data acquisition process are further ensured, and the convenience and the operation efficiency of the parameter setting flow are obviously improved.
Preferably, the multi-type data acquisition method further comprises the following steps:
receiving a parameter adjustment instruction from the back-end platform, generating parameter adjustment information according to the parameter adjustment instruction, comparing the parameter adjustment information with locally stored setting parameter information one by one, if the locally stored setting parameter information consistent with the current parameter adjustment information content is stored, generating a piece of non-execution information and uploading the non-execution information to the back-end platform, if the locally stored setting parameter information consistent with the current parameter adjustment information content is not stored, storing the parameter adjustment information to the local, determining a corresponding sensor module according to the parameter adjustment information, transmitting the parameter adjustment information to the corresponding sensor module, setting and updating the data acquisition model by the sensor module according to the parameter adjustment information, finishing parameter adjustment of the sensor module, generating an piece of executed information and uploading the executed information to the back-end platform.
By adopting the technical scheme, the parameter adjustment flow of the sensor module is refined and limited, so that the manual and targeted adjustment of the data acquisition parameters in the data acquisition process is realized, an operator can more rapidly adjust the data acquisition parameters according to actual application requirements, and the high efficiency and the practicability of multi-type data acquisition are ensured.
In a second aspect, the present application further provides another multi-type data acquisition method, which adopts the following technical scheme.
A method of multi-type data acquisition, adapted to a wired industrial sensor, comprising the steps of:
after the connected industrial sensor is started, uploading a data acquisition model to a core module, and when receiving setting parameter information from the core module, setting and updating the data acquisition model according to the setting parameter information to complete parameter setting;
according to the data acquisition model, physical quantity data from the industrial sensor is received, ADC conversion is carried out on the physical quantity data to obtain original data, the original data is packaged according to a format required by the core module to obtain a block data packet, calculation processing is carried out on the original data, one or more calculation processing results and a sampling time stamp are packaged together to obtain a time sequence data packet, and the block data packet and the time sequence data packet are uploaded to the core module and forwarded to a rear-end platform by the core module.
By adopting the technical scheme, the industrial sensor is connected with the core module, so that the core module and the industrial sensors of different types are respectively adapted, meanwhile, the specific processing and packaging processes of data in the data acquisition process are also clarified, and technical support is provided for meeting the requirements of multi-type data acquisition by the scheme.
Preferably, the multi-type data acquisition method further comprises the following steps:
and receiving parameter adjustment information from the core module, and performing setting update on the data acquisition model according to the parameter adjustment information to complete parameter adjustment.
In a third aspect, the present application provides a multi-type data acquisition system, which adopts the following technical scheme.
A multi-type data acquisition system adapted to a wired industrial sensor, comprising the following units:
the core starting unit is configured to receive the data acquisition models from each sensor module one by one, finish parameter setting of the corresponding sensor module according to the data acquisition models, generate a parameter setting finish identifier corresponding to the current sensor module after parameter setting is finished, and upload the parameter setting finish identifier to the back-end platform;
The core acquisition unit is configured to receive block data packets and time sequence data packets from each sensor module with the parameter setting completion identifier one by one, wherein the block data packets are raw data obtained by ADC (analog-to-digital converter) conversion of physical quantity data from the industrial sensor received by the sensor module in a single data acquisition process, and the time sequence data packets comprise one or more time sequence data obtained by calculation processing of the raw data and corresponding sampling time stamps, and the received block data packets and the received time sequence data packets are forwarded to the rear-end platform;
the core setting unit is configured to receive a parameter adjustment instruction from the back-end platform, generate parameter adjustment information according to the parameter adjustment instruction, compare the parameter adjustment information with locally stored setting parameter information one by one, generate a piece of non-execution information and upload the non-execution information to the back-end platform if the locally stored setting parameter information consistent with the current parameter adjustment information content, save the parameter adjustment information to the local if the locally stored setting parameter information consistent with the current parameter adjustment information content is not stored, determine a corresponding sensor module according to the parameter adjustment information, forward the parameter adjustment information to the corresponding sensor module, update the setting of the data acquisition model according to the parameter adjustment information by the sensor module, finish parameter adjustment of the sensor module, generate an piece of executed information and upload the executed information to the back-end platform.
By adopting the technical scheme, the multi-type data acquisition method realizes a hardware level, so that one data acquisition terminal can acquire various different types of data and signals, the number of the data acquisition terminals can be effectively controlled, transmission interface resources on the data acquisition terminals can be fully utilized, and the waste of hardware resources is avoided.
In a fourth aspect, the present application further provides another multi-type data acquisition system, which adopts the following technical scheme.
A multi-type data acquisition system adapted to a wired industrial sensor, comprising the following units:
the sensor starting unit is configured to upload the data acquisition model to the core module after the connected industrial sensor is started, and when receiving the setting parameter information from the core module, the sensor starting unit performs setting update on the data acquisition model according to the setting parameter information to complete parameter setting;
the sensor acquisition unit is configured to receive physical quantity data from the industrial sensor according to the data acquisition model, perform ADC conversion on the physical quantity data to obtain original data, package the original data according to a format required by the core module to obtain a block data packet, perform calculation processing on the original data, package one or more calculation processing results together with a sampling timestamp to obtain a time sequence data packet, upload the block data packet and the time sequence data packet to the core module, and forward the block data packet and the time sequence data packet to a rear-end platform by the core module;
The sensor setting unit is configured to receive parameter adjustment information from the core module, set and update the data acquisition model according to the parameter adjustment information, and complete parameter adjustment.
By adopting the technical scheme, the other multi-type data acquisition method is realized to the hardware level, and it can be seen that the ADC conversion and calculation processing flow is separated from the core module, so that the core module can be connected into a new industrial sensor for data acquisition without any conversion to complete the function expansion, which cannot be realized by the existing data acquisition terminal or system. In addition, the scheme simplifies the circuit and the structure in the core module, reduces the hardware size of the core module, and makes the miniaturization of the data acquisition terminal possible.
In a fifth aspect, the present application provides an intelligent terminal, which adopts the following technical scheme:
an intelligent terminal comprising a memory and a processor, wherein at least one instruction, at least one program, code set or instruction set is stored in the memory, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement any of the multi-type data acquisition methods as described above.
In a sixth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set loaded and executed by a processor to implement any of the multi-type data collection methods as described herein before.
In summary, the present application includes at least one of the following beneficial technical effects:
1. in the scheme of the application, the signal connection from the industrial sensor to the rear-end platform is realized by utilizing the cooperation of the sensor module and the core module, and the core module does not need to consider the type of the industrial sensor, so that various types of industrial sensors can be combined as required, the application scene is enriched, and meanwhile, one data acquisition terminal can acquire various different types of data and signals, and the waste of hardware resources is avoided to the greatest extent.
2. In the scheme of the application, the flow of ADC conversion and calculation processing is separated from the core module and transferred to the sensor module, so that the core module can be connected with a new industrial sensor for data acquisition and function expansion without any conversion, and the method is different from the existing data acquisition terminal or system. In addition, the arrangement also simplifies the circuit and the structure inside the core module, and makes miniaturization of the data acquisition terminal possible.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present application, and other drawings can be obtained by referring to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for multi-type data acquisition according to an embodiment of the present application;
FIG. 2 is a flow chart of another method for multi-type data collection according to an embodiment of the present application;
FIG. 3 is a schematic diagram of the architecture of a multi-type data acquisition system according to an embodiment of the present application;
FIG. 4 is a schematic diagram of the architecture of another multi-type data acquisition system according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a specific application scenario of an embodiment of the present application;
fig. 6 is a diagram of an interaction process based on the application scenario in fig. 5 according to an embodiment of the present application.
Detailed Description
The application provides a multi-type data acquisition method, a system, a terminal and a storage medium, which are used for better meeting the multi-type data acquisition requirement in the industrial Internet. In order to make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be further described below.
An embodiment of a front-end micro service page management method according to the present application is described in detail below with reference to the accompanying drawings.
First, a method for collecting multi-type data in an embodiment of the present application is adapted to a wired industrial sensor, and an execution body of the method is a core module, as shown in fig. 1, and the method includes the following steps:
s11, receiving the data acquisition models from each sensor module one by one, completing parameter setting of the corresponding sensor module according to the data acquisition models, generating a parameter setting completion identifier corresponding to the current sensor module after the parameter setting is completed, and uploading the parameter setting completion identifier to a back-end platform.
It should be noted that, in all embodiments of the present solution, each sensor module corresponds to a unique data acquisition model.
The data acquisition model comprises a plurality of data, at least the following items: sensor types such as vibration acceleration, temperature, pressure, etc.; physical quantities such as vibration acceleration, temperature, pressure, displacement, flow, rotation speed, current and the like are collected; current software and hardware version information; current acquisition parameters such as sampling rate, acquisition duration, acquisition interval and the like; uploading parameter and data type list, such as vibration acceleration peak value, vibration acceleration original data, vibration speed root mean square value, average pressure and pressure peak value.
In addition, the step of completing parameter setting of the corresponding sensor module according to the data acquisition model specifically includes the following operation flow:
s111, searching locally whether the setting parameter information corresponding to the current data acquisition model exists, executing corresponding operation according to the searching result, namely,
if the set parameter information exists, the searched set parameter information is issued to the corresponding sensor module, and the sensor module performs setting updating on the data acquisition model according to the set parameter information to complete parameter setting of the sensor module;
if the data acquisition model does not exist, the current data acquisition model is stored to the local, when the data interaction is carried out with the back-end platform next time, the corresponding setting parameter information is searched in a setting parameter database of the back-end platform according to the locally stored data acquisition model, the setting parameter information is downloaded to the local after the searching is successful, and when the same data acquisition model is received next time, the corresponding sensor module is set with parameters.
And S12, receiving the block data packets and the time sequence data packets from each sensor module with the parameter setting completion identification one by one, and forwarding the received block data packets and the received time sequence data packets to the back-end platform.
It should be noted that, in all embodiments of the present disclosure, each sensor module performs data collection and processing on the block data packet and the time-series data packet according to a sampling interval in the data collection model, and then uploads the data collection and processing result.
The block data packet is raw data obtained by ADC conversion of physical quantity data from the industrial sensor received by the sensor module in a single data acquisition process, for example, for a vibration acceleration sensor, the block data packet uploaded at one time contains vibration raw data; the time sequence data packet comprises one or more time sequence data obtained after calculation processing of the original data and a corresponding sampling time stamp, for example, for a vibration acceleration sensor, the time sequence data packet uploaded at one time can comprise characteristic parameters such as a vibration acceleration peak value, a vibration acceleration root mean square value, a vibration speed root mean square value and the like and the sampling time stamp.
In order to realize the automatic and real-time adjustment of the data acquisition parameters in the implementation process of the method, the multi-type data acquisition method further comprises the following steps:
s13, receiving parameter adjustment instructions from the back-end platform aiming at one or more specified industrial sensors, generating parameter adjustment information according to the parameter adjustment instructions, comparing the parameter adjustment information with locally stored setting parameter information one by one, and executing corresponding operations, namely,
If the set parameter information consistent with the current parameter adjustment information content is locally stored, generating a piece of non-execution information and uploading the non-execution information to the back-end platform;
if the set parameter information consistent with the current parameter adjustment information is not stored locally, the parameter adjustment information is stored locally, the corresponding sensor module is determined according to the parameter adjustment information, the parameter adjustment information is issued to the corresponding sensor module, the sensor module updates the data acquisition model according to the parameter adjustment information, parameter adjustment of the sensor module is completed, the next data acquisition process is conveniently performed according to the adjusted parameter, and then an executed piece of information is generated and uploaded to the back-end platform.
Next, another multi-type data collection method in the embodiment of the present application is adapted to a wired industrial sensor, where the execution body of the method is a sensor module, as shown in fig. 2, and the method includes the following steps:
s21, uploading the data acquisition model to a core module, and when receiving the setting parameter information from the core module, carrying out setting update on the data acquisition model according to the setting parameter information to complete parameter setting.
The timing of uploading the data acquisition model to the core module is after the industrial sensor connected to the sensor module is started. And after the industrial sensor is started each time, the connected sensor module automatically uploads a corresponding data acquisition model to indicate the data acquisition capacity and necessary parameter information supported by the core module and the industrial Internet cloud platform.
S22, according to the data acquisition model, receiving physical quantity data from the industrial sensor, performing ADC conversion on the physical quantity data to obtain original data, packaging the original data according to a format required by the core module to obtain a block data packet, performing calculation processing on the original data, packaging one or more calculation processing results together with a sampling time stamp to obtain a time sequence data packet, uploading the block data packet and the time sequence data packet to the core module, and forwarding the block data packet and the time sequence data packet to a rear-end platform by the core module.
Similarly, in order to realize the automatic and real-time adjustment of the data acquisition parameters in the implementation process of the method, the other multi-type data acquisition method further comprises the following steps:
S23, receiving parameter adjustment information from the core module, and performing setting update on the data acquisition model according to the parameter adjustment information to complete parameter adjustment.
Based on the two multi-type data acquisition methods, the application also discloses two multi-type data acquisition systems, and the embodiments of the two multi-type data acquisition systems are described in further detail below.
A multi-type data acquisition system is suitable for a wired industrial sensor corresponding to the multi-type data acquisition method, and comprises a core module which can be arranged in a traditional data acquisition terminal in the form of a functional module and can be used as the data acquisition terminal on the premise of guaranteeing basic data processing and data interaction capability.
As shown in fig. 3, the core module includes the following units:
the core starting unit is configured to receive the data acquisition models from each sensor module one by one, finish parameter setting of the corresponding sensor module according to the data acquisition models, generate a parameter setting finish identifier corresponding to the current sensor module after parameter setting is finished, and upload the parameter setting finish identifier to the back-end platform;
The core acquisition unit is configured to receive block data packets and time sequence data packets from each sensor module with the parameter setting completion identifier one by one, wherein the block data packets are raw data obtained by ADC (analog-to-digital converter) conversion of physical quantity data from the industrial sensor received by the sensor module in a single data acquisition process, and the time sequence data packets comprise one or more time sequence data obtained by calculation processing of the raw data and corresponding sampling time stamps, and the received block data packets and the received time sequence data packets are forwarded to the rear-end platform;
the core setting unit is configured to receive a parameter adjustment instruction from the back-end platform, generate parameter adjustment information according to the parameter adjustment instruction, compare the parameter adjustment information with locally stored setting parameter information one by one, generate a piece of non-execution information and upload the non-execution information to the back-end platform if the locally stored setting parameter information consistent with the current parameter adjustment information content, save the parameter adjustment information to the local if the locally stored setting parameter information consistent with the current parameter adjustment information content is not stored, determine a corresponding sensor module according to the parameter adjustment information, forward the parameter adjustment information to the corresponding sensor module, update the setting of the data acquisition model according to the parameter adjustment information by the sensor module, finish parameter adjustment of the sensor module, generate an piece of executed information and upload the executed information to the back-end platform.
Another multi-type data acquisition system, corresponding to the other multi-type data acquisition method, is adapted to a wired industrial sensor, and comprises a plurality of sensor modules, wherein each sensor module is connected with one industrial sensor.
As shown in fig. 4, the sensor module includes the following units:
the sensor starting unit is configured to upload the data acquisition model to the core module after the connected industrial sensor is started, and when receiving the setting parameter information from the core module, the sensor starting unit performs setting update on the data acquisition model according to the setting parameter information to complete parameter setting;
the sensor acquisition unit is configured to receive physical quantity data from the industrial sensor according to the data acquisition model, perform ADC conversion on the physical quantity data to obtain original data, package the original data according to a format required by the core module to obtain a block data packet, perform calculation processing on the original data, package one or more calculation processing results together with a sampling timestamp to obtain a time sequence data packet, upload the block data packet and the time sequence data packet to the core module, and forward the block data packet and the time sequence data packet to a rear-end platform by the core module;
The sensor setting unit is configured to receive parameter adjustment information from the core module, set and update the data acquisition model according to the parameter adjustment information, and complete parameter adjustment.
As can be seen from the above description of the two multi-type data acquisition methods and the two multi-type data acquisition systems, the overall logic of the multi-type data acquisition method has the characteristics of integrity and interactivity, and the differences between different multi-type data acquisition methods and different multi-type data acquisition systems are brought by the action execution bodies with different schemes.
In order to better explain the above technical solution, a specific and comprehensive application scenario is combined herein, as shown in fig. 5, in which the core module explicitly provides a downlink interface and an uplink interface in addition to the foregoing functional units.
The downlink interface comprises a USB interface and is mainly used for being connected with the sensor module. And a plurality of (e.g. 8, 16, 24, 32, etc.) USB interfaces are arranged on one core module, so that a plurality of industrial sensors with different signal types can be simultaneously accessed, and the signal types and the number of the industrial sensors can be combined at will. In order to further enrich the application scenario, the downlink interface further comprises an RS485 interface, and one or more digital sensor signals, such as sensor signals of a third party or PLC signals, can be accessed through the RS485 interface.
The uplink interface comprises an Ethernet interface, a WiFi interface and a 4G/5G interface, and is mainly responsible for realizing data interaction between the core module and the back-end platform, wherein the back-end platform can be a local area network system or an industrial Internet cloud platform.
In this application scenario, the sensor module is also provided with the USB interface, in addition to the aforementioned functional units, which is mainly used for connection with the core module. Because the interfaces of the industrial sensors with different signal types are different from the ADC circuits which are matched with the interfaces, the industrial sensors with different signal types need different sensor modules to be accessed, but all the sensor modules are completely the same as the interfaces of the core modules, so that the sensor modules can be combined arbitrarily to be accessed to the core modules. And the sensor module is connected with the industrial sensor by adopting an aviation plug.
It should be noted that, besides the USB interface, the core module and the sensor module may be connected by other signal connection methods, where the USB interface scheme is selected to take into consideration that the data transmission bandwidth of the interface is sufficient to meet all current industrial data acquisition requirements under the current conditions.
The following describes the multi-type data collection process in the application scenario in detail with reference to fig. 6, and the process can be roughly divided into a device preparation phase, a data collection phase and a parameter setting phase.
In the equipment preparation phase, the flow is as follows:
1.1, determining the required core modules and various sensor modules according to the types of industrial sensors in monitoring equipment or application scenes, wherein the number of the sensor modules is consistent with and corresponds to the number of the industrial sensors one by one, the number of the core modules is only related to the number of the industrial sensors, and the setting and signal connection of the sensor modules and the core modules are completed;
1.2, after the sensor module senses that the industrial sensor is started, uploading the corresponding data acquisition model to the core module;
1.3, the core module locally searches whether the setting parameter information corresponding to the current data acquisition model exists, if so, the searched setting parameter information is issued to the corresponding sensor module, and if not, the current data acquisition model is stored locally;
1.4, the sensor module which receives the setting parameter information carries out setting update on the data acquisition model according to the setting parameter information, and parameter setting of the sensor module is completed;
And 1.5, the core module generates a corresponding parameter setting completion identifier for the sensor module with each parameter setting completed, and uploads the parameter setting completion identifier to a back-end platform.
In the data acquisition phase, the flow is as follows:
2.1, the sensor module receives physical quantity data from the industrial sensor according to the data acquisition model, performs ADC conversion on the physical quantity data to obtain original data, encapsulates the original data according to a format required by the core module to obtain a block-shaped data packet, performs calculation processing on the original data, encapsulates one or more calculation processing results and a sampling time stamp together to obtain a time sequence data packet;
2.2, the sensor module uploads the block data packet and the time sequence data packet to the core module according to the requirement;
and 2.3, the core module forwards the block data packet and the time sequence data packet to a back-end platform.
In the parameter setting phase, the flow is as follows:
3.1, the back-end platform generates parameter adjustment instructions aiming at one or more specified industrial sensors according to the requirement, and issues the parameter adjustment instructions to the core module;
3.2, the core module compares the parameter adjustment information with the locally stored setting parameter information one by one, if the locally stored setting parameter information consistent with the current parameter adjustment information content is stored, a piece of non-execution information is generated and uploaded to the back-end platform, if the locally stored setting parameter information consistent with the current parameter adjustment information content is not stored, the parameter adjustment information is stored locally, and after the corresponding sensor module is determined, the parameter adjustment information is issued;
3.3, the sensor module performs setting update on the data acquisition model according to the parameter adjustment information to complete parameter adjustment of the sensor module;
and 3.4, the core module generates an executed message after the parameter adjustment is completed and uploads the executed message to the back-end platform.
Based on the same inventive concept, the embodiment of the application also discloses an intelligent terminal, which comprises a memory and a processor, wherein at least one instruction, at least one section of program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by the processor to realize any multi-type data acquisition method as described above.
It should be understood that references herein to "a plurality" are to two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Based on the same inventive concept, the embodiment of the application further discloses a computer readable storage medium, wherein at least one instruction, at least one section of program, code set or instruction set is stored in the readable storage medium, and the at least one instruction, the at least one section of program, the code set or the instruction set is loaded and executed by a processor to realize any multi-type data acquisition method as described in the foregoing.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the above mentioned storage medium includes, for example: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RandomAccessMemory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The foregoing description of the preferred embodiments of the present application is not intended to limit the application, but rather, the application is to be construed as limited to the appended claims.

Claims (10)

1. A method of multi-type data acquisition, adapted to a wired industrial sensor, comprising the steps of:
receiving data acquisition models from each sensor module one by one, completing parameter setting of the corresponding sensor module according to the data acquisition models, generating a parameter setting completion identifier corresponding to the current sensor module after the parameter setting is completed, and uploading the parameter setting completion identifier to a back-end platform;
and receiving block data packets from each sensor module with the parameter setting completion identifier one by one and time sequence data packets, wherein the block data packets are original data obtained by ADC (analog-to-digital converter) conversion of physical quantity data from the industrial sensor received by the sensor module in a single data acquisition process, and the time sequence data packets comprise one or more time sequence data obtained by calculation processing of the original data and corresponding sampling time stamps, and forwarding the received block data packets and the received time sequence data packets to the back-end platform.
2. The multi-type data collection method according to claim 1, wherein: each sensor module corresponds to a unique data acquisition model, and the data acquisition model comprises a sensor type, acquisition physical quantity, current software and hardware version information, current acquisition parameters, uploading parameters and a data type list.
3. The method for multi-type data acquisition according to claim 2, wherein the parameter setting of the corresponding sensor module is completed according to the data acquisition model, comprising the steps of:
searching locally whether the setting parameter information corresponding to the current data acquisition model exists,
if so, the searched setting parameter information is issued to the corresponding sensor module, the sensor module performs setting update on the data acquisition model according to the setting parameter information to complete parameter setting of the sensor module,
if the data is not available, the current data acquisition model is stored to the local, when the data interaction is carried out with the back-end platform next time, the corresponding setting parameter information is searched in a setting parameter database of the back-end platform according to the locally stored data acquisition model, and the setting parameter information is downloaded to the local after the searching is successful.
4. The multi-type data collection method of claim 2, further comprising the steps of:
receiving a parameter adjustment instruction from the back-end platform, generating parameter adjustment information according to the parameter adjustment instruction, comparing the parameter adjustment information with locally stored setting parameter information one by one,
if the setting parameter information consistent with the current parameter adjustment information content is locally stored, generating a piece of non-execution information and uploading the non-execution information to the back-end platform,
if the set parameter information consistent with the current parameter adjustment information is not stored locally, the parameter adjustment information is stored locally, the corresponding sensor module is determined according to the parameter adjustment information, the parameter adjustment information is issued to the corresponding sensor module, the sensor module performs setting update on the data acquisition model according to the parameter adjustment information, parameter adjustment on the sensor module is completed, and executed information is generated and uploaded to the back-end platform.
5. A method of multi-type data acquisition, adapted to a wired industrial sensor, comprising the steps of:
After the connected industrial sensor is started, uploading a data acquisition model to a core module, and when receiving setting parameter information from the core module, setting and updating the data acquisition model according to the setting parameter information to complete parameter setting;
according to the data acquisition model, physical quantity data from the industrial sensor is received, ADC conversion is carried out on the physical quantity data to obtain original data, the original data is packaged according to a format required by the core module to obtain a block data packet, calculation processing is carried out on the original data, one or more calculation processing results and a sampling time stamp are packaged together to obtain a time sequence data packet, and the block data packet and the time sequence data packet are uploaded to the core module and forwarded to a rear-end platform by the core module.
6. The method of claim 5, further comprising the steps of:
and receiving parameter adjustment information from the core module, and performing setting update on the data acquisition model according to the parameter adjustment information to complete parameter adjustment.
7. A multi-type data acquisition system adapted to a wired industrial sensor, comprising the following units:
the core starting unit is configured to receive the data acquisition models from each sensor module one by one, finish parameter setting of the corresponding sensor module according to the data acquisition models, generate a parameter setting finish identifier corresponding to the current sensor module after parameter setting is finished, and upload the parameter setting finish identifier to the back-end platform;
the core acquisition unit is configured to receive block data packets and time sequence data packets from each sensor module with the parameter setting completion identifier one by one, wherein the block data packets are raw data obtained by ADC (analog-to-digital converter) conversion of physical quantity data from the industrial sensor received by the sensor module in a single data acquisition process, and the time sequence data packets comprise one or more time sequence data obtained by calculation processing of the raw data and corresponding sampling time stamps, and the received block data packets and the received time sequence data packets are forwarded to the rear-end platform;
the core setting unit is configured to receive a parameter adjustment instruction from the back-end platform, generate parameter adjustment information according to the parameter adjustment instruction, compare the parameter adjustment information with locally stored setting parameter information one by one, generate a piece of non-execution information and upload the non-execution information to the back-end platform if the locally stored setting parameter information consistent with the current parameter adjustment information content, save the parameter adjustment information to the local if the locally stored setting parameter information consistent with the current parameter adjustment information content is not stored, determine a corresponding sensor module according to the parameter adjustment information, forward the parameter adjustment information to the corresponding sensor module, update the setting of the data acquisition model according to the parameter adjustment information by the sensor module, finish parameter adjustment of the sensor module, generate an piece of executed information and upload the executed information to the back-end platform.
8. A multi-type data acquisition system adapted to a wired industrial sensor, comprising the following units:
the sensor starting unit is configured to upload the data acquisition model to the core module after the connected industrial sensor is started, and when receiving the setting parameter information from the core module, the sensor starting unit performs setting update on the data acquisition model according to the setting parameter information to complete parameter setting;
the sensor acquisition unit is configured to receive physical quantity data from the industrial sensor according to the data acquisition model, perform ADC conversion on the physical quantity data to obtain original data, package the original data according to a format required by the core module to obtain a block data packet, perform calculation processing on the original data, package one or more calculation processing results together with a sampling timestamp to obtain a time sequence data packet, upload the block data packet and the time sequence data packet to the core module, and forward the block data packet and the time sequence data packet to a rear-end platform by the core module;
the sensor setting unit is configured to receive parameter adjustment information from the core module, set and update the data acquisition model according to the parameter adjustment information, and complete parameter adjustment.
9. An intelligent terminal comprising a memory and a processor, wherein the memory stores at least one instruction, at least one program, code set, or instruction set, which is loaded and executed by the processor to implement the multi-type data collection method according to any one of claims 1 to 4 or any one of claims 5 to 6.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set that is loaded and executed by a processor to implement the multi-type data collection method of any one of claims 1 to 4 or any one of claims 5 to 6.
CN202310551238.2A 2023-05-17 2023-05-17 Multi-type data acquisition method, system, terminal and storage medium Pending CN116595416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310551238.2A CN116595416A (en) 2023-05-17 2023-05-17 Multi-type data acquisition method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310551238.2A CN116595416A (en) 2023-05-17 2023-05-17 Multi-type data acquisition method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN116595416A true CN116595416A (en) 2023-08-15

Family

ID=87611021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310551238.2A Pending CN116595416A (en) 2023-05-17 2023-05-17 Multi-type data acquisition method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN116595416A (en)

Similar Documents

Publication Publication Date Title
CN111078488B (en) Data acquisition method, device, storage medium and system
CN111865736B (en) Equipment control method and device
CN112804124B (en) Test bed and test method for time-sensitive network equipment
TWI770749B (en) Inspection method and device
CN112130980A (en) Operation execution method and device, storage medium and electronic device
CN114979216B (en) Server-side data acquisition configuration method and system
CN108200117B (en) Intelligent handheld terminal data synchronization system and method
CN111614357A (en) Ultra-multichannel embedded high-speed signal acquisition and processing system and method
CN114114981A (en) Big data processing method and system of vehicle-mounted domain controller
CN114328003B (en) Method for realizing data reverse order processing through CRC hardware module
CN116595416A (en) Multi-type data acquisition method, system, terminal and storage medium
CN208459843U (en) The batching data processing unit and monitoring system of manufactruing equipment of automobile
CN106502856A (en) A kind of information processing method and device
CN113133097B (en) Wireless communication method and system
CN113655740B (en) Method, device and system for data acquisition of transmission system and storage medium
CN103810768A (en) Method for acquiring vehicle state signals
KR101135786B1 (en) Method for test flight data processing on Web based
CN116193072A (en) Method and system for processing monitoring data, electronic equipment and storage medium
JP2017055203A (en) Information apparatus
CN111464596A (en) Data processing system, method, apparatus, computer device and storage medium
CN103369052A (en) High-efficiency internet-of-things mass data transmission system and method
JP3903802B2 (en) Processing system
CN116600028A (en) Data acquisition method and system
CN114844554A (en) Two-place communication method suitable for south pole astronomical security platform
CN116074937A (en) Intelligent field management method and management platform based on 5G network technology

Legal Events

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