CN113935100B - Cloud modeling method, cloud modeling device and cloud modeling system - Google Patents

Cloud modeling method, cloud modeling device and cloud modeling system Download PDF

Info

Publication number
CN113935100B
CN113935100B CN202111528432.6A CN202111528432A CN113935100B CN 113935100 B CN113935100 B CN 113935100B CN 202111528432 A CN202111528432 A CN 202111528432A CN 113935100 B CN113935100 B CN 113935100B
Authority
CN
China
Prior art keywords
modeling
center
task
development kit
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111528432.6A
Other languages
Chinese (zh)
Other versions
CN113935100A (en
Inventor
朱明�
王维高
袁松
赵见
周栓科
徐益飞
肖春红
牛秋晨
李�杰
吴卓坤
但晨
邱瑞成
孙中秋
陈洁
李心鹏
敖维林
罗吉忠
杨�一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Communication Surveying and Design Institute Co Ltd
Original Assignee
Sichuan Communication Surveying and Design Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Communication Surveying and Design Institute Co Ltd filed Critical Sichuan Communication Surveying and Design Institute Co Ltd
Priority to CN202111528432.6A priority Critical patent/CN113935100B/en
Publication of CN113935100A publication Critical patent/CN113935100A/en
Application granted granted Critical
Publication of CN113935100B publication Critical patent/CN113935100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/02CAD in a network environment, e.g. collaborative CAD or distributed simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Architecture (AREA)
  • Mathematical Analysis (AREA)
  • Structural Engineering (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Civil Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a cloud modeling method, a cloud modeling device and a cloud modeling system, belonging to the field of modeling, wherein the method comprises the following steps: the client receives the first information, the modeling parameters are sent to the task center, the task center generates modeling tasks according to the modeling parameters, the modeling tasks are distributed to the modeling engines in the idle state, the modeling center downloads modeling development packages from the plug-in centers according to the modeling parameters, modeling results are sent to the task center, and the client ends present the modeling results; according to the invention, the client, the task center, the modeling center and the plug-in center are established, so that the modular modeling service is realized, and the client deployment, training and operation and maintenance costs are reduced.

Description

Cloud modeling method, cloud modeling device and cloud modeling system
Technical Field
The invention relates to the field of modeling, in particular to a cloud modeling method, a cloud modeling device and a cloud modeling system.
Background
With the popularization of BIM, the three-dimensional modeling technology develops rapidly, and a technical ecology represented by Autodesk, Bentley and CATIA is formed. In the fields of building construction, traffic engineering, city management, ecological environment and the like, a large number of conventional three-dimensional models exist, and the three-dimensional models have the characteristics of numerous quantity, unified characteristics, adoption of general parameter design, automatic modeling conditions and the like. In order to reduce workload, the conventional three-dimensional model modeling generally adopts means of abstracting unified parameters, developing modeling plug-ins and automatically modeling in batches, and is generally called as a parameterized modeling means. The modeling efficiency can be improved to a certain extent by using parametric modeling, but for the complex engineering industry, the engineering has the characteristics of multiple professional fields, huge data amount, various data types and the like, and conventional parametric modeling software cannot realize that the data and a three-dimensional modeling result are displayed in the same scene, so that the analysis function based on cartography and geography is limited, and the development of the GIS subject makes up for the defect.
Modeling is realized by BIM modeling software, and model presentation analysis is realized by GIS software, so that the method becomes popular in the industry and technology. Conventional BIM data is processed by a data processing tool to GIS data and then released in GIS software as a service for subsequent use, but this approach severely hinders the timely presentation of the data.
Conventional modeling software often needs to be installed on a computer of a modeling worker, the conventional modeling software often poses challenges to computer performance at present, and the deployment of multiple sets of software often needs multiple sets of authorization, thereby invisibly increasing the deployment cost.
For conventional model modeling, the extracted parameters are limited and the modeling method is uniform, and conventional modeling software is deployed to modeling personnel, so that the modeling personnel need to be trained to learn to use the software, and the learning cost is increased invisibly.
In order to solve the problem of batch modeling of the conventional models, the conventional modeling software generally adopts a plug-in development mode, but the method also requires modeling personnel to contain the modeling software on a computer.
When different organizations or mechanisms are modeled in the same scene, the modeling software generally comprises a large amount of data in various expression forms, which relates to multiple disciplines such as geography, measurement, cartography and the like, the data sources are also various, and the conventional modeling software is generally difficult to carry the data.
The conventional BIM data to GIS data needs to be processed into GIS data, and then distributed into service for subsequent use, and the process is complex and long.
Disclosure of Invention
The present invention is directed to solving the above problems and providing a cloud modeling method, a cloud modeling apparatus, and a cloud modeling system.
A cloud modeling method, comprising:
the method comprises the steps that a client receives first information, wherein the first information is used for triggering task requirements;
the client sends the first information to the plug-in center, and the plug-in center judges whether a modeling method meeting task requirements exists or not after receiving the first information;
if a modeling method meeting the task requirement exists in the plugin center, calling a modeling development kit corresponding to the modeling method, and sending the modeling development kit to the client;
after receiving the modeling development kit, the client acquires a required modeling parameter template according to the modeling development kit, wherein the modeling parameter template is used for guiding a user to generate modeling parameters;
the client side sends the modeling parameters to the task center;
the task center generates a modeling task according to the modeling parameters;
the task center receives third information sent by the modeling center and determines the working state of the modeling center according to the third information;
the task center manages the tasks, classifies and sorts the tasks according to the weight;
the task center distributes modeling tasks to the modeling engines in an idle state according to the sequence;
a modeling engine in the modeling center analyzes the modeling task and acquires modeling parameters;
the modeling center downloads a modeling development kit from the plug-in center according to the modeling parameters;
the modeling engine carries out modeling according to the modeling parameters and the modeling development kit;
the modeling center converts modeling information into tiled data and archives the tiled data;
the modeling center sends the modeling result to the task center;
and the client receives second information sent by the task center and presents the modeling result, wherein the second information is used for presenting the modeling result for the client.
A cloud modeling method is used in a client, and comprises the following steps:
receiving first information, wherein the first information is used for triggering task requirements;
the first information is sent to a plug-in center, the plug-in center is used for storing a modeling development kit, and the modeling development kit is used for determining a modeling method and needed modeling parameters;
receiving a modeling development kit of the plug-in center, wherein the modeling development kit is a modeling method which meets task requirements and exists in the plug-in center;
acquiring a required modeling parameter template according to the modeling development kit, wherein the modeling parameter template is used for guiding a user to generate modeling parameters;
the modeling parameters are sent to a task center, the task center is used for generating modeling tasks according to the modeling parameters, the task center receives third information sent by the modeling center, and the working state of the modeling center is determined according to the third information; the task center manages the tasks, classifies and sorts the tasks according to the weight; the task center distributes modeling tasks to the modeling engines in an idle state according to the sequence;
receiving second information sent by the task center, wherein the second information is used for presenting a modeling result by the client; the modeling result is sent to the task center for the modeling center; a modeling center wiring modeling task and obtaining modeling parameters; the modeling parameters are used for the modeling center to download a modeling development kit from the plug-in center; and the modeling development kit is used for modeling by the modeling engine according to the modeling parameters.
A cloud modeling method is used in a task center, and comprises the following steps:
receiving modeling parameters sent by a client, wherein the modeling parameters are used for determining a modeling method; the modeling parameters are generated by guiding a user through a modeling parameter template; the modeling parameter template is obtained according to the modeling development kit after the client receives the modeling development kit; the modeling development kit is a data packet corresponding to a modeling method meeting task requirements in the plug-in center; the task requirement receives first information trigger through the client and sends the first information to the plug-in center;
generating a modeling task according to the modeling parameters;
receiving third information, wherein the third information is used for displaying the working state of the modeling center;
performing task management, classifying and sequencing according to the weight;
distributing the modeling tasks to the modeling engines in an idle state according to the sequence, wherein the modeling engines are positioned in the modeling center and analyze the modeling tasks and obtain modeling parameters; the modeling parameters are used for downloading a modeling development kit from the plug-in center in the modeling center;
receiving a modeling result generated by a modeling center, wherein the modeling result is used for modeling of a modeling engine according to modeling parameters and a modeling development kit;
and sending second information to the client, wherein the second information is used for presenting the modeling result for the client.
A cloud modeling method is used in a modeling center, and comprises the following steps:
receiving modeling tasks sent by a task center, wherein the task center is used for managing the tasks, classifying and sequencing the tasks according to weights, and distributing the modeling tasks to a modeling engine in an idle state according to the sequence; the modeling task is generated according to the modeling parameters and the modeling development kit sent by the client; the modeling parameters are generated by guiding a user through a modeling parameter template; the modeling parameter template is obtained according to the modeling development kit after the client receives the modeling development kit; the modeling development kit is a data packet corresponding to a modeling method meeting task requirements in the plug-in center; the task requirement receives first information trigger through the client and sends the first information to the plug-in center;
analyzing the modeling task to obtain modeling parameters;
downloading a modeling development kit from a plug-in center according to the modeling parameters;
selecting a modeling engine in an idle state, and modeling according to a modeling task and a modeling development kit, wherein the state of the modeling engine receives third information confirmation sent by a modeling center through a task center;
converting modeling information into tiled data for archiving;
sending the modeling result to a task center, wherein the task center is used for storing the modeling result and sending the modeling result to a client according to second information of the client, and the client is used for presenting the modeling result; .
Receiving first information sent by a client, wherein the first information is received by the client and is used for triggering a task requirement;
judging whether a modeling method meeting the task requirement exists or not according to the first information;
if the modeling method meeting the task requirement exists, calling a modeling development kit corresponding to the modeling method; the modeling development kit is used for acquiring a required modeling parameter template according to the modeling development kit after the client receives the modeling development kit, and the modeling parameter template is used for guiding a user to generate modeling parameters; the modeling parameters are used for the client to send to the task center, and the task center generates a modeling task according to the modeling parameters; the modeling task is used for analyzing the modeling engine in the modeling center after the task center distributes the modeling engine in an idle state according to the sequence and acquiring modeling parameters;
receiving calling information sent by a modeling center, wherein the calling information is used for the modeling center to call a corresponding modeling development kit from a plug-in center according to modeling parameters;
sending the corresponding modeling development kit to a modeling center, wherein the modeling development kit is used for modeling by a modeling engine according to modeling parameters and the modeling development kit, and sending a modeling result to a task center; and the modeling result is used for the client to receive second information sent by the task center and then to be presented at the client according to the second information.
In a first aspect, a cloud modeling apparatus, used in a client, includes:
the first receiving module is used for receiving first information for triggering task requirements;
the first sending module is used for sending the first information to a plug-in center, the plug-in center is used for storing a modeling development kit, and the modeling development kit is used for determining a modeling method and required modeling parameters;
the second receiving module is used for receiving a modeling development kit of the plug-in center, wherein the modeling development kit is a modeling method which meets the task requirement and exists in the plug-in center;
the first acquisition module is used for acquiring modeling parameters according to a modeling parameter template in a modeling development kit;
the second sending module is used for sending the modeling parameters to the task center, the task center is used for generating modeling tasks according to the modeling parameters, and the task center receives third information sent by the modeling center and determines the working state of the modeling center according to the third information; the task center manages the tasks, classifies and sorts the tasks according to the weight; the task center distributes modeling tasks to the modeling engines in an idle state according to the sequence;
the third receiving module is used for receiving second information sent by the task center, and the second information is used for the client to present a modeling result; the modeling result is sent to the task center for the modeling center; a modeling center wiring modeling task and obtaining modeling parameters; the modeling parameters are used for the modeling center to download a modeling development kit from the plug-in center; and the modeling development kit is used for modeling by the modeling engine according to the modeling parameters.
In a second aspect, a cloud modeling apparatus for use in a task center includes:
the fourth receiving module is used for receiving the modeling parameters sent by the client, and the modeling parameters are generated by a modeling parameter template for guiding a user; the modeling parameter template is obtained according to the modeling development kit after the client receives the modeling development kit; the modeling development kit is a data packet corresponding to a modeling method meeting task requirements in the plug-in center; the task requirement receives first information trigger through the client and sends the first information to the plug-in center;
the first generation module generates a modeling task according to the modeling parameters;
the fifth receiving module is used for receiving third information, and the third information is used for displaying the working state of the modeling center;
the third sending module is used for managing the tasks, classifying and sequencing the tasks according to the weight, distributing the modeling tasks to the modeling engine in an idle state according to the sequence, wherein the modeling engine is positioned in the modeling center, analyzes the modeling tasks and obtains modeling parameters; the modeling parameters are used for downloading a modeling development kit from the plug-in center in the modeling center;
the sixth receiving module is used for receiving a modeling result generated by the modeling center, and the modeling result is used for modeling the modeling engine according to the modeling parameters and the modeling development kit;
and the fourth sending module is used for sending second information to the client, and the second information is used for presenting the modeling result for the client.
In a third aspect, a cloud modeling apparatus for use in a modeling center includes:
the seventh receiving module is used for receiving the modeling tasks sent by the task center, and the task center is used for managing the tasks, classifying and sequencing the tasks according to the weights, and distributing the modeling tasks to the modeling engine in an idle state according to the sequence; the modeling task is generated according to the modeling parameters and the modeling development kit sent by the client; the modeling parameters are generated by guiding a user through a modeling parameter template; the modeling parameter template is obtained according to the modeling development kit after the client receives the modeling development kit; the modeling development kit is a data packet corresponding to a modeling method meeting task requirements in the plug-in center; the task requirement receives first information trigger through the client and sends the first information to the plug-in center;
the analysis module is used for analyzing the modeling task and acquiring modeling parameters;
the download module is used for downloading a modeling development kit from the plug-in center according to the modeling parameters, and the modeling development kit is used for determining a modeling method;
the selection module is used for selecting the modeling engine in an idle state and modeling according to the modeling task and the modeling development kit, and the state of the modeling engine receives the third information confirmation sent by the modeling center through the task center;
the conversion module is used for converting the modeling information into tiled data for archiving;
and the fifth sending module is used for sending the modeling result to the task center, the task center is used for storing the modeling result and sending the modeling result to the client according to the second information of the client, and the client is used for presenting the modeling result.
In a fourth aspect, a cloud modeling apparatus for use in a plug-in center includes:
the eighth receiving module is used for receiving first information sent by the client, wherein the first information is received by the client and is used for triggering task requirements;
the judging module is used for judging whether a modeling method meeting the task requirement exists according to the first information;
the first calling module is used for calling a modeling development kit corresponding to a modeling method if the modeling method meeting the task requirement exists; the modeling development kit is used for acquiring a required modeling parameter template according to the modeling development kit after the client receives the modeling development kit, and the modeling parameter template is used for guiding a user to generate modeling parameters; the modeling parameters are used for the client to send to the task center, and the task center generates a modeling task according to the modeling parameters; the modeling task is used for analyzing the modeling engine in the modeling center after the task center distributes the modeling engine in an idle state according to the sequence and acquiring modeling parameters;
the ninth receiving module is used for receiving calling information sent by the modeling center, and the calling information is used for the modeling center to call a corresponding modeling development kit from the plug-in center according to the modeling parameters;
the sixth sending module is used for sending the corresponding modeling development kit to the modeling center, wherein the modeling development kit is used for modeling the modeling engine according to the modeling parameters and the modeling development kit, and sending the modeling result to the task center; and the modeling result is used for the client to receive second information sent by the task center and then to be presented at the client according to the second information.
A cloud modeling system comprises a client, a task center, a plug-in center and a modeling center, wherein the client is connected with the task center and the plug-in center, the task center is connected with the client and the modeling center, and the modeling center is connected with the plug-in center and the task center.
The client comprises a cloud modelling means as in the first aspect, the task centre comprises a cloud modelling means as in the second aspect, the modelling centre comprises a cloud modelling means as in the third aspect, and the plug-in centre comprises a cloud modelling means as in the fourth aspect.
A cloud modelling system comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method when executing the computer program.
A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
Compared with the prior art, the method and the system realize the modular modeling service by establishing the client, the task center, the modeling center and the plug-in center, and reduce the cost of client deployment, training, operation and maintenance.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of a cloud modeling method according to the present invention.
Fig. 2 is a schematic diagram of a second embodiment according to the present invention.
Fig. 3 is a schematic diagram of a third embodiment according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not to be construed as limitations of the invention.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
In the present invention, the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
The implementation environment of the embodiment comprises a client, a task center, a modeling center and a plug-in center.
The client may be a mobile phone, a tablet computer, an e-book reader, a portable computer, a desktop computer, and the like.
The client can be provided with an application program client or a browser, and the application program is accessed through the browser. The application client and the web page client are collectively referred to as the client in the embodiments of the present invention, and are not specifically stated below.
And the client presents different modeling development packages to the user, guides the user to input modeling parameters, and submits the parameters to a task center to realize a new modeling task.
The task center can be a server, a server cluster consisting of a plurality of servers, or a cloud computing service center. And the task center is used for interacting with the client to provide data input and output functions. The method is used for managing the idle state of the modeling engine and distributing the modeling tasks, when the client submits the modeling parameters, the task center creates a new task, searches for the idle modeling engine, distributes the modeling tasks and the modeling parameters, and tracks the state of the modeling engine until the modeling is completed and the task is finished.
The modeling center can be a server, a server cluster consisting of a plurality of servers, or a cloud computing service center, a plurality of modeling engines are installed in the server, and the modeling center is used for modeling according to modeling parameters, receiving a modeling development kit and the modeling parameters, realizing automatic modeling of the modeling center, generating online data for clients to call, and reasonably managing the data.
The plug-in center can be a server, a server cluster consisting of a plurality of servers, or a cloud computing service center. The plug-in center is used for storing a modeling development kit, is mainly responsible for abstracting modeling logic and modeling parameters, and realizes modeling methods of different three-dimensional models through customized development of developers.
The task center, the modeling center and the plug-in center can have three functions simultaneously by one server, can also be matched with each other to form a team, and can be independent and provide corresponding services by different service providers.
For example: the first service provider provides task distribution service, the second service provider provides modeling service, and the third service provider provides development service of a modeling development kit.
The client end and the task center can be connected through a wireless network, and the task center, the modeling center and the plug-in center can be connected through a wireless network or a wired network.
It should be noted that, in the embodiments of the present invention, the terms referred to are:
the modeling engine is a programming control engine of a modeling center, wherein the modeling engine comprises but is not limited to Revit, CATIA, Civil, Bentley, self-research modeling software and the like which are common in the market.
Before modeling, necessary parameters (namely modeling parameters) required by modeling need to be extracted and form a form template, so that parameter values filled by a user can be conveniently collected and called by a subsequent modeling plug-in, and the process is called as an abstraction process of the modeling parameters.
In the process, two factors are generally used for influencing the modeling parameter structure, namely, the model type is different, and the modeling engine is different. In the invention, the three-dimensional model is mainly created by adopting an automatic modeling thought, so that parameters need to be structured, Json is mainly used for expressing structured parameters, Json structure examples are as follows,
model version: different modelVersion generally cooperates with different modeling logics to finish the automatic creation of the model by expressing different modeling parameters. Different modelVersion according to model class are customized by the user.
platform: different platforms are expressed, and different platforms are generally matched with different modeling logics to realize the creation of the model. Platform generally supports, CATIA, Revit, Bentley, C3D.
The params expresses a parameter set required by modeling, and is an array, and each element represents information such as names, descriptions, default values, value types, values and the like of the parameters.
For different models, the parameter expression modes are generally different, and even the same model may have different modeling parameters due to different specifications, materials, sizes, and the like.
Different modeling engines (C3D, Revit, Bentley, CATIA, etc.), each feature. For example:
NET is used for secondary development, integration is convenient, and models such as routes and roadbeds are suitable for being created.
NET is used for secondary development, and the idea of family library is adopted, so that the method is suitable for creating a small-range structure.
Bentley and CATIA were developed secondarily using C + +, where Bentley stored all computer instructions in file form, avoiding data loss, but such file-based applications would be incompatible when used with other software.
The CATIA is used as a leader of three-dimensional design, points, lines and surfaces can be used as input conditions, a template library can be rapidly established, full-parametric modeling is realized, and modeling efficiency is greatly improved in the design of special-shaped structures. In the invention, aiming at a three-dimensional model needing modeling, an engine needed by modeling is determined according to the characteristics of the three-dimensional model, and different parameters and methods are created according to the difference of the engines.
In the structured parameter, the platform field mainly identifies which modeling engine the parameter is to be used for, e.g. in the above example, the culvert is a small scale structure, and modeling using Revit is simpler. Therefore, the modeling engine is firstly determined to be Revit, the platform field is determined to be Revit, and then params parameters are determined according to different model types and the characteristics of the Revit family library, so that the abstraction of the modeling parameters is realized.
Example one
Referring to fig. 1, the present embodiment provides a cloud modeling method, which specifically includes the following steps:
101. the client receives first information, and the first information is used for triggering task requirements.
The first information is information of a modeling development kit of the plug-in center selected by a user according to task requirements. In the invention, corresponding description information is configured for the version number, and a user can select the development kit according to the name, the version and the description of the development kit.
The development packages can also be screened according to task requirements.
The client is a terminal for collecting modeling parameters and presenting modeling results according to modeling requirements by a user, and the main functions comprise the functions of determining modeling types, selecting modeling methods, inputting modeling parameters, submitting modeling parameters, displaying modeling results and the like.
The mobile terminal program can be a windows desktop program, a web program or other mobile terminal programs in form. The design of the client mainly considers the light weight of the user and the simplicity of the service function, and solves the problem of dependence on complex modeling software.
102. The client sends the first information to the plug-in center, and the plug-in center judges whether a modeling method meeting the task requirement exists after receiving the first information.
If the modeling method meeting the task requirement exists in the plug-in center, the modeling development kit corresponding to the modeling method is called, and the modeling development kit is sent to the client.
When the user selects a certain modeling method, which means that the client knows the required modeling development kit, the relevant modeling development kit in the plug-in center is proved.
103. And after receiving the modeling development kit, the client acquires modeling parameters required by modeling according to the modeling development kit.
The modeling development kit comprises abstract parameters, and the client pulls the abstract parameters and automatically generates a parameter entry form for a user to enter the modeling parameters at the client.
The input mode may be a direct manual input through an interactive interface (a display screen, etc.) at the client, or may be an acquisition mode (i.e., directly called from a database of the client).
The plug-in center abstracts modeling parameters, each modeling development kit contains batch modeling parameters, each parameter explicitly describes information such as data names, data types, default values, selectable values and data constraints, the UI displays different entry modes according to different data types, and a user enters final modeling parameters to finish parameter entry work.
104. And the client sends the modeling parameters to the task center.
After the parameter entry is completed, the user is required to simply check and confirm the data at the local client, and the program needs to check according to the data constraint condition before submitting the parameters. And after all the modeling parameters and the dependent modeling development kit information are ready, uniformly submitting the modeling parameters and the dependent modeling development kit information to a task center.
And, preferably, the client communicates with the task center, determines the task state in real time, and presents it to the user at the client until modeling is complete.
105. And the task center generates a modeling task according to the modeling parameters and puts the generated modeling task into a task pool.
106. And the task center receives third information sent by the modeling center and determines the working state of the modeling center according to the third information.
The task center supports the management of a plurality of modeling engines, and when the task is busy, the task center needs to acquire an idle modeling engine meeting the conditions at the first time and distribute the modeling task. Under the requirement, certain communication must exist between the task center and the modeling engine for solving the problem, namely the modeling center needs to send third information to the task center, and the third information needs to comprise the following functions:
the modeling center is required to be registered with the task center when being started for the first time, and the registration content comprises the type of a modeling engine and an idle state.
And heartbeat information is sent to the task center at regular time, so that the communication smoothness of the modeling center and the task center is ensured.
And monitoring the modeling task of the modeling center at all times so as to make a correct response to the modeling center.
And monitoring the idle state of the modeling center at any time, and reporting the state to the task center.
107. And the task center manages the tasks, and classifies and sorts the tasks according to the weight.
And classifying modeling tasks in the task pool according to the weight, analyzing and sequencing the weight according to the task urgency, the task complexity, the idle number of modeling engines and the like, and removing tasks which fail for multiple tasks.
108. The task center distributes modeling tasks to the modeling engines in an idle state in sequence.
If the modeling engine is in an idle state, the task center distributes the modeling task to the modeling center.
And carrying out task distribution on the modeling tasks in the task pool, wherein the distribution principle is a queue sequence, and carrying out corresponding load balancing measures according to the task condition of the modeling engine to ensure that all tasks can be executed in order.
And managing the state of the modeling engine according to the heartbeat mechanism, and performing corresponding task distribution according to the state and the type of the engine during task distribution.
The task center distributes the modeling tasks to the modeling center. The description form of the modeling task uses structured Json data, with specific structure types as follows,
the cmd field is an enumerated value, used primarily to describe the type of command. Including types create, cancel, force termination, status diagnostics, etc.
The version field is a character string type and describes the analysis mode of the command, and the json structure has different data structures according to different versions.
the type field is an enumerated value, including request, response, etc., reflecting whether the task center expects the message to be answered.
The message _ id field is a unique identifier issued by the task center, and when the same message is repeatedly sent, the field is used for ensuring uniqueness, so that the fault tolerance problems of network abnormality and message retransmission are solved.
The parameters field is a field mainly analyzed by the modeling management device, and comprises a modeling method, parameters input by a client, an acquisition mode of a development kit, requirements of a task center on results and the like.
109. And a modeling engine in the modeling center analyzes the modeling task and acquires modeling parameters.
After the client selects the modeling method, a modeling form is automatically generated, and after the user fills the modeling form, the parameters are submitted to the task center, so that each task is accompanied by the modeling parameters input by the user in the task center, the parameters are Json converted and then placed into a clientParams field, and the data structure can be directly called and used in a modeling engine.
110. And the modeling center downloads a modeling development kit from the plug-in center according to the modeling parameters.
In the Json modeling task information acquired by the modeling center, a plugin field describes relevant information of a modeling development kit, and a download address of the development kit, a matching relation between the development kit and a modeling engine, version information of the development kit and the like can be obtained.
110. And modeling by the modeling engine according to the modeling parameters and the modeling development kit.
And the modeling center converts modeling information into tiled data and archives the tiled data.
The modeling center injects the development kit, resources, parameters and the like into the modeling engine, then the modeling engine is started to carry out modeling, and the modeling engine can complete modeling tasks according to the logic of the development kit. The development kit generally comprises two parts, wherein one part is a modeling logic developed by a dependent modeling engine to generate a modeling result of the modeling engine. And the other part is to perform data format conversion on the modeling result to convert the modeling result into tiled data which can be called by a front end.
111. And the modeling center sends the modeling result to the task center.
And transmitting the converted tiled data to a task center for storage.
112. The client sends calling information to the task center.
113. And the client receives second information sent by the task center and presents the modeling result, wherein the second information is used for presenting the modeling result for the client.
After modeling is completed, the client side can fuse modeling results and other route, terrain and image information in a 3D scene for checking, and modeling errors can be checked conveniently.
Example two
The invention also comprises a cloud modeling method provided by another embodiment, which is used in a client, and the method comprises the following steps:
201. first information is received, and the first information is used for triggering task requirements.
The first information is information of a modeling development kit of the plug-in center selected by a user according to task requirements. In the invention, corresponding description information is configured for the version number, and a user can select the development kit according to the name, the version and the description of the development kit.
The development packages can also be screened according to task requirements.
The client is a terminal for collecting modeling parameters and presenting modeling results according to modeling requirements by a user, and the main functions comprise the functions of determining modeling types, selecting modeling methods, inputting modeling parameters, submitting modeling parameters, displaying modeling results and the like.
The mobile terminal program can be a windows desktop program, a web program or other mobile terminal programs in form. The design of the client mainly considers the light weight of the user and the simplicity of the service function, and solves the problem of dependence on complex modeling software.
202. And sending the first information to a plug-in center, wherein the plug-in center is used for storing a modeling development kit, and the modeling development kit is used for determining a modeling method and required modeling parameters.
If the modeling method meeting the task requirement exists in the plug-in center, the modeling development kit corresponding to the modeling method is called, and the modeling development kit is sent to the client.
When the user selects a certain modeling method, which means that the client knows the required modeling development kit, the relevant modeling development kit in the plug-in center is proved.
203. A modeling development kit for a plug-in center is received.
The modeling development kit comprises abstract parameters, and the client pulls the abstract parameters and automatically generates a parameter entry form for a user to enter the modeling parameters at the client.
204. And obtaining modeling parameters according to the modeling development kit.
The input mode may be a direct manual input through an interactive interface (a display screen, etc.) at the client, or may be an acquisition mode (i.e., directly called from a database of the client).
205. And sending the modeling parameters to a task center, wherein the task center is used for generating a modeling task and sending the modeling task to the modeling center, and the modeling center is used for receiving the modeling task of the task center and finishing modeling.
After the parameter entry is completed, the user is required to simply check and confirm the data at the local client, and the program needs to check according to the data constraint condition before submitting the parameters. And after all the modeling parameters and the dependent modeling development kit information are ready, uniformly submitting the modeling parameters and the dependent modeling development kit information to a task center.
And, preferably, the client communicates with the task center, determines the task state in real time, and presents it to the user at the client until modeling is complete.
206. And receiving second information sent by the task center, wherein the second information is used for presenting a modeling result.
After modeling is completed, the client side can fuse modeling results and other route, terrain and image information in a 3D scene for checking, and modeling errors can be checked conveniently.
EXAMPLE III
The invention also comprises a cloud modeling method provided by another embodiment, which is used in a task center, and the method comprises the following steps:
301. and receiving modeling parameters sent by the client, wherein the modeling parameters are used for determining a modeling method.
After the modeling parameters are entered, a user is required to simply check and confirm data at a local client, and a program needs to check according to data constraint conditions before submitting the parameters. And after all the modeling parameters and the dependent modeling development kit information are ready, uniformly submitting the modeling parameters and the dependent modeling development kit information to a task center.
302. And generating a modeling task.
And the task center generates a modeling task according to the modeling parameters and puts the generated modeling task into a task pool.
303. And receiving third information, wherein the third information is used for displaying the working state of the modeling center.
The task center supports the management of a plurality of modeling engines, and when the task is busy, the task center needs to acquire an idle modeling engine meeting the conditions at the first time and distribute the modeling task. Under the requirement, certain communication must exist between the task center and the modeling engine for solving the problem, namely the modeling center needs to send third information to the task center, and the third information needs to comprise the following functions:
the modeling center is required to be registered with the task center when being started for the first time, and the registration content comprises the type of a modeling engine and an idle state.
And heartbeat information is sent to the task center at regular time, so that the communication smoothness of the modeling center and the task center is ensured.
And monitoring the modeling task of the modeling center at all times so as to make a correct response to the modeling center.
And monitoring the idle state of the modeling center at any time, and reporting the state to the task center.
304. And performing task management, classifying and sequencing according to the weight.
And classifying modeling tasks in the task pool according to the weight, analyzing and sequencing the weight according to the task urgency, the task complexity, the idle number of modeling engines and the like, and removing tasks which fail for multiple tasks.
305. And sending the modeling task to a modeling center, wherein the modeling center is used for enabling a modeling engine to perform modeling according to the modeling task.
306. And receiving a modeling result generated by the modeling center.
307. And sending second information to the client, wherein the second information is used for presenting the modeling result.
Example four
The invention also comprises a cloud modeling method provided by another embodiment, which is used for a modeling center, and the method comprises the following steps:
401. and receiving the modeling task sent by the task center, wherein the task center is used for receiving the modeling parameters and the modeling development kit sent by the client and generating the modeling task.
If the modeling engine is in an idle state, the task center distributes the modeling task to the modeling center.
And carrying out task distribution on the modeling tasks in the task pool, wherein the distribution principle is a queue sequence, and carrying out corresponding load balancing measures according to the task condition of the modeling engine to ensure that all tasks can be executed in order.
And managing the state of the modeling engine according to the heartbeat mechanism, and performing corresponding task distribution according to the state and the type of the engine during task distribution.
402. And analyzing the modeling task to obtain modeling parameters.
After the client selects the modeling method, a modeling form is automatically generated, and after the user fills the modeling form, the parameters are submitted to the task center, so that each task is accompanied by the modeling parameters input by the user in the task center, the parameters are Json converted and then placed into a clientParams field, and the data structure can be directly called and used in a modeling engine.
403. And downloading a modeling development kit from the plug-in center according to the modeling parameters, wherein the modeling development kit is used for determining a modeling method.
In the Json modeling task information acquired by the modeling center, a plugin field describes relevant information of a modeling development kit, and a download address of the development kit, a matching relation between the development kit and a modeling engine, version information of the development kit and the like can be obtained.
404. And selecting a modeling engine in an idle state, and modeling according to the modeling task and the modeling development kit.
And converting the modeling information into tiled data for archiving.
The modeling center injects the development kit, resources, parameters and the like into the modeling engine, then the modeling engine is started to carry out modeling, and the modeling engine can complete modeling tasks according to the logic of the development kit. The development kit generally comprises two parts, wherein one part is a modeling logic developed by a dependent modeling engine to generate a modeling result of the modeling engine. And the other part is to perform data format conversion on the modeling result to convert the modeling result into tiled data which can be called by a front end.
405. And sending the modeling result to a task center, wherein the task center is used for storing the modeling result and sending the modeling result to a client according to the calling of the client, and the client is used for presenting the modeling result.
EXAMPLE five
The invention also comprises a cloud modeling method provided by another embodiment, which is used in the plug-in center, and the method comprises the following steps:
501. and receiving first information sent by the client, wherein the first information is used for triggering task requirements.
The first information is information of a modeling development kit of the plug-in center selected by a user according to task requirements. In the invention, corresponding description information is configured for the version number, and a user can select the development kit according to the name, the version and the description of the development kit.
The development packages can also be screened according to task requirements.
502. And judging whether a modeling method meeting the task requirement exists or not according to the first information.
And if the modeling method meeting the task requirement exists, calling a modeling development kit corresponding to the modeling method.
If the modeling method meeting the task requirement exists in the plug-in center, the modeling development kit corresponding to the modeling method is called, and the modeling development kit is sent to the client.
When the user selects a certain modeling method, which means that the client knows the required modeling development kit, the relevant modeling development kit in the plug-in center is proved.
503. The modeling development kit is sent to the client, the client is used for obtaining modeling parameters according to the modeling development kit and sending the modeling parameters to the task center, the task center is used for generating modeling tasks and sending the modeling tasks to the modeling center, and the modeling center is used for receiving the modeling tasks of the task center and completing modeling
504. And receiving calling information sent by the modeling center, wherein the calling information is used for the modeling center to call the corresponding modeling development kit according to the modeling parameters.
And sending the corresponding modeling development kit to a modeling center.
In the Json modeling task information acquired by the modeling center, a plugin field describes relevant information of a modeling development kit, and a download address of the development kit, a matching relation between the development kit and a modeling engine, version information of the development kit and the like can be obtained.
And the modeling center downloads a corresponding modeling development kit from the plug-in center.
If a modeling method meeting the task requirement does not exist, a corresponding modeling method needs to be developed, and the development of the corresponding modeling method comprises the following steps:
and determining a modeling engine required by modeling according to the characteristics of the three-dimensional model.
And creating a modeling method and modeling parameters according to the determined modeling engine.
Parameters required for modeling are extracted and formed into a form template.
The modeling plug-in is a main logic part of the three-dimensional model creation process, and the development input parameters of the modeling plug-in are structured modeling parameters and a determined modeling engine. The modeling plug-in has the main functions of receiving modeling parameters, realizing analysis, and generating a modeling result by being called and executed in a specified modeling engine through a self-defined modeling logic. The main influencing factors of the modeling plug-in are two differences of modeling engines and two differences of modeling parameters, a logic compiling technical route is generally determined according to the differences of the modeling engines, and a specific modeling mode is compiled according to the differences of the modeling parameters.
When the modeling device is Revit, because Revit supports NET secondary development, the modeling plug-in is mainly written by using C # language, the input Json structured data is deserialized by the C # language in the invention, necessary parameters required by modeling can be obtained, a family library is created according to the characteristics of the specified three-dimensional model, and creation logic is written to realize the creation of the three-dimensional model. When the models to be built are bridges and tunnels, the modeling parameters of general abstractions are different, and the difference of the modeling parameters causes different written logics. And when the modeling device is CATIA, the CATIA mainly supports the secondary development based on the CATA, so the modeling plug-in is mainly written in C + + language, necessary modeling parameters are obtained by deserializing input Json structural parameters, a template is created, creation logic is written, and the creation of a three-dimensional model is realized.
Because the compiling of the modeling logic and the abstraction process of the modeling parameters are generally responsible for programmers, the programmers need to pack and submit the modeling logic and the abstracted modeling parameters after the programs are developed, and the submitted development kit naturally needs to have the functions of adding, deleting, modifying and the like, so that the development kit can be well managed. Aiming at the development kit, the invention needs to research and develop software with corresponding functions of addition, deletion, modification and the like so as to assist in realizing the management work of the development kit.
EXAMPLE six
As shown in fig. 2, the difference between the present embodiment and the first embodiment is that a plug-in center is deleted in the present embodiment, that is, the present embodiment can directly perform modeling through a modeling center in real time, and is not implemented by calling a modeling development kit, and the method thereof is as follows:
601. the client receives first information, and the first information is used for triggering task requirements.
The client is a terminal for collecting modeling parameters and presenting modeling results according to modeling requirements by a user, and the main functions comprise the functions of determining modeling types, selecting modeling methods, inputting modeling parameters, submitting modeling parameters, displaying modeling results and the like.
The mobile terminal program can be a windows desktop program, a web program or other mobile terminal programs in form. The design of the client mainly considers the light weight of the user and the simplicity of the service function, and solves the problem of dependence on complex modeling software.
602. And obtaining modeling parameters required by modeling.
The modeling development kit comprises abstract parameters, and the client pulls the abstract parameters and automatically generates a parameter entry form for a user to enter the modeling parameters at the client.
The input mode may be a direct manual input through an interactive interface (a display screen, etc.) at the client, or may be an acquisition mode (i.e., directly called from a database of the client).
603. And the client sends the modeling parameters to the task center.
After the parameter entry is completed, the user is required to simply check and confirm the data at the local client, and the program needs to check according to the data constraint condition before submitting the parameters. And after all the modeling parameters and the dependent modeling development kit information are ready, uniformly submitting the modeling parameters and the dependent modeling development kit information to a task center.
And, preferably, the client communicates with the task center, determines the task state in real time, and presents it to the user at the client until modeling is complete.
604. And the task center generates a modeling task according to the modeling parameters and puts the generated modeling task into a task pool.
605. And the task center receives third information sent by the modeling center and determines the working state of the modeling center according to the third information.
The task center supports the management of a plurality of modeling engines, and when the task is busy, the task center needs to acquire an idle modeling engine meeting the conditions at the first time and distribute the modeling task. Under the requirement, certain communication must exist between the task center and the modeling engine for solving the problem, namely the modeling center needs to send third information to the task center, and the third information needs to comprise the following functions:
the modeling center is required to be registered with the task center when being started for the first time, and the registration content comprises the type of a modeling engine and an idle state.
And heartbeat information is sent to the task center at regular time, so that the communication smoothness of the modeling center and the task center is ensured.
And monitoring the modeling task of the modeling center at all times so as to make a correct response to the modeling center.
And monitoring the idle state of the modeling center at any time, and reporting the state to the task center.
606. And the task center manages the tasks, and classifies and sorts the tasks according to the weight.
And classifying modeling tasks in the task pool according to the weight, analyzing and sequencing the weight according to the task urgency, the task complexity, the idle number of modeling engines and the like, and removing tasks which fail for multiple tasks.
607. The task center distributes modeling tasks to the modeling engines in an idle state in sequence.
If the modeling engine is in an idle state, the task center distributes the modeling task to the modeling center.
And carrying out task distribution on the modeling tasks in the task pool, wherein the distribution principle is a queue sequence, and carrying out corresponding load balancing measures according to the task condition of the modeling engine to ensure that all tasks can be executed in order.
And managing the state of the modeling engine according to the heartbeat mechanism, and performing corresponding task distribution according to the state and the type of the engine during task distribution.
The task center distributes the modeling tasks to the modeling center. The modeling task is described in the form of structured Json data, and the cmd field is an enumerated value and is mainly used for describing the type of the command. Including types create, cancel, force termination, status diagnostics, etc.
The version field is a character string type and describes the analysis mode of the command, and the json structure has different data structures according to different versions.
the type field is an enumerated value, including request, response, etc., reflecting whether the task center expects the message to be answered.
The message _ id field is a unique identifier issued by the task center, and when the same message is repeatedly sent, the field is used for ensuring uniqueness, so that the fault tolerance problems of network abnormality and message retransmission are solved.
The parameters field is a field mainly analyzed by the modeling management device, and comprises a modeling method, parameters input by a client, an acquisition mode of a development kit, requirements of a task center on results and the like.
608. And a modeling engine in the modeling center analyzes the modeling task and acquires modeling parameters.
After the client selects the modeling method, a modeling form is automatically generated, and after the user fills the modeling form, the parameters are submitted to the task center, so that each task is accompanied by the modeling parameters input by the user in the task center, the parameters are Json converted and then placed into a clientParams field, and the data structure can be directly called and used in a modeling engine.
609. And the modeling engine carries out modeling according to the modeling parameters.
And the modeling center converts modeling information into tiled data and archives the tiled data.
The modeling center injects the development kit, resources, parameters and the like into the modeling engine, then the modeling engine is started to carry out modeling, and the modeling engine can complete modeling tasks according to the logic of the development kit. The development kit generally comprises two parts, wherein one part is a modeling logic developed by a dependent modeling engine to generate a modeling result of the modeling engine. And the other part is to perform data format conversion on the modeling result to convert the modeling result into tiled data which can be called by a front end.
610. And the modeling center sends the modeling result to the task center.
And transmitting the converted tiled data to a task center for storage.
611. The client sends calling information to the task center.
And the client receives second information sent by the task center and presents the modeling result, wherein the second information is used for presenting the modeling result for the client.
After modeling is completed, the client side can fuse modeling results and other route, terrain and image information in a 3D scene for checking, and modeling errors can be checked conveniently.
EXAMPLE seven
As shown in fig. 3, the difference between the present embodiment and the first embodiment is that the task center is omitted in the present embodiment, that is, the modeling operation is implemented by the client directly communicating with the modeling center.
701. The client receives first information, and the first information is used for triggering task requirements.
The first information is information of a modeling development kit of the plug-in center selected by a user according to task requirements. In the invention, corresponding description information is configured for the version number, and a user can select the development kit according to the name, the version and the description of the development kit.
The development packages can also be screened according to task requirements.
The client is a terminal for collecting modeling parameters and presenting modeling results according to modeling requirements by a user, and the main functions comprise the functions of determining modeling types, selecting modeling methods, inputting modeling parameters, submitting modeling parameters, displaying modeling results and the like.
The mobile terminal program can be a windows desktop program, a web program or other mobile terminal programs in form. The design of the client mainly considers the light weight of the user and the simplicity of the service function, and solves the problem of dependence on complex modeling software.
702. The client sends the first information to the plug-in center, and the plug-in center judges whether a modeling method meeting the task requirement exists after receiving the first information.
If the modeling method meeting the task requirement exists in the plug-in center, the modeling development kit corresponding to the modeling method is called, and the modeling development kit is sent to the client.
When the user selects a certain modeling method, which means that the client knows the required modeling development kit, the relevant modeling development kit in the plug-in center is proved.
703. And after receiving the modeling development kit, the client acquires modeling parameters required by modeling according to the modeling development kit.
The modeling development kit comprises abstract parameters, and the client pulls the abstract parameters and automatically generates a parameter entry form for a user to enter the modeling parameters at the client.
The input mode may be a direct manual input through an interactive interface (a display screen, etc.) at the client, or may be an acquisition mode (i.e., directly called from a database of the client).
The plug-in center abstracts modeling parameters, each modeling development kit contains batch modeling parameters, each parameter explicitly describes information such as data names, data types, default values, selectable values and data constraints, the UI displays different entry modes according to different data types, and a user enters final modeling parameters to finish parameter entry work.
704. And the client sends the modeling parameters to the modeling center.
After the parameter entry is completed, the user is required to simply check and confirm the data at the local client, and the program needs to check according to the data constraint condition before submitting the parameters. And after all the modeling parameters and the dependent modeling development kit information are ready, uniformly submitting the modeling parameters and the dependent modeling development kit information to a modeling center.
And, preferably, the client communicates with the modeling center, determines the task status in real time, and presents it to the user at the client until modeling is complete.
705. The modeling center distributes modeling tasks to the modeling engines in an idle state.
If the modeling engine is in an idle state, the task center distributes the modeling task to the modeling center.
706. A modeling engine within the modeling center obtains modeling parameters.
After the client selects the modeling method, a modeling form is automatically generated, after the user fills the modeling form, the parameters are submitted to a modeling center, each task is accompanied by modeling parameters input by the user, and the parameters are Json-transformed and then placed into a clientParams field.
The data structure can be directly called and used in the modeling engine.
707. And the modeling center downloads a modeling development kit from the plug-in center according to the modeling parameters.
In the Json modeling task information acquired by the modeling center, a plugin field describes relevant information of a modeling development kit.
From the above structure, the download address of the development kit, the matching relationship between the development kit and the modeling engine, the version information of the development kit, and the like can be obtained.
110. And modeling by the modeling engine according to the modeling parameters and the modeling development kit.
And the modeling center converts modeling information into tiled data and archives the tiled data.
The modeling center injects the development kit, resources, parameters and the like into the modeling engine, then the modeling engine is started to carry out modeling, and the modeling engine can complete modeling tasks according to the logic of the development kit. The development kit generally comprises two parts, wherein one part is a modeling logic developed by a dependent modeling engine to generate a modeling result of the modeling engine. And the other part is to perform data format conversion on the modeling result to convert the modeling result into tiled data which can be called by a front end.
111. And the modeling center sends the modeling result to the client and presents the modeling result.
After modeling is completed, the client side can fuse modeling results and other route, terrain and image information in a 3D scene for checking, and modeling errors can be checked conveniently.
Example eight
According to the methods of the above embodiments, embodiments are provided for the structure of a client, a task center, a modeling center, and a plug-in center.
In a first aspect, a cloud modeling apparatus for use in a client, the apparatus includes:
the first receiving module is used for receiving first information for triggering task requirements.
The first sending module is used for sending the first information to the plug-in center, the plug-in center is used for storing a modeling development kit, and the modeling development kit is used for determining a modeling method and required modeling parameters.
And the second receiving module is used for receiving the modeling development kit of the plug-in center.
And the first acquisition module is used for acquiring modeling parameters according to the modeling development kit.
And the second sending module is used for sending the modeling parameters to the task center, the task center is used for generating a modeling task and sending the modeling task to the modeling center, and the modeling center is used for receiving the modeling task of the task center and completing modeling.
And the third receiving module is used for receiving second information sent by the task center, and the second information is used for presenting a modeling result.
In a second aspect, a cloud modeling apparatus for use in a task center, the apparatus comprising:
and the fourth receiving module is used for receiving the modeling parameters sent by the client, and the modeling parameters are used for determining a modeling method.
And the first generation module is used for generating a modeling task.
And the fifth receiving module is used for receiving third information, and the third information is used for displaying the working state of the modeling center.
And the third sending module is used for sending the modeling task to the modeling center, and the modeling center is used for starting a modeling engine to perform modeling according to the modeling task.
And the sixth receiving module is used for receiving the modeling result generated by the modeling center.
And the fourth sending module is used for sending second information to the client, and the second information is used for presenting a modeling result.
Further, the task center further comprises:
and the first confirming module is used for confirming the working state of the modeling center according to the third information.
And the task management module is used for managing the tasks, classifying and sequencing the tasks according to the weight.
And the task sending module is used for distributing the modeling tasks to the modeling center according to the sequence.
In a third aspect, a cloud modeling apparatus for use in a modeling center, the apparatus comprising:
and the task center is used for receiving the modeling parameters and the modeling development kit sent by the client and generating the modeling task.
And the analysis module is used for analyzing the modeling task and acquiring modeling parameters.
And the downloading module is used for downloading a modeling development kit from the plug-in center according to the modeling parameters, and the modeling development kit is used for determining the modeling method.
And the selection module is used for selecting the modeling engine in an idle state and modeling according to the modeling task and the modeling development kit.
And the conversion module is used for converting the modeling information into tiled data for archiving.
And the fifth sending module is used for sending the modeling result to the task center, the task center is used for storing the modeling result and sending the modeling result to the client according to the calling of the client, and the client is used for presenting the modeling result.
Preferably, the modeling center further comprises:
and the starting registration module is used for starting the modeling center and registering the modeling center with the task center, and the registration content comprises the type of the modeling engine and the idle state.
In a fourth aspect, a cloud modeling apparatus for use in a plug-in center, the apparatus comprising:
and the eighth receiving module is used for receiving the first information sent by the client, and the first information is used for triggering the task requirement.
And the judging module is used for judging whether a modeling method meeting the task requirement exists according to the first information.
And the first calling module calls a modeling development kit corresponding to the modeling method if the modeling method meeting the task requirement exists.
A sixth sending module, configured to send the modeling development kit to the client, where the client is configured to obtain the modeling parameters according to the modeling development kit and send the modeling parameters to the task center, the task center is configured to generate the modeling task and send the modeling task to the modeling center, and the modeling center is configured to receive the modeling task from the task center and complete the modeling
And the ninth receiving module is used for receiving the calling information sent by the modeling center, and the calling information is used for the modeling center to call the corresponding modeling development kit according to the modeling parameters.
And the sixth sending module sends the corresponding modeling development kit to the modeling center.
And the modeling module is used for developing a corresponding modeling method when no modeling method meeting the task requirement exists.
Example nine
A cloud modeling system comprises a client, a task center, a plug-in center and a modeling center, wherein the client is connected with the task center and the plug-in center, the task center is connected with the client and the modeling center, and the modeling center is connected with the plug-in center and the task center.
The client comprises a cloud modelling means as in the first aspect, the task centre comprises a cloud modelling means as in the second aspect, the modelling centre comprises a cloud modelling means as in the third aspect, and the plug-in centre comprises a cloud modelling means as in the fourth aspect.
A cloud modelling system comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method when executing the computer program.
The memory may be used to store software programs and modules, and the processor may execute various functional applications of the terminal and data processing by operating the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, and the like), and the like. The storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing.
In the description herein, reference to the description of the terms "one embodiment/mode," "some embodiments/modes," "example," "specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment/mode or example is included in at least one embodiment/mode or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to be the same embodiment/mode or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments/modes or examples. Furthermore, the various embodiments/aspects or examples and features of the various embodiments/aspects or examples described in this specification can be combined and combined by one skilled in the art without conflicting therewith.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
It will be understood by those skilled in the art that the foregoing embodiments are merely for clarity of description and are not intended to limit the scope of the invention. It will be apparent to those skilled in the art that other variations or modifications may be made on the above invention and still be within the scope of the invention.

Claims (10)

1. A cloud modeling method, comprising:
the method comprises the steps that a client receives first information, wherein the first information is used for triggering task requirements;
the client sends the first information to the plug-in center, and the plug-in center judges whether a modeling method meeting task requirements exists or not after receiving the first information;
if a modeling method meeting the task requirement exists in the plugin center, calling a modeling development kit corresponding to the modeling method, and sending the modeling development kit to the client;
after receiving the modeling development kit, the client acquires a required modeling parameter template according to the modeling development kit, wherein the modeling parameter template is used for guiding a user to generate modeling parameters;
the client side sends the modeling parameters to the task center;
the task center generates a modeling task according to the modeling parameters;
the task center receives third information sent by the modeling center and determines the working state of the modeling center according to the third information;
the task center manages the tasks, classifies and sorts the tasks according to the weight;
the task center distributes modeling tasks to the modeling engines in an idle state according to the sequence;
a modeling engine in the modeling center analyzes the modeling task and acquires modeling parameters;
the modeling center downloads a modeling development kit from the plug-in center according to the modeling parameters;
the modeling engine carries out modeling according to the modeling parameters and the modeling development kit;
the modeling center converts modeling information into tiled data and archives the tiled data;
the modeling center sends the modeling result to the task center;
and the client receives second information sent by the task center and presents the modeling result, wherein the second information is used for presenting the modeling result for the client.
2. A cloud modeling method is used in a client, and the method comprises the following steps:
receiving first information, wherein the first information is used for triggering task requirements;
the first information is sent to a plug-in center, the plug-in center is used for storing a modeling development kit, and the modeling development kit is used for determining a modeling method and needed modeling parameters;
receiving a modeling development kit of the plug-in center, wherein the modeling development kit is a modeling method which meets task requirements and exists in the plug-in center;
acquiring a required modeling parameter template according to the modeling development kit, wherein the modeling parameter template is used for guiding a user to generate modeling parameters;
the modeling parameters are sent to a task center, the task center is used for generating modeling tasks according to the modeling parameters, the task center receives third information sent by the modeling center, and the working state of the modeling center is determined according to the third information; the task center manages the tasks, classifies and sorts the tasks according to the weight; the task center distributes modeling tasks to the modeling engines in an idle state according to the sequence;
receiving second information sent by the task center, wherein the second information is used for presenting a modeling result by the client; the modeling result is sent to the task center for the modeling center; a modeling center wiring modeling task and obtaining modeling parameters; the modeling parameters are used for the modeling center to download a modeling development kit from the plug-in center; and the modeling development kit is used for modeling by the modeling engine according to the modeling parameters.
3. A cloud modeling method is used in a task center, and comprises the following steps:
receiving modeling parameters sent by a client, wherein the modeling parameters are used for determining a modeling method; the modeling parameters are generated by guiding a user through a modeling parameter template; the modeling parameter template is obtained according to the modeling development kit after the client receives the modeling development kit; the modeling development kit is a data packet corresponding to a modeling method meeting task requirements in the plug-in center; the task requirement receives first information trigger through the client and sends the first information to the plug-in center;
generating a modeling task according to the modeling parameters;
receiving third information, wherein the third information is used for displaying the working state of the modeling center;
performing task management, classifying and sequencing according to the weight;
distributing the modeling tasks to the modeling engines in an idle state according to the sequence, wherein the modeling engines are positioned in the modeling center and analyze the modeling tasks and obtain modeling parameters; the modeling parameters are used for downloading a modeling development kit from the plug-in center in the modeling center;
receiving a modeling result generated by a modeling center, wherein the modeling result is used for modeling of a modeling engine according to modeling parameters and a modeling development kit;
and sending second information to the client, wherein the second information is used for presenting the modeling result for the client.
4. A cloud modeling method is used in a modeling center, and comprises the following steps:
receiving modeling tasks sent by a task center, wherein the task center is used for managing the tasks, classifying and sequencing the tasks according to weights, and distributing the modeling tasks to a modeling engine in an idle state according to the sequence; the modeling task is generated according to the modeling parameters and the modeling development kit sent by the client; the modeling parameters are generated by guiding a user through a modeling parameter template; the modeling parameter template is obtained according to the modeling development kit after the client receives the modeling development kit; the modeling development kit is a data packet corresponding to a modeling method meeting task requirements in the plug-in center; the task requirement receives first information trigger through the client and sends the first information to the plug-in center;
analyzing the modeling task to obtain modeling parameters;
downloading a modeling development kit from a plug-in center according to the modeling parameters;
selecting a modeling engine in an idle state, and modeling according to a modeling task and a modeling development kit, wherein the state of the modeling engine receives third information confirmation sent by a modeling center through a task center;
converting modeling information into tiled data for archiving;
and sending the modeling result to a task center, wherein the task center is used for storing the modeling result and sending the modeling result to the client according to the second information of the client, and the client is used for presenting the modeling result.
5. A cloud modeling method is used in a plug-in center, and comprises the following steps:
receiving first information sent by a client, wherein the first information is received by the client and is used for triggering a task requirement;
judging whether a modeling method meeting the task requirement exists or not according to the first information;
if the modeling method meeting the task requirement exists, calling a modeling development kit corresponding to the modeling method; the modeling development kit is used for acquiring a required modeling parameter template according to the modeling development kit after the client receives the modeling development kit, and the modeling parameter template is used for guiding a user to generate modeling parameters; the modeling parameters are used for the client to send to the task center, and the task center generates a modeling task according to the modeling parameters; the modeling task is used for analyzing the modeling engine in the modeling center after the task center distributes the modeling engine in an idle state according to the sequence and acquiring modeling parameters;
receiving calling information sent by a modeling center, wherein the calling information is used for the modeling center to call a corresponding modeling development kit from a plug-in center according to modeling parameters;
sending the corresponding modeling development kit to a modeling center, wherein the modeling development kit is used for modeling by a modeling engine according to modeling parameters and the modeling development kit, and sending a modeling result to a task center; and the modeling result is used for the client to receive second information sent by the task center and then to be presented at the client according to the second information.
6. A cloud modeling apparatus, for use in a client, the apparatus comprising:
the first receiving module is used for receiving first information for triggering task requirements;
the first sending module is used for sending the first information to a plug-in center, the plug-in center is used for storing a modeling development kit, and the modeling development kit is used for determining a modeling method and required modeling parameters;
the second receiving module is used for receiving a modeling development kit of the plug-in center, wherein the modeling development kit is a modeling method which meets the task requirement and exists in the plug-in center;
the first acquisition module is used for acquiring modeling parameters according to a modeling parameter template in a modeling development kit;
the second sending module is used for sending the modeling parameters to the task center, the task center is used for generating modeling tasks according to the modeling parameters, and the task center receives third information sent by the modeling center and determines the working state of the modeling center according to the third information; the task center manages the tasks, classifies and sorts the tasks according to the weight; the task center distributes modeling tasks to the modeling engines in an idle state according to the sequence;
the third receiving module is used for receiving second information sent by the task center, and the second information is used for the client to present a modeling result; the modeling result is sent to the task center for the modeling center; a modeling center wiring modeling task and obtaining modeling parameters; the modeling parameters are used for the modeling center to download a modeling development kit from the plug-in center; and the modeling development kit is used for modeling by the modeling engine according to the modeling parameters.
7. A cloud modeling apparatus for use in a task center, the apparatus comprising:
the fourth receiving module is used for receiving the modeling parameters sent by the client, and the modeling parameters are generated by a modeling parameter template for guiding a user; the modeling parameter template is obtained according to the modeling development kit after the client receives the modeling development kit; the modeling development kit is a data packet corresponding to a modeling method meeting task requirements in the plug-in center; the task requirement receives first information trigger through the client and sends the first information to the plug-in center;
the first generation module generates a modeling task according to the modeling parameters;
the fifth receiving module is used for receiving third information, and the third information is used for displaying the working state of the modeling center;
the third sending module is used for managing the tasks, classifying and sequencing the tasks according to the weight, distributing the modeling tasks to the modeling engine in an idle state according to the sequence, wherein the modeling engine is positioned in the modeling center, analyzes the modeling tasks and obtains modeling parameters; the modeling parameters are used for downloading a modeling development kit from the plug-in center in the modeling center;
the sixth receiving module is used for receiving a modeling result generated by the modeling center, and the modeling result is used for modeling the modeling engine according to the modeling parameters and the modeling development kit;
and the fourth sending module is used for sending second information to the client, and the second information is used for presenting the modeling result for the client.
8. A cloud modeling apparatus, for use in a modeling center, the apparatus comprising:
the seventh receiving module is used for receiving the modeling tasks sent by the task center, and the task center is used for managing the tasks, classifying and sequencing the tasks according to the weights, and distributing the modeling tasks to the modeling engine in an idle state according to the sequence; the modeling task is generated according to the modeling parameters and the modeling development kit sent by the client; the modeling parameters are generated by guiding a user through a modeling parameter template; the modeling parameter template is obtained according to the modeling development kit after the client receives the modeling development kit; the modeling development kit is a data packet corresponding to a modeling method meeting task requirements in the plug-in center; the task requirement receives first information trigger through the client and sends the first information to the plug-in center;
the analysis module is used for analyzing the modeling task and acquiring modeling parameters;
the download module is used for downloading a modeling development kit from the plug-in center according to the modeling parameters, and the modeling development kit is used for determining a modeling method;
the selection module is used for selecting the modeling engine in an idle state and modeling according to the modeling task and the modeling development kit, and the state of the modeling engine receives the third information confirmation sent by the modeling center through the task center;
the conversion module is used for converting the modeling information into tiled data for archiving;
and the fifth sending module is used for sending the modeling result to the task center, the task center is used for storing the modeling result and sending the modeling result to the client according to the second information of the client, and the client is used for presenting the modeling result.
9. A cloud modeling apparatus for use in a plug-in center, the apparatus comprising:
the eighth receiving module is used for receiving first information sent by the client, wherein the first information is received by the client and is used for triggering task requirements;
the judging module is used for judging whether a modeling method meeting the task requirement exists according to the first information;
the first calling module is used for calling a modeling development kit corresponding to a modeling method if the modeling method meeting the task requirement exists; the modeling development kit is used for acquiring a required modeling parameter template according to the modeling development kit after the client receives the modeling development kit, and the modeling parameter template is used for guiding a user to generate modeling parameters; the modeling parameters are used for the client to send to the task center, and the task center generates a modeling task according to the modeling parameters; the modeling task is used for analyzing the modeling engine in the modeling center after the task center distributes the modeling engine in an idle state according to the sequence and acquiring modeling parameters;
the ninth receiving module is used for receiving calling information sent by the modeling center, and the calling information is used for the modeling center to call a corresponding modeling development kit from the plug-in center according to the modeling parameters;
the sixth sending module is used for sending the corresponding modeling development kit to the modeling center, wherein the modeling development kit is used for modeling the modeling engine according to the modeling parameters and the modeling development kit, and sending the modeling result to the task center; and the modeling result is used for the client to receive second information sent by the task center and then to be presented at the client according to the second information.
10. A cloud modeling system is characterized by comprising a client, a task center, a plug-in center and a modeling center, wherein the client is connected with the task center and the plug-in center;
the client comprises a cloud modelling arrangement as claimed in claim 6, the task centre comprises a cloud modelling arrangement as claimed in claim 7, the modelling centre comprises a cloud modelling arrangement as claimed in claim 8, and the plug-in centre comprises a cloud modelling arrangement as claimed in claim 9.
CN202111528432.6A 2021-12-15 2021-12-15 Cloud modeling method, cloud modeling device and cloud modeling system Active CN113935100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111528432.6A CN113935100B (en) 2021-12-15 2021-12-15 Cloud modeling method, cloud modeling device and cloud modeling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111528432.6A CN113935100B (en) 2021-12-15 2021-12-15 Cloud modeling method, cloud modeling device and cloud modeling system

Publications (2)

Publication Number Publication Date
CN113935100A CN113935100A (en) 2022-01-14
CN113935100B true CN113935100B (en) 2022-03-01

Family

ID=79289127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111528432.6A Active CN113935100B (en) 2021-12-15 2021-12-15 Cloud modeling method, cloud modeling device and cloud modeling system

Country Status (1)

Country Link
CN (1) CN113935100B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130166602A1 (en) * 2011-12-22 2013-06-27 Sap Ag Cloud-enabled business object modeling
CN106251071A (en) * 2016-07-27 2016-12-21 浙江大学滨海产业技术研究院 A kind of cloud workflow implementing method supporting multiple engine
CN111125585A (en) * 2019-12-24 2020-05-08 武汉珞珈灵智科技有限公司 Visualization method and system for Web-end three-dimensional model
CN111709081A (en) * 2020-06-22 2020-09-25 苏州柝创智慧建筑科技有限公司 Construction cost control system based on BIM technology
CN112347212A (en) * 2020-11-06 2021-02-09 中铁第一勘察设计院集团有限公司 Railway cloud GIS platform for BIM application and building method thereof
CN112559486A (en) * 2020-11-11 2021-03-26 国网江苏省电力有限公司信息通信分公司 Data center unified task scheduling management system
CN112651071B (en) * 2020-12-25 2021-08-10 四川省交通勘察设计研究院有限公司 Automatic modeling method and system for BIM (building information modeling) of tunnel

Also Published As

Publication number Publication date
CN113935100A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
US6634008B1 (en) Methodology server based integrated circuit design
US10678666B1 (en) Method and system for implementing automated test and retest procedures in a virtual test environment
US8589861B2 (en) Code generation
US20060041539A1 (en) Method and apparatus for organizing, visualizing and using measured or modeled system statistics
US20080120602A1 (en) Test Automation for Business Applications
US20170003939A1 (en) Code generation
Graciano Neto et al. Stimuli-SoS: a model-based approach to derive stimuli generators for simulations of systems-of-systems software architectures
CN111784108B (en) Modeling method and device of main data management platform
CN113505082B (en) Application program testing method and device
CN111459621B (en) Cloud simulation integration and scheduling method and device, computer equipment and storage medium
CN112639734A (en) Simulation task scheduling method, execution method, simulation implementation method and device
CN112926122A (en) Building construction pre-assembly method of pre-assembled three-dimensional effect graph based on BIM technology
CN110825395B (en) Multi-plug-in layered deployment system, device and medium
CN112363953A (en) Interface test case generation method and system based on crawler technology and rule engine
CN116266117A (en) Model conversion method, computer program product, storage medium, and electronic device
CN113935100B (en) Cloud modeling method, cloud modeling device and cloud modeling system
CN116719735A (en) Test case generation method and device
CN115794400A (en) Memory management method, device and equipment of deep learning model and storage medium
CN115357300A (en) Batch packaging and step-by-step loading system and method for associalbundle resources
CN112363700A (en) Cooperative creation method and device of intelligent contract, computer equipment and storage medium
EP1565813A1 (en) Code generation
CN112036576A (en) Data processing method and device based on data form and electronic equipment
CN113037582A (en) Network Function Virtualization (NFV) test method, device and system
CN117076335B (en) Model test method, system, medium and electronic equipment
Tang Towards the use of a Computing Ontology: A curricula management system proposal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant