CN103500112A - Software version control method - Google Patents

Software version control method Download PDF

Info

Publication number
CN103500112A
CN103500112A CN201310473130.2A CN201310473130A CN103500112A CN 103500112 A CN103500112 A CN 103500112A CN 201310473130 A CN201310473130 A CN 201310473130A CN 103500112 A CN103500112 A CN 103500112A
Authority
CN
China
Prior art keywords
software
module
station information
version number
class model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310473130.2A
Other languages
Chinese (zh)
Inventor
曾海峰
黄涛
代辉
黄伟
陈晓鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Source Photonics Chengdu Co Ltd
Original Assignee
Source Photonics Chengdu Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Source Photonics Chengdu Co Ltd filed Critical Source Photonics Chengdu Co Ltd
Priority to CN201310473130.2A priority Critical patent/CN103500112A/en
Publication of CN103500112A publication Critical patent/CN103500112A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a software automatic control method, in particular to the field of software version control, and discloses a software version control method. The software version control method includes the following steps: A, building a software mapping table with software numbers, module type numbers, module type version numbers and station information, and enabling the software mapping table to be stored in a database, B, enabling a system to read a serial number of a module and find the module type number and the module type version number corresponding to the module from the database according to the serial number, and C, enabling automatic control software to obtain the local station information, and determining the version number of software to be used from the software mapping table in the database according to the module type number, the module type version number and the station information. According to the software automatic control method, the software determining efficiency and accuracy is greatly improved, and the technical problem that the version of testing software is wrongly selected is solved.

Description

Software version control method
Technical field
The present invention relates to software version control method, particularly a kind of control field of software version.
 
Background technology
Traditional module detects operation, is usually following following program and is carrying out:
A plurality of testing softwares that one, need to use in test station computing machine deploy;
Two, operator or PE slip-stick artist manually select testing software according to the product type that is about to produce;
Three, module is inserted on evaluation board;
Four, direct operating software commissioning correlation parameter.
There are following two problems in above working routine: 1, the version of testing software is constantly updated, if guarantee, the use of software version in test can be not expired, must PE slip-stick artist ceaselessly follow the tracks of the redaction of whether issuing testing software, and redaction is deployed in the station computing machine; 2, PE slip-stick artist needs according to being about to produceproduct type, current station is selected one in numerous testing software and is moved on the station computing machine, exists great version to select wrong risk, once software version is selected mistake, detection tends to whole failure, has greatly reduced the work efficiency detected.
 
