System, method and equipment for simulating operation of engineering equipment
By introducing a hierarchical architecture of local backend and public cloud backend in the crane lifting method system, the problem that existing systems cannot efficiently and accurately simulate crane lifting is solved, and more complex and accurate simulation results are achieved, and safety and efficiency are improved. .
Patent Information
- Application Number
- CN202411577323.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2044-11-06
AI Technical Summary
The existing crane lifting system cannot efficiently and accurately simulate the real lifting situation, especially when complex 3D models and large data volumes are involved, browser support is limited.
By introducing a hierarchical architecture of local backend and public cloud backend in the system, the first client calls the public cloud backend to perform simulation calculation of the first type of project, while the second client calls the local backend to perform simulation calculation of the second type of project. And ensure the consistency of data through data synchronization mechanism.
It realizes more accurate and complex engineering simulation, improves the accuracy and efficiency of lifting simulation, and at the same time, through permission authorization and data update functions, network security, data security and permission security are ensured, and security and permission management costs are reduced.
Smart Images

Figure CN119494108A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a system, method and device for simulating the operation of engineering equipment. Background Art
[0002] With the rapid development of infrastructure and the Internet, cranes are an important part of infrastructure, and the call for accurate simulation of crane hoisting trajectories is getting louder and louder. Based on this demand, many crane hoisting method systems have appeared on the market.
[0003] At present, the commonly used crane hoisting method calculation system is a hoisting method system with the back end deployed in the public cloud and the front end in the browser. This hoisting method system has the following problems:
[0004] Simulating crane hoisting requires powerful 3D model loading and rendering capabilities. For example, for hoisting involving deflection, the browser has limited support for this aspect due to the complexity of the 3D model and the large amount of data, and is unable to efficiently and accurately simulate the actual hoisting situation.
[0005] Therefore, the related technology lacks a hoisting method system that can achieve more accurate, complex and realistic crane hoisting simulation. Summary of the invention
[0006] The purpose of this application is to provide a system, method and equipment for simulating the operation of engineering equipment, so as to solve the problem that the hoisting method system of crane hoisting simulation in the related technology cannot efficiently and accurately simulate the real hoisting situation.
[0007] In a first aspect, the present application provides a system for simulating the operation of engineering equipment, the system comprising a first client, a public cloud backend, a second client, and a local backend; the first client and the local backend are in different networks, and the second client and the local backend are in the same network, wherein:
[0008] The first client is used to call the public cloud backend to simulate the first type of project;
[0009] The public cloud backend is used to perform authentication according to the authority data, and execute simulation calculation of the first type of engineering after the authentication is passed; and, when a preset condition is met, send the authority data and the data to be updated to the local backend, so that the local backend and the public cloud backend perform data synchronization; the authority data at least includes the functional authority data of the account and the functional authority data of the engineering equipment, and the data to be updated at least includes the engineering equipment data;
[0010] The second client is used to call the local background to simulate the second type of project;
[0011] The local backend is used to synchronize data according to the data to be updated sent by the public cloud backend; and to perform authentication according to the authority data sent by the public cloud backend, and execute the second type of engineering simulation calculation after the authentication is passed.
[0012] In a possible implementation, the first type of project is a project whose complexity does not reach a preset threshold; and the second type of project is a project whose complexity reaches a preset threshold.
[0013] In a possible implementation manner, the public cloud backend is specifically used for:
[0014] Receive a first data query instruction sent by the first client, where the first data query instruction includes first account information and model information of a first model engineering device;
[0015] In combination with the first account information, the model information of the first model engineering equipment and the permission data, query the account function permission of the first account and the function permission of the first model engineering equipment;
[0016] If it is determined that the first account has the data query function permission for the first model of engineering equipment, it means that the authentication is successful;
[0017] And, the public cloud backend is also used for:
[0018] After authentication is passed, the target data of the first model engineering equipment is obtained from the public cloud background database and returned to the first client.
[0019] In a possible implementation manner, the local backend is specifically used for:
[0020] Receive a second data query instruction sent by the second client, where the second data query instruction includes second account information and model information of a second model engineering device;
[0021] Calling a public cloud backend probe to analyze whether the public cloud backend service is normal;
[0022] If the public cloud backend service is normal, combining the second account information, the model information of the second model engineering equipment and the permission data, calling the public cloud backend interface to query the account function permission of the second account and the function permission of the second model engineering equipment;
[0023] If it is determined that the second account has the data query function permission for the second type of engineering equipment, it means that the authentication is successful;
[0024] And, the local backend is also used for:
[0025] After authentication is passed, the target data of the second model engineering equipment is obtained from the public cloud background database.
[0026] In a possible implementation manner, the local backend is further used for:
[0027] If the public cloud service is abnormal, query the account function permission of the second account and the function permission of the second model engineering equipment in the local background database in combination with the second account information, the model information of the second model engineering equipment and the permission data;
[0028] If it is determined that the second account has the data query function permission for the second type of engineering equipment, it means that the authentication is successful;
[0029] After the authentication is passed, the target data of the second model engineering equipment is obtained from the local background database and returned to the second client.
[0030] In a possible implementation manner, the local backend is further used for:
[0031] Receiving engineering equipment data of any model uploaded by the second client, and calling the public cloud background probe to analyze whether the public cloud background service is normal;
[0032] If the public cloud service is normal, determine whether the uploaded engineering equipment model exists in the public cloud backend database;
[0033] If it exists, delete the engineering equipment data of any model;
[0034] If it does not exist, the engineering equipment data of any model is imported into the local background database.
[0035] In a possible implementation manner, the local backend is further used for:
[0036] When the public cloud backend service is normal, call the public cloud interface to upload the engineering equipment model in the local backend database, so that the public cloud backend determines the engineering equipment model to be updated according to the uploaded engineering equipment model;
[0037] When the public cloud backend service is abnormal, the duration of the abnormal public cloud backend service is determined, and if the duration exceeds a preset threshold, the account function authority of the current account is suspended.
[0038] In a possible implementation manner, the public cloud backend is specifically used for:
[0039] Determine the engineering equipment model to be updated based on the engineering equipment model authorization record, engineering equipment model synchronization failure log, engineering equipment model update record of the local background, and engineering equipment model update record of the public cloud background;
[0040] Calling a local background probe to analyze whether the local background service is normal;
[0041] If the local backend service is abnormal, the data update will be stopped and the data synchronization status will be written to the public cloud synchronization log;
[0042] If the local background service is normal, the data to be updated corresponding to the engineering equipment model to be updated is sent to the local background, so that the local background performs data update, and the data update situation is recorded in the local synchronization log.
[0043] In a second aspect, the present application provides a method for simulating the operation of engineering equipment, the method comprising:
[0044] Authentication is performed through the public cloud background according to the authority data, and simulation calculation of the first type of engineering is performed after the authentication is passed; and when the preset conditions are met, the authority data and the data to be updated are sent to the local background so that the local background and the public cloud background perform data synchronization; the authority data at least includes the functional authority data of the account and the functional authority data of the engineering equipment, and the data to be updated at least includes the engineering equipment data;
[0045] Receiving the data to be updated sent by the public cloud background through the local background for data synchronization; and performing authentication according to the permission data sent by the public cloud background, and executing the second type of engineering simulation calculation after the authentication is passed; the first type of engineering is a project whose complexity does not reach a preset threshold; the second type of engineering is a project whose complexity reaches a preset threshold.
[0046] In a third aspect, the present application provides a device for simulating the operation of engineering equipment, the device comprising:
[0047] The public cloud backend calling module is used to perform authentication according to the authority data through the public cloud backend, and execute the simulation calculation of the first type of engineering after the authentication is passed; and when the preset conditions are met, the authority data and the data to be updated are sent to the local backend to synchronize the data between the local backend and the public cloud backend; the authority data at least includes the functional authority data of the account and the functional authority data of the engineering equipment, and the data to be updated at least includes the engineering equipment data;
[0048] The local background calling module is used to receive the data to be updated sent by the public cloud background through the local background for data synchronization; and to perform authentication according to the permission data sent by the public cloud background, and after the authentication is passed, perform the second type of engineering simulation calculation; the first type of engineering is the engineering whose complexity does not reach the preset threshold; the second type of engineering is the engineering whose complexity reaches the preset threshold
[0049] In a fourth aspect, the present application provides an electronic device, including:
[0050] A memory for storing program instructions;
[0051] The processor is used to call the program instructions stored in the memory, and execute the method for simulating the operation of engineering equipment described in any one of the second aspects according to the obtained program instructions.
[0052] In a fifth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by an electronic device, the electronic device executes a method for simulating the operation of engineering equipment as described in any one of the second aspects above.
[0053] In a sixth aspect, the present application provides a computer program product, comprising: a computer program code, which, when executed on an electronic device, enables the electronic device to execute a method for simulating the operation of engineering equipment as described in any one of the second aspects above.
[0054] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0055] In the embodiment of the present application, both the local background and the public cloud background provide simulation calculation functions. The local background can provide more accurate and complex engineering simulations; the public cloud background provides users with permission authorization and data update functions, ensuring network security, data security and permission security, and reducing server security and permission security costs.
[0056] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings introduced below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0058] Figure 1 A schematic diagram of the overall architecture of a system for simulating the operation of engineering equipment provided in an embodiment of the present application;
[0059] Figure 2A schematic diagram of a process for inquiring about lifting weight table data by a first client calling a public cloud backend provided in an embodiment of the present application;
[0060] Figure 3 A schematic diagram of a process for invoking a local backend to query a hoisting trajectory point by a second client according to an embodiment of the present application;
[0061] Figure 4 A schematic diagram of the structure of an apparatus 400 for simulating the operation of engineering equipment provided in an embodiment of the present application;
[0062] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Among them, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0064] Furthermore, in the description of the embodiments of the present application, unless otherwise specified, “ / ” means or. For example, A / B can mean A or B. The “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0065] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more.
[0066] Below, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
[0067] Multiple logins: Multiple people can log in to the same account at the same time.
[0068] Deflection refers to the degree of deformation of an object after being subjected to a certain load.
[0069] Localized deployment: The program is deployed to the server specified by the customer and is only used by the customer.
[0070] Probe interface: used to determine whether the calling service is a normal interface.
[0071] With the rapid development of infrastructure and the Internet, cranes are an important part of infrastructure, and the call for accurate simulation of crane hoisting trajectories is getting louder and louder. Based on this demand, many crane hoisting method systems have appeared on the market.
[0072] At present, the commonly used crane hoisting method calculation system is a hoisting method system with the back end deployed in the public cloud and the front end in the browser. This hoisting method system has the following problems:
[0073] Simulating crane hoisting requires powerful 3D model loading and rendering capabilities. For example, for hoisting involving deflection, the browser has limited support for this aspect due to the complexity of the 3D model and the large amount of data, and is unable to efficiently and accurately simulate the actual hoisting situation.
[0074] Therefore, the related technology lacks a hoisting method system that can achieve more accurate, complex and realistic crane hoisting simulation.
[0075] In view of this, the present application provides a system, method and equipment for simulating the operation of engineering equipment, so as to solve the problem that the hoisting method system of crane hoisting simulation in the related technology cannot efficiently and accurately simulate the real hoisting situation.
[0076] The inventive concept of the present application can be summarized as: calling the public cloud background through the first client to simulate the first type of project, and calling the local background through the second client to simulate the second type of project, and sending the permission data and the data to be updated to the local background through the public cloud background, so that the local background and the public cloud background can synchronize data. In the embodiment of the present application, both the local background and the public cloud background provide simulation calculation functions, and the local background can provide more accurate and complex engineering simulations; the public cloud background provides users with permission authorization and data update functions, which ensures network security, data security and permission security, and reduces server security and permission security costs.
[0077] After introducing the main inventive ideas of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In specific implementation, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
[0078] In order to facilitate understanding of the system for simulating the operation of engineering equipment provided in the embodiment of the present application, it is further explained below with reference to the accompanying drawings.
[0079] In a possible implementation, the present application provides a system for simulating the operation of engineering equipment, the overall framework structure of which is as follows: Figure 1 As shown, the system includes a first client, a public cloud backend, a second client and a local backend; the first client and the local backend are in different networks, and the second client and the local backend are in the same network, wherein:
[0080] The first client is used to call the public cloud backend to simulate the first type of project. The first client can be a browser PC terminal, a mini program, a mobile terminal, etc.
[0081] The public cloud backend is used to perform authentication according to the authority data, and perform simulation calculations of the first type of engineering after the authentication is passed; and, when the preset conditions are met, send the authority data and the data to be updated to the local backend so that the local backend and the public cloud backend perform data synchronization. The authority data at least includes the functional authority data of the account and the functional authority data of the engineering equipment, and the data to be updated at least includes the engineering equipment data.
[0082] The second client is used to call the local background to simulate the second type of project.
[0083] The local backend is used to synchronize data according to the data to be updated sent by the public cloud backend; and to perform authentication according to the permission data sent by the public cloud backend, and execute the second type of engineering simulation calculation after the authentication is passed.
[0084] In one possible implementation, the first type of project is a project whose complexity does not reach a preset threshold, such as a single-machine lifting simulation; the second type of project is a project whose complexity reaches a preset threshold, such as a lifting simulation involving deflection, a dual-machine lifting simulation, etc.
[0085] In a possible implementation, the public cloud backend is specifically used for:
[0086] Receive a first data query instruction sent by a first client, where the first data query instruction includes first account information and model information of a first model engineering equipment;
[0087] In combination with the first account information, the model information and the permission data of the first model engineering equipment, query the account function permission of the first account and the function permission of the first model engineering equipment;
[0088] If it is determined that the first account has the data query function permission for the first type of engineering equipment, it means that the authentication is successful;
[0089] In addition, the public cloud backend is also used for:
[0090] After the authentication is passed, the target data of the first model engineering equipment is obtained from the public cloud background database and returned to the first client.
[0091] Take the first client calling the public cloud backend to query the lifting weight table data as an example. The overall process is as follows: Figure 2 As shown, including the following:
[0092] In step 201, the first client sends the first account information and the model information of the first model engineering equipment to the public cloud backend;
[0093] In step 202, the public cloud backend checks whether the account user has the functional authority to query the lifting weight table according to the first account information, and directly returns if the user does not have the authority;
[0094] In step 203, if the account user has the functional authority to query the lifting weight table, the public cloud backend checks whether the account user has the functional authority to query the lifting weight table of the first model engineering equipment according to the model information of the first model engineering equipment, and directly returns if the user does not have the authority;
[0095] In step 204, if it is determined that the first account has the data query function permission for the first model engineering equipment, it means that the authentication is passed, and the public cloud backend checks whether the lifting weight table data of the first model engineering equipment is stored in the public cloud backend database, and directly returns the data to the first client if it exists;
[0096] In step 205, if the public cloud backend database does not contain the lifting weight table data of the first model engineering equipment, the local backend address of the account user is queried according to the tenant information in the first account information, and the process jumps to the local backend, and the local backend is called to obtain the lifting weight table data of the first model engineering equipment and return it to the first client.
[0097] The above-mentioned public cloud backend is deployed in the public cloud environment of the service provider. Account information and device model information are stored in the public cloud backend. When the account user needs to query data and perform engineering simulation calculations, authentication is performed through the public cloud backend, so that the user's authority can be well controlled, fully ensuring network security and data security; and the first client is directly connected to the public cloud backend, which can realize the customer's external development functions.
[0098] In a possible implementation manner, the local backend is specifically used for:
[0099] Receive a second data query instruction sent by a second client, where the second data query instruction includes second account information and model information of a second model engineering equipment;
[0100] Call the public cloud backend probe to analyze whether the public cloud backend service is normal;
[0101] If the public cloud backend service is normal, the public cloud backend interface is called to query the account function permissions of the second account and the function permissions of the second model engineering equipment in combination with the second account information, the model information and permission data of the second model engineering equipment;
[0102] If it is determined that the second account has the data query function permission for the second type of engineering equipment, it means that the authentication is successful;
[0103] After authentication is passed, the target data of the second model engineering equipment is obtained from the public cloud background database.
[0104] In another possible implementation, the local backend is further used for:
[0105] If the public cloud service is abnormal, the account function permission of the second account and the function permission of the second model engineering equipment are queried in the local background database in combination with the second account information, the model information and permission data of the second model engineering equipment; wherein the local background database contains the permission data;
[0106] If it is determined that the second account has the data query function permission for the second type of engineering equipment, it means that the authentication is successful;
[0107] After the authentication is passed, the target data of the second model engineering equipment is obtained from the local background database and returned to the second client.
[0108] Take the second client calling the local backend to query the lifting trajectory point as an example. The overall process is as follows: Figure 3 As shown, including the following:
[0109] In step 301, the second client sends the second account information and the model information of the second model engineering equipment for which the hoisting trajectory point is to be calculated to the public cloud backend and the local backend;
[0110] In step 302, the local backend calls the public cloud backend probe interface to determine whether the public cloud backend service is normal and whether the network is unobstructed.
[0111] In step 303, if the public cloud backend service is normal, the public cloud interface is called to query the account function permission of the second account and the function permission of the second model engineering device in combination with the second account information, the model information and permission data of the second model engineering device;
[0112] In step 304, if it is determined that the second account has the data query function permission for the second type of engineering equipment, it means that the authentication is passed, and the hoisting trajectory points of the second type of engineering equipment are obtained from the public cloud backend database; if the authentication is not passed, it is directly returned;
[0113] In step 305, if the public cloud backend service is abnormal, the account function authority of the second account and the function authority of the second model engineering equipment are queried in the local backend database in combination with the second account information, the model information and the authority data of the second model engineering equipment;
[0114] In step 306, if it is determined that the second account has the data query function permission for the second type of engineering equipment, it means that the authentication is passed, and the hoisting trajectory points of the second type of engineering equipment are obtained from the local background database; if the authentication is not passed, it is directly returned;
[0115] It should be added that if the target data does not exist in the local backend database or the public cloud backend database, empty data is directly returned to the second client. If the local backend database has the model data and the public cloud backend service is normal, the public cloud interface is called to query whether the model data in the local backend database is the latest data. If it is not the latest data, the public cloud backend is called to obtain the latest target data and returned to the second client through the local backend.
[0116] The above-mentioned local background saves the customer-authorized device model data. The local background can assist the public cloud background in authority and data control, and save some account information and engineering simulation calculation functions. The second client and the local background are in the same local area network, and the interface speed will be very fast. When the network is poor or there is no network, the local background can temporarily replace the public cloud background.
[0117] In a possible implementation, the local backend is further used for:
[0118] Receive engineering equipment data of any model uploaded by the second client, and call the public cloud background probe to analyze whether the public cloud background service is normal;
[0119] If the public cloud service is normal, determine whether the uploaded engineering equipment model exists in the public cloud backend database;
[0120] If it exists, delete the engineering equipment data of any model;
[0121] If it does not exist, import the engineering equipment data of any model into the local background database.
[0122] Taking the example of using the second client to call the local backend to query the lifting trajectory point, the process is as follows:
[0123] The second client prepares data according to the template and uploads it to the local backend; the local backend calls the public cloud backend probe to analyze whether the public cloud backend service is normal. If the public cloud service is normal, the relationship between the customer and the engineering equipment model is uploaded to determine whether the model is our company's model. If it is our company's model, the import is refused to prevent the customer from tampering with the equipment model data privately. If it is not our company's model, it is directly imported into the customer's local database; if the public cloud service is abnormal, it is directly imported into the local database.
[0124] In a possible implementation, the application sends the data to be updated to the local backend to synchronize data between the local backend and the public cloud backend. The public cloud backend is specifically used for:
[0125] Determine the engineering equipment model to be updated based on the engineering equipment model authorization record, engineering equipment model synchronization failure log, engineering equipment model update record of the local background, and engineering equipment model update record of the public cloud background;
[0126] Call the local background probe to analyze whether the local background service is normal;
[0127] If the local backend service is abnormal, the data update will be stopped and the data synchronization status will be written to the public cloud synchronization log;
[0128] If the local background service is normal, the data to be updated corresponding to the engineering equipment model to be updated will be sent to the local background, so that the local background will update the data, and the data update will be recorded in the local synchronization log.
[0129] The embodiment of the present application realizes data synchronization by sending the data to be updated to the local background, and sets the execution time of data synchronization to the early morning to avoid affecting the normal work of the account user.
[0130] In a possible implementation, the local backend is further used for:
[0131] When the public cloud backend service is normal, call the public cloud interface to upload the engineering equipment model in the local backend database, so that the public cloud backend determines the engineering equipment model to be updated according to the uploaded engineering equipment model;
[0132] When the public cloud backend service is abnormal, determine the duration of the abnormal public cloud backend service. If the duration exceeds the preset threshold, suspend the account function permissions of the current account. It should be noted that the local backend encrypts the permission data sent by the public cloud backend with a key and stores it in the customer's local backend database; and encrypts the duration with a key and stores it in the customer's local backend database to prevent customers from modifying data without authorization.
[0133] The above implementation obtains the public cloud background service status and uploads the local background information, which facilitates the timely update of the local background data. By monitoring the duration of the abnormal public cloud background service, the supervision function of the local background is increased to prevent the local background data from being leaked, and avoid the problems of loss of control of permissions and data loss.
[0134] To sum up, in the embodiments of the present application, both the local background and the public cloud background provide simulation calculation functions. The local background can provide more accurate and complex engineering simulations; the public cloud background provides users with permission authorization and data update functions, ensuring network security, data security and permission security, and reducing server security and permission security costs.
[0135] Based on the same inventive concept, the present application provides a method for simulating the operation of engineering equipment, the method comprising:
[0136] Authentication is performed through the public cloud background according to the authority data, and simulation calculation of the first type of engineering is performed after the authentication is passed; and when the preset conditions are met, the authority data and the data to be updated are sent to the local background so that the local background and the public cloud background perform data synchronization; the authority data at least includes the functional authority data of the account and the functional authority data of the engineering equipment, and the data to be updated at least includes the engineering equipment data;
[0137] Receiving the data to be updated sent by the public cloud background through the local background for data synchronization; and performing authentication according to the permission data sent by the public cloud background, and executing the second type of engineering simulation calculation after the authentication is passed; the first type of engineering is a project whose complexity does not reach a preset threshold; the second type of engineering is a project whose complexity reaches a preset threshold.
[0138] Based on the same inventive concept, the present application provides a device for simulating the operation of engineering equipment, such as Figure 4 As shown, the device 400 includes:
[0139] The public cloud backend calling module 401 is used to perform authentication according to the authority data through the public cloud backend, and execute the simulation calculation of the first type of engineering after the authentication is passed; and when the preset conditions are met, the authority data and the data to be updated are sent to the local backend to synchronize the data between the local backend and the public cloud backend; the authority data at least includes the functional authority data of the account and the functional authority data of the engineering equipment, and the data to be updated at least includes the engineering equipment data;
[0140] The local background calling module 402 is used to receive the data to be updated sent by the public cloud background through the local background for data synchronization; and to perform authentication according to the permission data sent by the public cloud background, and after the authentication is passed, execute the second type of engineering simulation calculation; the first type of project is a project whose complexity does not reach the preset threshold; the second type of project is a project whose complexity reaches the preset threshold.
[0141] Refer to the following Figure 5 The electronic device 130 according to this embodiment of the present application is described. Figure 5 The electronic device 130 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0142] like Figure 5 As shown, the electronic device 130 is in the form of a general electronic device. The components of the electronic device 130 may include but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).
[0143] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
[0144] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .
[0145] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0146] The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboards, pointing devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 130, and / or communicate with any device that enables the electronic device 130 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 135. Furthermore, the electronic device 130 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 via a bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0147] In an exemplary embodiment, the present application further provides a computer-readable storage medium including instructions, such as a memory 132 including instructions, and the above instructions can be executed by a processor 131 of an electronic device 130 to complete the above method of simulating the operation of an engineering device. Optionally, the computer-readable storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0148] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by the processor 131, the method for simulating the operation of engineering equipment as provided in the present application is implemented.
[0149] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0150] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0151] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0152] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0153] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A system for simulating the operation of engineering equipment, characterized in that: The system includes a first client, a public cloud backend, a second client and a local backend; the first client and the local backend are in different networks, and the second client and the local backend are in the same network, wherein: The first client is used to call the public cloud backend to simulate the first type of project; The public cloud backend is used to perform authentication according to the authority data, and execute simulation calculation of the first type of engineering after the authentication is passed; and, when a preset condition is met, send the authority data and the data to be updated to the local backend, so that the local backend and the public cloud backend perform data synchronization; the authority data at least includes the functional authority data of the account and the functional authority data of the engineering equipment, and the data to be updated at least includes the engineering equipment data; The second client is used to call the local background to simulate the second type of project; The local backend is used to synchronize data according to the data to be updated sent by the public cloud backend; and to perform authentication according to the authority data sent by the public cloud backend, and execute the second type of engineering simulation calculation after the authentication is passed.
2. The system according to claim 1, characterized in that The first type of project is a project whose complexity does not reach a preset threshold; the second type of project is a project whose complexity reaches a preset threshold.
3. The system according to claim 1, characterized in that The public cloud backend is specifically used for: Receive a first data query instruction sent by the first client, where the first data query instruction includes first account information and model information of a first model engineering device; In combination with the first account information, the model information of the first model engineering equipment and the permission data, query the account function permission of the first account and the function permission of the first model engineering equipment; If it is determined that the first account has the data query function permission for the first model of engineering equipment, it means that the authentication is successful; And, the public cloud backend is also used for: After authentication is passed, the target data of the first model engineering equipment is obtained from the public cloud background database and returned to the first client.
4. The system according to claim 1, characterized in that The local backend is specifically used for: Receive a second data query instruction sent by the second client, where the second data query instruction includes second account information and model information of a second model engineering device; Calling a public cloud backend probe to analyze whether the public cloud backend service is normal; If the public cloud backend service is normal, combining the second account information, the model information of the second model engineering equipment and the permission data, calling the public cloud backend interface to query the account function permission of the second account and the function permission of the second model engineering equipment; If it is determined that the second account has the data query function permission for the second type of engineering equipment, it means that the authentication is successful; And, the local backend is also used for: After authentication is passed, the target data of the second model engineering equipment is obtained from the public cloud background database.
5. The system according to claim 1, characterized in that The local backend is also used for: If the public cloud service is abnormal, query the account function permission of the second account and the function permission of the second model engineering equipment in the local background database in combination with the second account information, the model information of the second model engineering equipment and the permission data; If it is determined that the second account has the data query function permission for the second type of engineering equipment, it means that the authentication is successful; After the authentication is passed, the target data of the second model engineering equipment is obtained from the local background database and returned to the second client.
6. The system according to claim 1, characterized in that The local backend is also used for: Receiving engineering equipment data of any model uploaded by the second client, and calling the public cloud background probe to analyze whether the public cloud background service is normal; If the public cloud service is normal, determine whether the uploaded engineering equipment model exists in the public cloud backend database; If it exists, delete the engineering equipment data of any model; If it does not exist, the engineering equipment data of any model is imported into the local background database.
7. The system according to claim 1, characterized in that The local backend is also used for: When the public cloud backend service is normal, call the public cloud interface to upload the engineering equipment model in the local backend database, so that the public cloud backend determines the engineering equipment model to be updated according to the uploaded engineering equipment model; When the public cloud backend service is abnormal, the duration of the abnormal public cloud backend service is determined, and if the duration exceeds a preset threshold, the account function authority of the current account is suspended.
8. The system according to claim 1, characterized in that The public cloud backend is specifically used for: Determine the engineering equipment model to be updated based on the engineering equipment model authorization record, engineering equipment model synchronization failure log, engineering equipment model update record of the local background, and engineering equipment model update record of the public cloud background; Calling a local background probe to analyze whether the local background service is normal; If the local backend service is abnormal, the data update will be stopped and the data synchronization status will be written to the public cloud synchronization log; If the local background service is normal, the data to be updated corresponding to the engineering equipment model to be updated is sent to the local background, so that the local background performs data update, and the data update situation is recorded in the local synchronization log.
9. A method for simulating the operation of engineering equipment, characterized in that: The method comprises: Authentication is performed through the public cloud background according to the authority data, and simulation calculation of the first type of engineering is performed after the authentication is passed; and when the preset conditions are met, the authority data and the data to be updated are sent to the local background so that the local background and the public cloud background perform data synchronization; the authority data at least includes the functional authority data of the account and the functional authority data of the engineering equipment, and the data to be updated at least includes the engineering equipment data; Receiving the data to be updated sent by the public cloud background through the local background for data synchronization; and performing authentication according to the permission data sent by the public cloud background, and executing the second type of engineering simulation calculation after the authentication is passed; the first type of engineering is a project whose complexity does not reach a preset threshold; the second type of engineering is a project whose complexity reaches a preset threshold.
10. An electronic device, characterized in that: include: A memory for storing program instructions; The processor is used to call the program instructions stored in the memory and execute the method of simulating the operation of engineering equipment as described in claim 9 according to the obtained program instructions.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by an electronic device, the electronic device executes the method for simulating the operation of an engineering device as claimed in claim 9.
12. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is executed on an electronic device, the electronic device executes the method for simulating the operation of an engineering device as claimed in claim 9.
Citation Information
Patent Citations
Prefabricated-building intelligent lifting system based on BIM and virtual reality technology and method
CN108287933A
Cloud application login method and device, cloud equipment, client and system
CN112104623A
Login method and system based on cloud application instance, and related equipment
CN113595968A
Fabricated building design method based on BIM technology
CN116882009A
Security management system for data computing
CN117725569A