CN109828894A - Acquisition method, device, storage medium and the electronic equipment of device status data - Google Patents

Acquisition method, device, storage medium and the electronic equipment of device status data Download PDF

Info

Publication number
CN109828894A
CN109828894A CN201811613069.6A CN201811613069A CN109828894A CN 109828894 A CN109828894 A CN 109828894A CN 201811613069 A CN201811613069 A CN 201811613069A CN 109828894 A CN109828894 A CN 109828894A
Authority
CN
China
Prior art keywords
data
data point
point
integral area
curve integral
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.)
Granted
Application number
CN201811613069.6A
Other languages
Chinese (zh)
Other versions
CN109828894B (en
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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201811613069.6A priority Critical patent/CN109828894B/en
Publication of CN109828894A publication Critical patent/CN109828894A/en
Application granted granted Critical
Publication of CN109828894B publication Critical patent/CN109828894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This disclosure relates to a kind of acquisition method of device status data, device, storage medium and electronic equipment, this method comprises: being deleted by reset condition data of the polygonal segments algorithm to equipment, to obtain the approximation state data of the equipment;By the way that multiple number of targets strong points are added in the approximation state data, the curve integral area error of the approximation state data is modified, to obtain the target state data of the equipment.The data volume of storage and display can be reduced, the computing resource of network transmission resource and client is saved, reduces the resource loss during equipment O&M while guaranteeing the accuracy of device status data statistics.

Description

Acquisition method, device, storage medium and the electronic equipment of device status data
Technical field
This disclosure relates to equipment O&M field, and in particular, to a kind of acquisition method of device status data, is deposited device Storage media and electronic equipment.
Background technique
It in the Internet of things system that large scale equipment integrates, needs in real time to be acquired device status data, and will Collected device status data is sent to backstage and is stored, and then shows in the later period to device status data.O&M Personnel can by the curve of the device status data shown or specific data value to the operating condition of equipment carry out analysis and Judgement.In the related technology, usually the state data acquisition unit for being directed to different indexs is arranged in equipment, and in the equipment runtime Between constantly by the collected device status data of the acquisition unit be sent to backstage, and to the device status data received into Row output is assisted to operation maintenance personnel with the maintenance to equipment.But with the number of devices in modern Internet of Things application scenarios It measures increasing, it is increasingly longer that the time it takes is acquired to device status data by existing collecting method, The frequency uploaded to data is also higher and higher.Great data volume and high data transmission frequency can occupy a large amount of storage Space, Internet resources and client computing resource increase the resource loss during equipment O&M.
Summary of the invention
To overcome the problems in correlation technique, purpose of this disclosure is to provide a kind of acquisition sides of device status data Method, device, storage medium and electronic equipment.
To achieve the goals above, according to the first aspect of the embodiments of the present disclosure, a kind of adopting for device status data is provided Set method, which comprises
It is deleted by reset condition data of the polygonal segments algorithm to equipment, to obtain the approximate shape of the equipment State data;
By the way that multiple number of targets strong points are added in the approximation state data, to the curve of the approximation state data Integral area error is modified, to obtain the target state data of the equipment.
Optionally, the reset condition data include the multiple data points being arranged successively with time sequencing, it is described pass through by Multiple number of targets strong points are added in the approximation state data, are repaired to the curve integral area of the approximation state data Just, to obtain the target state data of the equipment, comprising:
It determines between i-th of the data point and i+1 data point in the approximation state data with the presence or absence of curve product Divide area error;
When determining that there are curve integrals between i-th of data point and i+1 data point in the approximation state data When area error, determine that the first data point, first data point are i-th of data point in the reset condition data With intermediate point of the i+1 data point in the data and curves of the reset condition data;
It is true according to the target lateral coordinates of first data point, i-th of data point and the i+1 data point The fixed number of targets strong point;
The number of targets strong point is added in the approximation state data, to i-th of data point and described i-th Curve integral area error between+1 data point is modified;
I=i+1 is enabled, circulation executes i-th of data point and i+1 number from the determination approximation state data The number of targets strong point is added to the approximation state data to described with the presence or absence of curve integral area error between strong point In, with the step being modified to the curve integral area error between i-th of data point and the i+1 data point Suddenly, until completing the amendment to the curve integral area error between every two consecutive number strong point in the approximation state data, With the target state data for obtaining the approximation state data and multiple number of targets strong points form.
Optionally, between i-th of the data point and i+1 data point in the determination approximation state data whether There are curve integral area errors, comprising:
Determine the second data point and third data point, second data point is in the reset condition data with described the The corresponding data point of i data point, the third data point be the reset condition data in the i+1 data point pair The data point answered;
Determine the first curve integral area between i-th of data point and the i+1 data point;
Determine the second curve integral area between second data point and the third data point;
When determining that the first curve integral area and the second curve integral area be not identical, the approximation is determined There are curve integral area errors between i-th of data point in status data and i+1 data point.
Optionally, it is described according to the target lateral coordinates of first data point, i-th of data point and described i-th+ 1 data point determines the number of targets strong point, comprising:
By the second curve integral area, the target lateral coordinates, i-th of data point abscissa and ordinate And input of the abscissa and ordinate of the i+1 data point as area equivalence formula, to obtain described area etc. The target ordinate of valence formula output;Wherein, the area equivalence formula are as follows:
Wherein, S1 is the second curve integral area, x3For the target lateral coordinates, x1And y1It is i-th respectively described The abscissa and ordinate of data point, x2And y2The abscissa and ordinate of the respectively described i+1 data point, y3It is described Target ordinate;
The data point that the target ordinate and the target lateral coordinates are determined is as the number of targets strong point.
According to the second aspect of an embodiment of the present disclosure, a kind of acquisition device of device status data, described device packet are provided It includes:
Data removing module, for being deleted by reset condition data of the polygonal segments algorithm to equipment, to obtain Take the approximation state data of the equipment;
Error correction module, for by the way that multiple number of targets strong points are added in the approximation state data, to described The curve integral area error of approximation state data is modified, to obtain the target state data of the equipment.
Optionally, the reset condition data include the multiple data points being arranged successively with time sequencing, and the error is repaired Positive module, comprising:
Error determines submodule, for determining i-th of data point and i+1 data point in the approximation state data Between whether there is curve integral area error;
First data point determines submodule, for when i-th of the data point and i+1 in the determining approximation state data There are when curve integral area error between a data point, the first data point is determined in the reset condition data, described the One data point is i-th of data point and the i+1 data point in the data and curves of the reset condition data Intermediate point;
Second data point determines submodule, for the target lateral coordinates according to first data point, i-th of data Point and the i+1 data point determine the number of targets strong point;
Data point adds submodule, for the number of targets strong point to be added in the approximation state data, to institute The curve integral area error stated between i-th of data point and the i+1 data point is modified;
Implementation sub-module is recycled, for enabling i=i+1, circulation executes i-th from the determination approximation state data The number of targets strong point is added to described with the presence or absence of curve integral area error between a data point and i+1 data point Extremely in the approximation state data, to the curve integral area between i-th of data point and the i+1 data point The step of error is modified, until completing to integrate the curve between every two consecutive number strong point in the approximation state data The amendment of area error, with the target state data for obtaining the approximation state data and multiple number of targets strong points form.
Optionally, the error determines submodule, is used for:
Determine the second data point and third data point, second data point is in the reset condition data with described the The corresponding data point of i data point, the third data point be the reset condition data in the i+1 data point pair The data point answered;
Determine the first curve integral area between i-th of data point and the i+1 data point;
Determine the second curve integral area between second data point and the third data point;
When determining that the first curve integral area and the second curve integral area be not identical, the approximation is determined There are curve integral area errors between i-th of data point in status data and i+1 data point.
Optionally, second data point determines submodule, is used for:
By the second curve integral area, the target lateral coordinates, i-th of data point abscissa and ordinate And input of the abscissa and ordinate of the i+1 data point as area equivalence formula, to obtain described area etc. The target ordinate of valence formula output;Wherein, the area equivalence formula are as follows:
Wherein, S1 is the second curve integral area, x3For the target lateral coordinates, x1And y1It is i-th respectively described The abscissa and ordinate of data point, x2And y2The abscissa and ordinate of the respectively described i+1 data point, y3It is described Target ordinate;
The data point that the target ordinate and the target lateral coordinates are determined is as the number of targets strong point.
According to the third aspect of an embodiment of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with Machine program realizes the device status data that embodiment of the present disclosure first aspect provides when the computer program is executed by processor The step of acquisition method.
According to a fourth aspect of embodiments of the present disclosure, a kind of electronic equipment is provided, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize embodiment of the present disclosure first party The step of acquisition method for the device status data that face provides.
Through the above technical solutions, the disclosure can be carried out by reset condition data of the polygonal segments algorithm to equipment It deletes, to obtain the approximation state data of the equipment;It is right by the way that multiple number of targets strong points are added in the approximation state data The curve integral area error of the approximation state data is modified, to obtain the target state data of the equipment.It can protect While demonstrate,proving the accuracy of device status data statistics, the data volume of storage and display is reduced, saves network transmission resource and visitor The computing resource at family end reduces the resource loss during equipment O&M.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the acquisition method of device status data shown according to an exemplary embodiment;
Fig. 2 is a kind of schematic diagram of polygonal segments algorithm implementation procedure shown according to an exemplary embodiment;
Fig. 3 is the flow chart for implementing a kind of error correcting method exemplified according to Fig. 1;
Fig. 4 is a kind of schematic diagram of data point adding method implementation procedure shown according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of the acquisition device of device status data shown according to an exemplary embodiment;
Fig. 6 is the block diagram for implementing a kind of error correction module exemplified according to Fig.5,;
Fig. 7 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the acquisition method of device status data shown according to an exemplary embodiment, such as Fig. 1 It is shown, this method comprises:
Step 101, it is deleted by reset condition data of the polygonal segments algorithm to equipment, to obtain the equipment Approximation state data.
Illustratively, which is the running state data of collected equipment within a preset period of time.It can be with The device status data of the primary equipment is acquired (for example, power generation every preset duration (for example, 1 second) in the preset time period Machine power consumption or the mileage travelled of vehicle etc.), a numerical value of acquisition in every 1 second is a data point.The reset condition number According to including multiple data points.It, can be with the sequence of time order and function to the reset condition number for the ease of subsequent observation and analysis Multiple data points in are stored.In this way, using the time as x-axis coordinate (abscissa), using the corresponding numerical value of data point as y-axis Coordinate (ordinate), so that it may obtain the data and curves of the reset condition data.
Illustratively, the polygonal segments algorithm, also known as Douglas-Pu Ke algorithm (Douglas-Peucker It algorithm), is a kind of algorithm that curve approximation is expressed as to series of points, and reduces quantity a little.In a step 101, may be used To be deleted by existing polygonal segments algorithm the data point in the reset condition data.Specifically, the step 101 It include: that straight line section, the straightway are connected between the data and curves head and the tail two o'clock of reset condition data in step 1011 It is properly termed as the string of the data and curves;In step 1012, the distance straightway is obtained in the data and curves apart from maximum number Strong point X, and calculate the vertical range of data point X Yu the straightway;In step 1013, by the vertical range with preset Threshold value be compared;When the vertical range is less than the threshold value, in step 1014, determine that the straightway is the data and curves Approximation, i.e., the straightway be the approximation state data data and curves;Alternatively, when the vertical range is greater than the threshold value, In step 1015, retains data point X as cut-point, which is divided into two sections of (starting points to data point X and data Point X is to terminal), and above-mentioned steps 1011 to 1013 are carried out to this two sections of curves respectively, until all data points retained with The vertical range of corresponding string is both less than the threshold value.Finally, successively being obtained above-mentioned after all data and curves are all disposed Starting point, all cut-points and above-mentioned terminal (broken line for obtaining its formation), the approximation state number as the reset condition data According to.It is understood that multiple data points in the approximation state data are equally stored with the sequence of time order and function.
Step 102, by the way that multiple number of targets strong points are added in the approximation state data, to the approximation state data Curve integral area error is modified, to obtain the target state data of the equipment.
Illustratively, which is the approximation to reset condition data, be can be used for aobvious to device status data The not high equipment O&M scenarios of the required precision shown.But need further to calculate the device status data of echo Under equipment O&M scenarios, it is not attached that approximation state data will lead to final calculated result and equipment actual conditions, and then misleads fortune The judgement of dimension personnel.Therefore, it is necessary to be modified in a step 102 to the approximation state data.Specifically, to the judgement of error Based in approximation state data every two consecutive number strong point constitute curve integral area with it is same in the reset condition data The curve integral area that two data points are constituted.When two curve integral areas are identical, it is believed that the two data points it Between without error, and then retain the two data points;Alternatively, when two curve integral areas are not identical, it is believed that this two There are errors between a data point, and then by way of increasing a data point between two data points, both polishings phase The curve integral area of difference.After having traversed data point all in the approximation state data through the above steps, retain all The data point of addition and the approximation state data, the target state data of the equipment as final output.
In conclusion the disclosure can be deleted by reset condition data of the polygonal segments algorithm to equipment, with Obtain the approximation state data of the equipment;By the way that multiple number of targets strong points are added in the approximation state data, to the approximation The curve integral area error of status data is modified, to obtain the target state data of the equipment.It can guarantee equipment While the accuracy of status data statistics, the data volume of storage and display is reduced, saves network transmission resource and client Computing resource reduces the resource loss during equipment O&M.
Fig. 2 is the schematic diagram for implementing a kind of polygonal segments algorithm implementation procedure exemplified according to Fig. 1, wherein The reset condition data of a collected equipment within a preset period of time are shown in figure (2a), which includes number Strong point 1-8.As shown in Fig. 2, obtaining the process of the approximation state data of data point 1-8 by above-mentioned polygonal segments algorithm It may include: firstly, connecting straight line section 18 between data point 1 and data point 8;Secondly, obtaining in data and curves and being somebody's turn to do The maximum data point 4 of vertical range between straightway 18, and calculate the vertical range of the data point 4 and the straightway 18;It Afterwards, which is compared with preset threshold value, can determines that the vertical range is greater than the threshold value, then retaining should Data point 4 is used as cut-point, which is divided into two sections (data point 1 to data point 4 and data point 4 arrive data point 8), And above-mentioned processing step is carried out to this two segment datas curve respectively.In figure (2b), between data point 1 and data point 4, data Point 2 and the vertical range between data point 3 and straightway 14 are both less than above-mentioned threshold value, therefore, only retain the data point 1 and data Point 4, and then complete the approximation of the data between the data point 1 and data point 4.Meanwhile between data point 4 and data point 8, determine With the maximum data point 6 of vertical range of straightway 48, and then retain the data point 6.And then the difference logarithm in figure (2c) Data and curves between strong point 4 and data point 6 and data point 6 and data point 8 carry out approximation, finally obtain institute in figure (2d) The data and curves shown, corresponding approximation state data include: data point 1,4,6,7 and 8.
Fig. 3 is a kind of flow chart of error correcting method shown according to an exemplary embodiment, as shown in figure 3, the original Beginning status data includes the multiple data points being arranged successively with time sequencing, and above-mentioned steps 102 may include:
Step 1021, determining whether there is between i-th of data point and i+1 data point in the approximation state data Curve integral area error.
Illustratively, which may include: to determine the second data point and third data point, which is should Data point corresponding with i-th of data point in reset condition data, the third data point are in the reset condition data and should The corresponding data point of i+1 data point;Determine the first curve product between i-th of data point and the i+1 data point Facet product;Determine the second curve integral area between second data point and the third data point.It is understood that this It is identical data point that two data points are practical with i-th of data point and the third data point and the i+1 data point, Only in different data acquisition systems, this two groups of data points correspond to different curve integral areas.When determine first curve product When facet product and not identical the second curve integral area, i-th of the data point and i+1 in the approximation state data are determined There are curve integral area errors between data point.
Step 1022, when determine between i-th of data point and i+1 data point in the approximation state data exist song When line integral area error, the first data point is determined in the reset condition data.
Wherein, which is the number of i-th of data point and the i+1 data point in the reset condition data According to the intermediate point in curve.
Illustratively, in the data and curves of the reset condition data, i-th of data point and the i+1 data point it Between successively include: data point X, data point Y and data point Z, it is determined that data point Y be the intermediate point.When i-th of data point with When including even number data point between the i+1 data point, any one being located in the middle in two data points can be taken Data point is as first data point.
Step 1023, according to the target lateral coordinates of first data point, i-th of data point and the i+1 data Point determines the number of targets strong point.
Illustratively, which may include: by the second curve integral area, the target lateral coordinates, this i-th number The abscissa and ordinate at strong point and the abscissa of the i+1 data point and ordinate are as the defeated of area equivalence formula Enter, to obtain the target ordinate of area equivalence formula output;The number that the target ordinate and the target lateral coordinates are determined Strong point is as the number of targets strong point.
Wherein, which can be expressed as formula (1):
Wherein, S1 is the second curve integral area, x3For the known target lateral coordinates, x1And y1Respectively this i-th The abscissa and ordinate of data point, x2And y2The respectively abscissa and ordinate of the i+1 data point, y3For the formula (1) solution, this solution are likely to occur two kinds of positive number and negative as a result, only taking positive result herein, as the target ordinate.It should S1 can by the way that the integral of every two data point is calculated in the segment data curve in reset condition data,WithPractical is the calculating of trapezoidal (in special circumstances or triangle) area Formula.The meaning that the formula (1) is actually expressed is to be added to data point (x3, y3) after, the data point (x3, y3) respectively with number Strong point (x1, y1) and data point (x2, y2) composition two trapezoidal curve integral areas be equal to second curve integrate face Product.
Step 1024, which is added in the approximation state data, with to i-th of data point and this Curve integral area error between i+1 data point is modified.
Illustratively, which is added between i-th of data point and the i+1 data point, Ji Kegai Become curve integral area between the two, i.e., curve integral error is modified.
Step 1025, i=i+1 is enabled, circulation is executed from i-th of the data point and i+1 determined in the approximation state data It is added in the approximation state data with the presence or absence of curve integral area error to by the number of targets strong point between a data point, with The step of curve integral area error between i-th of data point and the i+1 data point is modified, until completing Amendment to the curve integral area error between every two consecutive number strong point in the approximation state data, to obtain the approximation shape The target state data of state data and multiple number of targets strong points composition.
Fig. 4 is a kind of schematic diagram of data point adding method implementation procedure shown according to an exemplary embodiment, wherein Scheming (4a) is the corresponding data and curves of approximation state data, above-mentioned steps 1021-1025 is based on, to the approximation state data When curve integral error is modified, first against in data point 1 and data point 4, obtains the two in reset condition curve and count Data point between strong point, i.e. data point 2 and data point 3 shown in figure (4b), and be above-mentioned intermediate point by data point 2, And then obtain the abscissa B of the data point 2.After secondary, setting has the data point h of target lateral coordinates B in figure (4c), and sets It is the area of the trapezoidal 1ABh and trapezoidal hBD4 and being equal to the area of trapezoidal 1AB2,2BC3 and 3CD4 in figure (4b) and, in turn According to above-mentioned formula (1), target ordinate is calculated.Finally, the number of targets strong point that abscissa B and target ordinate are determined H is added between the data point 1 of approximation state data and data point 4.In this way, data point 1, number of targets strong point h and data point 4 The target state data got after being as modified to the curve integral area error between data point 1 and data point 4.This Afterwards, then by same step respectively to data point 4 and data point 6, data point 6 and data point 7 and data point 7 and data point Curve integral area between 8 detects and corrects, and then by all number of targets strong points added in above process and original Target state data of some approximation state data as final output.
In conclusion the disclosure can be deleted by reset condition data of the polygonal segments algorithm to equipment, with Obtain the approximation state data of the equipment;By the way that multiple number of targets strong points are added in the approximation state data, to the approximation The curve integral area error of status data is modified, to obtain the target state data of the equipment.It can guarantee equipment While the accuracy of status data statistics, the data volume of storage and display is reduced, saves network transmission resource and client Computing resource reduces the resource loss during equipment O&M.
Fig. 5 is a kind of block diagram of the acquisition device of device status data shown according to an exemplary embodiment, such as Fig. 5 institute Show, which includes:
Data removing module 510, for being deleted by reset condition data of the polygonal segments algorithm to equipment, with Obtain the approximation state data of the equipment;
Error correction module 520, it is close to this for by the way that multiple number of targets strong points are added in the approximation state data It is modified like the curve integral area error of status data, to obtain the target state data of the equipment.
Fig. 6 is the block diagram for implementing a kind of error correction module exemplified according to Fig.5, as shown in fig. 6, the original shape State data include the multiple data points being arranged successively with time sequencing, the error correction module 520, comprising:
Error determines submodule 521, for determining i-th of data point and i+1 data in the approximation state data It whether there is curve integral area error between point;
First data point determines submodule 522, for when determine the approximation state data in i-th of data point and i-th+ There are when curve integral area error between 1 data point, the first data point is determined in the reset condition data, first number Strong point is i-th of data point and the intermediate point of the i+1 data point in the data and curves of the reset condition data;
Second data point determines submodule 523, for the target lateral coordinates according to first data point, i-th of data Point and the i+1 data point determine the number of targets strong point;
Data point adds submodule 524, for the number of targets strong point to be added in the approximation state data, with to this Curve integral area error between i data point and the i+1 data point is modified;
Implementation sub-module 525 is recycled, for enabling i=i+1, circulation executes i-th from the determination approximation state data Number of targets strong point is added to this to this with the presence or absence of curve integral area error between a data point and i+1 data point In approximation state data, to be repaired to the curve integral area error between i-th of data point and the i+1 data point Positive step, until completing repairing to the curve integral area error between every two consecutive number strong point in the approximation state data Just, target state data to obtain the approximation state data and multiple number of targets strong points form.
Optionally, which determines submodule 521, is used for:
Determine the second data point and third data point, second data point be the reset condition data in this i-th number The corresponding data point in strong point, the third data point are data point corresponding with the i+1 data point in the reset condition data;
Determine the first curve integral area between i-th of data point and the i+1 data point;
Determine the second curve integral area between second data point and the third data point;
When determining that the first curve integral area and the second curve integral area be not identical, the approximation state number is determined There are curve integral area errors between i-th of data point in and i+1 data point.
Optionally, which determines submodule 523, is used for:
By the second curve integral area, the target lateral coordinates, the abscissa of i-th of data point and the ordinate and it is somebody's turn to do Input of the abscissa and ordinate of i+1 data point as area equivalence formula, to obtain area equivalence formula output Target ordinate;Wherein, the area equivalence formula are as follows:
Wherein, S1 is the second curve integral area, x3For the target lateral coordinates, x1And y1Respectively i-th of data point Abscissa and ordinate, x2And y2The respectively abscissa and ordinate of the i+1 data point, y3For the target ordinate;
The data point that the target ordinate and the target lateral coordinates are determined is as the number of targets strong point.
In conclusion the disclosure can be deleted by reset condition data of the polygonal segments algorithm to equipment, with Obtain the approximation state data of the equipment;By the way that multiple number of targets strong points are added in the approximation state data, to the approximation The curve integral area error of status data is modified, to obtain the target state data of the equipment.It can guarantee equipment While the accuracy of status data statistics, the data volume of storage and display is reduced, saves network transmission resource and client Computing resource reduces the resource loss during equipment O&M.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 7 is the block diagram of a kind of electronic equipment 700 shown according to an exemplary embodiment.As shown in fig. 7, the electronics is set Standby 700 may include: processor 701, memory 702, multimedia component 703, input/output (I/O) interface 704, Yi Jitong Believe component 705.
Wherein, processor 701 is used to control the integrated operation of the electronic equipment 700, to complete above-mentioned equipment state number According to acquisition method in all or part of the steps.Memory 702 is for storing various types of data to support in the electronics The operation of equipment 700, these data for example may include any application program or side for operating on the electronic equipment 700 The instruction of method and the relevant data of application program, such as contact data, the message of transmitting-receiving, picture, audio, video etc.. The memory 702 can realize by any kind of volatibility or non-volatile memory device or their combination, such as quiet State random access memory (Static Random Access Memory, abbreviation SRAM), the read-only storage of electrically erasable Device (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), it is erasable to compile Journey read-only memory (Erasable Programmable Read-Only Memory, abbreviation EPROM), may be programmed read-only storage Device (Programmable Read-Only Memory, abbreviation PROM), and read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or CD.Multimedia component 703 may include screen and audio component.Wherein Screen for example can be touch screen, and audio component is used for output and/or input audio signal.For example, audio component may include One microphone, microphone is for receiving external audio signal.The received audio signal can be further stored in storage Device 702 is sent by communication component 705.Audio component further includes at least one loudspeaker, is used for output audio signal.I/O Interface 704 provides interface between processor 701 and other interface modules, other above-mentioned interface modules can be keyboard, mouse, Button etc..These buttons can be virtual push button or entity button.Communication component 705 is for the electronic equipment 700 and other Wired or wireless communication is carried out between equipment.Wireless communication, such as Wi-Fi, bluetooth, near-field communication (Near Field Communication, abbreviation NFC), 2G, 3G or 4G or they one or more of combination, therefore corresponding communication Component 705 may include: Wi-Fi module, bluetooth module, NFC module.
In one exemplary embodiment, electronic equipment 700 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device, Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array (Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member Part is realized, for executing the acquisition method of above-mentioned device status data.
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction, example are additionally provided It such as include the memory 702 of program instruction, above procedure instruction can be executed by the processor 701 of electronic equipment 700 on to complete The acquisition method for the device status data stated.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the disclosure, those skilled in the art are considering specification and practice After the disclosure, it is readily apparent that other embodiments of the disclosure, belongs to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, it can be combined in any appropriate way.Simultaneously between a variety of different embodiments of the disclosure Any combination can also be carried out, as long as it, without prejudice to the thought of the disclosure, equally should be considered as disclosure disclosure of that. The disclosure is not limited to the precision architecture being described above out, and the scope of the present disclosure is only limited by the attached claims System.

Claims (10)

1. a kind of acquisition method of device status data, which is characterized in that the described method includes:
It is deleted by reset condition data of the polygonal segments algorithm to equipment, to obtain the approximation state number of the equipment According to;
By the way that multiple number of targets strong points are added in the approximation state data, the curve of the approximation state data is integrated Area error is modified, to obtain the target state data of the equipment.
2. the method according to claim 1, wherein the reset condition data include successively being arranged with time sequencing Multiple data points of column, it is described by the way that multiple number of targets strong points are added in the approximation state data, to the approximate shape The curve integral area of state data is modified, to obtain the target state data of the equipment, comprising:
It determines and integrates face with the presence or absence of curve between i-th of the data point and i+1 data point in the approximation state data Product error;
When determining that there are curve integral areas between i-th of data point and i+1 data point in the approximation state data When error, the first data point is determined in the reset condition data, first data point is i-th of data point and institute State intermediate point of the i+1 data point in the data and curves of the reset condition data;
Institute is determined according to the target lateral coordinates of first data point, i-th of data point and the i+1 data point State number of targets strong point;
The number of targets strong point is added in the approximation state data, to i-th of data point and the i+1 Curve integral area error between data point is modified;
I=i+1 is enabled, circulation executes i-th of data point and i+1 data point from the determination approximation state data Between the number of targets strong point is added in the approximation state data to described with the presence or absence of curve integral area error, with The step of curve integral area error between i-th of data point and the i+1 data point is modified, until The amendment to the curve integral area error between every two consecutive number strong point in the approximation state data is completed, to obtain State the target state data of approximation state data and multiple number of targets strong points composition.
3. according to the method described in claim 2, it is characterized in that, i-th of number in the determination approximation state data It whether there is curve integral area error between strong point and i+1 data point, comprising:
Determine the second data point and third data point, second data point be in the reset condition data with described i-th The corresponding data point of data point, the third data point are corresponding with the i+1 data point in the reset condition data Data point;
Determine the first curve integral area between i-th of data point and the i+1 data point;
Determine the second curve integral area between second data point and the third data point;
When determining that the first curve integral area and the second curve integral area be not identical, the approximation state is determined There are curve integral area errors between i-th of data point in data and i+1 data point.
4. according to the method described in claim 3, it is characterized in that, the target lateral coordinates according to first data point, I-th of data point and the i+1 data point determine the number of targets strong point, comprising:
By the second curve integral area, the target lateral coordinates, the abscissa of i-th of data point and ordinate and Input of the abscissa and ordinate of the i+1 data point as area equivalence formula, it is of equal value public to obtain the area The target ordinate of formula output;Wherein, the area equivalence formula are as follows:
Wherein, S1 is the second curve integral area, x3For the target lateral coordinates, x1And y1Respectively described i-th of data The abscissa and ordinate of point, x2And y2The abscissa and ordinate of the respectively described i+1 data point, y3For the target Ordinate;
The data point that the target ordinate and the target lateral coordinates are determined is as the number of targets strong point.
5. a kind of acquisition device of device data, which is characterized in that described device includes:
Data removing module, for being deleted by reset condition data of the polygonal segments algorithm to equipment, to obtain State the approximation state data of equipment;
Error correction module, for by the way that multiple number of targets strong points are added in the approximation state data, to the approximation The curve integral area error of status data is modified, to obtain the target state data of the equipment.
6. device according to claim 5, which is characterized in that the reset condition data include successively being arranged with time sequencing Multiple data points of column, the error correction module, comprising:
Error determines submodule, for determining between i-th of data point and i+1 data point in the approximation state data With the presence or absence of curve integral area error;
First data point determines submodule, for when i-th of the data point and i+1 number in the determining approximation state data There are the first data point, first number when curve integral area error, are determined in the reset condition data between strong point Strong point is the centre of i-th of data point and the i+1 data point in the data and curves of the reset condition data Point;
Second data point determines submodule, for according to the target lateral coordinates of first data point, i-th of data point with And the i+1 data point determines the number of targets strong point;
Data point adds submodule, for the number of targets strong point to be added in the approximation state data, to described i-th Curve integral area error between a data point and the i+1 data point is modified;
Implementation sub-module is recycled, for enabling i=i+1, circulation executes i-th of number from the determination approximation state data The number of targets strong point is added to institute to described with the presence or absence of curve integral area error between strong point and i+1 data point It states in approximation state data, to the curve integral area error between i-th of data point and the i+1 data point The step of being modified, until completing to the curve integral area between every two consecutive number strong point in the approximation state data The amendment of error, with the target state data for obtaining the approximation state data and multiple number of targets strong points form.
7. device according to claim 6, which is characterized in that the error determines submodule, is used for:
Determine the second data point and third data point, second data point be in the reset condition data with described i-th The corresponding data point of data point, the third data point are corresponding with the i+1 data point in the reset condition data Data point;
Determine the first curve integral area between i-th of data point and the i+1 data point;
Determine the second curve integral area between second data point and the third data point;
When determining that the first curve integral area and the second curve integral area be not identical, the approximation state is determined There are curve integral area errors between i-th of data point in data and i+1 data point.
8. device according to claim 7, which is characterized in that second data point determines submodule, is used for:
By the second curve integral area, the target lateral coordinates, the abscissa of i-th of data point and ordinate and Input of the abscissa and ordinate of the i+1 data point as area equivalence formula, it is of equal value public to obtain the area The target ordinate of formula output;Wherein, the area equivalence formula are as follows:
Wherein, S1 is the second curve integral area, x3For the target lateral coordinates, x1And y1Respectively described i-th of data The abscissa and ordinate of point, x2And y2The abscissa and ordinate of the respectively described i+1 data point, y3For the target Ordinate;
The data point that the target ordinate and the target lateral coordinates are determined is as the number of targets strong point.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of any one of claim 1-4 the method is realized when processor executes.
10. a kind of electronic equipment characterized by comprising
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize described in any one of claim 1-4 The step of method.
CN201811613069.6A 2018-12-27 2018-12-27 Equipment state data acquisition method and device, storage medium and electronic equipment Active CN109828894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811613069.6A CN109828894B (en) 2018-12-27 2018-12-27 Equipment state data acquisition method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811613069.6A CN109828894B (en) 2018-12-27 2018-12-27 Equipment state data acquisition method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109828894A true CN109828894A (en) 2019-05-31
CN109828894B CN109828894B (en) 2022-06-21

Family

ID=66861439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811613069.6A Active CN109828894B (en) 2018-12-27 2018-12-27 Equipment state data acquisition method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109828894B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113782173A (en) * 2021-11-11 2021-12-10 深圳市健和医疗科技服务有限公司 Intelligent parameter information acquisition system for predicting state of clinical emergency equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307270A1 (en) * 2007-06-07 2008-12-11 Micron Technology, Inc. Emerging bad block detection
CN103309964A (en) * 2013-06-03 2013-09-18 广州市香港科大霍英东研究院 High-efficiency visible monitoring analysis system for large-scale traffic data
CN104154916A (en) * 2013-08-30 2014-11-19 北京航天发射技术研究所 Vehicle positioning device based on laser gyroscope strapdown inertial measurement unit
CN107656227A (en) * 2017-09-21 2018-02-02 大连理工大学 Magnetometer calibration method based on Levenberg Marquardt algorithms
CN108803552A (en) * 2018-08-31 2018-11-13 承德建龙特殊钢有限公司 A kind of the monitoring system and monitoring method of equipment fault

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307270A1 (en) * 2007-06-07 2008-12-11 Micron Technology, Inc. Emerging bad block detection
CN103309964A (en) * 2013-06-03 2013-09-18 广州市香港科大霍英东研究院 High-efficiency visible monitoring analysis system for large-scale traffic data
CN104154916A (en) * 2013-08-30 2014-11-19 北京航天发射技术研究所 Vehicle positioning device based on laser gyroscope strapdown inertial measurement unit
CN107656227A (en) * 2017-09-21 2018-02-02 大连理工大学 Magnetometer calibration method based on Levenberg Marquardt algorithms
CN108803552A (en) * 2018-08-31 2018-11-13 承德建龙特殊钢有限公司 A kind of the monitoring system and monitoring method of equipment fault

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113782173A (en) * 2021-11-11 2021-12-10 深圳市健和医疗科技服务有限公司 Intelligent parameter information acquisition system for predicting state of clinical emergency equipment
CN113782173B (en) * 2021-11-11 2022-03-08 深圳市健和医疗科技服务有限公司 Intelligent parameter information acquisition system for predicting state of clinical emergency equipment

Also Published As

Publication number Publication date
CN109828894B (en) 2022-06-21

Similar Documents

Publication Publication Date Title
US11422261B2 (en) Robot relocalization method and apparatus and robot using the same
CN106964156B (en) Path finding method and device
CN111896914A (en) Cooperative positioning method, device, equipment and storage medium
CN110471409B (en) Robot inspection method and device, computer readable storage medium and robot
KR102054090B1 (en) Methods, devices, storage media and devices for automatically discovering gas station POIs
CN110047095A (en) Tracking, device and terminal device based on target detection
US11941989B2 (en) Method for determining collision distance, storage medium and electronic equipment
US11037301B2 (en) Target object detection method, readable storage medium, and electronic device
CN111433780A (en) Lane line detection method, lane line detection apparatus, and computer-readable storage medium
CN111177295A (en) Image-building ghost eliminating method and device, computer-readable storage medium and robot
CN112700478A (en) Target tracking method, system, computer-readable storage medium, and program product
CN114255252B (en) Obstacle contour acquisition method, device, equipment and computer-readable storage medium
CN109828894A (en) Acquisition method, device, storage medium and the electronic equipment of device status data
CN113722409A (en) Method and device for determining spatial relationship, computer equipment and storage medium
CN106303153B (en) A kind of image processing method and device
CN115019150B (en) Target detection fixed point model establishing method and device and readable storage medium
US11619515B2 (en) Method and apparatus for processing positioning data, device, storage medium and vehicle
CN115014366A (en) Target fusion method and device, vehicle and storage medium
CN115617025A (en) Path planning method, device, equipment and computer readable storage medium
CN114741616A (en) Method and device for measuring spatial position relationship and electronic equipment
CN112686476A (en) Path generation method, system, equipment and storage medium applied to map
CN115622057B (en) Power supply scheduling system power supply topology analysis method and device and electronic equipment
CN116125961B (en) Vehicle control index generation method, device, equipment and computer readable medium
CN112685246B (en) Time sequence data processing method and device
CN109814121B (en) High-speed rail box beam web positioning method and device, terminal and computer readable 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
GR01 Patent grant
GR01 Patent grant