TWI648621B - Program version verification method and software development system using the same - Google Patents

Program version verification method and software development system using the same Download PDF

Info

Publication number
TWI648621B
TWI648621B TW106118443A TW106118443A TWI648621B TW I648621 B TWI648621 B TW I648621B TW 106118443 A TW106118443 A TW 106118443A TW 106118443 A TW106118443 A TW 106118443A TW I648621 B TWI648621 B TW I648621B
Authority
TW
Taiwan
Prior art keywords
version
program
host
development
target host
Prior art date
Application number
TW106118443A
Other languages
Chinese (zh)
Other versions
TW201903609A (en
Inventor
蔡旻衛
Original Assignee
兆豐國際商業銀行股份有限公司
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 兆豐國際商業銀行股份有限公司 filed Critical 兆豐國際商業銀行股份有限公司
Priority to TW106118443A priority Critical patent/TWI648621B/en
Publication of TW201903609A publication Critical patent/TW201903609A/en
Application granted granted Critical
Publication of TWI648621B publication Critical patent/TWI648621B/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

一種程式版本驗證方法,適用於包括目標主機以及版本驗證伺服器的軟體開發系統。目標主機傳送過版版本的開發程式的程式資訊至版本驗證伺服器。版本驗證伺服器依據程式資訊判斷過版版本是否早於目標主機對應此開發程式的先前版本,當過版版本早於先前版本則發出第一提示訊息至該目標主機。反之,目標主機會將此開發程式遞交至前方主機,或將過版版本的開發程式佈署於目標主機。其中,先前版本包括目標主機已遞交至前方主機的開發程式的已遞交版本,或佈署於目標主機的開發程式的測試版本。此外,使用此方法的軟體開發系統亦被提出。A program version verification method for a software development system including a target host and a version verification server. The target host transmits the program information of the version of the development program to the version verification server. The version verification server determines whether the version of the version is earlier than the previous version of the development program corresponding to the target host according to the program information, and sends a first prompt message to the target host when the version is earlier than the previous version. Conversely, the target host will submit the development program to the front host or deploy the versioned development program to the target host. Among them, the previous version includes the submitted version of the development program that the target host has submitted to the front host, or the test version of the development program deployed on the target host. In addition, a software development system using this method has also been proposed.

Description

程式版本驗證方法與使用此方法的軟體開發系統Program version verification method and software development system using this method

本發明是有關於一種軟體開發方法,且特別是有關於一種程式版本驗證方法與使用此方法的軟體開發系統。The present invention relates to a software development method, and in particular to a program version verification method and a software development system using the same.

在多人協同開發系統時,若遇到佈署單一整合測試環境時,往往會遇到所佈署的多種測試版本互相覆蓋的問題,導致多個測試人員在相同的測試環境測試時,必須要經過繁複的人工協調與版本確認才能夠順利的針對正確的測試版本進行測試。當測試環境不只有一個而存在多層式的測試環境時,問題將更加明顯。When a multi-person collaborative development system encounters a single integrated test environment, it often encounters problems of multiple test versions deployed, which causes multiple testers to test in the same test environment. After complicated manual coordination and version verification, it is possible to successfully test the correct test version. The problem will become more apparent when there is more than one test environment and there is a multi-tiered test environment.

現行的過版系統只負責佈署程式環境準備與佈署,因此,如何能夠提供一種系統開發環境,能夠在多人協同開發時避免不必要的測試版本佈署,並且能夠即時的發現錯誤版本,是本領域技術人員所共同致力的目標。The current version of the system is only responsible for the preparation and deployment of the program environment. Therefore, how can a system development environment be provided to avoid unnecessary test version deployment in multi-person collaborative development and to instantly find the wrong version? It is a goal that a person skilled in the art is working together.

本發明提供一種程式版本驗證方法與使用此方法的軟體開發系統,能夠避免不必要的測試版本佈署,也能夠即時發現錯誤版本。如此一來,將減少繁複的人工協調與版本確認,提升軟體開發的效率。The invention provides a program version verification method and a software development system using the same method, which can avoid unnecessary test version deployment and can also find an error version in real time. As a result, it will reduce complicated manual coordination and version confirmation, and improve the efficiency of software development.

本發明的程式版本驗證方法適用於包括目標主機以及版本驗證伺服器的軟體開發系統。目標主機傳送過版版本的開發程式的程式資訊至版本驗證伺服器。版本驗證伺服器依據程式資訊判斷過版版本是否早於目標主機對應此開發程式的先前版本,當過版版本早於先前版本則發出第一提示訊息至該目標主機。反之,目標主機會將此開發程式遞交至前方主機,或將過版版本的開發程式佈署於目標主機。其中,先前版本包括目標主機已遞交至前方主機的開發程式的已遞交版本,或佈署於目標主機的開發程式的測試版本。The program version verification method of the present invention is applicable to a software development system including a target host and a version verification server. The target host transmits the program information of the version of the development program to the version verification server. The version verification server determines whether the version of the version is earlier than the previous version of the development program corresponding to the target host according to the program information, and sends a first prompt message to the target host when the version is earlier than the previous version. Conversely, the target host will submit the development program to the front host or deploy the versioned development program to the target host. Among them, the previous version includes the submitted version of the development program that the target host has submitted to the front host, or the test version of the development program deployed on the target host.

在本發明的一實施例中,上述的軟體開發系統包括至少一個前方主機。當版本驗證伺服器判斷過版版本是否早於先前版本時,更判斷過版版本是否早於佈署於前方主機的開發程式的前方版本,當過版版本早於先前版本與前方版本的至少其中之一時,版本驗證伺服器發出第一提示訊息至目標主機。當過版版本不早於先前版本以及前方版本時,目標主機將過版版本的開發程式遞交至前方主機。In an embodiment of the invention, the software development system described above includes at least one front host. When the version verification server determines whether the version is earlier than the previous version, it is judged whether the version is earlier than the front version of the development program deployed on the front host, and the version is earlier than at least the previous version and the previous version. In one case, the version verification server issues a first prompt message to the target host. When the version is not earlier than the previous version and the previous version, the target host submits the versioned development program to the front host.

在本發明的一實施例中,當上述的過版版本不早於先前版本以及前方版本時,目標主機更佈署開發程式的過版版本,以作為測試版本。In an embodiment of the present invention, when the above-mentioned version is not earlier than the previous version and the front version, the target host further deploys the version of the development program as a test version.

在本發明的一實施例中,上述的軟體開發系統更包括至少一個後方主機,且先前版本係為佈署於目標主機的開發程式的測試版本。版本驗證伺服器更依據程式資訊,判斷過版版本是否晚於佈署於至少一個後方主機的開發程式的後方版本。當過版版本晚於後方版本,版本驗證伺服器發出第二提示訊息至目標主機。當過版版本不晚於後方版本,且過版版本不早於先前版本,目標主機將過版版本的開發程式遞交至前方主機。In an embodiment of the invention, the software development system further includes at least one rear host, and the previous version is a test version of the development program deployed on the target host. The version verification server further determines whether the version is later than the version of the development program deployed on at least one of the rear hosts, based on the program information. When the version is later than the later version, the version verification server sends a second prompt message to the target host. When the version is not later than the later version, and the version is not earlier than the previous version, the target host submits the version of the development program to the front host.

在本發明的一實施例中,上述的目標主機傳送過版版本的開發程式的程式資訊至版本驗證伺服器前,至少一個後方主機遞交此過版版本的開發程式至所述目標主機。In an embodiment of the present invention, before the target host transmits the program information of the version of the development program to the version verification server, at least one of the rear hosts submits the development version of the development version to the target host.

從另一觀點而言,本發明提出一種軟體開發系統,包括目標主機以及版本驗證伺服器。目標主機用以執行遞交開發程式至前方主機以及佈署開發程式的至少其中之一。版本驗證伺服器連接於目標主機,用以驗證目標主機所遞交或佈署的開發程式的過版版本。其中,目標主機傳送過版版本的開發程式的程式資訊至版本驗證伺服器。版本驗證伺服器依據程式資訊,判斷過版版本是否早於目標主機的先前版本,當過版版本早於先前版本,版本驗證伺服器發出第一提示訊息至目標主機。當過版版本不早於先前版本,目標主機將過版版本的開發程式遞交前方主機,或將過版版本的開發程式佈署於目標主機。先前版本包括目標主機已遞交至前方主機的開發程式的已遞交版本,或佈署於目標主機的開發程式的測試版本。From another point of view, the present invention provides a software development system including a target host and a version verification server. The target host is used to execute at least one of submitting the development program to the front host and deploying the development program. The version verification server is connected to the target host to verify the version of the development program submitted or deployed by the target host. The target host transmits the program information of the version of the development program to the version verification server. The version verification server determines whether the version is earlier than the previous version of the target host according to the program information. If the version is earlier than the previous version, the version verification server sends a first prompt message to the target host. When the version is not earlier than the previous version, the target host submits the development version of the development version to the front host, or deploys the development version of the development version to the target host. Previous versions include a submitted version of the development program that the target host has submitted to the front host, or a test version of the development program deployed on the target host.

基於上述,本發明實施例所提出的程式版本驗證方法與使用此方法的軟體開發系統,在欲佈署特定版本的開發程式至目標主機的測試環境時,分別向前與向後檢查此特定版本是否與正佈署於前方主機與後方主機的相同程式的版本發生衝突。若發生衝突時,則發出提示訊息來告知目標主機,以避免不必要的程式佈署。如此一來,將能夠減少繁複的人工協調與版本確認,提升軟體開發的效率。Based on the above, the program version verification method and the software development system using the method in the embodiment of the present invention respectively check whether the specific version is forward and backward when the specific version of the development program is deployed to the test environment of the target host. It conflicts with the version of the same program that is being deployed on the front and rear hosts. In the event of a conflict, a message is sent to inform the target host to avoid unnecessary program deployment. In this way, it will be able to reduce complicated manual coordination and version confirmation, and improve the efficiency of software development.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.

圖1繪示本發明一實施例的軟體開發系統的示意圖。請參照圖1,本實施例的軟體開發系統100包括第一主機H1、第二主機H2、第三主機H3、第四主機H4,以及版本驗證伺服器VV,其中各主機H1至H4皆有線或無線地連接至版本驗證伺服器VV。FIG. 1 is a schematic diagram of a software development system according to an embodiment of the present invention. Referring to FIG. 1, the software development system 100 of this embodiment includes a first host H1, a second host H2, a third host H3, a fourth host H4, and a version verification server VV, wherein each host H1 to H4 is wired or Connect wirelessly to the version verification server VV.

在本實施例中,第一主機H1例如為開發者主機,第二主機H2例如為線上測試伺服器(user acceptance test punch server,UAT punch server),第三主機H3例如為發行前伺服器(prepunch punch server),第四主機H4例如為發行伺服器(production punch server)。程式設計人員於開發者主機H1開發出程式或軟體後,所開發的程式或軟體會依序佈署至線上測試伺服器H2、發行前伺服器H3以及發行伺服器H4分別進行測試。然而,本發明並不限制主機的數量。換句話說,在其他實施例中,程式或軟體可例如是依序佈署至較少的伺服器來進行較少層的測試,或依序佈署至更多的伺服器來進行更多層式的測試。In this embodiment, the first host H1 is, for example, a developer host, the second host H2 is, for example, a user acceptance test punch server (UAT punch server), and the third host H3 is, for example, a pre-release server (prepunch). Punch server), the fourth host H4 is, for example, a production punch server. After the programmer develops the program or software on the developer host H1, the developed program or software will be deployed to the online test server H2, the pre-release server H3, and the issue server H4 for testing. However, the invention does not limit the number of hosts. In other words, in other embodiments, the program or software may be deployed to fewer servers in sequence to perform fewer layers of testing, or sequentially deployed to more servers for more layers. Test.

