CN117579506A - Electric machine room key value processing method realized by using deviation ratio - Google Patents

Electric machine room key value processing method realized by using deviation ratio Download PDF

Info

Publication number
CN117579506A
CN117579506A CN202311584464.7A CN202311584464A CN117579506A CN 117579506 A CN117579506 A CN 117579506A CN 202311584464 A CN202311584464 A CN 202311584464A CN 117579506 A CN117579506 A CN 117579506A
Authority
CN
China
Prior art keywords
value
key
deviation
deviation ratio
data
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
CN202311584464.7A
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.)
Guangzhou City University of Technology
Original Assignee
Guangzhou City University of Technology
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 Guangzhou City University of Technology filed Critical Guangzhou City University of Technology
Priority to CN202311584464.7A priority Critical patent/CN117579506A/en
Publication of CN117579506A publication Critical patent/CN117579506A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mathematical Physics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a key value processing method of an electric machine room realized by using a deviation ratio, which comprises the steps of firstly collecting key value information data of preset time, arranging the key value information data into ordered groups in sequence, obtaining the maximum value and the minimum value of the data, preprocessing the data, calculating the maximum deviation value, setting the minimum value as a reference value, sending the reference value to a control platform, carrying out deviation calculation on the reference value and the key value obtained by sampling each moment, obtaining the data deviation ratio, then encoding the data deviation ratio, transmitting the encoded data to the control platform through a communication network, and carrying out data processing on the received deviation ratio and the previous reference value by the control platform to obtain the current key value; the invention can solve the problems of large storage capacity and large information transmission capacity of temperature and humidity information data in the prior art, so that the information memory of equipment is reduced, and the communication burden of the equipment is reduced.

Description

