Digital twin model acquisition method and device, storage medium and program product

By judging the data reception situation at the front end and using the historical data in the time window for simulation processing, the problem of low efficiency in acquisition of digital twin models is solved, the reliability and accuracy of the model are improved, and the waste of time and human resources is avoided.

CN119229005APending Publication Date: 2024-12-31CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411281189.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The digital twin model acquisition efficiency in the prior art is mainly due to the lack of risk in the data reporting process, which requires a lot of time cost and human resources to perform animation presets of the interpolation animation library.

Method used

By determining whether the data sent by the target device is received based on the preset time interval at the front end, if it is not received, simulation processing is performed based on the historical data in the target time window, the third data is obtained, and used to render the digital twin model to ensure the data Real-time and accuracy of the detection process.

Benefits of technology

It improves the reliability and accuracy of digital twin model acquisition, avoids waste of time and labor costs, solves the problem of low acquisition efficiency, and achieves more efficient digital twin model acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119229005A_ABST
    Figure CN119229005A_ABST
Patent Text Reader

Abstract

The invention provides a digital twin model obtaining method and device, a storage medium and a program product. The method comprises the steps that whether first data sent by a target device is received or not is judged at a front end according to a preset time interval; if yes, taking the first data as target data; if not, obtaining a target time window according to the current time point; performing simulation processing according to second data acquired at a historical time point in the target time window to obtain third data, and taking the third data as target data of the current time point; according to the target data, the three-dimensional model of the target equipment is rendered, the corresponding digital twinborn model is obtained and displayed at the front end, and the method is used for achieving the technical effect of improving the digital twinborn model obtaining efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital twin technology, and in particular to a method and device for acquiring a digital twin model, a storage medium, and a program product. Background Art

[0002] With the rapid advancement of Internet of Things technology, various industries have an increasingly urgent need to accurately simulate real-life scenarios through virtual network environments. Against this background, digital twin technology has emerged. Its implementation principle is to operate the 3D model to generate a corresponding digital twin model after receiving the data reported by the device, so that the model can perform corresponding actions. However, since the data reporting process is affected by network and device factors, there is a risk of data missing, which brings challenges to the acquisition of digital twin models. Therefore, the acquisition of digital twin models has become a direction with application prospects.

[0003] In the prior art, the method for obtaining a digital twin model is mainly to add tween animations through programming, using interpolation animation libraries such as tween.js to preset animations. When no data is received, the preset values ​​are used to fill in the animations, thereby obtaining a digital twin model.

[0004] In the prior art, animation presetting through the interpolation animation library consumes a lot of time and human resources, and there is a technical problem of low efficiency in acquiring the digital twin model. Summary of the invention

[0005] The present application provides a method and device for acquiring a digital twin model, a storage medium and a program product, so as to achieve the technical effect of improving the efficiency of acquiring a digital twin model.

[0006] In a first aspect, the present application provides a method for acquiring a digital twin model, comprising:

[0007] At the front end, judging whether the first data sent by the target device is received according to a preset time interval;

[0008] If yes, the first data is used as the target data;

[0009] If not, then obtaining a target time window according to the current time point, wherein the target time window is a time window before the current time point, and the target time window includes historical time points at which the second data has been collected within a preset time length;

[0010] Perform simulation processing based on the second data collected at the historical time point in the target time window to obtain the third data, and use the third data as the target data at the current time point;

[0011] According to the target data, the three-dimensional model of the target device is rendered, and the corresponding digital twin model is obtained and displayed on the front end.

[0012] Optionally, before obtaining the target time window according to the current time point, the following steps are further included:

[0013] Obtain the frequency at which the target device sends data to the front end, and obtain the time length of the target time window based on the sending frequency and / or the display delay of the digital twin model, where the sending frequency is proportional to the time length and the display delay is proportional to the time length.

[0014] Optionally, performing simulation processing according to the second data collected at the historical time point in the target time window to obtain the third data includes:

[0015] According to the Gaussian function, the second data corresponding to each target time window is fitted to determine a plurality of basic parameters corresponding to the time window, wherein the basic parameters include a mean, a standard deviation and a basic constant of the Gaussian function, and the Gaussian function is a function with the time point as a variable and the second data as a dependent variable;

[0016] According to the multiple basic parameters corresponding to each time window and the current time point, third data at the current time point is determined.

[0017] Optionally, the Gaussian function is as follows;

[0018]

[0019] Wherein, f(x) represents the second data, x represents the time point, μ represents the mean, σ represents the standard deviation, and A and B both represent basic constants.

[0020] Optionally, after simulation processing is performed based on the second data collected at the historical time point in the target time window, the method further includes:

[0021] Obtaining a target time for simulation processing, comparing the target time with a target threshold, and determining whether the target time exceeds the target threshold;

[0022] If yes, if there is a next target time window, then the time length of the next target time window is increased;

[0023] If not, if there is a next target time window, the time length of the next target time window is reduced.

[0024] Optionally, determining whether first data of a target device is received according to a preset time interval includes:

[0025] A timer is set on a front-end page corresponding to the front-end according to a preset time interval, and based on the timing of the timer, it is determined whether the first data of the target device is received, wherein different working mechanisms of the target device in different scenarios correspond to their respective preset time intervals.

[0026] In a second aspect, the present application provides a device for acquiring a digital twin model, comprising:

[0027] A first processing module is used to determine at the front end whether the first data sent by the target device is received according to a preset time interval; if so, the first data is used as the target data; if not, a target time window is obtained according to the current time point, wherein the target time window is a time window before the current time point, and the target time window includes historical time points in which the second data has been collected within a preset time length;

[0028] A second processing module is used to perform simulation processing based on the second data collected at the historical time point in the target time window, obtain third data, and use the third data as the target data at the current time point;

[0029] The rendering module is used to render the three-dimensional model of the target device according to the target data, obtain the corresponding digital twin model and display it on the front end.

[0030] Optionally, the first processing module is further used for:

[0031] Obtain the frequency at which the target device sends data to the front end, and obtain the time length of the target time window based on the sending frequency and / or the display delay of the digital twin model, where the sending frequency is proportional to the time length and the display delay is proportional to the time length.

[0032] Optionally, the second processing module is further used for:

[0033] According to the Gaussian function, the second data corresponding to each target time window is fitted to determine a plurality of basic parameters corresponding to the time window, wherein the basic parameters include a mean, a standard deviation and a basic constant of the Gaussian function, and the Gaussian function is a function with the time point as a variable and the second data as a dependent variable;

[0034] According to the multiple basic parameters corresponding to each time window and the current time point, third data at the current time point is determined.

[0035] Optionally, the second processing module is further used for:

[0036] The Gaussian function is as follows:

[0037]

[0038] Wherein, f(x) represents the second data, x represents the time point, μ represents the mean, σ represents the standard deviation, and A and B both represent basic constants.

[0039] Optionally, the second processing module is further used for:

[0040] Obtaining a target time for simulation processing, comparing the target time with a target threshold, and determining whether the target time exceeds the target threshold;

[0041] If yes, if there is a next target time window, then the time length of the next target time window is increased;

[0042] If not, if there is a next target time window, the time length of the next target time window is reduced.

[0043] Optionally, the first processing module is further used for:

[0044] A timer is set on a front-end page corresponding to the front-end according to a preset time interval, and based on the timing of the timer, it is determined whether the first data of the target device is received, wherein different working mechanisms of the target device in different scenarios correspond to their respective preset time intervals.

[0045] In a third aspect, the present application provides a device for acquiring a digital twin model, including:

[0046] Processor and memory;

[0047] Memory stores computer-executable instructions;

[0048] The processor executes the computer-executable instructions stored in the memory, so that the processor executes various possible implementations of the first aspect as described above.