值得一提的是,一個程式可例如由多個程式設計人員共同開發或修正。因此,在本發明的實施例中,可以具有任意數量的開發者主機H1。詳言之,各個開發者可分別於各自的開發者主機H1上進行同一個程式的開發,並且在開發完成後將程式遞交至同一個伺服器並在其中進行測試。如此一來,程式版本衝突的情形便可能會相當常見。It is worth mentioning that a program can be developed or modified, for example, by multiple programmers. Thus, in an embodiment of the invention, there may be any number of developer hosts H1. In detail, each developer can develop the same program on their respective developer host H1, and submit the program to the same server and test it after the development is completed. As a result, the conflicting version of the program may be quite common.

舉例來說,當某一主機所欲佈署測試的特定程式版本較其正在測試中的同一程式的版本早(或舊)時,或此主機所欲佈署的程式版本較其後方主機正在測試中的同一程式的版本早時,便會造成版本衝突,因為此特定程式版本的佈署或測試很可能是舊版且沒有必要的。另一方面,當此主機所欲佈署的特定程式版本較其前方主機正在測試中的同一程式的版本晚(或新)時,也會造成版本衝突,因為前方主機正在測試的較早版本很可能是不需要繼續測試的。據此,本發明實施例所提供的軟體開發系統100會在上述的版本衝突發生時發出提示,以避免不必要的程式佈署與資源的浪費。以下將詳細說明本發明實施例之軟體開發系統100及其所使用的程式版本驗證方法。For example, when the specific program version of a host to be tested is earlier (or older) than the version of the same program being tested, or the version of the program that the host is trying to deploy is being tested by the host behind it. The version of the same program in the early days will cause version conflicts, because the deployment or testing of this particular version of the program is likely to be the old version and is not necessary. On the other hand, when the specific program version that this host wants to deploy is later (or new) than the version of the same program that the host is testing in front of it, it will also cause version conflicts, because the earlier version of the host being tested is very early. It may not be necessary to continue testing. Accordingly, the software development system 100 provided by the embodiment of the present invention will prompt when the above version conflict occurs to avoid unnecessary program deployment and waste of resources. The software development system 100 and the program version verification method used by the embodiment of the present invention will be described in detail below.

