Data processing method and device, electronic equipment and storage medium

文档序号:190299 发布日期:2021-11-02 浏览:45次 中文

阅读说明:本技术 一种数据处理方法、装置、电子设备及存储介质 (Data processing method and device, electronic equipment and storage medium ) 是由 王鹏 徐安舒 邵流河 陈德彬 钟裕彪 于 2021-07-29 设计创作,主要内容包括:本发明涉及一种数据处理方法、装置、电子设备及存储介质,其中,所述方法包括:S1、搭建主设备和从设备,设置所述主设备和从设备数据收集任务;S2、连接监控装置和所述主设备,连接所述收集主设备和所述从设备,所述监控装置设有多个传感器;S3、获取所述主设备和从设备从多个传感器采集的数据;S4、将所述主设备和从设备采集的数据绘制成时序图,进行判断分析。对监控装置上被监控元件进行编号,采用主从设备选择不同的编号,收集数据,收集任务分工明确,可以有效采集数据;主从设备具有多网口特性,能有利于远程数据传播及多联网共享数据;采用I2C接口来扩展多传感器,对监控装置进行参数判断,可方便管理监控设备。(The invention relates to a data processing method, a data processing device, an electronic device and a storage medium, wherein the method comprises the following steps: s1, constructing a master device and a slave device, and setting data collection tasks of the master device and the slave device; s2, connecting a monitoring device and the master equipment, connecting the collection master equipment and the slave equipment, wherein the monitoring device is provided with a plurality of sensors; s3, acquiring data collected by the master equipment and the slave equipment from a plurality of sensors; and S4, drawing the data collected by the master equipment and the slave equipment into a time sequence diagram for judgment and analysis. Numbering monitored elements on the monitoring device, selecting different numbers by adopting master and slave equipment, collecting data, and effectively collecting data, wherein the task is divided into specific tasks; the master device and the slave device have the characteristic of multiple network ports, and can be favorable for remote data transmission and data sharing of multiple networks; the I2C interface is adopted to expand the multiple sensors, and the monitoring device is subjected to parameter judgment, so that the monitoring equipment can be managed conveniently.)

1. A data processing method, comprising:

s1, constructing a master device and a slave device, and setting data collection tasks of the master device and the slave device;

s2, connecting a monitoring device and the master equipment, connecting the collection master equipment and the slave equipment, wherein the monitoring device is provided with a plurality of sensors;

s3, acquiring data collected by the master equipment and the slave equipment from a plurality of sensors;

and S4, drawing the data collected by the master equipment and the slave equipment into a time sequence diagram for judgment and analysis.

2. The data processing method of claim 1, wherein the building a master device comprises:

the first CPU, the first north bridge chip and the first south bridge chip are electrically connected to form a main device.

3. The data processing method of claim 1, wherein building a slave device comprises:

and electrically connecting the second CPU, the second north bridge chip and the second south bridge chip to form the slave device.

4. The data processing method of claim 1, wherein the setting up the master and slave data collection tasks comprises:

numbering monitored elements on the monitoring device;

and the master equipment and the slave equipment select different numbers and collect data.

5. The data processing method of claim 2, wherein the building a master device comprises:

the first CPU comprises two CPUs which are interconnected through an internal HT channel; the first north bridge chip is provided with a first PICE interface, and the first PICE interface expands a plurality of three I210 network card ports, four I350 network card ports and VGA video interfaces; the south bridge chip is used for expanding I2C, SATA, ATA and GPIO interfaces, and the plurality of sensors are externally connected through an I2C interface.

6. The data processing method of claim 3, wherein the second CPU comprises a CPU, the second north bridge chip is provided with a second PICE interface, and the second PICE interface expands an I210 network card three-port, a wireless network card and a VGA video interface; the I2C, SATA, ATA and GPIO interfaces are extended through the second south bridge chip, and the plurality of sensors are externally connected through the I2C interface.

7. The data processing method according to claim 1, wherein the data collected by the master device and the slave device are plotted into a time sequence chart, and the performing judgment analysis comprises:

and forming a time sequence diagram by taking time as an abscissa and data collected by the master equipment and the slave equipment as an ordinate, and analyzing feedback of the sensor in different time periods.

8. A data processing apparatus, comprising:

a master device and a slave device for collecting data;

the monitoring device is connected with the main equipment, the main equipment is connected with the slave equipment, and the monitoring device is provided with a plurality of sensors;

