CN1269037C - System and method for testing using a single memory - Google Patents
System and method for testing using a single memory Download PDFInfo
- Publication number
- CN1269037C CN1269037C CNB021481784A CN02148178A CN1269037C CN 1269037 C CN1269037 C CN 1269037C CN B021481784 A CNB021481784 A CN B021481784A CN 02148178 A CN02148178 A CN 02148178A CN 1269037 C CN1269037 C CN 1269037C
- Authority
- CN
- China
- Prior art keywords
- test
- storer
- virtual
- type
- subregion
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 149
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000010998 test method Methods 0.000 claims description 7
- 230000003213 activating effect Effects 0.000 claims 1
- 238000005192 partition Methods 0.000 abstract description 58
- 230000004913 activation Effects 0.000 abstract description 6
- 239000000047 product Substances 0.000 description 7
- 238000003908 quality control method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000011265 semifinished product Substances 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域technical field
本发明是关于一种测试系统及方法,特别是关于一种利用单一存储器进行测试的系统及方法。The present invention relates to a testing system and method, in particular to a testing system and method utilizing a single memory.
背景技术Background technique
今日市场在激烈的竞争之下,产品的“品质”已成为经常被提出的要求。社会大众对于品质的期待,不再只局限于产品的有形品质,更进而扩大到设计、生产、销售、售后服务,甚至于企业整体形象的全面品质。有些企业很早就意识到,追求品质及顾客满意是其长期竞争优势,因此表现出对品质坚定承诺与实践。因此,如何提升品管系统的速度和品质成为企业当前的重要研究目标。Under the fierce competition in today's market, the "quality" of products has become a frequently raised requirement. The general public's expectations for quality are no longer limited to the tangible quality of products, but further extended to design, production, sales, after-sales service, and even the overall quality of the overall corporate image. Some companies have realized early on that the pursuit of quality and customer satisfaction is their long-term competitive advantage, so they have shown firm commitment to and practice of quality. Therefore, how to improve the speed and quality of the quality control system has become an important research goal for enterprises.
近来,由于3C产业(计算机、通讯及消费性电子产品)的整合趋势,其产品的品质监控则需要更加的严格以防止在整合的过程出现瑕疵。在品管系统中,成品与半成品的产品测试占了相当重要的一环;其结果直接表现在出货的品质上,同时,也反映出制造工艺技术的优劣。而测试部门在对于计算机产品开始进行测试之前,需要以人工在待测的机器上安装测试用的硬盘;其测试用的硬盘除了具有操作系统以外,尚需一一安装所需的驱动程序以及测试所使用的工具,才能进一步开始进行测试。Recently, due to the integration trend of the 3C industry (computer, communication and consumer electronics products), the quality control of its products needs to be more stringent to prevent flaws in the integration process. In the quality control system, the product testing of finished products and semi-finished products occupies a very important part; the results are directly reflected in the quality of the shipment, and at the same time, it also reflects the pros and cons of the manufacturing process. Before the test department starts to test the computer products, it needs to manually install the hard disk for testing on the machine to be tested; besides the operating system, the hard disk for testing still needs to install the required drivers and test one by one. The tools used can go further and start testing.
这种测试方法需要针对各种不同的待测机型来逐一安装不同的驱动程序与测试工具,此步骤需花费大量的人力去进行。同时,由于驱动程序及测试版本不断的更新使得测试硬盘上的数据也要相对的改变;增加了硬盘管理与维护上的困扰。以及,通常测试硬盘在安装完驱动程序与测试工具之后还会有许多剩余的空间。如使用一GB容量的硬盘,其中所安装的程序与数据顶多约占200MB至300MB的空间,而其余的空间则被浪费掉了。This test method needs to install different drivers and test tools one by one for various models to be tested, and this step requires a lot of manpower to carry out. At the same time, due to the continuous update of the driver program and test version, the data on the test hard disk will also be changed accordingly, which increases the troubles in hard disk management and maintenance. And, usually the test hard drive will have a lot of free space after installing the driver and test tools. If you use a hard disk with a capacity of 1GB, the installed programs and data will occupy at most 200MB to 300MB of space, and the rest of the space will be wasted.
发明内容Contents of the invention
鉴于以上现有技术的问题,本发明的目的在于提供一种利用单一存储器进行测试的系统及方法,是将服务器端与待测端通过互联网络连接于一支持多系统驱动的存储器以形成测试系统;此系统系利用单一的存储器来提供多种机器的测试环境与测试工具。即使待测机器所需的测试环境与工具不存在其存储器时,也可通过互联网络在操作端的服务器取得相关的测试映像文件,并且在存储器建立新的虚拟测试分区。通过这种方式来减少人工操作的步骤,同时简化管理测试环境的程序与提高测试效率。In view of the problems in the prior art above, the purpose of the present invention is to provide a system and method for testing using a single memory, which is to connect the server end and the end to be tested to a memory supporting multi-system drivers through the Internet to form a test system ; This system uses a single memory to provide a variety of machine testing environment and testing tools. Even if the test environment and tools required by the machine to be tested do not exist in its memory, the relevant test image files can be obtained from the server on the operating side through the Internet, and a new virtual test partition can be established in the memory. In this way, the steps of manual operation are reduced, while the procedures for managing the test environment are simplified and the test efficiency is improved.
本发明公开的利用单一存储器进行测试的系统,其包含有待测端、服务器端、互联网络及支持多系统驱动的存储器;其中,待测端连接待测机器与支持多系统驱动的存储器,存储器再通过互联网络连接至服务器端;服务器端则包含有持续更新的各种机型的测试工具以及欲建立新的虚拟测试分区所需的各种测试映像文件;支持多系统驱动的存储器由测试程序、多个虚拟测试分区以及测试工具所组成;测试程序用于自动识别待测机器的机型,以及在此存储器内寻找配合其机型的虚拟测试分区;每一虚拟测试分区存放着某种待测机型的测试环境与条件;以作为待测端的各种机器的测试之用;在常规情形下,主要开机扇区(MBR)的文件分区表并不存在这些虚拟测试分区的记录,只有在确定要使用某一虚拟测试分区时,才会激活此分区,并在此分区开始进行测试;虚拟测试分区可针对不断增加的新机型的测试中逐渐建立和增加。同时,亦将通过测试程序在存储器内选择配合此机型的测试工具。其各种测试工具系与虚拟测试分区分开储存,并可经由网络至服务器寻找更新的版本来下载与更新。The system for testing with a single memory disclosed by the present invention includes a terminal to be tested, a server, an Internet, and a memory supporting multi-system drivers; wherein, the device to be tested is connected to the machine to be tested and the memory supporting multi-system drivers, and the memory Then connect to the server side through the Internet; the server side contains continuously updated test tools of various models and various test image files required to create a new virtual test partition; the memory supporting multi-system drivers is controlled by the test program , a plurality of virtual test partitions and test tools; the test program is used to automatically identify the model of the machine to be tested, and to find a virtual test partition that matches the model in this memory; each virtual test partition stores a certain The test environment and conditions of the test model; it is used as a test for various machines at the end of the test; under normal circumstances, the file partition table of the main boot sector (MBR) does not have the records of these virtual test partitions. When it is determined to use a virtual test partition, the partition will be activated, and the test will start in this partition; the virtual test partition can be gradually established and increased for the test of new models that are constantly increasing. At the same time, the test tool that matches this model will also be selected in the memory through the test program. Its various test tools are stored separately from the virtual test partition, and can be downloaded and updated by searching for a newer version from the server through the network.
其中,当存储器中没有符合测试程序需要待测机型的虚拟测试分区时,在此存储器建立新的待测机型的虚拟测试分区。具体做法是将由互联网络自动连接服务器下载此待测机型的测试映像文件至所创建的待测机型的虚拟测试分区;再将测试映像文件恢复形成待测机型的虚拟测试分区,以及保留所创建的虚拟测试分区以便于未来的测试。因此,在重复利用此支持多系统激活的存储器之后,将使此储存系统所具有的各种机型的虚拟测试分区更加完备。Wherein, when there is no virtual test partition of the model to be tested according to the test program in the memory, a new virtual test partition of the model to be tested is established in the memory. The specific method is to download the test image file of the model to be tested by automatically connecting the server to the created virtual test partition of the model to be tested; then restore the test image file to form the virtual test partition of the model to be tested, and reserve A virtual test partition is created for future testing. Therefore, after reusing the memory supporting multi-system activation, the virtual test partitions of various models of the storage system will be more complete.
同时,配合此支持多系统激活的存储器,本发明更包含一种支持多系统激活的测试方法:首先,执行测试程序以自动识别待测机器的机型;以及,在存储器内寻找配合待测机型的虚拟测试分区;激活虚拟测试分区在此分区内形成配合待测机型的测试环境;自动侦测是否需要更新测试映像文件和测试工具;再选择测试系统以开始进行测试或直接选择退出测试程序。At the same time, in conjunction with the memory supporting multi-system activation, the present invention further includes a test method supporting multi-system activation: first, execute the test program to automatically identify the model of the machine to be tested; type of virtual test partition; activate the virtual test partition to form a test environment in this partition that matches the model to be tested; automatically detect whether the test image file and test tools need to be updated; then select the test system to start the test or directly choose to exit the test program.
此外,当在存储器内找不到配合待测机型的虚拟测试分区时;则先在存储器建立新的待测机型的虚拟测试分区;再由网络自动连接服务器下载此待测机型的测试映像文件至所创建的待测机型的虚拟测试分区;进而将测试映像文件恢复形成待测机型的虚拟测试分区的步骤;同时,在侦测到需要更新测试映像文件和测试工具时,亦可通过网络在服务器下载新版的测试映像文件和测试工具。In addition, when the virtual test partition matching the model to be tested cannot be found in the memory, a new virtual test partition of the model to be tested is first established in the memory; then the network automatically connects to the server to download the test of the model to be tested. image file to the created virtual test partition of the model to be tested; then the step of restoring the test image file to form the virtual test partition of the model to be tested; at the same time, when it is detected that the test image file and the test tool need to be updated, also The new version of the test image file and test tool can be downloaded from the server through the network.
本发明的有益效果Beneficial effects of the present invention
本发明是将存储器视为一种可以操作的媒质,利用程序的方法在存储器中建立、删除和激活各个虚拟测试分区;并依此建立利用单一存储器进行测试的系统。这种在单一储存媒体建立多个虚拟测试分区的方式可以充分利用存储器的空间,避免空间资源的浪费;同时,将测试工具和虚拟测试分区分开;可避免由于测试工具的频繁更新,造成对测试映像的重新制作,仅需单独下载测试工具或是测试数据,不需要从服务器端频繁的下载与更新测试映像文件;再加上各个虚拟测试分区系以物理方式分开,即在同一储存媒体上可支持多种分区格式(FAT16/FAT32/NTFS)和多种操作系统;并因而可支持多种机型的测试。The present invention regards the memory as an operable medium, uses the program method to establish, delete and activate each virtual test partition in the memory; and establishes a system for testing with a single memory accordingly. This method of establishing multiple virtual test partitions on a single storage medium can make full use of the storage space and avoid the waste of space resources; at the same time, it separates the test tools from the virtual test partitions; Image re-creation only needs to download test tools or test data separately, and does not need to frequently download and update test image files from the server; in addition, each virtual test partition is physically separated, that is, it can be stored on the same storage medium. Support a variety of partition formats (FAT16/FAT32/NTFS) and a variety of operating systems; and thus support the testing of a variety of models.
有关本发明的特征与实施,兹配合附图作最佳实施例详细说明如下:Relevant feature and implementation of the present invention, cooperate accompanying drawing to do best embodiment to describe in detail as follows:
附图说明Description of drawings
图1为本发明实施例的支持多系统激活的测试系统示意图;及FIG. 1 is a schematic diagram of a test system supporting multi-system activation according to an embodiment of the present invention; and
图2为本发明实施例的支持多系统激活的测试方法流程图。FIG. 2 is a flowchart of a testing method supporting multi-system activation according to an embodiment of the present invention.
图中标号说明Explanation of symbols in the figure
10 待测端10 End to be tested
20 存储器20 memory
22 测试程序22 Test procedure
24 虚拟测试分区24 virtual test partition
26 测试工具26 test tool
30 服务器端30 server side
40 互联网络40 Internet
具体实施方式Detailed ways
本发明系公开一种利用单一存储器进行测试的系统及其方法,是在服务器端管理各种测试工具需使用的测试数据,而在待测端的测试硬盘上创建一个用于安装、运行待测端程序及储存下载的待测机器的测试工具的分区,及多个创建虚拟测试分区,以通过此单一的存储器来提供多种机器的测试环境与测试工具;并且可随时通过网络下载与更新各种机型的测试数据、测试工具以及欲建立新的虚拟测试分区所需的测试映像文件。The invention discloses a system and method for testing by using a single memory, which is to manage the test data required by various test tools at the server end, and create a test hard disk on the test end for installing and running the test end. Programs and partitions for storing and downloading the test tools of the machine to be tested, and multiple virtual test partitions are created to provide a variety of machine test environments and test tools through this single memory; and various test tools can be downloaded and updated through the network at any time. Model test data, test tools, and test image files required to create a new virtual test partition.
为更详细说明本发明,请参考图1,其为本发明实施例的利用单一存储器进行测试的系统示意图,包含有存储器20、待测端10、互联网络40与服务器端30;其中,待测端10分别连接于存储器20与待测机器,存储器20则通过互联网络40连接于服务器端30,服务器端30包含有各种机型的测试工具以及欲建立新的虚拟测试分区所需的各种测试映像文件。测试映像文件为某种机型的完备的操作测试系统的映像档案,可完全避免测试人员在测试之前的系统安装程序,仅需恢复此测试映像文件至对应的虚拟测试分区,再激活此虚拟测试分区即可形成某种机型的测试环境。其中,所有机型所需的测试数据皆可由服务器的系统管理员统一管理与维护。For a more detailed description of the present invention, please refer to FIG. 1, which is a schematic diagram of a system for testing a single memory in an embodiment of the present invention, including a
如图1所示,本发明实施例的存储器包含有测试程序22、多个虚拟测试分区24及各种机型的测试工具26。测试程序22是用于执行自动识别待测机器的机型,以及在此存储器20内寻找配合其机型的虚拟测试分区24等指令;同时,亦将通过测试程序22在存储器20内选择配合此机型的测试工具26。每一虚拟测试分区24存放着某种待测机型的测试环境与条件,以作为待测端10的各种机器的测试之用;在常规情形下,存储器的主要开机扇区(MBR)的文件分区表并不存在这些虚拟测试分区24的记录,只有在确定要使用某一虚拟测试分区24时,才会加以激活此虚拟测试分区24,并在此虚拟测试分区24开始进行测试。虚拟测试分区24在针对不断增加的新机型的测试中逐渐建立和增加。其各种测试工具26系与虚拟测试分区24分开储存,并可经由网络在服务器寻找更新的版本来下载与更新。As shown in FIG. 1 , the memory of the embodiment of the present invention includes a test program 22 , a plurality of
本发明的实际的运作流程请参考图2,其为本发明实施例的利用单一存储器进行测试的方法流程图:首先,执行测试程序自动识别待测机器的机型(步骤110);以及,在存储器内寻找是否具有配合待测机型的虚拟测试分区(步骤120);如为是,则激活虚拟测试分区在此分区内形成配合待测机型的测试环境(步骤130);然后,侦测是否需要更新测试映像文件(步骤140);如为否,则侦测是否需要更新测试工具和测试数据(步骤150);如为否,则选择测试系统以开始进行测试或直接选择退出测试程序(步骤160)。Please refer to FIG. 2 for the actual operation process of the present invention, which is a flow chart of a method for testing using a single memory in an embodiment of the present invention: first, execute the test program to automatically identify the model of the machine to be tested (step 110); and, in Find whether there is a virtual test partition (step 120) that matches the model to be tested in the memory; if yes, then activate the virtual test partition to form a test environment (step 130) that matches the model to be tested in this partition; then, detect Whether it is necessary to update the test image file (step 140); if it is no, then detect whether it needs to update the test tool and test data (step 150); if it is no, then select the test system to start testing or directly select the exit test program ( Step 160).
其中,如图2所示,在存储器内寻找是否具有配合待测机型的虚拟测试分区时(步骤120),结果如为否,则需先建立待测机型的虚拟测试分区(步骤210);再接续至步骤310。以及,侦测是否需要更新测试映像文件时(步骤140),结果如为是,则需进行下列步骤:通过网络连接服务器以搜寻新版的测试映像文件(步骤310);下载与恢复此新版的测试映像文件在虚拟测试分区(步骤320);激活虚拟测试分区并在此分区内形成配合待测机型的测试环境;再接续至步骤150。而在侦测是否需要更新测试工具时(步骤150),结果如为是,则需要再通过网络连接服务器以搜寻新版的测试工具(步骤410);然后下载此新版的测试工具并覆盖旧数据(步骤420);再接续至步骤160。Wherein, as shown in Figure 2, when searching whether there is a virtual test partition (step 120) that cooperates the model to be tested in memory, if the result is no, then need to set up the virtual test partition (step 210) of the model to be tested earlier ; Continue to
虽然本发明的较佳实施例公开如上所述,然其并非用以限定本发明,任何熟习相关技艺者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的专利保护范围须视本说明书所附的权利要求所界定者为准。Although the preferred embodiment of the present invention is disclosed as above, it is not intended to limit the present invention. Any person skilled in the relevant art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore The scope of patent protection of the present invention shall be defined by the appended claims of this specification.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021481784A CN1269037C (en) | 2002-10-31 | 2002-10-31 | System and method for testing using a single memory |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021481784A CN1269037C (en) | 2002-10-31 | 2002-10-31 | System and method for testing using a single memory |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1493987A CN1493987A (en) | 2004-05-05 |
| CN1269037C true CN1269037C (en) | 2006-08-09 |
Family
ID=34233104
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB021481784A Expired - Fee Related CN1269037C (en) | 2002-10-31 | 2002-10-31 | System and method for testing using a single memory |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1269037C (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100426248C (en) * | 2005-06-03 | 2008-10-15 | 鸿富锦精密工业(深圳)有限公司 | Test system and method for network additive storage device |
| CN102905034B (en) * | 2011-07-29 | 2017-04-12 | 富泰华工业(深圳)有限公司 | Electronic device testing system and electronic device testing method |
| US9934871B2 (en) * | 2015-04-17 | 2018-04-03 | Western Digital Technologies, Inc. | Verification of storage media upon deployment |
| CN111813671A (en) * | 2020-07-03 | 2020-10-23 | 北京航空航天大学 | An IMA Software Simulation Test System |
-
2002
- 2002-10-31 CN CNB021481784A patent/CN1269037C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1493987A (en) | 2004-05-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7769990B1 (en) | Using a monitoring process to update system configuration settings during restore operations | |
| US8701110B2 (en) | Efficient volume manager hot swapping | |
| US9104673B2 (en) | Method for supporting multiple filesystem implementations | |
| US6247126B1 (en) | Recoverable software installation process and apparatus for a computer system | |
| US8671166B2 (en) | Methods and systems for deploying hardware files to a computer | |
| US20150242196A1 (en) | Installation of software onto a computer | |
| US20090259993A1 (en) | Sandbox Support for Metadata in Running Applications | |
| JPH0934755A (en) | System and method for arranging storage device contents | |
| CN107577510B (en) | Automatic and rapid hardware drive preassembling method and system in diskless environment | |
| US20080065703A1 (en) | Configurable views of archived data storage | |
| US8667035B2 (en) | Method of converting a filesystem while the filesystem remains in an active state | |
| US20140046902A1 (en) | Method for a cloning process to enable cloning a larger System drive to a smaller system | |
| US7831591B2 (en) | Method of searching for a file with a directory identified from a file path as a start point | |
| CN1269037C (en) | System and method for testing using a single memory | |
| US20110314471A1 (en) | Manufacturing Information Handling Systems | |
| US7281165B2 (en) | System and method for performing product tests utilizing a single storage device | |
| CN113824815B (en) | An intelligent port mapping method for WSL2 system | |
| CN1288563C (en) | Method for detecting and updating boot program of basic input and output system | |
| CN105511904B (en) | A kind of method and device automatically updating quick window | |
| CN109245920B (en) | Automatic switch configuration method and device, switch and storage medium | |
| AU3583999A (en) | A method of installing software on and/or testing a computer system | |
| CN116595050A (en) | A kind of RAID card control method and device | |
| CN1570884A (en) | Multiple OS bootloading methods | |
| CN113641376A (en) | Upgrade optimization method of intelligent terminal and intelligent terminal | |
| US20090292735A1 (en) | Decluttering a computing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060809 Termination date: 20101031 |