CN104794310B - A kind of method and device for obtaining structural mechanics data - Google Patents

A kind of method and device for obtaining structural mechanics data Download PDF

Info

Publication number
CN104794310B
CN104794310B CN201510244205.9A CN201510244205A CN104794310B CN 104794310 B CN104794310 B CN 104794310B CN 201510244205 A CN201510244205 A CN 201510244205A CN 104794310 B CN104794310 B CN 104794310B
Authority
CN
China
Prior art keywords
data
structural mechanics
data processing
processing priority
input parameter
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
CN201510244205.9A
Other languages
Chinese (zh)
Other versions
CN104794310A (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.)
Glodon Polytron Technologies Inc
Original Assignee
GLODON SOFTWARE 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 GLODON SOFTWARE Co Ltd filed Critical GLODON SOFTWARE Co Ltd
Priority to CN201510244205.9A priority Critical patent/CN104794310B/en
Publication of CN104794310A publication Critical patent/CN104794310A/en
Application granted granted Critical
Publication of CN104794310B publication Critical patent/CN104794310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of method and devices for obtaining structural mechanics data, are related to network communication technology field, applied to server end, wherein, the described method includes:Receive the structural mechanics data acquisition request that client is sent;The SM included according to the structural mechanics data acquisition requestT, determine to solve the SMDEach structural mechanics data solving model data processing priority;According to the PS that the structural mechanics data acquisition request includes, according to the order of identified data processing priority from high to low, data processing is carried out using corresponding structural mechanics data solving model, obtains the SMD;According to the SMDStructural mechanics data, which are sent, to the client obtains result.The calculating speed for obtaining structural mechanics data can be improved using scheme provided in an embodiment of the present invention, and then improves user experience.

Description

