CN101882076A - Manufacturing grid resource encapsulation method based on control - Google Patents

Manufacturing grid resource encapsulation method based on control Download PDF

Info

Publication number
CN101882076A
CN101882076A CN 201010151397 CN201010151397A CN101882076A CN 101882076 A CN101882076 A CN 101882076A CN 201010151397 CN201010151397 CN 201010151397 CN 201010151397 A CN201010151397 A CN 201010151397A CN 101882076 A CN101882076 A CN 101882076A
Authority
CN
China
Prior art keywords
resource
manufacturing
control
description file
make
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.)
Pending
Application number
CN 201010151397
Other languages
Chinese (zh)
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.)
Wuhan University of Science and Engineering WUSE
Wuhan University of Technology WUT
Original Assignee
Wuhan University of Technology WUT
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 Wuhan University of Technology WUT filed Critical Wuhan University of Technology WUT
Priority to CN 201010151397 priority Critical patent/CN101882076A/en
Publication of CN101882076A publication Critical patent/CN101882076A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a manufacturing grid resource encapsulation method based on a control, which comprises the following steps that a control for carrying out resource encapsulation is developed in a Java environment according to the attribute of a manufacturing resource; the control generates a resource description file with an XML (Extensive Markeup Language) format according to input attribute information which corresponds to the owned manufacturing resource; the control generates a resource function service description file with a WSDL (Web Services Description Language) format according to input function parameter information which corresponds to the attribute information; according to the resource function service description file with the WSDL format, the control generates a resource function service description file with a WSDD (Web Service Deployment Descriptor) format, a Java interface file, a client stun code and a server frame code which realize manufacturing resource service; and a manufacturing resource owner submits all files for realizing the manufacturing resource service to a manufacturing grid server so as to deploy the files in a grid container. In the method, the manufacturing resource owner does not need to know the steps and the details of the resource encapsulation method when the manufacturing resource is encapsulated, and the manufacturing grid resource encapsulation method has simple operation, easy implementation and convenient use.

Description