Electric machine room key value processing method realized by using deviation ratio
Technical Field
The invention belongs to the field of data processing, and particularly relates to a key numerical value processing method for an electric machine room, which is realized by using a deviation ratio.
Background
In the current communication network, key values such as humidity and temperature in an electric machine room need to be monitored, because if temperature and humidity control are unreliable in the electric machine room, safety accidents such as fire are easy to happen, therefore, the humidity and the temperature of the electric machine room need to be monitored, generally, the monitoring data acquisition of intelligent equipment is provided with fixed acquisition intervals, different equipment is provided, the acquired frequency setting values are different, most of the time of the monitoring data acquired in an actual application scene is unchanged or is changed very slowly, for example, a temperature and humidity probe, most of the time of the temperature and humidity value is unchanged or floats in a smaller value interval due to the characteristic of constant temperature and humidity of the machine room, and if the monitoring data of the equipment of the type are acquired by adopting fixed acquisition frequencies, a large amount of repeated acquisition data are consumed, and the energy consumption of the machine room is wasted.
In order to solve the above problems, for example, in the patent document of China patent application No. 202210302641.7 and publication date 2022.08.16, the invention discloses a method, a system and a storage medium for monitoring data acquisition, which are applied to a serial acquisition device and comprise the following steps: acquiring configuration information, and determining devices respectively belonging to a first group and a second group according to the configuration information; determining fixed acquisition frequencies of all the devices in the first group, and acquiring data of the devices in the first group according to the corresponding fixed acquisition frequencies; determining the initial acquisition frequency of each device in the second group, and dynamically adjusting the acquisition frequency of the devices in the second group according to the data acquired by the devices after at least two rounds of acquisition of each device in the second group; wherein, the acquisition frequency of the equipment in the second group is provided with an upper limit value and a lower limit value.
The method can reduce the power consumption of the acquisition equipment by implementing the method, and simultaneously ensures that the equipment with high real-time performance can be acquired in time, but the current temperature and humidity information is frequently transmitted to a remote control platform in a form of being gathered together, so that the problem of overlarge bandwidth occupation exists, the transmission speed of the whole data is affected, in addition, the real-time temperature data is required to be transmitted in a grouping mode, most decimal digits of each temperature data reach 2-3 digits, the bandwidth occupied by transmission in a channel is larger, a plurality of numerical values are required to be transmitted in the channel, the transmission efficiency is low, and key numerical values of an electric machine room cannot be monitored in real time.
Disclosure of Invention
The invention aims to provide a method for realizing the key value of an electric machine room by using a deviation ratio
The processing method is small in occupied bandwidth, reduces equipment communication burden and improves the reliability of key numerical value monitoring.
In order to achieve the above purpose, a key numerical value processing method of an electric machine room realized by using a deviation ratio comprises the following steps:
s1, sampling key values of a machine room and forming a sequential array, namely firstly collecting key value information data of time, and respectively and sequentially arranging the key value information data into the sequential key value information array.
S2 array pretreatment: and obtaining the maximum value and the minimum value of the key numerical value information, preprocessing the data, and calculating the maximum deviation value of the key numerical value information.
S3, setting a reference value and calculating a deviation ratio: and setting the minimum value as a reference value, transmitting the reference value to a remote control platform, and performing deviation calculation on the reference value and the temperature and humidity obtained at each sampling moment.
S4, calculating and encoding a deviation ratio: and carrying out ratio on the deviation and the maximum deviation value to obtain a deviation ratio, encoding the deviation ratio, and transmitting the encoded data to a control platform through a communication network.
S5, array processing of the control platform: and the control platform performs data processing on the received deviation ratio and the received reference value to obtain the current key value.
The method comprises the steps of firstly collecting key numerical information data for a period of time, and orderly arranging the key numerical information data into ordered number groups; then, the maximum value and the minimum value of the ordered array are obtained, the data are preprocessed, and the maximum deviation value is calculated; the key value obtained at each moment is a value which is positioned between the maximum value and the minimum value of the key value, so that the key value obtained at each moment is a value which is positioned between the maximum value and the minimum value of the key value, the ratio between the deviation and the maximum deviation value at each moment is determined to be 0 and 1 through calculation, the value only needs to be sent between 0 and 1, the number is small relative to the actual key value, the number of the used encoding bytes is relatively small, the occupied bandwidth is small, in addition, the deviation ratio at each moment only needs to be sent between the local and the control platform, the reference value and the maximum deviation value can be obtained, the data needing to be sent are small, the occupied bandwidth is small, the communication speed is high, and the monitoring effect is good.
Further, the key value data of the machine room are temperature data or humidity temperature data, the sampling of the key value is collected by a temperature and humidity sensor, and the collection preset time is one day or more.
The temperature or humidity is used as key numerical data of the machine room, so that the temperature and humidity data of the machine room can be ensured more reliably, and the collection preset time is set to be one day or more, so that the total base number of the data quantity can be ensured to be enough.
Further, in step S1, forming the key value information into an ordered key value information array further includes: and reordering the key values according to a key value array, wherein the arrangement mode is to sort elements of an array set in order from small to large, and the elements are inserted and ordered by a dichotomy method.
The data are further arranged, compared with other sorting algorithms, the dichotomy insertion sorting calculation is simple, the method is reliable, the requirement on the data is not high, and the data are also more suitable for a temperature and humidity data acquisition mode; the ordered array set can be fed back in the arrangement process of the sampling data and the unordered array set, so that the data processing efficiency is improved, the array ordering time is reduced, the ordered array set is output in real time, and the characteristic of real-time feedback is also suitable for machine room temperature and humidity dynamic acquisition and real-time data processing.
Further, the step S2 of preprocessing data includes: firstly, taking the key value to the position behind the decimal point to form a key value group which only retains the position behind the decimal point; the values in the set of values are expanded by a factor of 10.
By the arrangement, the data after data arrangement pretreatment only has integers, and the calculation is convenient.
Further, the step S3 includes: the reference value is the minimum value in the ordered array set, the deviation ratio is the ratio of the difference value between each datum in the ordered array and the reference value to the maximum deviation value, the deviation ratio is a coefficient larger than 0 and smaller than 1, and the sampled ordered array is calculated to form a corresponding deviation ratio array set.
The deviation ratio value is calculated by the setting, and compared with the key value which is directly acquired, the deviation value is much smaller, so that the problems of large occupied transmission quantity bandwidth and low efficiency are avoided.
Further, the "encode deviation ratio" in step S4 further includes: multiplying the deviation ratio with 255 to obtain a new deviation ratio array.
When the decimal system is converted into the binary system, the value of the deviation value is between 0 and 1, so that the data transmitted to the remote background can be completed by only occupying 1 byte, and the transmission quantity and the occupied bandwidth are reduced.
Further, step S5 further includes: after receiving the maximum deviation value, the reference value and the deviation ratio, the control platform converts the binary code array into decimal through binary conversion, divides the decimal converted deviation ratio array by 255 to obtain an original deviation ratio array, multiplies the original deviation ratio array by the maximum deviation value to obtain the deviation of the key value and the reference value, adds the deviation and the reference value to obtain the current key value, and divides the current key value by 10 to obtain the actual key value.
According to the setting, the control platform only needs to receive the maximum deviation value, the reference value and the deviation ratio array, then calculates the corresponding actual key value according to the reverse process of the deviation ratio calculation, and can conveniently obtain the key value of each actual moment, and the calculation method is simple and reliable.
Drawings
FIG. 1 is a flow chart of the present invention.
FIG. 2 is a block diagram of a binary array arrangement according to the present invention.
Fig. 3 is a block diagram of the present invention for encoding the key value maximum value.
FIG. 4 is a block diagram of a current key value processing method according to the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and the detailed description.
As shown in fig. 1 to 4, the invention provides a key numerical value processing method of an electric power machine room realized by using a deviation ratio, which comprises the following steps:
s1, key values are sequentially arranged to form an array, namely key value information data of time are collected first, and the key value information data are sequentially arranged to form an ordered key value information array respectively.
S2 array pretreatment: and obtaining the maximum value and the minimum value of the key numerical value information, preprocessing the data, and calculating the maximum deviation value of the key numerical value information.
S3, setting a reference value and calculating a deviation ratio: and setting the minimum value as a reference value, transmitting the reference value to a remote control platform, and performing deviation calculation on the reference value and the temperature and humidity obtained at each sampling moment.
S4, calculating and encoding a deviation ratio: and carrying out ratio on the deviation and the maximum deviation value to obtain a deviation ratio, encoding the deviation ratio, and transmitting the encoded data to a control platform through a communication network.
S5, array processing of the control platform: and the control platform performs data processing on the received deviation ratio and the received reference value to obtain the current key value.
In this embodiment, the key value data of the machine room is temperature data or humidity temperature data, the sampling of the key value is collected by the temperature and humidity sensor, and the preset collection time is one day or more. The temperature in the machine room is represented by T, the unit is the temperature, the sampling data set is an array, and the method comprises the following steps:
humidity is based on relative humidity RHRepresenting the sampled data set as an array, as follows:
as shown in fig. 2, forming the key value information into an ordered key value information array in step S1 further includes: the key values are rearranged according to a key value array, the arrangement mode is that elements of an array set are sorted according to the sequence from small to large, a dichotomy insertion sorting is adopted, the dichotomy insertion sorting is not tired in the prior art, and key value information collection and sorting can be synchronously carried out by adopting the dichotomy insertion sorting. Taking the temperature and the humidity as examples,
ordered temperature array set:
ordered humidity array set:
the "preprocessing data" in step S2 includes: firstly, taking the key value to the position behind the decimal point to form a key value group which only retains the position behind the decimal point; the values in the set of values are expanded by a factor of 10.
The step S3 includes: the reference value is the minimum value in the ordered array set, the deviation ratio is the ratio of the difference value between each datum in the ordered array and the reference value to the maximum deviation value, the deviation ratio is a coefficient larger than 0 and smaller than 1, and the sampled ordered array is calculated to form a corresponding deviation ratio array set.
Taking temperature and humidity as examples, two special values are obtained in the temperature array: maximum valueMinimum->. Two special values are obtained in the humidity array: maximum value->Minimum->. Thus, the maximum deviation value of the two arrays can be obtained as follows:
in setting the reference value to be the minimum value in the ordered array set,is a reference value of temperature,/">The reference value for humidity is:
the deviation ratio is the ratio of the difference value between each data in the ordered array and the reference value to the maximum deviation value, namely:for maximum deviation of temperature, +.>Is the maximum deviation value of the humidity.
The deviation ratio is a coefficient larger than 0 and smaller than 1, the sampled ordered groups are all subjected to calculation processing to form a corresponding deviation ratio array set, the maximum deviation value is arranged to represent the maximum variation range of the currently acquired array, and the temperature and humidity floating range of the whole interval is framed, so that the subsequent data processing is facilitated; the deviation ratio value is calculated, and compared with the temperature and humidity value which is directly acquired, the deviation value is much smaller, so that the problems of large occupied bandwidth of transmission quantity and low efficiency are avoided.
The "encode deviation ratio" in step S4 further includes: multiplying the deviation ratio with 255 to obtain a new deviation ratio array. With temperature and humidity as key values, as shown in FIG. 3, 1 byte contains 8 bits, and when each bit is all 1, 11111111, it is converted to a decimal of 255. Thus, the maximum value of 1 byte can transmit the value representing decimal number 255, and the value is between 0 and 255 by multiplying 255 as coefficient and deviation ratio because the deviation ratio value range is between 0 and 1, and the value can be transmitted to the control platform in one byte length after rounding. Taking the maximum temperature and humidity as an example, the deviation ratio is 1 at this time, the multiplication of the deviation ratio and 255 is 255, when the deviation ratio is converted into binary, 8 bits are all 1, and the data transmitted to a remote background can be completed only by taking 1 byte, so that the transmission quantity and the occupied bandwidth are reduced.
As shown in fig. 4, step S5 further includes: after receiving the maximum deviation value, the reference value and the deviation ratio, the control platform converts the binary code array into decimal through binary conversion, divides the decimal converted deviation ratio array by 255 to obtain an original deviation ratio array, multiplies the original deviation ratio array by the maximum deviation value to obtain the deviation of the key value and the reference value, adds the deviation and the reference value to obtain the current key value, and divides the current key value by 10 to obtain the actual key value.
Working principle: firstly, acquiring key numerical value information data for a period of time, and orderly arranging the key numerical value information data into ordered groups; then, the maximum value and the minimum value of the ordered array are obtained, the data are preprocessed, and the maximum deviation value is calculated; the key value obtained at each moment is a value which is positioned between the maximum value and the minimum value of the key value, so that the key value obtained at each moment is a value which is positioned between the maximum value and the minimum value of the key value, the ratio between the deviation and the maximum deviation value at each moment is determined to be 0 and 1 through calculation, the value only needs to be sent between 0 and 1, the number is small relative to the actual key value, the number of the used encoding bytes is relatively small, the occupied bandwidth is small, in addition, the deviation ratio at each moment only needs to be sent between the local and the control platform, the reference value and the maximum deviation value can be obtained, the data needing to be sent are small, the occupied bandwidth is small, the communication speed is high, and the monitoring effect is good.

