[go: up one dir, main page]

TWI537571B - Overall detection program generation method and system thereof - Google Patents

Overall detection program generation method and system thereof Download PDF

Info

Publication number
TWI537571B
TWI537571B TW104117008A TW104117008A TWI537571B TW I537571 B TWI537571 B TW I537571B TW 104117008 A TW104117008 A TW 104117008A TW 104117008 A TW104117008 A TW 104117008A TW I537571 B TWI537571 B TW I537571B
Authority
TW
Taiwan
Prior art keywords
item
detection
constructed
test
program
Prior art date
Application number
TW104117008A
Other languages
Chinese (zh)
Other versions
TW201641945A (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 TW104117008A priority Critical patent/TWI537571B/en
Application granted granted Critical
Publication of TWI537571B publication Critical patent/TWI537571B/en
Publication of TW201641945A publication Critical patent/TW201641945A/en

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Air Conditioning Control Device (AREA)

Description

產生整體檢測程序之方法及系統 Method and system for generating an overall detection program

本發明係有關於一種產生整體檢測程序之方法及系統,尤指一種將待檢測項目逐一與已建構檢測項目進行比對而產生整體檢測程序之產生整體檢測程序之方法及系統。 The present invention relates to a method and system for generating an overall detection program, and more particularly to a method and system for generating an overall detection procedure for generating an overall detection program by comparing the items to be tested one by one with the constructed detection items.

隨著科技的進步,如電視、冷氣機之家電產品與如手機、平板電腦之手持式行動裝置的快速發展帶給人們相當大的便利,其中,上述產品在製造完成後均需要進行檢測,以確認產品內部之功能模組是否可正常運作或是是否符合國際規範。 With the advancement of technology, the rapid development of home appliances such as TVs and air conditioners and hand-held mobile devices such as mobile phones and tablet computers has brought considerable convenience. The above products need to be tested after manufacturing. Confirm that the functional modules inside the product are working properly or comply with international regulations.

一般來說,上述對產品進行檢測的步驟中,一般需先編寫檢測程序,並將編寫好後之檢測程序存入至檢測機台或控制器以控制機台依照檢測程序對上述之產品內的功能模組進行檢測。然而,一般在檢測完後,若需對另一相仿產品進行測試時,一般來說需要再編寫另一檢測程序抑或是更改第一次所撰寫的程序,並存入至檢測機台或控制器來針對此產品內之功能模組進行測試,然而,上述方式對程序編寫人員來說需要花許多時間,另外,若程序編寫人員不同人,那麼再改寫第一次檢測用之檢測程序時需要花更多時間。此外,若為不同部門之產品(例如馬達部門、家電部門或太陽能事業部門),檢測程序更需要花較多時間進 行編寫,且不同部門之程序編寫人員也較難理解彼此所編寫之檢測程序,因此,現有技術仍具備改善空間。 Generally speaking, in the above steps of detecting the product, it is generally necessary to first write a detection program, and store the prepared detection program into the inspection machine or the controller to control the machine in accordance with the detection program for the above products. The function module performs detection. However, generally, after testing, if another similar product needs to be tested, it is generally necessary to write another test program or change the program written for the first time and deposit it into the test machine or controller. To test the functional modules in this product, however, the above method takes a lot of time for the programmer, and if the programmer is different, then it is necessary to rewrite the detection program for the first detection. more time. In addition, if it is a product of different departments (such as the motor department, home appliance department or solar energy business department), the inspection program needs to spend more time. It is difficult to understand the testing procedures written by each other, and the existing technology still has room for improvement.

有鑒於現有技術在進行產品檢測後,若需再對另一產品進行檢測時,普遍具有需重新編寫檢測程序而需耗費大量時間之問題。緣此,本發明係提供一種產生整體檢測程序之方法及系統,主要係利用目前儲存之已建構檢測項目,將待檢測項目逐一與已建構檢測項目進行比對而產生整體檢測程序,以解決上述之問題。 In view of the prior art, after the product is tested, if another product is to be tested, there is generally a problem that it takes a lot of time to rewrite the detection program. Accordingly, the present invention provides a method and system for generating an overall detection program, which mainly utilizes the currently constructed constructed detection items, and compares the items to be tested one by one with the constructed detection items to generate an overall detection program to solve the above. The problem.

基於上述目的,本發明所採用之主要技術手段係提供一種產生整體檢測程序之方法,係利用一資料庫中所預存之至少一已建構檢測項目,對至少一待測裝置產生一整體檢測程序,待測裝置包含至少一功能模組,包含步驟(a)將待測裝置之一裝置資訊解析出對應於各功能模組之至少一檢測要求,藉以依據該至少一功能模組與該至少一檢測要求建立一檢測程序對照表,藉以利用檢測程序對照表呈現出整體檢測程序中所包含之至少一待檢測項目,其中,每一該待檢測項目係對應於該至少一功能模組中之一者與該至少一檢測要求中之一者,接著執行步驟(b)將檢測程序對照表中之該至少一待檢測項目逐一與該至少一已建構檢測項目進行比對,藉以比對出該至少一已建構檢測項目是否與待檢測項目彼此吻合,然後執行步驟(c)在比對出該至少一已建構檢測項目中存在一者與該待檢測項目彼此吻合時,將與待檢測項目吻合之該已建構檢測項目取代待檢測項目,並將不吻合之待檢測項目列入一待建構檢測項目清單,依據待建構檢測項目清單中 之待檢測項目建構出一新增檢測項目,並將新增檢測項目與該已建構檢測項目結合成整體檢測程序。 Based on the above object, the main technical means adopted by the present invention provides a method for generating an overall detection program, which utilizes at least one constructed detection item prestored in a database to generate an overall detection program for at least one device to be tested. The device under test includes at least one function module, and includes the following steps: (a) parsing device information of one device to be tested to at least one detection request corresponding to each function module, thereby detecting the at least one function module according to the at least one function module Requiring a test program comparison table to display at least one item to be detected included in the overall detection program by using a test program comparison table, wherein each of the items to be detected corresponds to one of the at least one function module And performing, in step (b), comparing the at least one item to be detected in the test program comparison table with the at least one constructed detection item one by one, thereby comparing the at least one Whether the constructed test item and the item to be tested are consistent with each other, and then step (c) is performed to compare the at least one constructed test item. When the one and the items to be tested are consistent with each other, the constructed detection item that matches the item to be detected replaces the item to be tested, and the items to be detected that do not match are included in the list of items to be constructed, according to the item to be constructed. In the list The project to be tested constructs a new testing project, and the new testing project is combined with the constructed testing project into an overall testing program.

其中,上述產生整體檢測程序之方法之附屬技術手段之較佳實施例中,在步驟(c)後係執行一步驟(d)將新增檢測項目儲存至資料庫,藉以產生另一已建構檢測項目,該至少一已建構檢測項目係對應有一第一識別碼,該至少一待檢測項目係對應有一第二識別碼,在步驟(b)中,係比對第一識別碼與第二識別碼是否相吻合。此外,待測裝置為一馬達、一冷氣、一伺服器、一冰箱以及一洗衣機中之一者,該至少一檢測要求為一運轉頻率、一運轉時序、一測試電壓、一測試電流、一加速度以及一減速度中之至少一者。 In the preferred embodiment of the above-mentioned method for generating the overall detection procedure, after step (c), a step (d) is performed to store the newly added detection item in the database, thereby generating another constructed detection. The item, the at least one constructed detection item corresponds to a first identification code, the at least one item to be detected corresponds to a second identification code, and in step (b), the first identification code and the second identification code are compared. Does it match? In addition, the device to be tested is one of a motor, a cold air, a server, a refrigerator and a washing machine, and the at least one detection request is an operating frequency, an operating sequence, a test voltage, a test current, and an acceleration. And at least one of a deceleration.

本發明所採用之主要技術手段係還提供一種產生整體檢測程序之系統,係用以對至少一待測裝置產生一整體檢測程序,待測裝置包含至少一功能模組,產生整體檢測程序之系統包含一資料庫、一解析模組以及一比對模組。資料庫係預存有至少一已建構檢測項目,解析模組係電性連接於資料庫,用以將待測裝置之一裝置資訊解析出對應於各功能模組之至少一檢測要求,藉以依據該至少一功能模組與該至少一檢測要求建立一檢測程序對照表,藉以利用檢測程序對照表呈現出整體檢測程序中所包含之至少一待檢測項目,其中,每一待檢測項目係對應於該至少一功能模組中之一者與該至少一檢測要求中之一者。比對模組係電性連接於解析模組,用以將檢測程序對照表中之該至少一待檢測項目逐一與該至少一已建構檢測項目進行比對,在比對出該至少一已建構檢測項目中存在一者與待檢測項目彼此吻合時,將與待檢測項目吻合之已建構檢測項目取代待檢測項目,並將不吻合之 待檢測項目列入一待建構檢測項目清單,依據待建構檢測項目清單中之待檢測項目建構出一新增檢測項目,並將新增檢測項目與已建構檢測項目結合成整體檢測程序。 The main technical means adopted by the present invention further provides a system for generating an overall detection program, which is a system for generating an overall detection program for at least one device to be tested, the device to be tested comprising at least one functional module, and a system for generating an overall detection program. It includes a database, an analysis module, and a comparison module. The database system is prestored with at least one constructed detection item, and the analysis module is electrically connected to the data base, and is configured to parse the device information of one device to be tested out to at least one detection requirement corresponding to each function module, thereby And the at least one function module establishes a detection program comparison table with the at least one detection request, so that at least one item to be detected included in the overall detection program is presented by using the detection program comparison table, wherein each item to be detected corresponds to the One of the at least one functional module and one of the at least one detection request. The comparison module is electrically connected to the analysis module, and compares the at least one item to be detected in the test program table with the at least one constructed test item one by one, and compares the at least one constructed structure When one of the detection items matches the item to be tested, the constructed test item that matches the item to be tested replaces the item to be tested, and will not match. The items to be tested are included in the list of construction inspection items, and a new inspection item is constructed according to the items to be tested in the list of construction items to be constructed, and the new detection items and the constructed inspection items are combined into a whole inspection program.

其中,上述產生整體檢測程序之系統之附屬技術手段之較佳實施例中,比對模組係電性連接於資料庫,用以在建構出新增檢測項目後,再將新增檢測項目儲存至資料庫,藉以產生另一已建構檢測項目,該至少一已建構檢測項目係對應有一第一識別碼,該至少一待檢測項目係對應有一第二識別碼,比對模組係依據第一識別碼與第二識別碼比對出該至少一已建構檢測項目與該至少一待檢測項目是否相吻合。此外,待測裝置為一馬達、一冷氣、一伺服器、一冰箱以及一洗衣機中之一者,該至少一檢測要求為一運轉頻率、一運轉時序、一測試電壓、一測試電流、一加速度以及一減速度中之至少一者。 In the preferred embodiment of the above-mentioned auxiliary technical means for generating the overall detection program, the comparison module is electrically connected to the data base for storing the newly added detection item after constructing the newly added detection item. To the database, to generate another constructed detection item, the at least one constructed detection item corresponding to a first identification code, the at least one item to be detected corresponds to a second identification code, and the comparison module is based on the first The identification code is compared with the second identification code to determine whether the at least one constructed detection item matches the at least one item to be detected. In addition, the device to be tested is one of a motor, a cold air, a server, a refrigerator and a washing machine, and the at least one detection request is an operating frequency, an operating sequence, a test voltage, a test current, and an acceleration. And at least one of a deceleration.

藉由本發明所採用之產生整體檢測程序之方法及系統之主要技術手段後,由於係將待測裝置解析出多個功能模組,進而可依據功能模組與檢測要求劃分出檢測項目,以依照待檢測項目與已建構檢測項目進行比對,若為相符則可直接取代而沿用,若不相符再提示程序編寫人員編寫此部分程序即可,因此程序編寫人員不需要再花大量時間整體重新編寫,進而提升方便性。 After the main technical means of the method and system for generating the overall detection program used by the present invention, the device to be tested is parsed out of the plurality of functional modules, and the detection items can be divided according to the function module and the detection requirements, in accordance with The items to be tested are compared with the constructed test items. If they are consistent, they can be directly replaced and used. If they do not match, the program writer can write this part of the program, so the programmer does not need to spend a lot of time to rewrite the whole. , thereby improving convenience.

本發明所採用的具體實施例,將藉由以下之實施例及圖式作進一步之說明。 The specific embodiments of the present invention will be further described by the following examples and drawings.

1‧‧‧產生整體檢測程序之系統 1‧‧‧Systems that generate overall testing procedures

11‧‧‧資料庫 11‧‧‧Database

111、111a‧‧‧已建構檢測項目 111, 111a‧‧‧ Construction of testing projects

12‧‧‧解析模組 12‧‧‧analysis module

13‧‧‧比對模組 13‧‧‧ Alignment module

第一圖係顯示本發明較佳實施例之產生整體檢測程序之系統之方 塊示意圖;以及第二圖係顯示本發明較佳實施例之產生整體檢測程序之方法之流程示意圖。 The first figure shows the system of the system for generating an overall detection program in accordance with a preferred embodiment of the present invention. A block diagram; and a second diagram showing a flow diagram of a method of generating an overall detection procedure in accordance with a preferred embodiment of the present invention.

由於本發明所提供之產生整體檢測程序之方法及系統中,其組合實施方式不勝枚舉,故在此不再一一贅述,僅列舉一較佳實施例加以具體說明。 In the method and system for generating an overall detection program provided by the present invention, the combined implementation manners are numerous, and therefore will not be further described herein, and only a preferred embodiment will be specifically described.

請一併參閱第一圖與第二圖,第一圖係顯示本發明較佳實施例之產生整體檢測程序之系統之方塊示意圖,第二圖係顯示本發明較佳實施例之產生整體檢測程序之方法之流程示意圖。如圖所示,本發明較佳實施例所提供之產生整體檢測程序之系統1係用以對至少一待測裝置(圖未示)產生一整體檢測程序(圖未示),待測裝置包含至少一功能模組(圖未示),其中,待測裝置為一馬達、一冷氣、一伺服器、一冰箱以及一洗衣機中之一者,但其他實施例中不限於此,其可為其他如電視之家電產品或是如手機、平板之手持式行動裝置。而功能模組例如可為控制器、記憶體、馬達、壓縮機、冷凝器、加熱器、熱交換器等功能模組,因此,本發明較佳實施例所定義的功能模組即指待測裝置內可執行個別功能的模組,舉例來說,若待測裝置為冰箱,那麼功能模組即可為壓縮機、冷凝器、加熱器等其他功能模組;若待測裝置為冷氣,那麼功能模組即可為壓縮機、散熱器、熱交換器等其他功能模組;若待測裝置為手機,那麼功能模組即可為儲存模組、無線傳輸模組、顯示模組等功能模組,另外,整體檢測程序將於下進行詳述。 Referring to the first and second figures, the first figure shows a block diagram of a system for generating an overall detection program according to a preferred embodiment of the present invention, and the second figure shows the overall detection procedure for generating a preferred embodiment of the present invention. A schematic diagram of the process of the method. As shown in the figure, the system 1 for generating an overall detection program according to a preferred embodiment of the present invention is configured to generate an overall detection program (not shown) for at least one device to be tested (not shown), and the device to be tested includes At least one function module (not shown), wherein the device to be tested is one of a motor, a cold air, a server, a refrigerator, and a washing machine, but other embodiments are not limited thereto, and may be other Such as TV home appliances or handheld mobile devices such as mobile phones and tablets. The functional module can be a functional module such as a controller, a memory, a motor, a compressor, a condenser, a heater, a heat exchanger, etc., and therefore, the functional module defined by the preferred embodiment of the present invention refers to a test module. A module capable of performing individual functions in the device. For example, if the device to be tested is a refrigerator, the function module can be a compressor, a condenser, a heater, and the like; if the device to be tested is cold air, then The function module can be other function modules such as a compressor, a radiator, a heat exchanger, etc. If the device to be tested is a mobile phone, the function module can be a function module such as a storage module, a wireless transmission module, and a display module. In addition, the overall testing procedure will be detailed below.

產生整體檢測程序之系統1係包含一資料庫11、一解析模組12以及一比對模組13,資料庫11係預存有至少一已建構檢測項目111,而上述之已建構檢測項目111係指檢測程序(或稱檢測程式),且已建構檢測項目111係於前次進行檢測時所編寫好之檢測程序。另外,資料庫11例如可為現有之硬碟、雲端伺服器或記憶體,其係視實務之設計而定。 The system 1 for generating an overall detection program includes a database 11, an analysis module 12, and a comparison module 13, wherein the database 11 is pre-stored with at least one constructed detection item 111, and the above-mentioned constructed detection item 111 is Refers to the test procedure (or test program), and the constructed test item 111 is the test program that was written at the time of the previous test. In addition, the database 11 can be, for example, an existing hard disk, a cloud server, or a memory, depending on the design of the actual application.

解析模組12係電性連接於資料庫11,並可為現有如中央處理器(Central Processing Unit;CPU)、圖形處理器(Graphics Processing Unit;GPU)或加速處理器(Accelerated Processing Unit;APU)之處理器。比對模組13係電性連接於資料庫11與解析模組12,其同樣可為上述之處理器,較佳者,解析模組12與比對模組13可整合於同一個處理器中,並由一個處理器執行相對應之功能,其係視實務之設計而定。 The parsing module 12 is electrically connected to the database 11 and can be an existing central processing unit (CPU), a graphics processing unit (GPU), or an accelerated processing unit (APU). The processor. The comparison module 13 is electrically connected to the database 11 and the analysis module 12, which can also be the above processor. Preferably, the analysis module 12 and the comparison module 13 can be integrated into the same processor. And a processor performs the corresponding function, depending on the design of the practice.

為了使本領域所屬技術人員可了解本發明所提供之產生整體檢測程序之方法及系統,以下將以方法流程圖進行詳述,如第二圖所示,本發明較佳實施例所提供之產生整體檢測程序之方法包含以下步驟:步驟S101:將待測裝置之一裝置資訊解析出對應於各功能模組之至少一檢測要求,藉以依據該至少一功能模組與該至少一檢測要求建立一檢測程序對照表,藉以利用檢測程序對照表呈現出整體檢測程序中所包含之至少一待檢測項目;步驟S102:比對該至少一已建構檢測項目是否與待檢測項目彼此吻合;步驟S103:將與待檢測項目吻合之已建構檢測項目取代待檢測項目; 步驟S104:將待檢測項目列入一待建構檢測項目清單,依據待建構檢測項目清單中之待檢測項目建構出一新增檢測項目,並將新增檢測項目與已建構檢測項目結合成整體檢測程序;以及步驟S105:將新增檢測項目儲存至資料庫,藉以產生另一已建構檢測項目。 In order to enable those skilled in the art to understand the method and system for generating an overall detection program provided by the present invention, the following will be described in detail by a method flow diagram, as shown in the second figure, which is provided by the preferred embodiment of the present invention. The method for the overall detection process includes the following steps: Step S101: parsing device information of one device to be tested out to at least one detection request corresponding to each function module, thereby establishing one according to the at least one function module and the at least one detection request Detecting a program comparison table, by using the test program comparison table to present at least one item to be detected included in the overall detection program; step S102: comparing with the at least one constructed detection item and the item to be detected mutually; step S103: The constructed test item that matches the item to be tested replaces the item to be tested; Step S104: Include the item to be detected in a list of items to be constructed, construct a new detection item according to the item to be detected in the list of items to be constructed, and combine the newly added item with the constructed item to form an overall detection. a program; and step S105: storing the newly added detection item to the database, thereby generating another constructed detection item.

在步驟開始前,資料庫11係預存有至少一已建構檢測項目111如表一所示,其中,已建構檢測項目111係對應運轉時序,已建構檢測項目111a係對應於運轉頻率,而運轉時序與運轉頻率係指檢測要求,以下將對此進行詳述。 Before the start of the step, the database 11 is pre-stored with at least one constructed detection item 111 as shown in Table 1, wherein the constructed detection item 111 corresponds to the operation sequence, and the constructed detection item 111a corresponds to the operation frequency, and the operation sequence is The operating frequency refers to the detection requirements, which will be described in detail below.

在步驟開始後,係執行步驟S101將待測裝置之一裝置資訊解析出對應於各功能模組之至少一檢測要求,藉以依據該至少一功能模組與該至少一檢測要求建立一檢測程序對照表,藉以利用檢測程序對照表呈現出整體檢測程序中所包含之至少一待檢測項目,其中,每一該待檢測項目係對應於該至少一功能模組中之一者與該至少一檢測要求中之一者。 After the step is started, the step S101 is performed to parse the device information of the device to be tested into at least one detection request corresponding to each function module, so as to establish a detection program according to the at least one function module and the at least one detection request. a table, wherein the at least one item to be detected included in the overall detection program is presented by using a test program comparison table, wherein each of the items to be detected corresponds to one of the at least one function module and the at least one detection requirement One of them.

舉例來說,檢測程序對照表如表二所示,在此較佳實施例中,待測裝置為智慧冰箱,而待測裝置內包含之各功能模組分別為控制器、壓縮機與記憶體(以上僅舉例,並未把所有功能模組列出),而解析模組12對待測裝置之裝置資訊解析出的檢測要求分別為運轉時序、運轉速度、運轉頻率、加速度、減速度、測試電壓以及測試電流(解析方式例如可接收如規格表之裝置資 訊而解析出可能的功能模組與對應的檢測要求),待檢測項目則被分析出有待檢測項目PAa至待檢測項目PAh,且待檢測項目都對應有功能模組與檢測要求,例如待檢測項目PAa係對應壓縮機與運轉時序,待檢測項目PAe對應控制器與測試電壓等依此類推,其中,下表中未示之待檢測項目即表示並無對應之檢測要求,特此敘明。 For example, the test program comparison table is shown in Table 2. In the preferred embodiment, the device to be tested is a smart refrigerator, and the functional modules included in the device to be tested are respectively a controller, a compressor, and a memory. (The above is only an example, not all the function modules are listed), and the detection requirements of the analysis module 12 for analyzing the device information of the device to be tested are operation timing, running speed, running frequency, acceleration, deceleration, and test voltage. And test current (analytical method, for example, can receive equipment such as specification sheet The possible function modules and corresponding detection requirements are analyzed, and the items to be tested are analyzed to be detected PAa to the item PAh to be detected, and the items to be detected correspond to functional modules and detection requirements, for example, to be detected. The project PAa corresponds to the compressor and the running sequence, the project to be tested PAe corresponds to the controller and the test voltage, and so on. Among them, the items to be tested not shown in the following table indicate that there is no corresponding detection requirement, which is hereby stated.

在執行完步驟S101後,係執行步驟S102比對該至少一已建構檢測項目是否與待檢測項目彼此吻合,在此步驟中,比對模組13將檢測程序對照表中之該至少一待檢測項目逐一與該至少一已建構檢測項目進行比對,藉以比對出是否彼此吻合,舉例來說,如表一與表二所示,比對模組13會自解析模組12獲取檢測程序對照表,並至資料庫11中擷取已建構檢測項目111、111a,進而將待檢測項目PAa至待檢測項目PAh逐一與已建構檢測項目111、111a進行比對。 After the step S101 is performed, the step S102 is performed to match whether the at least one constructed detection item and the item to be detected coincide with each other. In this step, the comparison module 13 checks the at least one of the detection program check tables. The items are compared with the at least one constructed test item one by one, so that the comparisons are consistent with each other. For example, as shown in Table 1 and Table 2, the comparison module 13 obtains the test program from the analysis module 12 The table, and the constructed test items 111, 111a are retrieved from the database 11, and the items to be detected PAa to PAh are respectively compared with the constructed detection items 111, 111a.

接著執行步驟S103將與待檢測項目吻合之已建構檢測項目取代待檢測項目,具體來說,由表一與表二可明確了解到 已建構檢測項目111、111a分別與待檢測項目PAa、PAb彼此相符合,因此可直接將已建構檢測項目111、111a分別取代待檢測項目PAa、PAb而產生新的檢測程序對照表(如表三所示)。 Then, in step S103, the constructed detection item that matches the item to be detected is substituted for the item to be detected, and specifically, it can be clearly understood from Table 1 and Table 2. The constructed detection items 111 and 111a are respectively in conformity with the items to be detected PAa and PAb, so that the constructed detection items 111 and 111a can be directly replaced with the items to be detected PAa and PAb, respectively, to generate a new detection program comparison table (see Table 3). Shown).

其中,執行完步驟S103後係執行步驟S104將待檢測項目列入一待建構檢測項目清單,依據待建構檢測項目清單中之待檢測項目建構出一新增檢測項目,並將新增檢測項目與已建構檢測項目結合成整體檢測程序。具體來說,上述剩餘未符合之待檢測項目Pac至待檢測項目PAh中,比對模組13會將上述之待檢測項目Pac至待檢測項目PAh列入一待建構檢測項目清單(如表四所示),依據該待建構檢測項目清單中之待檢測項目Pac至待檢測項目PAh建構出新增檢測項目Pb至Pg,而此新增檢測項目Pb至Pg即需要程序編寫人員進行編寫,而在編寫完成後,比對模組係將新增檢測項目Pb至Pg與已建構檢測項目111、111a結合成整體檢測程序(如表五所示),其中,整體檢測程序係指新 增檢測項目Pb至Pg與已建構檢測項目111、111a所組合出之程序,而非個別之程序,特此敘明。 After the step S103 is performed, the step S104 is executed to list the item to be detected into a list of items to be constructed, and a new detection item is constructed according to the item to be detected in the list of items to be constructed, and the added item is added. The constructed test items are combined into a holistic test procedure. Specifically, in the remaining unconformed item Pac to the to-be-detected item PAh, the comparison module 13 includes the above-mentioned item to be detected Pac to the item to be detected PAh as a list of items to be constructed (see Table 4). The new detection items Pb to Pg are constructed according to the to-be-detected item Pac to the to-be-detected item PAh in the to-be-constructed detection item list, and the newly added detection items Pb to Pg need to be written by the programmer. After the completion of the preparation, the comparison module system combines the new detection items Pb to Pg with the constructed detection items 111, 111a into a whole detection program (as shown in Table 5), wherein the overall detection program refers to the new The procedures for the combination of the test items Pb to Pg and the constructed test items 111, 111a, rather than individual procedures, are hereby incorporated by reference.

在執行完步驟S104後係執行步驟S105將新增檢測項目儲存至資料庫,藉以產生另一已建構檢測項目,具體來說,在程序編寫人員完成新增檢測項目Pb至Pg之編寫後,比對模組13係可直接將新增檢測項目Pb至Pg儲存至資料庫11中,進而 儲存為另一已建構檢測項目,亦即表一會再新增上述新增檢測項目Pb至Pg,使得本發明較佳實施例所提供之產生整體檢測程序之系統1具有學習的功能,因此只要下次再進行類似之檢測時,即可不需再編寫新增檢測項目Pb至Pg而可直接沿用。 After the step S104 is performed, the step S105 is executed to store the newly added detection item to the database, thereby generating another constructed detection item. Specifically, after the program writer completes the preparation of the newly added detection items Pb to Pg, The module 13 can directly store the newly added detection items Pb to Pg into the database 11, and further The storage is another constructed detection item, that is, the new detection items Pb to Pg are added to the table, so that the system 1 for generating the overall detection program provided by the preferred embodiment of the present invention has a learning function, so The next time you perform a similar test, you can use the new test items Pb to Pg without using the new test items.

另外,在步驟S102之判斷結果為否時係直接跳過步驟S103而執行步驟S104,亦即在該至少一已建構檢測項目111、111a中不存任何一者與待檢測項目PAa至待檢測項目PAh彼此吻合時,直接執行步驟S104的動作,其餘均與上述之步驟S104相同,不再贅述。 In addition, when the determination result in step S102 is NO, step S103 is directly skipped, and step S104 is performed, that is, no one of the at least one constructed detection items 111, 111a and the item to be detected PAa are to be detected. When the PAhs coincide with each other, the operations of step S104 are directly performed, and the rest are the same as the above-mentioned step S104, and will not be described again.

此外,在步驟S102之判斷方法之其他實施例中,該至少一已建構檢測項目111、111a係對應有一第一識別碼,此第一識別碼例如可為程式代碼,待檢測項目PAa至待檢測項目PAh係分別對應有一第二識別碼,且第二識別碼例如也可為程式代碼,因此,在步驟S102中,比對模組13係依據第一識別碼與第二識別碼比對出該至少一已建構檢測項目111、111a與該至少一待檢測項目PAa至待檢測項目PAh是否相吻合,此具體比對方式係可確認第一識別碼與第二識別碼是否相同,但不限於此。 In addition, in another embodiment of the determining method of step S102, the at least one constructed detection item 111, 111a corresponds to a first identification code, and the first identification code may be, for example, a program code, to be detected by the item PAa to be detected. The item PAh corresponds to a second identification code, and the second identification code can be, for example, a program code. Therefore, in step S102, the comparison module 13 compares the first identification code with the second identification code. Whether the at least one constructed detection item 111, 111a coincides with the at least one to-be-detected item PAa to the to-be-detected item PAh, and the specific comparison manner can confirm whether the first identification code and the second identification code are the same, but are not limited thereto. .

綜合以上所述,產生整體檢測程序之方法及系統之後,由於係將待測裝置解析出多個功能模組,進而可依據功能模組與檢測要求劃分出檢測項目,以依照待檢測項目與已建構檢測項目進行比對,若為相符則可直接取代而沿用,若不相符再提示程序編寫人員編寫此部分程序即可,因此程序編寫人員不需要再花大量時間整體重新編寫,且還具有學習功能,進而提升使用上之方便性。 In summary, after the method and system for generating the overall detection program, since the device under test is parsed out of multiple functional modules, the detection items can be divided according to the function module and the detection requirements, in accordance with the items to be tested and Construct a test item for comparison. If it is consistent, it can be directly replaced and used. If it does not match, the program writer can write this part of the program, so the programmer does not need to spend a lot of time to rewrite the whole, and also has learning. Function, which improves the convenience of use.

藉由以上較佳具體實施例之詳述,係希望能更加清 楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。 With the details of the above preferred embodiments, it is hoped that it will be clearer. The features and spirit of the present invention are described, and the scope of the present invention is not limited by the preferred embodiments disclosed herein. On the contrary, the intention is to cover various modifications and equivalents within the scope of the invention as claimed.

Claims (10)

一種產生整體檢測程序之方法,係利用一資料庫中所預存之至少一已建構檢測項目,對至少一待測裝置產生一整體檢測程序,該待測裝置包含至少一功能模組,包含以下步驟:(a)將該待測裝置之一裝置資訊解析出對應於各功能模組之至少一檢測要求,藉以依據該至少一功能模組與該至少一檢測要求建立一檢測程序對照表,藉以利用該檢測程序對照表呈現出該整體檢測程序中所包含之至少一待檢測項目,其中,每一該待檢測項目係對應於該至少一功能模組中之一者與該至少一檢測要求中之一者;(b)將該檢測程序對照表中之該至少一待檢測項目逐一與該至少一已建構檢測項目進行比對,藉以比對出該至少一已建構檢測項目是否與該待檢測項目彼此吻合;以及(c)在比對出該至少一已建構檢測項目中存在一者與該待檢測項目彼此吻合時,將與該待檢測項目吻合之該已建構檢測項目取代該待檢測項目,並將不吻合之該待檢測項目列入一待建構檢測項目清單,依據該待建構檢測項目清單中之該待檢測項目建構出一新增檢測項目,並將該新增檢測項目與該已建構檢測項目結合成該整體檢測程序。 A method for generating an overall detection program is to generate an overall detection program for at least one device to be tested by using at least one constructed detection item prestored in a database, the device to be tested comprising at least one functional module, comprising the following steps And (a) parsing the device information of one device to be tested to at least one detection request corresponding to each function module, thereby establishing a detection program comparison table according to the at least one function module and the at least one detection request, thereby utilizing The test program comparison table presents at least one item to be detected included in the overall detection program, wherein each of the items to be detected corresponds to one of the at least one function module and the at least one detection request (b) comparing the at least one item to be tested in the test program table with the at least one constructed test item, thereby comparing whether the at least one constructed test item and the item to be tested are compared Compatible with each other; and (c) when the one of the at least one constructed detection item is compared with the item to be detected, the item to be detected is The constructed test item replaces the item to be tested, and the untested item to be tested is included in a list of items to be constructed, and a new test is constructed according to the item to be tested in the list of items to be constructed. The project combines the new test item with the constructed test item into the overall test program. 如申請專利範圍第1項所述之產生整體檢測程序之方法,其中,在該步驟(c)後係執行一步驟(d)將該新增檢測項目儲存至該資料庫,藉以產生另一已建構檢測項目。 The method for generating an overall detection procedure as described in claim 1, wherein after the step (c), performing a step (d) storing the newly added detection item in the database, thereby generating another Construct a test project. 如申請專利範圍第1項所述之產生整體檢測程序之方法,其中,該至少一已建構檢測項目係對應有一第一識別碼,該至少一待檢測項目係對應有一第二識別碼,在該步驟(b)中,係比對該第一識別碼與該第二識別碼是否相吻合。 The method for generating an overall detection program according to claim 1, wherein the at least one constructed detection item corresponds to a first identification code, and the at least one item to be detected corresponds to a second identification code. In step (b), it is compared with whether the first identification code and the second identification code match. 如申請專利範圍第1項所述之產生整體檢測程序之方法,其中,該待測裝置為一馬達、一冷氣、一伺服器、一冰箱以及一洗衣機中之一者。 The method for generating an overall detection program as described in claim 1, wherein the device to be tested is one of a motor, a cold air, a server, a refrigerator, and a washing machine. 如申請專利範圍第1項所述之產生整體檢測程序之方法,其中,該至少一檢測要求為一運轉頻率、一運轉時序、一測試電壓、一測試電流、一加速度以及一減速度中之至少一者。 The method of generating an overall detection procedure as described in claim 1, wherein the at least one detection request is at least one of an operation frequency, an operation timing, a test voltage, a test current, an acceleration, and a deceleration. One. 一種產生整體檢測程序之系統,係用以對至少一待測裝置產生一整體檢測程序,該待測裝置包含至少一功能模組,該產生整體檢測程序之系統包含:一資料庫,係預存有至少一已建構檢測項目;一解析模組,係電性連接於該資料庫,用以將該待測裝置之一裝置資訊解析出對應於各功能模組之至少一檢測要求,藉以依據該至少一功能模組與該至少一檢測要求建 立一檢測程序對照表,藉以利用該檢測程序對照表呈現出該整體檢測程序中所包含之至少一待檢測項目,其中,每一該待檢測項目係對應於該至少一功能模組中之一者與該至少一檢測要求中之一者;以及一比對模組,係電性連接於該解析模組,用以將該檢測程序對照表中之該至少一待檢測項目逐一與該至少一已建構檢測項目進行比對,在比對出該至少一已建構檢測項目中存在一者與該待檢測項目彼此吻合時,將與該待檢測項目吻合之該已建構檢測項目取代該待檢測項目,並將不吻合之該待檢測項目列入一待建構檢測項目清單,依據該待建構檢測項目清單中之該待檢測項目建構出一新增檢測項目,並將該新增檢測項目與該已建構檢測項目結合成該整體檢測程序。 A system for generating an overall detection program for generating an overall detection program for at least one device to be tested, the device to be tested comprising at least one functional module, the system for generating an overall detection program comprising: a database, pre-stored At least one of the detected detection items; an analysis module electrically connected to the database, configured to parse the device information of the device to be tested out to at least one detection request corresponding to each function module, thereby a functional module and the at least one detection request Forming a test program comparison table, by using the test program comparison table to present at least one item to be detected included in the overall detection program, wherein each of the items to be detected corresponds to one of the at least one function module And one of the at least one detection request; and a comparison module electrically connected to the analysis module, configured to compare the at least one item to be detected in the detection program to the at least one The constructed detection item is compared, and when the one of the at least one constructed detection item matches the item to be detected, the constructed detection item that matches the item to be detected replaces the item to be detected. And including the untested item to be inspected into a list of items to be constructed, constructing a new detection item according to the item to be tested in the list of items to be constructed, and adding the new item to the item The construction test project is combined into the overall inspection program. 如申請專利範圍第6項所述之產生整體檢測程序之系統,其中,該比對模組係電性連接於該資料庫,用以在建構出該新增檢測項目後,將該新增檢測項目儲存至該資料庫,藉以產生另一已建構檢測項目。 The system for generating an overall detection program as described in claim 6, wherein the comparison module is electrically connected to the database, and the new detection is performed after constructing the newly added detection item. The project is stored in the database to generate another constructed test item. 如申請專利範圍第6項所述之產生整體檢測程序之系統,其中,該至少一已建構檢測項目係對應有一第一識別碼,該至少一待檢測項目係對應有一第二識別碼,該比對模組係依據該第一識別碼與該第二識別碼比對出該至少一已建構檢測項目與該至少一待檢測項目是否相吻合。 The system for generating an overall detection program according to claim 6, wherein the at least one constructed detection item corresponds to a first identification code, and the at least one item to be detected corresponds to a second identification code, the ratio And comparing, by the module, the at least one constructed detection item and the at least one item to be detected according to the first identification code and the second identification code. 如申請專利範圍第6項所述之產生整體檢測程序之系統,其中,該待測裝置為一馬達、一冷氣、一伺服器、一冰箱以及一洗衣機中之一者。 The system for generating an overall detection program as described in claim 6, wherein the device to be tested is one of a motor, a cold air, a server, a refrigerator, and a washing machine. 如申請專利範圍第6項所述之產生整體檢測程序之系統,其中,該至少一檢測要求為一運轉頻率、一運轉時序、一測試電壓、一測試電流、一加速度以及一減速度中之至少一者。 The system for generating an overall detection program according to claim 6, wherein the at least one detection requirement is at least one of an operation frequency, an operation timing, a test voltage, a test current, an acceleration, and a deceleration. One.
TW104117008A 2015-05-27 2015-05-27 Overall detection program generation method and system thereof TWI537571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104117008A TWI537571B (en) 2015-05-27 2015-05-27 Overall detection program generation method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104117008A TWI537571B (en) 2015-05-27 2015-05-27 Overall detection program generation method and system thereof

Publications (2)

Publication Number Publication Date
TWI537571B true TWI537571B (en) 2016-06-11
TW201641945A TW201641945A (en) 2016-12-01

Family

ID=56755866

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104117008A TWI537571B (en) 2015-05-27 2015-05-27 Overall detection program generation method and system thereof

Country Status (1)

Country Link
TW (1) TWI537571B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI692646B (en) * 2018-11-30 2020-05-01 香港商冠捷投資有限公司 Display device detection system and its control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI692646B (en) * 2018-11-30 2020-05-01 香港商冠捷投資有限公司 Display device detection system and its control method

Also Published As

Publication number Publication date
TW201641945A (en) 2016-12-01

Similar Documents

Publication Publication Date Title
CN107920112B (en) Configuration file pushing method supporting gray mode, central server and storage medium
CN108259643A (en) Smart machine and the binding method of user's operation terminal and device, electronic equipment
US7971110B2 (en) System and method for testing a serial attached small computer system interface
CN107659455B (en) Method, storage medium, device and system for Mock data of iOS (internet operating system) end
US11499732B2 (en) Method, device and system for wireless networking of air conditioning unit
CN107143976B (en) Air conditioner fault detection method, mobile detection device, air conditioner
CN111538672A (en) Test case layered test method, computer device and computer-readable storage medium
CN110784538A (en) Household appliance configuration file generation method and device, household appliance and storage medium
CN110825756B (en) Data synchronization method, device, storage medium and equipment
CN116886555A (en) Network product reliability testing methods, devices, electronic equipment and storage media
CN109376048A (en) A kind of test method and equipment of touch screen
TWI537571B (en) Overall detection program generation method and system thereof
CN104539607A (en) Information checking method, terminal and server
US20100064175A1 (en) Electronic malfunction diagnostic apparatus and method
CN104461603B (en) A kind of information processing method and electronic equipment
JP6802354B2 (en) Communication test equipment, communication test methods and programs
CN113901852B (en) A method and device for detecting electronic equipment
CN110442059A (en) Controlled equipment expanding method and device and control equipment
JPWO2017037914A1 (en) Information processing apparatus and information processing method
CN106293676B (en) Method and system for generating overall detection program
CN106445949A (en) Method and device for detecting data change in data table
CN110688301B (en) Server testing method, device, storage medium and computer equipment
EP3382550A1 (en) Test apparatus und method
CN115735368A (en) Device registration method and device, electronic device and storage medium
KR20180131132A (en) Method for image matching and apparatus for executing the method