A kind of method and device for obtaining structural mechanics data
Technical field
The present invention relates to network communication technology field, more particularly to a kind of method and device for obtaining structural mechanics data.
Background technology
In architectural engineering, cost-effective building is built, except to strengthen to links in work progress Management outside, it is also necessary to have the rational building structure of design, with reduction is built to greatest extent on the premise of construction quality is ensured Build up this.For this purpose, Architectural Structure Design teacher are in the design process, various structural mechanics data need to be obtained, to design rationally Building structure.
It, generally need to be by special since calculation amount is larger when obtaining various structural mechanics data according to existing building data Industry application obtains.When obtaining various structural mechanics data by professional application in the prior art, usually user is needed to be known according to specialty Know, first build structural mechanics data solving model in application end, then input structure parameter, above-mentioned afterwards applies current On subscriber computer, according to structural mechanics data solving model and structure parameter, corresponding structural mechanics data are obtained.It should When obtaining structural mechanics data in aforementioned manners, user only needs correctly to build structural mechanics data solving model, without user Various structural mechanics data can be obtained by carrying out a large amount of calculate in person.However, aforesaid way is limited to the performance of subscriber computer, When subscriber computer performance is low, due to computing resource deficiency etc., it is slow to easily lead to calculating speed, influences user experience.
The content of the invention
The embodiment of the invention discloses a kind of method and device for obtaining structural mechanics data, to improve acquisition structural mechanics The calculating speed of data improves user experience.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of method for obtaining structural mechanics data, applied to clothes Business device end, the described method includes:
The structural mechanics data acquisition request that client is sent is received, wherein, in the structural mechanics data acquisition request Including:Object construction Mechanical Data SMDType SMT, it is input by user for solving the SMDEach structural mechanics data The input parameter set PS of solving model;
The SM included according to the structural mechanics data acquisition requestT, determine to solve the SMDIt is each The data processing priority of structural mechanics data solving model;
The first input parameter of the structural mechanics data solving model of Nth data processing priority is selected from the PS, Wherein, N=1, N represent the series of data processing priority, and data processing priority is reduced with the increase of N;
According to selected first input parameter, solved using the corresponding structural mechanics data of Nth data processing priority Model carries out data processing;
The value for setting N is 2;
The second input ginseng of the corresponding structural mechanics data solving model of Nth data processing priority is selected from the PS Number;
It is asked according to selected second input parameter structural mechanics data corresponding with N-1 data processing priority is used Solve model carry out data processing as a result, being carried out using the corresponding structural mechanics data solving model of Nth data processing priority Data processing;
Judge the N whether be less than definite data processing priority maximum series;
If being less than, the value of the N is updated for N+1, returns to the selection Nth data processing priority pair from the PS The step of second input parameter of the structural mechanics data solving model answered;
If being not less than, according to using the corresponding structural mechanics data solving model of Nth data processing priority into line number According to processing as a result, obtaining the SMD
According to the SMDStructural mechanics data, which are sent, to the client obtains result.
In a specific embodiment of the present invention, the N-1 data processing priority corresponds to multiple structural mechanics Data solving model;
The structural mechanics number corresponding with N-1 data processing priority is used according to selected second input parameter According to solving model progress data processing as a result, using the corresponding structural mechanics data solving model of Nth data processing priority Data processing is carried out, including:
From the result that data processing is carried out using the corresponding structural mechanics data solving model of N-1 data processing priority In, the minimum corresponding data processed result of structural mechanics data solving model of selection safety coefficient;
According to selected second input parameter and selected data processed result, using Nth data processing priority Corresponding structural mechanics data solving model carries out data processing.
In a specific embodiment of the present invention, the PS is:
It is input by user, according to the storage of default agreement, for solving the SMDEach structural mechanics data solve The input parameter set of model;Or
It is input by user, be stored in it is in the file of preset kind, for solving the SMDEach structural mechanics data The input parameter set of solving model.
It is described according to the SM in a specific embodiment of the present inventionDStructural mechanics is sent to the client Data obtain as a result, including:
According to the SMDGenerate graphic file;
Structural mechanics data comprising generated graphic file are obtained into result and are sent to the client.
It is described to obtain the structural mechanics data comprising generated graphic file in a specific embodiment of the present invention It obtains result and is sent to the client, including:
According to default agreement, the structural mechanics data comprising generated graphic file are obtained into result and are sent to the visitor Family end;Or
According to default file format, the structural mechanics data comprising generated graphic file are obtained into result and are sent to institute State client.
In a specific embodiment of the present invention, the structural mechanics data solving model is for verifying scaffold The structural mechanics data solving model of security.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of device for obtaining structural mechanics data, applied to clothes Business device end, described device include:
Data acquisition request receiving module, for receiving the structural mechanics data acquisition request of client transmission, wherein, institute Stating structural mechanics data acquisition request includes:Object construction Mechanical Data SMDType SMT, it is input by user for solving institute State SMDEach structural mechanics data solving model input parameter set PS;
Data processing Priority Determination module, described in being included according to the structural mechanics data acquisition request SMT, determine to solve the SMDEach structural mechanics data solving model data processing priority;
First input parameter selecting module, for selecting the structural mechanics number of Nth data processing priority from the PS According to the first input parameter of solving model, wherein, N=1, N represent data processing priority series, data processing priority with It the increase of N and reduces;
First data processing module, for according to selected first input parameter, using Nth data processing priority pair The structural mechanics data solving model answered carries out data processing;
Data setup module is 2 for setting the value of N;
Second input parameter selecting module, for selecting the corresponding structural capacity of Nth data processing priority from the PS Learn the second input parameter of data solving model;
Second data processing module, for according to selected second input parameter and preferential using N-1 data processings The corresponding structural mechanics data solving model of grade carry out data processing as a result, using the corresponding knot of Nth data processing priority Structure Mechanical Data solving model carries out data processing;
Data processing priority series judgment module, for judging whether the N is less than the definite data processing priority of institute Maximum series;
Data update module, for the situation for being yes in the judging result of the data processing priority series judgment module Under, the value of the N is updated for N+1, and triggers the second input parameter selecting module selection input parameter;
Structural mechanics data obtaining module, for being in the judging result of the data processing priority series judgment module In the case of no, data processing is carried out according to using the corresponding structural mechanics data solving model of Nth data processing priority As a result, obtain the SMD
Structural mechanics data transmission blocks, for according to the SMDStructural mechanics data are sent to the client to obtain As a result.
In a specific embodiment of the present invention, the N-1 data processing priority corresponds to multiple structural mechanics Data solving model;
Second data processing module, including:
Data processed result selects submodule, for from using the corresponding structural mechanics number of N-1 data processing priority In the result that data processing is carried out according to solving model, the minimum corresponding number of structural mechanics data solving model of selection safety coefficient According to handling result;
Data processing submodule, for according to selected second input parameter and selected data processed result, adopting Data processing is carried out with the corresponding structural mechanics data solving model of Nth data processing priority.
In a specific embodiment of the present invention, the PS is:
It is input by user, according to the storage of default agreement, for solving the SMDEach structural mechanics data solve The input parameter set of model;Or
It is input by user, be stored in it is in the file of preset kind, for solving the SMDEach structural mechanics data The input parameter set of solving model.
In a specific embodiment of the present invention, the structural mechanics data transmission blocks, including:
Graphic file generates submodule, for according to the SMDGenerate graphic file;
Structural mechanics data sending submodule obtains result for that will include the structural mechanics data of generated graphic file It is sent to the client.
As seen from the above, in scheme provided in an embodiment of the present invention, server receives the structural mechanics of client transmission After data acquisition request, the SM that is included according to structural mechanics data acquisition requestT, determine to solve the SMDEach knot The data processing priority of structure Mechanical Data solving model, according to the PS that structural mechanics data acquisition request includes, according to institute The order of definite data processing priority from high to low is carried out using corresponding structural mechanics data solving model at data Reason obtains SMD, and by above-mentioned SMDIt is sent to client.Due to during structural mechanics data are obtained, according to default knot Structure mechanical model solution structural mechanics data calculation amount is larger, to the more demanding of computing resource, and server under normal circumstances Performance it is much higher compared with the performance of subscriber computer, so, can improve and be tied using scheme provided in an embodiment of the present invention The calculating speed of structure Mechanical Data, and then improve user experience.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of method for obtaining structural mechanics data provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another method for obtaining structural mechanics data provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of device for obtaining structural mechanics data provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of another device for obtaining structural mechanics data provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment belongs to the scope of protection of the invention.
Fig. 1 be it is provided in an embodiment of the present invention it is a kind of obtain structural mechanics data method flow diagram, this method Applied to server end, including:
S101:Receive the structural mechanics data acquisition request that client is sent.
Wherein, can include in above-mentioned structural mechanics data acquisition request:Object construction Mechanical Data SMDType SMT, it is input by user for solving SMDThe input parameter set PS of each structural mechanics data solving model etc., certainly, It can also include other information in above-mentioned structural mechanics data acquisition request, the application is defined not to this.
Specifically, requested structural mechanics data can be internal force of the cross-section bending stiffness beam at each section, scratch Degree etc..For the structural mechanics data of each type, all clear stipulaties obtain the type in national building standard Standard is formed in the structural mechanics data solving model or industry that structural mechanics data need to use, i.e., in building trade Technical staff, can recognize which structural capacity is the structural mechanics data for obtaining the type need to use by common professional knowledge Learn data solving model.In view of the foregoing, after server receives the structural mechanics data acquisition request of client transmission, energy Enough types according to the structural mechanics data included in the request determine to obtain the structural mechanics data solution that the data need to use Model.
Input parameter included in the input parameter set of above-mentioned each structural mechanics data solving model, Ke Yishi The position of bearing, the endpoint location of beam, the length etc. of beam.
Further, since above-mentioned structural mechanics data acquisition request includes solving SMDEach structural mechanics number According to the input parameter set of solving model, so, client only need to carry out a data interaction with server, and server can obtain To for obtaining all parameters of object construction Mechanical Data, reduce data interaction.
Optionally, above-mentioned PS can be input by user, be stored according to default agreement, for solving SMDIt is each The input parameter set of a structural mechanics data solving model;
Can also be input by user, be stored in it is in the file of preset kind, for solving SMDEach structural mechanics The input parameter set of data solving model.
Wherein, the file of preset kind, can be polytype file or a type of file, for example, Parameter in above-mentioned input parameter set can be stored in a text file, can also be stored in multiple text files In, in addition, multiple text files can be stored in the form of a compressed file, the application is simply said as example It is bright, it is not limited to that in practical application.
S102:The SM included according to structural mechanics data acquisition requestT, determine to solve SMDEach structural mechanics The data processing priority of data solving model.
Above-mentioned structural mechanics data solving model is the model built previously according to the design specification of building trade.Service It can prestore multiple structural mechanics data solving models in device, in practical application, can also serviced according to user demand Increase already present structural mechanics data solving model in structural mechanics data solving model or modification server in device, this After sample updates stored structural mechanics data solving model in server side, updated model can be seen in all use per family, Without carrying out model modification in each subscriber computer side respectively again.
In practical application, determine to solve SMDEach structural mechanics data solving model data processing priority When, it can be determined according to the design specification of building trade, national building standard etc..For each data processing priority, clothes There may be one or more structural mechanics data solving model in business device, the application is defined not to this.
In one kind of the invention in the specific implementation, above-mentioned structural mechanics data solving model can be for verifying foot hand The structural mechanics data solving model of frame security, specifically, panel layer structural mechanics data solving model, secondary beam can be included Structural mechanics data solving model and main beam structure Mechanical Data solving model etc..
According to technological know-how in the art, it is to be understood that according to the order of data processing priority from high to low, It is above-mentioned for verifying in the structural mechanics data solving model of scaffold security between each structural mechanics data solving model Priority be:Panel layer structural mechanics data solving model, secondary beam structural mechanics data solving model and main beam structure mechanics Data solving model.
S103:The first input parameter of the structural mechanics data solving model of Nth data processing priority is selected from PS.
Wherein, N=1 above-mentioned at this time, N represent the series of data processing priority, and data processing priority is with the increasing of N It reduces greatly.
S104:According to selected first input parameter, using the corresponding structural mechanics data of Nth data processing priority Solving model carries out data processing.
It was found from S103, N=1, that is, Nth data processing priority is highest priority, certainly, practical application at this time In the series of highest priority can also be identified as other values, for example, 0 etc., the application is defined not to this.
In addition, in the structural mechanics data solving model stored in server, there may be multiple above-mentioned the maximum data The corresponding structural mechanics data of processing priority solve model, for example, 4,5 etc..
S105:The value for setting N is 2.
Here the value for setting N is 2, and mainly the value with reference to N in S103 obtains for 1, i.e.,:1+1=2, if N in S103 It is worth for 0, the value of N is arranged to 0+1=1 in this step.
S106:The second input of the corresponding structural mechanics data solving model of Nth data processing priority is selected from PS Parameter.
S107:According to selected second input parameter structural mechanics corresponding with N-1 data processing priority is used Data solving model carry out data processing as a result, solving mould using the corresponding structural mechanics data of Nth data processing priority Type carries out data processing.
From the description of front it is known that N-1 data processings priority can correspond to multiple structural mechanics data solutions Model.
In this case, in a kind of better embodiment of the present invention, according to selected second input parameter and adopt With the corresponding structural mechanics data solving model of N-1 data processing priority carry out data processing as a result, using Nth data It, can be first from using N-1 data processings when the corresponding structural mechanics data solving model of processing priority carries out data processing The corresponding structural mechanics data solving model of priority is carried out in the result of data processing, the structural capacity for selecting safety coefficient minimum The corresponding data processed result of data solving model is learned, further according to selected second input parameter and selected data processing As a result, carrying out data processing using the corresponding structural mechanics data solving model of Nth data processing priority, can so calculate Obtain security it is minimum in the case of object construction Mechanical Data, convenient for user for changing of being designed of the worst situation Into.
In addition, in practical application, can not also be asked using the corresponding structural mechanics data of N-1 data processing priority Solution model made choice in the result of data processing, but for each corresponding knot of N-1 data processing priority Structure Mechanical Data solving model is carried out using the corresponding structural mechanics data solving model of Nth data processing priority at data Reason so obtains a variety of as a result, fully understanding problem present on design convenient for user.
Specifically, according to selected second input parameter and selected data processed result, handled using Nth data It, can be first according to selected data processed result when the corresponding structural mechanics data solving model of priority carries out data processing Mechanics Calculation is carried out, obtains the input parameter of the corresponding structural mechanics data solving model of Nth data processing priority, Ran Houzai With reference to selected second input parameter, carried out using the corresponding structural mechanics data solving model of Nth data processing priority Data processing.
S108:Judge N whether be less than institute definite data processing priority maximum series, if being less than, execution S109, it is no Then, S110 is performed.
By taking that is mentioned in S102 is used to verify the structural mechanics data solving model of scaffold security as an example, if panel layer The series of the data processing priority of structural mechanics data solving model is 1, the data of secondary beam structural mechanics data solving model The series of processing priority is 2, the series of the data processing priority of main beam structure Mechanical Data solving model is 3, then really The maximum series of fixed data processing priority are 3.
S109:The value of N is updated for N+1, returns to S106.
S110:Data processing is carried out according to using the corresponding structural mechanics data solving model of Nth data processing priority As a result, obtain SMD
S111:According to SMDStructural mechanics data, which are sent, to client obtains result.
Specifically, SMDCan be cross-section bending stiffness beam go out in each section internal force curve coefficients, sag curve system Number, the internal force of internal force maximum effect point, the endpoint internal force of beam, end reaction etc..
SMDIt can be stored according to default agreement, and be sent to client, it can also be according to default file format It is stored in one or more file, and is sent to client, for example, being stored in a text file or being stored in In multiple text files and then be stored in a compressed file etc..
It is worth mentioning that being handled according to structural mechanics data solving model output data, belong to acquisition target This part is carried out, can effectively prevent this part of code quilt by the core procedure of structural mechanics data in the server It cracks, is pirate.
As seen from the above, in scheme provided in this embodiment, server receives the structural mechanics data of client transmission After being asked, the SM that is included according to structural mechanics data acquisition requestT, determine to solve the SMDEach structural capacity The data processing priority of data solving model is learned, according to the PS that structural mechanics data acquisition request includes, according to determining Data processing priority order from high to low, data processing is carried out using corresponding structural mechanics data solving model, is obtained Obtain SMD, and by above-mentioned SMDIt is sent to client.Due to during structural mechanics data are obtained, according to default structural capacity It is larger to learn model solution structural mechanics data calculation amount, to the more demanding of computing resource, and the property of server under normal circumstances Can be much higher compared with the performance of subscriber computer, so, it can be improved using scheme provided in this embodiment and obtain structural mechanics number According to calculating speed, and then improve user experience.
Below exemplified by verifying scaffold security, the method for above-mentioned acquisition structural mechanics data is carried out specifically again It is bright.
According to S101:Receive the data acquisition request for being used to verify scaffold security that client is sent.
According to S102:According to for verifying SM that the data acquisition request of scaffold security includesT, determine to ask Solve object construction Mechanical Data SMDEach structural mechanics data solving model data processing priority from high to low successively For:Panel layer structural mechanics data solving model, secondary beam structural mechanics data solving model and main beam structure Mechanical Data solve Model, at this time it is known that the series of maximum data processing priority is 3.
According to S103:(value of N is the first input parameter of Selection Floater layer structure Mechanical Data solving model from PS 1 situation).
According to S104:According to selected first input parameter, carried out using panel layer structural mechanics data solving model Data processing obtains data processed result R1.
According to S105:The value for setting N is 2.
According to S106:The second input parameter of secondary beam structural mechanics data solving model is selected from PS, and (value of N is 2 Situation).
According to S107:According to the panel layer structural mechanics data solving model that security in R1 is minimum, secondary beam is calculated The part input parameter of structural mechanics data solving model is directed to secondary beam structural mechanics data solving model in conjunction with selected The second input parameter, using secondary beam structural mechanics data solving model carry out data processing, obtain data processed result R2.
According to S108:Through judge current N is less than maximum series 3, execution S109 for 2.
According to S109:It is 3 to update N, returns to S106.
According to S106:The second input parameter of main beam structure Mechanical Data solving model is selected from PS, and (value of N is 3 Situation).
According to S107:According to the panel layer structural mechanics data solving model that security in R2 is minimum, girder is calculated The part input parameter of structural mechanics data solving model is directed to main beam structure Mechanical Data solving model in conjunction with selected The second input parameter, using main beam structure Mechanical Data solving model carry out data processing, obtain data processed result R3.
According to S108:Through judge current N for 3 not less than maximum series 3, execution S110.
According to S110:Data processing is carried out according to R3, obtains verifying the structural mechanics data of scaffold security.
According to S111:Structural mechanics data are sent to client obtain result according to the structural mechanics data that S110 is obtained.
In one particular embodiment of the present invention, referring to Fig. 2, another method for obtaining structural mechanics data is provided Flow diagram, compared with previous embodiment, in the present embodiment, according to SMDStructural mechanics data are sent to client to obtain As a result, including:
S111A:According to SMDGenerate graphic file.
In architectural design, figure can be more intuitively to user's Exhibition Design effect, so obtaining SMDAfterwards, Ke Yigen According to SMDGraphic plotting is carried out, for example, drawing curve, drawing building components etc., and generates corresponding graphic file.
S111B:Structural mechanics data comprising generated graphic file are obtained into result and are sent to client.
Specifically, can be according to default agreement, the structural mechanics data comprising generated graphic file be tied Fruit is sent to the client;
It can also be according to default file format, the structural mechanics data comprising generated graphic file obtained into result It is sent to the client.
Above-mentioned obtains comprising the structural mechanics data for generating graphic file in result, except including generated figure Beyond file, obtained SM can also be includedD, using each data processing priority structural mechanics data solving model into The information such as the result of row data processing, the application are defined not to this.
As seen from the above, in scheme provided by the embodiment, SM is obtainedDAfterwards, graphic file is generated according to the data, and will bag Structural mechanics data containing generated graphic file obtain result and are sent to client, and such client need not regenerate figure text Part, you can directly to user's Exhibition Design effect, can further reduce the operating pressure of client, improve user experience.
Corresponding with the method for above-mentioned acquisition structural mechanics data, the embodiment of the present invention additionally provides a kind of acquisition structure The device of Mechanical Data.
Fig. 3 be it is provided in an embodiment of the present invention it is a kind of obtain structural mechanics data device structure diagram, the device Applied to server end, including:
Data acquisition request receiving module 301, for receiving the structural mechanics data acquisition request of client transmission, In, the structural mechanics data acquisition request includes:Object construction Mechanical Data SMDType SMT, input by user be used for Solve the SMDEach structural mechanics data solving model input parameter set PS;
Data processing Priority Determination module 302, for the institute included according to the structural mechanics data acquisition request State SMT, determine to solve the SMDEach structural mechanics data solving model data processing priority;
First input parameter selecting module 303, for selecting the structural mechanics of Nth data processing priority from the PS First input parameter of data solving model, wherein, N=1, N represent the series of data processing priority, data processing priority It is reduced with the increase of N;
First data processing module 304, for according to selected first input parameter, being handled using Nth data preferential The corresponding structural mechanics data solving model of grade carries out data processing;
Data setup module 305 is 2 for setting the value of N;
Second input parameter selecting module 306, for selecting the corresponding structure of Nth data processing priority from the PS Second input parameter of Mechanical Data solving model;
Second data processing module 307, for according to selected second input parameter and excellent using N-1 data processings The corresponding structural mechanics data solving model of first grade carry out data processing as a result, corresponding using Nth data processing priority Structural mechanics data solving model carries out data processing;
Data processing priority series judgment module 308, for judging it is preferential whether the N is less than the definite data processing of institute The maximum series of grade;
Data update module 309, for being yes in the judging result of the data processing priority series judgment module 308 In the case of, the value of the N is updated for N+1, and is triggered the second input parameter selecting module 306 and selected input parameter;
Structural mechanics data obtaining module 310, in the judgement of the data processing priority series judgment module 308 As a result in the case of being no, data are carried out according to using the corresponding structural mechanics data solving model of Nth data processing priority Processing as a result, obtaining the SMD
Structural mechanics data transmission blocks 311, for according to the SMDStructural mechanics data are sent to the client to obtain Obtain result.
Specifically, the N-1 data processing priority corresponds to multiple structural mechanics data solving models;
Second data processing module 307 can include:
Data processed result selects submodule, for from using the corresponding structural mechanics number of N-1 data processing priority In the result that data processing is carried out according to solving model, the minimum corresponding number of structural mechanics data solving model of selection safety coefficient According to handling result;
Data processing submodule, for according to selected second input parameter and selected data processed result, adopting Data processing is carried out with the corresponding structural mechanics data solving model of Nth data processing priority.
Specifically, the PS is:
It is input by user, according to the storage of default agreement, for solving the SMDEach structural mechanics data solve The input parameter set of model;Or
It is input by user, be stored in it is in the file of preset kind, for solving the SMDEach structural mechanics data The input parameter set of solving model.
Specifically, the structural mechanics data solving model is for verifying that the structural mechanics data of scaffold security are asked Solve model.
As seen from the above, in scheme provided in this embodiment, server receives the structural mechanics data of client transmission After being asked, the SM that is included according to structural mechanics data acquisition requestT, determine to solve the SMDEach structural capacity The data processing priority of data solving model is learned, according to the PS that structural mechanics data acquisition request includes, according to determining Data processing priority order from high to low, data processing is carried out using corresponding structural mechanics data solving model, is obtained Obtain SMD, and by above-mentioned SMDIt is sent to client.Due to during structural mechanics data are obtained, according to default structural capacity It is larger to learn model solution structural mechanics data calculation amount, to the more demanding of computing resource, and the property of server under normal circumstances Can be much higher compared with the performance of subscriber computer, so, it can be improved using scheme provided in this embodiment and obtain structural mechanics number According to calculating speed, and then improve user experience.
In one particular embodiment of the present invention, referring to Fig. 4, another device for obtaining structural mechanics data is provided Structure diagram, compared with previous embodiment, in the present embodiment, above-mentioned structural mechanics data transmission blocks 311, including:
Graphic file generates submodule 3111, for according to the SMDGenerate graphic file;
Structural mechanics data sending submodule 3112 obtains for that will include the structural mechanics data of generated graphic file As a result it is sent to the client.
Specifically, the structural mechanics data sending submodule 3112, specifically for according to default agreement, institute will be included The structural mechanics data of generation graphic file obtain result and are sent to the client;Or
According to default file format, the structural mechanics data comprising generated graphic file are obtained into result and are sent to institute State client.
As seen from the above, in scheme provided by the embodiment, SM is obtainedDAfterwards, graphic file is generated according to the data, and will bag Structural mechanics data containing generated graphic file obtain result and are sent to client, and such client need not regenerate figure text Part, you can directly to user's Exhibition Design effect, can further reduce the operating pressure of client, improve user experience.
For device embodiment, since it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
One of ordinary skill in the art will appreciate that all or part of step in realization above method embodiment is can Relevant hardware to be instructed to complete by program, the program can be stored in computer read/write memory medium, The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modifications, equivalent replacements and improvements are made within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of method for obtaining structural mechanics data, applied to server end, which is characterized in that the described method includes:
The structural mechanics data acquisition request that client is sent is received, wherein, the structural mechanics data acquisition request includes: Object construction Mechanical Data SMDType SMT, it is input by user for solving the SMDEach structural mechanics data solve mould The input parameter set PS of type;
The SM included according to the structural mechanics data acquisition requestT, determine to solve the SMDEach structure The data processing priority of Mechanical Data solving model;
The first input parameter of the structural mechanics data solving model of Nth data processing priority is selected from the PS, wherein, N=1, N represent the series of data processing priority, and data processing priority is reduced with the increase of N;
According to selected first input parameter, using the corresponding structural mechanics data solving model of Nth data processing priority Carry out data processing;
The value for setting N is 2;
The second input parameter of the corresponding structural mechanics data solving model of Nth data processing priority is selected from the PS;
According to selected second input parameter and the corresponding structural mechanics number of selected use N-1 data processing priority According to solving model progress data processing as a result, using the corresponding structural mechanics data solving model of Nth data processing priority Carry out data processing;
Judge the N whether be less than definite data processing priority maximum series;
If being less than, the value of the N is updated for N+1, and it is corresponding to return to the selection Nth data processing priority from the PS The step of second input parameter of structural mechanics data solving model;
If being not less than, carried out according to using the corresponding structural mechanics data solving model of Nth data processing priority at data Reason as a result, obtaining the SMD
According to the SMDStructural mechanics data, which are sent, to the client obtains result.
2. according to the method described in claim 1, it is characterized in that,
The N-1 data processing priority corresponds to multiple structural mechanics data solving models;
It is described according to selected second input parameter and selected using the corresponding structural capacity of N-1 data processing priority Learn data solving models carry out data processing as a result, being solved using the corresponding structural mechanics data of Nth data processing priority Model carries out data processing, including:
It is carried out from using the corresponding structural mechanics data solving model of N-1 data processing priority in the result of data processing, The corresponding data processed result of structural mechanics data solving model for selecting safety coefficient minimum;
According to selected second input parameter and selected data processed result, corresponded to using Nth data processing priority Structural mechanics data solving model carry out data processing.
3. according to the method described in claim 2, it is characterized in that, the PS is:
It is input by user, according to the storage of default agreement, for solving the SMDEach structural mechanics data solving model Input parameter set;Or
It is input by user, be stored in it is in the file of preset kind, for solving the SMDEach structural mechanics data solve The input parameter set of model.
4. method according to any one of claim 1-3, which is characterized in that described according to the SMDTo the client Send structural mechanics data obtain as a result, including:
According to the SMDGenerate graphic file;
Structural mechanics data comprising generated graphic file are obtained into result and are sent to the client.
It is 5. according to the method described in claim 4, it is characterized in that, described by the structural mechanics number comprising generated graphic file The client is sent to according to result is obtained, including:
According to default agreement, the structural mechanics data comprising generated graphic file are obtained into result and are sent to the client End;Or
According to default file format, the structural mechanics data comprising generated graphic file are obtained into result and are sent to the visitor Family end.
6. method according to any one of claim 1-3, which is characterized in that the structural mechanics data solving model is For verifying the structural mechanics data solving model of scaffold security.
7. a kind of device for obtaining structural mechanics data, applied to server end, which is characterized in that described device includes:
Data acquisition request receiving module, for receiving the structural mechanics data acquisition request of client transmission, wherein, the knot Structure Mechanical Data is asked to include:Object construction Mechanical Data SMDType SMT, it is input by user described for solving SMDEach structural mechanics data solving model input parameter set PS;
Data processing Priority Determination module, for the SM included according to the structural mechanics data acquisition requestT, really Determine to solve the SMDEach structural mechanics data solving model data processing priority;
First input parameter selecting module, the structural mechanics data for selecting Nth data processing priority from the PS are asked The first input parameter of model is solved, wherein, N=1, N represent the series of data processing priority, and data processing priority is with N Increase and reduce;
First data processing module, it is corresponding using Nth data processing priority for according to selected first input parameter Structural mechanics data solving model carries out data processing;
Data setup module is 2 for setting the value of N;
Second input parameter selecting module, for selecting the corresponding structural mechanics number of Nth data processing priority from the PS According to the second input parameter of solving model;
Second data processing module, for according to selected second input parameter and selected use N-1 data processings The corresponding structural mechanics data solving model of priority carry out data processing as a result, being corresponded to using Nth data processing priority Structural mechanics data solving model carry out data processing;
Data processing priority series judgment module, for judge the N whether be less than definite data processing priority most Big series;
Data update module, in the case of being in the judging result of the data processing priority series judgment module, The value of the N is updated for N+1, and triggers the second input parameter selecting module selection input parameter;
Structural mechanics data obtaining module, for be no in the judging result of the data processing priority series judgment module In the case of, according to using the corresponding structural mechanics data solving model of Nth data processing priority carry out data processing as a result, Obtain the SMD
Structural mechanics data transmission blocks, for according to the SMDStructural mechanics data, which are sent, to the client obtains result.
8. device according to claim 7, which is characterized in that
The N-1 data processing priority corresponds to multiple structural mechanics data solving models;
Second data processing module, including:
Data processed result selects submodule, for being asked from using the corresponding structural mechanics data of N-1 data processing priority It solves in the result that model carries out data processing, at the corresponding data of structural mechanics data solving model for selecting safety coefficient minimum Manage result;
Data processing submodule, for according to selected second input parameter and selected data processed result, using N The corresponding structural mechanics data solving model of data processing priority carries out data processing.
9. device according to claim 7, which is characterized in that the PS is:
It is input by user, according to the storage of default agreement, for solving the SMDEach structural mechanics data solving model Input parameter set;Or
It is input by user, be stored in it is in the file of preset kind, for solving the SMDEach structural mechanics data solve The input parameter set of model.
10. according to the device any one of claim 7-9, which is characterized in that the structural mechanics data transmission blocks, Including:
Graphic file generates submodule, for according to the SMDGenerate graphic file;
Structural mechanics data sending submodule obtains result transmission for that will include the structural mechanics data of generated graphic file To the client.
CN201510244205.9A 2015-05-14 2015-05-14 A kind of method and device for obtaining structural mechanics data Active CN104794310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510244205.9A CN104794310B (en) 2015-05-14 2015-05-14 A kind of method and device for obtaining structural mechanics data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510244205.9A CN104794310B (en) 2015-05-14 2015-05-14 A kind of method and device for obtaining structural mechanics data