the data acquisition module is used for acquiring data acquired by the master equipment and the slave equipment from a plurality of sensors;

and the data processing module is used for drawing the data acquired by the master equipment and the slave equipment into a time sequence diagram for judgment and analysis.

9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the data processing method according to any of claims 1 to 7 are implemented when the processor executes the program.

10. A storage medium storing a computer program, characterized in that the computer program realizes the steps of the data processing method according to any one of claims 1 to 7 when executed by a processor.

Technical Field

The present invention relates to the field of data analysis and processing technologies, and in particular, to a data processing method and apparatus, an electronic device, and a storage medium.

Background

In modern industrial, especially automated, processes, various sensors are used to monitor and control various parameters of the process, to operate the equipment in a normal or optimal state, and to maximize the quality of the product. Sensors have long penetrated extremely widespread fields such as industrial production, space development, marine exploration, environmental protection, resource investigation, medical diagnostics, biotechnology, and even cultural relic protection. It can be said that from vast amounts of space, to vast amounts of ocean, to complex engineering systems, almost every modernization project, is not open to a wide variety of sensors. The sensor is actually a functional block, and functions to convert various signals from the outside into electric signals. The signals detected by the sensors have recently increased dramatically, and thus the variety thereof is extremely wide.

In order to detect and control various signals, it is necessary to obtain signals that are as simple and easy to handle as possible, and such a requirement is satisfied only by electrical signals. The electrical signal can be easily amplified, fed back, filtered, differentiated, stored, remotely manipulated, etc. Thus, a sensor as a function block can be defined narrowly as: "a type of element that converts an external input signal into an electrical signal. "

In the prior art, a sensor is generally installed on a device to be monitored, and then data monitored by the sensor is acquired. Therefore, data are obtained from a plurality of sensors, the data processing amount is large, and the processing efficiency is low.

Disclosure of Invention

The technical problem to be solved by the present invention is to obtain data from a plurality of sensors in the prior art, which has a large data processing amount and a low processing efficiency, and in view of the above-mentioned defects in the prior art, the present invention provides a data processing method, including:

s1, constructing a master device and a slave device, and setting data collection tasks of the master device and the slave device;

s2, connecting a monitoring device and the master equipment, connecting the collection master equipment and the slave equipment, wherein the monitoring device is provided with a plurality of sensors;

s3, acquiring data collected by the master equipment and the slave equipment from a plurality of sensors;

and S4, drawing the data collected by the master equipment and the slave equipment into a time sequence diagram for judgment and analysis.

Preferably, the building master device comprises:

the first CPU, the first north bridge chip and the first south bridge chip are electrically connected to form a main device.

Preferably, the building slave device comprises:

and electrically connecting the second CPU, the second north bridge chip and the second south bridge chip to form the slave device.

Preferably, the setting of the master device and slave device data collection tasks includes:

numbering monitored elements on the monitoring device;

and the master equipment and the slave equipment select different numbers and collect data.

Preferably, the building master device comprises:

the first CPU comprises two CPUs which are interconnected through an internal HT channel; the first north bridge chip is provided with a first PICE interface, and the first PICE interface expands a plurality of three I210 network card ports, four I350 network card ports and VGA video interfaces; the south bridge chip is used for expanding I2C, SATA, ATA and GPIO interfaces, and the plurality of sensors are externally connected through an I2C interface.

Preferably, the second CPU comprises a CPU, the second north bridge chip is provided with a second PICE interface, and the second PICE interface expands an I210 network card three-port, a wireless network card and a VGA video interface; the I2C, SATA, ATA and GPIO interfaces are extended through the second south bridge chip, and the plurality of sensors are externally connected through the I2C interface.

Preferably, the drawing the data collected by the master device and the slave device into a time sequence diagram, and the determining and analyzing includes:

and forming a time sequence diagram by taking time as an abscissa and data collected by the master equipment and the slave equipment as an ordinate, and analyzing feedback of the sensor in different time periods.

Accordingly, in another aspect, there is provided a data processing apparatus comprising:

a master device and a slave device for collecting data;

the monitoring device is connected with the main equipment, the main equipment is connected with the slave equipment, and the monitoring device is provided with a plurality of sensors;

the data acquisition module is used for acquiring data acquired by the master equipment and the slave equipment from a plurality of sensors;

