A performance detection method, device, equipment and medium based on a scanning gun
By preprocessing environmental data and collecting scanner performance data in the storage environment and evaluating its environmental performance matching index, the problem of inaccurate performance detection of scanners in complex environments is solved, and more accurate performance detection and environmental matching is achieved, improving Logistics operation efficiency.
Patent Information
- Application Number
- CN202411533711.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-10-31
AI Technical Summary
In the prior art, when used in a warehousing environment, there is a problem of inaccurate performance detection, especially in complex lighting environments and long-term use, which affects its performance stability.
By preprocessing the real-time environmental data in the preset storage environment, the actual measurement values of environmental influencing factors are obtained, and the performance data of the scanner gun is collected within the preset time interval. Based on these data, the performance detection status and environmental matching degree of the scanner gun are evaluated, the environmental performance matching index of the scanner gun is calculated, and whether scanning working environment tuning and scanning position tuning are required.
More accurate scanning gun performance detection is achieved, ensuring that it maintains stable performance in complex environments, and improving the accuracy and operational efficiency of logistics information.
Smart Images

Figure CN119047496B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of scanning gun performance detection data processing technology, and in particular to a scanning gun-based performance detection method, device, equipment and medium. Background Art
[0002] In the logistics and warehousing industries, scanners are one of the core tools, widely used in inventory management, cargo tracking, order processing, and warehousing operations. In these links, scanners, as the main data collection tool, are widely used to read barcodes and QR codes. Its performance and accuracy directly determine the efficiency of logistics and warehousing operations. In order to ensure the accuracy and stability of the scanner, regular performance testing is essential. With the development of Logistics 4.0, scanners are not only a tool for information collection, but will also become an important part of the intelligent logistics system.
[0003] The existing performance testing methods for scanners test whether the scanner can accurately read the content of different barcodes, especially complex or damaged barcodes, and measure the number of scans the scanner can handle per second and its performance under different lighting, angles or surface reflection conditions. Through these testing items, it is possible to comprehensively evaluate whether the performance of the scanner meets the use requirements and eliminate potential performance risks.
[0004] For example, the information input method, apparatus, computer equipment and storage medium disclosed in the patent application with publication number: CN116245121A include: when detecting that the barcode scanner device is working, obtaining the information content scanned by the barcode scanner device and the time interval of the input event; based on the preset time threshold and time interval, determining the information input method in the barcode scanner input method and the keyboard input method; calling the adaptive communication environment component of the barcode scanner application to obtain the information input method, and based on the information input method, driving the corresponding input device to input the information content into the text box.
[0005] For example, the invention patent with announcement number: CN112836530B announces a scanning gun detection method, device, equipment and medium, including: sending a scan start command based on a scanning gun test operation, the scan start command is used to trigger a target scanning gun to start scanning; outputting a barcode waveform graph based on linear barcode data, wherein the linear barcode data is the barcode data collected by the target scanning gun; comparing and analyzing the barcode waveform graph with the test barcode graph corresponding to the scanning gun test operation to obtain a scanning detection result of the target scanning gun.
[0006] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems:
[0007] The logistics and warehousing industries widely use scanners for inventory management, cargo tracking, and logistics operations. The accuracy and stability of scanners directly affect the accuracy and efficiency of logistics information. In warehouse management, scanner performance testing can be used to ensure that the scanner can quickly and accurately read the barcodes of goods, especially to maintain stable performance during long-term use or in complex environments (such as dusty warehouses).
[0008] In the prior art, the complexity of the storage environment may cause the performance of the equipment to decline. For example, the lighting environment in the warehouse may be very complex, with adverse conditions such as strong light, reflection, and shadow. These lighting changes may affect the scanner's accurate reading of the barcode. In addition, in the storage environment, the scanner needs to run continuously. Long-term and frequent use of the scanner may cause wear or aging of the internal hardware, affecting its performance, and there is a problem of inaccurate performance detection of the scanner. Summary of the invention
[0009] The embodiments of the present application solve the problem of inaccurate performance detection of scanning guns in the prior art by providing a performance detection method, device, equipment and medium based on a scanning gun, thereby achieving more accurate performance detection of scanning guns.
[0010] The embodiment of the present application provides a performance detection method based on a scanner, comprising the following steps: S1, preprocessing real-time environmental data in a preset storage environment to obtain actual measurement values of environmental influencing factors, and collecting scanner performance data of the scanner within a preset time interval; S2, evaluating the matching degree between the performance detection situation of the scanner and the preset storage environment according to the actual measurement values of the environmental influencing factors and the scanner performance data to obtain a scanner environment performance matching index, judging whether to prompt to perform scanner scanning working environment tuning based on the scanner environment performance matching index and the preset performance matching range, and the scanner environment performance matching index is used to comprehensively quantify the performance detection situation of the scanner and the preset storage environment. The degree of matching of the scanning environment with the environment; S3, after performing the scanning gun scanning working environment tuning, the effect of the scanning gun scanning working environment tuning is evaluated to obtain a scanning environment tuning evaluation index, and whether to perform the scanning gun scanning position tuning is determined based on the scanning environment tuning evaluation index and the preset environment tuning effect threshold range, and the scanning environment tuning evaluation index is used to evaluate the effect of the scanning gun scanning working environment tuning; S4, obtaining the scanning position tuning evaluation index after performing the scanning gun scanning position tuning, and performing a comprehensive evaluation according to the scanning position tuning evaluation index and the preset position tuning effect threshold range to obtain a comprehensive evaluation result and provide feedback, and the scanning position tuning evaluation index is used to evaluate the effect of the scanning gun scanning position tuning.
[0011] Furthermore, the specific steps of evaluating the matching degree between the performance detection of the scanner and the preset storage environment according to the scanning performance data and the storage environment data to obtain the scanner environment performance matching index are as follows: obtaining the scanner performance data of the scanner for a preset number of collection times within a preset time interval and the actual measurement values of environmental influencing factors, the scanner performance data including the scanning speed of the scanner, the number of accurate barcodes scanned by the scanner and the total number of barcodes scanned by the scanner, the actual measurement values of the environmental influencing factors including the actual measurement values of the ambient temperature, the actual measurement values of the ambient humidity, the actual measurement values of the ambient light intensity and the actual measurement values of the ambient electromagnetic interference intensity; obtaining the optimal reference value, the influence reference deviation and the influence factor weight of the environmental influencing factor from the preset database, and obtaining the comprehensive environmental influencing factor in combination with the actual measurement values of the environmental influencing factor, the environmental influencing factor The optimal reference values include the optimal reference value of ambient temperature, the optimal reference value of ambient humidity, the optimal reference value of ambient light intensity and the optimal reference value of ambient electromagnetic interference intensity. The influencing reference deviation includes the ambient temperature reference deviation, the ambient humidity reference deviation, the ambient light intensity reference deviation and the ambient electromagnetic interference intensity reference deviation. The influencing factor weights include independent influencing factor weights and cross-influencing factor weights. The independent influencing factor weights include the ambient temperature influence weight, the ambient humidity influence weight, the ambient light intensity influence weight and the ambient electromagnetic interference intensity influence weight. The environmental comprehensive influencing factors and the scanning gun performance data are combined with the scanning gun scanning speed reference value and the scanning evaluation weight obtained from the preset database to obtain the scanning gun environmental performance matching index. The scanning evaluation weights include the scanning gun scanning speed weight and the scanning gun scanning accuracy weight.
[0012] Furthermore, the method for obtaining the scanner environment performance matching index is as follows:
[0013] ;
[0014] ;
[0015] ;
[0016] ;
[0017] In the formula, Indicates the scanner environment performance matching index. The number indicating the number of acquisitions within the preset time interval. , Indicates the total number of acquisitions within the preset time interval. Indicates the scanner environment performance matching index collected for the nth time. Indicates the scanning speed weight of the scanner. Indicates the scanning speed of the scanner for the nth acquisition. Indicates the scanning speed reference value of the scanner. Indicates the scanning accuracy weight of the scanner. Indicates the number of accurate barcodes scanned by the scanner for the nth acquisition. Indicates the total number of barcodes scanned by the scanner for the nth acquisition. Indicates the relevant value of influencing factors, represents the comprehensive environmental impact factor, Indicates the number of environmental impact factors. , Indicates the number of the m+1th environmental impact factor, represents the independent influencing factor weight of the mth environmental influencing factor, represents the actual measured value of the mth environmental influencing factor, represents the optimal reference value of the mth environmental influencing factor, represents the reference deviation of the mth environmental influencing factor, Represents the cross-influence factor weight of the mth environmental influencing factor and the jth environmental influencing factor.
[0018] Furthermore, the specific steps of evaluating the effect of tuning the scanning working environment of the scanning gun to obtain the scanning environment tuning evaluation index are as follows: obtaining the scanning initial related parameters of the scanning gun, the scanning initial related parameters represent the initial related data after de-unitization processing, and the initial related data include the scanning initial environment temperature, the scanning initial environment humidity, the scanning initial environment light intensity, the scanning initial speed and the scanning initial accuracy; obtaining the scanning tuning related parameters under the preset tuning environment, the scanning tuning related parameters represent the tuning related data after de-unitization processing, and the tuning related data include the scanning tuning environment temperature, the scanning tuning environment humidity, the scanning tuning environment light intensity, the scanning tuning speed and the scanning tuning accuracy; obtaining the scanning speed change of the scanning gun according to the scanning initial speed and the scanning tuning speed, and obtaining the scanning speed change according to the scanning initial accuracy and the scanning tuning accuracy. The scanning accuracy change of the scanning gun is obtained, and the scanning speed change of the scanning gun and the scanning accuracy change of the scanning gun are summed to obtain the scanning evaluation change; the scanning evaluation change is ratio-calculated with the temperature tuning change, the humidity tuning change, and the light intensity tuning change, respectively, wherein the temperature tuning change represents the absolute value of the difference between the scanning tuning environment temperature and the scanning initial environment temperature, the humidity tuning change represents the absolute value of the difference between the scanning tuning environment humidity and the scanning initial environment humidity, and the light intensity tuning change represents the absolute value of the difference between the scanning tuning environment light intensity and the scanning initial environment light intensity; the results of the ratio calculation are multiplied and summed with the corresponding environment tuning weights obtained from the preset database, and then calculated to obtain the scanning environment tuning evaluation index, wherein the environment tuning weights include the environment temperature tuning weight, the environment humidity tuning weight, and the environment light intensity optimization weight.
[0019] Furthermore, the specific steps of determining whether to perform scanning gun scanning position tuning based on the scanning environment tuning evaluation index and the preset environment tuning effect threshold range are as follows: compare the scanning environment tuning evaluation index with the preset environment tuning effect threshold range; if the scanning environment tuning evaluation index is within the preset environment tuning effect threshold range, scanning gun scanning position tuning is not performed; if the scanning environment tuning evaluation index exceeds the preset environment tuning effect threshold range, scanning gun scanning position tuning is performed.
[0020] Furthermore, the specific steps of obtaining the scanning position tuning evaluation index after performing scanning position tuning of the scanning gun are as follows: obtaining scanning position related parameters under a preset tuning environment, wherein the scanning position related parameters represent position related data after de-unitization processing, and the position related data include scanning initial position distance, scanning initial position angle, scanning initial position speed, and scanning initial position accuracy; obtaining scanning position tuning related parameters under a preset tuning environment, wherein the scanning position tuning related parameters represent position tuning related data after de-unitization processing, and the position tuning related data include scanning tuning position distance, scanning tuning position angle, scanning tuning position speed, and scanning tuning position accuracy; obtaining the scanning position speed of the scanning gun according to the scanning initial position speed and the scanning tuning position speed The scanning position evaluation change is obtained by summing the scanning position speed change of the scanning gun and the scanning position accuracy change of the scanning gun; the scanning position evaluation change is ratio-calculated with the distance tuning change and the angle tuning change, respectively; the distance tuning change represents the absolute value of the difference between the scanning tuning position distance and the scanning initial position distance; the angle tuning change represents the absolute value of the difference between the scanning tuning position angle and the scanning initial position angle; the results of the ratio calculation are multiplied and summed with the corresponding position tuning weights obtained from the preset database to obtain the scanning position tuning evaluation index, and the position tuning weights include the scanning distance tuning weight and the scanning angle tuning weight.
[0021] Furthermore, the specific process of performing a comprehensive evaluation based on the scanning position tuning evaluation index and the preset position tuning effect threshold range to obtain a comprehensive evaluation result and provide feedback is as follows: obtain the scanning position tuning evaluation index and the preset position tuning effect threshold range, and compare the scanning position tuning evaluation index and the preset position tuning effect threshold range; if the scanning position tuning evaluation index is within the preset position tuning effect threshold range, it is recorded as the performance test tuning is qualified and the scanning gun performance test is qualified; otherwise, it is recorded as the performance test tuning is unqualified and the scanning gun performance test is abnormal. At the same time, the early warning mechanism is triggered to provide feedback to remind the preset personnel that the scanning gun performance test is abnormal and it is recommended to replace the scanning gun. At the same time, the performance test of the scanning gun and the matching degree of the preset storage environment are evaluated again to obtain the scanning gun environment performance matching index, until the performance test tuning is qualified.
[0022] The embodiment of the present application provides a performance detection device based on a scanner, including a scanning data acquisition module, a performance environment matching module, a scanning environment tuning module and a scanning position tuning module: the scanning data acquisition module is used to pre-process the real-time environmental data in the preset storage environment to obtain the actual measurement value of the environmental influencing factor, and collect the scanning gun performance data of the scanner within the preset time interval; the performance environment matching module is used to evaluate the matching degree between the performance detection situation of the scanner and the preset storage environment according to the actual measurement value of the environmental influencing factor and the scanning gun performance data to obtain the scanning gun environment performance matching index, and judge whether to prompt to perform the scanning gun scanning working environment tuning based on the scanning gun environment performance matching index and the preset performance matching range, and the scanning gun environment performance matching index is used to comprehensively quantify the scanning gun performance. The performance test of the scanning gun and the degree of matching of the preset storage environment; the scanning environment tuning module is used to evaluate the effect of the scanning working environment tuning of the scanning gun after executing the scanning working environment tuning of the scanning gun to obtain a scanning environment tuning evaluation index, and judge whether to execute the scanning position tuning of the scanning gun based on the scanning environment tuning evaluation index and the preset environment tuning effect threshold range, and the scanning environment tuning evaluation index is used to evaluate the effect of the scanning working environment tuning of the scanning gun; the scanning position tuning module is used to obtain the scanning position tuning evaluation index after executing the scanning position tuning of the scanning gun, and perform a comprehensive evaluation according to the scanning position tuning evaluation index and the preset position tuning effect threshold range to obtain a comprehensive evaluation result and provide feedback, and the scanning position tuning evaluation index is used to evaluate the effect of the scanning position tuning of the scanning gun.
[0023] An embodiment of the present application provides an electronic device, which includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to implement a performance detection method based on a scanner.
[0024] An embodiment of the present application provides a computer-readable storage medium for storing a program, wherein when the program is executed by a processor, a performance detection method based on a scanning gun is implemented.
[0025] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0026] 1. Evaluate the performance test of the scanner and the degree of matching of the preset storage environment through scanning performance data and storage environment data to obtain the scanner environment performance matching index to determine whether to perform scanner scanning working environment tuning. Then, determine whether to perform scanner scanning position tuning based on the effect of scanner scanning working environment tuning. Finally, perform a comprehensive evaluation to obtain a comprehensive evaluation result, thereby achieving the evaluation and optimization of the performance test of the scanner and the preset storage environment, and then achieving a more accurate effect of scanner performance detection, effectively solving the problem of inaccurate scanner performance detection in the prior art.
[0027] 2. By obtaining the scanner performance data of the preset number of collections within the preset time interval and the actual measured values of the environmental influencing factors, the optimal reference value of the environmental influencing factors, the reference deviation of the influence and the weight of the influence factors are obtained from the preset database, and the comprehensive environmental influencing factors are obtained in combination with the actual measured values of the environmental influencing factors. Finally, the comprehensive environmental influencing factors and the scanner performance data are combined with the scanner scanning speed reference value and the scanning evaluation weight obtained from the preset database to obtain the scanner environmental performance matching index, thereby realizing the numerical evaluation of the matching degree between the performance detection of the scanner and the preset storage environment, and then realizing a more accurate evaluation of the matching degree between the performance detection of the scanner and the preset storage environment.
[0028] 3. By obtaining the scanning position related parameters and scanning position tuning related parameters under the preset tuning environment, and then performing ratio operations on the scanning position evaluation change, the distance tuning change, and the angle tuning change, respectively, and finally multiplying the results of the ratio operation with the corresponding position tuning weights obtained from the preset database, the results are calculated and summed to obtain the scanning position tuning evaluation index, thereby realizing the numerical evaluation of the scanning position tuning effect of the scanning gun, and further realizing a more accurate evaluation of the scanning position tuning effect of the scanning gun. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A flowchart of a performance detection method based on a scanner provided in an embodiment of the present application;
[0030] Figure 2 A graph showing changes in the environmental performance matching index of a scanner provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] The embodiments of the present application solve the problem of inaccurate performance detection of scanning guns in the prior art by providing a performance detection method, device, equipment and medium based on a scanning gun. The storage environment data is obtained by preprocessing the real-time environment data in the preset storage environment, and the scanning performance data of the scanning gun is collected within a preset time interval. Then, the matching degree between the performance detection situation of the scanning gun and the preset storage environment is evaluated according to the scanning performance data and the storage environment data to obtain the scanning gun environment performance matching index. Based on the scanning gun environment performance matching index and the preset performance matching range, it is determined whether to prompt to perform scanning gun scanning working environment tuning. Then, after performing scanning gun scanning working environment tuning, the effect of scanning gun scanning working environment tuning is evaluated to obtain the scanning environment tuning evaluation index. Based on the scanning environment tuning evaluation index and the preset environment tuning effect threshold range, it is determined whether to perform scanning gun scanning position tuning. Finally, the scanning position tuning evaluation index after the scanning gun scanning position tuning is performed is obtained. A comprehensive evaluation is performed according to the scanning position tuning evaluation index and the preset position tuning effect threshold range to obtain a comprehensive evaluation result and provide feedback, thereby achieving more accurate scanning gun performance detection.
[0032] The technical solution in the embodiment of the present application is to solve the problem of inaccurate performance detection of the above-mentioned scanning gun, and the overall idea is as follows:
[0033] By acquiring scanning performance data and storage environment data, the scanner environment performance matching index is obtained to determine whether to prompt the execution of scanner scanning working environment tuning. Then, the effect of the scanner scanning working environment tuning is evaluated to determine whether to execute the scanner scanning position tuning. Finally, a comprehensive evaluation is performed to obtain a comprehensive evaluation result, thereby achieving a more accurate effect of scanner performance detection.
[0034] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0035] like Figure 1As shown, it is a flow chart of a performance detection method based on a scanner provided by an embodiment of the present application. The method is applied to a performance detection device based on a scanner, and the method includes the following steps: S1, pre-processing the real-time environmental data in the preset storage environment to obtain the actual measurement value of the environmental influencing factor, and collecting the scanner performance data of the scanner within the preset time interval; S2, evaluating the matching degree between the performance detection situation of the scanner and the preset storage environment according to the actual measurement value of the environmental influencing factor and the scanner performance data to obtain the scanner environment performance matching index, judging whether to prompt to perform the scanner scanning working environment tuning based on the scanner environment performance matching index and the preset performance matching range, and the scanner environment performance matching index is used for comprehensive measurement. The performance test of the scanner gun and the degree of matching of the preset storage environment; S3, after executing the scanner gun scanning working environment tuning, the effect of the scanner gun scanning working environment tuning is evaluated to obtain the scanning environment tuning evaluation index, and whether to execute the scanner gun scanning position tuning is determined based on the scanning environment tuning evaluation index and the preset environment tuning effect threshold range. The scanning environment tuning evaluation index is used to evaluate the effect of the scanner gun scanning working environment tuning; S4, obtain the scanning position tuning evaluation index after executing the scanning gun scanning position tuning, and perform a comprehensive evaluation based on the scanning position tuning evaluation index and the preset position tuning effect threshold range to obtain a comprehensive evaluation result and provide feedback, and the scanning position tuning evaluation index is used to evaluate the effect of the scanning gun scanning position tuning.
[0036] In this embodiment, real-time environmental data is acquired through sensors deployed in a preset storage environment. Since the real-time environmental data collected by the sensors may contain noise, outliers, or error values, the real-time environmental data needs to be preprocessed to ensure the accuracy of subsequent analysis; the preprocessing includes data cleaning and data normalization.
[0037] Data cleaning refers to the use of visualization tools (such as heat maps) to identify missing values in the acquired real-time environmental data and fill them in through interpolation methods, such as the mean interpolation method to calculate the mean of the column containing missing values, replace the missing values in the column with the mean, and use statistical methods (such as the triple standard deviation method) to identify outliers and delete them. If they exceed the range of three times the standard deviation of the mean, they are considered outliers. The output of the sensor may have different dimensions or ranges, which can be converted to the same dimension or standardized range through data normalization for unified processing. For example, the data can be converted to a normal distribution with a mean of 0 and a standard deviation of 1 through Z-score standardization.
[0038] Among them, the scanning performance data includes scanning speed and scanning accuracy. The scanning speed is the number of barcodes scanned by the scanner per unit time, and the scanning accuracy is the ratio of the number of barcodes successfully identified by the scanner within a preset time interval to the total number of scans. By collecting real-time environmental data and preprocessing it to obtain storage environment data, and at the same time obtaining the scanning performance data of the scanner within a preset time interval, the working status of the scanner is comprehensively monitored, thereby improving the reliability of the performance detection of the scanner.
[0039] Furthermore, the specific steps of evaluating the matching degree between the performance detection of the scanner and the preset storage environment according to the actual measured values of the environmental influencing factors and the scanner performance data to obtain the scanner environmental performance matching index are as follows: obtaining the scanner performance data of the preset number of collections within a preset time interval and the actual measured values of the environmental influencing factors, the scanner performance data including the scanning speed of the scanner, the number of accurate barcodes scanned by the scanner and the total number of barcodes scanned by the scanner, and the actual measured values of the environmental influencing factors including the actual measured values of the ambient temperature, the actual measured values of the ambient humidity, the actual measured values of the ambient light intensity and the actual measured values of the ambient electromagnetic interference intensity; obtaining the optimal reference value, the reference deviation and the weight of the environmental influencing factors from the preset database, and obtaining the comprehensive environmental influencing factors in combination with the actual measured values of the environmental influencing factors. The optimal reference values of influencing factors include the optimal reference value of ambient temperature, the optimal reference value of ambient humidity, the optimal reference value of ambient light intensity and the optimal reference value of ambient electromagnetic interference intensity. The influencing reference deviations include the ambient temperature reference deviation, the ambient humidity reference deviation, the ambient light intensity reference deviation and the ambient electromagnetic interference intensity reference deviation. The influencing factor weights include the independent influencing factor weights and the cross-influencing factor weights. The independent influencing factor weights include the ambient temperature influence weight, the ambient humidity influence weight, the ambient light intensity influence weight and the ambient electromagnetic interference intensity influence weight. The environmental comprehensive influencing factors and the scanner performance data are combined with the scanner scanning speed reference value and the scanning evaluation weight obtained from the preset database to obtain the scanner environmental performance matching index. The scanning evaluation weights include the scanner scanning speed weight and the scanner scanning accuracy weight.
[0040] The method to obtain the scanner environmental performance matching index is as follows:
[0041] ;
[0042] ;
[0043] ;
[0044] ;
[0045] In the formula, Indicates the scanner environment performance matching index. The number indicating the number of acquisitions within the preset time interval. , Indicates the total number of acquisitions within the preset time interval. Indicates the scanner environment performance matching index collected for the nth time. Indicates the scanning speed weight of the scanner. Indicates the scanning speed of the scanner for the nth acquisition. Indicates the scanning speed reference value of the scanner. Indicates the scanning accuracy weight of the scanner. Indicates the number of accurate barcodes scanned by the scanner for the nth acquisition. Indicates the total number of barcodes scanned by the scanner for the nth acquisition. Indicates the relevant value of influencing factors, represents the comprehensive environmental impact factor, Indicates the number of environmental impact factors. , Indicates the number of the m+1th environmental impact factor, represents the independent influencing factor weight of the mth environmental influencing factor, represents the actual measured value of the mth environmental influencing factor, represents the optimal reference value of the mth environmental influencing factor, represents the reference deviation of the mth environmental influencing factor, Represents the cross-influence factor weight of the mth environmental influencing factor and the jth environmental influencing factor.
[0046] In this embodiment, when m is 1, it represents that the environmental influencing factor is the ambient temperature, when m is 2, it represents that the environmental influencing temperature is the ambient humidity, when m is 3, it represents that the environmental influencing factor is the ambient light intensity, and when m is 4, it represents that the environmental influencing factor is the ambient electromagnetic interference intensity; the influence reference deviation is used to determine the acceptable deviation range between the actual measurement value of the environmental influencing factor and the corresponding optimal reference value of the environmental influencing factor; the ambient temperature reference deviation is represented by the ratio of the actual measurement value of the ambient temperature to the actual measurement value of the historical ambient temperature collected from the preset database and the average result, the ambient humidity reference deviation is represented by the ratio of the actual measurement value of the ambient humidity to the actual measurement value of the historical ambient humidity collected from the preset database and the average result, the ambient light intensity reference deviation is represented by the ratio of the actual measurement value of the ambient light intensity to the actual measurement value of the historical ambient light intensity collected from the preset database and the average result, and the ambient electromagnetic interference intensity reference deviation is represented by the ratio of the actual measurement value of the ambient electromagnetic interference intensity to the actual measurement value of the historical ambient electromagnetic interference intensity collected from the preset database and the average result.
[0047] Among them, the independent influencing factor weight is used to describe the degree of influence of the independent influence of environmental factors on the environmental performance matching index of the scanner. In this example, the sum of the ambient temperature influence weight, ambient humidity influence weight, ambient light intensity influence weight and ambient electromagnetic interference intensity influence weight is the independent influencing factor weight. The cross-influencing factor weight is used to describe the degree of influence of the cross-influence of environmental factors on the environmental performance matching index of the scanner. In this example, the sum of the independent influencing factor weight and the cross-influencing weight is 1.
[0048] The ambient temperature impact weight is used to describe the degree of influence of the ambient temperature on the environmental performance matching index of the scanner. Specifically, the ambient temperature impact weight is the weight corresponding to the ambient temperature impact preset in the preset database, which represents the numerical value of the influence of the ambient temperature on the environmental performance matching index of the scanner during the matching process between the performance detection of the scanner and the preset storage environment. When used, the weight corresponding to the preset ambient temperature impact can be directly obtained from the preset database, and the corresponding relationship can be a pre-set mapping relationship. For example, the ambient temperature during the matching process between the performance detection of the scanner and the preset storage environment and the weight corresponding to the ambient temperature preset in the preset database form a mapping set, and the real-time ambient temperature is input into the mapping set to obtain the corresponding weight. The mapping relationship can be one-to-one or many-to-one. In this example, the value range is [0, 1].
[0049] The environmental humidity influence weight is used to describe the influence of environmental humidity on the environmental performance matching index of the scanner. Specifically, the environmental temperature influence weight is the weight corresponding to the environmental humidity influence preset in the preset database, which represents the numerical value of the influence of environmental humidity on the environmental performance matching index of the scanner during the matching process between the performance detection of the scanner and the preset storage environment. When used, the weight corresponding to the preset environmental humidity influence can be directly obtained from the preset database, and the corresponding relationship can be a preset mapping relationship. For example, the weight corresponding to the environmental humidity in the matching process between the performance detection of the scanner and the preset storage environment and the environmental humidity preset in the preset database form a mapping set, and the real-time environmental humidity is input into the mapping set to obtain the corresponding weight. The mapping relationship can be one-to-one or many-to-one. In this example, the value range is [0, 1].
[0050] The ambient light intensity influence weight is used to describe the influence of ambient light intensity on the environmental performance matching index of the scanner. Specifically, the ambient light intensity influence weight is the weight corresponding to the ambient light intensity influence preset in the preset database, which represents the numerical value of the influence of the ambient light intensity on the environmental performance matching index of the scanner during the matching process between the performance detection of the scanner and the preset storage environment. When used, the preset weight corresponding to the ambient light intensity influence can be directly obtained from the preset database, and the corresponding relationship can be a preset mapping relationship. For example, the ambient light intensity during the matching process between the performance detection of the scanner and the preset storage environment and the weight corresponding to the ambient light intensity preset in the preset database form a mapping set, and the real-time ambient light intensity is input into the mapping set to obtain the corresponding weight. The mapping relationship can be one-to-one or many-to-one. In this example, the value range is [0, 1].
[0051] The environmental electromagnetic interference intensity impact weight is used to describe the degree of influence of the environmental electromagnetic interference intensity on the environmental performance matching index of the scanner. Specifically, the environmental electromagnetic interference intensity impact weight is the weight corresponding to the environmental electromagnetic interference intensity impact preset in the preset database, which represents the numerical value of the influence of the environmental electromagnetic interference intensity on the environmental performance matching index of the scanner during the matching process between the performance detection of the scanner and the preset storage environment. When used, the weight corresponding to the preset environmental electromagnetic interference intensity impact can be directly obtained from the preset database, and the corresponding relationship can be a preset mapping relationship. For example, the environmental electromagnetic interference intensity in the process of matching the performance detection of the scanner and the preset storage environment and the weight corresponding to the preset ambient temperature in the preset database form a mapping set, and the real-time environmental electromagnetic interference intensity is input into the mapping set to obtain the corresponding weight. The mapping relationship can be one-to-one or many-to-one. In this example, the value range is [0, 1]; the accurate evaluation of the performance detection of the scanner and the degree of matching of the preset storage environment is achieved.
[0052] like Figure 2As shown, it is a change diagram of the scanner environment performance matching index provided in the embodiment of the present application, in which it is set that the total number of acquisitions is 1, the scanner scanning speed weight is 0.5, the scanner scanning accuracy weight is 0.5, the scanner scanning speed reference value is 100, and the total number of scanned barcodes is 100; at the same time, it is assumed that the weights of independent influencing factors are 0.21, 0.14, 0.175, and 0.175, respectively, and the weights of cross-influencing factors are 0.1, 0.05, 0.1, 0.07, 0.08, and 0.05, respectively, the actual measured value of the ambient temperature is 30°C, the actual measured value of the ambient humidity is 60 (%), and the actual measured value of the ambient light intensity is 300lux. , the actual measured value of environmental electromagnetic interference intensity is 80uV / m, the optimal reference value of ambient temperature is 25℃, the optimal reference value of ambient humidity is 50, the optimal reference value of ambient light intensity is 250lux, the optimal reference value of environmental electromagnetic interference intensity is 60uV / m, the reference deviation of ambient temperature is 5℃, the reference deviation of ambient humidity is 15, the reference deviation of ambient light intensity is 50lx, the reference deviation of environmental electromagnetic interference intensity is 20uV / m, and the comprehensive environmental impact factor is 0.77; as can be seen from the figure, when the comprehensive environmental impact factor is a certain value, as the scanning speed of the scanner and the number of accurate barcodes scanned by the scanner increase, the scanner environmental performance matching index increases accordingly.
[0053] The scanner environment performance matching index includes parameters from multiple aspects, and each parameter is related to each other. It does not exist independently and is not obtained by simple combination and addition. For example, even if the scanning speed of the scanner is faster, it does not necessarily mean that the scanner environment performance matching index is greater. At this time, the number of accurate barcodes scanned by the scanner must also be considered. In addition, the independent and cross-influence of environmental factors also affect the scanner environment performance matching index. For example, when the ambient temperature is lower, if the ambient humidity is higher, it may cause condensation on the scanner lens or sensor, thereby affecting the performance test of the scanner. The numerical evaluation of the performance test of the scanner and the degree of matching of the preset storage environment is realized.
[0054] Furthermore, the specific steps of evaluating the effect of tuning the scanning working environment of the scanner to obtain the scanning environment tuning evaluation index are as follows: obtaining the initial scanning related parameters of the scanner, the initial scanning related parameters represent the initial related data after de-unitization processing, and the initial related data include the scanning initial environment temperature, the scanning initial environment humidity, the scanning initial environment light intensity, the scanning initial speed and the scanning initial accuracy; obtaining the scanning tuning related parameters under the preset tuning environment, the scanning tuning related parameters represent the tuning related data after de-unitization processing, and the tuning related data include the scanning tuning environment temperature, the scanning tuning environment humidity, the scanning tuning environment light intensity, the scanning tuning speed and the scanning tuning accuracy; obtaining the scanning speed change of the scanner according to the initial scanning speed and the scanning tuning speed, and obtaining the scanning speed change according to the initial scanning accuracy and the scanning tuning accuracy. The scanning accuracy change of the scanning gun is obtained by summing the scanning speed change of the scanning gun and the scanning accuracy change of the scanning gun to obtain the scanning evaluation change; the scanning evaluation change is ratio-calculated with the temperature tuning change, the humidity tuning change, and the light intensity tuning change, respectively. The temperature tuning change represents the absolute value of the difference between the scanning tuning environment temperature and the initial scanning environment temperature, the humidity tuning change represents the absolute value of the difference between the scanning tuning environment humidity and the initial scanning environment humidity, and the light intensity tuning change represents the absolute value of the difference between the scanning tuning environment light intensity and the initial scanning environment light intensity; the results of the ratio calculation are multiplied and summed with the corresponding environment tuning weights obtained from the preset database to obtain the scanning environment tuning evaluation index, and the environment tuning weights include the environment temperature tuning weight, the environment humidity tuning weight, and the environment light intensity optimization weight.
[0055] The method for obtaining the scanning environment tuning evaluation index is as follows:
[0056] ;
[0057] In the formula, Indicates the scanning environment tuning evaluation index. represents the ambient temperature tuning weight, represents the ambient humidity tuning weight, Indicates that ambient light emphasizes priority. Indicates the change in scanning speed of the scanner. Indicates the change in scanning accuracy of the scanner. Indicates scanning and tuning the ambient temperature. Indicates the initial ambient temperature of the scan. Indicates scanning and adjusting the ambient humidity. Indicates the initial ambient humidity of the scan. Indicates scanning and tuning of ambient light intensity. Indicates the initial ambient light intensity of the scan.
[0058] In this embodiment, the change in scanning speed of the scanning gun is the difference between the scanning tuning speed and the initial scanning speed, and the change in scanning accuracy of the scanning gun is the difference between the scanning tuning accuracy and the initial scanning accuracy; the ambient temperature tuning weight is used to describe the influence of ambient temperature tuning on the scanning environment tuning evaluation index. Specifically, the ambient temperature tuning weight is the weight corresponding to the ambient temperature tuning preset in the preset database, which represents the numerical value of the influence of the ambient temperature on the scanning environment tuning evaluation index during the scanning working environment tuning of the scanning gun. When used, the weight corresponding to the preset ambient temperature tuning can be directly obtained from the preset database, and the corresponding relationship can be a pre-set mapping relationship. For example, the ambient temperature of the scanning gun during the scanning working environment tuning process and the weight corresponding to the ambient temperature tuning preset in the preset database form a mapping set, and the real-time ambient temperature is input into the mapping set to obtain the corresponding weight. The mapping relationship can be one-to-one or many-to-one. In this example, the value range is [0, 1]. The environmental humidity tuning weight is used to describe the influence of environmental humidity tuning on the scanning environment tuning evaluation index. Specifically, the environmental humidity tuning weight is the weight corresponding to the environmental humidity tuning preset in the preset database, which represents the numerical value of the influence of environmental humidity on the scanning environment tuning evaluation index during the scanning working environment tuning of the scanner. When used, the weight corresponding to the preset environmental humidity tuning can be directly obtained from the preset database, and the corresponding relationship can be a preset mapping relationship. For example, the environmental humidity of the scanner during the scanning working environment tuning process and the weight corresponding to the environmental humidity tuning preset in the preset database form a mapping set, and the real-time environmental humidity is input into the mapping set to obtain the corresponding weight. The mapping relationship can be one-to-one or many-to-one. In this example, the value range is [0, 1]; in this example, the sum of the environmental temperature tuning weight, the environmental humidity tuning weight and the ambient light emphasis weight is 1, and the ambient light emphasis weight is used to describe the influence of the ambient light intensity tuning on the scanning environment tuning evaluation index.
[0059] Specific assumptions: the ambient temperature tuning weight is 0.5, the ambient humidity tuning weight is 0.3, the ambient light intensity tuning weight is 0.2, the initial ambient temperature of the scan is 20°C, the initial ambient humidity of the scan is 0.5, the initial ambient light intensity of the scan is 300 lux, the scan tuning ambient humidity is 0.55, and the scan tuning ambient light intensity is 320 lux; the scan environment tuning evaluation index can be calculated by the above method, and the change statistics of the scan environment tuning evaluation index are shown in Table 1:
[0060] Table 1 Statistics of changes in the scanning environment tuning evaluation index
[0061]
[0062] It can be seen from Table 1 that when the scanning tuning environment temperature and the scanning gun scanning humidity change are fixed values, as the scanning gun scanning accuracy change increases, the scanning environment tuning evaluation index increases accordingly, such as the first and second groups of data in the table; when the scanning gun scanning accuracy change is a fixed value, as the scanning tuning environment temperature increases, the scanning gun scanning speed change increases, so that the scanning environment tuning evaluation index also increases, such as the first and third groups of data in the table; among them, as the scanning tuning environment temperature, the scanning tuning environment humidity and the scanning tuning environment light intensity change, the scanning gun scanning speed change and the scanning gun scanning accuracy change change accordingly, and the scanning gun scanning speed change and the scanning gun scanning accuracy change both directly affect the scanning environment tuning evaluation index. Therefore, through a quantitative method, the correlation and mutual influence between various factors are considered, and the scanning environment tuning evaluation index is obtained by comprehensive analysis, so as to realize the numerical evaluation of the scanning gun scanning working environment tuning effect.
[0063] Furthermore, the specific steps for determining whether to perform scanning gun scanning position tuning based on the scanning environment tuning evaluation index and the preset environment tuning effect threshold range are as follows: compare the scanning environment tuning evaluation index with the preset environment tuning effect threshold range. If the scanning environment tuning evaluation index is within the preset environment tuning effect threshold range, scanning gun scanning position tuning is not performed; if the scanning environment tuning evaluation index exceeds the preset environment tuning effect threshold range, scanning gun scanning position tuning is performed.
[0064] In this embodiment, the specific process of environmental tuning can be achieved by adjusting the environmental influencing factors step by step, for example, increasing the initial ambient temperature of the scan by 5 degrees Celsius step by step; the preset environmental tuning effect threshold range is set by professionals according to standards in the field, for example, the scanning tuning ambient temperature range (generally 5°C to 35°C), the scanning tuning ambient humidity range (generally 20 (%) to 80 (%)), the scanning tuning ambient light intensity range (generally 100lux to 800lux), the scanning gun scanning speed change range (generally 0.5 to 3.0) and the scanning gun scanning accuracy change range (generally 0 to 1) are set to determine the preset environmental tuning effect threshold range; accurate judgment of the scanning gun scanning working environment tuning is achieved.
[0065] Furthermore, the specific steps of obtaining the scanning position tuning evaluation index after performing scanning position tuning of the scanning gun are as follows: obtaining scanning position related parameters under a preset tuning environment, the scanning position related parameters representing position related data after de-unitization processing, and the position related data including scanning initial position distance, scanning initial position angle, scanning initial position speed and scanning initial position accuracy; obtaining scanning position tuning related parameters under a preset tuning environment, the scanning position tuning related parameters representing position tuning related data after de-unitization processing, and the position tuning related data including scanning tuning position distance, scanning tuning position angle, scanning tuning position speed and scanning tuning position accuracy; obtaining the scanning position speed change of the scanning gun according to the scanning initial position speed and the scanning tuning position speed. The scanning gun scanning position accuracy change is obtained according to the scanning initial position accuracy and the scanning tuning position accuracy. The scanning gun scanning position speed change is summed with the scanning gun scanning position accuracy change to obtain the scanning position evaluation change. The scanning position evaluation change is ratio-calculated with the distance tuning change and the angle tuning change respectively. The distance tuning change represents the absolute value of the difference between the scanning tuning position distance and the scanning initial position distance. The angle tuning change represents the absolute value of the difference between the scanning tuning position angle and the scanning initial position angle. The results of the ratio calculation are multiplied and summed with the corresponding position tuning weights obtained from the preset database to obtain the scanning position tuning evaluation index. The position tuning weights include the scanning distance tuning weight and the scanning angle tuning weight.
[0066] The method for obtaining the scan position tuning evaluation index is as follows:
[0067] ;
[0068] In the formula, represents the scan position tuning evaluation index, represents the scanning distance tuning weight, represents the scanning angle tuning weight, Indicates the change in scanning position speed of the scanner. Indicates the change in scanning position accuracy of the scanner. Indicates the scanning and tuning position distance, Indicates the initial position distance of the scan, Indicates the scanning optimization position angle, Indicates the initial position angle of the scan.
[0069] In this embodiment, the specific process of position tuning can be achieved by adjusting the sensor position step by step, for example, based on the scanning initial position angle, increasing by 5° step by step; the change in the scanning position speed of the scanning gun is the difference between the scanning tuning position speed and the scanning initial position speed, and the change in the scanning position accuracy of the scanning gun is the difference between the scanning tuning position accuracy and the scanning initial position accuracy; the scanning initial position distance is used to describe the vertical distance between the scanning gun and the target barcode, and the scanning initial position angle is used to describe the pitch angle of the scanning gun; wherein the scanning distance tuning weight is used to describe the influence of the scanning distance tuning on the scanning position tuning evaluation index, and specifically, the scanning distance tuning weight is the pre- Assume that the weight corresponding to the preset scanning distance tuning in the database represents the numerical value of the influence of the scanning distance on the scanning position tuning evaluation index during the scanning position tuning process of the scanner. When in use, the preset weight corresponding to the scanning distance tuning can be directly obtained from the preset database. The corresponding relationship can be a pre-set mapping relationship. For example, the scanning distance of the scanner during the scanning position tuning process and the weight corresponding to the preset scanning distance tuning in the preset database form a mapping set, and the real-time scanning distance is input into the mapping set to obtain the corresponding weight. The mapping relationship can be one-to-one or many-to-one. In this example, the value range is [0, 1]. In this example, the sum of the scanning distance tuning weight and the scanning angle tuning weight is 1, and the scanning angle tuning weight is used to describe the influence of the scanning angle tuning on the scanning position tuning evaluation index.
[0070] The scanning position tuning evaluation index is used to evaluate the effect of the scanning position tuning of the scanner. The changes in the scanning tuning position distance and the scanning tuning position angle cause the changes in the scanning position speed and the scanning position accuracy of the scanner to change accordingly. The changes in the scanning position speed and the scanning position accuracy of the scanner directly affect the scanning position tuning evaluation index. Considering the correlation and mutual influence between various factors, the scanning position tuning evaluation index is obtained through comprehensive analysis, which can accurately quantify the effect of the scanning position tuning of the scanner and realize the numerical evaluation of the scanning position tuning effect of the scanner.
[0071] Furthermore, the specific process of performing a comprehensive evaluation based on the scanning position tuning evaluation index and the preset position tuning effect threshold range to obtain a comprehensive evaluation result and provide feedback is as follows: obtain the scanning position tuning evaluation index and the preset position tuning effect threshold range, and compare the scanning position tuning evaluation index and the preset position tuning effect threshold range; if the scanning position tuning evaluation index is within the preset position tuning effect threshold range, it is recorded as the performance test tuning is qualified and the scanning gun performance test is qualified; otherwise, it is recorded as the performance test tuning is unqualified and the scanning gun performance test is abnormal. At the same time, the early warning mechanism is triggered to provide feedback to remind the preset personnel that the scanning gun performance test is abnormal and it is recommended to replace the scanning gun. At the same time, the scanning gun performance test and the preset storage environment are evaluated again to obtain the scanning gun environment performance matching index until the performance test tuning is qualified.
[0072] In this embodiment, the preset position tuning effect threshold range is set by professionals according to standards in the field. For example, the scanning tuning position distance range (generally 10 cm to 100 cm), the scanning tuning position angle range (generally 0° to 90°), the scanning gun scanning position speed change range (generally 0.5 to 2.0) and the scanning gun scanning position accuracy change range (generally 0 to 1) are set to determine the preset position tuning effect threshold range; accurate evaluation of the scanning gun scanning position tuning effect is achieved.
[0073] A performance detection device based on a scanner provided in an embodiment of the present application includes a scanning data acquisition module, a performance environment matching module, a scanning environment tuning module and a scanning position tuning module: a scanning data acquisition module: used to pre-process the real-time environmental data in a preset storage environment to obtain actual measurement values of environmental influencing factors, and to collect scanning gun performance data of the scanner within a preset time interval; a performance environment matching module: used to evaluate the matching degree between the performance detection status of the scanner and the preset storage environment according to the actual measurement values of the environmental influencing factors and the scanning gun performance data to obtain a scanning gun environment performance matching index, and to determine whether to prompt the execution of scanning gun scanning working environment tuning based on the scanning gun environment performance matching index and the preset performance matching range. The scanning gun environment performance matching index is used for comprehensive quantification The performance test results of the scanner and the degree of match between the preset storage environment; scanning environment tuning module: used to evaluate the effect of the scanner working environment tuning after executing the scanner working environment tuning to obtain the scanning environment tuning evaluation index, and determine whether to execute the scanner position tuning based on the scanning environment tuning evaluation index and the preset environment tuning effect threshold range. The scanning environment tuning evaluation index is used to evaluate the effect of the scanner working environment tuning; scanning position tuning module: used to obtain the scanning position tuning evaluation index after executing the scanning position tuning of the scanner, and conduct a comprehensive evaluation based on the scanning position tuning evaluation index and the preset position tuning effect threshold range to obtain a comprehensive evaluation result and provide feedback. The scanning position tuning evaluation index is used to evaluate the effect of the scanning position tuning of the scanner.
[0074] In this embodiment, the comprehensive evaluation results are used to evaluate the performance detection of the scanner gun. By quantifying the degree of matching between the performance detection of the scanner gun and the preset storage environment, the performance detection of the scanner gun is optimized, thereby improving the performance detection accuracy of the scanner gun in the storage environment.
[0075] An embodiment of the present application further provides an electronic device, which includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to implement a performance detection method based on a scanner.
[0076] Among them, the embodiment of the present application also provides a computer-readable storage medium for storing a program, and when the program is executed by a processor, a performance detection method based on a scanning gun is implemented.
[0077] To summarize, the embodiment of the present application evaluates the performance detection status of the scanning gun and the degree of matching of the preset storage environment through scanning performance data and storage environment data to obtain the scanning gun environment performance matching index to determine whether to perform scanning gun scanning working environment tuning, and then determines whether to perform scanning gun scanning position tuning based on the effect of scanning gun scanning working environment tuning, and finally performs a comprehensive evaluation to obtain a comprehensive evaluation result, thereby realizing the evaluation and optimization of the performance detection status of the scanning gun and the degree of matching of the preset storage environment, and then achieving the effect of more accurate scanning gun performance detection, which effectively solves the problem of inaccurate scanning gun performance detection in the prior art.
[0078] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0079] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0080] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0081] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0082] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0083] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A performance detection method based on a scanner, characterized in that: The following steps are involved: S1, preprocessing the real-time environmental data in the preset storage environment to obtain the actual measured values of the environmental influencing factors, and collecting the scanning gun performance data of the scanning gun within the preset time interval; S2, evaluating the matching degree between the performance test of the scanner and the preset storage environment according to the actual measurement value of the environmental influencing factor and the performance data of the scanner to obtain the scanner environment performance matching index, and judging whether to prompt to perform the scanner scanning working environment tuning based on the scanner environment performance matching index and the preset performance matching range, wherein the scanner environment performance matching index is used to comprehensively quantify the matching degree between the performance test of the scanner and the preset storage environment; S3, after performing the scanning gun scanning working environment tuning, evaluating the effect of the scanning gun scanning working environment tuning to obtain a scanning environment tuning evaluation index, and judging whether to perform the scanning gun scanning position tuning based on the scanning environment tuning evaluation index and a preset environment tuning effect threshold range, wherein the scanning environment tuning evaluation index is used to evaluate the effect of the scanning gun scanning working environment tuning; S4, obtaining a scanning position tuning evaluation index after the scanning gun scanning position tuning is performed, performing a comprehensive evaluation based on the scanning position tuning evaluation index and a preset position tuning effect threshold range to obtain a comprehensive evaluation result and providing feedback, wherein the scanning position tuning evaluation index is used to evaluate the effect of the scanning gun scanning position tuning; The specific steps of evaluating the effect of the scanning gun scanning working environment tuning to obtain the scanning environment tuning evaluation index are as follows: Acquire initial scanning related parameters of the scanner, wherein the initial scanning related parameters represent initial related data after de-unitization processing, and the initial related data include initial scanning environment temperature, initial scanning environment humidity, initial scanning environment light intensity, initial scanning speed, and initial scanning accuracy; Acquire scanning tuning related parameters under a preset tuning environment, wherein the scanning tuning related parameters represent tuning related data after denormalization, and the tuning related data include scanning tuning environment temperature, scanning tuning environment humidity, scanning tuning environment light intensity, scanning tuning speed, and scanning tuning accuracy; The scanning speed variation of the scanner is obtained according to the initial scanning speed and the scanning tuning speed, and the scanning accuracy variation of the scanner is obtained according to the initial scanning accuracy and the scanning tuning accuracy, and the scanning speed variation of the scanner and the scanning accuracy variation of the scanner are summed to obtain the scanning evaluation variation; Perform ratio calculations on the scan evaluation variation with the temperature tuning variation, the humidity tuning variation, and the light intensity tuning variation, respectively. The temperature tuning variation represents the absolute value of the difference between the scan tuning environment temperature and the scan initial environment temperature. The humidity tuning variation represents the absolute value of the difference between the scan tuning environment humidity and the scan initial environment humidity. The light intensity tuning variation represents the absolute value of the difference between the scan tuning environment light intensity and the scan initial environment light intensity. The results of the ratio operation are multiplied and summed with the corresponding environmental tuning weights obtained from the preset database to obtain the scanning environment tuning evaluation index, where the environmental tuning weights include the environmental temperature tuning weight, the environmental humidity tuning weight and the environmental light intensity tuning weight.
2. A performance detection method based on a scanner as claimed in claim 1, characterized in that: The specific steps of evaluating the matching degree between the performance test of the scanner and the preset storage environment according to the actual measured values of the environmental influencing factors and the scanner performance data to obtain the scanner environmental performance matching index are as follows: Obtaining scanner performance data of a preset number of acquisitions within a preset time interval and actual measurement values of environmental influencing factors, wherein the scanner performance data includes a scanner scanning speed, a number of accurate barcodes scanned by the scanner, and a total number of barcodes scanned by the scanner, and the actual measurement values of environmental influencing factors include an actual measurement value of ambient temperature, an actual measurement value of ambient humidity, an actual measurement value of ambient light intensity, and an actual measurement value of ambient electromagnetic interference intensity; Obtain optimal reference values, influence reference deviations and influence factor weights of environmental influencing factors from a preset database, and obtain comprehensive environmental influencing factors in combination with actual measured values of environmental influencing factors, wherein the optimal reference values of environmental influencing factors include optimal reference values of ambient temperature, optimal reference values of ambient humidity, optimal reference values of ambient light intensity and optimal reference values of ambient electromagnetic interference intensity, the influence reference deviations include ambient temperature reference deviations, ambient humidity reference deviations, ambient light intensity reference deviations and ambient electromagnetic interference intensity reference deviations, the influence factor weights include independent influence factor weights and cross-influencing factor weights, and the independent influence factor weights include ambient temperature influence weights, ambient humidity influence weights, ambient light intensity influence weights and ambient electromagnetic interference intensity influence weights; The comprehensive environmental impact factor and the scanner performance data are combined with the scanner scanning speed reference value and the scanning evaluation weight obtained from the preset database to obtain the scanner environmental performance matching index, wherein the scanning evaluation weight includes the scanner scanning speed weight and the scanner scanning accuracy weight.
3. A performance detection method based on a scanner as claimed in claim 2, characterized in that: The method for obtaining the scanner environment performance matching index is as follows: ; ; ; ; In the formula, Indicates the scanner environment performance matching index. The number indicating the number of acquisitions within the preset time interval. , Indicates the total number of acquisitions within the preset time interval. Indicates the scanner environment performance matching index collected for the nth time. Indicates the scanning speed weight of the scanner. Indicates the scanning speed of the scanner for the nth acquisition. Indicates the scanning speed reference value of the scanner. Indicates the scanning accuracy weight of the scanner. Indicates the number of accurate barcodes scanned by the scanner for the nth acquisition. Indicates the total number of barcodes scanned by the scanner for the nth acquisition. Indicates the relevant value of influencing factors, represents the comprehensive environmental impact factor, Indicates the number of environmental impact factors. , Indicates the number of the m+1th environmental impact factor, represents the independent influencing factor weight of the mth environmental influencing factor, represents the actual measured value of the mth environmental influencing factor, represents the optimal reference value of the mth environmental influencing factor, represents the reference deviation of the mth environmental influencing factor, Represents the cross-influence factor weight of the mth environmental influencing factor and the jth environmental influencing factor.
4. A performance detection method based on a scanner as claimed in claim 1, characterized in that: The specific steps of determining whether to perform scanning gun scanning position tuning based on the scanning environment tuning evaluation index and the preset environment tuning effect threshold range are as follows: Compare the scanning environment tuning evaluation index with the preset environment tuning effect threshold range. If the scanning environment tuning evaluation index is within the preset environment tuning effect threshold range, the scanning gun scanning position tuning is not performed. If the scanning environment tuning evaluation index exceeds the preset environment tuning effect threshold range, the scanning gun scanning position tuning is performed.
5. A performance detection method based on a scanner as claimed in claim 1, characterized in that: The specific steps of obtaining the scanning position tuning evaluation index after the scanning gun scanning position tuning is performed are as follows: Acquire scanning position related parameters under a preset tuning environment, wherein the scanning position related parameters represent position related data after de-unitization processing, and the position related data includes scanning initial position distance, scanning initial position angle, scanning initial position speed, and scanning initial position accuracy; Acquire scanning position tuning related parameters under a preset tuning environment, wherein the scanning position tuning related parameters represent position tuning related data after de-unitization processing, and the position tuning related data include scanning tuning position distance, scanning tuning position angle, scanning tuning position speed, and scanning tuning position accuracy; The scanning gun scanning position speed change is obtained according to the scanning initial position speed and the scanning tuning position speed, and the scanning gun scanning position accuracy change is obtained according to the scanning initial position accuracy and the scanning tuning position accuracy, and the scanning gun scanning position speed change and the scanning gun scanning position accuracy change are summed to obtain the scanning position evaluation change; Perform ratio calculations on the scan position evaluation change amount, the distance tuning change amount, and the angle tuning change amount, respectively. The distance tuning change amount represents the absolute value of the difference between the scan tuning position distance and the scan initial position distance, and the angle tuning change amount represents the absolute value of the difference between the scan tuning position angle and the scan initial position angle. The results of the ratio operation are multiplied and summed with the corresponding position tuning weights obtained from the preset database to obtain a scanning position tuning evaluation index, wherein the position tuning weights include a scanning distance tuning weight and a scanning angle tuning weight.
6. A performance detection method based on a scanner as claimed in claim 1, characterized in that: The specific process of performing comprehensive evaluation based on the scanning position tuning evaluation index and the preset position tuning effect threshold range to obtain the comprehensive evaluation result and provide feedback is as follows: Obtaining a scanning position tuning evaluation index and a preset position tuning effect threshold range, and comparing the scanning position tuning evaluation index and the preset position tuning effect threshold range; If the scanning position tuning evaluation index is within the preset position tuning effect threshold range, it is recorded as the performance test tuning is qualified and the scanner performance test is qualified; Otherwise, it is recorded as performance test tuning failure and scanner performance test abnormality. At the same time, the early warning mechanism is triggered to provide feedback to remind the preset personnel that the scanner performance test is abnormal and recommend replacing the scanner. At the same time, the scanner performance test and the degree of matching with the preset storage environment are evaluated again to obtain the scanner environment performance matching index until the performance test tuning is qualified.
7. A performance detection device based on a scanning gun, characterized in that: It includes scanning data acquisition module, performance environment matching module, scanning environment tuning module and scanning position tuning module: The scanning data acquisition module is used to pre-process the real-time environmental data in the preset storage environment to obtain the actual measurement values of the environmental influencing factors, and to collect the scanning gun performance data of the scanning gun within the preset time interval; The performance environment matching module is used to evaluate the matching degree between the performance detection of the scanner and the preset storage environment according to the actual measurement value of the environmental influencing factor and the performance data of the scanner to obtain the scanner environment performance matching index, and judge whether to prompt to perform the scanner scanning working environment tuning based on the scanner environment performance matching index and the preset performance matching range. The scanner environment performance matching index is used to comprehensively quantify the matching degree between the performance detection of the scanner and the preset storage environment; The scanning environment tuning module is used to evaluate the effect of the scanning working environment tuning of the scanning gun after performing the scanning working environment tuning of the scanning gun to obtain a scanning environment tuning evaluation index, and determine whether to perform the scanning position tuning of the scanning gun based on the scanning environment tuning evaluation index and a preset environment tuning effect threshold range, and the scanning environment tuning evaluation index is used to evaluate the effect of the scanning working environment tuning of the scanning gun; The scanning position tuning module is used to obtain a scanning position tuning evaluation index after performing scanning position tuning of the scanning gun, and to perform a comprehensive evaluation based on the scanning position tuning evaluation index and a preset position tuning effect threshold range to obtain a comprehensive evaluation result and provide feedback, wherein the scanning position tuning evaluation index is used to evaluate the effect of scanning position tuning of the scanning gun; The specific steps of evaluating the effect of the scanning gun scanning working environment tuning to obtain the scanning environment tuning evaluation index are as follows: Acquire initial scanning related parameters of the scanner, wherein the initial scanning related parameters represent initial related data after de-unitization processing, and the initial related data include initial scanning environment temperature, initial scanning environment humidity, initial scanning environment light intensity, initial scanning speed, and initial scanning accuracy; Acquire scanning tuning related parameters under a preset tuning environment, wherein the scanning tuning related parameters represent tuning related data after denormalization, and the tuning related data include scanning tuning environment temperature, scanning tuning environment humidity, scanning tuning environment light intensity, scanning tuning speed, and scanning tuning accuracy; The scanning speed variation of the scanner is obtained according to the initial scanning speed and the scanning tuning speed, and the scanning accuracy variation of the scanner is obtained according to the initial scanning accuracy and the scanning tuning accuracy, and the scanning speed variation of the scanner and the scanning accuracy variation of the scanner are summed to obtain the scanning evaluation variation; Perform ratio calculations on the scan evaluation variation with the temperature tuning variation, the humidity tuning variation, and the light intensity tuning variation, respectively. The temperature tuning variation represents the absolute value of the difference between the scan tuning environment temperature and the scan initial environment temperature. The humidity tuning variation represents the absolute value of the difference between the scan tuning environment humidity and the scan initial environment humidity. The light intensity tuning variation represents the absolute value of the difference between the scan tuning environment light intensity and the scan initial environment light intensity. The results of the ratio operation are multiplied and summed with the corresponding environmental tuning weights obtained from the preset database to obtain the scanning environment tuning evaluation index, where the environmental tuning weights include the environmental temperature tuning weight, the environmental humidity tuning weight and the environmental light intensity tuning weight.
8. An electronic device comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein: When the computer program instructions are executed by the processor, the electronic device is triggered to execute a performance detection method based on a scanner as described in any one of claims 1 to 6.
9. A computer-readable storage medium for storing a program, wherein when the program is executed by a processor, the performance detection method based on a scanner as claimed in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Scanner detection methods, devices, equipment and media
CN112836530B
Information input method and device, computer equipment and storage medium
CN116245121A
Performance detection method and device and detection equipment
CN114236273A
Data processing method and device based on scanning gun
CN117708180A