Engineering model data access method and device

By sharding CAD/CAE data and synchronizing it in the cloud, the problem of low data access efficiency of browser-side access to the cloud is solved, and fast data transmission and efficient data processing are achieved.

CN120030251APending Publication Date: 2025-05-23CRRC IND INST CO LTD +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411853084.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

When accessing a large amount of unstructured CAD/CAE data to the cloud on the browser side, the data transmission and processing efficiency are low, resulting in slow system response, especially when multiple users access it simultaneously.

Method used

Divide the engineering model data into multiple data fragments, and when the cloud server synchronizes data with each web client for the first time, it is synchronized to each web client in the form of a data stream, receives the client's editing instructions and updates the data fragments, and sends the updated data fragments or editing instructions to each web client to synchronize the data.

Benefits of technology

It improves data transmission speed, realizes rapid access to data between the web client and the cloud server, improves the loading and display efficiency locally on the web client, and improves data processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120030251A_ABST
    Figure CN120030251A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and provides an engineering model data access method and device, and the method comprises the steps: dividing engineering model data into a plurality of data fragments, and synchronizing the plurality of data fragments to each web client; receiving an editing instruction sent by the first web client for at least any data fragment, updating the corresponding data fragment in the engineering model data based on the editing instruction, the editing instruction being automatically generated after the first web client edits at least any data fragment; and sending the updated data fragment or an editing instruction to each web client, the editing instruction being used for instructing other web clients except the first web client to reconstruct the data fragment corresponding to the editing instruction so as to synchronize the engineering model data. According to the method and the system, the engineering model data is divided into a plurality of data fragments for synchronization, so that rapid access of the data between the web client and the cloud server is realized, and the data processing efficiency of the web client is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for accessing engineering model data. Background Art

[0002] In order to solve the problem of R&D collaboration, enterprises have gradually explored the application of Web-oriented engineering aided design software systems (Computer Aided Design / Computer Aided Engineering, CAD / CAE systems), allowing R&D personnel to conduct collaborative design and simulation through a browser on any device with a network connection. Compared with traditional desktop CAD / CAE systems, the essence of Web-based CAD / CAE system technology is to use the processing power of remote servers to achieve centralized management and access of engineering model auxiliary data and resources, thereby realizing parallel design and analysis.

[0003] Currently, many enterprises and research institutions have begun to explore the migration of CAD / CAE systems to cloud platforms. Through Web technology, CAD / CAE systems can be accessed through browsers on any device, greatly improving the accessibility and flexibility of the system. Although cloud architecture improves the accessibility and collaboration capabilities of the system, when the browser accesses a large amount of unstructured CAD / CAE data to the cloud, the data transmission and processing efficiency is low, resulting in slow system response when large amounts of data are loaded and / or operated in real time on the browser side, especially when multiple users access it at the same time. Summary of the invention

[0004] The present invention provides an engineering model data access method and device, which are used to solve the problem in the prior art that when a large amount of unstructured CAD / CAE data is accessed from a web browser to a cloud, the data transmission and processing efficiency is low.

[0005] The present invention provides an engineering model data access method, which is applied to a cloud service end, and the method comprises: Divide the engineering model data into multiple data shards, and synchronize the multiple data shards to each web client; receiving an editing instruction for at least any data slice sent by a first web client, and updating a corresponding data slice in the engineering model data based on the editing instruction, wherein the editing instruction is automatically generated after the first web client edits at least any data slice; The updated data slice or the editing instruction is sent to each web client, where the editing instruction is used to instruct other web clients except the first web client to rebuild the data slice corresponding to the editing instruction to synchronize the engineering model data.

[0006] According to an engineering model data access method provided by the present invention, sending updated data slices or the editing instructions to each web client includes: Determining a data synchronization method, the data synchronization method comprising: sending the editing instruction or sending an updated data slice; When the data synchronization method is to send the editing instruction, sending the editing instruction to each web client; When the data synchronization method is to send updated data slices, the updated data slices are sent to each web client.