A kind of manufacturing grid resource encapsulation method based on control
Technical field
The invention belongs to the manufacturing resource encapsulation technology of making in the advanced manufacturing field under the grid environment, is a kind of manufacturing grid resource encapsulation method based on " control " specifically.
Background technology
Along with the arriving of networked economy era, manufacturing industry just develops towards digitizing, flexibility, intellectuality, integrated, agilityization and networked direction.At present, manufacturing technology has also developed into the advanced manufacturing technology new stage with information-based feature, every advanced manufacturing technologies such as flexible manufacturing, integrated manufacturing, quick manufacturing, virtual manufacturing have been formed, and towards networking manufacturing based on the internet, dynamic alliance is made, dominant direction development such as globalization manufacturing.
Gridding technique is in manufacturing application, for manufacturing industry provides a public manufacturing grid (Manufacturing Grid, MG) platform, this manufacturing grid platform is based on universal network, with various manufacturing resources is node, with the grid platform middleware is bridge, form Virtual Organization to make resource dynamic by distribution, isomery according to the market opportunity, realize resource sharing, collaborative design and work in coordination with being fabricated to target, reach the purpose that reduces manufacturing cost, raising resource utilization, accelerates time to market (TTM).Each information such as relevant design manufacturing resource, various flow process and knowledge in the product lifecycle that the manufacturing grid is integrated, be the platform and the back-up environment of Modern Integrated Manufacturing System development, be final resource sharing and the collaborative work that realizes on the network virtual environment, realize integratedly providing effective solution thinking towards cycle product life-cycle.
The characteristics of making the grid maximum are exactly to realize sharing of heterogeneous resource, it will be dispersed in the design in different enterprises and the social groups, make, management, information, technology, intelligence and software resource, by encapsulation and integrated, the isomerism and the geographic distribution of shielding resource, with the transparent way is that the user provides all kinds of manufacturing services, make enterprise or manage individuality and can obtain all easily and make relevant services with the request service manner, can be encapsulated in all resources of making in the grid as using local resource to use easily in real time, realize the integrated of all kinds of resources and optimize operation, and provide the collaborative work support environment for making up the collaborative manufacturing graticule applied system of making particular demands of To enterprises, thereby realize that the commercial affairs between enterprise are collaborative, design is collaborative, make collaborative collaborative with supply chain, make based on the colony of manufacturing enterprise that makes the operation of grid back-up environment and can produce the high quality of products that accords with the demands of the market with low cost and short construction cycle.Making grid be the center with " service ", realization be serve shared, all networked entities with specific function all are mesh services, comprise computing machine, program, data, instrument and equipment etc.Therefore, how complete the various manufacturing resources of making resource owner, standard ground is described and is packaged into mesh services, is to make the matter of utmost importance that grid need solve.
The step of making grid resource encapsulation method at present is:
Step S1, make resource owner and take out static attribute and the dynamic attribute information of making resource, write XML (Extensible Markup Language according to the attribute information that takes out, extensible markup language) the resource description file of form (Resouree Deseription Doeument, RDD);
Step S2, make resource owner and utilize Java2WSDL instrument or directly manual WSDL (the Web Service Description Language that writes, Web Services Description Language (WSDL)) the resource function service description file of form, various interface is provided, comprises functional interface, notification interface, task management interface, property operations interface etc.;
Step S3, make resource owner use C language or Java language and write interface (PortType), operation (Operation), the binding particular contents such as (Binding) that defines in the resource function service description file of WSDL form, and this content is compiled as class;
Step S4 makes the Web service deployment parameters description document that resource owner is write the WSDD of deployment parameters needs (Web ServiceDeployment Descriptor, the WEB service distribution is described) form;
Step S5 makes resource owner and the Web service deployment parameters description document of content such as the resource description file of XML form, the resource function service description file of WSDL form, the interface that is compiled as class, operation, binding and WSDD form is submitted to is made grid service server to be deployed in the grid container.
As seen from the above, in existing manufacturing grid resource encapsulation method, the Web service deployment parameters description document of the WSDD form among the writing of the resource function service description file of WSDL form, the step S4 among the writing of the resource description file of the XML form relevant with resource encapsulation, the step S2 is all carried out by making resource owner among the step S1.Because the participation that the whole implement process of this method need be made resource owner, therefore, resource owner must be familiar with each step and the detail of resource encapsulation method, in addition, programing work is loaded down with trivial details in this method, complicated operation, and then cause that encapsulation operation be difficult for to be implemented, practicality is not strong.
Therefore, be necessary to provide a kind of improved manufacturing grid resource encapsulation method to overcome the defective of prior art.
Summary of the invention
The purpose of this invention is to provide a kind of manufacturing grid resource encapsulation method based on control, when resource is made in encapsulation, make resource owner and needn't understand the step and the details of resource encapsulation method, do not need to be grasped the Web service file of XML resource description file, WSDL form and realize the write method of the Java interface document of this manufacturing resource service, the Web service deployment parameters description document that does not need manual compiling WSDD form, simple to operate, easy enforcement, easy to use.
To achieve these goals, the invention provides a kind of manufacturing grid resource encapsulation method, comprise the steps: that (1) develop a kind of control that carries out the resource encapsulation according to the attribute of making resource in the Java environment based on control; (2) make resource owner input and the corresponding attribute information of manufacturing resource that has, described control produces the resource description file of XML form according to described attribute information; (3) make the resource owner input functional parameter information corresponding with described attribute information, described control produces the resource function service description file of WSDL form according to described functional parameter information; (4) described control generates resource function service description file, Java interface document, client stub code and the service end skeleton code of the WSDD form of realizing the manufacturing resource service according to the resource function service description file of described WSDL form; (5) make resource owner resource function service description file, Java interface document, client stub code and the service end skeleton code of described WSDD form are submitted to the manufacturing grid service server to be deployed in the grid container.
In one embodiment of the invention, described step (2) is specially: described control carries out the encapsulation of XML form by calling bottom code with described attribute information, and then produces the resource description file of XML form.
In another embodiment of the present invention, described step (3) is specially: described control carries out the encapsulation of WSDL form by calling bottom code with described functional parameter, and then produces the resource function service description file of WSDL form.
In an embodiment more of the present invention, described step (4) is specially: described control encapsulates the resource function service description file of described WSDL form by calling bottom code, and then produces resource function service description file, Java interface document, client stub code and the service end skeleton code of the WSDD form of realizing making resource service.
In another embodiment of the present invention, the input attribute information corresponding with the manufacturing resource that has is specially and makes the resource static attribute and make the resource dynamic attribute in the described step (2), described manufacturing resource static attribute comprises that manufacturing resource name, manufacturing resource model, manufacturing resource owner, unit address, manufacturing resource quantity, manufacturing resource provide the time, and described manufacturing resource dynamic attribute comprises makes resource running status, manufacturing resource idleness, manufacturing conservation of resources state, manufacturing resource utilization.
Compared with prior art, the present invention is based on the manufacturing grid resource encapsulation method of control, adopt similar Java programmed environment, " control " mode in VB programmed environment and the Delphi programmed environment, make resource owner and needn't understand the step and the details of resource encapsulation method, do not need to be grasped XML resource description file, this makes the write method of the Java interface document of resource service the Web service file of WSDL form and realization, the Web service deployment descriptor file that does not need manual compiling WSDD form, only need the input attribute relevant with resource, function or functional parameter information, " control " will produce required various files (the resource function service description file of WSDD form of resource encapsulation automatically, the Java interface document, client stub code and service end skeleton code), submit to the manufacturing Resource Server, this method has been simplified the process of resource encapsulation, it is the manufacturing resource encapsulation method of a kind of " foolproof ", have simple to operate, implement easily, characteristics easy to use can be quick, to make manufacturing resource that resource owner has efficiently is distributed on and makes in the grid service server.
By following description also in conjunction with the accompanying drawings, it is more clear that the present invention will become, and these accompanying drawings are used to explain embodiments of the invention.
Description of drawings
Fig. 1 is the existing process flow diagram of making grid resource encapsulation method.
Fig. 2 is the process flow diagram that the present invention is based on the manufacturing grid resource encapsulation method of control.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, the similar elements label is represented similar elements in the accompanying drawing.
Present embodiment comprises the steps: based on the manufacturing grid resource encapsulation method of control
Step S21, a kind of control that carries out the resource encapsulation according to the attribute of making resource of exploitation in the Java environment.Particularly, control produces the required various files of resource encapsulation according to the attribute information of making the manufacturing resource that resource owner provided automatically by calling bottom code (program).Described control comprises three buttons-[attribute] button, [interface] button, [realization] button.Described three buttons have been realized the encapsulation function of the manufacturing resource of this " control " representative together. the present embodiment control is the manufacturing resource control of a kind of " foolproof "." control " in similar Java programmed environment, VB programmed environment or the Delphi programmed environment.
Step S22, click [attribute] button on the control, to eject a properties dialog, making resource owner fills in this properties dialog and the corresponding attribute information of manufacturing resource that has, for example make the resource static attribute and (make resource name, make the resource model, make resource owner, unit address, make resource quantity, make resource the time etc. is provided), make the resource dynamic attribute and (make the resource running status, make the resource idleness, make conservation of resources state, make resource utilization etc.), control carries out the encapsulation of XML form by the manufacturing Resource Properties information of calling bottom code described manufacturing resource owner being filled in, and then produces the resource description file of XML form.Therefore, " control " of " foolproof " formula that the application of the invention provides made the specific implementation details of resource description file that resource owner needn't consider to encapsulate the XML form of this resource.
It should be noted that the attribute information of making resource is corresponding with the function of this manufacturing resource.If the attribute of the manufacturing resource of filling in is a CNC milling machine, then the function of this manufacturing resource is a NC Milling.
Step S23, click [interface] button on the control, to eject a manufacturing resource function and describe dialog box, the manufacturing resource owner is described at this manufacturing resource function and is filled in the functional parameter (as: numerically-controlled machine that be used for cut corresponding with described attribute information in the dialog box, its parameter comprises cutting speed, the speed of mainshaft, the single-blade amount of feeding and cutting depth etc.), control carries out the encapsulation of WSDL form by the functional parameter that calls bottom code described manufacturing resource owner is filled in, and then produces the resource function service description file of WSDL form." control " of " foolproof " formula that the application of the invention provides made the resource function service description file specific implementation details that resource owner needn't consider to encapsulate the WSDL form of this resource.
The functional parameter that it should be noted that the manufacturing resource of filling in is also corresponding with the function of this manufacturing resource, and is therefore also corresponding with the attribute information of making resource.If the attribute of the manufacturing resource of filling in is a CNC milling machine, then the function of this manufacturing resource is a NC Milling, and this functional parameter that need fill in the function correspondence of making resource is for milling process velocity, the speed of mainshaft, the single-blade amount of feeding, milling working depth etc.
The resource function service description file of WSDL form is one and is used for describing Web service and the file of how to communicate by letter with Web service is described that this document has been described function service and function, parameter and the rreturn value of making resource that resource owner provides.The resource function service description file of WSDL form provide make operation (method) that resource service provided, with the data layout of service interaction and necessary agreement and with protocol-dependent address, as URL.The resource function service description file of WSDL form is described the Web service that resource can provide with the form of port set, the WSDL service describing comprises an abstract definition to one group of operation and message, be tied to these operation and a concrete agreement of message and network endpoint standards of this binding.
Step S24, click [realization] button on " control ", " control " calls bottom code and activates resource service encapsulation tool-WSDL2Java (grid canned software) instrument of making, this instrument encapsulates the resource function service description file of described WSDL form, and then produces resource function service description file, Java interface document, client counterfoil (stub) code and service end framework (skeleton) code of the WSDD form of realizing the manufacturing resource service.
Wherein, the resource function service description file of WSDD form, Java interface document are the file of Java form, have wherein comprised class, do not need compiling, and all Java files of prior art all need the manual compiling code to generate, and promptly compile and then become class.
In addition, prior art is made grid resource encapsulation method and is submitted to the contents such as interface, operation and binding of making grid service server and present embodiment are submitted to the manufacturing grid service server based on the manufacturing grid resource encapsulation method of control Java interface document, client stub code, service end skeleton code, both essence are the same, be the saying difference, its file concrete function is identical.
Step S25, make resource owner Web service deployment parameters description document, Java interface document, client stub code, the service end skeleton code of WSDD form are submitted to the manufacturing grid service server to be deployed in GlobusToolkit4 (grid develops software) container, share for other users and use.Make the grid service server end and only need in skeleton code, additional relevant business logic codes can obtain complete Web service code, greatly alleviated developer's coding burden.
Need to prove, prior art is made in the grid resource encapsulation method, the resource description file of the XML form that manufacturing resource owner oneself is write, the resource function service description file of WSDL form are intermediate file, because the style that different manufacturing resource owner is write is different, therefore intermediate file is not a standard format, and this intermediate file need be submitted to the file of making grid service server; In the manufacturing grid resource encapsulation method of present embodiment based on control, the resource function service description file style of the resource description file of the intermediate file that is produced-XML form, WSDL form is the same, all are standard formats, intermediate file does not need to submit to the manufacturing grid service server.
As from the foregoing, present embodiment is based on the manufacturing grid resource encapsulation method of " control ", adopt similar Java programmed environment, " control " mode in VB programmed environment and the Delphi programmed environment, make resource owner and needn't understand the step and the details of resource encapsulation method, do not need to be grasped XML resource description file, this makes the write method of the Java interface document of resource service the Web service file of WSDL form and realization, the Web service deployment descriptor file that does not need manual compiling WSDD form, only need to double-click and be somebody's turn to do " control ", fill in some attribute informations relevant with resource, " control " will produce the required various files of resource encapsulation automatically, directly will produce file then and be compiled into class, submit to the manufacturing Resource Server, simplified the process of resource encapsulation, it is the manufacturing resource encapsulation method of a kind of " foolproof ", have simple to operate, implement easily, characteristics easy to use can be quick, to make manufacturing resource that resource owner has efficiently is distributed on and makes in the grid service server.
Above invention has been described in conjunction with most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain various modification, equivalent combinations of carrying out according to essence of the present invention.