[0049] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement various possible implementation methods as in the first aspect.

[0050] In a fifth aspect, the present application provides a computer program product, which, when executed by a processor, is used to implement various possible implementations as in the first aspect.

[0051] The present application provides a method and device for acquiring a digital twin model, a storage medium, and a program product, which determine at a front end whether first data sent by a target device is received according to a preset time interval; if so, the first data is used as the target data; if not, the target time window is acquired according to the current time point; simulation processing is performed on the second data collected at a historical time point in the target time window to acquire third data, and the third data is used as the target data at the current time point; according to the target data, a three-dimensional model of the target device is rendered, and the corresponding digital twin model is acquired and displayed on the front end, thereby ensuring the real-time nature of the data detection process by determining whether the first data sent by the target device is received according to the preset time interval. When it is determined that the front end has not received the first data, the second data collected at a historical time point is acquired by establishing a time window, and the second data is simulated and processed to acquire the third data, so that the third data is consistent with the state of the real device, and the third data is rendered as the target data to acquire the digital twin model, thereby improving the reliability and accuracy of the acquisition of the digital twin model, avoiding the waste of time and labor costs in the model acquisition process, solving the technical problem of low efficiency in acquiring the digital twin model, and achieving the technical effect of improving the efficiency in acquiring the digital twin model. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0053] Figure 1 The process of obtaining the digital twin model provided in the embodiment of the present application Figure 1 ;

[0054] Figure 2 A schematic diagram of a first data detection process provided in an embodiment of the present application;

[0055] Figure 3 The process of obtaining the digital twin model provided in the embodiment of the present application Figure 2 ;

[0056] Figure 4 The process of obtaining the digital twin model provided in the embodiment of the present application Figure 3 ;

[0057] Figure 5 A schematic diagram of the structure of a device for acquiring a digital twin model provided in an embodiment of the present application;

[0058] Figure 6 A hardware structure diagram of a device for acquiring a digital twin model provided in an embodiment of the present application.

[0059] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0061] In the prior art, animation presetting through the interpolation animation library consumes a lot of time and human resources, and there is a technical problem of low efficiency in acquiring the digital twin model.

[0062] The present application provides a method and device for acquiring a digital twin model, a storage medium, and a program product. By judging whether data sent by a target device is received according to a preset time interval, the real-time nature of the data detection process is ensured. When it is determined that the front end has not received data at the current time point, a time window is established to acquire data collected at historical time points, and simulation processing is performed on the data collected at the historical time points to acquire new data, which is used to make up for the data not received at the current time point. The new data is consistent with the state of the real device, and the new data is rendered to acquire the digital twin model, thereby improving the reliability and accuracy of the digital twin model acquisition, avoiding the waste of time and labor costs in the model acquisition process, solving the technical problem of low efficiency in acquiring the digital twin model, and achieving the technical effect of improving the efficiency in acquiring the digital twin model.

[0063] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0064] Figure 1 The process of obtaining the digital twin model provided in the embodiment of the present application Figure 1 .like Figure 1 As shown, the method for obtaining a digital twin model provided in an embodiment of the present application includes:

[0065] S101, determining at a front end whether first data sent by a target device is received according to a preset time interval;

[0066] In this embodiment, different working mechanisms of the target device in different scenarios correspond to respective preset time intervals, and the length of the preset time interval may be one second, one minute or one hour, but is not limited thereto.

[0067] Since the working mechanism of the target device is different in different scenarios, the corresponding time interval can be pre-set at the front end according to the current state information of the target device to periodically detect whether the front end has received the first data sent from the target device.

[0068] S102: If not, obtain the target time window according to the current time point;

[0069] In this embodiment, the target time window is the time window before the current time point, the target time window includes the historical time points at which the second data has been collected within a preset time length, and the current time point is the time point corresponding to when the front end does not receive data.