[0007] According to an engineering model data access method provided by the present invention, a data synchronization method is determined, including: determining the data synchronization method based on the fault tolerance of the engineering model data, the data size of the updated data slices, the data size of the editing instructions, and the reconstruction time of the web client based on the editing instructions.

[0008] According to an engineering model data access method provided by the present invention, the data synchronization mode is determined based on the fault tolerance of the engineering model data, the data size of the updated data slices, the data size of the editing instructions, and the reconstruction time of the web client based on the editing instructions, including: When the fault tolerance of the engineering model data is a first fault tolerance, determining that the data synchronization mode is to send updated data fragments; In the case where the fault tolerance of the engineering model data is the second fault tolerance, the data slice transmission duration and the editing instruction transmission duration are respectively determined based on the data size of the updated data slice and the data size of the editing instruction, and in the case where the sum of the editing instruction transmission duration and the reconstruction duration is less than the data slice transmission duration, the data synchronization mode is determined to be sending the editing instruction, and in the case where the sum of the editing instruction transmission duration and the reconstruction duration is greater than or equal to the data slice transmission duration, the data synchronization mode is determined to be sending the updated data slice; Among them, the first fault tolerance is lower than the second fault tolerance.

[0009] According to an engineering model data access method provided by the present invention, determining a data synchronization mode includes: Determine the current number of data synchronizations between the cloud server and the web client, where the current number of data synchronizations is the number of data synchronizations per unit time between the cloud server and the web client within a preset time period before the current moment; When the current data synchronization number is greater than a preset synchronization number threshold, determining the data synchronization mode is to send the editing instruction; When the current data synchronization times is less than or equal to the preset synchronization times threshold, the data synchronization mode is determined to be sending updated data fragments.

[0010] The present invention also provides an engineering model data access method, which is applied to a web client, and the method comprises: Receive multiple data slices of engineering model data synchronized from the cloud server, and in the process of receiving the data slices, load the received data slices and display them locally; Receiving an edit operation on at least one data slice and generating an edit instruction corresponding to the edit operation; The editing instruction is sent to the cloud server, where the editing instruction is used to instruct the cloud server to update the data segment corresponding to the editing instruction in the engineering model data based on the editing instruction.

[0011] A method for accessing engineering model data according to the present invention further includes: Receiving updated data fragments sent by the cloud server to rebuild local engineering model data; Alternatively, an editing instruction sent by the cloud server is received, and when the editing instruction sent by the cloud server is not an editing instruction uploaded locally, the local engineering model data is updated based on the editing instruction sent by the cloud server.

[0012] The present invention also provides an engineering model data access device, which is applied to a cloud service end, and the device comprises: The data shard synchronization module is used to divide the engineering model data into multiple data shards and synchronize the multiple data shards to each web client; an engineering model updating module, configured to receive an editing instruction for at least any data slice sent by a first web client, and update a corresponding data slice in the engineering model data based on the editing instruction, wherein the editing instruction is automatically generated after the first web client edits at least any data slice; The data slice sending module is used to send the updated data slice or the editing instruction to each web client, and the editing instruction is used to instruct other web clients except the first web client to rebuild the data slice corresponding to the editing instruction to synchronize the engineering model data.

[0013] The present invention also provides an engineering model data access device, which is applied to a web client, and the device comprises: A data slice receiving module is used to receive multiple data slices of engineering model data synchronized by the cloud server, and in the process of receiving the data slices, load the received data slices and display them locally; An editing instruction generating module, used for receiving an editing operation on at least any data slice, and generating an editing instruction corresponding to the editing operation; The editing instruction sending module is used to send the editing instruction to the cloud server, and the editing instruction is used to instruct the cloud server to update the data segment corresponding to the editing instruction in the engineering model data based on the editing instruction.