Publications (2)

Publication Number Publication Date
CN104794310A CN104794310A (en) 2015-07-22
CN104794310B true CN104794310B (en) 2018-05-18

Family

ID=53559101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510244205.9A Active CN104794310B (en) 2015-05-14 2015-05-14 A kind of method and device for obtaining structural mechanics data

Country Status (1)

Country Link
CN (1) CN104794310B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020406A (en) * 2013-01-14 2013-04-03 北京交通大学 Data processing method and computer aided design system for shaft retaining structure

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005060293A1 (en) * 2003-12-18 2005-06-30 Telecom Italia S.P.A. Method for simulating communication networks, related simulator, communication network, and computer program product
US7734456B2 (en) * 2004-03-30 2010-06-08 Osamu Fujita Method and apparatus for priority based data processing
JP4822979B2 (en) * 2006-08-11 2011-11-24 株式会社東芝 Data linkage system, control method thereof, and control program
FR2945394B1 (en) * 2009-05-08 2023-01-27 HPC Platform SAS DEVICE FOR PROCESSING VERY LOW LATENCY DATA PACKETS SPECIFIC TO A SPECIFIC APPLICATION.

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103020406A (en) * 2013-01-14 2013-04-03 北京交通大学 Data processing method and computer aided design system for shaft retaining structure

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"用求解结构力学中的线性方程组";曹文等;《湖南城建高等专科学校学报》;20000331;第9卷(第1期);第48-49页 *
结构力学求解器的参数化建模方法;陆永涛等;《福建建材》;20131231;第2013年卷(第10期);第1-3页 *