在本發明說明書中,「前方」與「後方」係依據目標主機遞交程式的方向來判斷。舉例來說,對於目標主機為開發者主機H1來說,線上測試伺服器H2、發行前伺服器H3以及發行伺服器H4皆為前方主機,因為程式會從開發者主機H1直接遞交至線上測試伺服器H2,並間接遞交至發行前伺服器H3以及發行伺服器H4皆為前方主機。同理,對於目標主機為線上測試伺服器H2來說,發行前伺服器H3以及發行伺服器H4皆為前方主機,而開發者主機H1為後方主機,以此類推。In the specification of the present invention, "front" and "rear" are judged according to the direction in which the target host submits the program. For example, for the target host for the developer host H1, the online test server H2, the pre-release server H3, and the issue server H4 are all front hosts, because the program will be directly delivered from the developer host H1 to the online test server. The device H2 is indirectly delivered to the pre-release server H3 and the issue server H4 is the front host. Similarly, for the target host to be the online test server H2, the pre-release server H3 and the issue server H4 are both the front host, and the developer host H1 is the rear host, and so on.

圖2繪示本發明一實施例的程式版本驗證方法的資料庫的示意圖。請參照圖2,為完成本發明之程式版本驗證方法,本實施例之版本驗證伺服器VV藉由包括資料庫DB來實作,但本發明並不限於此。在本實施例中,資料庫DB用以記錄多個程式,並且包括任務單編號B1、程式名稱B2、版本號VER以及環境參數ENV等多個欄位。2 is a schematic diagram of a database of a program version verification method according to an embodiment of the present invention. Referring to FIG. 2, in order to complete the program version verification method of the present invention, the version verification server VV of the present embodiment is implemented by including a database DB, but the present invention is not limited thereto. In this embodiment, the database DB is used to record a plurality of programs, and includes a plurality of fields such as a task number B1, a program name B2, a version number VER, and an environment parameter ENV.

詳細來說,程式設計人員可例如是藉由開發者主機H1一次遞交一個任務單至伺服器中進行測試。一個任務單中包括有至少一個程式,而各程式對應於一個版本。因此,在本實施例之資料庫DB中,任務單編號B1用以記錄特定程式所屬的任務單,程式名稱B2用以記錄此特定程式的程式名稱,版本VER號用以記錄此特定程式的版本,而環境參數ENV用以記錄此特定程式目前的測試狀態或測試環境。其中,版本號VER越大表示所對應的程式版本越晚(或越新)。In detail, the programmer can, for example, submit a task list to the server for testing at a time by the developer host H1. A task list includes at least one program, and each program corresponds to one version. Therefore, in the database DB of the embodiment, the task number B1 is used to record the task list to which the specific program belongs, the program name B2 is used to record the program name of the specific program, and the version VER number is used to record the version of the specific program. The environmental parameter ENV is used to record the current test status or test environment of this particular program. Among them, the larger version number VER indicates that the corresponding version of the program is later (or newer).

在本實施例中,當特定程式的狀態為已從開發者主機H1遞送至線上測試伺服器H2,且尚未佈署於線上測試伺服器H2,其環境參數ENV會記錄為1;當特定程式的狀態為已佈署於線上測試伺服器H2,其環境參數ENV會記錄為2;當特定程式的狀態為已佈署於發行前伺服器H3,其環境參數ENV會記錄為3;當特定程式的狀態為已佈署於發行伺服器H4,其環境參數ENV會記錄為4。如此一來,版本驗證伺服器VV便能夠透過查詢資料庫DB來判斷是否發生程式衝突的情形。In this embodiment, when the status of the specific program has been delivered from the developer host H1 to the online test server H2, and has not been deployed to the online test server H2, its environmental parameter ENV will be recorded as 1; The status is already deployed on the online test server H2, and its environment parameter ENV will be recorded as 2; when the status of the specific program is deployed in the pre-release server H3, its environmental parameter ENV will be recorded as 3; The status is already deployed on the issue server H4, and its environmental parameter ENV is recorded as 4. In this way, the version verification server VV can check whether the program conflict occurs by querying the database DB.

圖3繪示本發明一實施例的程式版本驗證方法的流程示意圖。在本實施例中,開發者主機H1在將所欲過版的開發程式遞交至第一個前方主機(例如,線上測試伺服器H2)前,開發者主機H1會將欲過版的開發程式的程式資訊傳送至版本驗證伺服器VV(S301)。詳細來說,在步驟S301中,開發者主機H1欲驗證其將遞交至線上測試伺服器H2的開發程式的過版版本是否會發生衝突,此時的目標主機為開發者主機H1。因此,開發者主機H1傳送至版本驗證伺服器VV的程式資訊會包括此過版版本的開發程式的程式名稱及其版本號。FIG. 3 is a schematic flow chart of a program version verification method according to an embodiment of the present invention. In this embodiment, before the developer host H1 submits the desired development program to the first front host (for example, the online test server H2), the developer host H1 will develop the program to be released. The program information is transmitted to the version verification server VV (S301). In detail, in step S301, the developer host H1 wants to verify whether the version of the development program to be submitted to the online test server H2 will collide, and the target host at this time is the developer host H1. Therefore, the program information transmitted by the developer host H1 to the version verification server VV will include the program name of the version of the development program and its version number.

接著,版本驗證伺服器VV會依據所接收到的程式資訊,進行版本衝突檢查並回覆給目標主機(例如,開發者主機H1)(S302)。詳細來說,版本驗證伺服器VV會判斷此開發程式的過版版本是否早於開發者主機H1已經遞交至線上測試伺服器H2的開發程式的先前版本(即,已遞交版本),以及判斷此開發程式的過版版本是否早於佈署於至少一個前方主機(例如,線上測試伺服器H2、發行前伺服器H3與發行伺服器H4的至少其中之一)的開發程式的版本(即,前方版本)。Then, the version verification server VV performs a version conflict check according to the received program information and replies to the target host (for example, the developer host H1) (S302). In detail, the version verification server VV will determine whether the version of the development program is earlier than the previous version of the development program (ie, the submitted version) that the developer host H1 has submitted to the online test server H2, and to determine this. Whether the version of the development program is earlier than the version of the development program deployed on at least one of the front hosts (for example, at least one of the online test server H2, the pre-release server H3, and the issue server H4) (ie, front version).

具體來說,版本驗證伺服器VV會將開發程式的過版版本與資料庫DB中環境參數ENV為1、2、3或4,且程式名稱與開發程式相同的程式的程式版本做比較,以判斷是否存在符合上述條件,且晚於過版版本的程式版本。Specifically, the version verification server VV compares the version of the development program with the system parameter ENV of the database DB of 1, 2, 3 or 4, and compares the program name with the program version of the program with the same development program. Determine if there is a version of the program that meets the above criteria and is later than the version.

在本實施例中,若判斷結果為是,則版本驗證伺服器VV會發出提示訊息至目標主機(例如,開發者主機H1),以提示目標主機與過版版本的開發程式相衝突的程式清單。In this embodiment, if the determination result is yes, the version verification server VV will issue a prompt message to the target host (for example, the developer host H1) to prompt the target host to conflict with the version of the development program. .