[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the program, the engineering model data access method as described in any one of the above is implemented.

[0015] In the engineering model data access method and device provided by the present invention, since the unstructured engineering model data is segmented, when the cloud server synchronizes data with each web client for the first time, each data segment is synchronized to each web client in the form of a data stream, thereby improving the data transmission speed and realizing fast access to data between the web client and the cloud server. In addition, during the data segment transmission process, each web client can simultaneously load the received data segment and display it locally, thereby improving the loading and display efficiency locally on the web client, that is, improving the data processing efficiency of the web client. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 This is one of the flow charts of the engineering model data access method provided by the present invention.

[0018] Figure 2 This is the second flow chart of the engineering model data access method provided by the present invention.

[0019] Figure 3 This is one of the structural schematic diagrams of the engineering model data access device provided by the present invention.

[0020] Figure 4 This is the second structural schematic diagram of the engineering model data access device provided by the present invention.

[0021] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. 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.

[0023] The engineering model data access method according to an embodiment of the present invention is applied to a cloud service end, and the specific steps are as follows: Figure 1 As shown, the process includes the following steps S110 to S130.

[0024] Step S110: Divide the engineering model data into multiple data slices, and synchronize the multiple data slices to each web client. Specifically, the cloud server divides the created engineering model data into multiple data slices, and synchronizes the multiple data slices to each web client. After each web client starts to receive the data slices, it can load and display the received data slices until the engineering model structure corresponding to the entire engineering model data is loaded and displayed, and then the engineering model structure can be edited.

[0025] The partitioning method can be divided according to the data type, for example: data partitioning by CAD data and CAE data. CAD data is divided into: data partitioning of geometry data, topology data and attribute data. Among them, geometry data (GeometryData) includes geometric information such as vertices, edges, and faces; topology data (TopologyData) describes the connection relationship between geometric entities; attribute data (AttributeData) represents additional attributes, such as material, thickness, etc.

[0026] CAE data is divided into: mesh data, physical data, boundary conditions, solution methods and calculation results. Among them, mesh data (MeshData) contains information about mesh units and nodes; physical data (PhysicalData) includes material properties, such as density, elastic modulus, etc.; boundary conditions (BoundaryConditions) represent boundary constraints; solution methods (SolutionMethod) represent the description of the solution process; calculation results (CalculationResults) represent the results of simulation analysis, such as displacement, stress, etc.

[0027] The unstructured engineering model data is sliced, and when the cloud server synchronizes data with each web client for the first time, each data slice is synchronized to each web client in the form of a data stream, which improves the data transmission speed, thereby realizing the rapid access of data between the web client and the cloud server. In addition, during the data slice transmission process, each web client can simultaneously load the received data slice and display it locally, which improves the loading and display efficiency of the local web client, that is, improves the data processing efficiency of the client. Preferably, multiple data slices can be compressed and encrypted and then synchronized to each web client. After compression, the amount of transmitted data is further reduced, the data transmission efficiency is improved, and encryption can ensure the security of data transmission.

[0028] Step S120: receiving an editing instruction for at least any data slice sent by the first web client, and updating the corresponding data slice in the engineering model data based on the editing instruction, wherein the editing instruction is automatically generated after the first web client edits at least any data slice. Specifically, after receiving the engineering model data, the first web client will edit one or more data slices of the engineering model data locally according to its own task requirements. Regardless of whether it is editing CAD data or CAE data, the corresponding editing instruction will be automatically generated locally and transmitted to the cloud server. Since the cloud server itself has strong computing power, even when multiple first web clients upload their own editing instructions in parallel, the engineering model data can be updated in real time according to the editing instructions of each web client.

[0029] Step S130: Send the updated data slice or the editing instruction to each web client, the editing instruction is used to instruct other web clients except the first web client to rebuild the data slice corresponding to the editing instruction to synchronize the engineering model data. In this step, the cloud server updates the data slice corresponding to the editing instruction in the engineering model data, and after the update is completed, sends the updated data slice or the editing instruction to each web client.

[0030] It should be noted that the editing instruction may include the instruction body and the web client ID. In the case of sending the updated data slice, the cloud server will send the updated data slice to other web clients except the first web client ID. Of course, the updated data slice can also be directly broadcast. Even if the first web client receives its own new data slice, it only loads it one more time locally. In the case of sending the editing instruction, the cloud server can directly broadcast the editing instruction or send the editing instruction to other web clients except the first web client. In the case of broadcasting the editing instruction, after receiving the editing instruction, each web client checks the web client ID. If it is the same as its own ID, it will not rebuild the data slice corresponding to the editing instruction locally.

[0031] In the engineering model data access method of the present embodiment, by slicing the unstructured engineering model data, when the cloud server synchronizes data with each web client for the first time, each data slice is synchronized to each web client in the form of a data stream, thereby improving the data transmission speed and realizing fast access to data between the web client and the cloud server. During the data slice transmission process, each web client can simultaneously load the received data slices and display them locally, thereby improving the loading and display efficiency locally on the web client, that is, improving the data processing efficiency of the web client.

[0032] In some embodiments, step S130 specifically includes: determining a data synchronization method, wherein the data synchronization method includes: sending the editing instruction or sending an updated data segment.

[0033] In the case where the data synchronization method is sending the editing instruction, the editing instruction is sent to each web client, that is, the editing instruction is broadcast to each web client.

[0034] When the data synchronization method is to send updated data slices, the updated data slices are sent to each web client.

[0035] Specifically, determining the data synchronization method, that is, whether to send the updated data slice or send the editing instruction can be determined according to the actual situation. For example: the simplest method is to send the updated data slice when the updated data slice is small (less than a certain threshold), otherwise send the editing instruction. Because usually, the data volume of the editing instruction is smaller than the data volume of the updated data slice, the transmission efficiency is higher, which further improves the transmission efficiency.

[0036] In some embodiments, determining the data synchronization method specifically includes: determining the data synchronization method based on the fault tolerance of the engineering model data, the data size of the updated data shard, the data size of the editing instruction, and the reconstruction time of the web client based on the editing instruction. Among them, the fault tolerance of the engineering model data represents the tolerance for data errors or incompatibility. The fault tolerance has different levels. The lower the fault tolerance, the higher the accuracy of the engineering model data is required. Conversely, the lower the accuracy of the engineering model data is. Whether it is the data size of the data shard or the data size of the editing instruction, the larger the number, the longer the transmission time, that is, the lower the data access efficiency between the cloud service end and each web client. The reconstruction time of the web client based on the editing instruction is mainly related to the computing power of the web client. The stronger the computing power, the shorter the reconstruction time. Even if the data size of the editing instruction is less than the data size of the updated data shard, if the computing power of the web client is too weak, it will cause the reconstruction time plus the transmission time of the editing instruction to be longer than the transmission time of the updated data shard, thereby resulting in low overall data access efficiency. Therefore, in this embodiment, the above-mentioned multiple factors are comprehensively considered to determine the data synchronization method, which can optimize the data access efficiency as a whole.

[0037] Specifically, based on the fault tolerance of the engineering model data, the data size of the updated data shards, the data size of the editing instructions, and the reconstruction time of the web client based on the editing instructions, the step of determining the data synchronization method includes: In the case where the fault tolerance of the engineering model data is the first fault tolerance, the data synchronization method is determined to be sending the updated data slices. The first fault tolerance is a low fault tolerance level, which has high requirements on the accuracy of the engineering model data of the cloud server and each web client. Therefore, the data synchronization method is to send the updated data slices, so that the cloud server directly sends the updated data slices to each web client, avoiding inconsistency or compatibility issues of engineering model data caused by differences in CAD / CAE system software between each web client and between each web client and the cloud server.

[0038] In the case where the fault tolerance of the engineering model data is the second fault tolerance, the data segment transmission time and the editing instruction transmission time are determined based on the data size of the updated data segment and the data size of the editing instruction, respectively. In the case where the sum of the editing instruction transmission time and the reconstruction time is less than the data segment transmission time, the data synchronization mode is determined to be sending the editing instruction. In the case where the sum of the editing instruction transmission time and the reconstruction time is greater than or equal to the data segment transmission time, the data synchronization mode is determined to be sending the updated data segment. Wherein, the first fault tolerance is lower than the second fault tolerance, that is, the second fault tolerance is a high fault tolerance level, and the accuracy requirements for the engineering model data of the cloud service end and each web client are relatively low. At this time, if the data segment transmission time of the updated data segment is less than or equal to the sum of the editing instruction transmission time and the reconstruction time, the data synchronization mode is determined to be sending the updated data segment. Otherwise, the data synchronization mode is determined to be sending the editing instruction, thereby improving the data access efficiency between the cloud service end and each web client.

[0039] It can be understood that: the cloud server can obtain the network status and the resource usage status of each web client through some dedicated network detection tools, and thus calculate the data segment transmission duration and the editing instruction transmission duration according to the network status and the data size of the updated data segment and the data size of the editing instruction, respectively, and the reconstruction duration of the web client based on the editing instruction can be estimated according to the resource usage status of the web client and the data size of the editing instruction.

[0040] In some embodiments, determining the data synchronization method specifically includes: determining the current number of data synchronizations between the cloud server and the web client, wherein the current number of data synchronizations is the number of data synchronizations per unit time (e.g., 1 second) between the cloud server and the web client within a preset time length (e.g., 5 to 10 seconds) from the current moment, thereby determining the synchronization strategy based on the current number of data synchronizations between the cloud server and each Web client. In actual applications, the higher the current number of data synchronizations, the higher the transmission frequency of large-volume data. In order to avoid the problem of reduced access efficiency due to frequent transmission of large-volume data, a synchronization number threshold is set in this embodiment to distinguish different data synchronization methods. When the current number of data synchronizations is greater than the preset synchronization number threshold, the data synchronization method is determined to be sending an edit instruction; when the current number of data synchronizations is less than or equal to the preset synchronization number threshold, the data synchronization method is determined to be sending updated data fragments.

[0041] Regarding the setting of the synchronization threshold, the specific value range should be optimized in combination with the actual application scenario. For example, in scenarios where the real-time requirements for data processing are high, the synchronization threshold can be set to 20 to 25 times per second; while in scenarios where the real-time requirements for data processing are low, the synchronization threshold can be set to 1 to 3 times per second or lower. The specific parameters can be dynamically adjusted through a comprehensive evaluation of historical data transmission efficiency, bandwidth utilization, and access latency.

[0042] Another embodiment of the engineering model data access method of the present invention is applied to a web client, which may be a web browser. The specific steps are as follows: Figure 2 As shown, the process includes the following steps S210 to S230.

[0043] Step S210: receiving multiple data slices of engineering model data synchronized by the cloud server, and in the process of receiving the data slices, loading the received data slices and displaying them locally.

[0044] Step S220: receiving an editing operation on at least any data slice, and generating an editing instruction corresponding to the editing operation.

[0045] Step S230: Sending the editing instruction to the cloud server, wherein the editing instruction is used to instruct the cloud server to update the data segment corresponding to the editing instruction in the engineering model data based on the editing instruction.

[0046] In the engineering model data access method of the present embodiment, the unstructured engineering model data is segmented by the cloud server. When the cloud server synchronizes data with each web client for the first time, each data segment is synchronized to each web client in the form of a data stream, thereby improving the data transmission speed and realizing fast access to data between the web client and the cloud server. During the data segment transmission process, each web client can simultaneously load the received data segment and display it locally, thereby improving the loading and display efficiency locally on the web client, that is, improving the data processing efficiency of the web client.

[0047] In some embodiments, the engineering model data access method applied to the web client also includes: receiving updated data segments sent by the cloud server to rebuild local engineering model data; or, receiving editing instructions sent by the cloud server, and when the editing instructions sent by the cloud server are editing instructions that are not uploaded locally, updating the local engineering model data based on the editing instructions sent by the cloud server, thereby keeping the local engineering model data synchronized with the engineering model data of the cloud server and other web clients.

[0048] The engineering model data access device provided by the present invention is described below. The engineering model data access device described below and the engineering model data access method described above can be referenced to each other.

[0049] An engineering model data access device according to an embodiment of the present invention is applied to a cloud service end, such as Figure 3 As shown, the device comprises: The data shard synchronization module 310 is used to divide the engineering model data into multiple data shards and synchronize the multiple data shards to each web client.

[0050] The engineering model updating module 320 is used to receive an editing instruction for at least any data slice sent by the first web client, and update the corresponding data slice in the engineering model data based on the editing instruction, wherein the editing instruction is automatically generated after the first web client edits at least any data slice.

[0051] The data slice sending module 330 is used to send the updated data slice or the editing instruction to each web client, and the editing instruction is used to instruct other web clients except the first web client to rebuild the data slice corresponding to the editing instruction to synchronize the engineering model data.

[0052] In some embodiments, the data slice sending module 330 is specifically used to determine the data synchronization method, and the data synchronization method includes: sending the editing instruction or sending the updated data slice; when the data synchronization method is to send the editing instruction, sending the editing instruction to each web client; when the data synchronization method is to send the updated data slice, sending the updated data slice to each web client.

[0053] In some embodiments, the data shard sending module 330 is specifically used to determine the data synchronization method based on the fault tolerance of the engineering model data, the data size of the updated data shard, the data size of the editing instruction, and the reconstruction time of the web client based on the editing instruction.

[0054] In some embodiments, the data slice sending module 330 is specifically used to determine that the data synchronization method is to send the updated data slice when the fault tolerance of the engineering model data is the first fault tolerance; when the fault tolerance of the engineering model data is the second fault tolerance, the data slice transmission duration and the editing instruction transmission duration are determined based on the data size of the updated data slice and the data size of the editing instruction, respectively; when the sum of the editing instruction transmission duration and the reconstruction duration is less than the data slice transmission duration, the data synchronization method is determined to be to send the editing instruction; when the sum of the editing instruction transmission duration and the reconstruction duration is greater than or equal to the data slice transmission duration, the data synchronization method is determined to be to send the updated data slice; wherein, the first fault tolerance is lower than the second fault tolerance.

[0055] In some embodiments, the data segment sending module 330 is specifically used to determine the current number of data synchronizations between the cloud server and the web client, where the current number of data synchronizations is the number of data synchronizations per unit time between the cloud server and the web client within a preset time period before the current moment; when the current number of data synchronizations is greater than a preset synchronization number threshold, the data synchronization method is determined to be sending the editing instruction; when the current number of data synchronizations is less than or equal to the preset synchronization number threshold, the data synchronization method is determined to be sending the updated data segment.

[0056] Another engineering model data access device according to an embodiment of the present invention is applied to a web client, such as Figure 4 As shown, the device comprises: The data slice receiving module 410 is used to receive multiple data slices of the engineering model data synchronized by the cloud server, and in the process of receiving the data slices, load the received data slices and display them locally.

[0057] The editing instruction generating module 420 is used to receive an editing operation on at least any data slice and generate an editing instruction corresponding to the editing operation.

[0058] The editing instruction sending module 430 is used to send the editing instruction to the cloud server, and the editing instruction is used to instruct the cloud server to update the data segment corresponding to the editing instruction in the engineering model data based on the editing instruction.

[0059] In some embodiments, the engineering model data access device also includes: a local reconstruction module, which is used to receive the updated data segments sent by the cloud server to reconstruct local engineering model data; or, to receive editing instructions sent by the cloud server, and when the editing instructions sent by the cloud server are not locally uploaded editing instructions, update the local engineering model data based on the editing instructions sent by the cloud server.

[0060] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the engineering model data access method applied to the cloud server, the method comprising: dividing the engineering model data into a plurality of data slices, and synchronizing the plurality of data slices to each web client; receiving an editing instruction for at least any data slice sent by a first web client, and updating the corresponding data slice in the engineering model data based on the editing instruction, wherein the editing instruction is automatically generated after the first web client edits at least any data slice; sending the updated data slice or the editing instruction to each web client, wherein the editing instruction is used to instruct other web clients except the first web client to rebuild the data slice corresponding to the editing instruction to synchronize the engineering model data.

[0061] Alternatively, a method for accessing engineering model data applied to a web client is executed, the method comprising: receiving multiple data slices of engineering model data synchronized by a cloud server, and in the process of receiving the data slices, loading the received data slices and displaying them locally; receiving an editing operation on at least any one of the data slices, and generating an editing instruction corresponding to the editing operation; sending the editing instruction to the cloud server, the editing instruction being used to instruct the cloud server to update the data slice corresponding to the editing instruction in the engineering model data based on the editing instruction.

[0062] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or 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, and the computer software product is stored in a storage medium, including a number of 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 method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0063] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute an engineering model data access method applied to a cloud server, the method including: dividing the engineering model data into multiple data slices, and synchronizing the multiple data slices to each web client; receiving an editing instruction for at least any data slice sent by a first web client, and updating the corresponding data slice in the engineering model data based on the editing instruction, the editing instruction being automatically generated after the first web client edits at least any data slice; sending the updated data slice or the editing instruction to each web client, the editing instruction being used to instruct other web clients except the first web client to rebuild the data slice corresponding to the editing instruction to synchronize the engineering model data.

