CN111767065A - Batch remote upgrading and downgrading method and system for machine tool numerical control software - Google Patents
Batch remote upgrading and downgrading method and system for machine tool numerical control software Download PDFInfo
- Publication number
- CN111767065A CN111767065A CN201910262090.4A CN201910262090A CN111767065A CN 111767065 A CN111767065 A CN 111767065A CN 201910262090 A CN201910262090 A CN 201910262090A CN 111767065 A CN111767065 A CN 111767065A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- software
- numerical control
- upgrade
- server
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 230000008569 process Effects 0.000 claims abstract description 19
- 230000002159 abnormal effect Effects 0.000 claims description 8
- 238000003672 processing method Methods 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 3
- 230000002452 interceptive effect Effects 0.000 claims description 2
- 238000011161 development Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007488 abnormal function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000593 degrading effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Numerical Control (AREA)
Abstract
The invention relates to a batch remote upgrading and downgrading method and a batch remote upgrading and downgrading system for machine tool numerical control software. The invention realizes the batch remote automatic upgrading of the numerical control software of the machine tool, the client does not need to additionally install and operate any software upgrading related function or process, the system resources are greatly saved, the development difficulty of the software upgrading function is reduced, the upgrading process is simple, and the efficiency is high.
Description
Technical Field
The invention belongs to the technical field of numerical control machines, and particularly relates to a batch remote upgrading and downgrading method and system for numerical control software of a machine tool.
Background
At present, the upgrading mode of the numerical control software of the machine tool mainly comprises manual upgrading and pre-installation upgrading, for the manual upgrading, a system needs to be restarted repeatedly in the upgrading process, an operator needs to check and record the upgrading process and the completion condition in real time, the process is complicated, the efficiency is low, especially when a large number of machine tools are used for simultaneously upgrading the numerical control software, the workload of the whole upgrading process is huge, the period is long, the efficiency is low, the production efficiency of a factory is seriously influenced, and the production cost of products is increased. For preassembly upgrade, the method is to inquire and visit the server end through the customer end to obtain the latest version information and decide whether to upgrade the software, this upgrade way requires the numerical control software must have upgrade function, or need to develop the service process used for upgrading the function in the system additionally, thus has increased the development difficulty of the software upgrade function; and because the professional function of the numerical control software is the normalized operation, and the software upgrading update belongs to the abnormal function, if the pre-installed upgrade is adopted, the related functions of the software upgrading are required to be operated in the background all the time after the system is started like the system service, thereby undoubtedly increasing the occupation of the system resources.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a batch remote upgrading method and system for machine tool numerical control software, which do not need to additionally install and run any software upgrading related functions or processes, greatly save system resources, and have simple upgrading process and high efficiency.
In order to solve the technical problems, the invention is realized by the following technical scheme:
on one hand: a batch remote upgrading and downgrading method for machine tool numerical control software comprises the following steps:
A. storing the software upgrading execution module and the files related to the numerical control software upgrading package in a shared folder of a server, starting a server software module by the server, generating an upgrading configuration parameter file according to upgrading target setting parameters and storing the upgrading configuration parameter file in a specified directory of the shared folder;
B. copying a software upgrading execution module and an upgrading configuration parameter file from a shared folder to a local specified directory by the numerical control machine tool, and starting the software upgrading execution module;
C. the software upgrading execution module and the server software module establish TCP/IP connection, whether software upgrading operation is executed or not is confirmed, and if yes, the step D is executed; if not, executing the step E;
D. the software upgrading execution module executes software upgrading operation;
E. the upgrade is complete or cancelled.
Further, the software upgrading operation in the step D includes downloading relevant files of the digital control software upgrading package from the shared folder.
Further, the step D further includes that the software upgrade execution module feeds back the upgrade process and the state to the server software module, and the server software module performs interactive processing according to the feedback information, and the specific method includes:
D1. the software upgrading execution module executes upgrading operation and pushes the current upgrading state to the server software module;
D2. the server software module checks whether the upgrade state is correct, if so, the step D5 is executed; if not, go to step D3;
D3. the server software module analyzes the error type and automatically processes the upgrade error;
D4. judging whether the error is eliminated, if so, returning to the step D1; if not, recording error information and canceling upgrading;
D5. judging whether the upgrade is finished, if so, finishing the upgrade; if not, the procedure returns to step D1.
Further, the error types in step D3 include a normal error type and an abnormal error type, different error codes are respectively set for the normal error type, and the abnormal error type is determined by upgrading overtime; the automatic processing method of the normal error type is that the server software module modifies the related parameter setting according to the error code and autonomously tries to upgrade again, and when the number of tries reaches the set upper limit value, the attempts are not made; the automatic processing method of the abnormal error type is to directly try to upgrade again, and the number of the try is one.
Further, the step E further includes that the software upgrade execution module pushes a feedback upgrade completion or cancellation state to the server software module, then automatically exits and deletes the relevant files of itself, and restarts the operating system to further delete the residual files.
On the other hand, the batch remote upgrading and downgrading system for the machine tool numerical control software comprises a server and a plurality of numerical control machines, wherein the server is connected with the numerical control machines through a local area network, a shared folder and a server side software module are arranged in the server, and the numerical control machines acquire upgrading files from the shared folder and interact with the server side software module to finish upgrading of the numerical control software.
According to the batch remote upgrading and downgrading system for the machine tool numerical control software, the upgrade files comprise a software upgrade execution module, an upgrade configuration parameter file and a numerical control software upgrade package related file, and the software upgrade execution module can execute software upgrade operation.
According to the batch remote upgrading and downgrading system for the machine tool numerical control software, the local area network can be connected by a Wireless Local Area Network (WLAN) or a wireless local area network (wifi) networking mode.
According to the method and the system for the batch remote upgrading and downgrading of the machine tool numerical control software, the files related to the numerical control software upgrading package can be any high-version or any low-version upgrading package file and any specific version upgrading package file.
Compared with the prior art, the invention has the beneficial effects that: the invention adopts the way of sharing the folder by the local area network, realizes the zero client support of the upgraded machine tool, namely the numerical control system of the machine tool does not need to provide any upgrade support, and greatly reduces the difficulty of software upgrade development and the consumption of machine tool system resources; and the remote batch upgrading of the numerical control software of a plurality of machine tools by one server can be realized, and the upgrading efficiency is greatly improved. In addition, the server interacts with the numerical control machine tool in real time in the upgrading process, so that the remote monitoring of the software upgrading state is realized, the upgrading state is checked more visually and uniformly, the management is more convenient, and the unified management of batch upgrading is facilitated.
Drawings
FIG. 1 is a schematic flow chart of a batch remote upgrading and downgrading method of the present invention.
FIG. 2 is a flow chart of a data interaction method between a software upgrade execution module and a server software module according to the present invention.
FIG. 3 is a schematic diagram of a batch remote step-up/step-down system according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 shows a schematic flow chart of a batch remote upgrading and downgrading method of machine tool numerical control software according to the present invention, which includes the following steps:
200, a system command line program is started on the numerical control machine tool, a software upgrading execution module and an upgrading configuration parameter file are copied from a shared folder to a local specified directory, and the software upgrading execution module is started;
and 500, after the upgrade is finished or cancelled, the software upgrade execution module automatically quits and deletes the self-related files after feeding back the upgrade finished or cancelled state to the server software module, and then restarts the operating system to further delete the residual files.
Fig. 2 is a schematic flow chart showing a method for pushing an upgrade state to a server software module by a software upgrade execution module and processing feedback information by the server software module in a software upgrade process, including:
In step 403, the error types include a normal error type and an abnormal error type, different error codes are respectively set for the normal error types, and the abnormal error type is judged by upgrading overtime; the automatic processing method of the normal error type is that the server software module modifies the relevant parameter setting according to the error code and autonomously tries to upgrade again, the number of trying times can be set in advance, when the number of trying times reaches the set upper limit value, the trying is not carried out, and the error is judged not to be eliminated in step 404; the automatic handling method of the exception error type is to directly try upgrading again, the number of the try is one, and if the error still exists, the error is determined not to be eliminated in step 404.
Fig. 3 shows a schematic structural diagram of a batch remote upgrading and downgrading system of machine tool numerical control software according to the present invention, which includes a server and a numerical control machine tool, wherein the server is connected to the numerical control machine tool through a local area network. A shared folder and a server software module are arranged in the server, and the shared folder is used for storing a software upgrading execution module, an upgrading configuration parameter file and a numerical control software upgrading package related file; the server software module is used for starting a command line program of a designated numerical control machine, copying the software upgrading execution module and the upgrading configuration parameter file into the numerical control machine, and performing data interaction with the software upgrading execution module of the numerical control machine in the software upgrading process.
By adopting the method and the system, not only can the high-version upgrading operation be carried out on the numerical control software in the machine tool, but also the low-version degrading operation can be carried out, and the replacement of a specific version can be carried out, the upgrading and downgrading or replacing process is not influenced by the current client of the numerical control machine tool, and the numerical control system of the machine tool does not need to provide any upgrading and downgrading support.
Although the present invention has been described in detail hereinabove, the present invention is not limited thereto, and those skilled in the art can make various modifications in accordance with the principle of the present invention. Thus, modifications made in accordance with the principles of the present invention should be understood to fall within the scope of the present invention.
Claims (9)
1. A batch remote upgrading and downgrading method for machine tool numerical control software is characterized by comprising the following steps:
A. storing the software upgrading execution module and the files related to the numerical control software upgrading package in a shared folder of a server, starting a server software module by the server, generating an upgrading configuration parameter file according to upgrading target setting parameters and storing the upgrading configuration parameter file in a specified directory of the shared folder;
B. copying a software upgrading execution module and an upgrading configuration parameter file from a shared folder to a local specified directory by the numerical control machine tool, and starting the software upgrading execution module;
C. the software upgrading execution module and the server software module establish TCP/IP connection, whether software upgrading operation is executed or not is confirmed, and if yes, the step D is executed; if not, executing the step E;
D. the software upgrading execution module executes software upgrading operation;
E. the upgrade is complete or cancelled.
2. The method as claimed in claim 1, wherein the software upgrading operation in step D includes downloading files related to the nc software upgrade package from a shared folder.
3. The batch remote upgrading method for the numerical control software of the machine tool according to claim 2, wherein the step D further comprises the step of feeding back an upgrading process and a state to the server software module by the software upgrading execution module, and the server software module performs interactive processing according to a feedback result, and the method specifically comprises the steps of:
D1. the software upgrading execution module executes upgrading operation and pushes the current upgrading state to the server software module;
D2. the server software module checks whether the upgrade state is correct, if so, the step D5 is executed; if not, go to step D3;
D3. the server software module analyzes the error type and automatically processes the upgrade error;
D4. judging whether the error is eliminated, if so, returning to the step D1; if not, recording error information and canceling upgrading;
D5. judging whether the upgrade is finished, if so, finishing the upgrade; if not, the procedure returns to step D1.
4. The batch remote upgrading method for numerical control software of machine tools according to claim 3, wherein the error types in step D3 include a normal error type and an abnormal error type, different error codes are respectively set for the normal error type, and the abnormal error type is determined by upgrading overtime; the automatic processing method of the normal error type is that the server software module modifies the related parameter setting according to the error code and autonomously tries to upgrade again, and when the number of tries reaches the set upper limit value, the attempts are not made; the automatic processing method of the abnormal error type is to directly try to upgrade again, and the number of the try is one.
5. The batch remote upgrading method for the numerical control software of the machine tool according to any one of claims 1 to 4, wherein the step E further comprises the steps of pushing a feedback upgrading completion or cancellation state to the server software module by the software upgrading execution module, then automatically exiting and deleting self-related files, and restarting an operating system to further delete residual files.
6. The batch remote upgrading and downgrading system for the machine tool numerical control software is characterized by comprising a server and a plurality of numerical control machines, wherein the server is connected with the numerical control machines through a local area network, a shared folder and a server side software module are arranged in the server, and the numerical control machines acquire an upgrading file from the shared folder and interact with the server side software module to complete numerical control software upgrading.
7. The batch remote upgrading and downgrading system for numerically controlled software of machine tools of claim 6, wherein the upgrade files include a software upgrade execution module, an upgrade configuration parameter file, and a numerically controlled software upgrade package-related file, and the software upgrade execution module is configured to perform software upgrade operations.
8. The batch remote upgrading and downgrading system for the numerical control software of the machine tool according to claim 6, wherein the local area network connection can be a wlan wired network connection or a wifi wireless network connection.
9. The batch remote upgrading method and system for the numerical control software of the machine tool according to any one of claims 1 to 8, wherein the files related to the numerical control software upgrade package can be any high-version or any low-version and any specific-version upgrade package files.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910262090.4A CN111767065A (en) | 2019-04-02 | 2019-04-02 | Batch remote upgrading and downgrading method and system for machine tool numerical control software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910262090.4A CN111767065A (en) | 2019-04-02 | 2019-04-02 | Batch remote upgrading and downgrading method and system for machine tool numerical control software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111767065A true CN111767065A (en) | 2020-10-13 |
Family
ID=72718419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910262090.4A Pending CN111767065A (en) | 2019-04-02 | 2019-04-02 | Batch remote upgrading and downgrading method and system for machine tool numerical control software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111767065A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030033396A (en) * | 2001-10-22 | 2003-05-01 | 주식회사 지트랜코리아 | Method for upgrading of wireless terminal |
US20070074015A1 (en) * | 2005-09-29 | 2007-03-29 | Nec Corporation | Control apparatus, upgrade method and program product of the same |
US20080077681A1 (en) * | 2006-09-26 | 2008-03-27 | Samsung Electronics Co., Ltd. | Method and apparatus for upgrading software of digital broadcasting receiver |
CN101674590A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Client device and remote updating method and remote updating service system thereof |
CN101770380A (en) * | 2009-01-05 | 2010-07-07 | 英业达集团(天津)电子技术有限公司 | Upgrade method for software of client in enterprise |
CN104298175A (en) * | 2014-09-26 | 2015-01-21 | 华中科技大学 | Numerical control system based on virtualization technology and method |
CN104346187A (en) * | 2013-08-07 | 2015-02-11 | 西安诺瓦电子科技有限公司 | Software upgrading method for video control card for display screen |
CN107395666A (en) * | 2017-05-23 | 2017-11-24 | 武汉华中数控股份有限公司 | A kind of method and device of operating numerical control lathe upgrading data packet |
CN107832076A (en) * | 2017-10-24 | 2018-03-23 | 北京天地玛珂电液控制系统有限公司 | A kind of industrial control unit (ICU) program upgrading management system |
CN108848418A (en) * | 2018-06-25 | 2018-11-20 | 四川长虹网络科技有限责任公司 | Set-top box concentrates upgrade method |
CN109358878A (en) * | 2018-10-15 | 2019-02-19 | 广东宝莱特医用科技股份有限公司 | A kind of batch upgrading method and system of patient monitor |
-
2019
- 2019-04-02 CN CN201910262090.4A patent/CN111767065A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030033396A (en) * | 2001-10-22 | 2003-05-01 | 주식회사 지트랜코리아 | Method for upgrading of wireless terminal |
US20070074015A1 (en) * | 2005-09-29 | 2007-03-29 | Nec Corporation | Control apparatus, upgrade method and program product of the same |
US20080077681A1 (en) * | 2006-09-26 | 2008-03-27 | Samsung Electronics Co., Ltd. | Method and apparatus for upgrading software of digital broadcasting receiver |
CN101770380A (en) * | 2009-01-05 | 2010-07-07 | 英业达集团(天津)电子技术有限公司 | Upgrade method for software of client in enterprise |
CN101674590A (en) * | 2009-09-29 | 2010-03-17 | 中兴通讯股份有限公司 | Client device and remote updating method and remote updating service system thereof |
CN104346187A (en) * | 2013-08-07 | 2015-02-11 | 西安诺瓦电子科技有限公司 | Software upgrading method for video control card for display screen |
CN104298175A (en) * | 2014-09-26 | 2015-01-21 | 华中科技大学 | Numerical control system based on virtualization technology and method |
CN107395666A (en) * | 2017-05-23 | 2017-11-24 | 武汉华中数控股份有限公司 | A kind of method and device of operating numerical control lathe upgrading data packet |
CN107832076A (en) * | 2017-10-24 | 2018-03-23 | 北京天地玛珂电液控制系统有限公司 | A kind of industrial control unit (ICU) program upgrading management system |
CN108848418A (en) * | 2018-06-25 | 2018-11-20 | 四川长虹网络科技有限责任公司 | Set-top box concentrates upgrade method |
CN109358878A (en) * | 2018-10-15 | 2019-02-19 | 广东宝莱特医用科技股份有限公司 | A kind of batch upgrading method and system of patient monitor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110912728B (en) | Operating system patch batch automatic update management method and system | |
US8423996B2 (en) | Delivery system, server device, terminal device, and delivery method | |
CN110806907B (en) | Containerized configurable database script execution management system and method | |
CN111818125A (en) | Control method of whole-plant merchant RPA robot | |
CN112383507A (en) | Firewall policy management method, device and system and computer readable storage medium | |
CN111767065A (en) | Batch remote upgrading and downgrading method and system for machine tool numerical control software | |
US20150066160A1 (en) | Control program management device, information processing device, and control program processing method | |
CN114398048A (en) | Method and device for automatically upgrading APP and computer equipment | |
CN112769607A (en) | Unmanned vehicle software upgrading method | |
US9207928B2 (en) | Computer-readable medium, apparatus, and methods of automatic capability installation | |
JP4799114B2 (en) | NC machine tool control program update method and apparatus | |
CN112083947A (en) | Software package issuing method for supply chain multi-language environment | |
CN115080076B (en) | Cloud mobile phone software management method | |
CN111767064A (en) | Software batch remote upgrading and downgrading method and system without client support | |
CN111008382A (en) | Method and system for remotely upgrading virtual power plant regulation and control terminal software | |
CN105354068A (en) | Network-based robot system software batch installing and upgrading method | |
CN113296809B (en) | Declarative general Kubernetes tuning method | |
CN111930414B (en) | Crane program management method, crane program remote management method and device | |
CN115421847A (en) | Management method and equipment for research, development, operation and maintenance platform and CICD (common information carrier) assembly line supporting multiple engines | |
CN107315602B (en) | Application program upgrading method and terminal | |
JP2005141699A (en) | Apparatus for programmable controller | |
CN112748933A (en) | On-line downloading method for programmable logic controller | |
CN210839798U (en) | Industrial intelligent camera supporting remote upgrading and debugging | |
CN114756432B (en) | Method, system and server for realizing BMC monitoring function | |
EP3376319A1 (en) | Method and system for an automated configuration of an industrial controller |
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 |