CN111311184B - Data judging method and device based on matching degree value and computer equipment - Google Patents
Data judging method and device based on matching degree value and computer equipment Download PDFInfo
- Publication number
- CN111311184B CN111311184B CN202010093381.8A CN202010093381A CN111311184B CN 111311184 B CN111311184 B CN 111311184B CN 202010093381 A CN202010093381 A CN 202010093381A CN 111311184 B CN111311184 B CN 111311184B
- Authority
- CN
- China
- Prior art keywords
- data
- dimensional shape
- preset
- time
- value
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 230000006870 function Effects 0.000 claims abstract description 122
- 230000002159 abnormal effect Effects 0.000 claims abstract description 82
- 239000007787 solid Substances 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 230000006872 improvement Effects 0.000 claims description 12
- 238000005259 measurement Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 10
- 230000005856 abnormality Effects 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 4
- 238000007405 data analysis Methods 0.000 abstract description 10
- 230000000875 corresponding effect Effects 0.000 description 80
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0633—Workflow analysis
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Data Mining & Analysis (AREA)
- Image Analysis (AREA)
Abstract
The application discloses a data judging method, a device, computer equipment and a storage medium based on a matching degree value, wherein the method comprises the following steps: acquiring n pieces of first data; correspondingly generating n time functions of the n first data changing along with time; if none of the n time functions is abnormal, according to the formula: Obtaining n differential average values; calling a preset appointed three-dimensional shape; keeping the bottom surface of the appointed three-dimensional shape unchanged, and adjusting n side surfaces of the appointed three-dimensional shape so as to obtain an intermediate three-dimensional shape; acquiring a intercepting height corresponding to a current time point, intercepting a plane, and acquiring an intersecting contour pattern; calculating the matching degree value of the intersecting contour pattern and the standard pattern; if the matching degree value is larger than the matching threshold value, judging that the data is normal. Thereby obtaining accurate and apparent data analysis results and improving the control degree of the whole data.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a data determining method, apparatus, computer device and storage medium based on a matching degree value.
Background
In the computer field, there are many situations where multiple teams are required to cooperate, for example, where multiple teams are required to be responsible for one sub-project separately, thereby completing a total computer project. In order to complete the total computer project in time, it is necessary that the progress of each sub-project is up to standard. In order to ensure that the total progress is not delayed, the traditional scheme can collect the progress data of each team in real time and display the progress data, and then judge whether each progress data meets the standard or not so as to ensure that each progress data meets the standard. The scheme only carries out summary display on the existing data, only can abstract display on the current progress, and is difficult to obtain accurate and apparent data analysis results.
Disclosure of Invention
The application mainly aims to provide a data judging method, a data judging device, computer equipment and a storage medium based on a matching degree value, and aims to obtain an accurate and apparent data analysis result and improve the control degree of overall data.
In order to achieve the above object, the present application provides a data determining method based on a matching degree value, including the following steps:
acquiring n first data sent by n first terminals respectively, wherein the n first data are continuous in time, and n is an integer greater than 2;
Correspondingly generating n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) of the n first data changing along with time, and judging whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are abnormal according to a preset abnormal time function judging method;
If none of the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) is abnormal, then according to the formula:
Calculating differential mean values M i of an ith time function f i (t), so as to obtain n differential mean values M 1、M2、...、Mn respectively corresponding to the n time functions, wherein i is an integer which is more than 0 and less than or equal to n, t0 is an initial time point of the first data, and tm is a current time point;
Invoking a preset appointed three-dimensional shape in a preset virtual three-dimensional space, wherein the appointed three-dimensional shape is a closed shape formed by a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface are congruent n-sided shapes, and the n side surfaces are perpendicular to the bottom surface;
Keeping the bottom surface of the appointed three-dimensional shape unchanged, and adjusting n side surfaces of the appointed three-dimensional shape so that the slope of the n side surfaces of the appointed three-dimensional shape relative to the bottom surface is respectively equal to the n differential average values M 1、M2、...、Mn, thereby obtaining an intermediate three-dimensional shape;
Acquiring a interception height corresponding to a current time point according to a preset corresponding relation between time and height, and generating an interception plane parallel to the bottom surface in the middle three-dimensional shape, wherein the distance between the interception plane and the bottom surface is equal to the interception height, and acquiring an intersecting contour pattern of the interception plane and the middle three-dimensional shape;
Calculating a matching degree value of the intersecting outline pattern and a preset standard pattern according to a preset matching degree calculation method, and judging whether the matching degree value is larger than a preset matching threshold value or not;
And if the matching degree value is larger than a preset matching threshold value, judging that the n pieces of first data are normal.
Further, the step of determining whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are abnormal according to a preset abnormal time function determining method includes:
using the formula:
Calculating to obtain an abnormality measurement function Y i (t) corresponding to an ith time function f i (t), wherein f i (t) is the ith time function, g i (t) is a preset standard function corresponding to the ith time function, L is a preset threshold parameter greater than 0, t is time, and min is a minimum function;
According to the formula: abnormal ratio = abnormal time length/total time length, wherein the abnormal time length refers to the sum of time lengths when the value of the abnormal measurement function Y i (t) is L, the total time length refers to the value length of the abnormal measurement function Y i (t) on a time axis, and whether the abnormal ratio is greater than a preset abnormal threshold value is judged;
And if the abnormal proportion is not greater than a preset abnormal threshold, judging that the ith time function f i (t) is not abnormal.
Further, the step of calling a preset designated three-dimensional shape in a preset virtual three-dimensional space, wherein the designated three-dimensional shape is a closed shape formed by a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface are congruent n-sided shapes, and the n side surfaces are perpendicular to the bottom surface, comprises the following steps:
Selecting a plurality of initial three-dimensional shapes from a preset three-dimensional shape library, wherein the initial three-dimensional shapes are closed shapes composed of a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface of the initial three-dimensional shapes are congruent n-sided shapes, and the initial three-dimensional shapes and the n side surfaces are perpendicular to the bottom surface;
Acquiring the length of the longest side and the length of the shortest side of the bottom surface of the initial three-dimensional shape, and according to the formula: length ratio = length of longest side/length of shortest side, calculating to obtain a plurality of length ratios corresponding to the plurality of initial three-dimensional shapes respectively;
And calling a preset important data sorting table, wherein the important data sorting table records the importance degree values corresponding to the n first data, and the importance degree values are expressed according to the formula: the importance ratio=importance maximum value/importance minimum value, wherein the importance ratio is calculated, the importance ranking table is arranged according to the descending order of importance values, the importance maximum value refers to the importance value of the first data ranked first in the importance ranking table, and the importance minimum value refers to the importance value of the first data ranked last in the importance ranking table;
and selecting a designated three-dimensional shape from the plurality of initial three-dimensional shapes, wherein the length ratio of the designated three-dimensional shape is closest to the importance ratio.
Further, the step of adjusting the n sides of the specified three-dimensional shape so that slopes of the n sides of the specified three-dimensional shape with respect to the bottom surface are respectively equal to the n differential means M 1、M2、...、Mn, includes:
Counting the lengths of n bottom edges of n sides of the appointed three-dimensional shape, and generating a length sorting table, wherein the length sorting table records the lengths of the n bottom edges and is arranged in descending order according to length values;
modifying the slope of the side surface of the first rank in the length ranking table to be the differential mean value corresponding to the first data of the first rank in the important data ranking table; modifying the slope of the side surface of the second ranking in the length ranking table to be the differential average value corresponding to the first data of the second ranking in the important data ranking table; ..; and modifying the slope of the side surface of the n-th ranking in the length ranking table to be the differential average value corresponding to the first data of the n-th ranking in the important data ranking table.
Further, before the step of maintaining the bottom surface of the specified three-dimensional shape unchanged and adjusting the n sides of the specified three-dimensional shape so that the slopes of the n sides of the specified three-dimensional shape relative to the bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, the method further includes:
judging whether a specified differential average value smaller than a preset average value threshold value exists in the n differential average values;
If a specified differential mean value smaller than a preset mean value threshold exists in the n differential mean values, modifying the numerical value of the specified differential mean value into the mean value threshold, and marking a reminding mark on the specified differential mean value;
Generating a side adjustment instruction, wherein the side adjustment instruction is used for instructing to adjust n sides of the appointed three-dimensional shape, so that the slopes of the n sides of the appointed three-dimensional shape relative to the bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, and thus an intermediate three-dimensional shape is obtained.
Further, the standard pattern and the intersecting contour pattern are n-polygons, and the step of calculating the matching degree value of the intersecting contour pattern and the preset standard pattern according to a preset matching degree calculation method includes:
Acquiring a first center position of the standard pattern and a second center position of the intersecting contour pattern; acquiring a first side midpoint of the longest side of the standard pattern and acquiring a second side midpoint of the longest side of the intersecting profile pattern;
overlaying the standard pattern on the intersecting profile pattern such that the first center location and the second center location coincide and the first edge midpoint, the second edge midpoint, the first center location are on the same straight line;
Acquiring non-overlapped parts on the standard patterns, and according to the formula: matching degree value= (area of the standard pattern-area of the non-overlapping portion)/area of the standard pattern, and matching degree value of the intersecting profile pattern and a preset standard pattern is obtained.
Further, after the step of determining that the n first data are normal if the matching degree value is greater than a preset matching threshold, the step includes:
Acquiring preset termination time, acquiring termination height corresponding to the termination time according to the corresponding relation between the time and the height, and generating a termination plane parallel to the bottom surface of the middle three-dimensional shape, wherein the distance between the termination plane and the bottom surface is equal to the termination height;
Judging whether the termination plane intersects the intermediate solid shape;
If the termination plane does not intersect the intermediate solid shape, translating the termination plane downward a specified length such that the termination plane intersects the intermediate solid shape;
and acquiring a specified time length corresponding to the specified length according to the corresponding relation between the time and the height, and sending progress improvement information to the first terminal, wherein the progress improvement information is attached with the specified time length.
The application provides a data judging device based on a matching degree value, which comprises:
The first data acquisition unit is used for acquiring n pieces of first data sent by n first terminals respectively, wherein the n pieces of first data are continuous in time, and n is an integer greater than 2;
an anomaly determination unit, configured to correspondingly generate n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) of the n first data that change with time, and determine whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are anomaly according to a preset anomaly time function determination method;
The differential mean value calculation unit is configured to, if none of the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) is abnormal, calculate a differential mean value according to the formula:
Calculating differential mean values M i of an ith time function f i (t), so as to obtain n differential mean values M 1、M2、...、Mn respectively corresponding to the n time functions, wherein i is an integer which is more than 0 and less than or equal to n, t0 is an initial time point of the first data, and tm is a current time point;
A designated three-dimensional shape calling unit, configured to call a preset designated three-dimensional shape in a preset virtual three-dimensional space, where the designated three-dimensional shape is a closed shape formed by a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface are congruent n-sided shapes, and the n side surfaces are all perpendicular to the bottom surface;
A side surface adjusting unit, configured to keep the bottom surface of the specified three-dimensional shape unchanged, and adjust n side surfaces of the specified three-dimensional shape so that slopes of the n side surfaces of the specified three-dimensional shape relative to the bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, thereby obtaining an intermediate three-dimensional shape;
an intersecting contour pattern obtaining unit, configured to obtain an intersecting height corresponding to a current time point according to a preset correspondence between time and height, and generate an intercepting plane parallel to the bottom surface in the intermediate three-dimensional shape, where a distance between the intercepting plane and the bottom surface is equal to the intercepting height, and obtain an intersecting contour pattern of the intercepting plane and the intermediate three-dimensional shape;
The matching degree value calculating unit is used for calculating the matching degree value of the intersecting contour pattern and a preset standard pattern according to a preset matching degree calculating method and judging whether the matching degree value is larger than a preset matching threshold value or not;
and the data normal judging unit is used for judging that the n pieces of first data are normal if the matching degree value is larger than a preset matching threshold value.
The present application provides a computer device comprising a memory storing a computer program and a processor implementing the steps of any of the methods described above when the processor executes the computer program.
The present application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of the preceding claims.
According to the data judging method, the data judging device, the computer equipment and the storage medium based on the matching degree value, n pieces of first data respectively sent by n pieces of first terminals are obtained; correspondingly generating n time functions of the n first data changing along with time; if none of the n time functions is abnormal, according to the formula:
Obtaining n differential average values respectively corresponding to the n time functions; calling a preset appointed three-dimensional shape in a preset virtual three-dimensional space; keeping the bottom surface of the appointed three-dimensional shape unchanged, and adjusting n side surfaces of the appointed three-dimensional shape so as to obtain an intermediate three-dimensional shape; acquiring a intercepting height corresponding to a current time point, generating an intercepting plane parallel to the bottom surface in the middle three-dimensional shape, and acquiring an intersecting contour pattern; calculating the matching degree value of the intersecting contour pattern and a preset standard pattern; and if the matching degree value is larger than a preset matching threshold value, judging that the n pieces of first data are normal. Thereby obtaining accurate and apparent data analysis results and improving the control degree of the whole data.
Drawings
FIG. 1 is a flow chart of a data determining method based on a matching degree value according to an embodiment of the application;
FIG. 2 is a schematic block diagram of a data determining device based on a matching degree value according to an embodiment of the present application;
fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
Referring to fig. 1, an embodiment of the present application provides a data determining method based on a matching degree value, including the following steps:
s1, acquiring n pieces of first data respectively transmitted by n pieces of first terminals, wherein the n pieces of first data are continuous in time, and n is an integer greater than 2;
S2, correspondingly generating n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) of the n first data changing along with time, and judging whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are abnormal according to a preset abnormal time function judging method;
S3, if none of the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) is abnormal, according to the formula:
Calculating differential mean values M i of an ith time function f i (t), so as to obtain n differential mean values M 1、M2、...、Mn respectively corresponding to the n time functions, wherein i is an integer which is more than 0 and less than or equal to n, t0 is an initial time point of the first data, and tm is a current time point;
S4, calling a preset appointed three-dimensional shape in a preset virtual three-dimensional space, wherein the appointed three-dimensional shape is a closed shape formed by a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface are congruent n-sided shapes, and the n side surfaces are perpendicular to the bottom surface;
S5, keeping the bottom surface of the appointed three-dimensional shape unchanged, and adjusting n side surfaces of the appointed three-dimensional shape so that the slope of the n side surfaces of the appointed three-dimensional shape relative to the bottom surface is respectively equal to the n differential average values M 1、M2、...、Mn, thereby obtaining an intermediate three-dimensional shape;
S6, acquiring a interception height corresponding to the current time point according to a preset corresponding relation between time and height, and generating an interception plane parallel to the bottom surface in the middle three-dimensional shape, wherein the distance between the interception plane and the bottom surface is equal to the interception height, and acquiring an intersecting contour pattern of the interception plane and the middle three-dimensional shape;
S7, calculating a matching degree value of the intersecting outline pattern and a preset standard pattern according to a preset matching degree calculation method, and judging whether the matching degree value is larger than a preset matching threshold value or not;
and S8, if the matching degree value is larger than a preset matching threshold value, judging that the n pieces of first data are normal.
The application can be applied to any feasible scene, such as a scene in which multiple teams are respectively responsible for one sub-project, so as to cooperatively complete one total project. The application converts the abstract n first data into the intersecting outline pattern with the appearance to obtain the accurate and apparent data analysis result, so that the control degree of the overall data (total items) is higher.
As described in step S1, n pieces of first data respectively sent by n pieces of first terminals are acquired, where n is an integer greater than 2, and all the n pieces of first data are consecutive in time. The first data may be any feasible data, such as related data of the sub-item, such as the number of completed code lines, etc. And the n first data are all consecutive in time, so that the first data are differentiable in time, so that a differential average can be obtained in a subsequent process.
As described in the above step S2, n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) of the n first data that change with time are correspondingly generated, and according to a preset abnormal time function judging method, whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are abnormal is judged. In order to prevent occurrence of abnormal data, such as artificially forged abnormal data, the present application uses an abnormal time function judging method to judge whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are abnormal. The abnormal time function judging method may be any feasible method, for example, counting the occurrence times of extreme points of the time function, and if the occurrence times of the extreme points are greater than a preset number threshold, judging that the time function is abnormal (because the occurrence times of the extreme points are too frequent, indicating that the corresponding first data, such as progress data, is in a state of rapid fluctuation, which is not consistent with the normal condition, and thus judging that the time function is abnormal).
As described in the above step S3, if none of the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) is abnormal, the following formula is adopted:
And calculating a differential mean value M i of an ith time function f i (t), so as to obtain n differential mean values M 1、M2、...、Mn respectively corresponding to the n time functions, wherein i is an integer which is more than 0 and less than or equal to n, t0 is an initial time point of the first data, and tm is a current time point. If none of the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) is abnormal, indicating that the data is not forged, further performing differential mean calculation. The application adopts the formula:
The differential mean value M i of the ith time function f i (t) is calculated so that each differential mean value can be used as an indicator for measuring the progress of the corresponding data.
As described in the above step S4, a preset designated three-dimensional shape is called in a preset virtual three-dimensional space, where the designated three-dimensional shape is a closed shape formed by a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface are congruent n-sided shapes, and the n side surfaces are all perpendicular to the bottom surface. Wherein the specified stereoscopic shape may be any feasible shape. Wherein the specified stereo shape will act as an intermediary for converting the abstract first data into the avatar information, the selection of the specified stereo shape is therefore preferably associated with the first data, for example: selecting a plurality of initial three-dimensional shapes from a preset three-dimensional shape library, wherein the initial three-dimensional shapes are closed shapes composed of a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface of the initial three-dimensional shapes are congruent n-sided shapes, and the initial three-dimensional shapes and the n side surfaces are perpendicular to the bottom surface; acquiring the length of the longest side and the length of the shortest side of the bottom surface of the initial three-dimensional shape, and according to the formula: length ratio = length of longest side/length of shortest side, calculating to obtain a plurality of length ratios corresponding to the plurality of initial three-dimensional shapes respectively; and calling a preset important data sorting table, wherein the important data sorting table records the importance degree values corresponding to the n first data, and the importance degree values are expressed according to the formula: the importance ratio=importance maximum value/importance minimum value, wherein the importance ratio is calculated, the importance ranking table is arranged according to the descending order of importance values, the importance maximum value refers to the importance value of the first data ranked first in the importance ranking table, and the importance minimum value refers to the importance value of the first data ranked last in the importance ranking table; and selecting a designated three-dimensional shape from the plurality of initial three-dimensional shapes, wherein the length ratio of the designated three-dimensional shape is closest to the importance ratio.
As described in the above step S5, the bottom surface of the specified three-dimensional shape is kept unchanged, and the n sides of the specified three-dimensional shape are adjusted so that the slopes of the n sides of the specified three-dimensional shape relative to the bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, thereby obtaining an intermediate three-dimensional shape. The application obtains a new intermediate three-dimensional shape by keeping the bottom surface of the specified three-dimensional shape unchanged and adjusting n side surfaces of the specified three-dimensional shape. Since the slopes of the n sides with respect to the bottom surface of the intermediate three-dimensional shape are respectively equal to the n differential means M 1、M2、...、Mn, the slope of each side is correlated with the progress of the corresponding first data, so that the data completion can be reflected in the intermediate three-dimensional shape, thereby converting the abstract first data into an apparent intermediate three-dimensional shape.
According to the above step S6, according to the preset correspondence between time and height, the intercepting height corresponding to the current time point is obtained, and an intercepting plane parallel to the bottom surface is generated in the middle three-dimensional shape, wherein the distance between the intercepting plane and the bottom surface is equal to the intercepting height, and the intersecting contour pattern of the intercepting plane and the middle three-dimensional shape is obtained. Each height value of the intermediate three-dimensional shape reflects a first data condition at a time point (because one side surface represents one first data), so that the height value of the intermediate three-dimensional shape has an exact correspondence with time. Accordingly, the intercepting height corresponding to the current time point can be obtained according to the corresponding relation between the preset time and the height. And generating a cutting plane parallel to the bottom surface in the middle three-dimensional shape, wherein the distance between the cutting plane and the bottom surface is equal to the cutting height, and acquiring an intersecting contour pattern of the cutting plane and the middle three-dimensional shape. So that the intersecting profile pattern is an apparent reaction to the progress status of all the first data at the current time. Ideally, if the first data are all completed in an ideal schedule and the current point in time is exactly the cut-off point in time, then the intersecting profile pattern will be one point. Whereas, in a non-ideal case, the progress of the different first data is fast or slow and the current point in time is not the cut-off point in time, then the intersecting profile pattern will be a polygon.
As described in step S7, according to a preset matching degree calculating method, a matching degree value of the intersecting profile pattern and a preset standard pattern is calculated, and whether the matching degree value is greater than a preset matching threshold value is determined. The standard pattern is a pattern obtained by performing all first data at the current time according to a preset progress (namely, the slope of each side is set to be the slope corresponding to the preset progress, so that the obtained pattern) and is an apparent reaction of the progress requirement. Therefore, according to a preset matching degree calculating method, the matching degree value of the intersecting outline pattern and a preset standard pattern is calculated, and whether the matching degree value is larger than a preset matching threshold value or not is judged, so that whether the progress is behind or not can be confirmed.
As described in step S8, if the matching degree value is greater than a preset matching threshold, it is determined that the n pieces of first data are normal. If the matching degree value is greater than a preset matching threshold, the total progress (namely, the total progress of the n pieces of first data) meets the requirement, so that the n pieces of first data are judged to be normal. Compared with single abstract data comparison in the prior art, the application realizes the data analysis with the appearance, and realizes the comprehensive analysis of all data, thereby improving the accuracy of data judgment.
In one embodiment, the step S2 of determining whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are abnormal according to a preset abnormal time function determining method includes:
s201, utilizing the formula:
Calculating to obtain an abnormality measurement function Y i (t) corresponding to an ith time function f i (t), wherein f i (t) is the ith time function, g i (t) is a preset standard function corresponding to the ith time function, L is a preset threshold parameter greater than 0, t is time, and min is a minimum function;
S202, according to the formula: abnormal ratio = abnormal time length/total time length, wherein the abnormal time length refers to the sum of time lengths when the value of the abnormal measurement function Y i (t) is L, the total time length refers to the value length of the abnormal measurement function Y i (t) on a time axis, and whether the abnormal ratio is greater than a preset abnormal threshold value is judged;
s203, if the abnormal proportion is not greater than a preset abnormal threshold, judging that the ith time function f i (t) is not abnormal.
As described above, it is realized that whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are abnormal or not is judged according to a preset abnormal time function judgment method. The application adopts a characteristic mode to judge whether the time function is abnormal, namely, a formula is utilizedCalculating to obtain an anomaly measure function Y i (t) corresponding to the ith time function f i (t), wherein when the value of the anomaly measure function Y i (t) is equal to L, the anomaly measure function F i (t) is indicated, and when the value of the anomaly measure function Y i (t) is not equal to L, the anomaly measure function F i (t) is indicated to be normal, so that the anomaly time length and the normal time length of the ith time function f i (t) can be obtained according to the formula: abnormal ratio = abnormal time length/total time length, if the abnormal ratio is not greater than a preset abnormal threshold, determining that the ith time function f i (t) is not abnormal. So as to rapidly and accurately analyze whether the ith time function f i (t) has an abnormal condition such as data falsification.
In one embodiment, the calling a preset designated three-dimensional shape in a preset virtual three-dimensional space, where the designated three-dimensional shape is a closed shape formed by a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface are congruent n-sided shapes, and the n side surfaces are perpendicular to the bottom surface, and step S4 includes:
S401, selecting a plurality of initial three-dimensional shapes from a preset three-dimensional shape library, wherein the initial three-dimensional shapes are closed shapes composed of a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface of the initial three-dimensional shapes are congruent n-sided shapes, and the initial three-dimensional shapes and the n side surfaces are perpendicular to the bottom surface;
S402, acquiring the length of the longest side and the length of the shortest side of the bottom surface of the initial three-dimensional shape, and according to a formula: length ratio = length of longest side/length of shortest side, calculating to obtain a plurality of length ratios corresponding to the plurality of initial three-dimensional shapes respectively;
S403, a preset important data sorting table is called, wherein the important data sorting table records the importance degree values corresponding to the n pieces of first data, and the importance degree values are expressed according to the formula: the importance ratio=importance maximum value/importance minimum value, wherein the importance ratio is calculated, the importance ranking table is arranged according to the descending order of importance values, the importance maximum value refers to the importance value of the first data ranked first in the importance ranking table, and the importance minimum value refers to the importance value of the first data ranked last in the importance ranking table;
s404, selecting a designated three-dimensional shape from the plurality of initial three-dimensional shapes, wherein the length ratio of the designated three-dimensional shape is the closest to the importance ratio.
As described above, invoking a preset specified stereoscopic shape in a preset virtual three-dimensional space is achieved. The method and the device preferably adopt a mode of designating the three-dimensional shape to be related to the first data so as to improve the accuracy of data judgment. Therefore, a plurality of initial three-dimensional shapes are selected from a preset three-dimensional shape library, the length of the longest side and the length of the shortest side of the bottom surface of the initial three-dimensional shapes are obtained, and the following formula is adopted: length ratio = length of longest side/length of shortest side, calculating to obtain a plurality of length ratios corresponding to the plurality of initial three-dimensional shapes respectively; acquiring the length of the longest side and the length of the shortest side of the bottom surface of the initial three-dimensional shape, and according to the formula: length ratio = length of longest side/length of shortest side, calculating to obtain a plurality of length ratios corresponding to the plurality of initial three-dimensional shapes respectively; and then according to the formula: importance ratio = importance maximum/importance minimum, the importance ratio is calculated; and selecting a designated three-dimensional shape from the plurality of initial three-dimensional shapes, wherein the length ratio of the designated three-dimensional shape is closest to the importance ratio. Therefore, the ratio of the longest bottom edge to the shortest bottom edge of the appointed three-dimensional shape is equal to the ratio of the most important first data to the least important first data, and an association relation is established, so that the accuracy of data judgment is improved.
In one embodiment, the step S5 of adjusting n sides of the specified three-dimensional shape so that slopes of the n sides of the specified three-dimensional shape with respect to the bottom surface are equal to the n differential average values M 1、M2、...、Mn, respectively, includes:
S501, counting the lengths of n bottom edges of n sides of the appointed three-dimensional shape, and generating a length sorting table, wherein the length sorting table records the lengths of the n bottom edges and is arranged in descending order according to length values;
S502, modifying the slope of the side surface of the first rank in the length sorting table to be the differential mean value corresponding to the first data of the first rank in the important data sorting table; modifying the slope of the side surface of the second ranking in the length ranking table to be the differential average value corresponding to the first data of the second ranking in the important data ranking table; ..; and modifying the slope of the side surface of the n-th ranking in the length ranking table to be the differential average value corresponding to the first data of the n-th ranking in the important data ranking table.
As described above, the adjustment of the n sides of the specified solid shape is achieved so that the slopes of the n sides of the specified solid shape with respect to the bottom surface are respectively equal to the n differential means M 1、M2、...、Mn. The application generates a length sorting table by counting the lengths of n bottom edges of n sides of the appointed three-dimensional shape; modifying the slope of the n-th side surface of the length sorting table to be the differential mean value corresponding to the n-th first data of the important data sorting table, so that the length sorting table and the important data sorting table establish a mapping relation, each bottom edge corresponds to one first data, the first data corresponding to the bottom edge with the longer length is more important, the intersecting contour pattern generated later is more influenced by the more important data, and therefore the accuracy of a final data judging result is improved.
In one embodiment, before the step S5 of maintaining the bottom surface of the specified three-dimensional shape unchanged and adjusting the n sides of the specified three-dimensional shape so that the slopes of the n sides of the specified three-dimensional shape relative to the bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, the method includes:
S41, judging whether a specified differential mean value smaller than a preset mean value threshold exists in the n differential mean values;
S42, if a specified differential mean value smaller than a preset mean value threshold exists in the n differential mean values, modifying the numerical value of the specified differential mean value into the mean value threshold, and marking a reminding mark on the specified differential mean value;
S43, generating side surface adjustment instructions, wherein the side surface adjustment instructions are used for instructing to adjust n side surfaces of the appointed three-dimensional shape, so that the slope of the n side surfaces of the appointed three-dimensional shape relative to the bottom surface is respectively equal to the n differential average values M 1、M2、...、Mn, and the middle three-dimensional shape is obtained.
As described above, generation of the side adjustment instruction is realized. And if a specified differential mean value smaller than a preset mean value threshold exists in the n differential mean values, indicating that first data with too slow progress exists. At this time, if the data is still applied to the first data with too slow progress, the intersecting profile pattern may be left empty (because the slope of the side corresponding to the first data with too slow progress is too small, so that the intersecting profile pattern cannot be generated at the intercepting height), thereby failing to determine the data. Thus, the value of the specified differential mean is temporarily modified to the mean threshold, but the specified differential mean needs to be marked with a reminder flag to indicate that the specified differential mean is a hypothetical value. And generating side adjustment instructions for indicating and adjusting the n sides of the appointed three-dimensional shape, so that the failure of the data judging method is avoided, and the smoothness of the flow is ensured by discarding the appointed differential mean value, but more accurate data judgment can be still carried out because most of the first data are still effective. Further, after generating the side adjustment instruction, the method further includes: and sending reminding information to the first terminal corresponding to the specified differential average value so as to remind the first terminal of the improvement progress.
In one embodiment, the standard pattern and the intersecting contour pattern are n-polygons, and the step S7 of calculating the matching degree value of the intersecting contour pattern and the preset standard pattern according to the preset matching degree calculating method includes:
s701, acquiring a first center position of the standard pattern and acquiring a second center position of the intersecting contour pattern; acquiring a first side midpoint of the longest side of the standard pattern and acquiring a second side midpoint of the longest side of the intersecting profile pattern;
s702, overlaying the standard pattern on the intersecting contour pattern so that the first center position and the second center position coincide, and the first side midpoint, the second side midpoint and the first center position are on the same straight line;
S703, acquiring a non-overlapped part on the standard pattern, and according to the formula: matching degree value= (area of the standard pattern-area of the non-overlapping portion)/area of the standard pattern, and matching degree value of the intersecting profile pattern and a preset standard pattern is obtained.
As described above, the matching degree value of the intersecting contour pattern and the preset standard pattern is calculated according to the preset matching degree calculation method is realized. The application adopts a special area ratio mode to calculate the matching degree value. Since the present application measures progress, the larger the area of the intersecting profile pattern, the faster the overall progress is indicated. And if the standard pattern is completely covered by the intersecting contour pattern, indicating that the total progress completely reaches the standard. If there is a non-overlapping portion on the standard pattern, the non-overlapping portion is an incomplete progress portion, so the present application adopts the formula: matching degree value= (area of the standard pattern-area of the non-overlapping portion)/area of the standard pattern, and matching degree value of the intersecting profile pattern and a preset standard pattern is obtained.
In one embodiment, after the step S8 of determining that the n pieces of first data are normal if the matching degree value is greater than a preset matching threshold, the method includes:
S81, acquiring a preset termination time, acquiring a termination height corresponding to the termination time according to a corresponding relation between the time and the height, and generating a termination plane parallel to the bottom surface of the middle three-dimensional shape, wherein the distance between the termination plane and the bottom surface is equal to the termination height;
s82, judging whether the termination plane intersects with the middle three-dimensional shape;
s83, if the termination plane is not intersected with the middle three-dimensional shape, translating the termination plane downwards by a designated length so that the termination plane is intersected with the middle three-dimensional shape;
S84, acquiring a designated time length corresponding to the designated length according to the corresponding relation between the time and the height, and sending progress improvement information to the first terminal, wherein the progress improvement information is attached with the designated time length.
As described above, it is achieved that the progress improvement information is transmitted to the first terminal. While it is difficult to predict the overall progress by an explicit method in the conventional scheme, the present application uses the intermediate stereoscopic shape to predict the overall progress by an explicit method. Namely, acquiring a preset termination time, acquiring a termination height corresponding to the termination time according to the corresponding relation between the time and the height, and generating a termination plane parallel to the bottom surface of the middle three-dimensional shape; if the termination plane is not intersected with the intermediate three-dimensional shape, the fact that the predicted task cannot be completed under the current progress is indicated, namely the progress needs to be improved. Translating the termination plane downward by a specified length to intersect the termination plane with the intermediate solid shape; and acquiring the appointed time length corresponding to the appointed length according to the corresponding relation between the time and the height, so as to obtain the extra time length which needs to be striven for under the current progress (namely, if the progress can be improved to compensate the appointed time length, the project can be completed on time). Accordingly, progress improvement information is transmitted to the first terminal, wherein the progress improvement information is accompanied by the specified time length. Thus, the prediction of the overall progress is completed.
According to the data judging method based on the matching degree value, n pieces of first data sent by n pieces of first terminals respectively are obtained; correspondingly generating n time functions of the n first data changing along with time; if none of the n time functions is abnormal, according to the formula:
Obtaining n differential average values respectively corresponding to the n time functions; calling a preset appointed three-dimensional shape in a preset virtual three-dimensional space; keeping the bottom surface of the appointed three-dimensional shape unchanged, and adjusting n side surfaces of the appointed three-dimensional shape so as to obtain an intermediate three-dimensional shape; acquiring a intercepting height corresponding to a current time point, generating an intercepting plane parallel to the bottom surface in the middle three-dimensional shape, and acquiring an intersecting contour pattern; calculating the matching degree value of the intersecting contour pattern and a preset standard pattern; and if the matching degree value is larger than a preset matching threshold value, judging that the n pieces of first data are normal. Thereby obtaining accurate and apparent data analysis results and improving the control degree of the whole data.
Referring to fig. 2, an embodiment of the present application provides a data determining apparatus based on a matching degree value, including:
A first data obtaining unit 10, configured to obtain n first data sent by n first terminals respectively, where n is an integer greater than 2, where all the n first data are consecutive in time;
An anomaly determination unit 20, configured to correspondingly generate n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) of the n first data that change with time, and determine whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are anomaly according to a preset anomaly time function determination method;
The differential mean value calculating unit 30 is configured to, if none of the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) is abnormal, calculate the differential mean value according to the formula:
Calculating differential mean values M i of an ith time function f i (t), so as to obtain n differential mean values M 1、M2、...、Mn respectively corresponding to the n time functions, wherein i is an integer which is more than 0 and less than or equal to n, t0 is an initial time point of the first data, and tm is a current time point;
A designated three-dimensional shape calling unit 40 for calling a preset designated three-dimensional shape in a preset virtual three-dimensional space, wherein the designated three-dimensional shape is a closed shape composed of a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface are congruent n-sided shapes, and the n side surfaces are perpendicular to the bottom surface;
A side adjustment unit 50, configured to keep the bottom surface of the specified three-dimensional shape unchanged, and adjust n sides of the specified three-dimensional shape so that slopes of the n sides of the specified three-dimensional shape relative to the bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, thereby obtaining an intermediate three-dimensional shape;
An intersecting contour pattern obtaining unit 60, configured to obtain an intersecting contour pattern corresponding to a current time point and generate an intersecting plane parallel to the bottom surface in the intermediate three-dimensional shape according to a preset correspondence between time and height, where a distance between the intersecting plane and the bottom surface is equal to the intersecting height, and obtain an intersecting contour pattern of the intersecting plane and the intermediate three-dimensional shape;
A matching degree value calculating unit 70, configured to calculate a matching degree value of the intersecting profile pattern and a preset standard pattern according to a preset matching degree calculating method, and determine whether the matching degree value is greater than a preset matching threshold;
And a data normal judging unit 80, configured to judge that the n pieces of first data are normal if the matching degree value is greater than a preset matching threshold.
The operations performed by the units are respectively corresponding to the steps of the data determining method based on the matching degree value in the foregoing embodiment, and are not described herein again.
In one embodiment, the abnormality determination unit 20 includes:
An anomaly measure function acquisition subunit configured to utilize the formula:
Calculating to obtain an abnormality measurement function Y i (t) corresponding to an ith time function f i (t), wherein f i (t) is the ith time function, g i (t) is a preset standard function corresponding to the ith time function, L is a preset threshold parameter greater than 0, t is time, and min is a minimum function;
an anomaly ratio calculation subunit configured to: abnormal ratio = abnormal time length/total time length, wherein the abnormal time length refers to the sum of time lengths when the value of the abnormal measurement function Y i (t) is L, the total time length refers to the value length of the abnormal measurement function Y i (t) on a time axis, and whether the abnormal ratio is greater than a preset abnormal threshold value is judged;
And the non-abnormality judging subunit is configured to judge that the ith time function f i (t) is not abnormal if the abnormality proportion is not greater than a preset abnormality threshold.
The operations performed by the sub-units are respectively corresponding to the steps of the data determining method based on the matching degree value in the foregoing embodiment one by one, and are not described herein again.
In one embodiment, the designated stereoscopic shape calling unit 40 includes:
An initial three-dimensional shape selecting subunit, configured to select a plurality of initial three-dimensional shapes from a preset three-dimensional shape library, where the initial three-dimensional shapes are closed shapes composed of a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface of the initial three-dimensional shapes are congruent n-sided shapes, and the initial three-dimensional shapes and the n side surfaces are perpendicular to the bottom surface;
A length obtaining subunit, configured to obtain a length of a longest side and a length of a shortest side of the bottom surface of the initial three-dimensional shape, and according to a formula: length ratio = length of longest side/length of shortest side, calculating to obtain a plurality of length ratios corresponding to the plurality of initial three-dimensional shapes respectively;
The importance ratio calculating subunit is configured to call a preset importance data sorting table, where importance values corresponding to the n first data are recorded in the importance data sorting table, and according to the formula: the importance ratio=importance maximum value/importance minimum value, wherein the importance ratio is calculated, the importance ranking table is arranged according to the descending order of importance values, the importance maximum value refers to the importance value of the first data ranked first in the importance ranking table, and the importance minimum value refers to the importance value of the first data ranked last in the importance ranking table;
A designated three-dimensional shape acquisition subunit, configured to select a designated three-dimensional shape from the plurality of initial three-dimensional shapes, where a length ratio of the designated three-dimensional shape is closest to the importance ratio.
The operations performed by the sub-units are respectively corresponding to the steps of the data determining method based on the matching degree value in the foregoing embodiment one by one, and are not described herein again.
In one embodiment, the side adjustment unit 50 includes:
A length-sorting-table obtaining subunit, configured to count lengths of n bottom edges of n sides of the specified three-dimensional shape, and generate a length sorting table, where the length sorting table records lengths of the n bottom edges, and the length sorting table is arranged in descending order according to length values;
A slope modification subunit, configured to modify a slope of a side surface of the first rank in the length ranking table to be a differential average value corresponding to the first data of the first rank in the important data ranking table; modifying the slope of the side surface of the second ranking in the length ranking table to be the differential average value corresponding to the first data of the second ranking in the important data ranking table; ..; and modifying the slope of the side surface of the n-th ranking in the length ranking table to be the differential average value corresponding to the first data of the n-th ranking in the important data ranking table.
The operations performed by the sub-units are respectively corresponding to the steps of the data determining method based on the matching degree value in the foregoing embodiment one by one, and are not described herein again.
In one embodiment, the apparatus comprises:
the average value threshold value judging unit is used for judging whether a specified differential average value smaller than a preset average value threshold value exists in the n differential average values;
the average value threshold value modifying unit is used for modifying the numerical value of the appointed differential average value into the average value threshold value and marking a reminding mark on the appointed differential average value if the appointed differential average value smaller than the preset average value threshold value exists in the n differential average values;
The middle three-dimensional shape acquisition unit is used for generating side face adjustment instructions, and the side face adjustment instructions are used for instructing to adjust n side faces of the appointed three-dimensional shape so that the slope of the n side faces of the appointed three-dimensional shape relative to the bottom face is respectively equal to the n differential average values M 1、M2、...、Mn, and therefore the middle three-dimensional shape is obtained.
The operations performed by the units are respectively corresponding to the steps of the data determining method based on the matching degree value in the foregoing embodiment, and are not described herein again.
In one embodiment, the standard pattern and the intersecting contour pattern are both n-sided, and the matching degree value calculating unit 70 includes:
A center position acquisition subunit, configured to acquire a first center position of the standard pattern and acquire a second center position of the intersecting profile pattern; acquiring a first side midpoint of the longest side of the standard pattern and acquiring a second side midpoint of the longest side of the intersecting profile pattern;
A covering subunit, configured to cover the standard pattern on the intersecting profile pattern, so that the first center position and the second center position coincide, and the first edge midpoint, the second edge midpoint, and the first center position are on the same straight line;
A matching degree value obtaining subunit, configured to obtain a non-overlapping portion on the standard pattern, and according to the formula: matching degree value= (area of the standard pattern-area of the non-overlapping portion)/area of the standard pattern, and matching degree value of the intersecting profile pattern and a preset standard pattern is obtained.
The operations performed by the sub-units are respectively corresponding to the steps of the data determining method based on the matching degree value in the foregoing embodiment one by one, and are not described herein again.
In one embodiment, the apparatus comprises:
a termination time obtaining unit, configured to obtain a preset termination time, obtain a termination height corresponding to the termination time according to a correspondence between the time and the height, and generate a termination plane parallel to a bottom surface of the intermediate three-dimensional shape, where a distance between the termination plane and the bottom surface is equal to the termination height;
An intersection judging unit configured to judge whether the termination plane intersects the intermediate solid shape;
a translation unit configured to translate the termination plane downward by a specified length if the termination plane does not intersect the intermediate solid shape, so that the termination plane intersects the intermediate solid shape;
a specified time length obtaining unit, configured to obtain a specified time length corresponding to the specified length according to a correspondence between the time and the height, and send progress improvement information to the first terminal, where the progress improvement information is attached with the specified time length.
The operations performed by the units are respectively corresponding to the steps of the data determining method based on the matching degree value in the foregoing embodiment, and are not described herein again.
According to the data judging device based on the matching degree value, n pieces of first data sent by n pieces of first terminals respectively are obtained; correspondingly generating n time functions of the n first data changing along with time; if none of the n time functions is abnormal, according to the formula:
Obtaining n differential average values respectively corresponding to the n time functions; calling a preset appointed three-dimensional shape in a preset virtual three-dimensional space; keeping the bottom surface of the appointed three-dimensional shape unchanged, and adjusting n side surfaces of the appointed three-dimensional shape so as to obtain an intermediate three-dimensional shape; acquiring a intercepting height corresponding to a current time point, generating an intercepting plane parallel to the bottom surface in the middle three-dimensional shape, and acquiring an intersecting contour pattern; calculating the matching degree value of the intersecting contour pattern and a preset standard pattern; and if the matching degree value is larger than a preset matching threshold value, judging that the n pieces of first data are normal. Thereby obtaining accurate and apparent data analysis results and improving the control degree of the whole data.
Referring to fig. 3, in an embodiment of the present invention, there is further provided a computer device, which may be a server, and the internal structure of which may be as shown in the drawing. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data used by the data judging method based on the matching degree value. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a data determination method based on a matching degree value.
The processor executes the data determining method based on the matching degree value, wherein the steps included in the method correspond to the steps of executing the data determining method based on the matching degree value in the foregoing embodiment one by one, and are not described herein again.
It will be appreciated by persons skilled in the art that the structures shown in the drawings are only block diagrams of portions of structures that may be associated with the aspects of the application and are not intended to limit the scope of the computer apparatus to which the aspects of the application may be applied.
The computer equipment acquires n pieces of first data respectively sent by n pieces of first terminals; correspondingly generating n time functions of the n first data changing along with time; if none of the n time functions is abnormal, according to the formula:
Obtaining n differential average values respectively corresponding to the n time functions; calling a preset appointed three-dimensional shape in a preset virtual three-dimensional space; keeping the bottom surface of the appointed three-dimensional shape unchanged, and adjusting n side surfaces of the appointed three-dimensional shape so as to obtain an intermediate three-dimensional shape; acquiring a intercepting height corresponding to a current time point, generating an intercepting plane parallel to the bottom surface in the middle three-dimensional shape, and acquiring an intersecting contour pattern; calculating the matching degree value of the intersecting contour pattern and a preset standard pattern; and if the matching degree value is larger than a preset matching threshold value, judging that the n pieces of first data are normal. Thereby obtaining accurate and apparent data analysis results and improving the control degree of the whole data.
An embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements a data determining method based on a matching degree value, and the steps included in the method are respectively corresponding to the steps of executing the data determining method based on a matching degree value in the foregoing embodiment one by one, which is not described herein again.
The computer readable storage medium of the present application acquires n pieces of first data transmitted by n pieces of first terminals, respectively; correspondingly generating n time functions of the n first data changing along with time; if none of the n time functions is abnormal, according to the formula:
Obtaining n differential average values respectively corresponding to the n time functions; calling a preset appointed three-dimensional shape in a preset virtual three-dimensional space; keeping the bottom surface of the appointed three-dimensional shape unchanged, and adjusting n side surfaces of the appointed three-dimensional shape so as to obtain an intermediate three-dimensional shape; acquiring a intercepting height corresponding to a current time point, generating an intercepting plane parallel to the bottom surface in the middle three-dimensional shape, and acquiring an intersecting contour pattern; calculating the matching degree value of the intersecting contour pattern and a preset standard pattern; and if the matching degree value is larger than a preset matching threshold value, judging that the n pieces of first data are normal. Thereby obtaining accurate and apparent data analysis results and improving the control degree of the whole data.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided by the present application and used in embodiments may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual speed data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that comprises the element.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the application, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application or directly or indirectly applied to other related technical fields are included in the scope of the application.
Claims (7)
1. The data judging method based on the matching degree value is characterized by comprising the following steps of:
Acquiring n first data sent by n first terminals respectively, wherein the n first data are continuous in time, and n is an integer greater than 2; the first data is the progress of the sub-item;
Correspondingly generating n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) of the n first data changing along with time, and judging whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are abnormal according to a preset abnormal time function judging method;
If none of the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) is abnormal, then according to the formula:
Calculating differential mean values M i of an ith time function f i (t), so as to obtain n differential mean values M 1、M2、...、Mn respectively corresponding to the n time functions, wherein i is an integer which is more than 0 and less than or equal to n, t0 is an initial time point of the first data, and tm is a current time point;
Invoking a preset appointed three-dimensional shape in a preset virtual three-dimensional space, wherein the appointed three-dimensional shape is a closed shape formed by a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface are congruent n-sided shapes, and the n side surfaces are perpendicular to the bottom surface;
Keeping the bottom surface of the appointed three-dimensional shape unchanged, and adjusting n side surfaces of the appointed three-dimensional shape so that the slope of the n side surfaces of the appointed three-dimensional shape relative to the bottom surface is respectively equal to the n differential average values M 1、M2、...、Mn, thereby obtaining an intermediate three-dimensional shape;
Acquiring a interception height corresponding to a current time point according to a preset corresponding relation between time and height, and generating an interception plane parallel to the bottom surface in the middle three-dimensional shape, wherein the distance between the interception plane and the bottom surface is equal to the interception height, and acquiring an intersecting contour pattern of the interception plane and the middle three-dimensional shape;
Calculating a matching degree value of the intersecting outline pattern and a preset standard pattern according to a preset matching degree calculation method, and judging whether the matching degree value is larger than a preset matching threshold value or not;
if the matching degree value is larger than a preset matching threshold value, judging that the n pieces of first data are normal;
The step of judging whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are abnormal according to a preset abnormal time function judging method includes:
using the formula:
Yi(t)=min(Mi(t),L),Ii(t)=fi(t)-gi(t),
Calculating to obtain an abnormality measurement function Y i (t) corresponding to an ith time function f i (t), wherein f i (t) is the ith time function, g i (t) is a preset standard function corresponding to the ith time function, L is a preset threshold parameter greater than 0, t is time, and min is a minimum function;
According to the formula: abnormal ratio = abnormal time length/total time length, wherein the abnormal time length refers to the sum of time lengths when the value of the abnormal measurement function Y i (t) is L, the total time length refers to the value length of the abnormal measurement function Y i (t) on a time axis, and whether the abnormal ratio is greater than a preset abnormal threshold value is judged;
if the abnormal proportion is not greater than a preset abnormal threshold, judging that the ith time function f i (t) is not abnormal;
The standard pattern and the intersecting contour pattern are n-sided shapes, and the step of calculating the matching degree value of the intersecting contour pattern and the preset standard pattern according to a preset matching degree calculation method comprises the following steps:
Acquiring a first center position of the standard pattern and a second center position of the intersecting contour pattern; acquiring a first side midpoint of the longest side of the standard pattern and acquiring a second side midpoint of the longest side of the intersecting profile pattern;
overlaying the standard pattern on the intersecting profile pattern such that the first center location and the second center location coincide and the first edge midpoint, the second edge midpoint, the first center location are on the same straight line;
Acquiring non-overlapped parts on the standard patterns, and according to the formula: matching degree value= (area of the standard pattern-area of the non-overlapping portion)/area of the standard pattern, obtaining matching degree value of the intersecting contour pattern and a preset standard pattern;
And if the matching degree value is greater than a preset matching threshold, determining that the n first data are normal comprises:
Acquiring preset termination time, acquiring termination height corresponding to the termination time according to the corresponding relation between the time and the height, and generating a termination plane parallel to the bottom surface of the middle three-dimensional shape, wherein the distance between the termination plane and the bottom surface is equal to the termination height;
Judging whether the termination plane intersects the intermediate solid shape;
If the termination plane does not intersect the intermediate solid shape, translating the termination plane downward a specified length such that the termination plane intersects the intermediate solid shape;
and acquiring a specified time length corresponding to the specified length according to the corresponding relation between the time and the height, and sending progress improvement information to the first terminal, wherein the progress improvement information is attached with the specified time length.
2. The matching degree value-based data judging method according to claim 1, wherein the step of calling a preset designated three-dimensional shape in a preset virtual three-dimensional space, the designated three-dimensional shape being a closed shape composed of a bottom face, a top face and n side faces, the bottom face and the top face being congruent n-sided shapes, the n side faces being perpendicular to the bottom face, comprises:
Selecting a plurality of initial three-dimensional shapes from a preset three-dimensional shape library, wherein the initial three-dimensional shapes are closed shapes composed of a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface of the initial three-dimensional shapes are congruent n-sided shapes, and the initial three-dimensional shapes and the n side surfaces are perpendicular to the bottom surface;
Acquiring the length of the longest side and the length of the shortest side of the bottom surface of the initial three-dimensional shape, and according to the formula: length ratio = length of longest side/length of shortest side, calculating to obtain a plurality of length ratios corresponding to the plurality of initial three-dimensional shapes respectively;
And calling a preset important data sorting table, wherein the important data sorting table records the importance degree values corresponding to the n first data, and the importance degree values are expressed according to the formula: the importance ratio=importance maximum value/importance minimum value, wherein the importance ratio is calculated, the importance ranking table is arranged according to the descending order of importance values, the importance maximum value refers to the importance value of the first data ranked first in the importance ranking table, and the importance minimum value refers to the importance value of the first data ranked last in the importance ranking table;
and selecting a designated three-dimensional shape from the plurality of initial three-dimensional shapes, wherein the length ratio of the designated three-dimensional shape is closest to the importance ratio.
3. The matching degree value-based data judging method according to claim 2, wherein the step of adjusting the n sides of the specified solid shape so that slopes of the n sides of the specified solid shape with respect to a bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, comprises:
Counting the lengths of n bottom edges of n sides of the appointed three-dimensional shape, and generating a length sorting table, wherein the length sorting table records the lengths of the n bottom edges and is arranged in descending order according to length values;
modifying the slope of the side surface of the first rank in the length ranking table to be the differential mean value corresponding to the first data of the first rank in the important data ranking table; modifying the slope of the side surface of the second ranking in the length ranking table to be the differential average value corresponding to the first data of the second ranking in the important data ranking table; ..; and modifying the slope of the side surface of the n-th ranking in the length ranking table to be the differential average value corresponding to the first data of the n-th ranking in the important data ranking table.
4. The method according to claim 1, wherein the step of maintaining the bottom surface of the designated three-dimensional shape unchanged and adjusting n sides of the designated three-dimensional shape so that slopes of the n sides of the designated three-dimensional shape with respect to the bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, thereby obtaining an intermediate three-dimensional shape, comprises:
judging whether a specified differential average value smaller than a preset average value threshold value exists in the n differential average values;
If a specified differential mean value smaller than a preset mean value threshold exists in the n differential mean values, modifying the numerical value of the specified differential mean value into the mean value threshold, and marking a reminding mark on the specified differential mean value;
Generating a side adjustment instruction, wherein the side adjustment instruction is used for instructing to adjust n sides of the appointed three-dimensional shape, so that the slopes of the n sides of the appointed three-dimensional shape relative to the bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, and thus an intermediate three-dimensional shape is obtained.
5. A data determining device based on a matching degree value, for implementing the method of any one of claims 1 to 4, comprising:
The first data acquisition unit is used for acquiring n pieces of first data sent by n first terminals respectively, wherein the n pieces of first data are continuous in time, and n is an integer greater than 2;
an anomaly determination unit, configured to correspondingly generate n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) of the n first data that change with time, and determine whether the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) are anomaly according to a preset anomaly time function determination method;
The differential mean value calculation unit is configured to, if none of the n time functions f 1(t)、f2(t)、...、fi(t)、...、fn (t) is abnormal, calculate a differential mean value according to the formula:
Calculating differential mean values M i of an ith time function f i (t), so as to obtain n differential mean values M 1、M2、...、Mn respectively corresponding to the n time functions, wherein i is an integer which is more than 0 and less than or equal to n, t0 is an initial time point of the first data, and tm is a current time point;
A designated three-dimensional shape calling unit, configured to call a preset designated three-dimensional shape in a preset virtual three-dimensional space, where the designated three-dimensional shape is a closed shape formed by a bottom surface, a top surface and n side surfaces, the bottom surface and the top surface are congruent n-sided shapes, and the n side surfaces are all perpendicular to the bottom surface;
A side surface adjusting unit, configured to keep the bottom surface of the specified three-dimensional shape unchanged, and adjust n side surfaces of the specified three-dimensional shape so that slopes of the n side surfaces of the specified three-dimensional shape relative to the bottom surface are respectively equal to the n differential average values M 1、M2、...、Mn, thereby obtaining an intermediate three-dimensional shape;
an intersecting contour pattern obtaining unit, configured to obtain an intersecting height corresponding to a current time point according to a preset correspondence between time and height, and generate an intercepting plane parallel to the bottom surface in the intermediate three-dimensional shape, where a distance between the intercepting plane and the bottom surface is equal to the intercepting height, and obtain an intersecting contour pattern of the intercepting plane and the intermediate three-dimensional shape;
The matching degree value calculating unit is used for calculating the matching degree value of the intersecting contour pattern and a preset standard pattern according to a preset matching degree calculating method and judging whether the matching degree value is larger than a preset matching threshold value or not;
and the data normal judging unit is used for judging that the n pieces of first data are normal if the matching degree value is larger than a preset matching threshold value.
6. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010093381.8A CN111311184B (en) | 2020-02-14 | 2020-02-14 | Data judging method and device based on matching degree value and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010093381.8A CN111311184B (en) | 2020-02-14 | 2020-02-14 | Data judging method and device based on matching degree value and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111311184A CN111311184A (en) | 2020-06-19 |
CN111311184B true CN111311184B (en) | 2024-06-21 |
Family
ID=71160060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010093381.8A Active CN111311184B (en) | 2020-02-14 | 2020-02-14 | Data judging method and device based on matching degree value and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111311184B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113395593B (en) * | 2021-08-17 | 2021-10-29 | 深圳佳力拓科技有限公司 | Data transmission method and device for digital television terminal with reduced information leakage |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105303192A (en) * | 2015-09-08 | 2016-02-03 | 苏州大学张家港工业技术研究院 | Shape matching method and system based on mixing descriptor |
CN107767712A (en) * | 2017-11-07 | 2018-03-06 | 广东欧珀移动通信有限公司 | Adjust method, apparatus, storage medium and the electronic equipment of matching degree |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108921905A (en) * | 2018-07-16 | 2018-11-30 | 意力(广州)电子科技有限公司 | Target localization method, device, computer equipment and readable storage medium storing program for executing |
CN109544657B (en) * | 2018-12-05 | 2023-11-28 | 上海联影医疗科技股份有限公司 | Medical image iterative reconstruction method, device, computer equipment and storage medium |
CN110598823B (en) * | 2019-08-14 | 2022-11-04 | 深圳壹账通智能科技有限公司 | Signature method and device based on virtual three-dimensional seal and computer equipment |
-
2020
- 2020-02-14 CN CN202010093381.8A patent/CN111311184B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105303192A (en) * | 2015-09-08 | 2016-02-03 | 苏州大学张家港工业技术研究院 | Shape matching method and system based on mixing descriptor |
CN107767712A (en) * | 2017-11-07 | 2018-03-06 | 广东欧珀移动通信有限公司 | Adjust method, apparatus, storage medium and the electronic equipment of matching degree |
Also Published As
Publication number | Publication date |
---|---|
CN111311184A (en) | 2020-06-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Andersen et al. | Jump-diffusion processes: Volatility smile fitting and numerical methods for option pricing | |
CN103473473B (en) | A kind of data quality checking method and system based on scatter diagram | |
DE102008041524A1 (en) | Method and device for carrying out three-dimensional measurements | |
CN111311184B (en) | Data judging method and device based on matching degree value and computer equipment | |
CN109544700A (en) | Processing method, device and the equipment of point cloud data neural network based | |
CN109409318B (en) | Statistical model training method, statistical device and storage medium | |
CN109753710A (en) | A kind of check of drawings method, apparatus, system and the readable storage medium storing program for executing of component design drawing | |
CN111898682A (en) | Method and device for correcting new model based on multiple source models and computer equipment | |
CN112365590A (en) | Drawing generation method and device, computer equipment and storage medium | |
CN108921459B (en) | Index generation method and device, computer equipment and storage medium | |
CN110084431A (en) | A kind of shale gas well yield analyzing and predicting method and system | |
CN107220411A (en) | The method of discrimination and its system of a kind of Landslide Deformation degree | |
CN114926536B (en) | Semantic-based positioning and mapping method and system and intelligent robot | |
CN109360215B (en) | Method, device and equipment for searching outer contour of three-dimensional model and storage medium | |
CN116630442A (en) | Visual SLAM pose estimation precision evaluation method and device | |
CN111797993A (en) | Evaluation method and device for deep learning model, electronic equipment and storage medium | |
CN111079523A (en) | Object detection method, object detection device, computer equipment and storage medium | |
le Roux | A long-term model of the dynamics of the S&P500 implied volatility surface | |
KR102223385B1 (en) | Method of setting the optimal route for ship cables and program thereof | |
JP5818439B2 (en) | Software modification estimation method and software modification estimation system | |
Cheung et al. | Positional error modeling for line simplification based on automatic shape similarity analysis in GIS | |
CN101799925A (en) | Performance analysis method for automatic segmentation result of image | |
JPWO2009104258A1 (en) | Specification change estimation method and specification change estimation system | |
CN110929999A (en) | Voltage sag severity calculation method considering tolerance characteristics of different devices | |
CN114091796B (en) | Multi-parameter evaluation system and early warning method for managing change items |
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 |