[0064] Alternatively, a method for accessing engineering model data applied to a web client is executed, the method comprising: receiving multiple data slices of engineering model data synchronized by a cloud server, and in the process of receiving the data slices, loading the received data slices and displaying them locally; receiving an editing operation on at least any one of the data slices, and generating an editing instruction corresponding to the editing operation; sending the editing instruction to the cloud server, the editing instruction being used to instruct the cloud server to update the data slice corresponding to the editing instruction in the engineering model data based on the editing instruction.

[0065] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute an engineering model data access method applied to a cloud server, the method comprising: dividing the engineering model data into multiple data slices, and synchronizing the multiple data slices to each web client; receiving an editing instruction for at least any data slice sent by a first web client, and updating the corresponding data slice in the engineering model data based on the editing instruction, the editing instruction being automatically generated after the first web client edits at least any data slice; sending the updated data slice or the editing instruction to each web client, the editing instruction being used to instruct other web clients except the first web client to rebuild the data slice corresponding to the editing instruction to synchronize the engineering model data.

[0066] Alternatively, a method for accessing engineering model data applied to a web client is executed, the method comprising: receiving multiple data slices of engineering model data synchronized by a cloud server, and in the process of receiving the data slices, loading the received data slices and displaying them locally; receiving an editing operation on at least any one of the data slices, and generating an editing instruction corresponding to the editing operation; sending the editing instruction to the cloud server, the editing instruction being used to instruct the cloud server to update the data slice corresponding to the editing instruction in the engineering model data based on the editing instruction.

