Digital twin modeling data interaction method and system and electronic equipment
Through the server-side, the unified management and format conversion of modeled data is solved, and the complexity and error rate of data interaction between different modeling platforms is achieved, achieving more efficient and accurate data interaction.
Patent Information
- Application Number
- CN202411465092.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-02-07
AI Technical Summary
Modeling data between different modeling platforms is difficult to effectively control, resulting in complex data processing processes and prone to errors, especially when the target product model is complex and updated frequently.
Through the server, the model format data involved in the interaction process of modeling data is uniformly managed, and the format conversion of modeling data between different modeling platforms is realized based on the selection rules, so as to realize the modeling data in different clients on the server side. Conduct unified interaction.
It reduces the complexity of data processing processes between different modeling platforms, improves the accuracy and efficiency of data interaction, and reduces the possibility of errors.
Smart Images

Figure CN119396774A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of modeling data interaction, and in particular to a modeling data interaction method, system and electronic equipment for digital twins. Background Art
[0002] In modern engineering and design projects, many modeling platforms are involved. Different modeling platforms use modeling data in specific formats, which makes it difficult to effectively manage modeling data between different modeling platforms. When the target product model is complex and frequently updated, the corresponding modeling data also needs to be updated and interacted. This requires version updates and data updates for modeling data in different modeling platforms, which makes the data processing process complicated and errors are prone to occur during the interaction of modeling data. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a modeling data interaction method, system and electronic device for a digital twin. The method uniformly manages the model format data involved in the modeling data interaction process through the server, and realizes the format conversion of modeling data between different modeling platforms based on selection rules, thereby realizing the use of the server to uniformly interact with the modeling data in different clients, reducing the complexity of the data processing flow between different modeling platforms.
[0004] In a first aspect, an embodiment of the present invention provides a modeling data interaction method for a digital twin, which is applied to a server and includes:
[0005] Receive data request instructions sent from the client;
[0006] Determine the platform type corresponding to the client based on the data request instruction, and determine the selection rules corresponding to the server based on the platform type;
[0007] Obtaining model format data corresponding to the selection rule, and using the model format data to generate response data corresponding to the data request instruction;
[0008] Send the response data to the client.
[0009] In one implementation, determining the platform type corresponding to the client based on the data request instruction, and determining the selection rule corresponding to the server according to the platform type, includes:
[0010] Obtain the request parameters contained in the data request instruction, and use the request parameters to obtain the corresponding selection parameters of the client;
[0011] Determine the platform type corresponding to the client based on the selection parameters;
[0012] Based on the model composition data and model attribute data contained in the server's built-in database, the platform type is used to determine the corresponding selection rules for the server.
[0013] In one implementation, obtaining model format data corresponding to the selection rule, and using the model format data to generate response data corresponding to the data request instruction includes:
[0014] Based on the entity data and array data contained in the database built into the server, determine the model format data corresponding to the selection rule;
[0015] Get the data encapsulation strategy corresponding to the data request instruction, and use the data encapsulation strategy to encapsulate the model format data into response data.
[0016] In one embodiment, after receiving the data request instruction sent by the client, the method further includes:
[0017] Determine the upgrade instruction and upgrade data corresponding to the database built into the server based on the data request instruction;
[0018] Use upgrade instructions to control the update of upgrade data into the database.
[0019] In a second aspect, an embodiment of the present invention provides a digital twin modeling data interaction method, which is applied to a client and includes:
[0020] Obtain the platform type corresponding to the modeling data in the client, and determine the selection parameters corresponding to the platform type;
[0021] Determine the data request instruction corresponding to the client according to the selection parameters, and control the client to send the data request instruction to the server;
[0022] Receive response data corresponding to the data request instruction transmitted by the server, and obtain model format data corresponding to the response data;
[0023] Based on the platform type, the client is controlled to display the model format data.
[0024] In one implementation, obtaining the platform type corresponding to the modeling data in the client and determining the selection parameters corresponding to the platform type include:
[0025] Get the modeling platform set in the client, and monitor the selection parameters responded by the modeling platform in real time;
[0026] Determine the modeling data corresponding to the modeling platform based on the selection parameters, and obtain the platform type corresponding to the modeling data;
[0027] Determine the selection parameters based on the platform type and selection parameters.
[0028] In one implementation, controlling the client to display the model format data based on the platform type includes:
[0029] Use the platform type to determine the modeling platform set in the client;
[0030] Construct the entity model corresponding to the modeling platform according to the model format data, and control the client to display the entity model in the modeling platform.
[0031] In a third aspect, an embodiment of the present invention provides a digital twin modeling data interaction system, which is applied to a server, and the system includes:
[0032] The server receiving unit is used to receive the data request instruction sent by the client;
[0033] A selection rule determination unit, used to determine the platform type corresponding to the client based on the data request instruction, and determine the selection rule corresponding to the server according to the platform type;
[0034] A response data generating unit, used to obtain the model format data corresponding to the selection rule, and generate the response data corresponding to the data request instruction by using the model format data;
[0035] The server sending unit is used to send the response data to the client.
[0036] In a fourth aspect, an embodiment of the present invention provides a digital twin modeling data interaction system, which is applied to a client and includes:
[0037] A selection parameter determination unit, used to obtain the platform type corresponding to the modeling data in the client, and determine the selection parameters corresponding to the platform type;
[0038] The client sending unit is used to determine the data request instruction corresponding to the client according to the selection parameters, and control the client to send the data request instruction to the server;
[0039] The client receiving unit is used to receive the response data corresponding to the data request instruction transmitted by the server, and obtain the model format data corresponding to the response data;
[0040] The client display unit is used to control the client to display the model format data based on the platform type.
[0041] In the fifth aspect, an embodiment of the present invention also provides an electronic device, including a processor and a memory, the memory storing computer-executable instructions that can be executed by the processor, and the processor executing the computer-executable instructions to implement the steps of the digital twin modeling data interaction method provided in the first and second aspects.
[0042] In the sixth aspect, an embodiment of the present invention also provides a storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the steps of the digital twin modeling data interaction method provided in the first and second aspects.
[0043] A digital twin modeling data interaction method, system and electronic device provided by the embodiment of the present invention, in the process of interacting with modeling data of different modeling platforms in the client, in the server, the method first receives a data request instruction sent from the client; then determines the platform type corresponding to the client based on the data request instruction, and determines the selection rule corresponding to the server according to the platform type; then obtains the model format data corresponding to the selection rule, and generates the response data corresponding to the data request instruction using the model format data; finally sends the response data to the client. In the client, the method first obtains the platform type corresponding to the modeling data in the client, and determines the selection parameters corresponding to the platform type; then determines the data request instruction corresponding to the client according to the selection parameters, and controls the client to send the data request instruction to the server; then receives the response data corresponding to the data request instruction transmitted by the server, obtains the model format data corresponding to the response data; finally controls the client to display the model format data based on the platform type. The method manages the model format data involved in the modeling data interaction process uniformly through the server, realizes the format conversion of modeling data between different modeling platforms based on the selection rule, thereby realizing the unified interaction of modeling data in different clients by using the server, and reducing the complexity of the data processing flow between different modeling platforms.
[0044] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0045] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1A flowchart of a modeling data interaction method for a digital twin applied to a server provided in an embodiment of the present invention;
[0048] Figure 2 A flowchart of step S102 in a modeling data interaction method for a digital twin applied to a server provided in an embodiment of the present invention;
[0049] Figure 3 A flowchart of step S103 in a modeling data interaction method for a digital twin applied to a server provided in an embodiment of the present invention;
[0050] Figure 4 A flowchart after step S101 in a modeling data interaction method for a digital twin applied to a server provided in an embodiment of the present invention;
[0051] Figure 5 A flowchart of a modeling data interaction method for a digital twin applied to a client provided in an embodiment of the present invention;
[0052] Figure 6 A flowchart of S501 in a modeling data interaction method for a digital twin applied to a client provided in an embodiment of the present invention;
[0053] Figure 7 A flowchart of S504 in a modeling data interaction method for a digital twin applied to a client provided in an embodiment of the present invention;
[0054] Figure 8 A schematic diagram of the structure of a digital twin modeling data interaction system applied to a server provided in an embodiment of the present invention;
[0055] Fig. 9 A schematic diagram of the structure of a digital twin modeling data interaction system applied to a client provided in an embodiment of the present invention;
[0056] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0057] icon:
[0058] 810-server receiving unit; 820-selection rule determination unit; 830-response data generation unit; 840-server sending unit;
[0059] 910-selection parameter determination unit; 920-client sending unit; 930-client receiving unit; 940-client display unit;
[0060] 101 - processor; 102 - memory; 103 - bus; 104 - communication interface. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are 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.
[0062] In modern engineering and design projects, many modeling platforms are involved, and different modeling platforms use modeling data in specific formats. For example, CAD platforms usually use the STP format to process 3D model data; 2D drawings use the DXF or DWG format; and digital twin platforms use the FXB format. This variety of formats increases the complexity and workload of data interaction processing, making it difficult to effectively manage and control modeling data between different modeling platforms. When the model of the target product is complex and updated frequently, the corresponding modeling data also needs to be updated and interacted, which requires version updates and data updates for the modeling data in different modeling platforms.
[0063] Existing solutions make it difficult to achieve effective version control and updates for modeling data on different modeling platforms, which makes it easy to make mistakes when synchronizing and interacting data between different modeling platforms. Moreover, this complex management method affects the progress and quality of modeling projects and increases management costs. For example, common errors include: model mismatch, data loss, and import failure, which often lead to project delays and increased costs.
[0064] It can be seen that the existing technology still has the problem of complex data processing flow and high error rate when interacting with modeling data in different modeling platforms. Based on this, the present invention implements a digital twin modeling data interaction method, system and electronic device, which uniformly manages the model format data involved in the modeling data interaction process through the server, and realizes the format conversion of modeling data between different modeling platforms based on the selection rules, thereby realizing the unified interaction of modeling data in different clients by using the server, reducing the complexity of the data processing flow between different modeling platforms.
[0065] To facilitate understanding of this embodiment, a digital twin modeling data interaction method disclosed in an embodiment of the present invention is first introduced in detail. The method is applied to the server, such as Figure 1 As shown, the method includes:
[0066] Step S101, receiving a data request instruction sent from a client;
[0067] Step S102, determining the platform type corresponding to the client based on the data request instruction, and determining the selection rule corresponding to the server according to the platform type;
[0068] Step S103, obtaining model format data corresponding to the selection rule, and using the model format data to generate response data corresponding to the data request instruction;
[0069] Step S104, sending the response data to the client.
[0070] The server is the data interaction center of the client. After receiving the data request instruction sent by the client, it can obtain the platform type corresponding to the client by analyzing and processing the data request instruction, and then determine the corresponding selection rules of the server according to the platform type. Specifically, the platform type can include CAD platform 2D type, CAD platform 3D type, digital twin platform type, etc.
[0071] The selection rules are defined by the target products to be modeled and their corresponding model data. For the server, the server stores the model composition information and other attribute information of the product, thereby defining the selection rules for each product. Subsequently, the server selects the model format data that matches the data request instruction from the selection rules, and obtains the response data corresponding to the data request instruction after formatting the model format data, and finally sends it to the client.
[0072] In one implementation, the step S102 of determining the platform type corresponding to the client based on the data request instruction and determining the selection rule corresponding to the server according to the platform type is as follows: Figure 2 As shown, including:
[0073] Step S201, obtaining request parameters contained in the data request instruction, and using the request parameters to obtain the corresponding selection parameters of the client;
[0074] Step S202, determining the platform type corresponding to the client according to the selection parameters;
[0075] Step S203, based on the model composition data and model attribute data contained in the database built into the server, the platform type is used to determine the selection rule corresponding to the server.
[0076] In the process of obtaining the selection rules, the built-in database in the server is used to implement it. The database contains the model composition data and model attribute data corresponding to the product, which respectively represent the model composition information and model attribute information, and then the selection rules are determined by using the above data and combining with the platform type.
[0077] In one implementation, the step S103 of obtaining the model format data corresponding to the selection rule and generating the response data corresponding to the data request instruction using the model format data is as follows: Figure 3 As shown, including:
[0078] Step S301, determining the model format data corresponding to the selection rule based on the entity data and array data contained in the database built into the server;
[0079] Step S302, obtaining a data encapsulation strategy corresponding to the data request instruction, and encapsulating the model format data into response data using the data encapsulation strategy.
[0080] The acquisition process of response data is based on the entity data and array data contained in the database. Specifically, the entity data includes 2D entity data and 3D entity data, corresponding to the CAD platform. Specifically, 2D entity data includes: straight line, arc, polyline, polyline. Among them, straight line data defines the starting point and end point; arc data defines the center, radius, starting angle and end angle; polyline data defines a broken line formed by connecting multiple line segments; circle data defines the center and radius.
[0081] 3D entity data includes: cone, cuboid, cylinder, sphere, and extruded body. Cone data defines bottom radius, top radius, and height; cuboid data defines length, width, and height; cylinder data defines radius and height; sphere data defines radius; extruded body data supports custom cross-sections, which are defined through path element lists.
[0082] Entity data also includes array data, which includes two-dimensional array data and three-dimensional array data. Two-dimensional array data is circular array data, which defines the number of arrays, angles, rotation centers, and rotation axes; three-dimensional array data is a three-dimensional array, which supports simultaneous arrays in the X, Y, and Z directions, and includes methods for calculating the total number of elements and string representation methods.
[0083] For the database on the server side, a data update process is required to ensure that the version data and model data of the target product in the database remain up to date. In one embodiment, after step S101 of receiving the data request instruction sent by the client, Figure 4 As shown, the method also includes:
[0084] Step S401, determining the upgrade instruction and upgrade data corresponding to the database built into the server based on the data request instruction;
[0085] Step S402, using the upgrade instruction to control the update of the upgrade data into the database.
[0086] When processing updates to multiple product models, the server updates the model data and selection rules in its built-in database to ensure that all clients can obtain the latest version when obtaining data, avoiding errors caused by inconsistent versions.
[0087] The embodiment of the present invention provides a digital twin modeling data interaction method, which is applied to a client, such as Figure 5 As shown, the method includes:
[0088] Step S501, obtaining the platform type corresponding to the modeling data in the client, and determining the selection parameters corresponding to the platform type;
[0089] Step S502, determining the data request instruction corresponding to the client according to the selection parameters, and controlling the client to send the data request instruction to the server;
[0090] Step S503, receiving response data corresponding to the data request instruction transmitted by the server, and obtaining model format data corresponding to the response data;
[0091] Step S504: Control the client to display the model format data based on the platform type.
[0092] A modeling platform is set up in the client. When modeling the target product, the platform type of the modeling platform is first obtained. The platform type may include CAD platform 2D type, CAD platform 3D type, digital twin platform type, etc., which correspond to the CAD platform and the digital twin platform respectively.
[0093] After the platform type is obtained, the selection parameters corresponding to the platform type can be obtained in combination with the selection requirements selected by the user in the client. In layman's terms, the selection parameters are target parameters, and the model format data needs to be obtained by using the selection parameters in the server. In the implementation process, the data request instruction corresponding to the client is first determined according to the selection parameters, and then the client is controlled to send the data request instruction to the server, so that the selection parameters are sent to the server. After the server feeds back the response data, the client receives and parses the response data to obtain the specific model format data and displays it in the client.
[0094] In one implementation, the platform type corresponding to the modeling data in the client is obtained, and the selection parameters corresponding to the platform type are determined S501, such as Figure 6 As shown, including:
[0095] Step S601, obtaining a modeling platform set in the client, and monitoring the selection parameters responded by the modeling platform in real time;
[0096] Step S602, determining the modeling data corresponding to the modeling platform based on the selection parameters, and obtaining the platform type corresponding to the modeling data;
[0097] Step S603: Determine the selection parameters according to the platform type and the selection parameters.
[0098] In the process of obtaining the selection parameters, it is necessary to monitor the modeling platform in the client in real time to obtain the selection parameters of its response. The selection parameters are generated after the user's selection, and then the modeling data corresponding to the modeling platform is determined using the selection parameters to obtain the specific platform type. After the platform type is obtained, the selection parameters can be combined with the selection parameters to finally determine the selection parameters.
[0099] In one implementation, step S504 of controlling the client to display the model format data based on the platform type is as follows: Figure 7 As shown, including:
[0100] Step S701, determining the modeling platform set in the client by using the platform type;
[0101] Step S702: construct an entity model corresponding to the modeling platform according to the model format data, and control the client to display the entity model in the modeling platform.
[0102] Specifically, in a CAD platform, the user selects a product model and submits the selection parameters. After receiving the request, the server queries and returns the 3D modeling data in STP format of the model according to the selection rules. The CAD platform receives the data and draws the model on the interface.
[0103] In the digital twin platform, the user selects a specific device and sends a parameter request. The server returns data in FXB format, and the digital twin platform parses and generates a corresponding virtual model for display.
[0104] When the user chooses to draw a 2D entity in the CAD software, such as a line or a circle, the client sends a request to the server, which returns the corresponding DXF format data. The CAD platform receives the data and draws the corresponding 2D entity.
[0105] The above-mentioned digital twin modeling data interaction method mainly involves the following aspects in the server and client:
[0106] Server management: The server stores the product model composition information and other attribute information, and defines the selection rules for each product.
[0107] Client request: The client (such as CAD software, digital twin platform) sends the selection parameters to the server through HTTP request.
[0108] Data matching and return: The server selects matching devices from the selection rules based on the request parameters and returns the corresponding modeling data to the client.
[0109] Data parsing and drawing: The client receives and parses the data, generates the corresponding entity model, and then draws and assembles it.
[0110] It can be seen from the modeling data interaction method of the digital twin in the above embodiment that the method uniformly manages the model format data involved in the modeling data interaction process through the server, and realizes the format conversion of modeling data between different modeling platforms based on the selection rules, thereby realizing the use of the server to uniformly interact with the modeling data in different clients, reducing the complexity of the data processing flow between different modeling platforms.
[0111] For the digital twin modeling data interaction method provided in the above embodiment, an embodiment of the present invention provides a digital twin modeling data interaction system, which is applied to the server, such as Figure 8 As shown, the system includes:
[0112] The server receiving unit 810 is used to receive a data request instruction sent from a client;
[0113] A selection rule determination unit 820 is used to determine the platform type corresponding to the client based on the data request instruction, and determine the selection rule corresponding to the server according to the platform type;
[0114] The response data generating unit 830 is used to obtain the model format data corresponding to the selection rule, and generate the response data corresponding to the data request instruction by using the model format data;
[0115] The server sending unit 840 is used to send the response data to the client.
[0116] For the digital twin modeling data interaction method provided in the above embodiment, an embodiment of the present invention provides a digital twin modeling data interaction system, which is applied to a client, such as Fig. 9 As shown, the system includes:
[0117] A selection parameter determination unit 910 is used to obtain the platform type corresponding to the modeling data in the client and determine the selection parameters corresponding to the platform type;
[0118] The client sending unit 920 is used to determine the data request instruction corresponding to the client according to the selection parameters, and control the client to send the data request instruction to the server;
[0119] The client receiving unit 930 is used to receive the response data corresponding to the data request instruction transmitted by the server, and obtain the model format data corresponding to the response data;
[0120] The client display unit 940 is used to control the client to display the model format data based on the platform type.
[0121] From the digital twin modeling data interaction system mentioned in the above embodiment, it can be seen that the system uniformly manages the model format data involved in the modeling data interaction process through the server, and realizes the format conversion of modeling data between different modeling platforms based on the selection rules, thereby realizing the use of the server to uniformly interact with the modeling data in different clients, reducing the complexity of the data processing flow between different modeling platforms.
[0122] The digital twin modeling data interaction system provided in the embodiment of the present invention has the same implementation principle and technical effects as those in the aforementioned digital twin modeling data interaction method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned digital twin modeling data interaction method embodiment.
[0123] This embodiment also provides an electronic device. The structural diagram of the electronic device is as follows: Fig.10 As shown, the device includes a processor 101 and a memory 102; wherein the memory 102 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor to implement the steps of the above-mentioned digital twin modeling data interaction method.
[0124] Fig.10 The electronic device shown further includes a bus 103 and a communication interface 104 , and the processor 101 , the communication interface 104 and the memory 102 are connected via the bus 103 .
[0125] The memory 102 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The bus 103 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.10 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0126] The communication interface 104 is used to connect to at least one user terminal and other network units through a network interface, and send the encapsulated IPv4 message or IPv4 message to the user terminal through the network interface.
[0127] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 102, and the processor 101 reads the information in the memory 102 and completes the steps of the method of the above embodiment in combination with its hardware.
[0128] An embodiment of the present invention also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the digital twin modeling data interaction method in the aforementioned embodiment are executed.
[0129] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0130] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0131] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0132] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present invention can essentially or in other words, the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling 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 methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0133] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A digital twin modeling data interaction method, characterized in that: The method is applied to the server, and the method includes: Receive data request instructions sent from the client; Determine the platform type corresponding to the client based on the data request instruction, and determine the selection rule corresponding to the server according to the platform type; Acquire the model format data corresponding to the selection rule, and generate response data corresponding to the data request instruction using the model format data; The response data is sent to the client.
2. The digital twin modeling data interaction method according to claim 1, characterized in that: Determining the platform type corresponding to the client based on the data request instruction, and determining the selection rule corresponding to the server according to the platform type, including: Obtaining the request parameters contained in the data request instruction, and using the request parameters to obtain the selection parameters corresponding to the client; Determine the platform type corresponding to the client according to the selection parameters; Based on the model composition data and model attribute data contained in the database built into the server, the selection rule corresponding to the server is determined using the platform type.
3. The digital twin modeling data interaction method according to claim 1 is characterized in that: Acquiring model format data corresponding to the selection rule, and using the model format data to generate response data corresponding to the data request instruction, including: Determine the model format data corresponding to the selection rule based on the entity data and array data contained in the database built into the server; A data encapsulation strategy corresponding to the data request instruction is obtained, and the model format data is encapsulated into the response data using the data encapsulation strategy.
4. The digital twin modeling data interaction method according to claim 1, characterized in that: After receiving the data request instruction sent by the client, the method further includes: Determine the upgrade instruction and upgrade data corresponding to the database built into the server based on the data request instruction; The upgrade instruction is used to control the update of the upgrade data into the database.
5. A digital twin modeling data interaction method, characterized in that: The method is applied to a client, and the method comprises: Obtaining the platform type corresponding to the modeling data in the client, and determining the selection parameters corresponding to the platform type; Determine a data request instruction corresponding to the client according to the selection parameters, and control the client to send the data request instruction to the server; Receive response data corresponding to the data request instruction transmitted by the server, and obtain model format data corresponding to the response data; The client is controlled to display the model format data based on the platform type.
6. The digital twin modeling data interaction method according to claim 5 is characterized in that: Obtaining the platform type corresponding to the modeling data in the client, and determining the selection parameters corresponding to the platform type, including: Obtaining the modeling platform set in the client, and monitoring the selection parameters responded by the modeling platform in real time; Determine the modeling data corresponding to the modeling platform based on the selection parameter, and obtain the platform type corresponding to the modeling data; The selection parameters are determined according to the platform type and the selection parameters.
7. The digital twin modeling data interaction method according to claim 6 is characterized in that: Controlling the client to display the model format data based on the platform type includes: Determining the modeling platform set in the client by using the platform type; The entity model corresponding to the modeling platform is constructed according to the model format data, and the client is controlled to display the entity model on the modeling platform.
8. A digital twin modeling data interaction system, characterized in that: The system is applied to the server, and the system includes: The server receiving unit is used to receive the data request instruction sent by the client; A selection rule determination unit, configured to determine the platform type corresponding to the client based on the data request instruction, and determine the selection rule corresponding to the server according to the platform type; A response data generating unit, used for acquiring the model format data corresponding to the selection rule, and generating response data corresponding to the data request instruction by using the model format data; The server sending unit is used to send the response data to the client.
9. A digital twin modeling data interaction system, characterized in that: The system is applied to a client, and the system includes: A selection parameter determination unit, used to obtain the platform type corresponding to the modeling data in the client, and determine the selection parameters corresponding to the platform type; A client sending unit, used to determine a data request instruction corresponding to the client according to the selection parameter, and control the client to send the data request instruction to the server; A client receiving unit, configured to receive response data corresponding to the data request instruction transmitted by the server, and obtain model format data corresponding to the response data; The client display unit is used to control the client to display the model format data based on the platform type.
10. An electronic device, characterized in that: It includes a processor and a memory, the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the steps of the digital twin modeling data interaction method described in any one of claims 1 to 7.