另一方面,若判斷結果為非,則目標主機(例如,開發者主機H1)會將過版版本的開發程式遞交至至少一個前方主機(S303)。在本實施例中,開發者主機H1是將過版版本的開發程式遞交至線上測試伺服器H2,並且版本驗證伺服器VV會將資料庫DB中對應此過版版本的開發程式的環境資訊記錄為1。On the other hand, if the result of the determination is negative, the target host (for example, the developer host H1) submits the development version of the development version to at least one of the front hosts (S303). In this embodiment, the developer host H1 submits the development version of the development version to the online test server H2, and the version verification server VV records the environment information of the development program corresponding to the released version of the database DB. Is 1.

線上測試伺服器H2在將所欲過版的開發程式佈署於其線上測試環境E2前,線上測試伺服器H2會將欲過版的開發程式的程式資訊傳送至版本驗證伺服器VV(S304)。詳細來說,在步驟S304中,線上測試伺服器H2欲驗證其將佈署至線上測試環境E2的開發程式的過版版本是否會發生衝突,此時的目標主機為線上測試伺服器H2。因此,線上測試伺服器H2傳送至版本驗證伺服器VV的程式資訊會包括此過版版本的開發程式的程式名稱及其版本號。此外,在本實施例中,對於目標主機為線上測試伺服器H2而言,其所接收的過版版本的開發程式是從至少一後方主機(例如,開發者主機H1)所遞交而來。The online test server H2 sends the program information of the development program to the version verification server VV (S304) before deploying the desired development program to its online test environment E2. . In detail, in step S304, the online test server H2 wants to verify whether the version of the development program that will be deployed to the online test environment E2 will collide. The target host at this time is the online test server H2. Therefore, the program information transmitted by the online test server H2 to the version verification server VV will include the program name of the version of the development program and its version number. In addition, in the embodiment, for the target host to be the online test server H2, the received version of the developed program is submitted from at least one rear host (for example, the developer host H1).

接著,版本驗證伺服器VV會依據所接收到的程式資訊,進行版本衝突檢查並回覆給目標主機(例如,線上測試伺服器H2)(S305)。詳細來說,版本驗證伺服器VV會判斷此開發程式的過版版本是否早於佈署於線上測試伺服器H2的開發程式的先前版本(即,測試版本),以及判斷此開發程式的過版版本是否早於佈署於至少一個前方主機(例如,發行前伺服器H3與發行伺服器H4的至少其中之一)的開發程式的版本(即,前方版本)。Then, the version verification server VV performs a version conflict check according to the received program information and replies to the target host (for example, the online test server H2) (S305). In detail, the version verification server VV will determine whether the version of the development program is earlier than the previous version (ie, the test version) of the development program deployed on the online test server H2, and to determine the version of the development program. Whether the version is earlier than the version of the development program (i.e., the front version) deployed on at least one of the front hosts (for example, at least one of the pre-release server H3 and the issue server H4).

此外,在本實施例中,版本驗證伺服器VV還會判斷此開發程式的過版版本是否晚於開發者主機H1已遞交的開發程式的已遞交版本。In addition, in this embodiment, the version verification server VV also determines whether the version of the development program is later than the delivered version of the development program that the developer host H1 has submitted.

具體來說,版本驗證伺服器VV會將開發程式的過版版本與資料庫DB中環境參數ENV為2、3或4,且程式名稱與開發程式相同的程式的程式版本做比較,以判斷是否存在符合上述條件,且晚於過版版本的程式版本。此外,版本驗證伺服器VV會將開發程式的過版版本與資料庫DB中環境參數ENV為1,且程式名稱與開發程式相同的程式的程式版本做比較,以判斷是否存在符合上述條件,且早於過版版本的程式版本。Specifically, the version verification server VV compares the version of the development program with the environment parameter ENV of the database DB of 2, 3 or 4, and compares the program name with the program version of the program with the same development program to determine whether There are versions of the program that meet the above criteria and are later than the previous version. In addition, the version verification server VV compares the version of the development program with the environment parameter ENV of the database DB, and compares the program name with the program version of the program with the same development program to determine whether the above conditions are met, and A version of the program earlier than the version.

在本實施例中,若資料庫DB中存在環境參數為2、3或4,且程式名稱與開發程式相同的程式的程式版本晚於過版版本,表示資料庫DB中記錄的此程式與開發程式相衝突,則版本驗證伺服器VV會發出第一提示訊息至目標主機(例如,線上測試伺服器H2),以提示目標主機與過版版本的開發程式相衝突的程式清單。此外,若資料庫DB中存在環境參數為1,且程式名稱與開發程式相同的程式版本早於過版版本,表示此程式與開發程式相衝突,則版本驗證伺服器VV會發出第二提示訊息至目標主機(例如,線上測試伺服器H2),以提示目標主機與過版版本的開發程式相衝突的程式清單。In this embodiment, if there is an environment parameter of 2, 3 or 4 in the database DB, and the program version of the program whose program name is the same as the development program is later than the version, the program and development recorded in the database DB are indicated. If the program conflicts, the version verification server VV will send a first prompt message to the target host (for example, the online test server H2) to prompt the target host to conflict with the version of the development program. In addition, if there is an environment parameter of 1 in the database DB, and the program version with the same program name and development program is earlier than the version, indicating that the program conflicts with the development program, the version verification server VV will issue a second prompt message. Go to the target host (for example, online test server H2) to prompt the target host to conflict with the version of the development program.

另一方面,若資料庫DB中不存在環境參數為2、3或4,且程式名稱與開發程式相同的程式的程式版本晚於過版版本,並且也不存在環境參數為1,且程式名稱與開發程式相同的程式的程式版本早於過版版本,則目標主機(例如,線上測試伺服器H2)會將過版版本的開發程式進行佈署(S306)。在本實施例中,線上測試伺服器H2是將過版版本的開發程式佈署至其線上測試環境E2中,以作為測試版本,並且版本驗證伺服器VV會將資料庫DB中對應此過版版本的開發程式的環境資訊記錄為2。On the other hand, if there is no environment parameter 2, 3 or 4 in the database DB, and the program version of the program whose program name is the same as the development program is later than the version, and the environment parameter is 1 and the program name is not present. The version of the program of the same program as the development program is earlier than the version of the version, and the target host (for example, the online test server H2) deploys the development version of the version (S306). In this embodiment, the online test server H2 deploys the development version of the development version to its online test environment E2 as a test version, and the version verification server VV will correspond to this version in the database DB. The environment information record for the version of the development program is 2.

隨後,目標主機(例如,線上測試伺服器H2)會再將過版版本的開發程式遞交至至少一個前方主機(S307)。在本實施例中,線上測試伺服器H2是將過版版本的開發程式遞交至發行前伺服器H3。Subsequently, the target host (for example, the online test server H2) will again submit the versioned development program to at least one of the front hosts (S307). In the present embodiment, the online test server H2 submits the development version of the development version to the pre-release server H3.