[0067] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0068] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0069] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for accessing engineering model data, characterized in that: Applied to a cloud server, the method includes: Divide the engineering model data into multiple data shards, and synchronize the multiple data shards to each web client; receiving an editing instruction for at least any data slice sent by a first web client, and updating a corresponding data slice in the engineering model data based on the editing instruction, wherein the editing instruction is automatically generated after the first web client edits at least any data slice; The updated data slice or the editing instruction is sent to each web client, where the editing instruction is used to instruct other web clients except the first web client to rebuild the data slice corresponding to the editing instruction to synchronize the engineering model data.

2. The engineering model data access method according to claim 1, characterized in that: Sending the updated data slice or the editing instruction to each web client includes: Determining a data synchronization method, the data synchronization method comprising: sending the editing instruction or sending an updated data slice; When the data synchronization method is to send the editing instruction, sending the editing instruction to each web client; When the data synchronization method is to send updated data slices, the updated data slices are sent to each web client.

3. The engineering model data access method according to claim 2, characterized in that: Determining a data synchronization method includes: determining the data synchronization method based on the fault tolerance of the engineering model data, the data size of the updated data slices, the data size of the editing instructions, and the reconstruction time of the web client based on the editing instructions.

4. The engineering model data access method according to claim 3, characterized in that: The data synchronization method is determined based on the fault tolerance of the engineering model data, the data size of the updated data slices, the data size of the editing instructions, and the reconstruction time of the web client based on the editing instructions, including: When the fault tolerance of the engineering model data is a first fault tolerance, determining that the data synchronization mode is to send updated data fragments; In the case where the fault tolerance of the engineering model data is the second fault tolerance, the data slice transmission duration and the editing instruction transmission duration are respectively determined based on the data size of the updated data slice and the data size of the editing instruction, and in the case where the sum of the editing instruction transmission duration and the reconstruction duration is less than the data slice transmission duration, the data synchronization mode is determined to be sending the editing instruction, and in the case where the sum of the editing instruction transmission duration and the reconstruction duration is greater than or equal to the data slice transmission duration, the data synchronization mode is determined to be sending the updated data slice; Among them, the first fault tolerance is lower than the second fault tolerance.