Summary of the invention
The object of the invention is to overcome existing above-mentioned deficiency in prior art, a kind of software version control method is provided, can determine accurately the version of software.
In order to realize the foregoing invention purpose, the invention provides following technical scheme:
A kind of software version control method comprises the following steps:
A, software version number and corresponding module class model, module type version number and station information are set up to the software mapping table and described software mapping table is stored in database;
B, system read module sequence number also find the corresponding module class model of module, module type version number by sequence number in database;
C, auto-control software obtain local station information, according to determining the software version number that will use in described module class model, module type version number and the software mapping table of described station information from database.
The software mapping table of setting up in database comprises software version number, module class model, module type version number and station information data, and, software version number has been set up mapping relations with corresponding module class model, module type version number and station information, that is to say, can accurately find corresponding software version number by the combination of corresponding module class model, module type version number and station information.
Software version number is stored in database, in order to searching out by mapping table.
Described C step is specially; auto-control software obtains local station information; if local station information of having preserved described module class model, according to determining the software version number that will use in described module class model, module type version number and the software mapping table of described station information from database; If the local station information that there is no described module class model, eject the station of described module class model and select dialog box, select after corresponding station information, station information to be preserved, system determines according to the station information after configuration and module class model, module type version number the software version number that will use.
compared with prior art, beneficial effect of the present invention:
The sequence number of system read module also finds the corresponding module class model of described module and module type version number by described sequence number in database; Auto-control software obtains local station information, according to determining the software version number that will use in described module class model and version number and the software mapping table of described station information from database.Improved greatly the accuracy of definite software version, solved and detected the technical matters that the software version selection makes mistakes.
The accompanying drawing explanation:
The workflow diagram that Fig. 1 is technical solution of the present invention.
Embodiment
Below in conjunction with test example and embodiment, the present invention is described in further detail.But this should be interpreted as to the scope of the above-mentioned theme of the present invention only limits to following embodiment, all technology realized based on content of the present invention all belong to scope of the present invention.
As shown in Figure 1, a kind of software version control method comprises the following steps:
A kind of software version control method comprises the following steps:
A, software version number and corresponding module class model, module type version number and station information are set up to the software mapping table and described software mapping table is stored in database to 1;
B, system read module sequence number also find the corresponding module class model of module, module type version number 2 by sequence number in database;
C, auto-control software obtain local station information, according to determining the software version number 3 that will use in described module class model, module type version number and the software mapping table of described station information from database.
The software mapping table of setting up in database comprises software version number, module class model, module type version number and station information data, and, software version number has been set up mapping relations with corresponding module class model, module type version number and station information, that is to say, can accurately find corresponding software version number by the combination of corresponding module class model, module type version number and station information.
Software version number is stored in database, in order to searching out by mapping table.
Described C step is specially; auto-control software obtains local station information; if local station information of having preserved described module class model, according to determining the software version number that will use in described module class model, module type version number and the software mapping table of described station information from database; If the local station information that there is no described module class model, eject the station of described module class model and select dialog box, select after corresponding station information, station information to be preserved, system determines according to the station information after configuration and module class model, module type version number the software version number that will use.
Below describe for example the course of work of technical solution of the present invention, at first start auto-control software ACS, system read module sequence number also finds the corresponding module class model of module and module type version number by module serial number in database.
ACS obtains local station information, if local station information of having preserved the module class model of using, according to module class model, module type version number and station information, the software mapping table from database decides the kit mumber that will use.To eject the station of this module class model if this locality does not have the station information of this module class model and select dialog box, and select after corresponding station information, station information to be preserved.System determines according to the station information just configured and module class model the software version number that will use.
Embodiment mono-:
Hereinafter, the sequence number of SN representation module; PN representation module style number; PNRev representation module type version number; ACS means auto-control software.
Suppose that the following corresponding product essential information of SN used and parameters are initially in database;
The specific embodiment of the present invention can be decomposed into following step:
1, the ATE software of ATE slip-stick artist's releasing software version number: 1630-00123-00-00-0000-0A is to the ACS(auto-control software) in software database;
2, RD slip-stick artist confirms that 1630-00123-00-00-0000-0A can be used for PN:SP-GB-EX-IDFB-ASB, PNRev (PN version): 1 product is in the production debugging of EEPROM_CHECK station;
3, RD slip-stick artist configures ACS software mapping table, specifies PN:SP-GB-EX-IDFB-ASB, and the product of PNRev:1 is used 1630-00123-00-00-0000-0A to produce debugging at the EEPROM_CHECK station;
4, the optical module that the operator of product line will produce inserts on the evaluation board of station, and starts the ACS terminal program, and what ACS will drive evaluation board and read slotting optical module thereon is for No. SN: B3F2010487;
5, the PN that ACS obtains this module by SN is SP-GB-EX-IDFB-ASB, PNRev is 1, then whether for PN be SP-GB-EX-IDFB-ASB to ACS if detecting on local station, PNRev is the station information configuration that 1 product carries out, do not select and complete the station information configuration if there is no configuration the station flow process list of this product can be shown for PE slip-stick artist, if the station configuration information of this product has been arranged, directly obtain station information; Final ACS obtains station name: EEPROM_CHECK;
6, ACS passes through PN=SP-GB-EX-IDFB-ASB, the condition of PNRev=1 obtains software mapping numbering: ACS_SFP_DS1856_Nano_rapter_legcy in database, shine upon numbering by software and obtain one group of software version map information, the software that has wherein comprised station EEPROM_CHECK is hinted obliquely at information, and this information has indicated this station and should use version number to be: the ATE software of 1630-00123-00-00-0000-0A;
7, ACS searches version number and is in the ACS software library: the Software Mirroring bag of 1630-00123-00-00-0000-0A also downloads to it in the station computing machine.

Claims (2)

1. a software version control method, is characterized in that, comprises the following steps:
A, software version number and corresponding module class model, module type version number and station information are set up to the software mapping table and described software mapping table is stored in database;
B, system read module sequence number also find the corresponding module class model of module, module type version number by sequence number in database;
C, auto-control software obtain local station information, according to determining the software version number that will use in described module class model, module type version number and the software mapping table of described station information from database.
2. software version control method as claimed in claim 1; it is characterized in that; described C step is specially; auto-control software obtains local station information; if local station information of having preserved described module class model, according to determining the software version number that will use in described module class model, module type version number and the software mapping table of described station information from database; If the local station information that there is no described module class model, eject the station of described module class model and select dialog box, select after corresponding station information, station information to be preserved, system determines according to the station information after configuration and module class model, module type version number the software version number that will use.
CN201310473130.2A 2013-10-11 2013-10-11 Software version control method Pending CN103500112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310473130.2A CN103500112A (en) 2013-10-11 2013-10-11 Software version control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310473130.2A CN103500112A (en) 2013-10-11 2013-10-11 Software version control method