發行前伺服器H3在將所欲過版的開發程式佈署於其發行前測試環境E3前,發行前伺服器H3會將欲過版的開發程式的程式資訊傳送至版本驗證伺服器VV(S308)。詳細來說,在步驟S308中,發行前伺服器H3欲驗證其將佈署至發行前測試環境E3的開發程式的過版版本是否會發生衝突,此時的目標主機為發行前伺服器H3。因此,發行前伺服器H3傳送至版本驗證伺服器VV的程式資訊會包括此過版版本的開發程式的程式名稱及其版本號。此外,在本實施例中,對於目標主機為發行前伺服器H3而言,其所接收的過版版本的開發程式是從至少一後方主機(例如,線上測試伺服器H2)所遞交而來。Before the release of the server H3, before deploying the development program to be released before the pre-release test environment E3, the server H3 will transmit the program information of the development program to the version verification server VV (S308). ). In detail, in step S308, the pre-release server H3 wants to verify whether the version of the development program to be deployed to the pre-release test environment E3 will collide, and the target host at this time is the pre-release server H3. Therefore, the program information transmitted by the server H3 to the version verification server VV before the release will include the program name of the version of the development program and its version number. In addition, in the present embodiment, for the target host to be the pre-release server H3, the received version of the development program is submitted from at least one rear host (for example, the online test server H2).

接著,版本驗證伺服器VV會依據所接收到的程式資訊,進行版本衝突檢查並回覆給目標主機(例如,發行前伺服器H3)(S309)。詳細來說,版本驗證伺服器VV會判斷此開發程式的過版版本是否早於佈署於發行前伺服器H3的開發程式的先前版本(即,測試版本),以及判斷此開發程式的過版版本是否早於佈署於至少一個前方主機(例如,發行伺服器H4)的開發程式的版本(即,前方版本)。Next, the version verification server VV performs a version conflict check based on the received program information and replies to the target host (for example, the pre-release server H3) (S309). In detail, the version verification server VV will determine whether the version of the development program is earlier than the previous version (ie, the test version) of the development program deployed on the server H3 before the release, and to determine the version of the development program. Whether the version is earlier than the version of the development program (ie, the front version) deployed on at least one of the front hosts (for example, the issue server H4).

此外,版本驗證伺服器VV還會判斷此開發程式的過版版本是否晚於佈署於至少一個後方主機(例如,線上測試伺服器H2)的開發程式的版本(即,後方版本)。In addition, the version verification server VV will also determine whether the version of the development program is later than the version of the development program (ie, the rear version) deployed on at least one of the rear hosts (eg, the online test server H2).

在本實施例中,版本驗證伺服器VV會判斷此開發程式的過版版本是否晚於開發者主機H1已遞交的開發程式的已遞交版本,以及判斷此開發程式的過版版本是否晚於佈署於線上測試伺服器H2的開發程式的後方版本。In this embodiment, the version verification server VV determines whether the version of the development program is later than the submitted version of the development program that the developer host H1 has submitted, and whether the version of the development program is later than the cloth version. A version of the development program for the online test server H2.

具體來說,版本驗證伺服器VV會將開發程式的過版版本與資料庫DB中環境參數ENV為3或4,且程式名稱與開發程式相同的程式的程式版本做比較,以判斷是否存在符合上述條件,且晚於過版版本的程式版本。此外,版本驗證伺服器VV會將開發程式的過版版本與資料庫DB中環境參數ENV為1或2,且程式名稱與開發程式相同的程式的程式版本做比較,以判斷是否存在符合上述條件,且早於過版版本的程式版本。Specifically, the version verification server VV compares the version of the development program with the environment parameter ENV of the database DB of 3 or 4, and compares the program name with the program version of the program with the same development program to determine whether there is a match. The above conditions are later than the version of the version of the version. In addition, the version verification server VV compares the version of the development program with the environment parameter ENV of the database DB of 1 or 2, and compares the program name with the program version of the program with the same development program to determine whether the above conditions are met. And earlier than the version of the version of the program.

在本實施例中,若資料庫DB中存在環境參數為3或4,且程式名稱與開發程式相同的程式的程式版本晚於過版版本,表示資料庫DB中記錄的此程式與開發程式相衝突,則版本驗證伺服器VV會發出第一提示訊息至目標主機(例如,發行前伺服器H3),以提示目標主機與過版版本的開發程式相衝突的程式清單。此外,若資料庫DB中存在環境參數為1或2,且程式名稱與開發程式相同的程式版本早於過版版本,表示此程式與開發程式相衝突,則版本驗證伺服器VV會發出第二提示訊息至目標主機(例如,發行前伺服器H3),以提示目標主機與過版版本的開發程式相衝突的程式清單。In this embodiment, if there is an environment parameter of 3 or 4 in the database DB, and the program version of the program whose program name is the same as the development program is later than the version, the program recorded in the database DB is related to the development program. In case of conflict, the version verification server VV will send a first prompt message to the target host (for example, pre-release server H3) to prompt the target host to conflict with the version of the development program. In addition, if there is an environment parameter of 1 or 2 in the database DB, and the program version with the same program name and development program is earlier than the version, indicating that the program conflicts with the development program, the version verification server VV will issue the second. A message is sent to the target host (for example, pre-release server H3) to prompt the target host to conflict with the version of the development program.

另一方面,若資料庫DB中不存在環境參數為3或4,且程式名稱與開發程式相同的程式的程式版本晚於過版版本,並且也不存在環境參數為1或2,且程式名稱與開發程式相同的程式的程式版本早於過版版本,則目標主機(例如,發行前伺服器H3)會將過版版本的開發程式進行佈署(S310)。在本實施例中,發行前伺服器H3是將過版版本的開發程式佈署至其發行前測試環境E3中,並且版本驗證伺服器VV會將資料庫DB中對應此過版版本的開發程式的環境資訊記錄為3。On the other hand, if there is no environment parameter of 3 or 4 in the database DB, and the program version of the program whose program name is the same as the development program is later than the version, and the environment parameter is 1 or 2, and the program name is not present. If the program version of the same program as the development program is earlier than the previous version, the target host (for example, the pre-release server H3) will deploy the development version of the version (S310). In this embodiment, the pre-release server H3 deploys the development version of the development version to the pre-release test environment E3, and the version verification server VV will develop the development program corresponding to the released version in the database DB. The environmental information record is 3.

隨後,目標主機(例如,發行前伺服器H3)會再將過版版本的開發程式遞交至至少一個前方主機(S311)。在本實施例中,發行前伺服器H3是將過版版本的開發程式遞交至發行伺服器H4。Subsequently, the target host (for example, pre-release server H3) will again submit the versioned development program to at least one front host (S311). In the present embodiment, the pre-release server H3 submits the development version of the development version to the distribution server H4.

發行伺服器H4在將所欲過版的開發程式佈署於其發行測試環境E4前,發行伺服器H4會將欲過版的開發程式的程式資訊傳送至版本驗證伺服器VV(S312)。詳細來說,在步驟S312中,發行伺服器H4欲驗證其將佈署至發行測試環境E4的開發程式的過版版本是否會發生衝突,此時的目標主機為發行伺服器H4。因此,發行伺服器H4傳送至版本驗證伺服器VV的程式資訊會包括此過版版本的開發程式的程式名稱及其版本號。此外,在本實施例中,對於目標主機為發行伺服器H4而言,其所接收的過版版本的開發程式是從至少一後方主機(例如,發行前伺服器H3)所遞交而來。The distribution server H4 transmits the program information of the development program to be released to the version verification server VV (S312) before deploying the development program to be released in the test environment E4. In detail, in step S312, the issuance server H4 wants to verify whether the version of the development program to be deployed to the release test environment E4 will collide, and the target host at this time is the issue server H4. Therefore, the program information transmitted by the issue server H4 to the version verification server VV will include the program name of the version of the development program and its version number. In addition, in the present embodiment, for the target host to issue server H4, the received version of the development program is submitted from at least one rear host (for example, pre-release server H3).