5. The engineering model data access method according to claim 2, characterized in that: Determine the data synchronization method, including: Determine the current number of data synchronizations between the cloud server and the web client, where the current number of data synchronizations is the number of data synchronizations per unit time between the cloud server and the web client within a preset time period before the current moment; When the current data synchronization number is greater than a preset synchronization number threshold, determining the data synchronization mode is to send the editing instruction; When the current data synchronization times is less than or equal to the preset synchronization times threshold, the data synchronization mode is determined to be sending updated data fragments.

6. A method for accessing engineering model data, characterized in that: Applied to a web client, the method comprises: Receive multiple data slices of engineering model data synchronized from the cloud server, and in the process of receiving the data slices, load the received data slices and display them locally; Receiving an edit operation on at least one data slice and generating an edit instruction corresponding to the edit operation; The editing instruction is sent to the cloud server, where the editing instruction is used to instruct the cloud server to update the data segment corresponding to the editing instruction in the engineering model data based on the editing instruction.

7. The engineering model data access method according to claim 6, characterized in that: Also includes: Receiving updated data fragments sent by the cloud server to rebuild local engineering model data; Alternatively, an editing instruction sent by the cloud server is received, and when the editing instruction sent by the cloud server is not an editing instruction uploaded locally, the local engineering model data is updated based on the editing instruction sent by the cloud server.