Claims (7)

1. A key numerical value processing method of an electric machine room realized by using a deviation ratio is characterized by comprising the following steps of: the method comprises the following steps:
s1, sampling key values of a machine room and forming a sequential array, namely firstly collecting key value information data of time, and respectively and sequentially arranging the key value information data into the sequential key value information array;
s2 array pretreatment: obtaining the maximum value and the minimum value of the key numerical value information, preprocessing the data, and calculating the maximum deviation value of the key numerical value information;
s3, setting a reference value and calculating a deviation ratio: setting the minimum value as a reference value, transmitting the reference value to a remote control platform, and performing deviation calculation on the reference value and the temperature and humidity obtained by sampling each moment;
s4, calculating and encoding a deviation ratio: the deviation is subjected to ratio value to the maximum deviation value to obtain a deviation ratio, the deviation ratio value is encoded, and the encoded data is transmitted to a control platform through a communication network;
s5, array processing of the control platform: and the control platform performs data processing on the received deviation ratio and the received reference value to obtain the current key value.
2. A critical value of electric machine room implemented by deviation ratio as defined in claim 1
The processing method is characterized in that: the key numerical data of the machine room are temperature data or humidity temperature data, the key numerical data are sampled by a temperature and humidity sensor, and the preset time for the acquisition is one day or more.
3. The method for processing the key values of the electric power machine room by using the deviation ratio according to claim 1, wherein the method is characterized by comprising the following steps of: in step S1, forming the key value information into an ordered key value information array further includes: and reordering the key values according to a key value array, wherein the arrangement mode is to sort elements of an array set in order from small to large, and the elements are inserted and ordered by a dichotomy method.
4. The method for processing the key values of the electric power machine room by using the deviation ratio according to claim 1, wherein the method is characterized by comprising the following steps of: the "preprocessing data" in step S2 includes: firstly, taking the key value to the position behind the decimal point to form a key value group which only retains the position behind the decimal point; the values in the set of values are expanded by a factor of 10.
5. The method for processing the key values of the electric power machine room by using the deviation ratio according to claim 1, wherein the method is characterized by comprising the following steps of: the step S3 includes: the reference value is the minimum value in the ordered array set, the deviation ratio is the ratio of the difference value between each datum in the ordered array and the reference value to the maximum deviation value, the deviation ratio is a coefficient larger than 0 and smaller than 1, and the sampled ordered array is calculated to form a corresponding deviation ratio array set.
6. The method for processing the key values of the electric power machine room by using the deviation ratio according to claim 1, wherein the method is characterized by comprising the following steps of: the "encode deviation ratio" in step S4 further includes: multiplying the deviation ratio with 255 to obtain a new deviation ratio array.
7. The method for processing the key values of the electric power machine room by using the deviation ratio according to claim 1, wherein the method is characterized by comprising the following steps of: step S5 further includes: after receiving the maximum deviation value, the reference value and the deviation ratio, the control platform converts the binary code array into decimal through binary conversion, divides the decimal converted deviation ratio array by 255 to obtain an original deviation ratio array, multiplies the original deviation ratio array by the maximum deviation value to obtain the deviation of the key value and the reference value, adds the deviation and the reference value to obtain the current key value, and divides the current key value by 10 to obtain the actual key value.
CN202311584464.7A 2023-11-25 2023-11-25 Electric machine room key value processing method realized by using deviation ratio Pending CN117579506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311584464.7A CN117579506A (en) 2023-11-25 2023-11-25 Electric machine room key value processing method realized by using deviation ratio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311584464.7A CN117579506A (en) 2023-11-25 2023-11-25 Electric machine room key value processing method realized by using deviation ratio