接著,版本驗證伺服器VV會依據所接收到的程式資訊,進行版本衝突檢查並回覆給目標主機(例如,發行伺服器H4)(S313)。詳細來說,版本驗證伺服器VV會判斷此開發程式的過版版本是否早於佈署於發行伺服器H4的開發程式的先前版本(即,測試版本)。Next, the version verification server VV performs a version conflict check based on the received program information and replies to the target host (for example, the issue server H4) (S313). In detail, the version verification server VV will determine whether the version of the development program is earlier than the previous version (ie, the test version) of the development program deployed on the distribution server H4.

此外,版本驗證伺服器VV還會判斷此開發程式的過版版本是否晚於佈署於至少一個後方主機(例如,線上測試伺服器H2與發行前伺服器H3的至少其中之一)的開發程式的版本(即,後方版本)。In addition, the version verification server VV also determines whether the version of the development program is later than the development program deployed on at least one of the rear hosts (for example, at least one of the online test server H2 and the pre-release server H3). Version (ie, rear version).

在本實施例中,版本驗證伺服器VV會判斷此開發程式的過版版本是否晚於開發者主機H1已遞交的開發程式的已遞交版本,以及判斷此開發程式的過版版本是否晚於佈署於線上測試伺服器H2與發行前伺服器H3的至少其中之一的開發程式的後方版本。In this embodiment, the version verification server VV determines whether the version of the development program is later than the submitted version of the development program that the developer host H1 has submitted, and whether the version of the development program is later than the cloth version. A rear version of the development program of at least one of the online test server H2 and the pre-release server H3.

具體來說,版本驗證伺服器VV會將開發程式的過版版本與資料庫DB中環境參數ENV為4,且程式名稱與開發程式相同的程式的程式版本做比較,以判斷是否存在符合上述條件,且晚於過版版本的程式版本。此外,版本驗證伺服器VV會將開發程式的過版版本與資料庫DB中環境參數ENV為1、2或3,且程式名稱與開發程式相同的程式的程式版本做比較,以判斷是否存在符合上述條件,且早於過版版本的程式版本。Specifically, the version verification server VV compares the version of the development program with the environment parameter ENV of the database DB 4, and compares the program name with the program version of the program with the same development program to determine whether the above conditions are met. And later than the version of the version of the program. In addition, the version verification server VV compares the version of the development program with the environment parameter ENV of the database DB of 1, 2 or 3, and compares the program name with the program version of the program with the same development program to determine whether there is a match. The above conditions are earlier than the version of the version of the version.

在本實施例中,若資料庫DB中存在環境參數為4,且程式名稱與開發程式相同的程式的程式版本晚於過版版本,表示資料庫DB中記錄的此程式與開發程式相衝突,則版本驗證伺服器VV會發出第一提示訊息至目標主機(例如,發行伺服器H4),以提示目標主機與過版版本的開發程式相衝突的程式清單。此外,若資料庫DB中存在環境參數為1、2或3,且程式名稱與開發程式相同的程式版本早於過版版本,表示此程式與開發程式相衝突,則版本驗證伺服器VV會發出第二提示訊息至目標主機(例如,發行伺服器H4),以提示目標主機與過版版本的開發程式相衝突的程式清單。In this embodiment, if there is an environment parameter of 4 in the database DB, and the program version of the program whose program name is the same as the development program is later than the version, the program recorded in the database DB conflicts with the development program. The version verification server VV will send a first prompt message to the target host (for example, issue server H4) to prompt the target host to conflict with the version of the development program. In addition, if there is an environment parameter of 1, 2 or 3 in the database DB, and the program version with the same program name and development program is earlier than the version, indicating that the program conflicts with the development program, the version verification server VV will issue The second prompt message to the target host (for example, issue server H4) to prompt the target host to conflict with the version of the development program.

另一方面,若資料庫DB中不存在環境參數為4,且程式名稱與開發程式相同的程式的程式版本晚於過版版本,並且也不存在環境參數為1、2或3,且程式名稱與開發程式相同的程式的程式版本早於過版版本,則目標主機(例如,發行伺服器H4)會將過版版本的開發程式進行佈署(S314)。在本實施例中,發行伺服器H4是將過版版本的開發程式佈署至其發行測試環境E4中,並且版本驗證伺服器VV會將資料庫DB中對應此過版版本的開發程式的環境資訊記錄為4。On the other hand, if there is no environment parameter of 4 in the database DB, and the program version of the program whose program name is the same as the development program is later than the version, and the environment parameter is 1, 2 or 3, and the program name is not present. If the program version of the same program as the development program is earlier than the previous version, the target host (for example, the distribution server H4) will deploy the development version of the version (S314). In this embodiment, the issue server H4 deploys the development version of the development version to its release test environment E4, and the version verification server VV will environment the development program corresponding to the released version of the database DB. The information record is 4.

如此一來,針對各個測試環境所佈署的程式版本都經由本實施例的程式版本驗證方法驗證。因此,在對已佈署好的程式版本進行測試時,能夠確保所進行的測試動作都非是多餘的。In this way, the version of the program deployed for each test environment is verified by the program version verification method of this embodiment. Therefore, when testing a version of a deployed program, it is possible to ensure that the test actions performed are not superfluous.

值得一提的是,在上述的實施例中是以一個開發程式為例來作說明,但本發明並不限於此。在其他實施例中,開發者主機H1也可例如是一次將多個程式打包在一個任務單中,並且各個伺服器以任務單為單位來佈署其中的程式以供測試。It is to be noted that in the above embodiment, a development program is taken as an example, but the present invention is not limited thereto. In other embodiments, the developer host H1 may also package a plurality of programs in one task list at a time, and each server deploys the programs in units of tasks for testing.

在一些實施例中,一個任務單中可能包括兩個以上相同名稱、相同環境參數但版本號不相同的程式。在這樣的情況之下,在進行版本衝突判斷時會以版本號最大(即,最晚或最新)的程式為主。In some embodiments, a task list may include more than two programs with the same name, the same environment parameters, but different version numbers. Under such circumstances, the version with the largest version number (ie, the latest or latest) will be used when making version conflict judgments.

在一些實施例中,當某一版本的特定程式在向前檢查時與發行伺服器中已佈署的此特定程式的版本發生衝突時,版本伺服器VV在發出第一提示訊息時,只需要提示發明伺服器中此特定程式的最新(或最晚)版本即可,因為在此實施例中,發行伺服器中只有最新(或最晚)的版本才是有效的程式版本。In some embodiments, when a certain version of a particular program conflicts with the version of the particular program that has been deployed in the issue server when checking forward, the version server VV only needs to issue the first prompt message. The prompting of the latest (or latest) version of this particular program in the server is sufficient, as in this embodiment only the latest (or latest) version of the issuing server is a valid version of the program.