Also Published As

Publication number Publication date
CN104794310A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104301737B (en) The coding/decoding method of target image block and coding method and decoder and encoder
CN106412917A (en) Network expansion method and device
CN105225670B (en) A kind of audio coding method and device
CN107589990A (en) A kind of method and system of the data communication based on thread pool
CN106055271A (en) Method and device for de-repetition selection of repeated data based on cloud computing
CN105847319A (en) Mobile terminal network request method and system
CN103914286B (en) Management method and manager for tab page in user interface
CN108512817A (en) More video code conversion dispatching methods and device
CN104794310B (en) A kind of method and device for obtaining structural mechanics data
CN109347982A (en) A kind of dispatching method and device of data center
CN109144551A (en) Equipment firmware update and system under a kind of multi-layer networking mode
CN109948803A (en) Algorithm model optimization method, device and equipment
CN109325000A (en) A kind of method and apparatus of document creation
US20080046814A1 (en) System and method for generating structured documents in a non-linear manner
CN107770054A (en) Chat creation method and equipment under a kind of same scene
CN106990913A (en) A kind of distributed approach of extensive streaming collective data
CN111031007A (en) Communication control method and device between electronic whiteboards and server
CN103955445B (en) A kind of data processing method, processor and data handling equipment
CN105490956A (en) Network request processing method and network request processing device
CN114138452B (en) High-energy-efficiency computing node selection method and device in edge computing
CN107479891A (en) One kind is based on MVC model datas processing system and method
JP2007036698A5 (en)
CN107743077A (en) A kind of method and device for assessing information physical emerging system network performance
CN103914573B (en) A kind of site moving method and device
CN106973007A (en) A kind of instant messaging application management method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100193 Building 13, East Yard, No. 10 Wangdong Road, Northwest Haidian District, Beijing

Patentee after: Glodon Polytron Technologies Inc

Address before: 100193 Guanglianda Building, Zhongguancun Software Park, Wangbei, Haidian District, Beijing, Phase II

Patentee before: Glodon Software Company Limited

CP03 Change of name, title or address