Publications (1)

Publication Number Publication Date
CN103500112A true CN103500112A (en) 2014-01-08

Family

ID=49865327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310473130.2A Pending CN103500112A (en) 2013-10-11 2013-10-11 Software version control method

Country Status (1)

Country Link
CN (1) CN103500112A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217167A (en) * 2014-09-11 2014-12-17 株洲南车时代电气股份有限公司 Software version checking method for multi-software system
CN107957882A (en) * 2016-10-13 2018-04-24 北京京东尚科信息技术有限公司 Method and apparatus for sending application information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5546325A (en) * 1993-02-04 1996-08-13 International Business Machines Corporation Automated system, and corresponding method, for testing electro-optic modules
CN101179331A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Automatic debugging method and system of optical module
CN101236522A (en) * 2008-01-25 2008-08-06 中兴通讯股份有限公司 Hardware module test method and apparatus
CN102222282A (en) * 2011-06-23 2011-10-19 成都新易盛通信技术有限公司 Automatic tracing method suitable for optical module production
CN102546012A (en) * 2012-02-13 2012-07-04 中兴通讯股份有限公司 Optical module test device and method
CN103001693A (en) * 2012-12-25 2013-03-27 索尔思光电(成都)有限公司 Light module test method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5546325A (en) * 1993-02-04 1996-08-13 International Business Machines Corporation Automated system, and corresponding method, for testing electro-optic modules
CN101179331A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Automatic debugging method and system of optical module
CN101236522A (en) * 2008-01-25 2008-08-06 中兴通讯股份有限公司 Hardware module test method and apparatus
CN102222282A (en) * 2011-06-23 2011-10-19 成都新易盛通信技术有限公司 Automatic tracing method suitable for optical module production
CN102546012A (en) * 2012-02-13 2012-07-04 中兴通讯股份有限公司 Optical module test device and method
CN103001693A (en) * 2012-12-25 2013-03-27 索尔思光电(成都)有限公司 Light module test method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104217167A (en) * 2014-09-11 2014-12-17 株洲南车时代电气股份有限公司 Software version checking method for multi-software system
CN107957882A (en) * 2016-10-13 2018-04-24 北京京东尚科信息技术有限公司 Method and apparatus for sending application information

Similar Documents

Publication Publication Date Title
CN105868171B (en) A kind of method of calibration and device of Excel file
CN102054100B (en) Static analysis-based method and system for detecting RTL (Resistor Transistor Logic) design errors
CN101719095A (en) Method and device for managing regression testing
CN102234046B (en) Lift control software field debugging system
CN105335264A (en) Computer PCIE (Peripheral Component Interconnect Express) adapter card function testing method based on UEFI (Unified Extensible Firmware Interface)
CN105335246A (en) Method for automatically repairing program crash defect based on question-answer website analysis
CN106646315A (en) Automatic testing system and automatic testing method for digital measuring instruments
CN105651308A (en) A laser strapdown inertial navigation system test method and a system therefor
CN112231163A (en) Multifunctional computer detection equipment and operation method thereof
CN103500112A (en) Software version control method
CN104123212A (en) System test method of USB chip
CN102707943A (en) Implementation method of remote control automation tool
CN103336935A (en) Probe card identification device and probe card identification method
CN107907838A (en) A kind of redundant power module tests system and method
CN108979648B (en) A kind of shield machine segment ring number calculation method
CN102663205B (en) Software realization method and system for vehicle assembly shop tooling site management
CN110413515A (en) A kind of bios code walks checking method, system and code walkthrough tool automatically
CN102279795A (en) Test method and test device
CN114676061A (en) Knowledge graph-based automatic firmware detection method
CN104461565A (en) Optical module testing parameter configuration method and system
CN111950231B (en) BMC sensor information checking and comparing method and system
CN109491679A (en) A kind of CPLD online upgrading method and device
CN102456079B (en) The dimension guide system of offline image programming and method
CN108121841B (en) Method for quickly marking PCBA (printed circuit board assembly) mounting device
CN104866413A (en) Multi-process testing method and device

Legal Events

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

Application publication date: 20140108