綜上所述,本發明實施例所提出的程式版本驗證方法與使用此方法的軟體開發系統,在欲佈署特定版本的開發程式至目標主機的測試環境時,分別向前與向後檢查此特定版本是否與正佈署於前方主機與後方主機的相同程式的版本發生衝突。若發生衝突時,則發出提示訊息來告知目標主機,以避免不必要的程式佈署。如此一來,將能夠減少繁複的人工協調與版本確認,提升軟體開發的效率。In summary, the program version verification method and the software development system using the method in the embodiment of the present invention respectively check the specificity of the specific version of the development program to the test environment of the target host. Whether the version conflicts with the version of the same program being deployed on the front and rear hosts. In the event of a conflict, a message is sent to inform the target host to avoid unnecessary program deployment. In this way, it will be able to reduce complicated manual coordination and version confirmation, and improve the efficiency of software development.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧軟體開發系統 100‧‧‧Software Development System

B1‧‧‧任務單欄位 B1‧‧‧Mission Single Field

B2‧‧‧程式名稱欄位 B2‧‧‧Program Name Field

DB‧‧‧資料庫 DB‧‧‧Database

E2‧‧‧線上測試環境 E2‧‧‧ online test environment

E3‧‧‧發行前測試環境 E3‧‧‧Pre-release test environment

E4‧‧‧發行測試環境 E4‧‧‧ release test environment

ENV‧‧‧環境參數欄位 ENV‧‧‧Environmental parameter field

H1‧‧‧第一主機、開發者主機 H1‧‧‧First host, developer host

H2‧‧‧第二主機、線上測試伺服器 H2‧‧‧Second host, online test server

H3‧‧‧第三主機、發行前伺服器 H3‧‧‧ third host, pre-release server

H4‧‧‧第四主機、發行伺服器 H4‧‧‧fourth host, issue server

S301~S314‧‧‧程式版本驗證方法的步驟 Steps for S301~S314‧‧‧Program Version Verification Method

VER‧‧‧版本號欄位 VER‧‧‧ version number field

VV‧‧‧版本驗證伺服器 VV‧‧‧Verification Server

圖1繪示本發明一實施例的軟體開發系統的示意圖。 圖2繪示本發明一實施例的程式版本驗證方法的資料庫的示意圖。 圖3繪示本發明一實施例的程式版本驗證方法的流程示意圖。FIG. 1 is a schematic diagram of a software development system according to an embodiment of the present invention. 2 is a schematic diagram of a database of a program version verification method according to an embodiment of the present invention. FIG. 3 is a schematic flow chart of a program version verification method according to an embodiment of the present invention.

Claims (8)

一種程式版本驗證方法,適用於軟體開發系統,該軟體開發系統包括目標主機、至少一後方主機以及版本驗證伺服器,所述方法包括:該目標主機傳送過版版本的開發程式的程式資訊至該版本驗證伺服器;依據該程式資訊,該版本驗證伺服器判斷該過版版本是否早於該目標主機的該開發程式的先前版本;當該過版版本早於該先前版本,該版本驗證伺服器發出第一提示訊息至該目標主機;以及當該過版版本不早於該先前版本,該目標主機將該過版版本的該開發程式遞交至至少一前方主機,或將該過版版本的該開發程式佈署於該目標主機,其中該先前版本包括該目標主機已遞交至至少一前方主機的該開發程式的已遞交版本,或佈署於該目標主機的該開發程式的測試版本,其中當該先前版本為佈署於該目標主機的該開發程式的該測試版本時,所述程式版本驗證方法更包括:依據該程式資訊,該版本驗證伺服器判斷該過版版本是否晚於佈署於該至少一後方主機的該開發程式的後方版本;當該過版版本晚於該後方版本,該版本驗證伺服器發出一第二提示訊息至該目標主機;以及當該過版版本不晚於該後方版本,且該過版版本不早於該先 前版本,該目標主機將該過版版本的該開發程式遞交至該至少一前方主機。 A program version verification method is applicable to a software development system, where the software development system includes a target host, at least one rear host, and a version verification server, and the method includes: the target host transmits program information of the version of the development program to the a version verification server; according to the program information, the version verification server determines whether the version of the version is earlier than a previous version of the development program of the target host; when the version is earlier than the previous version, the version verification server Sending a first prompt message to the target host; and when the version is not earlier than the previous version, the target host submits the version of the development program to at least one front host, or the version of the version The development program is deployed on the target host, wherein the previous version includes a submitted version of the development program that the target host has submitted to at least one front host, or a test version of the development program deployed on the target host, where The previous version is the test version of the development program deployed on the target host, the program version The verification method further includes: according to the program information, the version verification server determines whether the released version is later than a rear version of the development program deployed on the at least one rear host; when the released version is later than the rear version, The version verification server sends a second prompt message to the target host; and when the released version is no later than the later version, and the released version is not earlier than the first version In the previous version, the target host submits the development version of the development program to the at least one front host. 如申請專利範圍第1項所述的程式版本驗證方法,其中該軟體開發系統包括該至少一前方主機,其中該版本驗證伺服器判斷該過版版本是否早於該先前版本時,更判斷該過版版本是否早於佈署於該至少一前方主機的該開發程式的前方版本,其中當該過版版本早於該先前版本與該前方版本的至少其中之一時,該版本驗證伺服器發出該第一提示訊息至該目標主機,其中當該過版版本不早於該先前版本以及該前方版本時,該目標主機將該過版版本的該開發程式遞交至該至少一前方主機。 The program version verification method according to claim 1, wherein the software development system includes the at least one front host, wherein the version verification server determines whether the version is earlier than the previous version, and further determines the Whether the version is earlier than the front version of the development program deployed on the at least one front host, wherein the version verification server issues the first version when the version is earlier than at least one of the previous version and the front version A prompt message to the target host, wherein when the version is not earlier than the previous version and the front version, the target host submits the version of the development program to the at least one front host. 如申請專利範圍第2項所述的程式版本驗證方法,其中當該過版版本不早於該先前版本以及該前方版本時,該目標主機更佈署該開發程式的該過版版本,以作為該測試版本。 The program version verification method according to claim 2, wherein when the version is not earlier than the previous version and the front version, the target host further deploys the version of the development program as The test version. 如申請專利範圍第1項所述的程式版本驗證方法,其中該目標主機傳送該過版版本的該開發程式的該程式資訊至該版本驗證伺服器前,所述方法更包括:該至少一後方主機遞交該過版版本的該開發程式至該目標主機。 The method for verifying the version of the program according to claim 1, wherein the method further comprises: the at least one rear after the target host transmits the program information of the version of the development program to the version verification server The host submits the version of the development program to the target host. 一種軟體開發系統,包括:目標主機,用以執行遞交開發程式至至少一前方主機,以及佈署該開發程式的至少其中之一;至少一後方主機;以及 版本驗證伺服器,連接於該目標主機以及該至少一後方主機,用以驗證該目標主機所遞交或佈署的該開發程式的過版版本,其中該目標主機傳送該過版版本的該開發程式的程式資訊至該版本驗證伺服器,其中該版本驗證伺服器依據該程式資訊,判斷該過版版本是否早於該目標主機的先前版本,其中當該過版版本早於該先前版本,該版本驗證伺服器發出一第一提示訊息至該目標主機,其中當該過版版本不早於該先前版本,該目標主機將該過版版本的該開發程式遞交該至少一前方主機,或將該過版版本的該開發程式佈署於該目標主機,其中該先前版本包括該目標主機已遞交至該至少一前方主機的該開發程式的已遞交版本,或佈署於該目標主機的該開發程式的測試版本,其中當該先前版本為佈署於該目標主機的該開發程式的該測試版本時,該版本驗證伺服器更依據該程式資訊,判斷該過版版本是否晚於佈署於該至少一後方主機的該開發程式的後方版本,其中當該過版版本晚於該後方版本,該版本驗證伺服器發出一第二提示訊息至該目標主機;以及其中當該過版版本不晚於該後方版本,且該過版版本不早於該先前版本,該目標主機將該過版版本的該開發程式遞交至該至少一前方主機。 A software development system includes: a target host, configured to execute a delivery development program to at least one front host, and deploy at least one of the development programs; at least one rear host; a version verification server, connected to the target host and the at least one rear host, for verifying a version of the development program submitted or deployed by the target host, wherein the target host transmits the version of the development program Program information to the version verification server, wherein the version verification server determines, according to the program information, whether the released version is earlier than the previous version of the target host, wherein the version is earlier than the previous version, the version The verification server sends a first prompt message to the target host, wherein when the version is not earlier than the previous version, the target host submits the version of the development program to the at least one front host, or the The version of the development program is deployed on the target host, wherein the previous version includes a submitted version of the development program that the target host has submitted to the at least one front host, or the development program deployed on the target host a test version, wherein when the previous version is the test version of the development program deployed on the target host, the version verification Based on the program information, the device determines whether the version is later than the version of the development program deployed on the at least one rear host. When the version is later than the rear version, the version verification server issues a a second prompt message to the target host; and wherein when the released version is no later than the later version, and the released version is not earlier than the previous version, the target host submits the development version of the development program to the At least one front host. 如申請專利範圍第5項所述的軟體開發系統,更包括該至少一前方主機,其中該版本驗證伺服器更判斷該過版版本是否早於佈署於該至少一前方主機的該開發程式的前方版本,其中當該過版版本早於該先前版本與該前方版本的至少其中之一時,該版本驗證伺服器發出該第一提示訊息至該目標主機,其中當該過版版本不早於該先前版本以及該前方版本時,該目標主機將該過版版本的該開發程式遞交至該至少一前方主機。 The software development system of claim 5, further comprising the at least one front host, wherein the version verification server further determines whether the version is earlier than the development program deployed on the at least one front host a front version, wherein when the version is earlier than at least one of the previous version and the front version, the version verification server issues the first prompt message to the target host, wherein the version is not earlier than the version In the previous version and the front version, the target host submits the development version of the development program to the at least one front host. 如申請專利範圍第6項所述的軟體開發系統,其中當該過版版本不早於該先前版本以及該前方版本時,該目標主機更佈署該開發程式的該過版版本,以作為該測試版本。 The software development system of claim 6, wherein when the version is not earlier than the previous version and the front version, the target host further deploys the version of the development program as the test version. 如申請專利範圍第5項所述的軟體開發系統,其中在該目標主機傳送該過版版本的該開發程式的該程式資訊至該版本驗證伺服器前,該至少一後方主機遞交該過版版本的該開發程式至該目標主機。 The software development system of claim 5, wherein the at least one rear host submits the version before the target host transmits the program information of the version of the development program to the version verification server. The development program to the target host.
TW106118443A 2017-06-03 2017-06-03 Program version verification method and software development system using the same TWI648621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106118443A TWI648621B (en) 2017-06-03 2017-06-03 Program version verification method and software development system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106118443A TWI648621B (en) 2017-06-03 2017-06-03 Program version verification method and software development system using the same

