A multi-source data fusion processing method in an intelligent warehousing software system
By constructing a cross-source relationship graph and restoring the global anchor point state, the problems of misjudgment and anomaly propagation caused by local reference state changes in the warehouse software system are solved, and the stability and consistency of multi-source fusion results are improved.
Patent Information
- Application Number
- CN202611367285.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-24
AI Technical Summary
In warehouse software systems, when local reference states change, common reference offsets are easily misjudged as anomalies in multiple warehouse objects, leading to the exclusion of normal data or the spread of local anomalies, affecting the consistency and reliability of multi-source fusion results.
By constructing a cross-source relationship graph, calculating closure bias and relationship contradiction groups, suspending abnormal relationship edges from participating in fusion, using reinforcement learning to filter relationship pairs, eliminating additive local reference offsets, and combining global anchor point states to restore the absolute fusion state, misjudgment and abnormal diffusion are avoided.
It improves the stability and reliability of multi-source fusion results, reduces misjudgments and information loss, and enhances the consistency of data processing and the efficiency of resource utilization.
Smart Images

Figure CN123158533A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer data processing technology, and in particular to a method for multi-source data fusion processing in an intelligent warehousing software system. Background Technology
[0002] In intelligent warehousing software systems, the status of the same stored object typically comes from multiple data sources. For example, the warehouse management interface records the object's location, the equipment control interface records the equipment locations the object has passed through, the positioning service interface provides the object's location, and the equipment status interface records the corresponding status between the object and the conveying equipment. Existing technologies, when processing this data, usually first convert the object status values from different sources to a unified reference based on the coordinate origin, location benchmark, or reference configuration of each data source, and then match and merge them according to the stored object identifier, event time, and the reliability of the data sources. When the object statuses given by different data sources are inconsistent, the fusion result is generally formed by deleting abnormal records, reducing the participation level of the corresponding data source, or reselecting a portion of the data.
[0003] The above processing is prone to problems when the conveying equipment is reset, the positioning service is recalibrated, or the software reference origin is switched. For example, after the overall reference origin of a data source shifts, the status values of multiple stored objects output by that data source may change in the same direction simultaneously, but the relative positional relationship between these stored objects does not actually change. If one of the stored objects has a local observation anomaly at this time, the system will see multiple objects shift and a few objects have additional conflicts after unified reference conversion. Since the two types of deviations are mixed in the same batch of absolute object status values, the existing conflict handling has difficulty in determining which changes come from changes in the data source reference state and which changes are the real local object anomalies. This can easily lead to normal data being excluded along with the data, or local anomalies continuing to enter subsequent fusion.
[0004] The reason for the above problem is that the observation data of the stored objects not only includes the state of the stored objects themselves, but also the local reference state of the corresponding storage software data source. When the local reference state changes, if the absolute object state value is still used directly for multi-source fusion, the common reference offset of the data source will enter the conflict judgment process at the same time as the local object anomaly, and the two are difficult to separate.
[0005] Therefore, the technical problem that this invention needs to solve is: when the local reference state of the data source of the warehouse software changes and some warehouse objects are observed to be abnormal, how to avoid the common reference offset being misjudged as multiple warehouse objects being abnormal at the same time, and to limit the impact of local anomalies on the overall multi-source fusion result, so as to form a unified fusion state that can continue to be used for updating the state of warehouse objects. Summary of the Invention
[0006] The purpose of this invention is to address the shortcomings of existing technologies by providing a multi-source data fusion processing method in an intelligent warehousing software system, thereby solving the technical problems mentioned in the background section.
[0007] To achieve the above objectives, the present invention provides the following technical solution: A method for multi-source data fusion processing in an intelligent warehousing software system includes the following steps: S1. Obtain the observation data of the warehouse objects from the warehouse software data source, determine the warehouse object relationship pairs that share the same additive local reference offset, and form relationship invariants by subtracting the state values of objects from the same source. S2. Construct a cross-source relationship graph with the stored objects as relationship nodes and the relationship invariants as relationship edges to form relationship loops. Calculate the closure deviation and use the sum of the upper limits of the relationship errors within the loop as the closure allowable deviation. Relationship loops whose closure deviation exceeds the closure allowable deviation are formed into relationship contradiction groups. S3. Identify the relation edges and their data source identifiers as relation source elements. Based on the relation conflict groups, determine the minimum abnormal relation combination that makes each relation conflict group lose at least one relation source element and has the fewest number of elements. Suspend the corresponding relation edges from participating in the fusion to form an effective relation graph. S4. Based on the effective relationship graph, solve the candidate relative state of the storage object with respect to the local computational reference node and re-determine the closed state of the relationship loop; if there are still relationship contradiction groups, return to S3 to update the minimum abnormal relationship combination and the effective relationship graph until all verifiable relationship loops satisfy the closed relationship, forming a relationship fusion state that retains the common undetermined reference quantity; S5. Obtain the confirmed global anchor point state corresponding to the repository object in the relationship fusion state and independent of the additive local reference offset. Determine the common undetermined reference quantity based on the difference between it and the corresponding candidate relative state. Generate the absolute fusion state under the unified global reference and update the repository object state record.
[0008] The beneficial effects of this invention are as follows: This invention eliminates additive local reference offsets in the data source of the storage software before absolute state fusion and limits the scope of local anomalies by combining relational contradiction groups. This allows common reference changes and local observation anomalies to be processed separately, reducing grouped state misjudgments and anomaly propagation, and improving the consistency and reliability of multi-source fusion results. By subtracting the state values of storage objects sharing the same additive local reference offset to form relational invariants, and using reinforcement learning to filter object relation pairs entering relational calculations, common reference offsets are canceled out before entering cross-source fusion. At the same time, it reduces relational edges without closure constraints, improving the stability and resource utilization efficiency of subsequent industrial data processing.
[0009] This invention constructs a cross-source relationship graph using relational invariants and identifies conflicting relationship groups by utilizing the closure deviation and allowable closure deviation of relational loops. This allows the consistency of relationships between different data sources in different warehousing software to be verified according to a unified error benchmark, reducing misjudgments caused by differences in a single absolute state and improving the consistency of conflict detection. By establishing a relational conflict coverage table and determining the minimum abnormal relational combination that covers all relational conflict groups and has the fewest relational source elements, only the corresponding relational edges are suspended while other valid relations in the same data source are retained. This limits local conflicts to the necessary isolation range and reduces the loss of fusion information caused by excluding normal relations as well.
[0010] This invention re-solves candidate relative states on the effective relationship graph and continuously performs relationship loop closure verification. When relationship conflict groups still exist, it returns to update the smallest abnormal relationship combination, allowing the abnormal isolation results to be verified by subsequent closure results. This avoids unresolved conflicts directly entering the relationship fusion state, improving the stability and consistency of relative state solutions. After the relationship fusion state is formed, a confirmed global anchor point state independent of additive local reference offset is introduced, and global reference recovery is completed based on the consistency of candidate common reference quantities. This ensures that the absolute fusion state does not reintroduce the original local reference error, while suppressing state offsets caused by conflicting anchor points, thus improving the reliability of warehouse object state updates. Attached Figure Description
[0011] Figure 1 This is a flowchart of a multi-source data fusion processing method in an intelligent warehousing software system according to the present invention. Detailed Implementation
[0012] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0013] Example: Figure 1 As shown in the figure, this embodiment provides a multi-source data fusion processing method in an intelligent warehousing software system, including the following steps: S1. Obtain the observation data of the warehouse objects from the warehouse software data source, determine the warehouse object relationship pairs that share the same additive local reference offset, and form relationship invariants by subtracting the state values of objects from the same source. S2. Construct a cross-source relationship graph with the stored objects as relationship nodes and the relationship invariants as relationship edges to form relationship loops. Calculate the closure deviation and use the sum of the upper limits of the relationship errors within the loop as the closure allowable deviation. Relationship loops whose closure deviation exceeds the closure allowable deviation are formed into relationship contradiction groups. S3. Identify the relation edges and their data source identifiers as relation source elements. Based on the relation conflict groups, determine the minimum abnormal relation combination that makes each relation conflict group lose at least one relation source element and has the fewest number of elements. Suspend the corresponding relation edges from participating in the fusion to form an effective relation graph. S4. Based on the effective relationship graph, solve the candidate relative state of the storage object with respect to the local computational reference node and re-determine the closed state of the relationship loop; if there are still relationship contradiction groups, return to S3 to update the minimum abnormal relationship combination and the effective relationship graph until all verifiable relationship loops satisfy the closed relationship, forming a relationship fusion state that retains the common undetermined reference quantity; S5. Obtain the confirmed global anchor point state corresponding to the repository object in the relationship fusion state and independent of the additive local reference offset. Determine the common undetermined reference quantity based on the difference between it and the corresponding candidate relative state. Generate the absolute fusion state under the unified global reference and update the repository object state record.
[0014] S1 specifically includes the following sub-steps: S110. Acquire and standardize the observation data of the stored objects. Using the storage management interface, equipment control interface, positioning service interface, and equipment status interface of the intelligent warehousing software system that can output the numerical status of the stored objects as the data source for the warehousing software, receive the observation data of the stored objects through message subscription interface, application programming interface, or database change subscription interface.
[0015] Each piece of warehouse object observation data includes at least the data source identifier, warehouse object identifier, object status value, and event time. It also reads the local reference status identifier, local reference status effective time period, status dimension, meaning of each dimension status, coordinate axis direction, measurement scale, measurement unit, and measurement error limit from the interface configuration or calibration configuration of the corresponding warehouse software data source.
[0016] Local reference state is defined as the additive reference offset state that is superimposed on the observations of multiple warehouse objects within the same state dimension and the same effective time period by the same warehouse software data source. It does not include cases of coordinate axis rotation, change in measurement scale, nonlinear coordinate transformation, or different objects using different reference offsets. If the warehouse software data source cannot prove that the current reference change belongs to the additive reference offset state, the corresponding warehouse object observation data will not be included in the subsequent relational invariant calculation.
[0017] The upper limit of measurement error represents the maximum permissible absolute deviation of an object's state value relative to its corresponding reference state under the current equipment calibration conditions or interface technology configuration. The unit of the upper limit of measurement error for a one-dimensional object state is consistent with the object state value. For multi-dimensional object states, the maximum permissible absolute deviation for each dimension is obtained, and these maximum permissible absolute deviations are combined to form an error vector. The square root of the sum of the squares of the components of this error vector is used as the upper limit of scalar measurement error for subsequent closure judgment, and its unit is consistent with the reference unit of the object state value. Periodic data is received according to the interface configuration period of the warehouse software data source, and event-type data is received according to the time of occurrence of the source event, without setting a sampling period inconsistent with the source interface.
[0018] The term "same processing period" in this article refers to the set of warehouse object observation records whose event times fall within the same fusion time interval. The q-th fusion time interval is denoted as... Its starting time and termination time The status update is directly obtained from the configuration of the intelligent warehousing software system's status update interface; the event time is equal to... When it is included in the qth processing cycle, the event time is equal to When the sampling periods of the interfaces of different warehouse software data sources are inconsistent, they are all assigned to the corresponding fusion time interval based on the event time rather than the data reception time; records whose fusion time interval cannot be determined are marked as invalid records and are not included in the relationship calculation of this cycle. Here, q represents the processing cycle number, which has no unit.
[0019] For warehouse object observation data entering industrial data processing, field type validation, object identifier validation, and unit unification are performed. When different warehouse software data sources represent the same state dimension, the state physical meaning and coordinate axis direction must be consistent in the interface configuration; if the measurement ratios are different, they must be converted to the same base unit according to the ratio conversion relationship explicitly provided by the interface before proceeding to subsequent processing.
[0020] If an object's status value is missing, cannot be parsed, exceeds the valid range given by the interface's technical configuration, the event time is not within the effective time period of the local reference status, the meaning of the coordinate axis cannot be matched, or the upper limit of the measurement error is missing, the corresponding record will be marked as an invalid record, and empirical values will not be used to complete it.
[0021] For the same stored object with duplicate transmission records under the same data source and the same local reference state, duplicate entries are identified according to the data source identifier, stored object identifier, and event time. If the event time is the same and the status value is consistent, only one record is retained. If the event time is the same but the status value is inconsistent, they are all marked as conflict records and will not be included in the relationship calculation for this period.
[0022] This results in a standardized set of observation records for stored objects. Each record includes a fixed data source identifier, stored object identifier, standardized object status value, event time, local reference status identifier, status dimension, reference unit, and upper limit of measurement error, which serve as the common inputs for S120 and S130.
[0023] S120. Determine candidate object relation pairs that share a local reference state, and use reinforcement learning to determine the set of object relation pairs to enter the relation invariant calculation. Taking the normalized storage object observation record set output from S110 as input, it is first grouped according to the data source identifier, local reference state identifier, state dimension, and reference unit; only when two storage objects have the same data source identifier, the same local reference state identifier, the same event time within the same local reference state effective time period, the same state dimension, the same coordinate axis direction, and the same reference unit, are they considered to share the same local reference state.
[0024] When the local reference state identifier is not directly output with the observation record, it is read from the data source interface configuration version corresponding to the event time; if it cannot be determined from the interface configuration, it is not assumed that the two repository objects share the local reference state. A candidate object relationship network is established for each group that meets the conditions, in which the repository object is the candidate node, and two repository objects that can obtain valid normalized object state values at the same time in the same processing cycle form a candidate object relationship pair.
[0025] To reduce the number of relation edges without closure constraints entering subsequent cross-source relation graphs, and to avoid replacing multi-period technical feedback with fixed manual weights, reinforcement learning based on state action values is used to perform retention decisions on candidate object relation pairs. The reinforcement learning state of each candidate object relation pair consists of four fields: the proportion of both repositories having valid records since the current local reference state took effect, the proportion of either repositories having a missing record, the connectivity of the two repositories in the current candidate object relation network, and the sum of the upper limits of the measurement errors of the corresponding two object observation records. In this embodiment, the connectivity of two repositories in the current candidate object relation network refers to the number of other candidate object relation pairs directly connected to either of the two repositories, excluding the current candidate object relation pair itself; each other candidate object relation pair is counted only once. The connectivity is statistically analyzed based on the current processing cycle and the candidate object relation network formed by the current group, and is a non-negative integer, not accumulated across processing cycles.
[0026] The ratio field itself is limited to between 0 and 1; the connectivity is normalized by dividing by the maximum connectivity in the current group, and the normalization result is 0 when the maximum connectivity is 0; the measurement error field is normalized by dividing by the maximum upper limit of measurement error in the candidate object relationship pairs in the current group, and the normalization result is 0 when the denominator is 0.
[0027] To enable repeated indexing of reinforcement learning states, the four normalized fields are divided into state intervals according to the 25th, 50th, and 75th percentiles of historical training samples, respectively. When there are fewer than four different values in the historical fields, only the actual possible boundaries are used; when all values are the same, one state level is formed. The quantiles are obtained only from the historical samples that have completed S530 processing and received feedback, without manually setting numerical thresholds.
[0028] The reinforcement learning actions are fixed in two ways: retaining the current candidate object relationship pairs and not retaining the current candidate object relationship pairs. Historical training samples are formed according to the actual completed fusion cycle, and each training sample includes at least the state level combination, the executed action, the S420 closure verification result, the S330 minimum outlier relationship combination result, and the S530 state update result.
[0029] In this embodiment, reinforcement learning refers to the object relation pair selection mechanism based on the aforementioned state level, fixed actions, and historical technical feedback to update action values. For each historical sample that actually performs a retained action and completes S420 closure verification and S530 state update judgment, technical feedback for retained actions and non-retained actions is generated simultaneously: when the corresponding object relation pair continuously participates in the relation loop that satisfies the closure relationship and eventually forms an absolutely fused state that has been successfully written, the immediate reward for the retained action is 1, and the immediate reward for the non-retained action is -1; when the corresponding relation edge enters the minimum abnormal relation combination, the original relation contradiction disappears after a pause, and an absolutely fused state that has been successfully written is finally formed, the immediate reward for the retained action is -1, and the immediate reward for the non-retained action is 1; when sufficient closure verification results are not formed, or when the state update is not completed due to a lack of anchor points, anchor point conflicts, or global reference configuration failure, the immediate rewards for both actions are 0. Candidate object relation pairs that actually perform non-retained actions do not generate relation edges, and no new technical feedback is generated separately in this cycle; their corresponding action values follow the historical sample results that have already been verified under the same state level.
[0030] Action values are updated according to the following formula:
[0031] in, d represents the combination of state levels of candidate object relationship pairs, without units; d represents whether to retain or not retain actions, without units. Representing state The action value of the next action d before the nth feedback update, without unit; This represents the immediate reward corresponding to the nth completed technical feedback sample, taking the value of -1, 0, or 1, with no unit. Represents the state before the nth update. The number of samples for which action d has received valid feedback is expressed in units of "number"; n represents the feedback update sequence number for the same combination of actions in the same state, and has no unit.
[0032] The first state-action combination starts with both the action value and the sample size from 0. The division in the formula is used to incrementally write historical technical feedback into the action value according to the sample size, and the result is directly used as the basis for reinforcement learning selection of the current object relationship pair.
[0033] In the current processing cycle, for each candidate object relationship pair, the action values of the two actions at the corresponding state level are read. If no historical samples with completed S530 feedback exist, the current candidate object relationship pair is uniformly mapped to the initial state level. Set the action value and sample count of both actions to 0 and execute the reserved action; This only represents the cold start state when there are no historical feedback samples, and has no unit. After the feedback is completed in this period, a state level is formed according to the aforementioned quantile rules, and the action values of the two actions are updated according to the aforementioned instant feedback and action value update formulas respectively. When there is a historical state level, if the retained action value is greater than or equal to the non-retained action value, it is retained; if they are equal, they are included in the retention. If the retained action value is less than the non-retained action value, the candidate object relationship pair is not sent to S130. If there is no corresponding historical action value for the current state level, the retention action is performed. S120 outputs a set of object relationship pairs. Each object relationship pair carries a fixed data source identifier, a local reference state identifier, two repository object identifiers, and the reinforcement learning state and action value for this period. The set of object relationship pairs is directly used as the object index for S130 to calculate the relationship invariant.
[0034] S130: Using the set of object relation pairs output by S120 and the set of normalized warehouse object observation records output by S110 as input, generate relation invariants to offset additive local reference offsets. For the two warehouse object identifiers in the object relation pair, retrieve the normalized object state values from the same warehouse software data source, the same local reference state, the same state dimension, and the same processing cycle.
[0035] Let the normalized object state values of the i-th and j-th repository objects under the data source s be respectively... and The relational invariants are formed according to the following formula:
[0036] in, This represents the normalized object state value of the i-th repository object under the current local reference state of the data source s. This represents the normalized object state value of the j-th storage object under the same data source s and the same local reference state. Both are derived from S110, and the units are the base units of the corresponding state dimensions. This represents the relational invariant pointing from the j-th storage object to the i-th storage object, with the unit consistent with the object state value; i and j represent the storage object number, which has no unit; s represents the storage software data source number, which has no unit.
[0037] If both normalized object state values contain the same additive local reference offset, this additive local reference offset is canceled out during the subtraction process. Therefore, the relational invariant only retains the relative state difference between the two stored objects. The formula is not used to eliminate rotations, scaling changes, or nonlinear reference transformations. Data not confirmed as belonging to a common additive reference offset in S110 is not included in this formula.
[0038] When the object state is in multi-dimensional coordinates, subtraction is performed dimension-by-dimensional in sequence along the same coordinate axis; when the object state is in one-dimensional numerical values, scalar subtraction is performed directly. If the state dimension, coordinate axis direction, reference unit, or local reference state identifier of two objects are inconsistent, no relational invariant is generated. In the one-dimensional case, the sum of the upper limits of the measurement errors of the two storage objects is determined as the upper limit of the relational error of the corresponding relational invariant; in the multi-dimensional case, the upper limits of the scalar measurement errors calculated by S110 from the maximum permissible absolute deviation of each dimension are used separately, and the sum of the upper limits of the scalar measurement errors of the two storage objects is determined as the upper limit of the relational error of the corresponding relational invariant.
[0039] If the relational invariant exceeds the physical relative state range supported by the warehouse layout configuration or equipment technical documents, the relational invariant record is marked as out of bounds and awaiting confirmation, and is not considered a valid relational edge in S210. If no configuration is provided to verify the physical range, no additional empirical range is set; only the upper limit of measurement error is retained for subsequent closure judgment. S130 outputs a set of relational invariant records. Each record includes a fixed data source identifier, a local reference state identifier, two warehouse object identifiers, the relational invariant, the upper limit of relational error, the event time, and the validity status. Valid relational invariants serve as the sole relational value input for S210 to construct the cross-source relational graph; the original absolute object state values are not directly entered into the cross-source relational fusion in S2.
[0040] S2 specifically includes the following sub-steps: S210: Using the set of relational invariant records output by S130 as input, construct a cross-source relational graph in the multi-source fusion processing node and form a definite set of relational loops to be verified. First, read the data source identifier, local reference state identifier, two repository object identifiers, relational invariants, relational error upper limit, event time, and validity status from the relational invariant records. Only records with a valid validity status and relational invariant dimension, direction definition, and reference unit consistent with S110 are included in the current industrial data processing cycle.
[0041] For duplicate relationship records formed by the same data source identifier, the same local reference state identifier, the same two warehouse object identifiers, and the same event time, only one record will be retained; duplicate relationship records with different state values will remain in a conflict state and will not be included in the relationship graph. Relationship records whose event time exceeds the effective period of the corresponding local reference state will stop participating in the current cross-source relationship graph.
[0042] Using warehouse objects as relation nodes, and valid relation invariants as directed relation edges connecting corresponding warehouse objects, each relation edge stores the data source identifier, local reference state identifier, relation invariant, relation error upper limit, and event time. Relationship invariants from different warehouse software data sources but connecting the same warehouse objects are retained as independent relation edges and are not merged due to identical object endpoints.
[0043] To ensure that identical inputs always form the same basic connection structure, relation edges are sorted in a fixed order according to the starting repository object identifier, ending repository object identifier, data source identifier, local reference state identifier, and event time; the next sorting field is compared only when the previous sorting fields are the same.
[0044] The edges are traversed in a fixed order, and each repository object is initialized at the beginning of the traversal to contain only its own basic connection component. For the current edge, if its two endpoints are not yet reachable from each other through the added basic connection edges, the edge is determined as a basic connection edge, and the basic connection components containing the two endpoints are merged; if its two endpoints are already reachable from each other through the basic connection edges, the edge is determined as a closed-loop connection edge. After traversing all edges, the basic connection edges in each connected region form a unique basic connection tree; each closed-loop connection edge and its two endpoints together form a relation loop to be verified in the basic connection tree. Since the edges are arranged in the aforementioned fixed order, the same input will result in the same basic connection tree and the same set of relation loops to be verified.
[0045] When a connected region has only one node or no closed-loop connection edge, the corresponding node and relation edge are retained but no closure conclusion is drawn; the connected region awaits subsequent addition of valid relation invariants. S210 outputs the cross-source relation graph and the set of relation loops to be verified. The relation edges in the cross-source relation graph still retain the relation invariants and relation error upper limit of S130. The set of relation loops to be verified records the loop number, relation edge identifier, and traversal direction, which serve as the direct input for the closure residual calculation in S220.
[0046] S220: Using the cross-source relationship graph output by S210 and the set of relationship loops to be verified as input, calculate the closure residual for each relationship loop to be verified and determine the closure relationship according to the unified upper limit of measurement error. For the c-th relationship loop to be verified, first read its m relationship edges sequentially according to the fixed traversal direction recorded in S210. When the storage direction of the relationship edge is consistent with the traversal direction of the loop, the original relationship invariant is used in the calculation; when the storage direction of the relationship edge is opposite to the traversal direction of the loop, the opposite number is used in the calculation.
[0047] The closed residual is obtained according to the following formula:
[0048] in, This represents the closure residual of the c-th relation loop to be verified, with the unit consistent with the reference unit of the object state value; c represents the number of the relation loop to be verified, which has no unit and comes from the set of relation loops to be verified formed by S210; m represents the number of relation edges in the c-th relation loop to be verified, with the dimension of "edge"; k represents the sequential number of relation edges in the current relation loop, which has no unit. This represents the relation invariant corresponding to the kth relation edge, derived from S130, with units consistent with the object state value; The direction coefficient is 1 when the direction of the relation edge is consistent with the direction of the loop traversal, and negative 1 when the direction is opposite. It has no unit. The summation symbol indicates that all directed relation invariants are accumulated sequentially from 1 to m according to k.
[0049] When the object state is a one-dimensional numerical value, the absolute value of the closed residual is used as the closure deviation; when the object state is a multi-dimensional state, the square root of the sum of the squares of the components of the closed residual is used as the closure deviation. The upper limit of the relation error for each relation edge is directly adopted from the result formed by S130 based on the upper limit of the measurement error of two stored objects. The allowable deviation of the closure of a relation loop to be verified is equal to the sum of the upper limits of the relation errors of all relation edges in that loop.
[0050] When the closure deviation is less than or equal to the allowable closure deviation, the corresponding relational loop is determined to satisfy the closure relation, with those equal to the allowable closure deviation being classified as satisfying the closure relation. When the closure deviation is greater than the allowable closure deviation, the corresponding relational loop is determined to not satisfy the closure relation. If relational invariants are missing, relational error upper limits are missing, dimensions are inconsistent, or units cannot be unified, no closure or non-closure assumption is made, and the corresponding relational loop is marked as a loop to be supplemented. S220 outputs the relational edge set, closure residual, closure deviation, closure allowable deviation, and closure judgment result for each verifiable relational loop, and sends relational loops that do not satisfy the closure relation to S230.
[0051] S230, using the non-closed relation loops output by S220 and the cross-source relation graph output by S210 as inputs, forms a set of relation contradiction groups. A relation contradiction group represents a set of relation edges that cannot be simultaneously valid within the range that the current measurement error upper limit can explain. The relation contradiction group itself does not directly prove that the data source of the warehouse software corresponding to any relation edge has a physical failure.
[0052] For each relation loop that does not satisfy the closure relationship, read all relation edge identifiers, corresponding data source identifiers, local reference state identifiers, two warehouse object identifiers, relation invariants, and relation error upper limit, and bind them with closure residuals, closure deviations, and closure allowable deviations to form a relation contradiction group.
[0053] If the same relation edge appears simultaneously in multiple relation loops that do not satisfy the closure condition, the relation edge identifier remains completely consistent across multiple relation conflict groups, enabling S310 to locate the minimum isolation range based on the cross relationships of multiple relation conflict groups. When two relation conflict groups have completely identical relation edge sets, only the one with the larger result of subtracting the allowable closure deviation from the closure deviation is retained; if the results are the same, the one with the earlier loop number is retained, thus avoiding duplicate inclusion of identical conflict structures in subsequent coverage calculations. The loop to be supplemented formed by S220 is not included in the relation conflict group, nor is it considered to satisfy the closure condition; the corresponding relation edge remains in the cross-source relation graph and awaits new valid data. When there is currently no relation conflict group, an empty relation conflict group set is output.
[0054] Simultaneously, the object relation pairs preserved by reinforcement learning in S120 are written into the current cycle feedback record to determine whether they actually enter verifiable relation loops, whether they enter relation conflict groups, and the relation edge identifiers required subsequently. However, the action values are not updated immediately in S230. The action values are only updated according to the update rules disclosed in S120 after the closure and final writing results are formed in S430 and S530. S230 finally outputs the cross-source relation graph, the set of relation conflict groups, and the current cycle feedback record, where the cross-source relation graph and the set of relation conflict groups are directly used as inputs to S310.
[0055] S3 specifically includes the following sub-steps: S310: Using the cross-source relationship graph and the set of relationship conflict groups output by S230 as input, establish a relationship conflict coverage table and form a set of relationship source elements. If the set of relationship conflict groups is empty, do not perform abnormal relationship location, directly mark the current cross-source relationship graph as a valid relationship graph to be output and send it to S330.
[0056] When there are conflicting relation groups, the relation edge identifier of each relation edge and the data source identifier are combined into a relation source element. The relation source element represents a relation invariant relation generated by a certain data source of the warehouse software and connecting two certain warehouse objects. Relation edges that connect the same warehouse objects but have different data sources belong to different relation source elements.
[0057] A relation conflict coverage table is established with relation conflict groups as rows and relation source elements as columns. When a relation source element belongs to the corresponding relation conflict group, the coverage status is recorded; otherwise, the uncovered status is recorded. The coverage table also stores the repository object identifier corresponding to the relation source element, the local reference state identifier, the current participation status of the relation edge, and the retained and unretained action values in S120 reinforcement learning.
[0058] The relationship graph sent to S310 this time is the cross-source relationship graph output by S230 when S310 is executed for the first time, and is the currently valid relationship graph returned by S420 when S420 returns the iteration. If there are relationship edges in the relationship conflict group that have become invalid, have been paused by the current fusion, or cannot be found in the relationship graph sent to S310 this time, the original relationship conflict group is not used to continue the positioning, but the relationship conflict group is discarded; the relationship edges with valid participation status in the relationship graph sent to S310 this time are read, and the set of relationship loops to be verified is re-formed according to the fixed sorting and basic connection rules of S210, and the relationship graph sent to S310 this time and the re-formed set of relationship loops to be verified are used as the input of S220.
[0059] After recalculating the closure result in S220, the relation loops that do not satisfy the closure relationship are re-formed into relation contradiction groups according to the data structure specified in S230, and then sent to S310 to establish a relation contradiction covering table; when the re-formed relation contradiction group set is empty, it is sent to S330 according to the processing rules for empty relation contradiction group sets in this step.
[0060] The above-described reconstruction process uses the relation invariants, relation error upper limits, and event times already saved in the relation graph, without rereading the original warehouse object observation data from S110. S310 outputs a relation contradiction coverage table, a set of relation source elements, and a set of valid relation contradiction groups. All fields are derived from the results already formed in S230 and S120, without adding weights or anomaly probabilities for unsourced data, and serve as input for S320 to determine the minimum isolation range.
[0061] S320, using the relation contradiction coverage table, relation source element set, and valid relation contradiction group set output from S310 as input, determines the minimum abnormal relation combination. The minimum abnormal relation combination referred to in this paper is the combination to be isolated that minimizes the number of relation source elements contained in each relation contradiction group during the current fusion cycle, ensuring that each relation contradiction group loses at least one participating relation source element. Technically, it represents the minimum isolation range required for the current relation fusion and is not equivalent to a proven physical failure of the corresponding relation edge. In implementation, it starts with combinations containing only one relation source element and enumerates them sequentially according to the number of relation source elements, from fewest to most.
[0062] For any candidate combination, the relation contradiction coverage table is used to check whether each valid relation contradiction group contains at least one relation source element from the candidate combination; only when all relation contradiction groups are covered does the candidate combination enter the candidate set of the same size. After a candidate combination of a certain combination size first appears that can cover all relation contradiction groups, combinations with more relation source elements are no longer searched, thus obtaining the minimum combination size and all candidate combinations under that size.
[0063] When there is only one candidate combination of the same minimum combination size, it is determined as the minimum anomalous relationship combination. When there are multiple candidate combinations of the same size, the reinforcement learning action values saved in S120 in the current candidate object relationship pair state are read. For each relationship source element in a candidate combination, the retention action value minus the non-retention action value is calculated to form a retention tendency, and all retention tendency values in the combination are added together; the candidate combination with the smaller cumulative retention tendency value is given priority as the minimum anomalous relationship combination, indicating that relationship source elements that are not favored to be retained in historical technical feedback are preferentially isolated.
[0064] When the cumulative retention tendency is the same or the corresponding relation source element has no effective reinforcement learning action value, the candidate combination with the highest ranking is selected according to the starting repository object identifier, ending repository object identifier, data source identifier, local reference state identifier, and event time of the relation source element, to ensure that the same input produces a unique output. The entire search process does not use the minimum abnormal relation combination to prove the true fault attribution; its purpose is only to cut off all currently non-closed relation loops with the minimum relation isolation. S320 outputs the unique minimum abnormal relation combination and the identifiers of each relation source element in the combination, which serve as the direct input to S330.
[0065] S330, using the minimum abnormal relationship combination output by S320 and the cross-source relationship graph output by S230 as input, forms an effective relationship graph.
[0066] For each relation source element in the minimum abnormal relation combination, the corresponding relation edge is located based on the relation edge identifier, and its participation status is changed from valid to currently paused during fusion. The current fusion pause only prevents the corresponding relation edge from participating in relation state solving and closure verification within this fusion cycle; it does not delete relation invariants, relation error upper limits, data source identifiers, local reference state identifiers, identifiers of the two repository objects, or event times. Other relation edges from the same repository software data source but not included in the minimum abnormal relation combination remain valid; therefore, local relation conflicts will not directly escalate to the failure of the entire data source.
[0067] After pausing the corresponding relation edges, the connected region is recalculated based on the remaining valid relation edges. When an original connected region is split into multiple new connected regions, each new connected region is retained. Regions with only one repository object and no valid relation edges are marked as isolated node regions, and no replacement relations are artificially added. When the set of relation conflict groups is empty, no relation edge participation status is modified, and the cross-source relation graph is directly used as the valid relation graph.
[0068] S330 also writes the identifier of the minimum abnormal relationship combination in this cycle into the current cycle feedback record formed by S230, as input for S430 to determine whether the closure after isolation has been restored. S330 finally outputs the effective relationship diagram, the minimum abnormal relationship combination, and the current cycle feedback record.
[0069] The relation nodes, relation edges, data source identifiers, local reference state identifiers, relation invariants, and relation error upper limits in the effective relation graph are consistent with the data structure used in S210. It directly enters S410 without rereading the original warehouse object observation data.
[0070] S4 specifically includes the following sub-steps: S410: Using the valid relationship graph output by S330 as input, solve for the candidate relative states of the storage objects for each connected region, and form the allowable deviation of the candidate relative states for subsequent anchor point consistency judgment. First, read the relationship edges with valid participating states; the relationship edges that are currently in the fusion paused phase are not included in the solution.
[0071] For each connected region containing at least two relation nodes, the storage object with the highest sorted order is selected as the local computation reference node according to the fixed order of the storage object identifiers, and its candidate relative state is fixed as the zero vector; this zero vector only removes the common translational degrees of freedom in the relation equation, and does not indicate that the storage object is at the actual global origin.
[0072] Let the local computational reference node be numbered 'a'. Establish constraints between the relative state difference of objects and relation invariants for effective relation edges, and solve using the following formula:
[0073] in, It represents the set of states to be solved, consisting of all candidate relative states of the current connected region's storage objects. It is the optimization variable of the objective function, and its unit is consistent with the object state value. This represents the set of candidate relative states that minimize the objective function, with units consistent with the object's state values. and represents the relative states of the i-th and j-th storage objects to be calculated, respectively; 'a' represents the local computational reference node number of the current connected region, which has no unit.
[0074] It represents the candidate relative state of the locally computed reference node and is fixed as a zero vector; This represents the set of all valid relation edges in the current connected region; 'e' represents the valid relation edge number, which has no unit. This indicates that the relation edge points from the j-th repository object to the i-th repository object; The relation invariant corresponding to relation edge e is derived from S130; the norm symbol represents the Euclidean norm of the state vector, which is equivalent to the absolute value in one-dimensional states; the summation symbol represents the summation of the set... Accumulate all valid relation edges within the boundary; This represents the set of states to be determined when the objective function is minimized.
[0075] After solving, for each valid relation edge, the fitting deviation between the state difference re-derived from the candidate relative states and its relation invariants is calculated. Specifically, for the relation... ,calculate When the object state is a one-dimensional numerical value, the absolute value of the calculated result is used as the actual fitting bias. When the object state is a multi-dimensional state, the square root of the sum of squares of the components of each dimension of the calculated result is used as the actual fitting bias. The actual fitting bias is a non-negative scalar, and its unit is consistent with the reference unit of the object state value. To provide S520 with a clearly sourced allowable bias for candidate relative states, a basic connection tree is formed in each connected region according to the fixed relation edges of S210, starting from the local computational reference node.
[0076] For any storage object, along the unique basic connection path from the local computation reference node to the storage object, the upper limit of the relation error and the actual fitting deviation of the corresponding relation edge are accumulated side by side to obtain the allowable deviation of the candidate relative state of the storage object; the allowable deviation of the candidate relative state of the local computation reference node is taken as 0.
[0077] The allowable deviation is not an increase in sensor accuracy, but rather a conservative technical tolerance based on the upper limit of the S130 relation error and the residual from the current relation solution. Its unit is consistent with the object state value, and it is only used for anchor point consistency judgment. If the relation equation still has insufficient rank besides the common translation degrees of freedom, nodes whose candidate relative states cannot be determined are marked as nodes to be supplemented, and the corresponding candidate relative states are not output to S420. S410 outputs the candidate relative states, the allowable deviation of the candidate relative states, the valid relation edges, and the identifiers of the nodes to be supplemented.
[0078] S420: Using the candidate relative states, valid relation edges, and valid relation graph output by S410 as input, re-perform closure verification on the results after relation isolation, and give a definite iteration stopping condition.
[0079] For each connected region that can form a relational loop, the relational loop to be verified is re-formed according to the same relational edge sorting and basic connection rules as in S210. The loop is then judged according to the same direction unification method, closure residual calculation method, and closure allowable deviation determination method as in S220, without setting a new closure threshold. A closure is determined to be closed if the closure deviation is less than or equal to the closure allowable deviation; if it is equal, it is still classified as closed. If the closure deviation is greater than the closure allowable deviation, a new relational contradiction group is formed according to the exact same data structure as in S230.
[0080] When a new set of conflicting relationships exists, the new set of conflicting relationships and the currently valid relationship graph are returned to S310. Then, S310, S320, and S330 are executed sequentially, so that at least one relationship edge that was previously valid and belongs to the current conflicting relationship group becomes the current fusion paused, and then S410 is re-entered. After each return iteration, the number of currently valid relationship edges must be reduced, so the maximum number of return iterations cannot exceed the number of valid relationship edges when first entering S410; no additional manual iteration threshold is set.
[0081] Isolation will be stopped and the corresponding region will be marked as an unresolved connected region if any of the following conditions occur: There is still a group of conflicting relationships, but all relationship edges within the group are already in the current fusion pause state; after continuing to form the minimum abnormal relationship combination, only a combination without any valid relationship edges can be obtained; or the remaining valid relationships are insufficient to form a verifiable connected region that simultaneously contains at least 2 relationship nodes and at least 1 closed-loop connection edge.
[0082] When an isolated node is formed due to a paused relation edge, the isolated node is only marked as a node to be supplemented; a closed result is not forcibly formed by restoring the paused contradictory relation. For a connected region that can form at least one unverified relation loop, the corresponding region is determined to be a closed connected region only when all unverified relation loops satisfy the closed relation. Connected regions that cannot form any loops of relations to be verified, regardless of whether they contain at least two relation nodes, are not considered closed and are marked as unresolved connected regions awaiting subsequent addition of valid relation invariants. S420 outputs closed connected regions, unresolved connected regions, final candidate relative states, allowable deviations of candidate relative states, and final closure verification results for S430 to form relation fusion states.
[0083] S430: Using the closed connected region, candidate relative state, allowable deviation of candidate relative state, and final closure verification result output from S420 as input, a relation fusion state is formed, and the closure phase feedback of reinforcement learning is completed. For each closed connected region, the local computational reference node determined in S410 and the candidate relative state of each storage object relative to the local computational reference node are retained. No original local absolute reference value of any storage software data source is introduced in this step.
[0084] The global absolute state of a locally computed reference node that is not yet determined is defined as a common undetermined reference quantity. Specifically, the common undetermined reference quantity represents the additive reference component that is added when all candidate relative states of the current connected region are transformed to a unified global reference. Its state dimension and unit are consistent with the object state value, and its value remains undetermined in S430.
[0085] A closed connected region forms a relation fusion sub-state. The relation fusion sub-state permanently includes the connected region identifier, the local computational reference node identifier, the stored object identifier, the candidate relative state, the allowable deviation of the candidate relative state, the common undetermined reference quantity, the identifiers of the valid relation edges participating in the fusion, and the final closure verification result. All relation fusion sub-states constitute the relation fusion state. Unresolved connected regions and isolated nodes are not written into the relation fusion state; only their corresponding states are retained for subsequent update of relation invariants.
[0086] S430 updates the current cycle feedback record based on the minimum abnormal relationship combination in S330 and the final closure verification result in S420: when the original relationship contradiction group no longer appears after pausing a relationship source element and no new contradiction loop containing the same relationship source element is generated, the corresponding isolation result is marked as valid isolation feedback; relationship source elements that continue to participate in the final closed relationship loop are marked as valid retained feedback; relationship source elements without enough closure relationship verification remain in feedback pending.
[0087] The feedback does not directly change the relationship fusion state of the current cycle, but rather, together with the final state update result obtained in S530, forms the immediate reward of reinforcement learning in S120. S430 outputs the relationship fusion state and the feedback record of the current cycle, where the allowable deviation of the candidate relative state serves as an explicit input to S510 and S520, solving the data source problem for the allowable deviation of anchor consistency in subsequent cycles.
[0088] S5 specifically includes the following sub-steps: S510. Using the relationship fusion state output by S430 as input, obtain and verify the confirmed global anchor point state. The confirmed global anchor point state is limited to objects that have been independently calibrated under the unified global reference, can correspond one-to-one with the storage objects in the relationship fusion state, and whose state generation chain does not depend on the object state records of the local reference states eliminated by S1 in the current connected region.
[0089] It has been confirmed that the global anchor point status can come from an independent global reference configuration interface or a positioning service interface with an independent global calibration chain, but the original local reference value of the current warehouse software data source must not be used directly as the anchor point. Each anchor point record must include at least the warehouse object identifier, global object status value, status dimension, reference unit, global reference configuration version, effective time period, measurement error limit, and calibration source identifier.
[0090] For each relationship fusion sub-state, query the corresponding anchor point record according to the storage object identifier. Only when the anchor point storage object identifier can uniquely correspond to the storage object in the relationship fusion state, the event time is within the effective time period of the global reference configuration, the state dimension and coordinate axis meaning are consistent with S110, the unit can be converted to the same reference unit according to the interface's explicit ratio, the measurement error upper limit exists, and the calibration source identifier indicates that it does not depend on the currently eliminated local reference state, is determined as a confirmed global anchor point state.
[0091] If any condition is not met, it is not supplemented by empirical values. If a connected region does not have a confirmed global anchor point status, it is marked as a connected region to be anchored; if there is one, one anchor point binding item is formed; if there are multiple, all are retained for S520 to perform consistency judgment. S510 outputs an anchor point binding set, each anchor point binding item includes a connected region identifier, anchor point storage object identifier, global object status value, corresponding candidate relative status, allowable deviation of corresponding candidate relative status, anchor point measurement error limit, global reference configuration version, and calibration source identifier, which are directly used as input to S520.
[0092] S520: Using the anchor point binding set output by S510 and the relationship fusion state output by S430 as input, determine the common indeterminate reference quantity and handle multi-anchor point conflicts. Let the global object state value corresponding to the p-th anchor point storage object in the connected region h be... Its candidate relative state in the relation fusion state is The candidate common reference value formed by the anchor points is:
[0093] in, The connected region h represents the candidate common reference quantity formed based on the p-th anchor storage object, with the unit consistent with the object state value; h represents the connected region number in the relationship fusion state, without unit; p represents the anchor storage object number in the current connected region, without unit, and has a different and unique technical meaning from the local calculation reference node number a in S410. This represents the global object state value of the p-th anchor storage object, which is derived from S510. This represents the candidate relative states of the same stored object in S430; the state dimensions, coordinate axis directions, and units of the two states must be consistent.
[0094] If the input is missing, the dimension is inconsistent, the unit cannot be converted according to the interface configuration, or the anchor point status has exceeded the effective time period, the corresponding candidate common reference quantity will not be calculated.
[0095] When a connected region has only one valid candidate common reference value, it is determined as the common undetermined reference value of that connected region, denoted as . When multiple candidate common reference quantities exist, calculate the one-dimensional absolute value or multi-dimensional Euclidean norm of the vector difference between any two candidate common reference quantities, and use the sum of the upper limit of the measurement error of the two anchor points and the allowable deviation of the relative state of the two corresponding candidates as the consistency allowable deviation.
[0096] When the deviation between candidate common reference quantities is less than or equal to the consistency allowable deviation, they are classified as consistent; when they are equal, they are still considered consistent. When the deviation between any pair of candidate common reference quantities exceeds the consistency allowable deviation, the corresponding connected region is marked as an anchor point conflict connected region, and the final common reference quantity is not forcibly obtained using conflict anchor points.
[0097] When all candidate common reference values are pairwise consistent, calculate the sum of the upper limit of measurement error for each anchor point and the allowable deviation of the corresponding candidate relative state, and select the candidate common reference value corresponding to the anchor point with the smallest total value as the candidate common reference value. When the total values are the same, they are selected in a fixed order based on the warehouse object identifier. The S520 outputs the connectivity region identifier and the determined value of the common undetermined reference quantity. The anchor storage object identifier, global reference configuration version, and anchor validity status are used to directly enter S530.
[0098] S530: Using the common indeterminate reference value output by S520 and the relationship fusion state output by S430 as input, an absolute fusion state under a unified global reference is generated, and the storage object state record in the intelligent warehousing software system is updated. For each connected region with valid anchoring, the candidate relative states of storage objects are read one by one, and the common indeterminate reference value of the same connected region is added to each candidate relative state of storage object according to the corresponding dimension. The resulting object state value is determined as the absolute object state value of the corresponding storage object.
[0099] An absolute object state value is the numerical state of a single repository object under a unified global reference; all successfully anchored absolute object state values and their source fields within a fusion cycle together constitute the absolute fusion state. Through this process, all repository objects in the same connected region complete absolute state recovery using only one independently verified common global reference, without reintroducing the local additive reference offsets that have been eliminated in S1 from the data sources of each repository software.
[0100] The absolute fusion status includes at least the storage object identifier, absolute object status value, connected region identifier, anchor point storage object identifier, global reference configuration version, fusion event time, minimum abnormal relationship combination identifier, and the closure verification status of this period.
[0101] Before writing to the state record of a repository object, the global reference configuration version and the fusion event time of the current record are compared. If the result to be written uses a valid global reference configuration version and the fusion event time is later than the current record, an update is performed. If the fusion event time is equal to the current record and belongs to the same fusion cycle, it is considered a duplicate write and the existing record is maintained. If the fusion event time is earlier than the current record, overwriting is rejected. New absolute fusion states are not generated for connected regions to be anchored, connected regions with anchor point conflicts, unresolved connected regions, and isolated nodes, and they are not replaced with old anchor points or local reference values.
[0102] After the state update is completed, the effective isolation feedback and effective retention feedback formed in S430 are combined with the absolute fusion state written into the result to form the final immediate reward of S120 reinforcement learning.
[0103] After an object relation pair actually performs a retention action and completes the judgment in this step, an immediate reward is generated according to the dual-action feedback rule described in S120: When an object relation pair continuously participates in a relation loop that satisfies a closed relationship and forms a successful state update, the immediate reward for the retention action is 1, and the immediate reward for the non-retention action is -1; when the source element of the object relation pair enters the minimum abnormal relation combination, the original relation contradiction disappears after a pause, and a successful state update is formed, the immediate reward for the retention action is -1, and the immediate reward for the non-retention action is 1; when sufficient closed verification results are not formed, or when the state update is not completed due to a lack of anchor points, anchor point conflicts, or global reference configuration failure, the immediate rewards for both actions are 0. Candidate object relation pairs that actually perform non-retention actions do not generate relation edges, and no new technical feedback is added in this cycle; their action values follow the historical sample results that have been verified under the same state level.
[0104] Subsequently, the corresponding reinforcement learning action values are updated according to the state action value update formula disclosed in S120, for use in the selection of object relation pairs in the next fusion cycle and the selection of candidate combinations of the same scale in S320. At this point, the warehouse object observation data has undergone local additive reference offset elimination, relation invariant construction, cross-source relation closure verification, minimum relation isolation, relation re-fusion, and independent global anchoring, forming a closed loop of multi-source industrial data processing with consistent input and output.
[0105] The state level in the above action value update formula Action d, action value Q, immediate feedback R, and update sequence number n do not have physical units for object state values. The sample size N is counted based on the number of samples that receive valid feedback. The state variables in the formulas related to relation invariants, closed residuals, candidate relative states, and common reference quantities are all calculated according to the reference units determined in S110. The above formulas are used for action value increment updates, object state subtraction, relation loop residual accumulation, candidate relative state least squares solution, and global common reference quantity determination, respectively. They are all executed according to the data sources, calculation rules, and judgment boundaries already disclosed in the corresponding steps, without introducing any unspecified preset parameters or judgment thresholds.
[0106] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0107] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0108] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for multi-source data fusion processing in an intelligent warehousing software system, characterized in that, Includes the following steps: S1. Obtain the observation data of the warehouse objects from the warehouse software data source, determine the warehouse object relationship pairs that share the same additive local reference offset, and form relationship invariants by subtracting the state values of objects from the same source. S2. Construct a cross-source relationship graph with the stored objects as relationship nodes and the relationship invariants as relationship edges to form relationship loops. Calculate the closure deviation and use the sum of the upper limits of the relationship errors within the loop as the closure allowable deviation. Relationship loops whose closure deviation exceeds the closure allowable deviation are formed into relationship contradiction groups. S3. Identify the relation edges and their data source identifiers as relation source elements. Based on the relation conflict groups, determine the minimum abnormal relation combination that makes each relation conflict group lose at least one relation source element and has the fewest number of elements. Suspend the corresponding relation edges from participating in the fusion to form an effective relation graph. S4. Based on the effective relationship graph, solve the candidate relative state of the storage object with respect to the local computational reference node and re-determine the closed state of the relationship loop; if there are still relationship contradiction groups, return to S3 to update the minimum abnormal relationship combination and the effective relationship graph until all verifiable relationship loops satisfy the closed relationship, forming a relationship fusion state that retains the common undetermined reference quantity; S5. Obtain the confirmed global anchor point state corresponding to the repository object in the relationship fusion state and independent of the additive local reference offset. Determine the common undetermined reference quantity based on the difference between it and the corresponding candidate relative state. Generate the absolute fusion state under the unified global reference and update the repository object state record.
2. The multi-source data fusion processing method in an intelligent warehousing software system according to claim 1, characterized in that, S1 specifically includes: Receive storage object observation data containing data source identifier, storage object identifier, object status value and event time, obtain local reference status identifier, status dimension, coordinate axis direction, measurement scale, reference unit and measurement error limit from the corresponding interface configuration, perform unit unification and validity verification on the status value, and form a standardized storage object observation record set; The record set is grouped according to the data source identifier, local reference state identifier, state dimension and reference unit. The warehouse objects that meet the common additive local reference offset condition are formed into candidate object relationship pairs. Based on the reinforcement learning state composed of common effective record ratio, missing ratio, connectivity and measurement error, the corresponding candidate object relationship pairs are retained when the retained action value is not less than the non-retained action value, thus forming a set of object relationship pairs. Based on the object relationships, the corresponding normalized object state values are retrieved from the set and the difference is calculated to form a set of relation invariant records that carry data source identifier, local reference state identifier, two repository object identifiers, relation error upper limit, and validity status.
3. The multi-source data fusion processing method in an intelligent warehousing software system according to claim 1, characterized in that, S2 specifically includes: Using effective relation invariants as directed relation edges connecting relation nodes of warehouse objects, relation edges are sorted in order of starting warehouse object identifier, ending warehouse object identifier, data source identifier, local reference state identifier and event time. Relationship edges whose two endpoints are not yet reachable from each other through the determined basic connection edge are determined as basic connection edges. Subsequent relation edges whose two endpoints are reachable from each other through the basic connection edge are determined as closed loop connection edges. The relation loop to be verified is formed by the closed loop connection edge and the basic connection path between its endpoints. The direction of relation edges is unified according to the fixed traversal direction of the relation loop to be verified. The invariants of each relation are accumulated to form a closed residual. The closure deviation is determined based on the closure residual. The sum of the upper limit of the relation error of each relation edge in the loop is used as the closure allowable deviation. When the closure deviation is greater than the closure allowable deviation, the corresponding relation loop is determined to be unclosed.
4. The multi-source data fusion processing method in an intelligent warehousing software system according to claim 3, characterized in that, Also includes: Each non-closed relation loop is bound to its relation edge, data source identifier, storage object identifier, closure deviation, and closure allowable deviation to form a set of relation conflict groups.
5. The multi-source data fusion processing method in an intelligent warehousing software system according to claim 1, characterized in that, S3 specifically includes: The relation edge identifier and the data source identifier of each relation edge in the cross-source relation graph are jointly determined as the relation source element. A relation conflict coverage table is established with relation conflict groups as rows and relation source elements as columns to record the coverage status of each relation source element on each relation conflict group. Candidate combinations are enumerated in ascending order of the number of relation source elements. Combinations that ensure each relation conflict group contains at least one relation source element from a candidate combination are selected as covering combinations. When a combination size covering all relation conflict groups is first obtained, the combination size is stopped from increasing, and the smallest abnormal relation combination is determined from the candidate combinations at that size. When there are multiple candidate combinations of the same size, the combination with the smaller cumulative result of the retained action value minus the non-retained action value is selected first. When the cumulative results are the same or the corresponding relation source element does not have an effective reinforcement learning action value, a unique combination is determined according to the fixed order of relation source elements.
6. The multi-source data fusion processing method in an intelligent warehousing software system according to claim 5, characterized in that, Also includes: Modify the participation status of the edge corresponding to the smallest abnormal relation combination to the current fusion pause, and retain the remaining valid relation edges to form a valid relation graph.
7. The multi-source data fusion processing method in an intelligent warehousing software system according to claim 1, characterized in that, S4 specifically includes: The effective relationship graph is divided into connected regions. For connected regions containing at least two relationship nodes, local calculation reference nodes are determined according to the warehouse object identifier and their candidate relative states are fixed to zero. Based on the relationship invariants corresponding to the effective relationship edges, object relative state difference constraints are established. The candidate relative states of warehouse objects that can be determined by the object relative state difference constraints are obtained. The upper limit of relationship error and the actual fitting deviation are accumulated along the basic connection path from the local calculation reference node to the corresponding warehouse object to form the allowable deviation of the candidate relative state. According to the relationship loop formation rules and closure judgment rules in S2, the closure verification of the valid relationship graph is re-executed. If there are still relationship contradiction groups, the new relationship contradiction groups and the current valid relationship graph are returned to S3 to redetermine the minimum abnormal relationship combination and the valid relationship graph. When all verifiable relationship loops satisfy the closure relationship, the return stops. If there are still relationship contradiction groups, but all relationship edges in them are in the current fusion pause state, the redetermined minimum abnormal relationship combination does not contain valid relationship edges, or the remaining valid relationships are insufficient to form a verifiable connected region that simultaneously contains at least two relationship nodes and at least one closed loop connection edge, the isolation is stopped and the corresponding connected region is determined as an unresolved connected region.
8. The multi-source data fusion processing method in an intelligent warehousing software system according to claim 7, characterized in that, Also includes: The local computational reference nodes, candidate relative states of stored objects, allowable deviations of candidate relative states, and common undetermined reference quantities in the connected regions that satisfy the closed relationship are combined to form the relationship fusion state.
9. The multi-source data fusion processing method in an intelligent warehousing software system according to claim 1, characterized in that, S5 specifically includes: Obtain the global object status corresponding to the warehouse object in the relationship fusion state from the independent global reference configuration interface or the positioning service interface with an independent global calibration chain, and verify the warehouse object identifier, state dimension, coordinate axis meaning, reference unit, global reference configuration version, effective time period, measurement error limit and calibration source to form an anchor point binding set that does not depend on additive local reference offset; Candidate common reference values are formed based on the difference between the global object state value of each anchor point storage object and its candidate relative state. When there are multiple candidate common reference values, for any two candidate common reference values, the sum of the upper limit of the measurement error of the corresponding two anchor points and the allowable deviation of the two candidate relative states is used as the consistency allowable deviation. When all candidate common reference quantities meet the corresponding consistency allowable deviations in pairs, the candidate common reference quantity with the smallest sum of the upper limit of anchor point measurement error and the allowable deviation of the corresponding candidate relative state is selected as the common undetermined reference quantity. When the upper limit of anchor point measurement error and the allowable deviation of the corresponding candidate relative state are the same, the common undetermined reference quantity is determined according to the fixed sorting of the warehouse object identifier.
10. The multi-source data fusion processing method in an intelligent warehousing software system according to claim 9, characterized in that, Also includes: The common undetermined reference value is added to the candidate relative state of each storage object in the same connected area to form the absolute object state value. The storage object state record is updated when the global reference configuration version is valid and the fusion event time is later than the existing record. When the fusion event time is equal to the existing record and belongs to the same fusion cycle, the existing record is maintained. When the fusion event time is earlier than the existing record, it is rejected from being overwritten.