and the data processing module is used for drawing the data acquired by the master equipment and the slave equipment into a time sequence diagram for judgment and analysis.

In another aspect, the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the data processing method are implemented.

In another aspect, the present invention further provides a storage medium storing a computer program, which when executed by a processor implements the steps of the data processing method described above.

The data processing method has the following beneficial effects: numbering monitored elements on the monitoring device, selecting different numbers by adopting master and slave equipment, collecting data, and effectively collecting data, wherein the task is divided into specific tasks; the master device and the slave device have the characteristic of multiple network ports, and can be favorable for remote data transmission and data sharing of multiple networks; the I2C interface is adopted to expand the multiple sensors, and the monitoring device is subjected to parameter judgment, so that the monitoring equipment can be managed conveniently.

Drawings

Various other advantages and benefits of the present invention will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.

The invention will be further described with reference to the accompanying drawings and examples, in which:

FIG. 1 is a flow chart of a data processing method of the present invention;

FIG. 2 is a schematic diagram of a data processing apparatus according to the present invention;

FIG. 3 is a schematic view of a wind power generation system employing a preferred embodiment of FIG. 2;

fig. 4 is a schematic structural diagram of extension 1 in fig. 3 as a master device;

fig. 5 is a schematic diagram of the structure of the extension 2 in fig. 3 as a slave device;

fig. 6 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present application are clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the described embodiments are merely a few embodiments of the present application and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.

The data processing method provided by the embodiment of the application can be applied to various server terminals and terminals. The server-side and terminal devices include, but are not limited to, personal computers, server computers, handheld or laptop devices, mobile devices (such as mobile phones, tablet computers, PDAs, media players, etc.), consumer electronics devices, vehicle-mounted computers, smart watches, televisions, and other terminal devices with display screens, etc.

Example one

Please refer to fig. 1, which is a flowchart illustrating a data processing method according to the present invention. As shown in fig. 1, a data processing method according to a first embodiment of the present invention includes at least the steps of,

s1, building a master device and a slave device, and setting data collection tasks of the master device and the slave device.

The building main equipment comprises: the first CPU, the first north bridge chip and the first south bridge chip are electrically connected to form a main device.

In specific implementation, the first CPU may include a dual CPU based on an MIPS architecture and a Loongson 3a2000, and the two CPUs are interconnected through an internal HT channel; the first north bridge chip AMD RS780E is provided with a first PICE interface, and three I210 network card three-port interfaces, four I350 network card four-port interfaces and a VGA video interface are expanded by the first PICE interface; I2C, SATA, ATA and GPIO interfaces are expanded through the south bridge chip AMD SB710, and the sensors such as a wind speed sensor, a blade flap moment sensor, a hub pitch moment sensor, an engine rotor speed measuring encoder and the like are externally connected through the I2C interface. And a control circuit for connecting the motor rotor side and the power grid in a grid mode is controlled by an external relay through a GPIO (general purpose input/output) interface.

The slave device is built up and comprises: based on the MIPS framework, the second CPU of the Loongson 3A2000, the second north bridge AMD RS780E and the second south bridge AMD SB710 are electrically connected to form a slave device. The second CPU can comprise a CPU and a Loongson 3A2000, the second north bridge chip is provided with a second PICE interface, and an I210 network card three-port, a wireless network card and a VGA video interface are expanded from the second PICE interface; the I2C, SATA, ATA and GPIO interfaces are extended through the second south bridge chip, and the plurality of sensors are externally connected through the I2C interface. The sensor is externally connected with a plurality of sensors such as a plurality of wind speed sensors, a blade flapping moment sensor, a hub pitching moment sensor, an engine rotor speed measuring encoder and the like through an I2C interface. And a control circuit for connecting the motor rotor side and the power grid in a grid mode is controlled by an external relay through a GPIO (general purpose input/output) interface.

The setting of the data collection tasks of the master device and the slave devices comprises: numbering monitored elements on the monitoring device; the master device and the slave device select different numbers and collect data of the monitoring elements. In order to more accurately know multiple monitoring devices, the monitored elements on the monitoring device are multiple and different in variety. And numbering the monitored elements on the monitoring device for standard management, division of labor cooperation and all-around monitoring of the monitoring device. The monitoring device may be a wind turbine, a radar signal transmitter, a radar signal collector, etc.