Claims (5)

1. the manufacturing grid resource encapsulation method based on control comprises the steps:
(1) a kind of control that carries out the resource encapsulation according to the attribute of making resource of exploitation in the Java environment;
(2) make resource owner input and the corresponding attribute information of manufacturing resource that has, described control produces the resource description file of XML form according to described attribute information;
(3) make the resource owner input functional parameter information corresponding with described attribute information, described control produces the resource function service description file of WSDL form according to described functional parameter information;
(4) described control generates resource function service description file, Java interface document, client stub code and the service end skeleton code of the WSDD form of realizing the manufacturing resource service according to the resource function service description file of described WSDL form;
(5) make resource owner resource function service description file, Java interface document, client stub code and the service end skeleton code of described WSDD form are submitted to the manufacturing grid service server to be deployed in the grid container.
2. the manufacturing grid resource encapsulation method based on control as claimed in claim 1 is characterized in that, described step (2) is specially:
Described control carries out the encapsulation of XML form by calling bottom code with described attribute information, and then produces the resource description file of XML form.
3. the manufacturing grid resource encapsulation method based on control as claimed in claim 1 is characterized in that, described step (3) is specially:
Described control carries out the encapsulation of WSDL form by calling bottom code with described functional parameter, and then produces the resource function service description file of WSDL form.
4. the manufacturing grid resource encapsulation method based on control as claimed in claim 1 is characterized in that, described step (4) is specially:
Described control encapsulates the resource function service description file of described WSDL form by calling bottom code, and then produces resource function service description file, Java interface document, client stub code and the service end skeleton code of the WSDD form of realizing making resource service.
5. the manufacturing grid resource encapsulation method based on control as claimed in claim 1, it is characterized in that, the input attribute information corresponding with the manufacturing resource that has is specially and makes the resource static attribute and make the resource dynamic attribute in the described step (2), described manufacturing resource static attribute comprises the manufacturing resource name, make the resource model, make resource owner, unit address, make resource quantity, make resource the time is provided, described manufacturing resource dynamic attribute comprises makes the resource running status, make the resource idleness, make conservation of resources state, make resource utilization.
CN 201010151397 2010-04-06 2010-04-06 Manufacturing grid resource encapsulation method based on control Pending CN101882076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010151397 CN101882076A (en) 2010-04-06 2010-04-06 Manufacturing grid resource encapsulation method based on control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010151397 CN101882076A (en) 2010-04-06 2010-04-06 Manufacturing grid resource encapsulation method based on control