[0070] If the front end does not receive the first data sent by the target device within the preset time interval, the target time window is obtained according to the current time point corresponding to the time when the data is not received.

[0071] Figure 2 A schematic diagram of a first data detection process provided in an embodiment of the present application, such as Figure 2 As shown, the target device continuously sends device data for 15 seconds to the front end. The front end periodically checks whether the first data corresponding to each second has been received according to the preset time interval of 1s. Through detection, it is found that the first data sent by the target device is not received from the 6th to the 8th second, then the 6th to the 8th second is determined to be a data missing period, and the target time window is obtained according to the time point corresponding to the data missing period.

[0072] S103: If yes, use the first data as target data;

[0073] If the front end receives the first data sent by the target device within each preset time interval, the first data is used as the target data.

[0074] S104, performing simulation processing according to the second data collected at the historical time point in the target time window to obtain third data, and using the third data as the target data at the current time point;

[0075] According to the second data collected at the historical time point in the target time window, simulation processing is performed by the method shown in S2 below to obtain the simulated third data, and the third data is used as the target data at the current time point.

[0076] S105. Render the three-dimensional model of the target device according to the target data, obtain the corresponding digital twin model and display it on the front end.

[0077] Based on the target data, the three-dimensional model of the target device is accurately rendered to build a highly simulated digital twin model, which is then displayed on the front end.

[0078] The present application provides a method for acquiring a digital twin model, which determines at the front end whether first data sent by a target device is received according to a preset time interval; if so, the first data is used as the target data; if not, the target time window is acquired according to the current time point; simulation processing is performed on the second data collected at a historical time point in the target time window to acquire third data, and the third data is used as the target data at the current time point; according to the target data, a three-dimensional model of the target device is rendered, and the corresponding digital twin model is acquired and displayed on the front end, thereby ensuring the real-time nature of the data detection process by determining whether the first data sent by the target device is received according to the preset time interval. When it is determined that the front end has not received the first data, the second data collected at the historical time point is acquired by establishing a time window, and the second data is simulated and processed to acquire the third data, so that the third data is consistent with the state of the real device, and the third data is rendered as the target data to acquire the digital twin model, thereby improving the reliability and accuracy of the acquisition of the digital twin model, avoiding the waste of time and labor costs in the model acquisition process, solving the technical problem of low efficiency in acquiring the digital twin model, and achieving the technical effect of improving the efficiency in acquiring the digital twin model.

[0079] Figure 3 The process of obtaining the digital twin model provided in the embodiment of the present application Figure 2 .like Figure 3 As shown, based on the above embodiment, this embodiment provides a supplementary description of the detection process of the first data, including:

[0080] S301, setting a timer on a front-end page corresponding to the front-end according to a preset time interval;

[0081] In this embodiment, the preset time interval is consistent with the preset time interval corresponding to the above S101, and will not be described in detail here.

[0082] According to the preset time interval and different equipment mechanisms, set the corresponding timer on the front-end page.

[0083] S302: Based on the timing of the timer, determine whether the first data of the target device is received;

[0084] Based on the set timing of the timer, it is determined whether the first data of the target device is received within a preset time interval.

[0085] Specifically, taking a six-axis robotic arm as an example, the corresponding timer in the six-axis robotic arm scenario is set to detect once every 0.5 seconds. Based on the timing of the timer, it is determined every 0.5 seconds whether the front end has received the first data of the target device.

[0086] S303: If not, obtain the target time window according to the current time point;

[0087] If the front end does not receive the first data sent by the target device within the preset time interval, the target time window is obtained according to the current time point corresponding to the time when the data is not received.

[0088] S304: If yes, use the first data as target data;

[0089] If the front end receives the first data sent by the target device within each preset time interval, the first data is used as the target data.

[0090] S305 . Perform simulation processing based on the second data collected at the historical time point in the target time window to obtain third data, and use the third data as the target data at the current time point.

