技术领域:Technical field:
本发明涉及一种一种自动更新程序的方法和系统。The invention relates to a method and system for automatically updating programs.
背景技术:Background technique:
在现代化的工厂生产领域,为了提升生产效率,越来越多的工厂采用计算机控制仪器完成测试工作,取代手工测试的方式,因此,也就造成了计算机软件的大量使用。In the field of modern factory production, in order to improve production efficiency, more and more factories use computer-controlled instruments to complete the testing work instead of manual testing. Therefore, a large number of computer software has been used.
针对于不同的产品,通常会定制不同的测试程序,然后由生产线技术员将程序安装到测试电脑上,并完成调试。而在生产的过程中,测试程序的一些问题点往往也会暴露出来,比如,重测高,卡死等等问题。那么这就需要软件工程师修改软件,修复这些bug,然后再由技术员将程序安装到测试电脑上,当生产线电脑很多的时候,这就变成了很大的工作量,也会因为人为的失误造成不必要的损失。For different products, different test programs are usually customized, and then the production line technicians install the programs on the test computer and complete the debugging. In the process of production, some problems of the test program are often exposed, such as retest height, stuck and so on. Then this requires software engineers to modify the software, fix these bugs, and then install the program on the test computer by the technician. unnecessary loss.
发明内容:Invention content:
本发明的目的是提供一种对于经常需要更改的软件,通过更新服务器,直接更新各个终端电脑上的测试程序,免去了人为反复更新的工作量的一种自动更新程序的方法和系统。The purpose of the present invention is to provide a method and system for automatically updating the program by updating the test program on each terminal computer directly by updating the server for software that often needs to be changed, eliminating the need for manual updating.
上述的目的通过以下的技术方案实现:Above-mentioned purpose realizes by following technical scheme:
一种自动更新程序的系统,其组成包括服务器,所述的服务器连接终端PC机,所述的终端PC机内装有本地程序。A system for automatically updating programs, which comprises a server, the server is connected to a terminal PC, and a local program is installed in the terminal PC.
所述的一种自动更新程序的系统,本地程序请求服务器端的程序信息,服务器与本地程序文件比较,更新本地程序使其与服务器端保持一致。In the system for automatically updating programs, the local program requests the program information on the server side, and the server compares the local program files to update the local program to be consistent with the server side.
一种自动更新程序的方法,本方法包括六步,第一步搭建测试环境,将一台服务器与多台安装有测试程序的终端PC接入到同一个局域网中;A method for automatically updating a program. The method includes six steps. The first step is to build a test environment, and a server and a plurality of terminal PCs with test programs installed are connected to the same local area network;
第二步往服务器上,上传最新无线板测试程序文件,并在服务器端保存一份最新的程序文件的信息列表;The second step is to upload the latest wireless board test program file to the server, and save an information list of the latest program file on the server side;
第三步在安装有测试程序的终端PC机上,打开测试程序,测试程序通过网络,向服务器请求并获取最新的程序文件的信息列表;The third step is to open the test program on the terminal PC with the test program installed, and the test program will request and obtain the latest program file information list from the server through the network;
第四步测试程序会遍历本地程序文件,生成一份本地程序文件的信息列表;The fourth step is that the test program will traverse the local program files to generate an information list of the local program files;
第五步对比服务器端和本地的程序文件的信息列表,根据对比结果,下载差异文件,覆盖掉存在差异的本地程序文件,保证本地程序文件与服务器端的程序文件一致;The fifth step compares the information list of the server-side and local program files, and downloads the difference files according to the comparison results, overwrites the local program files with differences, and ensures that the local program files are consistent with the server-side program files;
第六步本地测试程序自动更新完成,等待测试。The sixth step is that the local test program is automatically updated and is waiting for the test.
有益效果:Beneficial effect:
1.本发明安装了测试程序的终端PC和服务器,实现了程序自动更新。1. The present invention installs the terminal PC and the server of the test program, and realizes the automatic update of the program.
2.本发明将重复的人为劳动,采用计算机程序自动更新的方式,替代人的操作,提高效率。2. The present invention replaces the repetitive human labor by automatically updating computer programs to improve efficiency.
3.本发明通过计算机程序自动更新,将需要人为手动更新的过程用程序自动实现,大大的提高了效率。3. The present invention automatically updates the process that requires manual updating through the automatic update of the computer program, which greatly improves the efficiency.
附图说明:Description of drawings:
附图1是本产品的系统结构图图。Accompanying drawing 1 is the system structural diagram figure of this product.
附图2是本产品的流程图。Accompanying drawing 2 is the flowchart of this product.
具体实施方式:Detailed ways:
实施例1:Example 1:
一种自动更新程序的系统,其组成包括服务器,所述的服务器连接终端PC机,所述的终端PC机内装有本地程序。A system for automatically updating programs, which comprises a server, the server is connected to a terminal PC, and a local program is installed in the terminal PC.
实施例2:Example 2:
实施例1所述的一种自动更新程序的系统,本地程序请求服务器端的程序信息,服务器与本地程序文件比较,更新本地程序使其与服务器端保持一致。In the system for automatically updating programs described in Embodiment 1, the local program requests the program information on the server side, and the server compares the local program files to update the local program to be consistent with the server side.
实施例3:Example 3:
一种自动更新程序的方法,本方法包括六步,第一步搭建测试环境,将一台服务器A method for automatically updating programs, the method includes six steps, the first step is to build a test environment, a server
与多台安装有测试程序的终端PC接入到同一个局域网中;Access to the same local area network with multiple terminal PCs installed with test programs;
第二步往服务器上,上传最新无线板测试程序文件,并在服务器端保存一份最新的程序文件的信息列表;The second step is to upload the latest wireless board test program file to the server, and save an information list of the latest program file on the server side;
第三步在安装有测试程序的终端PC机上,打开测试程序,测试程序通过网络,向服务器请求并获取最新的程序文件的信息列表;The third step is to open the test program on the terminal PC with the test program installed, and the test program will request and obtain the latest program file information list from the server through the network;
第四步测试程序会遍历本地程序文件,生成一份本地程序文件的信息列表;The fourth step is that the test program will traverse the local program files to generate an information list of the local program files;
第五步对比服务器端和本地的程序文件的信息列表,根据对比结果,下载差异文件,覆盖掉存在差异的本地程序文件,保证本地程序文件与服务器端的程序文件一致;The fifth step compares the information list of the server-side and local program files, and downloads the difference files according to the comparison results, overwrites the local program files with differences, and ensures that the local program files are consistent with the server-side program files;
第六步本地测试程序自动更新完成,等待测试。The sixth step is that the local test program is automatically updated and is waiting for the test.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510096661.3ACN104639652A (en) | 2015-03-04 | 2015-03-04 | Method and system for automatically updating programs |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510096661.3ACN104639652A (en) | 2015-03-04 | 2015-03-04 | Method and system for automatically updating programs |
| Publication Number | Publication Date |
|---|---|
| CN104639652Atrue CN104639652A (en) | 2015-05-20 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510096661.3APendingCN104639652A (en) | 2015-03-04 | 2015-03-04 | Method and system for automatically updating programs |
| Country | Link |
|---|---|
| CN (1) | CN104639652A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105677410A (en)* | 2016-01-05 | 2016-06-15 | 太仓市同维电子有限公司 | Method for downloading test program through server |
| CN107766068A (en)* | 2017-10-10 | 2018-03-06 | 金蝶软件(中国)有限公司 | Application system patch installation, device, computer equipment and storage medium |
| CN105338059B (en)* | 2015-09-24 | 2018-09-04 | 广东欧珀移动通信有限公司 | Data synchronization method and mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1690961A (en)* | 2004-04-30 | 2005-11-02 | 鸿富锦精密工业(深圳)有限公司 | Client program automatic update system and method |
| US7403792B2 (en)* | 2004-10-13 | 2008-07-22 | Nec Corporation | Cellular phone and automatic program update method used therefor |
| CN102546675A (en)* | 2010-12-08 | 2012-07-04 | 鸿富锦精密工业(深圳)有限公司 | Software upgrading system and method |
| CN103049283A (en)* | 2012-11-28 | 2013-04-17 | 镇江为天下信息服务有限公司 | Automatic updating method for setting version numbers for every software file |
| CN103067484A (en)* | 2012-12-25 | 2013-04-24 | 深圳市天维尔通讯技术有限公司 | Method and system upgrading application program automatically |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1690961A (en)* | 2004-04-30 | 2005-11-02 | 鸿富锦精密工业(深圳)有限公司 | Client program automatic update system and method |
| US7403792B2 (en)* | 2004-10-13 | 2008-07-22 | Nec Corporation | Cellular phone and automatic program update method used therefor |
| CN102546675A (en)* | 2010-12-08 | 2012-07-04 | 鸿富锦精密工业(深圳)有限公司 | Software upgrading system and method |
| CN103049283A (en)* | 2012-11-28 | 2013-04-17 | 镇江为天下信息服务有限公司 | Automatic updating method for setting version numbers for every software file |
| CN103067484A (en)* | 2012-12-25 | 2013-04-24 | 深圳市天维尔通讯技术有限公司 | Method and system upgrading application program automatically |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105338059B (en)* | 2015-09-24 | 2018-09-04 | 广东欧珀移动通信有限公司 | Data synchronization method and mobile terminal |
| CN105677410A (en)* | 2016-01-05 | 2016-06-15 | 太仓市同维电子有限公司 | Method for downloading test program through server |
| CN107766068A (en)* | 2017-10-10 | 2018-03-06 | 金蝶软件(中国)有限公司 | Application system patch installation, device, computer equipment and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN105677410A (en) | Method for downloading test program through server | |
| CN103955363B (en) | A kind of manufacture method of program upgrade installation package | |
| KR102141262B1 (en) | Automated generation of a test class pre-header from an interactive graphical user interface | |
| CN104217029B (en) | The amending method and device of a kind of configuration file | |
| CN112667494B (en) | A configuration table-based automotive UDS automated testing method, system and storage medium | |
| EP3042254A1 (en) | Systems and methods for virtualizing a programmable logic controller | |
| CN105354140A (en) | Automation testing method and system | |
| CN102917057B (en) | Personalized application supplying system and method | |
| JP6758274B2 (en) | Automatic process control hardware engineering with schema-represented requirements | |
| CN102546675A (en) | Software upgrading system and method | |
| CN108416449B (en) | Operation and maintenance method and device | |
| CN104639652A (en) | Method and system for automatically updating programs | |
| CN103218244B (en) | The software upgrading upgrade method of communication equipment | |
| DE102018124330A1 (en) | Method for adapting functionalities of a field device | |
| CN106168903A (en) | A way to manage USB and automatically mount to virtual machine | |
| CN108415934B (en) | Hive table repairing method, device, equipment and computer readable storage medium | |
| CN106708573A (en) | System and method used for automatic installation of Hadoop cluster | |
| CN106293818A (en) | Method for deleting installed service based on Ambari | |
| JP2022144675A (en) | Information processing device, control method, and information processing system | |
| CN108829574A (en) | Test data laying method, testing service device and computer readable storage medium | |
| JP5905313B2 (en) | Information processing apparatus, information processing method, information processing system, and program | |
| CN106250485A (en) | Database upgrade method, Apparatus and system | |
| WO2018174223A1 (en) | Operation management server, development operation support system, method thereof and non-transient computer readable medium storing program thereof | |
| CN109960514A (en) | The sharing method of software configuration file | |
| JP2017021714A5 (en) |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | Application publication date:20150520 | |
| WD01 | Invention patent application deemed withdrawn after publication |