Publications (1)

Publication Number Publication Date
CN101882076A true CN101882076A (en) 2010-11-10

Family

ID=43054096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010151397 Pending CN101882076A (en) 2010-04-06 2010-04-06 Manufacturing grid resource encapsulation method based on control

Country Status (1)

Country Link
CN (1) CN101882076A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014190544A1 (en) * 2013-05-31 2014-12-04 华为技术有限公司 Application deployment method and device
CN107018160A (en) * 2016-01-28 2017-08-04 北京仿真中心 A kind of manufacturing recourses and cloud method based on stratification

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《机械科学与技术》 20060831 尹勇等 制造网格中嵌入式数控机床资源节点建设 第976至979页 5 第25卷, 第8期 *
《计算机集成制造系统》 20080930 武蕾等 制造网格中资源服务化封装方法研究 第1837至1843页 1-5 第14卷, 第9期 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014190544A1 (en) * 2013-05-31 2014-12-04 华为技术有限公司 Application deployment method and device
CN105051687A (en) * 2013-05-31 2015-11-11 华为技术有限公司 Application deployment method and device
CN105051687B (en) * 2013-05-31 2018-01-09 华为技术有限公司 Using dispositions method and equipment
CN107018160A (en) * 2016-01-28 2017-08-04 北京仿真中心 A kind of manufacturing recourses and cloud method based on stratification