S2, connecting a monitoring device and the master equipment, connecting the collection master equipment and the slave equipment, wherein the monitoring device is provided with a plurality of sensors. The main equipment and the slave equipment are connected through a network, so that a local area network or an internet can be formed between the main equipment and the monitoring device and among the plurality of sensors, data can be conveniently shared on the network, data obtained by the plurality of sensors can be conveniently processed, and a user can access the shared data through a client to evaluate the working state of the monitoring device.

And S3, acquiring data collected by the master device and the slave device from a plurality of sensors.

The master device and the slave device collect data of the monitoring elements according to the numbers selected by the master device and the slave device respectively. The data collected by the plurality of sensors may be wind speed, torque, weight, temperature, electrical quantity, voltage, current, etc. The master device and the slave device can be provided with multiple network ports, which is beneficial to remote data transmission and data sharing of multiple networks;

and S4, drawing the data collected by the master equipment and the slave equipment into a time sequence diagram for judgment and analysis.

The master device and the slave device can adopt an I2C interface to expand a plurality of sensors, and the monitoring device is subjected to parameter judgment, so that the monitoring devices can be managed conveniently. The data collected by the master and slave devices is diverse. To ensure the accuracy of drawing the timing diagram, the data may be preprocessed. Before data preprocessing, some obvious wrong data can be removed, and then the data needs to be audited. The data auditing content mainly comprises the following four aspects: and (6) checking the accuracy. The data is mainly checked from the perspective of the authenticity and accuracy of the data, and the key point of the audit is to check errors generated in the investigation process. And (5) checking the applicability. The degree to which the data explains the problem is checked, mainly depending on the purpose of the data. Including in particular whether the data matches the survey topic, the definition of the target population, the interpretation of the survey item, etc. And (5) checking the timeliness. The method mainly checks whether the data are reported according to the specified time, and if the data are not reported according to the specified time, the reason that the data are not reported in time needs to be checked. And (6) checking consistency. It is essential to check whether the data is comparable in different regions or countries, at different time periods.

After the data is audited, data screening may be performed. Errors found during the auditing process should be corrected as much as possible. After the investigation is finished, when errors found by the data can not be corrected, or some data do not meet the investigation requirement and can not be compensated, the data needs to be screened. Data screening includes two aspects: firstly, removing some data which do not meet the requirements or have obvious errors; and secondly, screening out the data meeting certain specific conditions, and removing the data not meeting the specific conditions. The screening of data is very important in market research, economic analysis and management decision. Data sorting is to arrange data in a certain order so that researchers find some obvious features or trends by browsing the data to find clues for solving problems. In addition, the ordering can help to check the data for error correction, provide basis for re-classification or grouping, and the like. In some cases, the ordering itself is one of the purposes of the analysis. The sorting can be easily done with the aid of a computer.

For classified data, if the classified data is letter type data, the sorting is divided into ascending order and descending order, but the ascending order is used more generally by habit because the ascending order is the same as the natural arrangement of letters; if the data is the Chinese character type data, the sorting modes are various, for example, the data is arranged according to the first phonetic alphabet of the Chinese character, which is the same as the sorting of the character type data, the data can also be sorted according to the strokes, wherein the ascending order and the descending order of the number of the strokes are also divided. The alternative arrangement of different modes is very useful in the checking and error correcting process of Chinese character data.

For numeric data, there are only two orderings, namely increment and decrement. The sorted data is also referred to as order statistics.

The data preprocessing method comprises the following steps: data cleaning, data integration, data transformation, data reduction, and the like. Data cleaning "cleans up" data by filling in missing values, smoothing out noisy data, identifying or deleting outliers, and resolving inconsistencies. The following aims are mainly achieved: format standardization, abnormal data removal, error correction and repeated data removal. Data integration combines and stores data in a plurality of data sources uniformly, and the process of establishing a data warehouse is actually data integration. Data transformation: the data is converted into a form suitable for data mining through modes of smooth aggregation, data generalization, normalization and the like. And (3) data reduction: data mining tends to be very large in volume, long time is required for mining analysis on a small amount of data, and data reduction techniques can be used to obtain a reduced representation of a data set that is much smaller but still close to maintaining the integrity of the original data and results the same or nearly the same as before reduction.

The data collected by the master equipment and the slave equipment are drawn into a time sequence diagram, and the judging and analyzing comprises the following steps:

and forming a time sequence diagram by taking time as an abscissa and data collected by the master equipment and the slave equipment as an ordinate, and analyzing feedback of the sensor in different time periods. The data collected by the master device and the slave device can be data preprocessed. According to the timing diagram, the feedback of the sensor at different time periods can be analyzed, and correspondingly, the feedback of the working states of different monitored elements on the monitoring device is realized. For example, the variation of the operating voltage with time, in which time period the operating voltage is normal, in which time period the operating voltage is 5% excess, and in which time period the operating voltage is operated at the rated voltage, provides a data basis for analyzing the operating voltage of the monitored component. It can be analyzed that the monitored component, such as the working voltage of the radar signal transmitter, has the possibility of excess, and the monitored component gives early warning to research personnel, improves the voltage division setting in a working circuit and the like.

In the embodiment, the monitored elements on the monitoring device are numbered, different numbers are selected by the master device and the slave device, data are collected, the task collection is clear in labor division, and the data can be effectively collected; the master device and the slave device have the characteristic of multiple network ports, and can be favorable for remote data transmission and data sharing of multiple networks; the I2C interface is adopted to expand the multiple sensors, and the monitoring device is subjected to parameter judgment, so that the monitoring equipment can be managed conveniently.

Example two

FIG. 2 is a schematic diagram of a data processing apparatus according to the present invention. As shown in fig. 2, a data processing apparatus includes:

a master device 10 and a slave device 20, each for collecting data;

the monitoring device 30 is connected with the master device 10, the master device 10 is connected with the slave device 20, and the monitoring device 30 is provided with a plurality of sensors;

a data acquisition module 40, configured to acquire data acquired by the master device 10 and the slave device 20 from a plurality of sensors;

and the data processing module 50 is configured to plot data acquired by the master device 10 and the slave device 20 into a timing chart, and perform judgment analysis.

The first CPU, the first north bridge chip and the first south bridge chip are electrically connected to form a main device. In specific implementation, the first CPU may include a dual CPU based on an MIPS architecture and a Loongson 3a2000, and the two CPUs are interconnected through an internal HT channel; the first north bridge chip AMD RS780E is provided with a first PICE interface, and three I210 network card three-port interfaces, four I350 network card four-port interfaces and a VGA video interface are expanded by the first PICE interface; I2C, SATA, ATA and GPIO interfaces are expanded through the south bridge chip AMD SB710, and the sensors such as a wind speed sensor, a blade flap moment sensor, a hub pitch moment sensor, an engine rotor speed measuring encoder and the like are externally connected through the I2C interface. And a control circuit for connecting the motor rotor side and the power grid in a grid mode is controlled by an external relay through a GPIO (general purpose input/output) interface.

And electrically connecting the second CPU, the second north bridge chip and the second south bridge chip to form the slave device. Based on the MIPS framework, the second CPU of the Loongson 3A2000, the second north bridge AMD RS780E and the second south bridge AMD SB710 are electrically connected to form a slave device. The second CPU can comprise a CPU and a Loongson 3A2000, the second north bridge chip is provided with a second PICE interface, and an I210 network card three-port, a wireless network card and a VGA video interface are expanded from the second PICE interface; the I2C, SATA, ATA and GPIO interfaces are extended through the second south bridge chip, and the plurality of sensors are externally connected through the I2C interface. The sensor is externally connected with a plurality of sensors such as a plurality of wind speed sensors, a blade flapping moment sensor, a hub pitching moment sensor, an engine rotor speed measuring encoder and the like through an I2C interface. And a control circuit for connecting the motor rotor side and the power grid in a grid mode is controlled by an external relay through a GPIO (general purpose input/output) interface. The setting of the data collection tasks of the master device and the slave devices comprises the following steps: numbering monitored elements on the monitoring device; the master device and the slave device select different numbers and collect data of the monitoring elements. In order to more accurately know multiple monitoring devices, the monitored elements on the monitoring device are multiple and different in variety. And numbering the monitored elements on the monitoring device for standard management, division of labor cooperation and all-around monitoring of the monitoring device. The monitoring device may be a wind turbine, a radar signal transmitter, a radar signal collector, etc.

In this embodiment, a data processing method according to the first embodiment is performed, and please refer to the first embodiment for the data processing method, which is not described herein again.