Publications (1)

Publication Number Publication Date
CN117579506A true CN117579506A (en) 2024-02-20

Family

ID=89884118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311584464.7A Pending CN117579506A (en) 2023-11-25 2023-11-25 Electric machine room key value processing method realized by using deviation ratio

Country Status (1)

Country Link
CN (1) CN117579506A (en)

Similar Documents

Publication Publication Date Title
CN110602178B (en) Method for calculating and processing temperature sensor data based on edge compression
CN108833058B (en) Dynamic data compression and decompression method in communication process of wide area measurement system
CN103593959B (en) A kind of change frame structure method of telemetering based on large capacity multiple connection, memory technology
CN109272733B (en) Multi-terminal multi-mode Internet of things communication terminal supporting multi-meter combined reading and meter reading method thereof
EP2599351A1 (en) Method and system for compressing bitplanes based on bit position
CN114759975B (en) Electric energy data acquisition method and system based on Beidou satellite communication
CN105183371A (en) Migration balancing policy based electricity-consuming information distributed file storage method and apparatus
CN115623536B (en) High-reliability data transmission method of sensor signal based on LoRa
CN104462456A (en) Life data processing based big data system
CN106899678B (en) High-efficiency data transmission method and system for dynamically balancing energy Internet network bandwidth
CN115623358A (en) Meter reading method, meter reading device and meter reading system
EP2381579A1 (en) Method for compressing/decompressing data
CN117579506A (en) Electric machine room key value processing method realized by using deviation ratio
CN106790550B (en) A kind of system suitable for the compression of power distribution network monitoring data
CN115292393B (en) Data management system for intelligent gateway
CN102394718A (en) Sensing network data compression coding/decoding method
CN115834720A (en) Data compression method for photovoltaic communication data
CN110853329B (en) Data acquisition method of multi-meter-in-one centralized meter reading system
CN201335764Y (en) Water-power performance parameter on-line detecting system of water pump and/or water supply pipeline
CN114401461A (en) Multichannel data acquisition and storage system based on internet of things technology
CN116845400A (en) Battery data processing system
CN105700042B (en) A kind of portable weather monitoring device
CN210694010U (en) Data management system
Szalapski et al. Real-time data compression in wireless sensor networks
CN211702399U (en) Wireless multi-frequency ad hoc network transmission device for China hemp planting environment acquisition

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