Similar Documents

Publication Publication Date Title
US8762933B2 (en) Converting business process models to component models in a service oriented architecture domain
CN1811702B (en) System and method for developing portal applications and automatically deploying them into a portal server application
US8069437B2 (en) Framework for a composite application and a method of implementing a frame work for a composite application
Yu et al. A microservice based reference architecture model in the context of enterprise architecture
CN102541541B (en) Interface creating method and device
US10528326B2 (en) Distributed application definition
CN102033848B (en) SOA-based three-dimensional design system integrating method and system
US8327322B2 (en) System and method for allowing the creation of composite applications through the wiring of loosely coupled existing or custom components of disparate technologies
US20080059450A1 (en) Service composition environment
Katasonov et al. Towards ontology-driven development of applications for smart environments
WO2008033394A2 (en) Complexity management tool
CN102073536A (en) Method for editing template into warehouse by cloud platform and generating virtual machines in bulk
Rohjans et al. UML-based modeling of OPC UA address spaces for power systems
Chao E-services in e-business engineering
Ben Hamida et al. An integrated development and runtime environment for the future internet
Schaeffer Towards a transactional web processing service
CN103399735A (en) Method for developing intermediate layer of remote function call interface
US9836282B2 (en) Separation of concerns between information technology services models
Gutiérrez–Fernández et al. Redefining a process engine as a microservice platform
EP2395468A1 (en) Semantic user interface data assembling
CN101882076A (en) Manufacturing grid resource encapsulation method based on control
CN102034170A (en) Service-oriented architecture (SOA)-based service packaging method for service data and integrated system
CN103399844A (en) Report generation method and generation device
CN103064688A (en) Workflow universal service method and system
Filippone et al. Synthesis of context‐aware business‐to‐business processes for location‐based services through choreographies

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101110