In the embodiment, the monitored elements on the monitoring device are numbered, different numbers are selected by the master device and the slave device, data are collected, the task collection is clear in labor division, and the data can be effectively collected; the master device and the slave device have the characteristic of multiple network ports, and can be favorable for remote data transmission and data sharing of multiple networks; the I2C interface is adopted to expand the multiple sensors, and the monitoring device is subjected to parameter judgment, so that the monitoring equipment can be managed conveniently.

EXAMPLE III

At present, large-scale wind power manufacturers at home generally purchase control algorithms of more famous foreign wind power manufacturers (MITA, GH and the like), and carry out optimization on the control algorithms, so that wind power generators are mainly controlled on a PLC. The PLC on the main control system of the wind driven generator mainly adopts foreign manufacturers such as ABB, Siemens and the like. PLC is expensive. The PLC semaphore acquisition is realized by an AD sampling device and a sensor. At present, PLC signal acquisition is expanded through an AD acquisition card, the number of input quantities of a single AD acquisition card is very limited, and the quantity of signals required to be acquired by a wind driven generator is very large. The network protocols supported by the PLC network transmission are relatively few, and generally only one single network port is supported. There is also a technical barrier to compare the control algorithms of the famous wind power manufacturers (MITA, GH, etc.) abroad.

The present embodiment will be described by taking wind power generation as an example. The method comprises the steps of collecting data of each sensor of the wind driven generator, judging parameters (maximum wind speed, maximum supporting moment, maximum motor rotating speed and the like) which endanger the wind driven generator, and recording corresponding shutdown protection measures and corresponding data for analysis and design of a control algorithm. Meanwhile, the local area network is formed by the fans in the wind field through the advantage of multiple network ports of the local area network, and the local area network is connected with the central control room to monitor the wind driven generator in real time.

FIG. 3 is a schematic view of a wind power generation system employing a preferred embodiment of FIG. 2. As shown in fig. 3, the wind power generation system comprises a monitoring room comprising a monitoring device. The monitoring device is provided with a plurality of monitored elements, and the plurality of monitored elements reflect the working state of the monitored elements by installing a plurality of sensors. The monitor room is equipped with a plurality of extensions, extension 1 and extension 2, and extension 1 sets up a plurality of fans below again: slave unit 11, slave unit 12 and slave unit 13. And a plurality of fans are arranged below the extension 2: slave unit 21, slave unit 22, and slave unit 23. Slave unit 111, slave unit 112 and slave unit 113 are further provided below slave unit 11. And the lower part of the extension 12 is provided with an extension 121, an extension 122 and an extension 123. Extension 131, extension 132 and extension 133 are further provided on extension 13. A plurality of extensions are respectively arranged below the extensions 21, 22 and 23. The arrangement of a plurality of extensions can be customized according to actual needs. For example, each of slave unit 111, slave unit 112, and slave unit 113 is provided with a sensor for detecting its own data. The main device of the second embodiment is installed on the wind power generator near the monitoring room. The computer of the monitoring room is connected with the I210 network port of the main device through a network cable; network cards of other network ports of the master device and the slave devices of the respective supporting points are networked through network cables, as shown in fig. 4, and fig. 4 is a schematic structural diagram of the slave device 1 in fig. 3 as the master device. The main equipment adopts double-CPU interconnection, and has higher data processing capacity. The main tasks of the method comprise three parts: the first pair of collected wind speed, waving moment, pitching moment and motor rotating speed are analyzed, and when the values exceed a threshold value, the GPIO is controlled by the W83527 to realize the actual emergency stop of the external relay. The second pair sends the data to be monitored and the data collected by the second pair to the computer in the monitoring room. The third pair of collected data is stored on the SSD. Extension 1 may be set as the master and extension 2 may be set as the slave. The advanced extensions may all be set as slaves.

The fans near each branch node are all provided with the slave equipment in the second embodiment, as shown in fig. 5. Fig. 5 is a schematic diagram of the structure of the extension 2 in fig. 3 as a slave device. The slave device analyzes the collected wind speed, the swing moment, the pitching moment and the motor rotating speed, and controls the external relay to realize the emergency shutdown through the W83527 when the values exceed the threshold value. And storing the collected data on the SSD. Meanwhile, monitoring data are sent to each node through the wireless network among the slave devices and then sent to the master device end through the network cable.

The master device and the slave device draw a time sequence diagram for the data collected and stored on the SSD so as to approach the design and the verification of the master control algorithm.

