CN117033061A - Yield data correction method, device, equipment and storage medium - Google Patents
Yield data correction method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN117033061A CN117033061A CN202311278029.1A CN202311278029A CN117033061A CN 117033061 A CN117033061 A CN 117033061A CN 202311278029 A CN202311278029 A CN 202311278029A CN 117033061 A CN117033061 A CN 117033061A
- Authority
- CN
- China
- Prior art keywords
- yield
- data
- data segment
- server
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000003860 storage Methods 0.000 title claims abstract description 13
- 238000012937 correction Methods 0.000 title claims description 28
- 230000002159 abnormal effect Effects 0.000 claims abstract description 82
- 238000004891 communication Methods 0.000 claims abstract description 37
- 238000012790 confirmation Methods 0.000 claims abstract description 15
- 230000001502 supplementing effect Effects 0.000 claims abstract description 15
- 239000000047 product Substances 0.000 claims description 98
- 238000005303 weighing Methods 0.000 claims description 43
- 238000004519 manufacturing process Methods 0.000 claims description 26
- 239000012263 liquid product Substances 0.000 claims description 15
- 230000006870 function Effects 0.000 claims description 12
- 239000013589 supplement Substances 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 239000012265 solid product Substances 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000002547 anomalous effect Effects 0.000 claims description 3
- 239000000463 material Substances 0.000 description 13
- 150000003839 salts Chemical class 0.000 description 9
- 230000005856 abnormality Effects 0.000 description 4
- 239000007787 solid Substances 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002354 daily effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Biomedical Technology (AREA)
- Operations Research (AREA)
- Probability & Statistics with Applications (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Algebra (AREA)
- Life Sciences & Earth Sciences (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Factory Administration (AREA)
Abstract
The application discloses a method, a device, equipment and a storage medium for correcting yield data, which relate to the technical field of computers and comprise the following steps: judging whether yield data sent by the field device are received according to a preset frequency; if not, sending prompt information to the user side; when target yield data sent by field equipment are received, determining an abnormal data segment, first data information of the abnormal data segment, starting time and ending time of the abnormal data segment, wherein the target yield data are yield data received by a server for the first time after communication is recovered; calculating yield increment information according to the first data information and the target yield data; supplementing the yield increment information to the abnormal data segment according to the starting time, the ending time and the preset frequency to obtain a target data segment; sending a target data segment to a user terminal; and correcting the abnormal data segment into the target data segment according to the confirmation information fed back by the user side for the target data segment. The method can reduce the distortion of the output data.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for correcting yield data.
Background
Currently, some manufacturing enterprises need to count the production volume of products every day in order to plan the subsequent production situation, etc. The product can be a liquid product, a gaseous product or a solid product.
After the product is produced, the field device can report the counted product yield to the server every 5 minutes, so that a user can check yield data of each stage in time.
However, when communication between the field device and the server is abnormal, the output data received by the server is distorted, and thus, the output data of a partial stage viewed by the user is abnormal.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for correcting yield data, which can reduce the distortion of the yield data.
In order to achieve the above purpose, the application adopts the following technical scheme:
in a first aspect, the present application provides a method for correcting yield data, comprising:
the server judges whether yield data sent by the field device are received according to preset frequency;
if not, the server sends prompt information to the user side, wherein the prompt information is used for prompting the user that the communication between the field device and the server is abnormal;
when a server receives target yield data sent by field equipment, determining an abnormal data segment, first data information of the abnormal data segment, starting time and ending time of the abnormal data segment, wherein the target yield data is yield data received by the server for the first time after communication is recovered;
the server calculates yield increment information according to the first data information and the target yield data;
the server supplements the yield increment information to the abnormal data segment according to the starting time, the ending time and the preset frequency to obtain a target data segment;
the server sends the target data segment to the user;
and the server corrects the abnormal data segment into the target data segment according to the confirmation information fed back by the user side for the target data segment.
In some possible implementations, the supplementing the yield increment information on the abnormal data segment includes:
and supplementing the output increment information on the abnormal data segment based on historical production efficiency.
In some possible implementations, the yield data is a yield of the liquid product, the field device includes a preset capacity of the loading device, and the yield data is determined by a linear correction function, a density of the liquid product, the preset capacity, and a number of the loading devices and a number of times of loading.
In some possible implementations, the yield data is a yield of a solid product, and the field device includes a robotic arm and a weighing module; the yield data is determined by the sum of a plurality of values of the weighing module.
In some possible implementations, the yield data is characterized by the product of the yield of the second type of product plus a yield of the first type of product, the first type of product having a lower moisture content than the second type of product; the field device comprises a conveyor belt, a first weighing module, a mechanical arm and a second weighing module; the output of the first type of product is determined by the conveyor belt and the first weighing module, and the output of the second type of product is determined by the second weighing module.
In a second aspect, the present application provides a device for correcting yield data, comprising:
the judging module is used for judging whether yield data sent by the field device are received according to preset frequency, if not, the server sends prompt information to the user side, and the prompt information is used for prompting the user that communication between the field device and the server is abnormal;
the receiving module is used for determining an abnormal data segment, first data information of the abnormal data segment, starting time and ending time of the abnormal data segment when receiving target yield data sent by the field device, wherein the target yield data is yield data received by the server for the first time after communication is recovered;
the calculation module is used for calculating yield increment information according to the first data information and the target yield data;
the supplementing module is used for supplementing the output increment information to the abnormal data segment according to the starting time, the ending time and the preset frequency to obtain a target data segment;
the sending module is used for sending the target data segment to a user terminal;
and the correction module is used for correcting the abnormal data segment into the target data segment according to the confirmation information fed back by the user side for the target data segment.
In some possible implementations, the supplementing module is specifically configured to supplement the output increment information on the abnormal data segment based on historical production efficiency.
In some possible implementations, the yield data is a yield of the liquid product, the field device includes a preset capacity of the loading device, and the yield data is determined by a linear correction function, a density of the liquid product, the preset capacity, and a number of the loading devices and a number of times of loading.
In some possible implementations, the yield data is a yield of a solid product, and the field device includes a robotic arm and a weighing module; the yield data is determined by the sum of a plurality of values of the weighing module.
In some possible implementations, the yield data is characterized by the product of the yield of the second type of product plus a yield of the first type of product, the first type of product having a lower moisture content than the second type of product; the field device comprises a conveyor belt, a first weighing module, a mechanical arm and a second weighing module; the output of the first type of product is determined by the conveyor belt and the first weighing module, and the output of the second type of product is determined by the second weighing module.
In a third aspect, the present application provides a computing device comprising a memory and a processor;
wherein one or more computer programs are stored in the memory, the one or more computer programs comprising instructions; the instructions, when executed by the processor, cause the computing device to perform the method of any of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium for storing a computer program for performing the method of any one of the first aspects.
According to the technical scheme, the application has at least the following beneficial effects:
the application provides a method for correcting yield data, in the method, a server judges whether yield data sent by field equipment is received according to preset frequency, and if not, prompt information is sent to a user side to prompt that communication between the field equipment of the user and the server is abnormal. After communication is restored, when the server receives target output data sent by the field device, determining an abnormal data segment, a first data message of the abnormal data segment, and starting time and ending time of the abnormal data segment, then calculating output increment information by the server based on the first data message and the target output data, supplementing the output increment information to the abnormal data segment according to the starting time, the ending time and preset frequency to obtain the target data segment, and then sending the target data segment to a user side, wherein the user side can send confirmation information fed back by a user aiming at the target data segment to the server, and the server corrects the abnormal data segment to the target data segment based on the confirmation information, so that data correction is realized, and further the distortion condition of the output data is reduced.
It should be appreciated that the description of technical features, aspects, benefits or similar language in the present application does not imply that all of the features and advantages may be realized with any single embodiment. Conversely, it should be understood that the description of features or advantages is intended to include, in at least one embodiment, the particular features, aspects, or advantages. Therefore, the description of technical features, technical solutions or advantageous effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and advantageous effects described in the present embodiment may also be combined in any appropriate manner. Those of skill in the art will appreciate that an embodiment may be implemented without one or more particular features, aspects, or benefits of a particular embodiment. In other embodiments, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments.
Drawings
FIG. 1 is a flowchart of a method for correcting yield data according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a device for correcting yield data according to an embodiment of the present application;
fig. 3 is a schematic diagram of a computing device according to an embodiment of the present application.
Detailed Description
The terms first, second, third and the like in the description and in the claims and in the drawings are used for distinguishing between different objects and not for limiting the specified order.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
For clarity and conciseness in the description of the following embodiments, a brief description of the related art will be given first:
a field device refers to a device located at a production site of a product that can count the product yield and send the counted product yield to a server.
In some examples, the field device may send the total weight of the current product to the server, and the daily yield and the yield for a certain period of time may be calculated from the yield differences corresponding to the two time endpoints.
However, the field device may cause an interruption in communication with the server for some reason, i.e., the field device may not be able to send the total weight of the current product to the server. By way of example, for example, the field device sends the total weight of the current product to the server once every 5 minutes, the server updates the total weight of the current product every 5 minutes, the server receives the total weight of the current product "50kg" sent by the field device at 8:25, receives the total weight of the current product "55kg" sent by the field device at 8:30, and the server can determine the yield of the product in these 5 minutes based on the total weight difference corresponding to the two times (current time 8:30 and last time 8:25).
However, due to the communication interruption, the server receives the total weight "80kg" of the current product sent by the field device at 9:00. At this time, the server still determines the yield of the product for 5 minutes based on the total weight difference between the two times, specifically, the server uses 80kg total weight of the product for 9:00 at the current time and 55kg total weight of the product for 8:55 at the previous time (since the total weight recorded by the server is still 55kg during 8:30-8:55), determines 8:55-9:00, the yield of the product for 5 minutes is 25kg, and the yields of the product for 8:30-8:30, 8:35-8:40, 8:40-8:45, and 8:50-8:55 are 0, thereby causing distortion of the yield data received by the server and further causing abnormality in the yield data of the partial stage viewed by the user.
In view of this, an embodiment of the present application provides a method for correcting yield data, including that a server determines whether yield data sent by a field device is received according to a preset frequency, if not, a prompt message is sent to a user terminal, the prompt message is used to prompt that communication between the field device and the server is abnormal, then when the server receives target yield data sent by the field device, an abnormal data segment, a first data information of the abnormal data segment, a start time and a stop time of the abnormal data segment are determined, then yield increment information is calculated according to the first data information and the target yield data, the server supplements the yield increment information to the abnormal data segment according to the start time, the stop time and the preset frequency, obtains a target data segment, and sends the target data segment to the user terminal, and the server corrects the abnormal data segment to the target data segment according to acknowledgement information fed back by the user terminal for the target data segment. In the method, after the server determines that communication is restored, the abnormal data segment is corrected based on the received yield data sent by the field device, so that the distortion condition of the abnormal data segment is reduced.
In order to make the technical scheme of the application clearer and easier to understand, the method for correcting the yield data provided by the embodiment of the application is described below in terms of a server, field equipment and a user side.
As shown in fig. 1, the present application provides a flow chart of a method for correcting yield data, which includes:
s101, the field device sends yield data at the current moment to the server.
The yield data is the total weight of the product corresponding to the current moment. The field device is used to determine the weight of the product to be tested. The types of products are different and the structures of the field devices are different.
In some examples, the type of product to be tested may be a liquid product, a solid product, or the like.
In the case where the product to be tested is a liquid product, the field device may include a material holding device of a predetermined capacity, which may be a hopper, the capacity of the material holding device being known, and the density of the material held being known, the weight of the material held may be calculated on the basis of the density and the capacity once for each material held.
However, since the volumes of the material holding devices are not consistent each time, material holding errors can occur, and thus the total weight is in error. Therefore, the linear correction function can be obtained by fitting based on the calculated weight and the actual weight of the historical material.
Then, the field device can determine the output data of the product based on the linear correction function, the density of the liquid product, the preset capacity, the number of the material containing devices and the material containing times after each material containing is completed.
Specifically, the field device calculates to obtain the calculated weight of the product based on the density, the preset capacity, the number of material containing devices and the material containing times of the liquid product, then corrects the calculated weight by using a linear correction function, and further obtains the actual weight of the product, and obtains the yield data of the product based on the actual weight.
In the case where the product to be tested is a solid state product, the field device may include a robotic arm and a weighing module. The mechanical arm is used for grabbing products to the weighing module, the weighing module is used for weighing the products, the weight of the products is further obtained, based on the weight, the field device can count the corresponding numerical value of each weighing of the weighing module, the numerical values of multiple weighing are summed, and then the yield data of the products are obtained. Through the mode of arm, compare with manual weighing and count, can reduce workman's work load, improve weighing efficiency to can improve the degree of accuracy of the output data of product.
In the case where the product to be measured is a solid product, the yield data may be characterized by the product of the yield of the second type of product and the correction factor plus the yield of the first type of product. The product to be tested has a moisture attribute. Based on this, the product to be tested can be classified into a dry product and a wet product. The first type of product has a lower moisture content than the second type of product, i.e., the first type of product is a dry product and the second type of product is a wet product. For example, the product to be tested may be a salt, the dry product is a dry salt, and the wet product is a wet salt. In this case, the field device may comprise a conveyor belt, a first weighing module, a robotic arm and a second weighing module, the yield of the first type of product being determined by the conveyor belt and the first weighing module, wherein the conveyor belt is for transporting the first type of product to the first weighing module, the first weighing module for weighing the first type of product. The mechanical arm is used for grabbing the first type of products to the second weighing module, and the second weighing module is used for weighing the second type of products.
Continuing with the above example, the correction factor may be determined based on the weight relationship of the salt when dry and wet. For example, a plurality of dry salts of any value may be prepared in advance, the dry salts may be humidified to a humidity range of a weighing site, and the humidified dry salts may be weighed to obtain data of a plurality of sets of weight relationships. The correction coefficients are determined based on the data of the plurality of sets of weight relationships. In some examples, the correction factor may be 1.1, indicating 1.1 times the weight of the dry salt, i.e., the weight of the corresponding wet salt.
According to the method, the weight of the wet product can be estimated through the weight of the dry product and the correction coefficient under the condition that the wet product is not suitable for measurement, so that the weight measurement requirement is met.
S102, the server receives the output data sent by the field device and records the receiving time.
In the case that communication between the server and the field device is not interrupted, the server can receive the yield data sent by the field device every preset time period, and record the current time after receiving the yield data every time, for example, record the receiving time as time t.
S103, the server determines yield data corresponding to the t period based on the yield data at the t moment and the t-1 moment.
the time t-1 refers to the time when the server last receives the output data, and the time t refers to the time period from the time t-1 to the time t.
After receiving the yield data at time t, the server may determine yield data corresponding to time t based on the yield data at time t and time t-1. For example, the server determines the product yield at time t based on the yield data at time t, and determines the product yield at time t-1 based on the yield data at time t-1. The server calculates the difference between the product yield at time t and the product yield at time t-1, and determines yield data corresponding to the t period based on the difference.
S104, the server sends the output data corresponding to the t period to the user side.
After the output data of the t period is obtained by calculation, the output data of the t period can be sent to the user side, so that the user side can display the output data of the t period to the user. So that the user can know the actual yield of the current product every preset period of time (e.g., 5 minutes).
S105, the server judges whether output data sent by the field device are received according to preset frequency, if not, S106 is executed.
In the case of normal communication between the server and the field device, the server can receive the yield data sent by the field device at a preset frequency, for example, once every 5 minutes. If the server does not receive the output data sent by the field device according to the preset frequency, the server indicates that communication between the field device and the server is abnormal, such as communication interruption.
S106, the server sends prompt information to the user side.
And if the server does not receive the yield data sent by the field device according to the preset frequency, sending prompt information to the user side. The prompt information is used for prompting the communication between the user server and the field device to be abnormal, and the prompt information is processed in time.
And S107, when the server receives the target yield data sent by the field device, determining an abnormal time period, the first data information of the abnormal data period, and the starting time and the ending time of the abnormal data period.
The target yield data is yield data received by the server for the first time after communication is recovered. The abnormal time period refers to a time period corresponding to communication abnormality. The server may determine the abnormal time period based on a time when the yield data is first received after the communication is restored and a time when the yield data is last received before the communication is abnormal.
The starting time of the abnormal time period refers to the moment corresponding to the last time the server receives the yield data sent by the field device before communication abnormality, and the ending time of the abnormal time period refers to the moment corresponding to the first time the server receives the yield data sent by the field device after communication abnormality is recovered.
The abnormal data segment refers to yield data calculated by the server from the start time to the end time. For convenience of description, the start time is denoted as ts, the end time is denoted as te, and the first data information of the abnormal data segment may be the output data corresponding to the ts period, where the ts period is a period corresponding to the ts-1 time. Based on this, the server can take the yield data corresponding to the ts period as the first data information.
S108, the server calculates yield increment information according to the first data information and the target yield data.
After determining the first data information and the target yield data, the server may calculate yield delta information. For example, the server calculates a difference between the weight of the yield in the target yield data and the weight of the product in the first data information, and uses the difference as yield increment information.
And S109, the server supplements the output increment information to the abnormal data segment according to the starting time, the ending time and the preset frequency to obtain the target data segment.
The server can supplement the output increment information to the abnormal data segment based on the starting time, the ending time and the preset frequency to obtain the target data segment.
For example, the start time ts is 8:30, the end time te is 9:00, the preset frequency is 1/300 (the period is 5 minutes), the product weight corresponding to ts is 50kg, the product weight corresponding to te is 80kg, and the weight in the yield increment information is 30kg.
Wherein the anomalous data segments are shown in table 1 below.
Table 1:
in some examples, the server may determine that there are 6 time periods based on the start time, the end time, the predicted frequency, and then distribute the yield delta information to the 6 time periods, resulting in yield sub-delta information for each time period. For example, the output sub-increment information for each period may be 5kg, and thus the target data segment may be obtained, as shown in table 2.
Table 2:
in some embodiments, the server may supplement the production delta information with the anomalous data segments based on historical production efficiency. Wherein the historical production efficiency may be determined based on the historical production data, for example, the production efficiency of the historical production data at each period may be calculated in advance, and then the corrected abnormal data segment may be corrected again based on the historical production efficiency. Wherein, the historical production efficiency is shown in the following table 3.
Table 3:
time period of | 8:30-8:35 | 8:35-8:40 | 8:40-8:45 | 8:45-8:50 | 8:50-8:55 | 8:55-9:00 |
Historical production efficiency | 10 | 15 | 15 | 20 | 20 | 20 |
Based on this, the server may determine the output sub-increment information corresponding to each period by weighting and averaging the weight of 30kg in the output increment information, as shown in table 4 below.
Table 4:
time period of | 8:30-8:35 | 8:35-8:40 | 8:40-8:45 | 8:45-8:50 | 8:50-8:55 | 8:55-9:00 |
Increment of | 3 | 4.5 | 4.5 | 6 | 6 | 6 |
It should be noted that the above tables 1 to 4 of the present application are merely exemplary illustrations.
S110, the server sends the target data segment to the user.
After determining the target data segment, the server may send the target data segment to the client. For example, the third row and the fourth row of table 2 may be transmitted to the user terminal by transmitting all of table 2.
S111, the user acquires confirmation information fed back by the user aiming at the target data segment.
After receiving the target data segment, the user side may display the target data segment to the user, so that the user may determine the target data segment, and the user may trigger a feedback operation for the target data segment, for example, agree to the modified abnormal data segment (i.e., the target data segment), and the user side may generate acknowledgement information based on the feedback operation.
Of course, the user may trigger an editing operation for the corrected abnormal data segment, and the user side generates editing information based on the editing operation, and then sends the editing information to the server, so that the server edits the target data segment based on the editing information.
S112, the user sends confirmation information to the server.
The user may send a confirmation to the server.
S113, the server corrects the abnormal data segment to the target data segment according to the confirmation information.
After confirmation by the user, the server corrects the abnormal data segment to the target data segment based on the confirmation information.
Based on the above description, the present application provides a method for correcting yield data, in which a server determines whether yield data sent by a field device is received according to a preset frequency, and if not, sends a prompt message to a user terminal to prompt that communication between the field device and the server is abnormal. After communication is restored, when the server receives target output data sent by the field device, determining an abnormal data segment, a first data message of the abnormal data segment, and starting time and ending time of the abnormal data segment, then calculating output increment information by the server based on the first data message and the target output data, supplementing the output increment information to the abnormal data segment according to the starting time, the ending time and preset frequency to obtain the target data segment, and then sending the target data segment to a user side, wherein the user side can send confirmation information fed back by a user aiming at the target data segment to the server, and the server corrects the abnormal data segment to the target data segment based on the confirmation information, so that data correction is realized, and further the distortion condition of the output data is reduced.
The method for correcting the yield data provided by the embodiment of the application is described in detail above with reference to the drawings, and the device and equipment provided by the embodiment of the application are described below with reference to the drawings.
Referring to the schematic structure of the apparatus for correcting yield data shown in fig. 2, the apparatus 200 includes:
the judging module 201 is configured to judge whether yield data sent by a field device is received according to a preset frequency, if not, the server sends prompt information to a user terminal, where the prompt information is used to prompt the user that communication between the field device and the server is abnormal;
the receiving module 202 is configured to determine an abnormal data segment, first data information of the abnormal data segment, start time and end time of the abnormal data segment when target yield data sent by the field device is received, where the target yield data is yield data received by the server for the first time after communication is recovered;
a calculation module 203, configured to calculate yield increment information according to the first data information and the target yield data;
the supplementing module 204 is configured to supplement the output increment information to the abnormal data segment according to the start time, the end time and the preset frequency, so as to obtain a target data segment;
a sending module 205, configured to send the target data segment to a user terminal;
and the correction module 206 is configured to correct the abnormal data segment to the target data segment according to the acknowledgement information fed back by the user side for the target data segment.
In some possible implementations, the supplementing module 204 is specifically configured to supplement the output increment information on the abnormal data segment based on historical production efficiency.
In some possible implementations, the yield data is a yield of the liquid product, the field device includes a preset capacity of the loading device, and the yield data is determined by a linear correction function, a density of the liquid product, the preset capacity, and a number of the loading devices and a number of times of loading.
In some possible implementations, the yield data is a yield of a solid product, and the field device includes a robotic arm and a weighing module; the yield data is determined by the sum of a plurality of values of the weighing module.
In some possible implementations, the yield data is characterized by the product of the yield of the second type of product plus a yield of the first type of product, the first type of product having a lower moisture content than the second type of product; the field device comprises a conveyor belt, a first weighing module, a mechanical arm and a second weighing module; the output of the first type of product is determined by the conveyor belt and the first weighing module, and the output of the second type of product is determined by the second weighing module.
The apparatus 200 for correcting yield data according to the embodiment of the present application may correspond to performing the method described in the embodiment of the present application, and the above and other operations and/or functions of each module/unit of the apparatus 200 for correcting yield data are respectively for implementing the corresponding flow of each method in the embodiment shown in fig. 1, and are not repeated herein for brevity.
The embodiment of the application also provides a computing device, which is specifically configured to implement the function of the apparatus 200 for correcting yield data in the embodiment shown in fig. 2.
Fig. 3 provides a schematic diagram of a computing device, as shown in fig. 3, computing device 300 includes a bus 301, a processor 302, a communication interface 303, and a memory 304. The processor 302, the memory 304 and the communication interface 303 communicate via a bus 301.
Bus 301 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 3, but not only one bus or one type of bus.
The processor 302 may be any one or more of a central processing unit (central processing unit, CPU), a graphics processor (graphics processing unit, GPU), a Microprocessor (MP), or a digital signal processor (digital signal processor, DSP).
The communication interface 303 is used for communication with the outside. For example, the communication interface 303 may be used with user terminals and field devices. The communication interface 303 is used to send a target data segment to a user terminal, or to receive production data sent by a field device, etc.
The memory 304 may include volatile memory (RAM), such as random access memory (random access memory). The memory 304 may also include a non-volatile memory (non-volatile memory), such as read-only memory (ROM), flash memory, hard Disk Drive (HDD), or solid state drive (solid state drive, SSD).
The memory 304 has stored therein executable code that the processor 302 executes to perform the aforementioned yield data correction method.
In particular, in the case where the embodiment shown in fig. 2 is implemented, and each module or unit of the yield data correction apparatus 200 described in the embodiment of fig. 2 is implemented by software, software or program code required to perform the functions of each module/unit in fig. 2 may be partially or entirely stored in the memory 304. The processor 302 executes the program codes corresponding to the respective units stored in the memory 304, and executes the aforementioned yield data correction method.
The embodiment of the application also provides a computer readable storage medium. The computer readable storage medium may be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc. The computer-readable storage medium includes instructions that instruct a computing device to perform the above-described correction method of yield data applied to the correction device 200 of yield data.
Embodiments of the present application also provide a computer program product comprising one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the processes or functions in accordance with embodiments of the present application are fully or partially developed.
The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, or data center to another website, computer, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.).
The computer program product, when executed by a computer, performs any of the methods of correction of yield data described above. The computer program product may be a software installation package which may be downloaded and executed on a computer in case any of the methods of correction of the aforementioned yield data is required.
The descriptions of the processes or structures corresponding to the drawings have emphasis, and the descriptions of other processes or structures may be referred to for the parts of a certain process or structure that are not described in detail.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application.
Claims (10)
1. A method for correcting yield data, comprising:
the server judges whether yield data sent by the field device are received according to preset frequency;
if not, the server sends prompt information to the user side, wherein the prompt information is used for prompting the user that the communication between the field device and the server is abnormal;
when a server receives target yield data sent by field equipment, determining an abnormal data segment, first data information of the abnormal data segment, starting time and ending time of the abnormal data segment, wherein the target yield data is yield data received by the server for the first time after communication is recovered;
the server calculates yield increment information according to the first data information and the target yield data;
the server supplements the yield increment information to the abnormal data segment according to the starting time, the ending time and the preset frequency to obtain a target data segment;
the server sends the target data segment to the user;
and the server corrects the abnormal data segment into the target data segment according to the confirmation information fed back by the user side for the target data segment.
2. The method of claim 1, wherein supplementing the yield delta information to the anomalous data segment comprises:
and supplementing the output increment information on the abnormal data segment based on historical production efficiency.
3. The method of claim 1, wherein the production data is a production of a liquid product, the field device comprises a preset capacity of the loading device, and the production data is determined by a linear correction function, a density of the liquid product, the preset capacity, and a number and number of the loading devices.
4. The method of claim 1, wherein the yield data is a yield of a solid product, and the field device comprises a robotic arm and a weighing module; the yield data is determined by the sum of a plurality of values of the weighing module.
5. The method of claim 1, wherein the yield data is characterized by the product of the yield of the second type of product plus a yield of the first type of product, the first type of product having a lower moisture content than the second type of product; the field device comprises a conveyor belt, a first weighing module, a mechanical arm and a second weighing module; the output of the first type of product is determined by the conveyor belt and the first weighing module, and the output of the second type of product is determined by the second weighing module.
6. A correction device for yield data, comprising:
the judging module is used for judging whether yield data sent by the field device are received according to preset frequency, if not, the server sends prompt information to the user side, and the prompt information is used for prompting the user that communication between the field device and the server is abnormal;
the receiving module is used for determining an abnormal data segment, first data information of the abnormal data segment, starting time and ending time of the abnormal data segment when receiving target yield data sent by the field device, wherein the target yield data is yield data received by the server for the first time after communication is recovered;
the calculation module is used for calculating yield increment information according to the first data information and the target yield data;
the supplementing module is used for supplementing the output increment information to the abnormal data segment according to the starting time, the ending time and the preset frequency to obtain a target data segment;
the sending module is used for sending the target data segment to a user terminal;
and the correction module is used for correcting the abnormal data segment into the target data segment according to the confirmation information fed back by the user side for the target data segment.
7. The apparatus according to claim 6, wherein the supplementing module is configured to supplement the production delta information in the abnormal data segment based on, in particular, historical production efficiency.
8. The apparatus of claim 6, wherein the production data is a production of a liquid product, the field device comprises a preset volume of the containment device, and the production data is determined by a linear correction function, a density of the liquid product, the preset volume, and a number and number of containment devices.
9. A computing device comprising a memory and a processor;
wherein one or more computer programs are stored in the memory, the one or more computer programs comprising instructions; the instructions, when executed by the processor, cause the computing device to perform the method of any of claims 1 to 5.
10. A computer readable storage medium for storing a computer program for executing the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311278029.1A CN117033061A (en) | 2023-10-07 | 2023-10-07 | Yield data correction method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311278029.1A CN117033061A (en) | 2023-10-07 | 2023-10-07 | Yield data correction method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117033061A true CN117033061A (en) | 2023-11-10 |
Family
ID=88641369
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311278029.1A Pending CN117033061A (en) | 2023-10-07 | 2023-10-07 | Yield data correction method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117033061A (en) |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100050017A1 (en) * | 2008-08-25 | 2010-02-25 | Saudi Arabian Oil Company | Intelligent Field Oil and Gas Field Data Acquisition, Delivery, Control, and Retention Based Apparatus, Program Product and Related Methods |
CN102080531A (en) * | 2009-11-30 | 2011-06-01 | 郭腾明 | Method for production metering of oil wells |
CN105491147A (en) * | 2015-12-21 | 2016-04-13 | 美的集团股份有限公司 | Refrigerator food material fresh-keeping prompting method, system, refrigerator and cloud server |
WO2017088354A1 (en) * | 2015-11-27 | 2017-06-01 | 张泽 | Method, apparatus and system for diagnosing device fault |
CN109147295A (en) * | 2018-08-13 | 2019-01-04 | 广州迈得豪电子科技有限公司 | data acquisition and transmission method, device, system and repeater |
CN111526207A (en) * | 2020-05-06 | 2020-08-11 | 金蝶软件(中国)有限公司 | Data transmission method and related equipment |
CN111829601A (en) * | 2020-07-21 | 2020-10-27 | 中国人民解放军国防科技大学 | Method and device for synchronously measuring multi-state parameters of fluid, electronic equipment and storage medium |
CN111859285A (en) * | 2020-06-12 | 2020-10-30 | 有米科技股份有限公司 | Method and device for supplementing missing sales data |
CN114137465A (en) * | 2021-11-24 | 2022-03-04 | 浙江威星智能仪表股份有限公司 | Detection and correction method for double-Hall metering abnormity |
CN115131895A (en) * | 2022-06-28 | 2022-09-30 | 章鱼博士智能技术(上海)有限公司 | Method and device for acquiring vehicle mileage data and electronic equipment |
CN115314919A (en) * | 2022-06-21 | 2022-11-08 | 中国南方电网有限责任公司超高压输电公司 | Continuous and reliable transmission method for online data of power internet of things |
CN115479650A (en) * | 2022-10-21 | 2022-12-16 | 江苏禹治流域管理技术研究院有限公司 | Monitoring system and method for dam water level in flood season |
CN115695587A (en) * | 2021-07-28 | 2023-02-03 | 腾讯科技(深圳)有限公司 | Service data processing system, method, device and storage medium |
CN116456297A (en) * | 2023-06-20 | 2023-07-18 | 国网浙江省电力有限公司宁波供电公司 | Data acquisition method based on 5G network |
CN116702072A (en) * | 2023-05-16 | 2023-09-05 | 中国联合网络通信集团有限公司 | Method and device for determining abnormal data and storage medium |
CN116821809A (en) * | 2023-08-30 | 2023-09-29 | 济宁医学院附属医院 | Vital sign data acquisition system based on artificial intelligence |
-
2023
- 2023-10-07 CN CN202311278029.1A patent/CN117033061A/en active Pending
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100050017A1 (en) * | 2008-08-25 | 2010-02-25 | Saudi Arabian Oil Company | Intelligent Field Oil and Gas Field Data Acquisition, Delivery, Control, and Retention Based Apparatus, Program Product and Related Methods |
CN102080531A (en) * | 2009-11-30 | 2011-06-01 | 郭腾明 | Method for production metering of oil wells |
WO2017088354A1 (en) * | 2015-11-27 | 2017-06-01 | 张泽 | Method, apparatus and system for diagnosing device fault |
CN105491147A (en) * | 2015-12-21 | 2016-04-13 | 美的集团股份有限公司 | Refrigerator food material fresh-keeping prompting method, system, refrigerator and cloud server |
CN109147295A (en) * | 2018-08-13 | 2019-01-04 | 广州迈得豪电子科技有限公司 | data acquisition and transmission method, device, system and repeater |
CN111526207A (en) * | 2020-05-06 | 2020-08-11 | 金蝶软件(中国)有限公司 | Data transmission method and related equipment |
CN111859285A (en) * | 2020-06-12 | 2020-10-30 | 有米科技股份有限公司 | Method and device for supplementing missing sales data |
CN111829601A (en) * | 2020-07-21 | 2020-10-27 | 中国人民解放军国防科技大学 | Method and device for synchronously measuring multi-state parameters of fluid, electronic equipment and storage medium |
CN115695587A (en) * | 2021-07-28 | 2023-02-03 | 腾讯科技(深圳)有限公司 | Service data processing system, method, device and storage medium |
CN114137465A (en) * | 2021-11-24 | 2022-03-04 | 浙江威星智能仪表股份有限公司 | Detection and correction method for double-Hall metering abnormity |
CN115314919A (en) * | 2022-06-21 | 2022-11-08 | 中国南方电网有限责任公司超高压输电公司 | Continuous and reliable transmission method for online data of power internet of things |
CN115131895A (en) * | 2022-06-28 | 2022-09-30 | 章鱼博士智能技术(上海)有限公司 | Method and device for acquiring vehicle mileage data and electronic equipment |
CN115479650A (en) * | 2022-10-21 | 2022-12-16 | 江苏禹治流域管理技术研究院有限公司 | Monitoring system and method for dam water level in flood season |
CN116702072A (en) * | 2023-05-16 | 2023-09-05 | 中国联合网络通信集团有限公司 | Method and device for determining abnormal data and storage medium |
CN116456297A (en) * | 2023-06-20 | 2023-07-18 | 国网浙江省电力有限公司宁波供电公司 | Data acquisition method based on 5G network |
CN116821809A (en) * | 2023-08-30 | 2023-09-29 | 济宁医学院附属医院 | Vital sign data acquisition system based on artificial intelligence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020124960A1 (en) | Data storage detection method and apparatus, and storage medium and electronic apparatus | |
CN115808911B (en) | Industrial Internet of things regulation and control method and system for defective products generated in production line | |
CN112019279A (en) | Line loss calibration method, device and system and computer readable storage medium | |
US20230251125A1 (en) | Systems and methods for scale calibration | |
CN112085355A (en) | Trade order management method and device for Internet e-commerce | |
CN117033061A (en) | Yield data correction method, device, equipment and storage medium | |
CN116579583A (en) | Building progress deviation adjusting method, system, equipment and medium based on BIM | |
CN111211869B (en) | Method for automatically adapting baud rate, intelligent terminal and storage medium | |
WO2023151116A1 (en) | Electric vehicle available capacity calibration method and terminal | |
US20230266158A1 (en) | Method and system for eccentric load error correction | |
CN112714155B (en) | Electric power operation data consistency verification method and device based on end cloud cooperative service | |
CN109766126B (en) | Multi-core firmware loading method and device, computer equipment and storage medium | |
CN110333387B (en) | Electric energy metering method of electric energy meter | |
US7286891B2 (en) | System and method for correcting material and data mismatch in an automated manufacturing environment | |
JP2915517B2 (en) | Automatic time correction method for system components | |
US10050772B2 (en) | Method and apparatus for generating standard pattern for data signals | |
CN112904882A (en) | Robot motion correction method and device, robot and upper computer | |
CN114815573B (en) | Ammeter time calibration method and device, electronic equipment and storage medium | |
CN116841591B (en) | Firmware upgrading method, system and medium of metering equipment | |
JP6752661B2 (en) | Processing equipment, inspection systems and processing programs | |
CN117347940B (en) | Calibration method, device, equipment and storage medium for battery charging and discharging equipment | |
JP7070124B2 (en) | Manufacturing control equipment, manufacturing control methods, and programs | |
CN117863362A (en) | Abnormality diagnosis method for stirring station, abnormality diagnosis device, and stirring station | |
CN117262654A (en) | Method and device for adjusting conveying parameters of battery powder system | |
CN117669802A (en) | Feeding method and device |
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 |