CN113987000A - Data acquisition method, device, equipment and storage medium - Google Patents

Data acquisition method, device, equipment and storage medium Download PDF

Info

Publication number
CN113987000A
CN113987000A CN202111117072.0A CN202111117072A CN113987000A CN 113987000 A CN113987000 A CN 113987000A CN 202111117072 A CN202111117072 A CN 202111117072A CN 113987000 A CN113987000 A CN 113987000A
Authority
CN
China
Prior art keywords
data
collector
module
control module
collected
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
CN202111117072.0A
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.)
Zhongda Hainan Intelligent Technology Co ltd
Original Assignee
Zhongda Hainan Intelligent 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 Zhongda Hainan Intelligent Technology Co ltd filed Critical Zhongda Hainan Intelligent Technology Co ltd
Priority to CN202111117072.0A priority Critical patent/CN113987000A/en
Publication of CN113987000A publication Critical patent/CN113987000A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Fuzzy Systems (AREA)
  • Computing Systems (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

本申请公开了一种数据采集方法、装置、设备及存储介质,数据采集装置包括:多个采集器和控制模块、电源模块,多个采集器与通信模块之间进行通信连接,电压模块和通信模块与控制模块连接;其中,控制模块,用于向多个采集器中每一采集器发送对应的时钟信息;所述采集器,用于根据接收到的时钟信息进行数据采集,得到采集数据;电源模块,用于供电;控制模块,还用于根据时钟信息对多个采集器采集的采集数据进行同步处理,以提升数据采集的准确性和采集效率。

Figure 202111117072

The present application discloses a data acquisition method, device, equipment and storage medium. The data acquisition device includes: a plurality of collectors, a control module, a power supply module, a communication connection between the multiple collectors and a communication module, a voltage module and a communication module The module is connected with the control module; wherein, the control module is used for sending corresponding clock information to each of the multiple collectors; the collector is used for data collection according to the received clock information to obtain the collected data; The power supply module is used for power supply; the control module is also used for synchronous processing of the collected data collected by the multiple collectors according to the clock information, so as to improve the accuracy and efficiency of data collection.

Figure 202111117072

Description

数据采集方法、装置、设备及存储介质Data acquisition method, device, equipment and storage medium

技术领域technical field

本申请涉及检测技术领域,尤其涉及一种数据采集方法、装置、设备及存储介质。The present application relates to the field of detection technology, and in particular, to a data acquisition method, device, device and storage medium.

背景技术Background technique

在工程检测领域,针对被监测体的位移、沉降、大跨度形变等参数的监测大多数都采用拉线式位移传感器、导轮测距仪等常规接触式传感器,以及无线倾角仪、激光测距仪等非接触式传感器来进行数据采集。In the field of engineering inspection, most of the monitoring of parameters such as displacement, settlement, and large-span deformation of the monitored body use conventional contact sensors such as wire-pull displacement sensors and guide wheel rangefinders, as well as wireless inclinometers and laser rangefinders. and other non-contact sensors for data collection.

由于实际应用环境的复杂性,需要采用多个采集器共同进行数据采集,因此,如何提升多个采集器共同采集的效率的问题需要解决。Due to the complexity of the actual application environment, it is necessary to use multiple collectors to collect data together. Therefore, the problem of how to improve the efficiency of the multiple collectors to collect together needs to be solved.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种数据采集方法、装置、设备及存储介质。Embodiments of the present application provide a data collection method, apparatus, device, and storage medium.

第一方面,本申请提供一种数据采集装置,所述数据采集装置包括:多个采集器和控制模块、电源模块,所述多个采集器与所述通信模块之间进行通信连接,所述电压模块和所述通信模块与所述控制模块连接;其中,In a first aspect, the present application provides a data acquisition device, the data acquisition device includes: multiple collectors, a control module, and a power supply module, the multiple collectors and the communication module are communicatively connected, and the The voltage module and the communication module are connected with the control module; wherein,

所述控制模块,用于向多个采集器中每一采集器发送对应的时钟信息;The control module is configured to send corresponding clock information to each of the multiple collectors;

所述采集器,用于根据接收到的时钟信息进行数据采集,得到采集数据;The collector is used to collect data according to the received clock information to obtain collected data;

所述电源模块,用于供电;The power module is used for power supply;

所述控制模块,还用于根据所述时钟信息对所述多个采集器采集的采集数据进行同步处理。The control module is further configured to perform synchronous processing on the collected data collected by the multiple collectors according to the clock information.

第二方面,本申请提供一种数据采集方法,应用于数据采集装置;所述数据采集装置包括:多个采集器和控制模块,所述多个采集器与所述数据采集装置之间进行通信连接,所述数据采集方法包括以下步骤:In a second aspect, the present application provides a data acquisition method, which is applied to a data acquisition device; the data acquisition device includes: multiple collectors and a control module, and the multiple collectors communicate with the data acquisition device connection, the data acquisition method includes the following steps:

控制模块向多个采集器中每一采集器发送对应的时钟信息;The control module sends corresponding clock information to each of the multiple collectors;

通过所述多个采集器中每一采集器根据接收到的时钟信息进行数据采集,得到采集数据;The collected data is obtained by collecting data according to the received clock information by each collector in the multiple collectors;

所述控制模块根据所述时钟信息对所述多个采集器采集的采集数据进行同步处理。The control module performs synchronization processing on the collected data collected by the multiple collectors according to the clock information.

第三方面,本发明实施例提供数据采集设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如上述第二方面所提供的方法。In a third aspect, an embodiment of the present invention provides a data acquisition device, which is characterized by comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and are The configuration is performed by the processor, and the program includes means for performing the method provided by the second aspect above.

第四方面,本发明实施例提供一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如上述第二方面所提供的方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method provided in the second aspect.

第五方面,本发明实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第二方面所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present invention provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the Part or all of the steps described in the second aspect of the embodiment of the invention. The computer program product may be a software installation package.

可以看出,在本申请实施例中,数据采集装置包括:多个采集器和控制模块、电源模块,多个采集器与通信模块之间进行通信连接,电压模块和通信模块与控制模块连接;其中,控制模块,用于向多个采集器中每一采集器发送对应的时钟信息;所述采集器,用于根据接收到的时钟信息进行数据采集,得到采集数据;电源模块,用于供电;控制模块,还用于根据时钟信息对多个采集器采集的采集数据进行同步处理,以提升数据采集的准确性和采集效率。It can be seen that, in the embodiment of the present application, the data acquisition device includes: multiple collectors, a control module, and a power supply module, the multiple collectors and the communication module are communicatively connected, and the voltage module and the communication module are connected to the control module; The control module is used for sending corresponding clock information to each of the multiple collectors; the collector is used for data collection according to the received clock information to obtain the collected data; the power module is used for power supply ; The control module is also used to synchronously process the collected data collected by multiple collectors according to the clock information, so as to improve the accuracy and efficiency of data collection.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例提供的一种数据采集装置的装置示意图;1 is a schematic diagram of a data acquisition device provided by an embodiment of the present invention;

图2是本发明实施例提供的一种数据采集方法的流程示意图;2 is a schematic flowchart of a data collection method provided by an embodiment of the present invention;

图3是本发明实施例提供的一种数据采集设备的结构示意图。FIG. 3 is a schematic structural diagram of a data acquisition device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

下面对本发明实施例进行详细介绍。The embodiments of the present invention will be described in detail below.

请参阅图1,图1是本申请实施例公开的一种数据采集装置的装置示意图,其中,所述数据采集装置包括:多个采集器和控制模块、电源模块,所述多个采集器与所述通信模块之间进行通信连接,所述电压模块和所述通信模块与所述控制模块连接;其中,Please refer to FIG. 1. FIG. 1 is a schematic diagram of a data acquisition device disclosed in an embodiment of the present application, wherein the data acquisition device includes: a plurality of collectors, a control module, and a power supply module, and the multiple collectors are connected to Communication connection is performed between the communication modules, and the voltage module and the communication module are connected to the control module; wherein,

所述控制模块,用于向多个采集器中每一采集器发送对应的时钟信息;The control module is configured to send corresponding clock information to each of the multiple collectors;

所述采集器,用于根据接收到的时钟信息进行数据采集,得到采集数据;The collector is used to collect data according to the received clock information to obtain collected data;

所述电源模块,用于供电;The power module is used for power supply;

所述控制模块,还用于根据所述时钟信息对所述多个采集器采集的采集数据进行同步处理。The control module is further configured to perform synchronous processing on the collected data collected by the multiple collectors according to the clock information.

具体实施中,多个采集器可以设置在待检测对象的不同位置,多个采集器可与控制模块进行无线通信连接,首先,控制模块向多个采集器中每一采集器发送对应的时钟信息,采集器接收到该时钟信息后,根据接收到的时钟信息进行数据采集,各个采集器可将采集到的采集数据发送至控制模块,由控制模块根据时钟信息对多个采集器采集的采集数据进行同步处理,从而,可以控制多个采集器同时进行采集,并将同时采集到的采集数据用于分析待检测对象的位移、沉降、大跨度形变等信息。In a specific implementation, multiple collectors can be set at different positions of the object to be detected, and multiple collectors can be connected to the control module for wireless communication. First, the control module sends corresponding clock information to each collector among the multiple collectors , after the collector receives the clock information, it collects data according to the received clock information. Each collector can send the collected data to the control module, and the control module collects the collected data from multiple collectors according to the clock information. Synchronous processing is performed, so that multiple collectors can be controlled to collect at the same time, and the collected data collected at the same time can be used to analyze the displacement, settlement, large-span deformation and other information of the object to be detected.

可选地,所述采集器包括采集触发模块、滤波器、放大器和模数转换模块,其中,采集触发模块用于采集模拟信号,滤波器用于对模拟信号进行滤波,得到滤波后的信号;放大器用于将滤波后的信号进行放大,得到放大后的信号;模数转换模块用于将放大后的信号进行模数转换,得到数字信号。Optionally, the collector includes an acquisition trigger module, a filter, an amplifier, and an analog-to-digital conversion module, wherein the acquisition trigger module is used to acquire an analog signal, and the filter is used to filter the analog signal to obtain a filtered signal; the amplifier; It is used to amplify the filtered signal to obtain an amplified signal; the analog-to-digital conversion module is used to perform analog-to-digital conversion on the amplified signal to obtain a digital signal.

其中,采集器可以通过上述方式,实现对待检测对象的检测。Wherein, the collector can realize the detection of the object to be detected in the above-mentioned manner.

可选地,数据采集装置还包括:Optionally, the data collection device further includes:

通信模块,用于与电子设备进行连接,将采集数据发送至所述电子设备。The communication module is used for connecting with the electronic device and sending the collected data to the electronic device.

电子设备可以接收由数据采集装置发送的各个采集器的采集数据,进而对采集数据进行后续处理。The electronic device can receive the collected data of each collector sent by the data collection device, and then perform subsequent processing on the collected data.

可选地,所述采集数据携带对应采集器的标识信息;Optionally, the collection data carries the identification information of the corresponding collector;

所述控制模块,还用于判断各个采集器的采集数据是否异常,若是,根据采集数据携带的标识信息向所述电子设备上报与所述标识信息对应的采集器异常信息。The control module is further configured to judge whether the collected data of each collector is abnormal, and if so, report the abnormal information of the collector corresponding to the identification information to the electronic device according to the identification information carried in the collected data.

其中,为了监测各个采集器是否损坏或故障,控制模块可以判断各个采集器的采集数据是否异常,具体地,每个采集器可设置有唯一标识信息,从而,采集器可将携带标识信息的采集数据发送至控制模块,进而,控制模块可以根据在采集器的采集数据异常时,向电子设备上报采集器异常信息。Among them, in order to monitor whether each collector is damaged or faulty, the control module can determine whether the collected data of each collector is abnormal. Specifically, each collector can be provided with unique identification information, so that the collector can carry the identification information. The data is sent to the control module, and further, the control module can report the abnormality information of the collector to the electronic device according to the abnormality of the collected data of the collector.

可选地,所述控制模块,具体用于:Optionally, the control module is specifically used for:

将采集器的采集数据与第一预设阈值进行比较,若采集数据大于预设阈值,则确定采集器的采集数据异常;或者,Comparing the collected data of the collector with the first preset threshold, and if the collected data is greater than the preset threshold, it is determined that the collected data of the collector is abnormal; or,

判断采集器采集的连续多个采集数据是否存在突变,若是,则确定采集器的采集数据异常;其中,所述突变是指采集数据与相邻时段的采集数据平均值之间的差值绝对值大于第二预设阈值。Judging whether there is a sudden change in the continuous collection data collected by the collector, and if so, it is determined that the collected data of the collector is abnormal; wherein the sudden change refers to the absolute value of the difference between the collected data and the average value of the collected data in adjacent periods greater than the second preset threshold.

具体实施中,可以预先设置第一预设阈值或第二预设阈值中的至少一个,第一预设阈值大于第二预设阈值,控制模块可以在获取到采集器的采集数据后,将采集器的采集数据与第一预设阈值进行比较,若采集数据大于预设阈值,则确定采集器的采集数据异常。或者,还可以将一段时间内同一采集器的采集数据进行分析,若采集数据与相邻时段的采集数据平均值之间的差值绝对值大于第二预设阈值,则可确定采集器的采集数据异常。从而,可以准确判断采集器是否正常工作,并及时向用户上报采集器异常信息。In a specific implementation, at least one of the first preset threshold or the second preset threshold may be preset, and the first preset threshold is greater than the second preset threshold. The collected data of the collector is compared with the first preset threshold, and if the collected data is greater than the preset threshold, it is determined that the collected data of the collector is abnormal. Alternatively, the collected data of the same collector in a period of time can also be analyzed, and if the absolute value of the difference between the collected data and the average value of the collected data of the adjacent period is greater than the second preset threshold, the collection of the collector can be determined. Data exception. Therefore, it is possible to accurately judge whether the collector is working normally, and report the abnormal information of the collector to the user in time.

可以看出,在本申请实施例中,数据采集装置包括:多个采集器和控制模块、电源模块,多个采集器与通信模块之间进行通信连接,电压模块和通信模块与控制模块连接;其中,控制模块,用于向多个采集器中每一采集器发送对应的时钟信息;所述采集器,用于根据接收到的时钟信息进行数据采集,得到采集数据;电源模块,用于供电;控制模块,还用于根据时钟信息对多个采集器采集的采集数据进行同步处理,以提升数据采集的准确性和采集效率。It can be seen that, in the embodiment of the present application, the data acquisition device includes: multiple collectors, a control module, and a power supply module, the multiple collectors and the communication module are communicatively connected, and the voltage module and the communication module are connected to the control module; The control module is used for sending corresponding clock information to each of the multiple collectors; the collector is used for data collection according to the received clock information to obtain the collected data; the power module is used for power supply ; The control module is also used to synchronously process the collected data collected by multiple collectors according to the clock information, so as to improve the accuracy and efficiency of data collection.

请参阅图2,图2是本发明实施例公开的一种数据采集方法的流程示意图,数据采集方法应用于数据采集装置;所述数据采集装置包括:多个采集器和控制模块,所述多个采集器与所述数据采集装置之间进行通信连接,所述数据采集方法包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a data acquisition method disclosed in an embodiment of the present invention. The data acquisition method is applied to a data acquisition device; the data acquisition device includes: a plurality of collectors and a control module. A communication connection is performed between each collector and the data collection device, and the data collection method includes the following steps:

步骤201、控制模块向多个采集器中每一采集器发送对应的时钟信息;Step 201, the control module sends corresponding clock information to each of the multiple collectors;

步骤202、通过所述多个采集器中每一采集器根据接收到的时钟信息进行数据采集,得到采集数据;In step 202, each of the multiple collectors performs data collection according to the received clock information to obtain collected data;

步骤203、所述控制模块根据所述时钟信息对所述多个采集器采集的采集数据进行同步处理。Step 203: The control module performs synchronization processing on the collected data collected by the multiple collectors according to the clock information.

具体实施中,多个采集器可以设置在待检测对象的不同位置,多个采集器可与控制模块进行无线通信连接,首先,控制模块向多个采集器中每一采集器发送对应的时钟信息,采集器接收到该时钟信息后,根据接收到的时钟信息进行数据采集,各个采集器可将采集到的采集数据发送至控制模块,由控制模块根据时钟信息对多个采集器采集的采集数据进行同步处理,从而,可以控制多个采集器同时进行采集,并将同时采集到的采集数据用于分析待检测对象的位移、沉降、大跨度形变等信息。In a specific implementation, multiple collectors can be set at different positions of the object to be detected, and multiple collectors can be connected to the control module for wireless communication. First, the control module sends corresponding clock information to each collector among the multiple collectors , after the collector receives the clock information, it collects data according to the received clock information. Each collector can send the collected data to the control module, and the control module collects the collected data from multiple collectors according to the clock information. Synchronous processing is performed, so that multiple collectors can be controlled to collect at the same time, and the collected data collected at the same time can be used to analyze the displacement, settlement, large-span deformation and other information of the object to be detected.

可选地,所述采集数据携带对应采集器的标识信息;所述方法还包括:Optionally, the collected data carries the identification information of the corresponding collector; the method further includes:

判断各个采集器的采集数据是否异常,若是,根据采集数据携带的标识信息向所述电子设备上报与所述标识信息对应的采集器异常信息。It is judged whether the collected data of each collector is abnormal, and if so, the abnormal information of the collector corresponding to the identification information is reported to the electronic device according to the identification information carried in the collected data.

其中,为了监测各个采集器是否损坏或故障,控制模块可以判断各个采集器的采集数据是否异常,具体地,每个采集器可设置有唯一标识信息,从而,采集器可将携带标识信息的采集数据发送至控制模块,进而,控制模块可以根据在采集器的采集数据异常时,向电子设备上报采集器异常信息。Among them, in order to monitor whether each collector is damaged or faulty, the control module can determine whether the collected data of each collector is abnormal. Specifically, each collector can be provided with unique identification information, so that the collector can carry the identification information. The data is sent to the control module, and further, the control module can report the abnormality information of the collector to the electronic device according to the abnormality of the collected data of the collector.

可选地,所述判断各个采集器的采集数据是否异常,包括:Optionally, the judging whether the collected data of each collector is abnormal includes:

将采集器的采集数据与第一预设阈值进行比较,若采集数据大于预设阈值,则确定采集器的采集数据异常;或者,Comparing the collected data of the collector with the first preset threshold, and if the collected data is greater than the preset threshold, it is determined that the collected data of the collector is abnormal; or,

判断采集器采集的连续多个采集数据是否存在突变,若是,则确定采集器的采集数据异常;其中,所述突变是指采集数据与相邻时段的采集数据平均值之间的差值绝对值大于第二预设阈值。Judging whether there is a sudden change in the continuous collection data collected by the collector, and if so, it is determined that the collected data of the collector is abnormal; wherein the sudden change refers to the absolute value of the difference between the collected data and the average value of the collected data in adjacent periods greater than the second preset threshold.

具体实施中,可以预先设置第一预设阈值或第二预设阈值中的至少一个,第一预设阈值大于第二预设阈值,控制模块可以在获取到采集器的采集数据后,将采集器的采集数据与第一预设阈值进行比较,若采集数据大于预设阈值,则确定采集器的采集数据异常。或者,还可以将一段时间内同一采集器的采集数据进行分析,若采集数据与相邻时段的采集数据平均值之间的差值绝对值大于第二预设阈值,则可确定采集器的采集数据异常。从而,可以准确判断采集器是否正常工作,并及时向用户上报采集器异常信息。In a specific implementation, at least one of the first preset threshold or the second preset threshold may be preset, and the first preset threshold is greater than the second preset threshold. The collected data of the collector is compared with the first preset threshold, and if the collected data is greater than the preset threshold, it is determined that the collected data of the collector is abnormal. Alternatively, the collected data of the same collector in a period of time can also be analyzed, and if the absolute value of the difference between the collected data and the average value of the collected data of the adjacent period is greater than the second preset threshold, the collection of the collector can be determined. Data exception. Therefore, it is possible to accurately judge whether the collector is working normally, and report the abnormal information of the collector to the user in time.

可以看出,在本申请实施例中,数据采集装置包括:多个采集器和控制模块、电源模块,多个采集器与通信模块之间进行通信连接,电压模块和通信模块与控制模块连接;其中,控制模块,用于向多个采集器中每一采集器发送对应的时钟信息;所述采集器,用于根据接收到的时钟信息进行数据采集,得到采集数据;电源模块,用于供电;控制模块,还用于根据时钟信息对多个采集器采集的采集数据进行同步处理,以提升数据采集的准确性和采集效率。It can be seen that, in the embodiment of the present application, the data acquisition device includes: multiple collectors, a control module, and a power supply module, the multiple collectors and the communication module are communicatively connected, and the voltage module and the communication module are connected to the control module; The control module is used for sending corresponding clock information to each of the multiple collectors; the collector is used for data collection according to the received clock information to obtain the collected data; the power module is used for power supply ; The control module is also used to synchronously process the collected data collected by multiple collectors according to the clock information, so as to improve the accuracy and efficiency of data collection.

请参阅图3,图3是本发明实施例公开的一种数据采集设备的结构示意图,所述数据采集设备300包括处理器310、存储器320和通信接口330,所述存储器用于存储一个或多个程序321,并且被配置由所述处理器执行,所述程序包括用于执行如下步骤:Please refer to FIG. 3. FIG. 3 is a schematic structural diagram of a data acquisition device disclosed in an embodiment of the present invention. The data acquisition device 300 includes a processor 310, a memory 320, and a communication interface 330. The memory is used to store one or more A program 321, and configured to be executed by the processor, includes steps for performing the following:

通过控制模块向多个采集器中每一采集器发送对应的时钟信息;Send corresponding clock information to each of the multiple collectors through the control module;

通过所述多个采集器中每一采集器根据接收到的时钟信息进行数据采集,得到采集数据;The collected data is obtained by collecting data according to the received clock information by each collector in the multiple collectors;

通过所述控制模块根据所述时钟信息对所述多个采集器采集的采集数据进行同步处理。The collected data collected by the multiple collectors is synchronously processed by the control module according to the clock information.

可选地,所述采集数据携带对应采集器的标识信息;所述方法还包括:Optionally, the collected data carries the identification information of the corresponding collector; the method further includes:

判断各个采集器的采集数据是否异常,若是,根据采集数据携带的标识信息向所述电子设备上报与所述标识信息对应的采集器异常信息。It is judged whether the collected data of each collector is abnormal, and if so, the abnormal information of the collector corresponding to the identification information is reported to the electronic device according to the identification information carried in the collected data.

可选地,所述判断各个采集器的采集数据是否异常,包括:Optionally, the judging whether the collected data of each collector is abnormal includes:

将采集器的采集数据与第一预设阈值进行比较,若采集数据大于预设阈值,则确定采集器的采集数据异常;或者,Comparing the collected data of the collector with the first preset threshold, and if the collected data is greater than the preset threshold, it is determined that the collected data of the collector is abnormal; or,

判断采集器采集的连续多个采集数据是否存在突变,若是,则确定采集器的采集数据异常;其中,所述突变是指采集数据与相邻时段的采集数据平均值之间的差值绝对值大于第二预设阈值。Judging whether there is a sudden change in the continuous collection data collected by the collector, and if so, it is determined that the collected data of the collector is abnormal; wherein the sudden change refers to the absolute value of the difference between the collected data and the average value of the collected data in adjacent periods greater than the second preset threshold.

可以看出,在本申请实施例中,数据采集装置包括:多个采集器和控制模块、电源模块,多个采集器与通信模块之间进行通信连接,电压模块和通信模块与控制模块连接;其中,控制模块,用于向多个采集器中每一采集器发送对应的时钟信息;所述采集器,用于根据接收到的时钟信息进行数据采集,得到采集数据;电源模块,用于供电;控制模块,还用于根据时钟信息对多个采集器采集的采集数据进行同步处理,以提升数据采集的准确性和采集效率。It can be seen that, in the embodiment of the present application, the data acquisition device includes: multiple collectors, a control module, and a power supply module, the multiple collectors and the communication module are communicatively connected, and the voltage module and the communication module are connected to the control module; The control module is used for sending corresponding clock information to each of the multiple collectors; the collector is used for data collection according to the received clock information to obtain the collected data; the power module is used for power supply ; The control module is also used to synchronously process the collected data collected by multiple collectors according to the clock information, so as to improve the accuracy and efficiency of data collection.

需要说明的是,本实施例的具体实现过程可参见上述方法实施例所述的具体实现过程,在此不再详述。It should be noted that, for the specific implementation process of this embodiment, reference may be made to the specific implementation process described in the foregoing method embodiments, which will not be described in detail here.

本发明实施例可以根据所述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present invention, the electronic device may be divided into functional units according to the method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that, the division of units in the embodiment of the present invention is schematic, and is only a logical function division, and there may be other division manners in actual implementation.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments , the above computer includes electronic equipment.

本发明实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。An embodiment of the present invention further provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the computer includes an electronic device.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

在本发明所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The above-mentioned units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on such understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods of various embodiments of the present invention. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:内部闪存盘、只读存储器(英文:Read-Only Memo ry,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RA M)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: internal flash memory Disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.

以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been introduced in detail above, and specific examples are used to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present invention; at the same time, for Persons of ordinary skill in the art, according to the idea of the present invention, will have changes in the specific embodiments and application scope. To sum up, the contents of this specification should not be construed as limiting the present invention.

Claims (10)

1. A data acquisition device, characterized in that the data acquisition device comprises: the system comprises a plurality of collectors, a control module and a power module, wherein the collectors are in communication connection with the communication module, and the voltage module and the communication module are connected with the control module; wherein,
the control module is used for sending corresponding clock information to each collector in the plurality of collectors;
the collector is used for collecting data according to the received clock information to obtain collected data;
the power supply module is used for supplying power;
and the control module is also used for synchronously processing the collected data collected by the plurality of collectors according to the clock information.
2. The device of claim 1, wherein the collector comprises an acquisition triggering module, a filter, an amplifier, and an analog-to-digital conversion module, wherein the acquisition triggering module is configured to acquire an analog signal, and the filter is configured to filter the analog signal to obtain a filtered signal; the amplifier is used for amplifying the filtered signal to obtain an amplified signal; the analog-to-digital conversion module is used for performing analog-to-digital conversion on the amplified signal to obtain a digital signal.
3. The apparatus of claim 2, wherein the data acquisition device further comprises:
and the communication module is used for being connected with the electronic equipment and sending the acquired data to the electronic equipment.
4. The device according to any one of claims 1-3, wherein the collected data carries identification information of a corresponding collector;
the control module is further configured to determine whether the collected data of each collector is abnormal, and if so, report collector abnormal information corresponding to the identification information to the electronic device according to the identification information carried by the collected data.
5. The device according to any one of claims 1 to 4, wherein the control module is specifically configured to:
comparing the acquired data of the collector with a first preset threshold, and if the acquired data is greater than the preset threshold, determining that the acquired data of the collector is abnormal; or,
judging whether continuous multiple collected data collected by a collector have mutation, if so, determining that the collected data of the collector are abnormal; wherein, the sudden change means that the absolute value of the difference between the acquired data and the average value of the acquired data in the adjacent time period is greater than a second preset threshold.
6. A data acquisition method is characterized by being applied to a data acquisition device; the data acquisition device includes: the data acquisition method comprises the following steps:
the control module sends corresponding clock information to each collector in the plurality of collectors;
acquiring data through each of the plurality of collectors according to the received clock information to obtain acquired data;
and the control module synchronously processes the acquired data acquired by the plurality of acquirers according to the clock information.
7. The method of claim 6, wherein the collected data carries identification information of a corresponding collector; the method further comprises the following steps:
and judging whether the acquired data of each acquisition device is abnormal or not, and if so, reporting acquisition device abnormal information corresponding to the identification information to the electronic equipment according to the identification information carried by the acquired data.
8. The method of claim 7, wherein the determining whether the collected data of each collector is abnormal comprises:
comparing the acquired data of the collector with a first preset threshold, and if the acquired data is greater than the preset threshold, determining that the acquired data of the collector is abnormal; or,
judging whether continuous multiple collected data collected by a collector have mutation, if so, determining that the collected data of the collector are abnormal; wherein, the sudden change means that the absolute value of the difference between the acquired data and the average value of the acquired data in the adjacent time period is greater than a second preset threshold.
9. A data acquisition device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps in the method of any of claims 6-8.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of the claims 6-8.
CN202111117072.0A 2021-09-23 2021-09-23 Data acquisition method, device, equipment and storage medium Pending CN113987000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111117072.0A CN113987000A (en) 2021-09-23 2021-09-23 Data acquisition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111117072.0A CN113987000A (en) 2021-09-23 2021-09-23 Data acquisition method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113987000A true CN113987000A (en) 2022-01-28

Family

ID=79736422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111117072.0A Pending CN113987000A (en) 2021-09-23 2021-09-23 Data acquisition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113987000A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115361321A (en) * 2022-08-17 2022-11-18 中国工商银行股份有限公司 Message alarm system, message alarm processing method, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040105341A1 (en) * 2002-10-04 2004-06-03 Geo-X Systems, Ltd. Synchronization of seismic data acquisition systems
CN101441197A (en) * 2008-12-15 2009-05-27 天津大学 Detection system and detection method of large-scale storage tank bottom corrosion
CN102183785A (en) * 2011-03-01 2011-09-14 吉林大学 Multi-redundant synchronous data acquiring device and method of non-cable seismograph
CN103939081A (en) * 2014-05-07 2014-07-23 中国石油大学(华东) Fast logging engineering parameter data collecting system and processing method thereof
CN112890823A (en) * 2021-01-22 2021-06-04 深圳市润谊泰益科技有限责任公司 Physiological data acquisition method, system and storage medium
CN113310169A (en) * 2021-06-04 2021-08-27 国网新疆电力有限公司信息通信公司 Distributed monitoring and linkage alarm device and method for air conditioner water leakage of communication machine room

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040105341A1 (en) * 2002-10-04 2004-06-03 Geo-X Systems, Ltd. Synchronization of seismic data acquisition systems
CN101441197A (en) * 2008-12-15 2009-05-27 天津大学 Detection system and detection method of large-scale storage tank bottom corrosion
CN102183785A (en) * 2011-03-01 2011-09-14 吉林大学 Multi-redundant synchronous data acquiring device and method of non-cable seismograph
CN103939081A (en) * 2014-05-07 2014-07-23 中国石油大学(华东) Fast logging engineering parameter data collecting system and processing method thereof
CN112890823A (en) * 2021-01-22 2021-06-04 深圳市润谊泰益科技有限责任公司 Physiological data acquisition method, system and storage medium
CN113310169A (en) * 2021-06-04 2021-08-27 国网新疆电力有限公司信息通信公司 Distributed monitoring and linkage alarm device and method for air conditioner water leakage of communication machine room

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
朱妙章: "心血管肾脏生理学实验技术方法及其进展", 31 January 2010, 西安:第四军医大学出版社, pages: 171 - 181 *
马文豪等: "SAS数据统计分析与编程实践", 31 January 2021, 中国铁道出版社有限公司, pages: 217 - 218 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115361321A (en) * 2022-08-17 2022-11-18 中国工商银行股份有限公司 Message alarm system, message alarm processing method, device and medium

Similar Documents

Publication Publication Date Title
CN110672950A (en) Power equipment fault sound image detection system and method
CN105450454A (en) Service monitoring and warning method and device
CN113987000A (en) Data acquisition method, device, equipment and storage medium
CN102056200A (en) Service processing flow monitoring method and system
CN118137682A (en) Active detection system and method for hardware faults of power distribution automation master station
CN105630158A (en) Sensor data processing method and apparatus, and terminal device
CN113568806A (en) SAS card link state monitoring method, system, device and readable storage medium
CN111062503B (en) A method, system, terminal and storage medium for power grid monitoring and alarm processing
CN114610553A (en) Intelligent equipment detection system and detection method thereof
CN115459434A (en) Intelligent electricity consumption monitoring method and system for industrial enterprise
CN107342917B (en) Method and apparatus for detecting network device performance
CN111901174B (en) Service state notification method, related device and storage medium
CN202915884U (en) Winding deformation tester
CN112395155A (en) Service monitoring method and device, storage medium and electronic device
CN114356942A (en) Data collection method and device for rail transit engine room
CN206149291U (en) A substation monitoring system
CN105158611B (en) A kind of information processing method and electronic equipment
CN104270622A (en) A switchgear detection method and system
CN114943270A (en) Method, device, terminal and storage medium for detecting abnormal distribution room
CN113468030A (en) Monitoring and alarming method and device of ABS (anti-lock braking system), storage medium and electronic equipment
CN113009415B (en) Dynamic power positioning method and dynamic power positioning system
CN105184198A (en) Detecting and protecting method and mobile terminal
CN114964373A (en) Data acquisition method, temperature and humidity recorder and storage medium
CN104954201A (en) Sampling method and sampling device for heath data of network and servers of IDC (Internet Data Center)
CN111414171A (en) Configuration method, device and equipment of storage optical fiber network and readable storage medium

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