CN110286926A - A kind of industrial machine update method and device - Google Patents

A kind of industrial machine update method and device Download PDF

Info

Publication number
CN110286926A
CN110286926A CN201910535539.XA CN201910535539A CN110286926A CN 110286926 A CN110286926 A CN 110286926A CN 201910535539 A CN201910535539 A CN 201910535539A CN 110286926 A CN110286926 A CN 110286926A
Authority
CN
China
Prior art keywords
update
industrial machine
file
submodel
information
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.)
Granted
Application number
CN201910535539.XA
Other languages
Chinese (zh)
Other versions
CN110286926B (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.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
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 Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN201910535539.XA priority Critical patent/CN110286926B/en
Publication of CN110286926A publication Critical patent/CN110286926A/en
Application granted granted Critical
Publication of CN110286926B publication Critical patent/CN110286926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a kind of industrial machine update method and devices, lead to problems such as update low efficiency, flexibility poor and with high costs due to industrial machine wide variety, substantial amounts to solve.This method comprises: receiving the more newer command of application layer transmission, the more newer command is parsed;If when parsing the more newer command and obtaining updating configuration parameter, describing file to the first of the industrial machine according to the update configuration parameter and modifying to obtain second to describe file, describe file according to described second and carry out configuration update to the industrial machine;If parse the more newer command to obtain when including the more new information of submodel, component manager and inventory, configuration update is carried out to the industrial machine according to the update software from server-side downloading update software according to the submodel URI routing information;After determining that the industrial machine completes configuration update, Xiang Suoshu application layer sends update result corresponding with the more newer command.

Description

A kind of industrial machine update method and device
Technical field
The present invention relates to intelligence manufacture field, a kind of industrial machine update method and device are more particularly related to.
Background technique
In order to improve enterprise competitiveness, control cost, guarantee quality, the intelligence for improving machine is manufacturing industry long-sought Target.And with the rise of computer technology, cloud computing, big data etc. make the further automation of production even intelligent It is possibly realized, then mechanical industry is put forward new requirements in turn, machine is gradually from the traditional machine based on electromechanical hardware Device develops into self sensing capability, can access industrial network, with the intelligence machine of multi abilities.In addition, in RAMI In the white paper of 4.0 publications, a new concept is proposed --- industrial 4.0 components (The Industrie 4.0Component), industrial 4.0 components mainly by management shell (English are as follows: Administration Shell, abbreviation AS) and Physical equipment (English are as follows: Thing/Asset) two parts composition, each physical equipment are taken out by management shell and are virtually set It is standby, and access industrial network, it realizes that the actual situation of physical equipment and digital device maps, constitutes typical information physical emerging system (English are as follows: Cyber-Physical Systems, CPS).
Due to industrial machine software and hardware close coupling, Yao Gengxin industrial machine function, a kind of method is the part of replacement machine Or whole hardware are to meet production requirement;Another method is staff according to production requirement, changes manually, adjusts machine Parameter is to meet production requirement.Existing update mode has the following problems: machine construction diversification, internal hardware structure, soft Part interface is also different, therefore it is big and complicated to manage the amount of getting up to work;In traditional industry manufacture system, industrial machine is once installed It is just difficult to change, upgrading and the transformation of machine take time and effort;Traditional industry manufacture machine does not have self perception, decision etc. Function cannot achieve the monitoring feedback of machine state, prevent to avoid, to not can guarantee intelligent production line, intelligent plant production The quality of product in the process.
In conclusion existing industry spot due to industrial machine wide variety, substantial amounts cause update low efficiency, flexibly Property difference and it is with high costs the problems such as.
Summary of the invention
The embodiment of the present invention provides a kind of industrial machine update method and device, to solve existing industry spot due to work Industry kinds of machine multiplicity, substantial amounts lead to problems such as update low efficiency, flexibility poor and with high costs.
The embodiment of the present invention provides a kind of industrial machine update method, comprising:
The more newer command of application layer transmission is received, the more newer command is parsed;
If more newer command described in parsing obtains updating configuration parameter, according to the update configuration parameter to the industrial machine The first of device, which describes file, modifies to obtain second and describes file, according to described second describe file to the industrial machine into Row configuration updates;If parse the more newer command to obtain when including the more new information of submodel, component manager and inventory, According to the submodel URI routing information, is downloaded from server-side and update software, according to the update software to the industrial machine Carry out configuration update;Wherein, described first describe file and described second and describe the form of file are as follows: AS manage shell= { Manifest inventory, Submodels submodel, Component Manager component manager };
After determining that the industrial machine completes configuration update, Xiang Suoshu application layer sends corresponding with the more newer command Update result.
Preferably, the description form of the inventory are as follows: Manifest={ Machine Property, Submodel Property};Machine Property={ Common Attribute, Unique Attribute }, Common Attribute={ identification information, location information, hardware information };
The description form of the submodel are as follows: Submodels={ Submodel Manifest, Submodel }; Submodel={ model information, functional information, production information, legal power safety information };
The description form of the component manager are as follows: Component Manager=API Manifest, APIs, Controller};
Before the more newer command for receiving application layer transmission, further includes:
The industrial machine frame of reference model is determined, according to the industrial machine frame of reference model and the industry The resource description of machine establishes corresponding with the industrial machine described first and describes file;Wherein, the money of the industrial machine Source Description includes multiple sentences, and a sentence is made of resource, attribute type, attribute value.
Preferably, if the parsing more newer command obtains updating configuration parameter, according to the update configuration parameter File described to the first of the industrial machine modify to obtain second to describe file, specifically include:
The update configuration parameter is converted to and describes the update file that file matches with described first, according to it is described more First describes file described in new file modification, obtains described second and describes file.
Preferably, it is described configuration update is carried out to the industrial machine according to the update software before, further includes:
The update software is converted to and describes the configuration file that file matches with described first, according to the configuration text Part carries out configuration update to the industrial machine.
Preferably, it described first describes file and is stored in database;
If the parsing more newer command obtains updating configuration parameter, the update configuration parameter is stored to data Library;If it is described parse the more newer command to obtain when including the more new information of submodel, component manager and inventory, by institute More new information is stated to store to database.
The embodiment of the invention also provides a kind of industrial machine updating devices, comprising:
Receiving unit parses the more newer command for receiving the more newer command of application layer transmission;
If updating unit configures according to the update and joins obtain updating configuration parameter for parsing the more newer command Several first to the industrial machine, which describe file, modifies to obtain second and describes file, describes file pair according to described second The industrial machine carries out configuration update;If parsing the more newer command and obtaining includes submodel, component manager and clearly When the more new information of list, according to the submodel URI routing information, is downloaded from server-side and update software, it is soft according to the update Part carries out configuration update to the industrial machine;Wherein, it described first describes file and described second and describes the form of file are as follows: AS manages shell={ Manifest inventory, Submodels submodel, Component Manager component manager };
Transmission unit, for after determining that the industrial machine is completed configuration and updated, the transmission of Xiang Suoshu application layer with it is described The corresponding update result of more newer command.
Preferably, the description form of the inventory are as follows: Manifest={ Machine Property, Submodel Property};Machine Property={ Common Attribute, Unique Attribute }, Common Attribute={ identification information, location information, hardware information };
The description form of the submodel are as follows: Submodels={ Submodel Manifest, Submodel }; Submodel={ model information, functional information, production information, legal power safety information };
The description form of the component manager are as follows: Component Manager=API Manifest, APIs, Controller};
The receiving unit is also used to:
The industrial machine frame of reference model is determined, according to the industrial machine frame of reference model and the industry The resource description of machine establishes corresponding with the industrial machine described first and describes file;Wherein, the money of the industrial machine Source Description includes multiple sentences, and a sentence is made of resource, attribute type, attribute value.
Preferably, the updating unit is specifically used for:
The update configuration parameter is converted to and describes the update file that file matches with described first, according to it is described more First describes file described in new file modification, obtains described second and describes file.
Preferably, the updating unit is specifically also used to:
The update software is converted to and describes the configuration file that file matches with described first, according to the configuration text Part carries out configuration update to the industrial machine.
Preferably, it described first describes file and is stored in database;
If the parsing more newer command obtains updating configuration parameter, the update configuration parameter is stored to data Library;If it is described parse the more newer command to obtain when including the more new information of submodel, component manager and inventory, by institute More new information is stated to store to database.
The embodiment of the present invention provides a kind of industrial machine update method and device, this method comprises: receiving application layer hair The more newer command sent parses the more newer command;If when parsing the more newer command and obtaining updating configuration parameter, according to it is described more New configuration parameter, which describes file to the first of the industrial machine, modifies to obtain second and describes file, retouches according to described second It states file and configuration update is carried out to the industrial machine;If parsing the more newer command and obtaining including submodel, component pipe When the more new information of reason device and inventory, according to the submodel URI routing information, is downloaded from server-side and update software, according to institute It states update software and configuration update is carried out to the industrial machine;Wherein, it described first describes file and described second and describes file Form are as follows: AS manage shell={ Manifest inventory, Submodels submodel, Component Manager assembly management Device };After determining that the industrial machine completes configuration update, Xiang Suoshu application layer sends update corresponding with the more newer command As a result.This method carries out industrial machine update according to application layer demand, is divided into update according to specific more newer command when update and joins Number and update software, increase the adaptability and flexibility of industrial machine;Machine function is reduced to the dependence of bottom hardware, The cost of replacement hardware is reduced, fund is saved;Further, a kind of description industrial machine document form is provided, is shielded not With the otherness of machine bottom hardware, it is based on this, may be implemented to be updated different industrial machines configuration, reduces more new engine The complexity of function.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical 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 It obtains other drawings based on these drawings.
Fig. 1 is a kind of industrial machine update method flow diagram provided in an embodiment of the present invention;
Fig. 2 is the industrial machine basic framework schematic diagram provided in an embodiment of the present invention based on software definition;
Fig. 3 is the industrial machine framework model structural schematic diagram provided in an embodiment of the present invention based on management shell;
Fig. 4 is submodel library structure schematic diagram provided in an embodiment of the present invention;
Fig. 5 is submodel structural schematic diagram provided in an embodiment of the present invention;
Fig. 6 is that the RDF graph provided in an embodiment of the present invention that is based on shows that method indicates industrial machine structural schematic diagram;
Fig. 7 is that the RDF graph provided in an embodiment of the present invention that is based on shows that method indicates machine attribute structural schematic diagram;
Fig. 8 is that the RDF graph provided in an embodiment of the present invention that is based on shows that method indicates submodel structural schematic diagram;
Fig. 9 is that the RDF graph provided in an embodiment of the present invention that is based on shows that method indicates component manager structural schematic diagram;
Figure 10 is a kind of industrial machine updating device structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Fig. 1 illustratively shows a kind of industrial machine update method flow diagram provided in an embodiment of the present invention, such as Shown in Fig. 1, this method is mainly comprised the steps that
Step 101, the more newer command of application layer transmission is received, the more newer command is parsed;
Step 102, if more newer command described in parsing obtains updating configuration parameter, according to the update configuration parameter to institute It states the first of industrial machine to describe file and modify to obtain second to describe file, describes file to the work according to described second Industry machine carries out configuration update;If parse the more newer command and obtain include submodel, component manager and inventory more When new information, according to the submodel URI routing information, is downloaded from server-side and update software, according to the update software to institute It states industrial machine and carries out configuration update;Wherein, it described first describes file and described second and describes the form of file are as follows: AS= { Manifest, Submodels, Component Manager };
Step 103, after determining that the industrial machine completes configuration update, Xiang Suoshu application layer is sent orders with the update Enable corresponding update result.
In practical applications, industrial machine provided in an embodiment of the present invention can be industrial intelligent machine, be also possible to it His similar machine.
Fig. 2 is the industrial machine basic framework schematic diagram provided in an embodiment of the present invention based on software definition, such as Fig. 2 institute Show, in embodiments of the present invention, the industrial machine basic framework based on intelligence machine software definition is mainly made of four levels, Be successively from bottom to top physical layer (English are as follows: Physical Layer), control layer (English are as follows: conrtoller layer), Podium level (English are as follows: platform layer) and application layer (English are as follows: application layer), wherein physical layer master It to be made of basic physics equipment, basic physics equipment includes sensing equipment and control equipment two parts;Control layer mainly forms It is management shell and Edge Server (English are as follows: Edge Server), the machine one in each management shell and physical layer is a pair of It answers, the management to management shell is realized by Edge Server, can be communicated with each other between management shell, control layer is platform upwards Layer provides unified interface, is responsible for downwards communicating with physical layer equipment and controlling underlying device;Podium level then mainly passes through building Service platform provides for application layer using enabled services, including business service, application and development service, data service and security service Etc. several service types;A variety of services that application layer is then provided based on podium level provide a plurality of types of softwares for user, such as Data mining analysis software, Enterprise Resource Management software etc..
Fig. 3 is the industrial machine framework model structural schematic diagram provided in an embodiment of the present invention based on management shell;Such as Fig. 3 Shown, industrial intelligent machine handing shell provided in an embodiment of the present invention is by machine information inventory (English are as follows: Machine Manifest), submodel template library (English are as follows: Submodels) and component manager (English are as follows: Component Manager) three parts form.
In practical applications, machine information inventory mainly includes machine essential information and management shell essential information.Such as Machinery equipment ID, title, management shell ID, component manager URL (English are as follows: Uniform Resource Locator, Chinese Are as follows: uniform resource locator) etc..The interface that component manager provides, which is accessed, by component manager URL accesses corresponding submodel, Differentiation information of the identification informations such as ID as management shell and industrial intelligent machine and other machines.
Component manager is by interface inventory (English are as follows: API Manifest), several interfaces and manager three parts structure At interface inventory mainly includes the essential information of total interface;Interface and submodel correspond, and are provided out as submodel The method used is called for other industrial systems or other smart machines, for controlling industrial intelligent machine or obtaining intelligence Machine current data and state.For component manager other than providing interface, another major function is by manager to pipe The management and control for managing shell by component manager it can be found that all submodel of industrial intelligent machine, and can pass through Submodel and corresponding hardware are increased newly to realize the update of industrial intelligent machine capability.
Submodel template library is by submodel inventory (English are as follows: Submodel Manifest) and several submodels composition.Son Model inventory exists as submodel dictionary format, records all submodel ID, title, description information and corresponding interface The information such as URL intuitively show the essential information of all submodels.Each submodel in submodel library is actually to machine Each ability is abstracted, and industrial intelligent machine capability is complicated, and the industrial intelligent machine of Various Functions is taken out unified son Model is the core of industrial intelligent machine handing shell architecture template.The shared feature of industrial machine has three parts: with industrial network The connection of network, self perception monitoring and production of machinery capability model, and different machines also has different characteristics, ties below The submodel library structure schematic diagram that Fig. 4 is provided is closed three general character models are introduced:
1), link model (English are as follows: Connection Submodel): intelligence machine and industrial system are flat with other Platform connection.Such as Industrial Ethernet, bluetooth, WiFi etc..
2), machine monitors model (English are as follows: Monitoring Submodel): the model is broadly divided into two parts, and one Aspect is the monitoring of machine operation state, mainly by obtaining the collected multi-class data of sensor, and is carried out simply to it Processing, realizes the monitoring of machine operation state, other models can also obtain machine operation state pair by machine monitors model Itself is adjusted.For example machine Current Temperatures are obtained by the model, judge whether in normal working temperature range, if different Often, then it is adjusted by Temperature Control Model;On the other hand production of machinery state can be obtained by other industrial systems, it is real Now to the monitoring and early warning of production process machine state, other machines can obtain current production status by the model, to certainly Body production process is adjusted, such as AGV travelling bogie, can judge haulage time by acquisition current machine production status, Rationally the working time of effective distribution trolley and route are realized and are produced to avoid affecting adversely and wasting for both sides' working time Without buffering with efficiently.
3), machine capability model (English are as follows: Function Submodel): intelligent industrial machine has multi abilities, needle To each ability, a corresponding machine capability model can be taken out, which provides programmability, i.e. developer upwards The model can be developed and be modified with user of service, the interface open with intelligence machine is connect downwards, realizes machine It directly controls.
In embodiments of the present invention, the research of the structure design of submodel is from the description of machine capability, machine capability It can be modeled with handling capacity type, processing materials information, machining accuracy etc..Below in conjunction with submodule provided by Fig. 5 Sub- model structure is introduced in type structural schematic diagram:
1) it, model information: is mainly made of the model and corresponding execution hardware attributes information.Such as model only one It further include model name (English are as follows: Preferred in addition to this without two identification informations (model ID, hardware actuator ID etc.) Name), the essential informations such as type, definition, version.
2), production information: main including information that is required in process of manufacture and generating.Such as processing materials information Information before (material ID, name of material etc.), processing environment information (normal working temperature range etc.) etc. produce, in addition to this, also Including the information generated in the process such as current production entry time, end time, processing quantity.
3) it, machine capability information: is mainly made of configuration parameter information, interface message and job information three parts.Configuration Parameter information refers to the information of machine available personnel's modification, update in existing hardware allowed band;Interface message refers to open source The interface message and model and interface corresponding relationship and instruction set of hardware development;Job information mainly includes machine capability model It encloses and fractional hardware information.
4), legal power safety information: mainly including user access control, security information etc..Such as configuration parameter information for Developer and user of service access and modify, and interface message only has developer that can modify update.Implement in the present invention In example, main function is to guarantee the safety of data by the way that permission is arranged to data, prevents from being misused.
Further, it after the frame of reference model of industrial machine has been determined, then needs further to determine industrial machine The abstractdesription method of device.
In practical applications, the general character of machine refers to the general properties of different machines, and characteristic refers to that a certain machine is different from The special nature of other machines.General character and characteristic are the intrinsic person's characters of all machines, each machine had not only had general character but also had Characteristic, general character determine the fundamental property of machine, and characteristic then discloses the otherness between machine.Then for machine itself and Speech, the attribute of machine can be divided into build-in attribute and particular attribute, and build-in attribute includes the identification information of machine itself, such as ID Information, URL information etc., particular attribute then include the specific information that machine is different from other machines, such as AGV (English are as follows: Automated Guided Vehicle automated guided vehicle) trolley is different from the routing information of other machines, charge position Deng.
The ability and attribute of machine are all a part of machine resources, can also be converted to the description of machine and provide to machine The description in source, in the embodiment of the present invention, using RDF (English are as follows: Resource Description Framework) i.e. resource The resource of machine is described in describing framework, and RDF is a kind of for describing the markup language of web resource, a RDF file Comprising multiple resource descriptions, each resource description is made of multiple sentences, and a sentence is by resource, attribute type, attribute It is worth the triple constituted, i.e., { resource, attribute type, attribute value }, a sentence indicates the attribute that resource has.Due to work The abstract model of industry machine is management shell, therefore, can be converted into the abstractdesription of industrial machine and retouch to management shell It states, in the embodiment of the present invention, triple: AS=is described as shell is managed based on ontology describing method in RDF { Manifest, Submodels, Component Manager }.Specific descriptions form is shown in Fig. 6.
Specifically, it manages in shell, machine attribute is comprised in Manifest, and in addition to this, there are also manage shell Essential information, the essential information for managing shell is mostly identification information, such as ID, URL etc., can then use a binary group pair Manifest is described: Manifest={ Machine Property, Submodel Property }, wherein Machine Property={ Common Attribute, Unique Attribute }, Common Attribute={ identification information, position Confidence breath, hardware information }.The machine attribute structural schematic diagram for showing that method indicates with RDF graph is as shown in Figure 7.
Submodel is the abstract of machine capability and performance, in the embodiment of the present invention, based on industrial intelligent machine construction and Characteristic can be described Submodels with a binary group: Submodels=Submodel Manifest, Submodel }, wherein Submodel={ model information, functional information, production information, legal power safety information }, inventory include institute There are the statistical informations such as the quantity of the information such as ID, URL of submodel and submodel.Show the submodel structure that method indicates with RDF graph Schematic diagram is as shown in Figure 8.
Component manager mainly consists of three parts, describing mode are as follows: Component Manager={ API Manifest, APIs, Controller }, wherein API mainly includes functional circuit information, URL, corresponding submodel ID, input And output etc.;API Manifest major function is can be with quick-searching API, including all API ID and API quantity etc. Statistical correlation information;Controller major function is that the management to API and corresponding submodel (for example increases, deletes, modification Deng), including the information such as access URL, document.Show that method indicates that component manager structural schematic diagram is as shown in Figure 9 with RDF graph.
The embodiment of the present invention proposes the machine resources based on RDF and describes method, and in semantic architecture, RDF is language The data exchange layer of adopted Web is a kind of data model for describing the relationship between resource and resource, and a RDF data Model can be described using a variety of grammers.Wherein, JSON (English are as follows: JavaScript Object Notation) is one The data interchange format of kind lightweight is easy to people and reads and write, has good readable and convenient for quickly writing characteristic, can To carry out data exchange between different platform.The embodiment of the present invention is indicated machinery equipment model using JSON grammer, Application platform is extensive, more lightweight, code parsing is more rapid.Following procedure is machine submodel RDF-JSON template, i.e., Following procedure is the description file of machine submodel.
Industrial machine update method provided by the embodiment of the present invention is all based on above-mentioned theory.And in the embodiment of the present invention Executing subject be industrial machine end, the application layer interacted with industrial machine end includes control layer and podium level.
Specifically, in the embodiment of the present invention, the interaction flow between industrial machine end and application layer includes following rank Section:
1), resolution phase: application task is parsed and is corresponded to by the application task provided according to user or manufacturer, application layer In terms of industrial machine ability and parameter, basis is provided for the subsequent industrial machine pre-configuration stage.
2), be pre-configured the stage: application layer according to parsing application task obtain as a result, corresponding clothes in calling platform layer Business, is updated industrial machine capability model in virtual machine and part configuration parameter is modified, then pass through control Shell is managed in layer to the batch rekeying and parameter configuration of physical layer industrial machine embedded software, thus realize that actual situation maps, Industrial machine before completing production is pre-configured.
3) it, executes the stage: after industrial machine updates, starting industrial machine, production task is executed, at the same time, to industry The acquisition of working condition and production status data, analysis and the processing of machine, realize the monitoring to industrial machine, are tied according to analysis Fruit is adjusted industrial machine manufacturing parameter, improves production accuracy rate, efficiency of industrial machine etc., or pass through gateway pair Data are handled, and the work production status of other industrial machines is adjusted, and realize the condition monitoring and feedback adjustment of industrial machine.
It should be noted that a kind of industrial machine update method provided in an embodiment of the present invention is mainly for the stage of execution.
Before step 101, it is necessary first to first based on determining industrial machine frame of reference model, further according to industrial machine The resource description of frame of reference model and industrial machine, establish industrial machine first describe file.
It should be noted that in embodiments of the present invention, the description form that the first of industrial machine describes file is AS= { Manifest, Submodels, Component Manager }, wherein the description form of Manifest are as follows: Manifest= { Machine Property, Submodel Property };The description form of Submodels are as follows: Submodels= { Submodel Manifest, Submodel };The description form of component manager are as follows: Component Manager={ API Manifest, APIs, Controller }.Corresponding with industrial machine first describes file provided by the embodiment of the present invention Description form specifically can be with reference to Fig. 6~Fig. 9 and " the machine submodel RDF-JSON template " that provides above
In a step 101, industrial machine termination receives the more newer command of application layer transmission, and to this, more newer command is solved Analysis.It should be noted that in embodiments of the present invention, in more newer command including that configuration update and software upgrading are two kinds of Order.Hence, it can be determined that application layer before sending more newer command, can also be directed to different command types, execute different Operating method, specifically: a kind of operating method are as follows: machine configuration is more according to industry spot demand, in calling platform layer for application layer New demand servicing updates the configuration parameter of corresponding ability submodel in machine mathematical model, i.e. update submodel RDF/JSON description File, control layer call API, request more new physical layer machine, and enter and machine is waited to update result feedback.Another operation side Method are as follows: machine submodel more new demand servicing is called according to business demand;Then to the submodel of virtual machine, component manager, clear It is single etc. to be updated, and update RDF/JSON machine description file;It waits machine to update result feedback, is updated successfully end stream Journey updates failure and then re-calls service.
In a step 102, due in embodiments of the present invention, the more newer command that application layer is sent include configuration update and Software upgrading two types.Therefore, it after industrial machine end is to command analysis is updated, for different orders, then can correspond to not Same processing mode is individually below introduced two kinds of order:
First seed type: if parse that the more newer command obtains is that can will update configuration ginseng when updating configuration parameter Number, which is converted to, describes the update file that file matches with first, then describes file to first according to the update file and repairs Change, describe file for modified first and be confirmed as second to describe file, describes file based on second and industrial machine is matched Set update, when industrial machine be based on this second describe file complete configuration update after, then industrial machine end to application layer send Update configuration result.
For example, industry spot is produced in personalization, for different types of product, the movement rail of unmanned cargo transport trolley The parameters such as mark, target position are all different, and the ability of trolley transport product can be abstracted as transport capacity submodule by managing shell Type, wherein functional configuration parameter can be described below by RDF/JSON:
"FuncAttr":{"Position X":"","Position Y":"","Routing Algorithm":"",...},
By the parsing to product A processing tasks, the parameters such as location information and routing algorithm ID are obtained, and then to trolley Transport capacity is updated, that is, is updated corresponding RDF/JSON and described file, machine updates configuration by parsing description file Parameter simultaneously selects suitable path algorithm, to realize that the configurationization of industrial intelligent machine updates.
Second of type: if parse the more newer command and obtain include submodel, component manager and inventory more new information When, then it can be according to more new information neutron model URI (English are as follows: uniform resource identifier, Chinese are as follows: system One resource identifier) routing information, the corresponding update software of submodel is downloaded to industrial machine end from server-side, will update software Be converted to and describe the configuration file that file matches with first, and configuration update is carried out to industry according to the configuration file, i.e., into Row software upgrading.After industrial machine, which is based on the update software, to be completed to update, then industrial machine end sends to application layer and updates As a result.
It should be noted that in embodiments of the present invention, before step 101, it is determined that the first description of industrial machine After file, can this first be described file and be stored in database.Further, if parsing more newer command obtains updating configuration ginseng When number, it can will also update configuration parameter and store to database;If parsing more newer command obtain include submodel, component manager and When the more new information of inventory, the more new information can also be stored to database.
It is raw with specific industrial personal computer below in order to introduce industrial machine update method provided in an embodiment of the present invention in more detail Wave soldering machines in producing line are hardware objects, provide service interface using Webservice, this method is realized in programming, specific to wrap Include following steps:
Step 201, according to the method made referrals in the analysis and the embodiment of the present invention to wave soldering machines structure, by wave The ability and attribute of peak welding machine device are divided into general character and characteristic, so that constructing the corresponding RDF/JSON of wave soldering machines describes file. Specifically as shown in following procedure: the wave soldering machines include two submodels, and first submodel is welding function submodel, ID is 001, and second submodel product material ID that makes a living is PCB001 etc..
Step 202, analysis program is loaded by machine capability, is tied in the embodiment of the present invention using Gson with FastJson phase The mode of conjunction carries out load parsing to wave-soldering RDF/JSON file, saves data into database after parsing.
Step 203, according to application demand, the interface provided using Webservice service is to wave soldering machines RDF/JSON Description file is modified.It is updated if parameter configuration, then may be, preheating maximum temperature is changed to 200 degrees Celsius, lowest temperature Degree is changed to 150 degrees Celsius etc.;It updates and upgrades if submodel, then may be modification preheating program in the path URI of server-side.
Step 204, wave soldering machines parse the RDF/JSON file received, according to the mark in resolution file Know, judges to be currently that configuration updates or submodel updates upgrading as parameter, updated if parameter configuration, then according to description file Generate machine recognizable configuration file;It is updated if submodel, then goes server-side downloading corresponding pre- according to the path URI first Hot program regenerates machine recognizable configuration file.
Step 205, start configuration file, wave soldering machines are configured or are upgraded.
Step 206, inspection machine more new state, and feed back update result.The data of machine are collected by sensor, are led to It crosses Webservice and interface is provided upwards, calling interface can obtain the configuration updating result of machine.
In conclusion the embodiment of the present invention provides a kind of industrial machine update method and device, this method is according to application layer Demand carries out industrial machine update, is divided into undated parameter and update software according to specific more newer command when update, increases work The adaptability and flexibility of industry machine;Machine function is reduced to the dependence of bottom hardware, reduces the cost of replacement hardware, section About fund;Further, a kind of description industrial machine document form is provided, the difference of different machines bottom hardware is shielded Property, it is based on this, may be implemented to be updated different industrial machines configuration, reduces the complexity for updating machine function.
Based on the same inventive concept, the embodiment of the present invention provides a kind of industrial machine updating device, since the device solves The principle of technical problem is similar to a kind of industrial machine update method, therefore the implementation of the device may refer to the implementation of method, Overlaps will not be repeated.
Figure 10 is a kind of industrial machine updating device structural schematic diagram provided in an embodiment of the present invention, as shown in Figure 10, should Device specifically includes that receiving unit 901, updating unit 902 and transmission unit 903.
Receiving unit 901 parses the more newer command for receiving the more newer command of application layer transmission;
If updating unit 902 configures obtain updating configuration parameter for parsing the more newer command according to the update Parameter, which describes file to the first of the industrial machine, modifies to obtain second and describes file, describes file according to described second Configuration update is carried out to the industrial machine;If parse the more newer command and obtain include submodel, component manager and When the more new information of inventory, according to the submodel URI routing information, is downloaded from server-side and update software, according to the update Software carries out configuration update to the industrial machine;Wherein, it described first describes file and described second and describes the form of file Are as follows: AS manages shell={ Manifest inventory, Submodels submodel, Component Manager component manager };
Transmission unit 903, for after determining that the industrial machine completes configuration update, Xiang Suoshu application layer is sent and institute State the corresponding update result of more newer command.
Preferably, the description form of the inventory are as follows: Manifest={ Machine Property, Submodel Property};Machine Property={ Common Attribute, Unique Attribute }, Common Attribute={ identification information, location information, hardware information };
The description form of the submodel are as follows: Submodels={ Submodel Manifest, Submodel }; Submodel={ model information, functional information, production information, legal power safety information };
The description form of the component manager are as follows: Component Manager=API Manifest, APIs, Controller};
The receiving unit 901 is also used to:
The industrial machine frame of reference model is determined, according to the industrial machine frame of reference model and the industry The resource description of machine establishes corresponding with the industrial machine described first and describes file;Wherein, the money of the industrial machine Source Description includes multiple sentences, and a sentence is made of resource, attribute type, attribute value.
Preferably, the updating unit 902 is specifically used for:
The update configuration parameter is converted to and describes the update file that file matches with described first, according to it is described more First describes file described in new file modification, obtains described second and describes file.
Preferably, the updating unit 902 is specifically also used to:
The update software is converted to and describes the configuration file that file matches with described first, according to the configuration text Part carries out configuration update to the industrial machine.
Preferably, it described first describes file and is stored in database;
If the parsing more newer command obtains updating configuration parameter, the update configuration parameter is stored to data Library;If it is described parse the more newer command to obtain when including the more new information of submodel, component manager and inventory, by institute More new information is stated to store to database.
It should be appreciated that one of the above industrial machine updating device include unit only according to the apparatus realize function The logical partitioning that can be carried out in practical application, can carry out the superposition or fractionation of said units.And the one of embodiment offer The function and a kind of industrial machine update method provided by the above embodiment that kind industrial machine updating device is realized correspond, For the more detailed process flow that the device is realized, it has been described in detail in above method embodiment one, herein not It is described in detail again.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of industrial machine update method characterized by comprising
The more newer command of application layer transmission is received, the more newer command is parsed;
If more newer command described in parsing obtains updating configuration parameter, according to the update configuration parameter to the industrial machine First, which describes file, modifies to obtain second and describes file, describes file according to described second and matches to the industrial machine Set update;If parse the more newer command to obtain when including the more new information of submodel, component manager and inventory, according to The submodel URI routing information is downloaded from server-side and updates software, is carried out according to the update software to the industrial machine Configuration updates;Wherein, described first describe file and described second and describe the description form of file are as follows: AS manage shell= { Manifest inventory, Submodels submodel, Component Manager component manager };
After determining that the industrial machine completes configuration update, Xiang Suoshu application layer sends update corresponding with the more newer command As a result.
2. the method as described in claim 1, which is characterized in that the description form of the inventory are as follows: Manifest= { Machine Property, Submodel Property };Wherein, Machine Property={ Common Attribute, Unique Attribute }, Common Attribute={ identification information, location information, hardware information };
The description form of the submodel are as follows: Submodels={ Submodel Manifest, Submodel };Wherein, Submodel={ model information, functional information, production information, legal power safety information };
The description form of the component manager are as follows: Component Manager=API Manifest, APIs, Controller};
Before the more newer command for receiving application layer transmission, further includes:
The industrial machine frame of reference model is determined, according to the industrial machine frame of reference model and the industrial machine Resource description, establish and corresponding with the industrial machine described first describe file;Wherein, the resource of the industrial machine is retouched It states including multiple sentences, a sentence is made of resource, attribute type, attribute value.
3. the method as described in claim 1, which is characterized in that if the parsing more newer command obtains updating configuration parameter When, it describes file to the first of the industrial machine according to the update configuration parameter and modifies to obtain second to describe file, It specifically includes:
The update configuration parameter is converted to and describes the update file that file matches with described first, according to the update text Part modification described first describes file, obtains described second and describes file.
4. the method as described in claim 1, which is characterized in that described to be carried out according to the update software to the industrial machine Before configuration updates, further includes:
The update software is converted to and describes the configuration file that file matches with described first, according to the configuration file pair The industrial machine carries out configuration update.
5. the method as described in claim 1, which is characterized in that described first, which describes file, is stored in database;
If the parsing more newer command obtains updating configuration parameter, the update configuration parameter is stored to database; If it is described parse the more newer command to obtain when including the more new information of submodel, component manager and inventory, will described in More new information is stored to database.
6. a kind of industrial machine updating device characterized by comprising
Receiving unit parses the more newer command for receiving the more newer command of application layer transmission;
Updating unit, if obtain updating configuration parameter for parsing the more newer command, according to the update configuration parameter pair The first of the industrial machine, which describes file, modifies to obtain second and describes file, describes file to described according to described second Industrial machine carries out configuration update;If parsing the more newer command and obtaining including submodel, component manager and inventory When more new information, according to the submodel URI routing information, is downloaded from server-side and update software, according to the update software pair The industrial machine carries out configuration update;Wherein, it described first describes file and described second and describes the description form of file are as follows: AS manages shell={ Manifest inventory, Submodels submodel, Component Manager component manager };
Transmission unit, for after determining that the industrial machine completes configuration update, Xiang Suoshu application layer to be sent and the update Order corresponding update result.
7. device as claimed in claim 6, which is characterized in that the description form of the inventory are as follows: Manifest= { Machine Property, Submodel Property };Wherein, Machine Property=CommonAttribute, Unique Attribute }, Common Attribute={ identification information, location information, hardware information };
The description form of the submodel are as follows: Submodels={ Submodel Manifest, Submodel };Wherein, Submodel={ model information, functional information, production information, legal power safety information };
The description form of the component manager are as follows: Component Manager=API Manifest, APIs, Controller};
The receiving unit is also used to:
The industrial machine frame of reference model is determined, according to the industrial machine frame of reference model and the industrial machine Resource description, establish and corresponding with the industrial machine described first describe file;Wherein, the resource of the industrial machine is retouched It states including multiple sentences, a sentence is made of resource, attribute type, attribute value.
8. device as claimed in claim 6, which is characterized in that the updating unit is specifically used for:
The update configuration parameter is converted to and describes the update file that file matches with described first, according to the update text Part modification described first describes file, obtains described second and describes file.
9. device as claimed in claim 6, which is characterized in that the updating unit is specifically also used to:
The update software is converted to and describes the configuration file that file matches with described first, according to the configuration file pair The industrial machine carries out configuration update.
10. device as claimed in claim 6, which is characterized in that described first, which describes file, is stored in database;
If the parsing more newer command obtains updating configuration parameter, the update configuration parameter is stored to database; If it is described parse the more newer command to obtain when including the more new information of submodel, component manager and inventory, will described in More new information is stored to database.
CN201910535539.XA 2019-06-20 2019-06-20 Industrial machine updating method and device Active CN110286926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910535539.XA CN110286926B (en) 2019-06-20 2019-06-20 Industrial machine updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910535539.XA CN110286926B (en) 2019-06-20 2019-06-20 Industrial machine updating method and device