[0091] According to the second data collected at the historical time point in the target time window, a specific function can be used to perform simulation processing to obtain the simulated third data, and the third data is used as the target data at the current time point.

[0092] The present application provides a method for acquiring a digital twin model, which sets a timer on a front-end page corresponding to the front-end according to a preset time interval, and determines whether the first data of the target device is received based on the timing of the timer; if so, the first data is used as the target data; if not, the target time window is acquired according to the current time point; simulation processing is performed based on the second data collected at a historical time point in the target time window to acquire the third data, and the third data is used as the target data at the current time point, thereby ensuring the real-time, convenience and speed of the data detection process by determining whether the first data sent by the target device is received according to the preset time interval set by the timer, thereby improving the reliability and accuracy of the subsequently acquired digital twin model, solving the technical problem of low acquisition efficiency of the digital twin model, and achieving the technical effect of improving the acquisition efficiency of the digital twin model.

[0093] Figure 4 The process of obtaining the digital twin model provided in the embodiment of the present application Figure 3 .like Figure 4 As shown, this embodiment provides a supplementary description of the process of obtaining the third data based on the above embodiment, including:

[0094] S401, when it is determined that the front end has not received the first data sent by the target device according to the preset time interval, obtaining the sending frequency of the target device sending data to the front end;

[0095] In this embodiment, the sending frequency is proportional to the time length, and the display delay is proportional to the time length.

[0096] When the front end fails to receive the first data from the target device within a preset time interval, the sending frequency of the target device sending data to the front end is directly obtained.

[0097] S402: Obtain the time length of the target time window according to the sending frequency and / or the display delay of the digital twin model, and obtain the target time window according to the current time point;

[0098] Combined with the above-mentioned sending frequency and / or the display delay that may be introduced by the digital twin model, the time length corresponding to the target time window is obtained, and based on the time length, the corresponding target time window is obtained.

[0099] S403, fitting the second data corresponding to each target time window according to the Gaussian function to determine a plurality of basic parameters corresponding to the time window;

[0100] In this embodiment, the basic parameters include the mean, standard deviation and basic constant of the Gaussian function. The Gaussian function is a function with the time point as a variable and the second data as a dependent variable. The Gaussian function is as follows:

[0101]

[0102] Wherein, f(x) represents the second data, x represents the time point, μ represents the mean, σ represents the standard deviation, and A and B both represent basic constants.

[0103] According to the Gaussian function, with the time point as the independent variable and the second data as the dependent variable, the second data corresponding to each time window is fitted to obtain a plurality of basic parameters including the mean, the standard deviation and the basic constant corresponding to each time window.

[0104] Specifically, for example, if the time length of the target time window is 10 seconds, all the values ​​of (x, f(x)) collected within 10 seconds are substituted into the Gaussian function for calculation and fitting to obtain the optimal values ​​of A, μ, σ, and B.

[0105] S404, obtaining a target time for simulation processing, and comparing the target time with a target threshold;

[0106] After completing the calculation of the basic parameters in the current time window, the target time corresponding to the current simulation process is obtained, and the target time is compared with the preset target threshold.

[0107] S405, determining whether the target time exceeds the target threshold;

[0108] Determine whether the target time in the current time window exceeds the preset target threshold.

[0109] S406: If yes, if there is a next target time window, then the time length of the next target time window is increased;

[0110] After determining that the target time of the current time window exceeds the target threshold, if there is a next target time window, the time length of the next time window is increased.

[0111] S407: If no, if there is a next target time window, shorten the time length of the next target time window;

[0112] After determining that the target time of the current time window does not exceed the target threshold, if there is a next target time window, the time length of the next target time window is shortened.

[0113] S408: Determine third data at the current time point according to the multiple basic parameters corresponding to each time window and the current time point.

[0114] The multiple basic parameters corresponding to each time window and the current time point corresponding to each time window are substituted into the expression of the above Gaussian function to obtain the third data corresponding to the current time point.

