A warehouse equipment positioning method and system based on knowledge and data dual drive
By combining equipment information, warehouse maps and warehousing rules, an inference recognition network is constructed, and multiple positioning technologies are used to calculate the confidence of the equipment location. This solves the problem of inaccurate indoor positioning and achieves high-precision equipment positioning.
Patent Information
- Application Number
- CN202211042184.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-08-29
AI Technical Summary
In complex indoor environments, traditional GPS positioning technology is difficult to achieve accurate positioning, especially when signals are blocked and attenuated, resulting in inaccurate positioning of warehouse equipment.
Adopting a knowledge- and data-driven method, by obtaining basic equipment information, warehouse maps and warehousing rules, we build a reasoning and identification network, use Euclidean distance calculation and Markov chain for spatial prediction, and combine RTK, UWB and LoRa technologies to calculate Confidence of device location and output precise positioning information.
It achieves high-precision real-time positioning of equipment in indoor environments, improves positioning accuracy in complex buildings, avoids positioning errors, and enhances the ability to identify equipment locations.
Smart Images

Figure CN115388896B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic information technology, and in particular to a warehouse equipment positioning method and system based on dual drive of knowledge and data. Background Art
[0002] Traditional warehouse equipment management usually relies on construction personnel’s experience, on-site monitoring, or uses GPS-based positioning technology to achieve equipment location tracking. Currently, the most widely used GPS positioning technology can achieve global positioning with an accuracy of tens of meters, but the disadvantage of this technology is that it is difficult to achieve accurate positioning if the satellite signal is blocked in a tunnel or indoors.
[0003] During the high-intensity use of equipment, for buildings with complex indoor environments, the influence of many factors makes the requirements for indoor positioning technology higher than ordinary outdoor positioning. The obstruction of indoor objects may cause the attenuation of signal strength; the reflection and refraction of signals between different objects will also have a great impact on positioning accuracy; when the signal encounters a building, the loss of the internal materials on the signal path also needs to be considered.
[0004] Therefore, there is an urgent need for a method that can accurately locate equipment in a warehouse. Summary of the invention
[0005] In view of the deficiencies in the prior art, the present invention proposes a warehouse equipment positioning method and system based on dual drive of knowledge and data to solve the technical problem of inaccurate equipment positioning in the warehouse caused by complex indoor environment in the prior art.
[0006] A warehouse equipment positioning method based on dual drive of knowledge and data is characterized in that it includes: obtaining a sample set, the sample set includes basic equipment information, warehouse field map, and warehousing rules, wherein the basic equipment information includes equipment location and equipment area; using Euclidean distance to calculate the distance between any equipment location and the warehouse field location where the equipment is located, and obtaining the Euclidean distance distribution; according to the Euclidean distance distribution, warehouse field and equipment location, constructing the constraints and rules of the inference recognition network; based on the constraints and rules, constructing the inference network structure of all equipment areas; calculating the confidence of each equipment location according to the inference network structure, and outputting the location information of the equipment with the highest confidence; and outputting the location information as the target positioning information of the equipment.
[0007] In one embodiment, before the step of obtaining the sample set, it also includes: establishing a collection of positioning coordinates of the equipment in the warehouse to determine the equipment area; collecting the radio frequency signal of the equipment, and calculating the RSSI value of the radio frequency signal according to the preset LORA networking system; using the preset indoor ranging model to perform data conversion processing on the RSSI value to obtain the initial position of the equipment; using the triangle centroid to perform error processing on the initial position to obtain the corrected position as the equipment position.
[0008] In one embodiment, before the step of obtaining the sample set, it also includes: combining the equipment area and the equipment area to obtain basic equipment information; obtaining a warehouse area map and warehousing rules, and combining them with the basic equipment information to obtain a sample set.
[0009] In one embodiment, the step of establishing a collection of positioning coordinates of equipment in the warehouse and determining the equipment area includes: real-time detection of the operating status of the equipment, wherein the operating status includes warehousing operation, in-warehouse operation, and out-of-warehouse operation; when the equipment is in the in-warehouse state, respectively obtaining the RTK positioning coordinates and UWB positioning coordinates of the equipment according to a preset period, and obtaining the RTK positioning differential value corresponding to each RTK positioning coordinate; judging the size of the RTK positioning differential value corresponding to each period and the preset value, if the RTK positioning differential value corresponding to a certain period is greater than or equal to the preset value, then selecting the RTK positioning coordinate corresponding to the RTK positioning differential value, otherwise, selecting the UWB positioning coordinate of the period corresponding to the RTK positioning differential value, and generating a positioning coordinate set of the equipment according to the selected RTK positioning coordinates and UWB positioning coordinates; calculating the positioning coordinates of the equipment according to the positioning coordinate set, and determining the equipment area according to the positioning coordinates of the equipment.
[0010] In one embodiment, the preset indoor ranging model is a wireless signal propagation loss model.
[0011] In one embodiment, the step of using the triangle centroid to perform error processing on the initial position to obtain a corrected position as the device position includes: using the RSSI positioning technology in the LoRa module carried by the device to measure the three reference points of the initial position; based on the reference points, error processing is performed according to the triangle centroid to obtain a modified position of the device, and the corrected position is used as the device position.
[0012] In one embodiment, based on the constraints and rules, the step of constructing an inference network structure of all device areas includes: based on the constraints and rules, using a Markov chain to predict the transition of device states one by one to complete the spatial prediction of device locations; based on the spatial prediction, constructing an inference network structure of the device area.
[0013] A warehouse equipment positioning system based on knowledge and data dual drive includes a data acquisition module, a data processing module, and a data output module, wherein: the data acquisition module includes a main control circuit, an RTK circuit, an RFID circuit, an RSSI circuit, an UWB circuit, and a LORA radio frequency circuit, and each circuit is electrically connected; the data acquisition module is used to obtain a sample set; the data processing module is used to use Euclidean distance to calculate the distance between any device position and the position of the warehouse area where the device is located, and obtain the Euclidean distance distribution; according to the Euclidean distance distribution, the warehouse area and the device position, the constraints and rules of the reasoning recognition network are constructed; based on the constraints and rules, the reasoning network structure of all device areas is constructed; according to the reasoning network structure, the confidence of each device position is calculated, and the position information of the device with the highest confidence is output; the data output module is used to output the position information as the target positioning information of the device.
[0014] A device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of a warehouse equipment positioning method based on dual drive of knowledge and data described in the above-mentioned embodiments are implemented.
[0015] A storage medium stores a computer program, which, when executed by a processor, implements the steps of a warehouse equipment positioning method based on dual drive of knowledge and data described in the above-mentioned embodiments.
[0016] It can be seen from the above technical solution that the beneficial technical effects of the present invention are as follows:
[0017] The present invention combines basic equipment information, warehouse area maps, and warehousing rules, adopts a knowledge and data dual-driven approach, and constructs an inference network structure based on Euclidean distance calculation to construct constraints and rules of the equipment area. It outputs position information according to the confidence level, and finally obtains the target positioning of the equipment. By making full use of limited data, the parameter correction of the inferred equipment position is obtained, and then refined reasoning is performed internally to identify the equipment position, thereby achieving high-precision real-time positioning of the equipment in the warehouse and improving the equipment positioning accuracy in buildings with complex indoor environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the prior art description. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0019] Figure 1A schematic diagram of a flow chart of a warehouse equipment positioning method based on knowledge and data dual drive in one embodiment;
[0020] Figure 2 A schematic diagram of a process for obtaining a device location and a device area in one embodiment;
[0021] Figure 3 A schematic diagram of a flow chart of a warehouse equipment positioning method based on knowledge and data dual drive in another embodiment;
[0022] Figure 4 for Figure 3 A flowchart of data preprocessing in the method shown;
[0023] Figure 5 It is a structural block diagram of a warehouse equipment positioning system based on knowledge and data dual drive in one embodiment;
[0024] Figure 6 for Figure 5 The structural block diagram of the data acquisition module in the system shown;
[0025] Figure 7 A structural block diagram of a computer device. DETAILED DESCRIPTION
[0026] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.
[0027] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.
[0028] The following is an explanation of the English abbreviations mentioned in the article: UWB (Ultra Wide Band) technology is a wireless carrier communication technology. It does not use a sinusoidal carrier, but uses nanosecond non-sinusoidal narrow pulses to transmit data. The impulse pulse has a high positioning accuracy. LoRa (Long Range Radio) can transmit farther than other wireless methods under the same power consumption conditions, achieving the unity of low power consumption and long distance. It is 3-5 times longer than traditional wireless radio frequency communication distance under the same power consumption. RFID (Radio Frequency Identification) is a type of automatic identification technology. It uses wireless radio frequency to perform non-contact two-way data communication and uses wireless radio frequency to read and write recording media (electronic tags or radio frequency cards) to achieve the purpose of identifying targets and exchanging data. RTK (Real-time kinematic) carrier phase differential technology is a differential method for real-time processing of carrier phase observations of two measurement stations. The carrier phase collected by the base station is sent to the user receiver to calculate the difference coordinates. RSSI (Received Signal Strength Indication) positioning is a commonly used wireless positioning technology. According to the signal strength indication received by RSSI, the closer to the signal source, the greater the signal strength, and the farther away from the signal source, the weaker the signal strength. The mathematical relationship between signal strength and distance can be obtained.
[0029] In one embodiment, Figure 1 As shown, a warehouse equipment positioning method based on knowledge and data dual drive is provided, including the following steps:
[0030] S1 obtains a sample set, which includes basic equipment information, a warehouse area map, and warehousing rules. The basic equipment information includes equipment location and equipment area.
[0031] Specifically, basic equipment information is data-driven, while warehouse area maps and warehousing rules are knowledge-driven.
[0032] In one of the embodiments, before step S1, it also includes: S01 establishing a collection of positioning coordinates of equipment in the warehouse to determine the equipment area; S02 collecting the radio frequency signal of the equipment, and calculating the RSSI value of the radio frequency signal according to the preset LORA networking system; S03 using the preset indoor ranging model to perform data conversion processing on the RSSI value to obtain the initial position of the equipment; S04 using the triangle centroid to perform error processing on the initial position to obtain the corrected position as the device position. Specifically, the preset LORA networking system in step S02 is a prior art, and obtaining radio frequency signals is a method of calculating location information, and a networking system that can calculate RSSI values is obtained, thereby calculating the RSSI value (i.e., signal strength value). In S03, the mathematical relationship between signal strength and distance in the current wireless signal propagation loss model is:
[0033]
[0034] Here p(d) is the RSSI value at a distance d from the signal source, n is the path loss index, which indicates the rate at which the path loss increases with distance. This parameter is determined by environmental factors, and ε is the error term. To simplify the model, the error term is ignored, and p(d 0 ) Take d 0 =1, we can get the simplified model formula:
[0035] p(d)=C-10nlg(d)
[0036] At this time, there is only one unknown parameter n in the formula. In order to optimize the model, the arithmetic mean method is used to average the values of C measured multiple times, and the result is:
[0037]
[0038] Then solve
[0039]
[0040] Take the value of d multiple times and calculate the average value of n
[0041]
[0042] The RSSI value is converted into a location value through the indoor ranging model.
[0043] In step S04, the position value calculated in step S03 may have errors, so the distances to the three reference points measured by the RSSI of the LoRa module cannot intersect at one point, and the distances from the reference points to the measured point can be measured. At this time, a circle is drawn with the three measured distance values as the radius, and three intersection points can be obtained. The centroid position of the triangle formed by them can be approximated as the true position of the measured point, that is, the corrected position.
[0044] In one of the embodiments, step S01 includes: detecting the operation status of the device in real time, the operation status includes storage operation, in-stock operation, and out-stock operation; when the device is in the in-stock state, obtaining the RTK positioning coordinates and UWB positioning coordinates of the device according to the preset period, and obtaining the RTK positioning differential value corresponding to each RTK positioning coordinate; judging the size of the RTK positioning differential value corresponding to each period and the preset value, if the RTK positioning differential value corresponding to a certain period is greater than or equal to the preset value, then selecting the RTK positioning coordinate corresponding to the RTK positioning differential value, otherwise, selecting the UWB positioning coordinate of the period corresponding to the RTK positioning differential value, and generating the device's positioning coordinate set according to the selected RTK positioning coordinates and UWB positioning coordinates; calculating the device's positioning coordinates according to the positioning coordinate set, and determining the device area according to the device's positioning coordinates. Specifically, the preset period is a preset period for detecting the device status, and a suitable time interval can be set as the detection period according to the detection needs.
[0045] In one embodiment, the preset indoor ranging model in step S03 is a wireless signal propagation loss model.
[0046] In one of the embodiments, step S04 includes: using the RSSI positioning technology in the LoRa module carried by the device to measure three reference points of the initial position; based on the reference points, error processing is performed according to the triangle centroid to obtain a modified position of the device, and the corrected position is used as the device position.
[0047] In one of the embodiments, before step S1, the steps also include: combining the equipment area and the equipment area to obtain basic equipment information; obtaining a warehouse area map and warehousing rules, and combining them with the basic equipment information to obtain a sample set.
[0048] S2 uses Euclidean distance to calculate the distance between any device location and the location of the warehouse area where the device is located, and obtains the Euclidean distance distribution.
[0049] Specifically, the Euclidean distance is used to calculate the distance between any device location and the location in the warehouse domain; that is, the distance between the detected device location and the location of the device in the warehouse.
[0050] S3 builds constraints and rules for the reasoning recognition network based on Euclidean distance distribution, warehouse area, and equipment location.
[0051] Specifically, constraints and rules should be established based on the performance of the equipment and the characteristics of the warehouse. Taking flammable items as an example, they need to be placed in a cool and dry place in the warehouse, separated from high-temperature and explosive items. The properties and rules of all equipment should be entered in step S1 to automatically generate a rule base for all equipment.
[0052] S4 builds the inference network structure of all device areas based on constraints and rules.
[0053] Specifically, it is position space prediction using Markov chain.
[0054] In one of the embodiments, step S4 includes: based on constraints and rules, using a Markov chain to predict the transition of device states one by one to complete the spatial prediction of the device location; based on the spatial prediction, constructing an inference network structure of the device area.
[0055] Specifically, the Markov chain is a discrete time random process. If the current state is already known, the future state is only related to the current state and has nothing to do with the previous state, that is, the past information has no effect on the future decision. In the Markov chain, there will be a transition from one state to another, and there is a probability each time from the previous state to the next state, which is the transition probability.
[0056] Use {X n ,n∈T} represents a Markov process, T is a set of discrete times, the expression T={0,1,2,…}, and the X corresponding to T n The possible values of are the entire state space.
[0057] I={i 1 ,i 2 ,…}
[0058] Suppose there is a random process {X n ,n∈T}, if for any integer n∈T and any i 1 ,i 2 ,…i n+1 ∈I, the conditional probability satisfies
[0059] P{X n+1 =i n+1 |X n =i n}=P{X n+1 =i n+1 |X 1 =i 1 ,X 2 =i 2 ,…X n =i n}
[0060] Then {X n ,n∈T} is a Markov chain. The above equation is a mathematical expression of the Markov property (or lack of aftereffect) of the Markov chain. The statistical properties of a first-order Markov chain are completely determined by the conditional probability P{X n+1 =i n+1 |Xn =i n}determined.
[0061] A first order Markov chain would mean that only the current state affects the choice of the next state. A second order Markov chain would mean that the current state and the last previous state affect the choice of the next event. A k order Markov chain would indicate that the current state and the last (k-1) previous states in the sequence affect the choice of the next state.
[0062]
[0063] The spatial transition K-order Markov chain models the movement behavior of individuals as a discrete random process, where the probability of moving to a new region (ROI) depends on the K previously visited states and the distribution of transition probabilities between states. It consists of the following: (1) a set of states X = {X1,…,Xk}, where each state corresponds to an ROI. These states usually have intrinsic semantic meanings. (2) a set of transitions, such as P i,j , represents the probability of moving from state Xi to state Xj.
[0064] The state transition of a Markov chain can be represented as a directed graph. The rectangular nodes representing the ROI correspond to different states, and there is a directed weighted arrow between two nodes if and only if the transition probability between the two nodes is not zero. The sum of all weights of arrows leaving the same node is equal to 1, for example, P AA +P AB +P AC =1.
[0065] Use ROI to characterize the state of the Markov chain, and create a Markov chain transfer probability for each ROI based on historical statistical data. Each ROI transfers to other ROIs with a certain probability. If the device has never transferred between two ROIs, the transfer probability is set to zero. The Markov chain model mainly analyzes the possibility of a person transferring from one ROI to another in a certain stage, that is, the probability of transfer between ROIs. Its basic idea is to discover the rules of device transfers between ROIs in the past to infer the future spatial transfer of devices. Based on a large amount of historical data, analyze the number of times the device transfers between different areas. Assume that in history, the device has transferred from area A to other ROIs 1,000 times, of which 200 were transferred to B, then it is considered that P AB =200 / 1000=0.2. Based on the summary of historical data statistical experience, a complete device area reasoning network structure based on Markov chain is constructed.
[0066] S5 calculates the confidence of the location of each device according to the inference network structure and outputs the location information of the device with the highest confidence.
[0067] Specifically, the confidence level of each device's location can be calculated based on the device location inference network obtained in step S4, and the device's location information is output when the confidence level is the highest.
[0068] S6 outputs the location information as target positioning information of the device.
[0069] Specifically, the output target positioning information is the precise real-time positioning information of the equipment in the warehouse. It can also conduct statistical analysis on the regional equipment situation, avoid loss through more complete and accurate fusion compensation positioning technology, and transmit equipment information in time when searching for equipment to improve equipment utilization.
[0070] In the above embodiments, the advantages of comprehensive data and knowledge enable the design framework to have the ability of spatial element aggregation and temporal dynamic reasoning, so as to gradually improve the accuracy of cluster recognition. The multivariate full analysis of expert knowledge, domain knowledge, storage rules, etc., that is, knowledge collection, is used to extract the constraints and rules used in the construction of the reasoning recognition network. On this basis, the cluster type recognition of hierarchical and refined reasoning is designed to improve the accuracy of group formation recognition. First, according to typical scenarios, the effective local density calculation method based on the distance between adjacent points and the asymmetric measurement of data points is used to perform preliminary cluster space division; then, from a functional perspective, the correlation between key constraint factors is extracted from the multivariate knowledge, and the cluster type reasoning network structure is designed by integrating various factors; finally, based on a designed parameter learning method based on experience and a small amount of time series samples, the parameter correction of the inference device position is obtained by making full use of limited data, and then refined reasoning is performed internally to identify the device position.
[0071] In one embodiment, Figure 3 As shown in the figure, after the location of the equipment is obtained, before the subsequent construction of the inference network, an equipment database is also established. Among them, the original warehouse equipment location data is preprocessed by wavelet analysis, and then the position difference threshold is set and the wavelet analysis data is reconstructed to finally obtain the denoised equipment location data. This is the embodiment of data-driven.
[0072] Specifically, the artificial neural network model is composed of a large number of nodes connected to each other. Different models are formed according to different connection methods. The model is used to learn the data. This is an inductive summary, so the connection AI is also called a data-driven method. Artificial neural network is one of the most successful methods in big data analysis. "Big data + neural network" can promote the development of various industries. In the field of indoor positioning, the change in thinking brought about by "big data + neural network" has promoted the development of modernization of warehouse equipment management from the aspects of integrity, fuzziness, diversity and correlation. The data-driven warehouse equipment management system includes the equipment status information, location information and time information measured in the above scheme.
[0073] Support vector machine is a new data-driven technology that fits the solution of the problem based on the principle of minimizing learning and training errors, and has excellent learning performance. Suppose the training set of all warehouse equipment locations is {x 1 ,x 2 …x n}, the support vector machine divides all samples into two categories, namely normal position state and abnormal position state, by finding an optimal classification hyperplane. Then the optimal classification hyperplane can be expressed as
[0074] (w*x)+b=0
[0075] In the formula, w represents the normal vector. The goal of support vector machine modeling is to maximize the interval between the two types of samples, normal position state and abnormal position state, so that
[0076]
[0077] The decision function of the support vector machine is
[0078]
[0079] The position state of the device is nonlinear, so it is necessary to introduce a kernel function for mapping, so that the final device position state recognition decision function is
[0080]
[0081] The steps for identifying the location status of a data-driven device are as follows:
[0082] (1) Collect relevant data on the location status of equipment in the warehouse, remove the first and last segments of data, and take the middle segment of data as the identification object.
[0083] (2) Wavelet analysis is used to preprocess the location status data of equipment in the warehouse, and the soft threshold method is introduced to make the wavelet coefficient corresponding to the noise equal to 0.
[0084] After data sampling is completed, the system immediately analyzes and processes the data sampled this time, and regularly performs a comprehensive data analysis and preprocessing to determine whether the data of each measurement should be saved, so as to achieve the purpose of compressing or reducing the amount of inventory data in the database. The preprocessing principles for the original data stream are:
[0085] ① Save as much raw data as possible that is useful for device positioning;
[0086] ② Delete useless raw data or data that is of little significance to device positioning, and compress or reduce the amount of inventory data to the maximum extent;
[0087] ③ Save the statistical characteristics of the original data of each detection of all devices;
[0088] ④ Discover abnormal data, analyze the abnormal type and repair the abnormal data. When users require real-time monitoring of each measuring point, they can directly obtain the location information of each measuring point through the positioning system.
[0089] The pre-processing method proposed here is as follows Figure 4 As shown in the figure, taking the preprocessing of location data as an example, assuming that there are n monitoring devices, each of which is independent of each other, and detecting and obtaining sample data. Then, the noise-removed data is stored in the database through wavelet threshold denoising. After the data is preprocessed, the noise is removed, the valid data is retained, and the abnormal data is alarmed. The data is then stored in the warehouse equipment management database for maintenance by the staff.
[0090] ① The basic idea of wavelet threshold denoising The basic idea of wavelet threshold denoising is to pre-set a critical value λ, which is the threshold. j,k Compare with the threshold. If the wavelet coefficient is less than the critical value, it is considered that the coefficient is mainly caused by noise and needs to be removed. If the wavelet coefficient is greater than λ, it can be considered that the coefficient is caused by real data and needs to be retained. Finally, the processed wavelet coefficient is reconstructed to obtain the denoised signal. The specific steps are as follows:
[0091] [1] Perform wavelet transform on the noisy signal x(t) to obtain a set of wavelet decomposition coefficients w j,k ;
[0092] [2] Threshold processing of wavelet decomposition coefficients to obtain wavelet estimation coefficients Make As small as possible;
[0093] [3] Using the estimated wavelet coefficients w j,k Perform wavelet reconstruction to obtain the estimated signal This signal is the denoised signal.
[0094] ②Determination of threshold function
[0095] Commonly used threshold functions mainly include hard threshold function, soft threshold function and a semi-soft threshold function:
[0096] 【1】Hard threshold function
[0097] The hard threshold function expression is:
[0098] 【2】Soft threshold function
[0099] The soft threshold function is expressed as:
[0100] 【3】Semi-soft threshold function
[0101] Since the wavelet coefficients processed by the hard threshold function will be discontinuous at ±λ, the Pseudo-Gibbs phenomenon is likely to occur during signal reconstruction; the wavelet coefficients processed by the soft threshold function are relatively smoother, but the estimated coefficient w j,k There is always a constant deviation between the original coefficients, which directly affects the reconstruction of the signal, resulting in distortion such as edge blur. In actual research, it is found that if the deviation is forced to be set to 0 or a certain parameter, it may not be the best. Therefore, the semi-soft threshold function is proposed to take into account the advantages of both soft threshold and hard threshold. Its expression is:
[0102]
[0103] In the above formula, represents the wavelet estimation coefficient, w j,k is the wavelet coefficient, sgn() represents the sign function, and λ represents the threshold.
[0104] ③Threshold estimation
[0105] The unified threshold denoising method proposed by Donoho in 1994 is the optimal threshold obtained under the constraints of minimum and maximum estimates for the joint distribution of multidimensional independent normal variables when the dimension tends to infinity.
[0106] The threshold is chosen to satisfy:
[0107] Among them, λ j represents the threshold value at scale j. σ is the standard deviation of noise, and N is the signal length.
[0108] (3) Wavelet analysis is used to reconstruct the processed wavelet coefficients to obtain noise-free position status data of the equipment in the warehouse.
[0109] (4) Support vector machine is used to learn the location status data of equipment in the warehouse and establish a classifier for identifying abnormal location status of equipment in the warehouse.
[0110] (5) For the unknown location status of the equipment in the warehouse, the established classifier is used to identify it and output the identification result. Abnormal location status needs to be removed.
[0111] In one embodiment, Figure 5 and Figure 6 As shown, a warehouse equipment positioning system based on knowledge and data dual drive is provided, including a data acquisition module 210, a data processing module 220, and a data output module 230, wherein:
[0112] The data acquisition module 210 includes a main control circuit, an RTK circuit, an RFID circuit, an RSSI circuit, a UWB circuit and a LORA radio frequency circuit, and each circuit is electrically connected; the data acquisition module is used to obtain a sample set.
[0113] The data processing module 220 is used to use Euclidean distance to calculate the distance between the location of any device and the location of the warehouse area where the device is located to obtain the Euclidean distance distribution; construct the constraints and rules of the inference recognition network based on the Euclidean distance distribution, warehouse area and equipment location; based on the constraints and rules, construct the inference network structure of all equipment areas; calculate the confidence of the location of each device based on the inference network structure, and output the location information of the device with the highest confidence.
[0114] The data output module 230 is used to output the position information as target positioning information of the device.
[0115] Specifically, the data acquisition module is set on the device, wherein the main control circuit uses a CC2530 chip, the RTK circuit and the UWB circuit are used to obtain the RTK positioning coordinates and the UWB positioning coordinates of the device in real time, the RFID circuit is used to obtain the radio frequency signal of the device, and the LORA radio frequency circuit and the RSSI circuit correspond to the LORA module and RSSI positioning technology in step S02 and step S04. The data processing module 220 is the controller and processor part of the entire system, and the data output module 230 is the data transmission part of the system, which is connected to the server.
[0116] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store configuration templates and can also be used to store target web page data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a warehouse equipment positioning method based on knowledge and data dual drive is implemented.
[0117] Those skilled in the art will understand that Figure 7 The structure shown in the figure is merely a block diagram of a portion of the structure related to the scheme of the present application, and does not constitute a limitation on the device to which the scheme of the present application is applied. The specific device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0118] In one embodiment, a storage medium is also provided, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the method of the aforementioned embodiment. The computer can be a part of the above-mentioned warehouse equipment positioning system based on dual drive of knowledge and data.
[0119] Obviously, those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a computer storage medium (ROM / RAM, magnetic disk, optical disk) and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than that here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Therefore, the present invention is not limited to any specific combination of hardware and software.
[0120] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A warehouse equipment positioning method based on knowledge and data dual drive, characterized in that: include: Obtaining a sample set, wherein the sample set includes basic equipment information, a warehouse area map, and warehousing rules, wherein the basic equipment information includes equipment location and equipment area; The Euclidean distance is used to calculate the distance between any equipment location and the warehouse area where the equipment is located, and the Euclidean distance distribution is obtained; According to the Euclidean distance distribution, warehouse area and equipment location, the constraints and rules of the reasoning recognition network are constructed; Based on the constraints and rules, construct an inference network structure of all device areas; Calculating the confidence level of each device's location according to the inference network structure, and outputting the location information of the device with the highest confidence level; Outputting the location information as target positioning information of the device; Before obtaining the sample set step, it also includes: Establish a collection of location coordinates of equipment in the warehouse and determine the equipment area; Collect the radio frequency signal of the device and calculate the RSSI value of the radio frequency signal according to the preset LORA networking system; The preset indoor ranging model is used to convert the RSSI value to obtain the initial position of the device. Using the triangle centroid to perform error processing on the initial position, and obtaining a corrected position as the device position; Before obtaining the sample set step, it also includes: Combining the device area and the device location to obtain basic device information; Obtaining a warehouse area map and warehousing rules, and combining them with the basic information of the equipment to obtain a sample set; The step of establishing a collection of positioning coordinates of equipment in the warehouse and determining the equipment area includes: Real-time detection of the operating status of the equipment, including incoming operation, in-stock operation, and outgoing operation; When the device is in the library state, the RTK positioning coordinates and UWB positioning coordinates of the device are obtained according to the preset period, and the RTK positioning differential value corresponding to each RTK positioning coordinate is obtained; Determine the size of the RTK positioning differential value corresponding to each period and the preset value. If the RTK positioning differential value corresponding to a certain period is greater than or equal to the preset value, select the RTK positioning coordinates corresponding to the RTK positioning differential value. Otherwise, select the UWB positioning coordinates of the period corresponding to the RTK positioning differential value. Generate a positioning coordinate set of the device according to the selected RTK positioning coordinates and UWB positioning coordinates. The positioning coordinates of the device are calculated according to the positioning coordinate set, and the device area is determined according to the positioning coordinates of the device.
2. The method according to claim 1, characterized in that The preset indoor ranging model is a wireless signal propagation loss model.
3. The method according to claim 1, characterized in that The step of using the triangle centroid to process the error of the initial position to obtain a corrected position as the device position includes: The three reference points of the initial position are measured using the RSSI positioning technology in the LoRa module carried by the device; Based on the reference point, error processing is performed according to the triangle centroid to obtain a corrected position of the device, and the corrected position is used as the device position.
4. The method according to claim 1, characterized in that: Based on the constraints and rules, the steps of constructing the inference network structure of all device areas include: Based on the constraints and rules, a Markov chain is used to predict the transition of the device state one by one to complete the spatial prediction of the device position; Based on the spatial prediction, an inference network structure of the device region is constructed.
5. A knowledge and data dual-driven warehouse equipment positioning system based on the knowledge and data dual-driven warehouse equipment positioning method according to claim 1, characterized in that: It includes data acquisition module, data processing module and data output module, among which: The data acquisition module includes a main control circuit, an RTK circuit, an RFID circuit, an RSSI circuit, a UWB circuit and a LORA radio frequency circuit, and each circuit is electrically connected; the data acquisition module is used to obtain a sample set; The data processing module is used to calculate the distance between any device location and the location of the warehouse area where the device is located using Euclidean distance to obtain Euclidean distance distribution; construct the constraints and rules of the reasoning recognition network according to the Euclidean distance distribution, the warehouse area and the device location; based on the constraints and rules, construct the reasoning network structure of all device areas; calculate the confidence of the location of each device according to the reasoning network structure, and output the location information of the device with the highest confidence; The data output module is used to output the position information as target positioning information of the device.
6. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.
7. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