Publications (2)

Publication Number Publication Date
CN110286926A true CN110286926A (en) 2019-09-27
CN110286926B CN110286926B (en) 2021-05-11

Family

ID=68004928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910535539.XA Active CN110286926B (en) 2019-06-20 2019-06-20 Industrial machine updating method and device

Country Status (1)

Country Link
CN (1) CN110286926B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI792822B (en) * 2021-12-30 2023-02-11 凌華科技股份有限公司 Software upgrade system, software upgrade method and non-transitory recording medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130138783A1 (en) * 2011-11-28 2013-05-30 Wyse Technology Inc. Deployment and updating of applications and drivers on a client device using an extensible markup language (xml) configuration file
CN104950837A (en) * 2014-03-26 2015-09-30 洛克威尔自动控制技术股份有限公司 Cloud manifest configuration management system
CN105516750A (en) * 2015-12-03 2016-04-20 深圳市茁壮网络股份有限公司 Plug-in unloading, deleting and updating method based on object label
US20170109154A1 (en) * 2012-12-03 2017-04-20 Apkudo, Llc System and method for analyzing user experience of a software application across disparate devices
US9870282B2 (en) * 2015-05-11 2018-01-16 Dell Products, L.P. Systems and methods for providing service and support to computing devices with boot failure
CN107977223A (en) * 2017-11-20 2018-05-01 杭州迪普科技股份有限公司 One kind configuration compliance check method and device
CN108173890A (en) * 2016-12-07 2018-06-15 江苏翰诺信息科技发展有限公司 Automatic software updating and method for pushing based on domestic CPU and operating system
CN108304201A (en) * 2017-09-14 2018-07-20 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN109144551A (en) * 2018-09-05 2019-01-04 杭州和利时自动化有限公司 Equipment firmware update and system under a kind of multi-layer networking mode
CN109408078A (en) * 2018-11-01 2019-03-01 西北工业大学 A kind of update method and device of machine

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130138783A1 (en) * 2011-11-28 2013-05-30 Wyse Technology Inc. Deployment and updating of applications and drivers on a client device using an extensible markup language (xml) configuration file
US20170109154A1 (en) * 2012-12-03 2017-04-20 Apkudo, Llc System and method for analyzing user experience of a software application across disparate devices
CN104950837A (en) * 2014-03-26 2015-09-30 洛克威尔自动控制技术股份有限公司 Cloud manifest configuration management system
US9870282B2 (en) * 2015-05-11 2018-01-16 Dell Products, L.P. Systems and methods for providing service and support to computing devices with boot failure
CN105516750A (en) * 2015-12-03 2016-04-20 深圳市茁壮网络股份有限公司 Plug-in unloading, deleting and updating method based on object label
CN108173890A (en) * 2016-12-07 2018-06-15 江苏翰诺信息科技发展有限公司 Automatic software updating and method for pushing based on domestic CPU and operating system
CN108304201A (en) * 2017-09-14 2018-07-20 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN107977223A (en) * 2017-11-20 2018-05-01 杭州迪普科技股份有限公司 One kind configuration compliance check method and device
CN109144551A (en) * 2018-09-05 2019-01-04 杭州和利时自动化有限公司 Equipment firmware update and system under a kind of multi-layer networking mode
CN109408078A (en) * 2018-11-01 2019-03-01 西北工业大学 A kind of update method and device of machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SUAN YUAN;YANG GANG;ZHOU XINGSHE: "A novel ontology-based service model for cyber physical system", 《 2016 5TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY 》 *
周兴社等: ""信息-物理融合系统动态行为模型构建方法"", 《计算机学报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI792822B (en) * 2021-12-30 2023-02-11 凌華科技股份有限公司 Software upgrade system, software upgrade method and non-transitory recording medium