[0115] The present application provides a method for acquiring a digital twin model. By determining the time length of a target time window according to the frequency at which a target device sends data to a front end, the target time window corresponding to the current time point is acquired, ensuring that the time window can closely follow the update rate of device data. The second data corresponding to the target time window is fitted according to a Gaussian function to acquire the basic parameters corresponding to each target time window. The basic parameters corresponding to each target time window are used to acquire the third data corresponding to the current time point, so that the third data is consistent with the state of the real device, thereby improving the reliability and accuracy of the subsequently acquired digital twin model. At the same time, by comparing the target time consumed in the simulation processing of the current target time window with the target threshold, the time length of the next target time window is adaptively adjusted, which not only balances the accuracy of the third data acquisition and the real-time nature of the twin, but also avoids the performance bottleneck caused by the long processing time, thereby improving the robustness of the third data acquisition process, solving the technical problem of low acquisition efficiency of the digital twin model, and achieving the technical effect of improving the acquisition efficiency of the digital twin model.

[0116] Figure 5This is a schematic diagram of the structure of the device for acquiring the digital twin model provided in the embodiment of the present application. The device of this embodiment can be in the form of software and / or hardware. Figure 5 As shown, the digital twin model acquisition device 500 provided in the embodiment of the present application includes: a first processing module 501, a second processing module 502, and a rendering module 503:

[0117] The first processing module 501 is used to determine at the front end whether the first data sent by the target device is received according to a preset time interval; if so, the first data is used as the target data; if not, a target time window is obtained according to the current time point, wherein the target time window is a time window before the current time point, and the target time window includes historical time points in which the second data has been collected within a preset time length;

[0118] The second processing module 502 is used to perform simulation processing based on the second data collected at the historical time point in the target time window, obtain third data, and use the third data as the target data at the current time point;

[0119] The rendering module 503 is used to render the three-dimensional model of the target device according to the target data, obtain the corresponding digital twin model and display it on the front end.

[0120] In a possible implementation, the first processing module 501 is further configured to:

[0121] Obtain the frequency at which the target device sends data to the front end, and obtain the time length of the target time window based on the sending frequency and / or the display delay of the digital twin model, where the sending frequency is proportional to the time length and the display delay is proportional to the time length.

[0122] In a possible implementation, the second processing module 502 is further configured to:

[0123] According to the Gaussian function, the second data corresponding to each target time window is fitted to determine a plurality of basic parameters corresponding to the time window, wherein the basic parameters include a mean, a standard deviation and a basic constant of the Gaussian function, and the Gaussian function is a function with the time point as a variable and the second data as a dependent variable;

[0124] According to the multiple basic parameters corresponding to each time window and the current time point, third data at the current time point is determined.

[0125] In a possible implementation, the second processing module 502 is further configured to:

[0126] The Gaussian function is as follows:

[0127]

[0128] Wherein, f(x) represents the second data, x represents the time point, μ represents the mean, σ represents the standard deviation, and A and B both represent basic constants.

[0129] In a possible implementation, the second processing module 502 is further configured to:

[0130] Obtaining a target time for simulation processing, comparing the target time with a target threshold, and determining whether the target time exceeds the target threshold;

[0131] If yes, if there is a next target time window, then the time length of the next target time window is increased;

[0132] If not, if there is a next target time window, the time length of the next target time window is reduced.

[0133] In a possible implementation, the first processing module 501 is further configured to:

[0134] A timer is set on a front-end page corresponding to the front-end according to a preset time interval, and based on the timing of the timer, it is determined whether the first data of the target device is received, wherein different working mechanisms of the target device in different scenarios correspond to their respective preset time intervals.

[0135] The present application provides a device for acquiring a digital twin model, which can implement the above-mentioned method embodiment. Its implementation principle and technical effects are similar, and this embodiment will not be repeated here.