In the embodiment, the monitored elements on the monitoring device are numbered, different numbers are selected by the master device and the slave device, data are collected, the task collection is clear in labor division, and the data can be effectively collected; the master device and the slave device have the characteristic of multiple network ports, and can be favorable for remote data transmission and data sharing of multiple networks; the I2C interface is adopted to expand the multiple sensors, and the monitoring device is subjected to parameter judgment, so that the monitoring equipment can be managed conveniently.

Example four

Fig. 6 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention. Based on the content of the above embodiment, as shown in fig. 6, the electronic device may include: a processor (processor)301, a memory (memory)302, and a bus 303; wherein, the processor 301 and the memory 302 complete the communication with each other through the bus 303; the processor 301 is configured to call computer program instructions stored in the memory 302 and executable on the processor 301 to perform the data processing method provided by the above-mentioned method embodiments, for example, including:

s1, constructing a master device and a slave device, and setting data collection tasks of the master device and the slave device;

s2, connecting a monitoring device and the master equipment, connecting the collection master equipment and the slave equipment, wherein the monitoring device is provided with a plurality of sensors;

s3, acquiring data collected by the master equipment and the slave equipment from a plurality of sensors;

and S4, drawing the data collected by the master equipment and the slave equipment into a time sequence diagram for judgment and analysis.

Furthermore, the logic instructions in the memory 302 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the embodiments of the present invention substantially or partly contributes to the prior art may be embodied in the form of a software product, stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method for generating a memo based on face recognition according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a portable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media storing program codes.

In the embodiment, the monitored elements on the monitoring device are numbered, different numbers are selected by the master device and the slave device, data are collected, the task collection is clear in labor division, and the data can be effectively collected; the master device and the slave device have the characteristic of multiple network ports, and can be favorable for remote data transmission and data sharing of multiple networks; the I2C interface is adopted to expand the multiple sensors, and the monitoring device is subjected to parameter judgment, so that the monitoring equipment can be managed conveniently.

EXAMPLE five

Another embodiment of the present invention discloses a computer program product, the computer program product includes a computer program stored on a non-transitory computer readable storage medium, the computer program includes program instructions, when the program instructions are executed by a computer, the computer can execute the data processing method provided by the above embodiments, for example, the method includes the steps of:

s1, constructing a master device and a slave device, and setting data collection tasks of the master device and the slave device;

s2, connecting a monitoring device and the master equipment, connecting the collection master equipment and the slave equipment, wherein the monitoring device is provided with a plurality of sensors;

s3, acquiring data collected by the master equipment and the slave equipment from a plurality of sensors;

and S4, drawing the data collected by the master equipment and the slave equipment into a time sequence diagram for judgment and analysis.

In the embodiment, the monitored elements on the monitoring device are numbered, different numbers are selected by the master device and the slave device, data are collected, the task collection is clear in labor division, and the data can be effectively collected; the master device and the slave device have the characteristic of multiple network ports, and can be favorable for remote data transmission and data sharing of multiple networks; the I2C interface is adopted to expand the multiple sensors, and the monitoring device is subjected to parameter judgment, so that the monitoring equipment can be managed conveniently.

EXAMPLE six

Another embodiment of the present invention provides a non-transitory computer-readable storage medium, which stores computer instructions, the computer instructions causing a computer to execute the data processing method provided by the above method embodiments, for example, the method includes the steps of:

s1, constructing a master device and a slave device, and setting data collection tasks of the master device and the slave device;

s2, connecting a monitoring device and the master equipment, connecting the collection master equipment and the slave equipment, wherein the monitoring device is provided with a plurality of sensors;

s3, acquiring data collected by the master equipment and the slave equipment from a plurality of sensors;

and S4, drawing the data collected by the master equipment and the slave equipment into a time sequence diagram for judgment and analysis.

In the embodiment, the monitored elements on the monitoring device are numbered, different numbers are selected by the master device and the slave device, data are collected, the task collection is clear in labor division, and the data can be effectively collected; the master device and the slave device have the characteristic of multiple network ports, and can be favorable for remote data transmission and data sharing of multiple networks; the I2C interface is adopted to expand the multiple sensors, and the monitoring device is subjected to parameter judgment, so that the monitoring equipment can be managed conveniently.

While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation to the teachings of the invention without departing from its scope. Therefore, it is intended that the invention not be limited to the particular embodiments disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种支持远程控制的计算机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!