Also Published As

Publication number Publication date
CN110286926B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN111562769B (en) AI extension and intelligent model validation for industrial digital twinning
Leng et al. ManuChain: Combining permissioned blockchain with a holistic optimization model as bi-level intelligence for smart manufacturing
Ribeiro et al. Transitioning from standard automation solutions to cyber-physical production systems: an assessment of critical conceptual and technical challenges
Leng et al. Digital twin-driven manufacturing cyber-physical system for parallel controlling of smart workshop
US20220027529A1 (en) Controls system based digital twin for supervisory control of independent cart technology tracks and lines
EP4142427A1 (en) Distributed data nodes for flexible data mesh architectures
Lu et al. The paradigm shift in smart manufacturing system architecture
Ramis Ferrer et al. Comparing ontologies and databases: a critical review of lifecycle engineering models in manufacturing
EP4060485A1 (en) Industrial automation distributed project control with milestone rollback
Jiang et al. Research on cloud manufacturing resource integrating service modeling based on cloud-agent
TWI651667B (en) Interface system of virtual and physical integrated network with resources topology
Yang et al. Smart intent-driven network management
CN110286926A (en) A kind of industrial machine update method and device
Muñoz et al. Intelligent mathematical modelling agent for supporting decision-making at industry 4.0
US11900082B2 (en) Industrial automation multi-developer control code synchronization
Prokhorov et al. Cloud IoT platform for creating intelligent industrial automation systems
Wang et al. A Formal Analytical Framework for IoT-Based Plug-And Play Manufacturing System Considering Product Life-Cycle Design Cost
CN114493911A (en) Production line management method and system based on asset management shell
Katti et al. A jumpstart framework for semantically enhanced opc-ua
CN109408078A (en) A kind of update method and device of machine
Delsing et al. Migration of SCADA/DCS systems to the SOA cloud
Gernhardt et al. Supporting production planning through semantic mediation of processing functionality
WO2019225420A1 (en) Conversion device and conversion program
Strljic et al. Collective cloud manufacturing for maintaining diversity in production through digital transformation
Abid et al. Asynchronous coordination of stateful autonomic managers in the cloud

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