Three-dimensional spatial matching method of IoT devices based on digital twins
The data transmission channel of the IoT device model and the standard processing interval of the virtual device model are constructed through digital twin technology, which solves the problem of data output synchronization of IoT devices in three-dimensional space matching, and improves the effect of three-dimensional space matching and data correlation. sex.
Patent Information
- Application Number
- CN202411150836.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-21
AI Technical Summary
During the three-dimensional space matching process of IoT devices, the synchronization of data output cannot be guaranteed, resulting in the inability to achieve better three-dimensional space matching effects.
Through the method based on digital twins, the data transmission channel of the IoT device model is constructed, the standard processing interval of the virtual device model is identified, and the data processing rate and output rules are determined based on this interval to ensure the relevance and synchronization of data output.
It realizes the correlation and synchronization of data output, improves the effect of three-dimensional space matching, and facilitates data analysis and comparison by operators.
Smart Images

Figure CN118659980B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things devices, and in particular to a three-dimensional space matching method for Internet of Things devices based on digital twins. Background Art
[0002] The matching application of IoT devices in three-dimensional space involves a variety of technologies and applications, mainly including three-dimensional data modeling, device status visualization, spatial data processing, and integration with Internet of Things (IoT) technology. In order to achieve unified matching and merging of three-dimensional space, IoT devices need to be combined with relevant virtual devices to uniformly process the data generated by IoT devices, so that multiple IoT devices can be synchronized in the same three-dimensional space.
[0003] When its IoT devices are performing relevant matching processes in three-dimensional space, they generally need to establish relevant transmission channels based on the data orientation between each device, and will simultaneously combine with relevant virtual devices to process the generated data in real time. However, in the actual processing process, the output rules of this virtual device are not determined based on the data processing process and characteristics of the corresponding virtual device for different IoT devices. Therefore, it is impossible to ensure that when this virtual device outputs data, there are differences in the correlation between the multiple data output, and the synchronization of its data cannot be guaranteed. Summary of the invention
[0004] In view of the shortcomings of the prior art, the present invention provides a three-dimensional space matching method for Internet of Things devices based on digital twins, which solves the problem that after the Internet of Things devices complete the three-dimensional space matching, the synchronization of the data output process cannot be guaranteed and a better three-dimensional space matching effect cannot be achieved.
[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: A three-dimensional space matching method for IoT devices based on digital twins, comprising the following steps:
[0006] S1) constructs the IoT device model to be matched to the three-dimensional space. Based on the data trend between the IoT device models, the IoT device models with data association are matched, and the virtual device model associated with the corresponding IoT device model is simultaneously determined to generate a complete three-dimensional space real scene map. The specific sub-steps are:
[0007] S11. Based on the operation of this IoT device model in actual scenarios, confirm other device models that have data exchange with this IoT device model:
[0008] If the other device model is the constructed IoT device model, a data transmission channel between the IoT device model and the current IoT device model is constructed;
[0009] If the other device model is not the constructed IoT device model, a virtual device model is selected from the database, and a data transmission channel between the virtual device model and the IoT device model is constructed;
[0010] S12, after the data transmission channels of all IoT device models and virtual device models are constructed, a complete three-dimensional space real scene map is generated;
[0011] S2), based on the constructed three-dimensional space real scene map, identify the location of the virtual device model from the three-dimensional space real scene map, and determine a set of preprocessing cycles based on the Internet of Things device model associated with the virtual device model, and identify the standard processing speed range of the virtual device model from this preprocessing cycle. The specific sub-steps are:
[0012] S21. Determine an IoT device model with data input based on the determined virtual device model, determine a set of preprocessing periods T, where T is a preset value, determine the data processing rate of the virtual device model within the preprocessing period T, and the number of processing rates is consistent with the number of IoT device models;
[0013] S22. Based on the different data processing rates generated in the preprocessing period T, and according to the different data processing values corresponding to different times, a data processing rate curve belonging to a single data input process is generated, and a single data input process corresponds to a single IoT device model;
[0014] S23, confirming the maximum rate and the minimum rate of the data processing rate curve, and constructing two sets of horizontal parallel lines, the rate values corresponding to the parallel lines are the maximum rate or the minimum rate, moving the two sets of horizontal parallel lines toward each other with the same moving speed, and identifying the rate difference between the two horizontal parallel lines and the length of the line segments included in each process of moving toward each other, and determining the rate difference C i = the velocity value corresponding to the upper parallel line - the velocity value corresponding to the lower parallel line. The length of the line segment between the two horizontal parallel lines in this movement is calibrated as D i , where i represents different movement processes;
[0015] Using CL i =(D i ×A1)÷(C i ×A2) Confirm the processing value CL corresponding to this moving process i , where A1 and A2 are preset fixed coefficient factors, from different processing values CL corresponding to several different moving processes i In the above example, a set of maximum values CL is selected. i max, this CL iThe moving process corresponding to max is calibrated as the standard process, and the maximum and minimum speed values of the standard process are determined to lock the standard speed range of the data processing speed curve;
[0016] S3) Based on the number of associations of the standard processing speed interval determined by this virtual device model, if the number of associations is 1, the data input rate of the Internet of Things device model associated with this virtual device model is regulated; if the number of associations is ≥ 2, based on the difference between different standard processing speed intervals, the data output rule of this virtual device model is confirmed.
[0017] Preferably, in step S3, when the number of associations of the standard speed interval determined for the virtual device model is 1:
[0018] Determine the data input rate V of this IoT device model, and synchronously lock the standard processing speed interval [Cvmin, Cvmax] belonging to this data input process. If V>Cvmax, then adjust the data input rate V and stop when V is adjusted to the standard processing speed interval. If V=Cvmax or V∈standard processing speed interval, no regulation is performed.
[0019] When the number of associations of the standard speed intervals determined by this virtual equipment model is ≥ 2:
[0020] The data input rate control method when the number of associations is 1 is adopted to adjust the data input rate of the data input process associated with the relevant standard speed interval;
[0021] Then determine the middle value of the standard speed range, and mark the determined middle value as Z k , where k represents different standard speed intervals, the confirmed groups of intermediate values are ratio processed to determine the ratio sequence, and the ratios corresponding to different intermediate values in the ratio sequence are calibrated as B k When the virtual device model has a data output process, determine the standard speed interval associated with the output data, confirm that the middle value of this interval is located at the associated position of the ratio sequence, and confirm the capacity value R of this output data. k , using R k ÷B k =L k Confirm the data capacity L corresponding to the unit ratio k , then based on the unit ratio data capacity L k , confirm the data capacity corresponding to other ratios in the ratio sequence, and then extract data from the data processed in the corresponding standard speed range based on this data capacity, use the extracted data of different types as the matching data of this output data, and output them synchronously. If the data capacity corresponding to the corresponding ratio is insufficient, wait until the data capacity reaches the standard for unified output.
[0022] Preferably, it also includes:
[0023] S4), data output process based on the virtual device model, if there is only a single group of output data, the data is output directly, if there are multiple groups of output data, the output data are sorted and output according to the time priority of the input data; the time priority of the input data is the time sequence of the initial moment when the virtual device model receives the corresponding input data. If the virtual device model receives the input data earlier, it is sorted earlier, and if the virtual device model receives the input data later, it is sorted later.
[0024] The present invention provides a three-dimensional space matching method for IoT devices based on digital twins. Compared with the prior art, it has the following beneficial effects:
[0025] The present invention identifies the associated data communication device of the corresponding virtual model through the constructed three-dimensional space, and then determines a set of preset processing cycles based on the data processing process of the corresponding virtual model, performs correlation analysis on the related processing rates within the preset processing cycles, evaluates the data change of each different processing rate, and then determines the associated standard line based on the corresponding data change curve, and then determines the best regular segment based on the movement process of the corresponding standard line, thereby locking the best standard processing speed interval and ensuring that the processing speed interval value is more accurate;
[0026] Based on the determined speed range, the data output is determined. When there are multiple groups of communicating IoT devices based on this virtual model, the data output rules of this virtual model are determined. When there is a certain group of output data, other related data generated at the same time are output synchronously to ensure that the output data has a high correlation, which is convenient for relevant operators to conduct data analysis and comparison, and to ensure the matching effect of IoT devices in three-dimensional space. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] Example 1
[0030] See also Figure 1, the present application provides a three-dimensional space matching method for IoT devices based on digital twins, comprising the following steps:
[0031] S1) constructs the IoT device model to be matched to the three-dimensional space. Based on the data trend between the IoT device models, the IoT device models with data association are associated and matched, and the virtual device models associated with the corresponding IoT device models are simultaneously determined to generate a complete three-dimensional space real scene map. Specifically, the IoT device model is constructed in advance by relevant operators, and after the construction is completed, the device model with data association can be associated and matched. The specific sub-steps of the association matching are:
[0032] S11. Based on the operation of this IoT device model in actual scenarios, confirm other device models that have data exchange with this IoT device model:
[0033] If the other device model is the constructed IoT device model, a data transmission channel between the IoT device model and the current IoT device model is constructed;
[0034] If the other device model is not the constructed IoT device model, a virtual device model is selected from the database, and a data transmission channel between the virtual device model and the IoT device model is constructed;
[0035] S12. After the data transmission channels of all IoT device models and virtual device models are constructed, a complete three-dimensional space real scene map is generated. Specifically, the actual IoT device model is the existing related device. Such related devices may or may not have data associations. The virtual device model can be understood as a virtual model such as a cloud computing model and a data processing model. In order for each actual IoT device to achieve a complete scene simulation, it is necessary to confirm the data transmission process between each IoT device and determine the related virtual devices based on the corresponding data transmission path. The virtual devices also need to be constructed in the corresponding three-dimensional space real scene map. In order for each IoT device to achieve the best matching result, it is necessary to modify the output cycle based on the operating parameters of each device to ensure that the data can achieve sufficient consistency when output, so as to achieve a better device matching effect.
[0036] S2), based on the constructed three-dimensional space real scene map, identify the location of the virtual device model from the three-dimensional space real scene map, and based on the Internet of Things device model associated with the virtual device model, determine a set of preprocessing cycles, and identify the standard processing speed range of this virtual device model from this preprocessing cycle. Specifically, the virtual device model needs to perform relevant processing on the data output by the Internet of Things device model. During the processing, there is a processing rate. Based on different processing rates corresponding to different times, the standard processing speed range belonging to this virtual device model can be confirmed. Among them, the specific sub-steps of determining the standard processing speed range of this virtual device model are:
[0037] S21. Based on the determined virtual device model, determine the IoT device model with data input (that is, the data generated by the IoT device model is transmitted to the virtual device model), determine a set of preprocessing cycles T, where T is a preset value, and its specific value is determined by the operator based on experience. Determine the data processing rate of the virtual device model within this preprocessing cycle T, and the number of processing rates is consistent with the number of IoT device models. That is, when there are five IoT device models with data input, then the virtual device model will generate five groups of processing processes, and each processing process corresponds to a corresponding group of data processing rates;
[0038] S22. Based on the different data processing rates generated in the preprocessing period T, according to the different data processing values corresponding to different times, a data processing rate curve belonging to a single data input process is generated, wherein the horizontal coordinate axis of the data processing rate curve is the timeline, and the vertical coordinate axis is the processing rate value, and a single data input process corresponds to a single IoT device model;
[0039] S23, confirming the maximum rate and the minimum rate of the data processing rate curve, and constructing two sets of horizontal parallel lines, the rate values corresponding to the parallel lines are the maximum rate or the minimum rate, moving the two sets of horizontal parallel lines toward each other with the same moving speed, and identifying the rate difference between the two horizontal parallel lines and the length of the line segments included in each process of moving toward each other, and determining the rate difference C i = the velocity value corresponding to the upper parallel line - the velocity value corresponding to the lower parallel line. The length of the line segment between the two horizontal parallel lines in this movement is calibrated as D i , where i represents different movement processes;
[0040] Using CL i =(D i ×A1)÷(C i ×A2) Confirm the processing value CL corresponding to this moving process i, where A1 and A2 are both preset fixed coefficient factors, and their specific values are determined by the operator based on experience. When the distance between the two parallel lines is the shortest and the length of the included line segment is the longest, the generated processing value will be larger, so that the processing rules of the corresponding processing process can be effectively determined, and the rate value surge segment and the rate value drop segment can be effectively eliminated to achieve a better rate value processing effect. From the different processing values CL corresponding to several different moving processes i In the above example, a set of maximum values CL is selected. i max, this CL i The moving process corresponding to max is calibrated as the standard process, and the maximum and minimum speed values of the standard process are determined to lock the standard speed range of the data processing speed curve;
[0041] S3) Based on the number of associations of the standard processing speed interval determined by this virtual device model, if the number of associations is 1, the data input rate of the IoT device model associated with this virtual device model is regulated to ensure that this virtual device model can output at the same time, that is, the data input at the same time is output at the same time after processing. If the number of associations is ≥ 2, based on the difference between different standard processing speed intervals, the data output rules of this virtual device model are confirmed to ensure that the output data of the same batch are all data of the corresponding time line, which is convenient for subsequent related personnel to compare and analyze data. The specific sub-steps for detailed processing are as follows:
[0042] If the number of associations is 1, determine the data input rate V of this IoT device model, and synchronously lock the standard processing speed interval [Cvmin, Cvmax] belonging to this data input process. If V>Cvmax, adjust the data input rate V and stop when V is adjusted to the standard processing speed interval. If V=Cvmax or V∈standard processing speed interval, no regulation is performed. Specifically, V will definitely not be less than this standard processing speed interval, because the amount of processed data is determined based on the amount of input data. When the amount of input data is only so much, the amount of processed data can only be processed so much, so it will not be lower than this standard processing speed interval. By limiting the input rate V in this way, it can be ensured that the data can be output at the same frequency without related delays.
[0043] If the number of associations is ≥ 2, the data input rate control method when the number of associations is 1 is adopted to adjust the data input rate of the data input process associated with the relevant standard speed interval;
[0044] Then determine the middle value of the standard speed range, and mark the determined middle value as Z k, where k represents different standard speed intervals, the confirmed groups of intermediate values are ratio processed to determine the ratio sequence, and the ratios corresponding to different intermediate values in the ratio sequence are calibrated as B k When the virtual device model has a data output process, determine the standard speed interval associated with the output data, confirm that the middle value of this interval is located at the associated position of the ratio sequence, and confirm the capacity value R of this output data. k , using R k ÷B k =L k Confirm the data capacity L corresponding to the unit ratio k , then based on the unit ratio data capacity L k , confirm the data capacity corresponding to other ratios in the ratio sequence, and then extract data from the data processed in the corresponding standard speed interval based on this data capacity, use the extracted data of different types as the matching data of this output data, and output them synchronously. If the data capacity corresponding to the corresponding ratio is insufficient, wait until the data capacity reaches the standard and then output uniformly, so as to ensure the synchronization of data output;
[0045] For example: there are three standard speed intervals, and the intermediate value corresponding to each standard speed interval is 2:3:4. When the output data is the processing data corresponding to the ratio of 3, and its output capacity is 30, then the data capacity corresponding to the unit ratio is 10. When its data capacity is 10, the processing data capacity corresponding to other standard speed intervals is 20 and 40. When such data is output, the related data of the corresponding capacity can be extracted from other data. After such data is output, the matching data of such data is output synchronously, which can ensure the comprehensiveness of the data output process and facilitate relevant operators to conduct numerical comparison and analysis.
[0046] Example 2
[0047] In the specific implementation process of this embodiment, compared with the above embodiment, this embodiment further includes:
[0048] S4), based on the data output process of the virtual device model, if there is only a single group of output data (that is, when the number of associations is 1), the data is directly output; if there are multiple groups of output data (that is, when the number of associations is ≥ 2), the output data is sorted and output according to the time priority of the input data;
[0049] The so-called time priority of input data refers to the time order of the initial moment when the virtual device model receives the corresponding input data. If the virtual device model receives the input data earlier, it is ranked first; if the virtual device model receives the input data later, it is ranked last.
[0050] Example 3
[0051] The specific implementation process of this embodiment includes the entire implementation process of the above two groups of embodiments.
[0052] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0053] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A three-dimensional space matching method for IoT devices based on digital twins, characterized in that: The following steps are involved: S1) constructing the IoT device model to be matched to the three-dimensional space, and matching the IoT device models with data associations based on the data trends between the IoT device models, and simultaneously determining the virtual device model associated with the corresponding IoT device model to generate a complete three-dimensional space real scene map; S2), based on the constructed three-dimensional space real scene map, identifying the location of the virtual device model from the three-dimensional space real scene map, and based on the Internet of Things device model associated with the virtual device model, determining a set of preprocessing cycles, and identifying the standard processing speed range of the virtual device model within the preprocessing cycle; S3), based on the number of associations of the standard processing speed interval determined by the virtual device model, if the number of associations is 1, the data input rate of the IoT device model associated with the virtual device model is regulated; if the number of associations is ≥ 2, based on the difference between different standard processing speed intervals, the data output rule of the virtual device model is confirmed; When the number of associations of the standard speed interval determined by this virtual device model is 1: Determine the data input rate V of this IoT device model, and synchronously lock the standard processing speed interval [Cvmin, Cvmax] belonging to this data input process. If V>Cvmax, then adjust the data input rate V and stop when V is adjusted to the standard processing speed interval. If V=Cvmax or V∈standard processing speed interval, no regulation is performed. When the number of associations of the standard speed intervals determined by this virtual equipment model is ≥ 2: The data input rate control method when the number of associations is 1 is adopted to adjust the data input rate of the data input process associated with the relevant standard speed interval; Then determine the middle value of the standard speed range, and mark the determined middle value as Z k , where k represents different standard speed intervals, the confirmed groups of intermediate values are ratio processed to determine the ratio sequence, and the ratios corresponding to different intermediate values in the ratio sequence are calibrated as B k When the virtual device model has a data output process, determine the standard speed interval associated with the output data, confirm that the middle value of this interval is located at the associated position of the ratio sequence, and confirm the capacity value R of this output data. k , using R k ÷B k =L k Confirm the data capacity L corresponding to the unit ratio k , then based on the unit ratio data capacity L k , confirm the data capacity corresponding to other ratios in the ratio sequence, and then extract data from the data processed in the corresponding standard speed range based on this data capacity, use the extracted data of different types as the matching data of this output data, and output them synchronously. If the data capacity corresponding to the corresponding ratio is insufficient, wait until the data capacity reaches the standard for unified output.
2. The three-dimensional space matching method of Internet of Things devices based on digital twins according to claim 1 is characterized in that: In step S1, the specific sub-steps of generating a complete three-dimensional space real scene image are: S11. Based on the operation of this IoT device model in actual scenarios, confirm other device models that have data exchange with this IoT device model: If the other device model is the constructed IoT device model, a data transmission channel between the IoT device model and the current IoT device model is constructed; If the other device model is not the constructed IoT device model, a virtual device model is selected from the database, and a data transmission channel between the virtual device model and the IoT device model is constructed; S12. After the data transmission channels of all IoT device models and virtual device models are constructed, a complete three-dimensional space real scene map is generated.
3. The three-dimensional space matching method of Internet of Things devices based on digital twins according to claim 1 is characterized in that: In step S2, the specific sub-steps for determining the standard speed range of the virtual device model are: S21. Determine an IoT device model with data input based on the determined virtual device model, determine a set of preprocessing periods T, where T is a preset value, determine the data processing rate of the virtual device model within the preprocessing period T, and the number of processing rates is consistent with the number of IoT device models; S22. Based on the different data processing rates generated in the preprocessing period T, and according to the different data processing values corresponding to different times, a data processing rate curve belonging to a single data input process is generated, and a single data input process corresponds to a single IoT device model; S23, confirming the maximum rate and the minimum rate of the data processing rate curve, and constructing two sets of horizontal parallel lines, the rate values corresponding to the parallel lines are the maximum rate or the minimum rate, moving the two sets of horizontal parallel lines toward each other with the same moving speed, and identifying the rate difference between the two horizontal parallel lines and the length of the line segments included in each process of moving toward each other, and determining the rate difference C i = the velocity value corresponding to the upper parallel line - the velocity value corresponding to the lower parallel line. The length of the line segment between the two horizontal parallel lines in this movement is calibrated as D i , where i represents different movement processes; Using CL i =(D i ×A1)÷(C i ×A2) Confirm the processing value CL corresponding to this moving process i , where A1 and A2 are preset fixed coefficient factors, from different processing values CL corresponding to several different moving processes i In the above example, a set of maximum values CL is selected. i max, this CL i The moving process corresponding to max is calibrated as the standard process, and the maximum rate and the minimum rate of the standard process are determined to lock the standard speed range of the data processing rate curve.
4. The three-dimensional space matching method of Internet of Things devices based on digital twins according to claim 1 is characterized in that: Also includes: S4), based on the data output process of the virtual device model, if there is only a single group of output data, the data is directly output; if there are multiple groups of output data, the output data is sorted and output according to the time priority of the input data.
5. The three-dimensional space matching method of Internet of Things devices based on digital twins according to claim 4 is characterized in that: The time priority of the input data is the time sequence of the initial moment when the virtual device model receives the corresponding input data. If the virtual device model receives the input data earlier, it is ranked higher; if the virtual device model receives the input data later, it is ranked later.