8. An engineering model data access device, characterized in that: Applied to a cloud server, the device comprises: The data shard synchronization module is used to divide the engineering model data into multiple data shards and synchronize the multiple data shards to each web client; an engineering model updating module, configured to receive an editing instruction for at least any data slice sent by a first web client, and update a corresponding data slice in the engineering model data based on the editing instruction, wherein the editing instruction is automatically generated after the first web client edits at least any data slice; The data slice sending module is used to send the updated data slice or the editing instruction to each web client, and the editing instruction is used to instruct other web clients except the first web client to rebuild the data slice corresponding to the editing instruction to synchronize the engineering model data.

9. An engineering model data access device, characterized in that: Applied to a web client, the device comprises: A data slice receiving module is used to receive multiple data slices of engineering model data synchronized by the cloud server, and in the process of receiving the data slices, load the received data slices and display them locally; An editing instruction generating module, used for receiving an editing operation on at least any data slice, and generating an editing instruction corresponding to the editing operation; The editing instruction sending module is used to send the editing instruction to the cloud server, and the editing instruction is used to instruct the cloud server to update the data segment corresponding to the editing instruction in the engineering model data based on the editing instruction.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, it implements the engineering model data access method according to any one of claims 1 to 5, or implements the engineering model data access method according to claim 6 or 7.

Citation Information

Cited By

  • Cloud architecture CAD (Computer Aided Design) and CAE (Computer Aided Engineering) integrated cooperation method, equipment and medium

    CN120850684A