[0136] Figure 6 The hardware structure diagram of the digital twin model provided in the embodiment of the present application is shown in FIG. Figure 6 As shown, the acquisition device 600 of the digital twin model includes:

[0137] Processor 601 and memory 602;

[0138] Memory stores computer-executable instructions;

[0139] The processor executes the computer execution instructions stored in the memory 602, so that the digital twin model acquisition device executes the digital twin model acquisition method as described above.

[0140] It should be understood that the processor 601 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor or a combination of hardware and software modules in the processor.

[0141] The memory 602 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.

[0142] An embodiment of the present application correspondingly provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the method for obtaining a digital twin model as described above.

[0143] The embodiment of the present application also provides a computer program product, which is used to implement the method for obtaining the digital twin model as described above when the computer program is executed by a processor.

[0144] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0145] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0146] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0147] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0148] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.

[0149] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0150] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0151] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0152] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for acquiring a digital twin model, characterized in that: include: At the front end, judging whether the first data sent by the target device is received according to a preset time interval; If yes, taking the first data as target data; If not, obtaining a target time window according to the current time point, wherein the target time window is a time window before the current time point, and the target time window includes historical time points at which the second data has been collected within a preset time length; Perform simulation processing on the second data collected at a historical time point in the target time window to obtain third data, and use the third data as the target data at the current time point; According to the target data, the three-dimensional model of the target device is rendered, and the corresponding digital twin model is obtained and displayed on the front end.

2. The method according to claim 1, characterized in that Before acquiring the target time window according to the current time point, the method further includes: Obtain the sending frequency of the target device sending data to the front end, and obtain the time length of the target time window according to the sending frequency and / or the display delay of the digital twin model, wherein the sending frequency is proportional to the time length, and the display delay is proportional to the time length.

3. The method according to claim 2, characterized in that The performing simulation processing according to the second data collected at the historical time point in the target time window to obtain the third data includes: According to a Gaussian function, fitting the second data corresponding to each of the target time windows is performed to determine a plurality of basic parameters corresponding to the time window, wherein the basic parameters include a mean, a standard deviation, and a basic constant of the Gaussian function, and the Gaussian function is a function with a time point as a variable and the second data as a dependent variable; According to the multiple basic parameters corresponding to each of the time windows and the current time point, third data at the current time point is determined.

4. The method according to claim 3, characterized in that The Gaussian function is as follows: Wherein, f(x) represents the second data, x represents the time point, μ represents the mean, σ represents the standard deviation, and A and B both represent the basic constants.

5. The method according to claim 3, characterized in that: After performing simulation processing on the second data collected at the historical time point in the target time window, the method further includes: Obtaining a target time for the simulation process, comparing the target time with a target threshold, and determining whether the target time exceeds the target threshold; If yes, if there is a next target time window, then the time length of the next target time window is increased; If not, if there is a next target time window, the time length of the next target time window is reduced.

6. The method according to claim 1, characterized in that The determining whether the first data of the target device is received according to the preset time interval includes: A timer is set on a front-end page corresponding to the front-end according to the preset time interval, and based on the timing of the timer, it is determined whether the first data of the target device is received, wherein different working mechanisms of the target device in different scenarios correspond to their respective preset time intervals.

7. A device for acquiring a digital twin model, characterized in that: include: A first processing module, used for determining at the front end whether first data sent by a target device is received according to a preset time interval; If yes, taking the first data as target data; If not, obtaining a target time window according to the current time point, wherein the target time window is a time window before the current time point, and the target time window includes historical time points at which the second data has been collected within a preset time length; A second processing module is used to perform simulation processing based on the second data collected at the historical time point in the target time window to obtain third data, and use the third data as the target data at the current time point; A rendering module is used to render the three-dimensional model of the target device according to the target data, obtain the corresponding digital twin model and display it on the front end.

8. A device for acquiring a digital twin model, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, characterized in that The method comprises a computer program, which is used to implement the method according to any one of claims 1 to 6 when the computer program is executed by a processor.