Publications (2)

Publication Number Publication Date
TW201903609A TW201903609A (en) 2019-01-16
TWI648621B true TWI648621B (en) 2019-01-21

Family

ID=65803233

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106118443A TWI648621B (en) 2017-06-03 2017-06-03 Program version verification method and software development system using the same

Country Status (1)

Country Link
TW (1) TWI648621B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130174124A1 (en) * 2011-12-29 2013-07-04 Christina Watters Version numbering in single development and test environment
US20140208320A1 (en) * 2013-01-24 2014-07-24 International Business Machines Corporation Creating a virtual resource package
US20140282401A1 (en) * 2013-03-14 2014-09-18 Red Hat Israel, Ltd. Composite program history
US20150100945A1 (en) * 2013-10-08 2015-04-09 International Business Machines Corporation Resuming a software build process
TWM549375U (en) * 2017-06-03 2017-09-21 兆豐國際商業銀行股份有限公司 Software development system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130174124A1 (en) * 2011-12-29 2013-07-04 Christina Watters Version numbering in single development and test environment
US20140208320A1 (en) * 2013-01-24 2014-07-24 International Business Machines Corporation Creating a virtual resource package
US20140282401A1 (en) * 2013-03-14 2014-09-18 Red Hat Israel, Ltd. Composite program history
US20150100945A1 (en) * 2013-10-08 2015-04-09 International Business Machines Corporation Resuming a software build process
TWM549375U (en) * 2017-06-03 2017-09-21 兆豐國際商業銀行股份有限公司 Software development system

Also Published As

Publication number Publication date
TW201903609A (en) 2019-01-16

Similar Documents

Publication Publication Date Title
CN105302716B (en) Test method, device under the development mode of interflow
JP2019028525A5 (en)
JP4961832B2 (en) In-vehicle electrical system development support device and design defect verification method
US8713531B1 (en) Integrated bug tracking and testing
JP6437078B2 (en) Automatic test method for application program of smart device using authorized starter
US9389989B2 (en) Self verifying device driver for multi-version compatible data manipulation devices
TWI598819B (en) Computer system and method for testing hardware device based on virtual machine
CN110706106A (en) Information processing method and device
CN105761058A (en) Multi-type task control method and device in plan management
CN109905263A (en) A kind of automation O&M deployment system
WO2022095448A1 (en) Wafer script setting method and apparatus, device and storage medium
TWI648621B (en) Program version verification method and software development system using the same
TWM549375U (en) Software development system
CN107992420B (en) Management method and system for test item
CN107203471B (en) Joint debugging method, service platform and computer storage medium
US20120246636A1 (en) Method and arrangement for installing and configuring a computer system
CN106055326A (en) Program processing method and dispatch server
CN115390861A (en) Resource deployment method, device and equipment and storage medium
CN110347609B (en) Method and device for testing blockchain software
JP6238825B2 (en) Distributed simulation system
JP6072547B2 (en) Application test system
CN116560715A (en) Database version control method, device, equipment and storage medium
JP2001202354A (en) Distributed simulation device
WO2020258045A1 (en) Method and apparatus for generating simulation digital certificate, mining pool diagnosis, medium, and product
CN114462094A (en) Container-based multi-party competition intelligent contract digital system and execution method thereof