HK1192960B - Robotic device tester - Google Patents
Robotic device tester Download PDFInfo
- Publication number
- HK1192960B HK1192960B HK14106429.2A HK14106429A HK1192960B HK 1192960 B HK1192960 B HK 1192960B HK 14106429 A HK14106429 A HK 14106429A HK 1192960 B HK1192960 B HK 1192960B
- Authority
- HK
- Hong Kong
- Prior art keywords
- camera
- under test
- processor
- device under
- configuration file
- Prior art date
Links
Description
对相关申请的交叉引用Cross-reference to related applications
该申请要求题目为“Robotic Device Tester”的、于2008年4月18日提交的美国临时专利申请No. 61/046,355和题目为“Robotic Device Tester”的、于2008年9月26日提交的美国非临时专利申请No. 12/239,271的优先权,其每一件申请通过引用而在这里被以其整体并入。This application claims priority to U.S. Provisional Patent Application No. 61/046,355, entitled “Robotic Device Tester,” filed on April 18, 2008, and U.S. Non-Provisional Patent Application No. 12/239,271, entitled “Robotic Device Tester,” filed on September 26, 2008, each of which is incorporated herein by reference in its entirety.
背景技术Background Art
多个装置、并且特别地手持式通信装置例如移动电话经常得到制造和升级。在装置的研发和设计期间和之后和在用于在新的或者传统装置上运行的、该新的装置或者新的软件的大规模生产和配送之前,每一个这种装置均要求装置的硬件、软件和通信功能性的测试。Devices, and in particular handheld communication devices such as mobile phones, are frequently manufactured and upgraded. Each such device requires testing of the device's hardware, software, and communication functionality during and after the device's development and design, and prior to mass production and distribution of the new device or new software for operation on new or legacy devices.
传统的测试系统暴露并且访问受测试装置的内部接口从而根据已经输入的预定测试序列模拟装置的操作。然而,受测试装置的这种操作是不充分的,因为它没有准确地反映装置最终是如何使用的,即,通过按钮按压或者其它输入硬件例如滚动条、轮子或者操纵杆的致动。此外,在故障的情形中,如果故障在长的无人值守测试运行期间发生,则操作员可能难以例如为了寻找故障的目的而确定准确的故障或者它的原因。另外地,关于通信,测试是不完全的,因为在测试期间从受测试装置向其传输通信的接收装置处的通信结果是未知的,并且因为受测试装置从另一装置接收通信未被测试。Conventional test systems expose and access the internal interfaces of the device under test to simulate the device's operation according to a pre-defined test sequence that has been input. However, this operation of the device under test is inadequate because it does not accurately reflect how the device will ultimately be used, i.e., by pressing buttons or actuating other input hardware such as scroll bars, wheels, or joysticks. Furthermore, in the event of a failure, if the failure occurs during a long, unattended test run, it may be difficult for an operator to determine the exact failure or its cause, for example, for troubleshooting purposes. Furthermore, with respect to communications, testing is incomplete because the results of communications at the receiving device to which communications are transmitted during testing are unknown, and because the device under test's reception of communications from another device is not tested.
其它传统的测试系统提供用于执行按钮按压以模拟受测试装置的使用的自动机臂。照相机可以在测试序列期间捕捉受测试装置的屏幕截图或者短的视频,这可以有助于寻找故障。然而,即使这些系统也是不足的,因为在从另一装置接收通信时,它们不能允许确定在另一接收装置处的结果并且它们不能测试受测试装置的功能性。Other conventional test systems provide a robotic arm for performing button presses to simulate the use of the device under test. Cameras can capture screenshots or short videos of the device under test during the test sequence, which can aid in troubleshooting. However, even these systems are insufficient because, when receiving communications from another device, they do not allow the results at the other receiving device to be determined, and they cannot test the functionality of the device under test.
另外地,对于每一个不同的受测试装置,传统的测试系统要求单调乏味的和详细的配置和校准。当第一受测试装置被从测试系统移除以例如修理小故障并且然后在于第一受测试装置的初始测试之后为其配置了测试系统的第二受测试装置的测试之后被返回测试系统时,这种情况被进一步加剧。这种情景将要求为了第一受测试装置的第二次测试而对测试系统进行第二次配置。Furthermore, conventional test systems require tedious and detailed configuration and calibration for each different device under test. This situation is further exacerbated when a first device under test is removed from the test system, for example, to repair a minor malfunction, and then returned to the test system after testing a second device under test for which the test system was configured following the initial testing of the first device under test. This scenario would require the test system to be configured a second time for the second test of the first device under test.
发明内容Summary of the Invention
本发明的实施例提供一种克服了在上面关于传统装置测试系统描述的每一个缺陷的装置、系统和方法。本发明的实施例可以被应用于硬件和软件应力测试。一种装置测试系统可以包括用于操作受测试装置的自动机臂并且可以包括用于操作与受测试装置通信的第二非受测试装置的布置,包括向受测试装置传输消息或者发起呼叫。可以提供第一照相机以记录受测试装置的显示屏幕的快照并且可以提供第二照相机以捕捉两者均在第二照相机的观察范围中的作为整体的受测试装置和第二非受测试装置的视频。Embodiments of the present invention provide a device, system, and method that overcome each of the drawbacks described above with respect to conventional device testing systems. Embodiments of the present invention can be applied to both hardware and software stress testing. A device testing system may include a robotic arm for operating a device under test and may include an arrangement for operating a second, non-tested device that communicates with the device under test, including transmitting a message or initiating a call to the device under test. A first camera may be provided to record a snapshot of a display screen of the device under test, and a second camera may be provided to capture a video of the device under test and the second, non-tested device as a whole, both within the second camera's field of view.
以上功能性可以是第一和第二照相机的基本利用。然而,在可替代示例性实施例中,两个照相机均摄取快照,两个照相机均摄取视频,或者两个照相机均摄取快照和视频这两者。在又一个可替代示例性实施例中,第一照相机摄取视频而第二照相机摄取快照。The above functionality may be the primary utilization of the first and second cameras. However, in alternative exemplary embodiments, both cameras capture snapshots, both cameras capture video, or both cameras capture both snapshots and video. In yet another alternative exemplary embodiment, the first camera captures video and the second camera captures snapshots.
可以包括向导以便于为每一个受测试装置快速地配置测试系统。向导可以参考在前存储的一组输入测试情景以应用于各种受测试装置。向导可以进一步参考与在前受测试的装置相关联的配置文件以产生一些或者全部文件与新的受测试装置的、新的关联。与新的受测试装置相关联的新的文件可以得到进一步修改以关于新的受测试装置的特征定制所述文件。A wizard can be included to facilitate rapid configuration of the test system for each device under test. The wizard can reference a previously stored set of input test scenarios to apply to various devices under test. The wizard can further reference configuration files associated with previously tested devices to create new associations of some or all files with the new device under test. The new files associated with the new device under test can be further modified to customize them for the characteristics of the new device under test.
测试系统的配置可以包括为受测试装置的每一个或者一个或者多个按钮或者其它输入装置例如操纵杆、轨迹球、指轮、开关等记录三维坐标。坐标中的两个可以代表输入装置在受测试装置的平面上的二维位置。第三个坐标可以代表输入装置例如沿着垂直于二维平面的方向将被移动到此的位置,从而使得受测试装置注册输入装置的致动并且为此而无需例如通过太猛烈的按钮按压过度延伸输入装置或者受测试装置的平面。关于将要为此记录三维坐标的受测试装置的输入装置,在输入代表二维平面的坐标之后,在自动机臂沿着垂直于输入平面的方向的运动期间,装置测试系统可以基于从作用力传感器获得的信号自动地确定并且记录第三维的坐标。The configuration of the test system can include recording three-dimensional coordinates for each or one or more buttons or other input devices of the device under test, such as a joystick, trackball, thumbwheel, switch, etc. Two of the coordinates can represent the two-dimensional position of the input device on the plane of the device under test. The third coordinate can represent the position to which the input device is to be moved, for example, in a direction perpendicular to the two-dimensional plane, so that the device under test registers the actuation of the input device and does so without over-extending the input device or the plane of the device under test, for example, by too aggressive a button press. With respect to the input device of the device under test for which the three-dimensional coordinates are to be recorded, after inputting the coordinates representing the two-dimensional plane, the device testing system can automatically determine and record the coordinates of the third dimension based on the signals obtained from the force sensor during the movement of the robot arm in a direction perpendicular to the input plane.
该装置测试系统可以包括将在其中执行测试配置和执行随后的测试的单一主工作站。该装置测试系统还可以包括例如通过省略一些软件和/或硬件例如省略自动机臂而具有比主工作站更低的复杂度的第二工作站。根据这个实施例,可以使用第二复杂度较低的工作站执行用于测试受测试装置的装置测试系统的一些配置。这可以是有利的,因为它可以提供灵活性以例如允许一组操作员进行协作来执行配置,每一个操作员均在分离的位置处例如在操作员自身的办公桌处或者在家庭中而不是在主工作站位于此处的主要测试位置处。可能要求使用主工作站执行一些配置步骤。在配置之后,可以将受测试装置转移到主工作站以根据所述配置进行测试,可能已经在辅助位置处执行了部分配置。The device testing system may include a single main workstation in which test configuration and subsequent testing will be performed. The device testing system may also include a second workstation having a lower complexity than the main workstation, for example by omitting some software and/or hardware, such as omitting a robotic arm. According to this embodiment, some configuration of the device testing system for testing the device under test can be performed using the second, less complex workstation. This can be advantageous because it can provide flexibility, for example, to allow a group of operators to collaborate to perform configuration, each operator at a separate location, such as at the operator's own desk or at home, rather than at the main testing location where the main workstation is located. It may be required to use the main workstation to perform some configuration steps. After configuration, the device under test can be transferred to the main workstation for testing according to the configuration, and part of the configuration may have been performed at the auxiliary location.
根据本发明的示例性实施例,对于为此配置了装置测试系统的每一个受测试装置,可以存储唯一代码。该代码可以与将被用于受测试装置的测试的配置文件相关联。在任何时间,通过代码输入,可以为在前测试的装置重新配置装置测试系统。此外,为了允许快速的重新配置而不用任何用户输入,每一个代码可以被以条形码格式编码。可以利用条形码标记每一个受测试装置或者装置被附接于此以进行装置测试的固定件。在测试序列开始时,测试装置的照相机可以捕捉受测试装置和/或固定件的图像,匹配条形码与在测试系统中例如在数据库或者其它文件结构例如电话配置的目录树中存储的一个条形码,并且自动地加载与成像条形码相关联的配置。According to an exemplary embodiment of the present invention, a unique code can be stored for each tested device for which the device testing system is configured. The code can be associated with a configuration file that will be used for the test of the tested device. At any time, the device testing system can be reconfigured for a previously tested device by code input. In addition, in order to allow rapid reconfiguration without any user input, each code can be encoded in a barcode format. Each tested device or fixture to which the device is attached for device testing can be marked with a barcode. At the beginning of a test sequence, a camera of the test device can capture an image of the tested device and/or fixture, match the barcode with a barcode stored in the test system, for example, in a database or other file structure, such as a directory tree of phone configurations, and automatically load the configuration associated with the imaged barcode.
根据本发明的示例性实施例,一种装置固定件包括附接板,该附接板具有:延伸通过那里的中间孔洞;和,在中间孔洞的至少两侧的每一侧上的相应唇凸(lip),唇凸的至少一个部分在孔洞的至少两侧上沿着孔洞的至少一个部分延伸。该装置固定件进一步包括具有宽基部和在宽基部上方的窄基部的基部,该基部被以可滑动方式耦合到附接板,宽基部在该至少两个唇凸的下面延伸并且窄基部在该至少两个唇凸之间延伸。该装置固定件进一步包括从平行于两个细长孔洞和中间孔洞通过其延伸的附接板的表面的、窄基部的表面向上延伸的第一竖直板,第一竖直板具有从第一竖直板的表面并且沿着垂直于第一竖直板沿其从窄基部延伸的方向的方向延伸的至少两个孔洞。该装置固定件进一步包括第二竖直板,该第二竖直板具有:延伸通过那里并且能够经由耦合到延伸通过弯曲孔洞的至少两个紧固器的至少两个孔洞中而被以可滑动方式耦合到第一竖直板的弯曲孔洞;和具有一定形状并且从当第二竖直板被耦合到第一竖直板时,平行于第一竖直板从其延伸的窄基部的表面的、第二竖直板的表面延伸的结构。该装置固定件进一步包括安装板,该安装板具有:具有对应于第二竖直板的结构的形状的形状的第一孔洞,第二竖直板的结构能够被以可滑动方式容纳到安装板的第一孔洞中以将第二竖直板耦合到安装板;和,从当安装板被耦合到第二竖直板并且第二竖直板被耦合到第一竖直板时垂直于第一竖直板从其延伸的窄基部的表面和第一孔洞的、安装板的表面延伸的至少一个第二孔洞,安装板到第二竖直板的耦合是通过该至少一个第二孔洞将至少一个紧固器以可紧固方式插入延伸通过第一孔洞的第二竖直板的结构。According to an exemplary embodiment of the present invention, a device mount includes an attachment plate having: a central aperture extending therethrough; and corresponding lips on each of at least two sides of the central aperture, at least a portion of the lips extending along at least a portion of the aperture on at least two sides of the aperture. The device mount further includes a base having a wide base and a narrow base above the wide base, the base being slidably coupled to the attachment plate, the wide base extending below the at least two lips and the narrow base extending between the at least two lips. The device mount further includes a first vertical plate extending upward from a surface of the narrow base parallel to a surface of the attachment plate through which two elongated apertures and the central aperture extend, the first vertical plate having at least two apertures extending from the surface of the first vertical plate and in a direction perpendicular to the direction in which the first vertical plate extends from the narrow base. The device fixture further includes a second vertical plate having: a curved hole extending therethrough and capable of being slidably coupled to the first vertical plate via at least two holes coupled to at least two fasteners extending through the curved hole; and a structure having a certain shape and extending from a surface of the second vertical plate that is parallel to a surface of the narrow base from which the first vertical plate extends when the second vertical plate is coupled to the first vertical plate. The device fixture further includes a mounting plate having: a first hole having a shape corresponding to the shape of the structure of the second vertical plate, the structure of the second vertical plate being capable of being slidably received in the first hole of the mounting plate to couple the second vertical plate to the mounting plate; and at least one second hole extending from a surface of the mounting plate perpendicular to the surface of the narrow base from which the first vertical plate extends and the first hole when the mounting plate is coupled to the second vertical plate and the second vertical plate is coupled to the first vertical plate, the coupling of the mounting plate to the second vertical plate being by inserting at least one fastener in a fastenable manner into the structure of the second vertical plate extending through the first hole through the at least one second hole.
在一个示例性实施例中,该装置固定件进一步包括基础板,该基础板具有从基础板的表面延伸的多个孔洞,其中附接板具有延伸通过附接板的两个细长孔洞,每一个细长孔洞处于附接板的两个相对侧中的的相应一侧处,中间孔洞在两个细长孔洞之间延伸,并且其中经由沿着垂直于第一竖直板从其延伸的窄基部的表面的方向耦合到分别地延伸通过两个细长孔洞中的相应一个的两个相应的紧固器的多个孔洞中的两个中,附接板能够被耦合。In an exemplary embodiment, the device fixture further includes a base plate having a plurality of holes extending from a surface of the base plate, wherein the attachment plate has two elongated holes extending through the attachment plate, each elongated hole being at a respective one of two opposite sides of the attachment plate, an intermediate hole extending between the two elongated holes, and wherein the attachment plate is capable of being coupled via two of the plurality of holes coupled to two corresponding fasteners extending through a respective one of the two elongated holes in a direction perpendicular to the surface of the narrow base from which the first vertical plate extends.
在所述装置固定件的示例性实施例中,该结构的形状是细长T形。In an exemplary embodiment of the device mount, the structure is in the shape of an elongated T.
在紧接着的前一示例性实施例的再进一步的变型中,该至少一个第二孔洞包括三个孔洞。In a still further variation of the immediately preceding exemplary embodiment, the at least one second hole includes three holes.
在示例性实施例中,该装置固定件进一步在安装板的表面上包括粘结剂,该安装板的表面垂直于安装板的该至少一个第二孔洞从其延伸的表面并且当安装板被耦合到第二竖直板并且第二竖直板被耦合到第一竖直板时平行于第一竖直板从其延伸的窄基部的表面。In an exemplary embodiment, the device fixture further includes an adhesive on a surface of the mounting plate that is perpendicular to the surface of the mounting plate from which the at least one second hole extends and parallel to the surface of the narrow base of the first vertical plate from which it extends when the mounting plate is coupled to the second vertical plate and the second vertical plate is coupled to the first vertical plate.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1a和1b是示出根据本发明的示例性实施例的系统的构件的图表。1a and 1b are diagrams illustrating components of a system according to an exemplary embodiment of the present invention.
图2是示出根据本发明的示例性实施例的自动机臂和板的图表。FIG. 2 is a diagram illustrating a robot arm and a plate according to an exemplary embodiment of the present invention.
图3和4示出其中在测试期间可以紧邻地置放受测试装置和配对装置的、本发明的示例性实施例。3 and 4 illustrate exemplary embodiments of the present invention in which a device under test and a companion device may be placed in close proximity during testing.
图5示出根据本发明的示例性实施例的装置固定件基础板的构件和条形码。FIG. 5 illustrates components and a barcode of a device fixture base plate according to an exemplary embodiment of the present invention.
图6示出根据本发明的示例性实施例的自动机的构件。FIG. 6 shows components of an automatic machine according to an exemplary embodiment of the present invention.
图7示出根据本发明的示例性实施例的、被拆解的装置固定件的构件。FIG. 7 illustrates components of a disassembled device fixture, according to an exemplary embodiment of the present invention.
图8示出根据本发明的示例性实施例的、在它的组装状态中的、图7的装置固定件。FIG. 8 shows the device fixture of FIG. 7 in its assembled state according to an exemplary embodiment of the present invention.
图9示出根据本发明的示例性实施例的、可以被用于防止受测试装置扭转的支柱。FIG. 9 illustrates a brace that may be used to prevent twisting of a device under test, according to an exemplary embodiment of the present invention.
图10是示意根据本发明的示例性实施例的微型工作站的图表。FIG. 10 is a diagram illustrating a micro workstation according to an exemplary embodiment of the present invention.
图11是示出根据本发明的示例性实施例的、用于配置文件的示例性文件结构的屏幕截图。FIG. 11 is a screenshot illustrating an exemplary file structure for a configuration file according to an exemplary embodiment of the present invention.
图12是示意根据本发明的示例性实施例的、可以根据其测试装置的方法的交叉功能流程图,包括产生配置文件和执行测试。12 is a cross-functional flow diagram illustrating a method according to which a device may be tested, including generating a configuration file and performing tests, according to an exemplary embodiment of the present invention.
图13是示意根据本发明的示例性实施例的、例如,在微型工作站处产生局部配置文件的方法的流程图。FIG. 13 is a flow chart illustrating a method of generating a local configuration file, for example, at a micro workstation, according to an exemplary embodiment of the present invention.
图14是示意根据本发明的示例性实施例的、完成配置文件的方法的流程图。FIG. 14 is a flowchart illustrating a method of completing a configuration file according to an exemplary embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
图1a示出根据本发明的一个示例的装置测试系统1。装置测试系统1可以包括隔室100,隔室100可以容纳自动机102、平台104、用户终端105、灯具110和照相机布置111。自动机102可以包括臂103以操作受测试装置115。如在这里所使用地,术语受测试装置并不是必要地意味着装置当前地正在经历测试,而是实际上意味着该装置是能够为此配置系统1以执行测试的部件。然而,在特定上下文中,受测试装置115可以被描述成正在经历测试FIG1a shows a device testing system 1 according to an example of the present invention. The device testing system 1 may include a compartment 100 that may house a robot 102, a platform 104, a user terminal 105, a light fixture 110, and a camera arrangement 111. The robot 102 may include an arm 103 to manipulate a device under test 115. As used herein, the term device under test does not necessarily mean that the device is currently undergoing testing, but rather means that the device is a component for which the system 1 can be configured to perform testing. However, in certain contexts, the device under test 115 may be described as undergoing testing.
在装置测试系统1的配置和/或受测试装置115的测试期间,隔室100可以被完全地封装从而可以在配置和/或测试的各种阶段控制照明处于最佳水平。During configuration of the device testing system 1 and/or testing of the device under test 115 , the compartment 100 may be fully enclosed so that lighting may be controlled at optimal levels during various stages of configuration and/or testing.
平台104可以包括在此处附接装置固定件114的附接点,可以在装置固定件114上例如经由粘结剂牢固地安装受测试装置。平台104可以例如包括凹部,从装置固定件114的底表面延伸的钉可以被插入该凹部中以确保每次放置装置固定件114以测试已安装的受测试装置115时装置固定件114相对于自动机102被置于相同的位置中。The platform 104 may include attachment points for attaching a device fixture 114, to which a device under test may be securely mounted, for example, via an adhesive, on the device fixture 114. The platform 104 may, for example, include recesses into which pins extending from the bottom surface of the device fixture 114 may be inserted to ensure that the device fixture 114 is placed in the same position relative to the robot 102 each time the device fixture 114 is placed to test a mounted device under test 115.
在配置和/或测试期间,可以相对于装置测试系统定位受测试装置115从而包括显示屏幕的受测试装置115的平面垂直于臂103沿其朝向平台104延伸以操作受测试装置115的方向。当包括大部分用户可操作输入装置例如键盘的、受测试装置115的一部分例如被以铰接方式耦合到包括显示屏幕的部分,从而在受测试装置115的打开位置中,键盘部分相对于显示屏幕部分被以小于或者大于180°的角度布置时,可能要求臂103沿着垂直于平台104的平面的方向延伸到基本不同的位置以操作受测试装置115的不同的按钮。During configuration and/or testing, the device under test 115 may be positioned relative to the device testing system such that the plane of the device under test 115, including the display screen, is perpendicular to the direction along which the arm 103 extends toward the platform 104 to operate the device under test 115. When a portion of the device under test 115, including a majority of user-operable input devices, such as a keyboard, is, for example, hingedly coupled to a portion including the display screen, such that in an open position of the device under test 115, the keyboard portion is disposed at an angle of less than or greater than 180° relative to the display screen portion, it may be necessary for the arm 103 to extend in a direction perpendicular to the plane of the platform 104 to substantially different positions to operate different buttons of the device under test 115.
臂103可以经由更加清楚地在图2中示出的臂板140而被附接到自动机102的主体,从而臂103从自动机102的主体的竖直轴线横向地移位。在配置和/或测试期间,这种移位可以为照相机布置111的照相机提供对于受测试装置115的、更好的观察。2 , the arm 103 can be attached to the body of the robot 102 such that the arm 103 is laterally displaced from the vertical axis of the body of the robot 102. This displacement can provide the cameras of the camera arrangement 111 with a better view of the device under test 115 during configuration and/or testing.
如在图1b中所示,照相机布置111可以包括第一照相机113和第二照相机112。在本发明的示例性实施例中,第二照相机112是斜向的从而垂直地通过它的透镜延伸的轴线以非垂直角度朝向平台104延伸并且其设置可以如此使得它的视场包围整个受测试装置115。受测试装置115的显示屏幕可以从垂直地通过第二照相机112的透镜延伸的轴线朝向平台104横向地移位。此外,包括显示屏幕的、受测试装置115的部分115.a可以相对于延伸通过第二照相机112的透镜的轴线处于一定角度,这里该角度不是90°。As shown in FIG1b , camera arrangement 111 may include a first camera 113 and a second camera 112. In an exemplary embodiment of the present invention, second camera 112 is tilted such that the axis extending perpendicularly through its lens extends at a non-perpendicular angle toward platform 104, and may be positioned such that its field of view encompasses the entire device under test 115. The display screen of device under test 115 may be displaced laterally from the axis extending perpendicularly through the lens of second camera 112 toward platform 104. Furthermore, portion 115a of device under test 115 including the display screen may be at an angle relative to the axis extending through the lens of second camera 112, where the angle is not 90°.
在本发明的示例性实施例中,第一照相机113被如此布置,使得它的透镜大致平行于平台104并且因此大致平行于受测试装置115的显示屏幕的表面。此外,照相机113和装置固定件114可以如此相对于彼此定位,使得垂直地通过照相机113的透镜延伸的轴线大致垂直地通过受测试装置115的显示屏幕,例如,通过显示屏幕的中心延伸。受测试装置115的显示屏幕可以因此得到更好的聚焦并且与第二照相机112相比被第一照相机113以更高的分辨率观察,从而在第二照相机112可以记录整个受测试装置115的图像例如移动图像时,第一照相机113可以记录图像,其中显示屏幕可以被更加清楚地描绘以允许对于显示屏幕的图像利用图像识别软件包括例如光学字符识别(OCR)进行处理。在示例性实施例中,第一照相机113的变焦设置可以使得显示屏幕全部地或者近似全部地包围第一照相机113的视场。In an exemplary embodiment of the present invention, first camera 113 is positioned such that its lens is approximately parallel to platform 104 and, therefore, approximately parallel to the surface of the display screen of device under test 115. Furthermore, camera 113 and device mount 114 can be positioned relative to each other such that an axis extending perpendicularly through the lens of camera 113 passes approximately perpendicularly through the display screen of device under test 115, e.g., through the center of the display screen. The display screen of device under test 115 can thus be better focused and viewed at a higher resolution by first camera 113 than by second camera 112. Thus, while second camera 112 can record an image of the entire device under test 115, e.g., a moving image, first camera 113 can record an image in which the display screen is more clearly depicted, allowing the image of the display screen to be processed using image recognition software, including, for example, optical character recognition (OCR). In an exemplary embodiment, the zoom setting of first camera 113 can be such that the display screen fully or nearly fully encompasses the field of view of first camera 113.
装置固定件114可以被配置为允许在其上安装受测试装置115和如在图3和4的两个示例性实施例中所示、紧邻受测试装置115的配对装置116(自身可以承担受测试装置的角色并且可以在系统1的不同的测试操作期间得到测试)。照相机112可以得到布置并且照相机112的设置可以得到配置,使得受测试装置115和配对装置116可以是在照相机112的视场内的,从而由照相机112产生的记录图像可以同时地是受测试装置115和配对装置116这两者的。The device mount 114 can be configured to allow a device under test 115 and, as shown in the two exemplary embodiments of Figures 3 and 4 , a companion device 116 (which can itself assume the role of a device under test and be tested during different testing operations of the system 1) to be mounted thereon. The camera 112 can be arranged and the camera 112 settings can be configured so that the device under test 115 and the companion device 116 can be within the field of view of the camera 112, so that the recorded image produced by the camera 112 can be of both the device under test 115 and the companion device 116 simultaneously.
用户终端105可以包括处理器106、存储器107、显示器108和输入装置109。处理器106可以包括以任何传统形式实现的任何适当的传统处理电路,例如个人计算机(PC)的中央处理单元(CPU)。存储器107可以包括任何适当的传统存储器装置,例如随机存取存储器(RAM)、只读存储器(ROM)、硬盘、磁带、光盘(CD)、基于闪存的装置和/或数字多用光盘(DVD)。存储器107可以包括可由处理器106执行从而以在这里描述的各种示例性方式执行用于配置和操作系统1和用于操作配对装置116的、在这里描述的各种功能的程序指令。User terminal 105 may include a processor 106, memory 107, a display 108, and an input device 109. Processor 106 may include any suitable conventional processing circuitry implemented in any conventional form, such as a central processing unit (CPU) of a personal computer (PC). Memory 107 may include any suitable conventional memory device, such as random access memory (RAM), read-only memory (ROM), a hard disk, magnetic tape, a compact disc (CD), a flash-based device, and/or a digital versatile disc (DVD). Memory 107 may include program instructions executable by processor 106 to perform the various functions described herein for configuring and operating system 1 and for operating pairing device 116 in the various exemplary manners described herein.
在本发明的示例性实施例中,处理电路可以包括自动机控制器PC和测试执行PC(TEPC),这里该两个PC均被连接到站中的以太网交换机,并且它们经由局部网络通信。TEPC向自动机控制器PC发送按钮按下和其它命令,自动机控制器PC具有在其上运行以侦听并且在命令下行动的软件。显示和输入装置对于利用KVM开关连接的TEPC和自动机控制器PC是通用的。In an exemplary embodiment of the present invention, the processing circuitry may include a robot controller PC and a test execution PC (TEPC), where both PCs are connected to an Ethernet switch in the station and communicate via a local network. The TEPC sends button presses and other commands to the robot controller PC, which has software running on it to listen and act on the commands. The display and input devices are common to the TEPC and robot controller PC, which are connected using a KVM switch.
受测试装置115和配对装置116可以每一个均是一种通信装置,例如移动电话。处理器106可以例如经由配对装置116的通信/控制接口例如串行接口而被连接到配对装置116。在示例性实施例中,配对装置被连接到TEPC。在受测试装置115的测试期间,执行存储器107中的配对装置指令120,例如,驻留于TEPC处理器访问的存储器107的一部分中的指令120的一部分的处理器106例如TEPC可以经由配对装置116的串行接口向配对装置116输入命令。该命令可以模拟使得配对装置116向受测试装置115传输通信的、配对装置116的输入硬件的操作。The device under test 115 and the pairing device 116 can each be a communication device, such as a mobile phone. The processor 106 can be connected to the pairing device 116, for example, via a communication/control interface of the pairing device 116, such as a serial interface. In an exemplary embodiment, the pairing device is connected to a TEPC. During testing of the device under test 115, the processor 106, such as the TEPC, executing pairing device instructions 120 in the memory 107, for example, a portion of the instructions 120 residing in a portion of the memory 107 accessible by the TEPC processor, can input commands to the pairing device 116 via the serial interface of the pairing device 116. The commands can simulate the operation of the input hardware of the pairing device 116, causing the pairing device 116 to transmit communications to the device under test 115.
在本发明的示例性实施例中,处理器106例如TEPC还可以截取被用于在配对装置116的显示屏幕中产生显示的、配对装置116的数据。这里,在受测试装置115的测试期间,受测试装置115被操作以向配对装置116传输通信,处理器106例如TEPC可以分析从配对装置116截取的数据以通过比较所截取的数据与在存储器107例如TEPC存储器中存储的预期数据而确定是否获得了关于预期的、来自受测试装置115的通信的适当结果。如果结果不是所预期的,则处理器106可以确定已经发生错误。类似地,当在受测试装置115的测试的一部分期间,受测试装置115将不与配对装置116实现通信时,处理器106例如TEPC可以确定已经发生其中从配对装置116截取了非预期数据的错误。In an exemplary embodiment of the present invention, processor 106 (e.g., TEPC) may also intercept data from pairing device 116 that is used to generate a display on a display screen of pairing device 116. Here, during testing of device under test 115, device under test 115 is operated to transmit communications to pairing device 116. Processor 106 (e.g., TEPC) may analyze the data intercepted from pairing device 116 to determine whether the expected results regarding communications from device under test 115 were achieved by comparing the intercepted data with expected data stored in memory 107 (e.g., TEPC memory). If the results were not as expected, processor 106 may determine that an error has occurred. Similarly, if, during a portion of the testing of device under test 115, device under test 115 will not communicate with pairing device 116, processor 106 (e.g., TEPC) may determine that an error has occurred in which unexpected data was intercepted from pairing device 116.
在本发明的示例性实施例中,处理器106例如TEPC可以被耦合到照相机112和113。处理器106例如TEPC可以接收由照相机113的传感器感测的图像,该传感器捕捉通过照相机113的透镜的光线。处理器106例如TEPC可以执行图像处理软件121以比较从照相机113接收的图像与例如在TEPC的存储器中存储的显示屏幕图像集合122的图像,以确定从照相机113接收的图像是否匹配例如在TEPC的存储器中存储的集合122的图像。对于例如在TEPC的存储器中存储的集合122的每一个图像,集合122可以识别图像与之相关联的、受测试装置115的具体的、相应操作(一个或者多个)。对于每一个如此得到识别的一个或者多个操作,在由自动机102执行所识别的操作(一个或者多个)时,处理器106例如TEPC可以比较即刻地在执行操作(一个或者多个)之后由照相机112捕捉的图像和与所执行的操作(一个或者多个)相关联的图像。In an exemplary embodiment of the present invention, a processor 106, such as a TEPC, may be coupled to cameras 112 and 113. Processor 106, such as a TEPC, may receive an image sensed by a sensor of camera 113, which captures light passing through the lens of camera 113. Processor 106, such as a TEPC, may execute image processing software 121 to compare the image received from camera 113 with an image in a collection of display screen images 122, such as stored in the TEPC's memory, to determine whether the image received from camera 113 matches an image in collection 122, such as stored in the TEPC's memory. For each image in collection 122, such as stored in the TEPC's memory, collection 122 may identify the specific, corresponding operation(s) of device under test 115 with which the image is associated. For each such identified operation(s), when the identified operation(s) are performed by robot 102, processor 106, such as a TEPC, may compare the image captured by camera 112 immediately after the operation(s) are performed with the image associated with the performed operation(s).
在照相机113向用户终端105提供图像时,照相机112也可以向用户终端105提供图像。由照相机112提供的图像可以是移动图像即电影。可以在例如TEPC的存储器107的缓冲器中存储移动图像。响应于处理器106例如TEPC确定已经发生错误,处理器106例如TEPC可以将缓冲器中的多个图像转移到永久存储器位置,能够例如在显示器108上作为电影播放该永久存储器位置的图像。在本发明的示例性实施例中,被转移的图像是包含在发生错误之前不久开始并且在发生错误之后不久结束的时期的那些。While camera 113 is providing images to user terminal 105, camera 112 may also be providing images to user terminal 105. The images provided by camera 112 may be moving images, i.e., movies. The moving images may be stored in a buffer, such as in memory 107 of a TEPC. In response to processor 106, such as a TEPC, determining that an error has occurred, processor 106, such as a TEPC, may transfer the plurality of images in the buffer to a permanent memory location where the images can be played as a movie, such as on display 108. In an exemplary embodiment of the present invention, the transferred images are those covering a period that begins shortly before the error occurs and ends shortly after the error occurs.
在本发明的示例性实施例中,缓冲器可以被配置成先进先出(FIFO)存储器并且保存仅仅少量的图像。一旦存满,对于每一个新接收的图像,在FIFO的所有的其它图像之前接收的FIFO的图像可以被删除并且可以将新接收的图像写入FIFO中。在示例性实施例中,在探测到错误时,所有的FIFO的图像或者以视频的形式获取的图像可以被转移到永久储存器。可替代地,被转移到永久储存器的临时存储器的图像的数目可以是基于用于配置处理器106例如TEPC的预定数目的或者预定时间间隔的。注意,例如,如果照相机112的帧捕捉速率改变,则代表时间间隔的已记录图像帧的数目可以改变。可替代地,所有图像可以被抓取并且被保存到在本地盘上的文件。在探测到错误时,可以在分离的存储器位置处存储多个图像以察看错误。在又一个可替代实施例中,所有的图像被存储到如果无任何错误发生则被删除并且如果探测到错误则被永久地存储的临时文件。通过如关于这些实施例描述地在错误探测时调整图像永久储存,可以降低所需要的储存器容量,因为例如从开始到结束的每一次播放的完整长度的视频未被存储。In an exemplary embodiment of the present invention, the buffer may be configured as a first-in, first-out (FIFO) memory and store only a small number of images. Once full, for each newly received image, all images in the FIFO received before any other images in the FIFO are deleted, and the newly received image is written to the FIFO. In an exemplary embodiment, upon detection of an error, all images in the FIFO, or images captured in video form, may be transferred to permanent storage. Alternatively, the number of images transferred to the temporary storage may be based on a predetermined number or predetermined time interval used to configure the processor 106, such as the TEPC. Note that, for example, if the frame capture rate of the camera 112 changes, the number of recorded image frames representing the time interval may change. Alternatively, all images may be captured and saved to a file on a local disk. Upon detection of an error, multiple images may be stored in separate memory locations to facilitate error monitoring. In yet another alternative embodiment, all images are stored in a temporary file that is deleted if no errors occur and permanently stored if an error is detected. By adjusting the permanent storage of images upon error detection as described with respect to these embodiments, the required memory capacity can be reduced because, for example, the full length of each play from start to finish is not stored.
在本发明的示例性实施例中,例如在TEPC上的存储器107可以包括配置文件数据库123,配置文件数据库123包括用于为此配置系统1的每一个受测试装置115的相应配置文件或者文件夹。在本发明的示例性实施例中,其中一些测试装置115是非常类似的,从而关于将在装置测试期间执行的操作和在测试期间由自动机102操控的输入硬件的位置,系统1的配置是相同的,那些类似的受测试装置115可以共享相同的一个配置文件或者文件夹。在可替代示例性实施例中,与特征的类似性无关,无任何两个测试装置例如电话共享相同的配置文件,而是实际上每一个均具有唯一的配置文件/文件夹结构。对于每一个不同的配置文件或者文件夹,可以由处理器106产生唯一代码。可替代地,在自动机站外侧的独立PC可以产生和/或打印代码。代码可以是例如能够以条形码编码的。在本发明的示例性实施例中,代码例如条形码可以被置于受测试装置115上或者装置固定件114上。例如,图5示出条形码500,条形码500相对于垂直地通过照相机112的透镜延伸的轴线靠近受测试装置115地被置于装置固定件114上,从而当装置固定件114在测试位置中被安装在平台104上时,条形码500在照相机112的视场中。In an exemplary embodiment of the present invention, memory 107, for example, on a TEPC, may include a configuration file database 123 containing a corresponding configuration file or folder for each device under test 115 configured for that device. In an exemplary embodiment of the present invention, some of the test devices 115 are very similar, such that the configuration of the system 1 is identical with respect to the operations to be performed during device testing and the location of the input hardware manipulated by the robot 102 during testing. These similar test devices 115 may share the same configuration file or folder. In an alternative exemplary embodiment, regardless of feature similarity, no two test devices, such as phones, share the same configuration file; rather, each has a unique configuration file/folder structure. A unique code may be generated by the processor 106 for each different configuration file or folder. Alternatively, a separate PC outside the robot station may generate and/or print the code. The code may be, for example, encoded as a barcode. In an exemplary embodiment of the present invention, the code, such as a barcode, may be placed on the device under test 115 or on the device fixture 114. For example, FIG5 shows a barcode 500 positioned on device fixture 114 proximate to device under test 115 relative to an axis extending perpendicularly through the lens of camera 112 such that barcode 500 is in the field of view of camera 112 when device fixture 114 is mounted on platform 104 in a testing position.
在初始化系统1以执行测试时,处理器106例如TEPC可以操作照相机112以获得图像。执行例如在TEPC上存储的图像处理软件121的处理器106例如TEPC可以探测在所获得图像中的条形码500,处理条形码500以确定它的底层代码,比较底层代码与在存储器107中存储的一组代码,选择与代码相关联的配置文件或者文件夹,并且开始根据在配置文件或者文件夹中包括的配置参数操作自动机102以执行在配置文件或者文件夹中概述的测试序列。When initializing the system 1 to perform a test, the processor 106, e.g., a TEPC, can operate the camera 112 to obtain an image. The processor 106, e.g., a TEPC, executing image processing software 121 stored, e.g., on the TEPC, can detect the barcode 500 in the obtained image, process the barcode 500 to determine its underlying code, compare the underlying code to a set of codes stored in the memory 107, select a configuration file or folder associated with the code, and begin operating the robot 102 according to the configuration parameters included in the configuration file or folder to perform the test sequence outlined in the configuration file or folder.
如果没有探测到条形码,则处理器106例如TEPC根据不同的示例性实施例可以使得显示器108输出错误消息,输出请求用户经由输入装置109以人工方式输入代码的消息,或者输出请求用户开始用于产生新的配置文件或者文件夹的过程的消息。在本发明的示例性实施例中,处理器106例如TEPC可以引起错误消息显示,该错误消息示意没有包括任何条形码(或者所包括的条形码未得到识别),并且请求示意可以被用于所安装的受测试装置115的配置文件是否存在的输入。如果用户示意配置文件存在,则可以提示用户输入代码。如果用户示意配置尚不存在,则可以提示用户开始用于产生配置文件或者文件夹的过程。If no barcode is detected, processor 106, such as a TEPC, may cause display 108 to output an error message, a message requesting the user to manually enter a code via input device 109, or a message requesting the user to initiate a process for generating a new configuration file or folder, depending on various exemplary embodiments. In an exemplary embodiment of the present invention, processor 106, such as a TEPC, may cause an error message to be displayed indicating that no barcode is included (or that the included barcode is unrecognized) and requesting input indicating whether a configuration file that can be used for the installed device under test 115 exists. If the user indicates that a configuration file exists, the user may be prompted to enter a code. If the user indicates that a configuration file does not yet exist, the user may be prompted to initiate a process for generating a configuration file or folder.
在可替代示例性实施例中,仅当:(a)没有发现任何条形码;或者(b)发现了条形码并且关于该电话无任何配置数据存在时才提示用户产生配置文件或者文件夹。对于是否存在配置文件没有提示用户,因为这是使用程序确定的。In an alternative exemplary embodiment, the user is prompted to create a configuration file or folder only if: (a) no barcode is found; or (b) a barcode is found and no configuration data exists for the phone. The user is not prompted as to whether a configuration file exists because this is determined programmatically.
在本发明的示例性实施例中,灯具110可以包括例如发光二极管(LED),例如2个LED。在本发明的示例性实施例(未示出)中,存在两个独立可控灯具,在照相机的每一侧上一个,每一个灯具包括大致6个LED。灯具110可以被配置为产生多个水平的光线。处理器106例如TEPC可以被直接地或者间接地耦合到灯具110并且可以被配置为根据例如在TEPC上的光线控制程序124,控制灯具110以改变由灯具产生的光线水平。In an exemplary embodiment of the present invention, light fixture 110 may include, for example, light-emitting diodes (LEDs), for example, two LEDs. In an exemplary embodiment of the present invention (not shown), there are two independently controllable light fixtures, one on each side of the camera, each light fixture including approximately six LEDs. Light fixture 110 may be configured to generate multiple levels of light. Processor 106, such as a TEPC, may be directly or indirectly coupled to light fixture 110 and may be configured to control light fixture 110 to vary the light level generated by the light fixture according to, for example, a light control program 124 on the TEPC.
特别地,灯具110可以被配置为产生处于两个不同光线水平的光线。在引发系统1执行受测试装置115的测试时,执行光线控制程序124的处理器106例如TEPC可以操作灯具110以发射处于第一水平的光线并且可以在灯具110发射处于第一水平的光线时操作照相机112以记录图像。处理器106例如TEPC可以处理从在灯具发射处于第一水平的光线时操作的照相机112获得的图像以识别条形码500(如果包括任何条形码的话)。Specifically, luminaire 110 can be configured to generate light at two different light levels. When initiating system 1 to perform a test on device under test 115, processor 106, e.g., a TEPC, executing light control program 124 can operate luminaire 110 to emit light at a first level and can operate camera 112 to record an image when luminaire 110 emits light at the first level. Processor 106, e.g., a TEPC, can process the image obtained from camera 112 operating when the luminaire emits light at the first level to identify barcode 500 (if any barcode is included).
在获得图像和/或辨识条形码500或者以其他方式确定将被用于获得必要的配置文件或者文件夹的代码之后,处理器106例如TEPC可以关闭灯具110从而它并不发射任何光线。在灯具110被关闭时,例如执行数据库123的选定配置文件的指令的处理器106例如TEPC可以进一步操作自动机102以操作受测试装置115从而受测试装置115的显示屏幕被打开。处理器106例如TEPC可以进一步被配置为执行例如在TEPC上的存储器107中的指令,以基于在由显示屏幕产生的光线和未被照亮的周围区域之间的对比探测受测试装置115的显示屏幕相对于照相机113的精确位置和周边,所述对比是通过分析在灯具110被关闭并且启用显示屏幕以产生光线时从照相机113获得的图像而得以确定的。虽然受测试装置115可以被牢固地安装到装置固定件114并且虽然每次固定件114在用于测试的位置中被置于平台104上时装置固定件114相对于平台104的位置可以是基本相同的,但是可以利用处理器106例如TEPC执行显示屏幕发现过程,因为显示屏幕相对于照相机布置111的轻微移位仍然可以发生,这可以引起在受测试装置115的测试期间被用于图像处理的关注区域(ROI)的错误计算。例如,可能由于在不同副本的测试系统上的、照相机对准的轻微差异引起这种移位。After obtaining an image and/or recognizing barcode 500 or otherwise determining the code to be used to obtain the necessary configuration file or folder, processor 106, such as a TEPC, can turn off light fixture 110 so that it does not emit any light. While light fixture 110 is off, processor 106, such as a TEPC, can further operate robot 102, such as by executing instructions for a selected configuration file from database 123, to operate device under test 115 so that the display screen of device under test 115 is turned on. Processor 106, such as a TEPC, can be further configured to execute instructions, such as in memory 107 on the TEPC, to detect the precise location and perimeter of the display screen of device under test 115 relative to camera 113 based on a comparison between the light generated by the display screen and the unilluminated surrounding area, the comparison being determined by analyzing an image obtained from camera 113 while light fixture 110 is off and the display screen is enabled to generate light. Although the device under test 115 may be securely mounted to the device fixture 114 and although the position of the device fixture 114 relative to the platform 104 may be substantially the same each time the fixture 114 is placed on the platform 104 in a position for testing, the display screen discovery process may be performed using the processor 106, such as the TEPC, because slight shifts of the display screen relative to the camera arrangement 111 may still occur, which may cause incorrect calculations of the region of interest (ROI) used for image processing during testing of the device under test 115. For example, such shifts may be caused by slight differences in camera alignment on different copies of the test system.
在相对于照相机113确定显示屏幕位置之后,处理器106例如TEPC可以控制灯具110发射处于不同于被用于读出固定件条形码的第一水平的第二水平的光线。可以为受测试装置115的测试过程的其余部分维持第二光线水平。特别地第二光线水平可以低于第一光线水平,从而与如果灯具110将发射处于第一光线水平的光线相比,显示屏幕发射的光线相对于由灯具110发射的光线更加显著。After determining the position of the display screen relative to the camera 113, the processor 106, such as the TEPC, can control the light fixture 110 to emit light at a second level that is different from the first level used to read the fixture barcode. The second light level can be maintained for the remainder of the testing process of the device under test 115. In particular, the second light level can be lower than the first light level so that the light emitted by the display screen is more prominent relative to the light emitted by the light fixture 110 than if the light fixture 110 were to emit light at the first light level.
在本发明的示例性实施例中,隔室100可以被完全地封装。在一侧或者多侧处,隔室100、隔室的封装可以经由可打开的门或者门帘,从而用户可以达到隔室100的内部。隔室100的封装可以允许精确地控制在隔室内的光线水平而不受来自隔室100外侧的环境光线影响。In an exemplary embodiment of the present invention, the compartment 100 can be completely enclosed. At one or more sides, the compartment 100, the enclosure of the compartment can be via an openable door or door curtain, so that the user can reach the interior of the compartment 100. The enclosure of the compartment 100 can allow precise control of the light level in the compartment without being affected by ambient light from outside the compartment 100.
在本发明的示例性实施例中,处理器106例如TEPC可以执行在例如TEPC上的存储器107中存储的受测试装置按钮定位训练向导125。例如,用户可以经由输入装置109输入命令以使得处理器106例如TEPC加载并且执行向导125。向导125的指令可以引起处理器106关于各种数据或者关于以人工方式操作自动机臂103例如经由显示器108提示用户。响应于用户输入和臂操作,处理器106可以产生数据库123的新的配置文件或者文件夹和/或其新的子文件或者文件夹。在本发明的示例性实施例中,响应于用户输入和臂操作,无任何新的文件或者文件夹产生,但是,实际上,现有配置文件得以修改以包括经过训练的按钮定位。In an exemplary embodiment of the present invention, the processor 106, e.g., the TEPC, can execute a device under test button location training wizard 125 stored in, e.g., the memory 107 on the TEPC. For example, a user can input a command via the input device 109 to cause the processor 106, e.g., the TEPC, to load and execute the wizard 125. The instructions of the wizard 125 can cause the processor 106 to prompt the user, e.g., via the display 108, regarding various data or regarding manually operating the robotic arm 103. In response to the user input and the arm operation, the processor 106 can generate a new configuration file or folder of the database 123 and/or new sub-files or folders thereof. In an exemplary embodiment of the present invention, no new files or folders are generated in response to the user input and the arm operation, but, in effect, the existing configuration file is modified to include the trained button location.
在向导125的执行期间,处理器106例如TEPC可以提示用户输入由新的受测试装置115支持的基本软件特征。例如,所述提示可以形式为一系列的“是和否(yes and no)”问题或者复选框,每一个均询问新的受测试装置115是否包括相应的基本特征。处理器106可以对此进行问询的示例性特征的非穷尽列表包括各种任务例如处理呼叫、发消息和/或发电子邮件的支持和在受测试装置115中包括的输入硬件的类型例如照相机和/或受测试装置115的、相应输入硬件位于其上的表面。处理器106然后可以确定数据库123是否包括用于具有类似于用于新的受测试装置115的那些输入的特征的另一装置的配置文件或者文件夹。例如,如果为新的受测试装置115输入的大部分特征匹配在为另一装置配置系统1时提供的特征输入,则处理器106可以确定该两个装置是类似的。此外,如果处理器106确定多于一个的其它装置类似于新的受测试装置115,则处理器106可以选择如根据输入确定的、最类似于新的受测试装置115的装置。During execution of wizard 125, processor 106, such as a TEPC, may prompt the user to enter basic software features supported by the new device under test 115. For example, the prompt may take the form of a series of yes and no questions or checkboxes, each asking whether the new device under test 115 includes the corresponding basic features. A non-exhaustive list of exemplary features that processor 106 may inquire about includes support for various tasks, such as handling calls, sending messages, and/or sending emails, and the type of input hardware included in the device under test 115, such as a camera and/or a surface on the device under test 115 on which the corresponding input hardware is located. Processor 106 may then determine whether database 123 includes a configuration file or folder for another device having input features similar to those for the new device under test 115. For example, if a majority of the features entered for the new device under test 115 match the features entered when configuring system 1 for the other device, processor 106 may determine that the two devices are similar. Furthermore, if the processor 106 determines that more than one other device is similar to the new device under test 115 , the processor 106 may select the device that is most similar to the new device under test 115 , as determined based on the input.
在可替代的示例性实施例中,程序并不确定两个装置是否是类似的。相反,用户作出这个确定并且选择具有类似特征的电话,如果存在的话,作为用于修改的基线。In an alternative exemplary embodiment, the program does not determine whether two devices are similar. Instead, the user makes this determination and selects a phone with similar features, if any, as a baseline for modification.
在本发明的示例性实施例中,处理器106例如TEPC可以起初要求用户识别已经为此在前地配置了系统1并且用户认为最类似于新的受测试装置115的装置。如果用户识别这种装置并且处理器106在与所被识别装置相关联的数据库123中发现配置文件或者文件夹,则处理器106可以省去请求用户输入新的受测试装置115的基本特征的步骤。在可替代的示例性实施例中,无任何步骤省略。所有的配置步骤均得以执行,但是在能够仅仅执行基线文件的修改而不是从头产生配置文件特征的情况下需要更少的工作。In an exemplary embodiment of the present invention, processor 106, such as a TEPC, may initially ask the user to identify a device for which system 1 has been previously configured and which the user considers most similar to the new device under test 115. If the user identifies such a device and processor 106 finds a configuration file or folder in database 123 associated with the identified device, processor 106 may omit the step of requesting the user to enter the basic characteristics of the new device under test 115. In an alternative exemplary embodiment, no steps are omitted. All configuration steps are performed, but less effort is required if only a modification of the baseline file can be performed rather than generating the configuration file characteristics from scratch.
如果处理器106确定与数据库123的配置文件或者文件夹相关联的装置类似于新的受测试装置115或者如果用户识别这种类似的装置,则处理器106可以从数据库123或者其它装置或者电话配置目录获得相关联配置文件或者文件夹并且产生所获得的文件或者文件夹的副本作为将在数据库123或者其它装置或者电话配置目录中存储并且将与新的受测试装置115相关联的、新的配置文件或者文件夹。文件夹可以根据进行测试的装置的品牌和型号命名。例如,文件夹可以由制造商命名,该文件夹可以包括子文件夹,每一个子文件夹与相应的受测试装置相关联并且由受测试装置的相应的品牌命名。品牌文件夹可以包括用于将被使用的按钮序列和用于显示屏幕图像的子文件夹。文件可以对应于不同的序列和不同的显示屏幕图像。在图11中示出一种示例文件结构。If processor 106 determines that the device associated with the configuration file or folder in database 123 is similar to the new device under test 115, or if the user recognizes such a similar device, processor 106 can obtain the associated configuration file or folder from database 123 or other device or phone configuration directory and create a copy of the obtained file or folder as a new configuration file or folder to be stored in database 123 or other device or phone configuration directory and associated with the new device under test 115. The folder can be named according to the brand and model of the device under test. For example, the folder can be named by the manufacturer and can include subfolders, each of which is associated with a corresponding device under test and named by the corresponding brand of the device under test. The brand folder can include subfolders for the button sequence to be used and for the display screen image. The files can correspond to different sequences and different display screen images. An example file structure is shown in Figure 11.
向导可以自动地占据识别受测试装置115的支持特征的配置文件,包括支持行为和包括的硬件例如按钮的总体安置和包括照相机。这个文件可以被用于确定执行哪些测试情形来测试受测试装置115的特征。The wizard can automatically populate a configuration file that identifies the supported features of the device under test 115, including the overall placement of supported behaviors and included hardware such as buttons and an included camera. This file can be used to determine which test cases to execute to test the features of the device under test 115.
然而,因为配置文件或者文件夹起初是为不同的装置产生的,所以并非全部的设置准确地反映新的受测试装置115。因此,向导可以逐步经历用户可以与之交互以关于它的、在测试期间的可操作性输入关于新的受测试装置115的信息的、一系列的显示屏幕。显示屏幕可以起初地被反映为此产生配置文件或者文件夹的不同的装置的信息占据。只要用户注意到在已显示的数据和将准确地反映新的受测试装置115的数据之间的差异,用户便可以输入必要的改变。例如,在特定事件下或者在特定事件之后,用户可以更新将被用于受测试装置115以实现特定任务的按钮序列和/或可以更新在受测试装置115的显示屏幕上显示的显示屏幕图像。However, because the configuration file or folder was initially created for a different device, not all of the settings will accurately reflect the new device under test 115. Therefore, the wizard can step through a series of display screens that the user can interact with to enter information about the new device under test 115 regarding its operability during testing. The display screens can initially be populated with information reflecting the different device for which the configuration file or folder was created. As soon as the user notices a discrepancy between the displayed data and the data that will accurately reflect the new device under test 115, the user can enter the necessary changes. For example, at or after a specific event, the user can update the button sequence that will be used to perform a specific task on the device under test 115 and/or can update the display screen image displayed on the display screen of the device under test 115.
此外,如果新的受测试装置115包括为以前的配置文件没有为此提供等价特征的装置添加的特征,则用于所添加的特征的新的子文件或者子元素可以被添加到配置文件。类似地,处理器106例如TEPC可以移除相应于新的受测试装置115没有为此提供等价特征的特征的子文件或者子元素。Furthermore, if the new device under test 115 includes an added feature for which the previous configuration file does not provide an equivalent feature, a new sub-file or sub-element for the added feature may be added to the configuration file. Similarly, the processor 106, such as the TEPC, may remove the sub-file or sub-element corresponding to the feature for which the new device under test 115 does not provide an equivalent feature.
如果用户没有识别类似的装置并且处理器106例如TEPC确定数据库123的存储的配置文件或者文件夹(如果存在的话)不与类似于新的受测试装置的装置相关联,则可以从头产生新的配置文件或者文件夹,这要求用户输入全部的必要信息。在可替代的示例性实施例中,总是强制用户选择现有电话/装置,从而向导基于选定装置的文件自动地产生用于新的装置的配置文件。例如,为了在以后产生用于将被测试的装置的文件,当对向导编程时可以存储初始配置文件。If the user does not identify a similar device and the processor 106, such as the TEPC, determines that a stored configuration file or folder (if any) in the database 123 is not associated with a device similar to the new device under test, a new configuration file or folder can be generated from scratch, requiring the user to enter all necessary information. In an alternative exemplary embodiment, the user is always forced to select an existing phone/device, so that the wizard automatically generates a configuration file for the new device based on the selected device's files. For example, the initial configuration file can be stored when the wizard is programmed in order to later generate files for the device to be tested.
在关于受测试装置115的支持特征定制配置文件之后,向导可以逐步经历已经为此在前地配置向导的多个测试情形。在逐步经历所述测试情形期间,关于每一种情形,在它得以安装从而装置115的显示屏幕在照相机113的视场中时,向导可以提示用户操作新的受测试装置115,从而新的受测试装置115的显示屏幕显示从相应的测试情形产生的屏幕。一旦所产生的屏幕得以显示,用户便可以输入屏幕得以显示的指示。处理器106例如TEPC可以在配置文件中并且与相应的测试情形相关联地记录当用户输入所请求的屏幕得以显示的指示时由照相机113记录的、从照相机113获得的图像。处理器106可以比较在受测试装置115的测试期间从照相机113获得的图像和与受测试装置115相关联的配置文件的图像。After customizing the configuration file for the supported features of device under test 115, the wizard can step through a number of test scenarios for which the wizard has been previously configured. While stepping through the test scenarios, for each scenario, the wizard can prompt the user to operate the new device under test 115, once it is installed so that the display screen of device 115 is within the field of view of camera 113, so that the display screen of the new device under test 115 displays the screen generated from the corresponding test scenario. Once the generated screen is displayed, the user can input an instruction to display the screen. Processor 106, such as a TEPC, can record, in the configuration file and in association with the corresponding test scenario, the image captured by camera 113 when the user inputs the instruction to display the requested screen. Processor 106 can compare the image captured by camera 113 during the testing of device under test 115 with the image in the configuration file associated with device under test 115.
在本发明的示例性实施例中,如上所述处理器106例如TEPC可以起初地利用由用户或者处理器106识别为类似于新的受测试装置115(如果存在的话)的装置的那些占据配置文件。用户可以关于每一个测试情形示意是否将要提供不同的显示。在本发明的可替代示例性实施例中,可以总是要求用于每一个新的受测试装置115的新的显示屏幕以保证处理器106例如TEPC考虑了显示屏幕中的、轻微的空间变化。In an exemplary embodiment of the present invention, as described above, processor 106, such as a TEPC, may initially utilize occupancy profiles for devices identified by the user or processor 106 as similar to the new device under test 115 (if any). The user may indicate for each test scenario whether a different display should be provided. In an alternative exemplary embodiment of the present invention, a new display screen may always be requested for each new device under test 115 to ensure that processor 106, such as a TEPC, accounts for slight spatial variations in the display screens.
在本发明的示例性实施例中,自动机102可以包括如在图6中所示的作用力传感器600。作用力传感器600可以感测由臂103沿着垂直于平台104的方向和沿着平行于平台104的方向施加的作用力。注意臂103可以通过按下在平行于平台104的受测试装置115的面上的按钮而操作受测试装置115的输入硬件并且可以通过按下在垂直于平台104的受测试装置115的面上的按钮而操作受测试装置115的输入硬件。在前一情景中,当按钮被按下时,探测到的、沿着垂直方向的作用力将增加,而在后一情景中,当按钮被按下时,探测到的、沿着平行方向的作用力将增加。臂103的不同的部分可以被用于根据沿其按下按钮的方向而按下按钮。例如,臂端部601可以被用于沿着垂直方向按下按钮,并且例如由环形成的侧元件602可以被用于沿着平行方向按下按钮。In an exemplary embodiment of the present invention, robot 102 may include a force sensor 600, as shown in FIG6 . Force sensor 600 can sense forces applied by arm 103 in directions perpendicular to platform 104 and in directions parallel to platform 104. Note that arm 103 can operate the input hardware of device under test 115 by pressing buttons on a face of device under test 115 parallel to platform 104, and can also operate the input hardware of device under test 115 by pressing buttons on a face of device under test 115 perpendicular to platform 104. In the former scenario, the force detected in the perpendicular direction increases when the button is pressed, while in the latter scenario, the force detected in the parallel direction increases when the button is pressed. Different portions of arm 103 can be used to press a button depending on the direction in which the button is pressed. For example, arm end 601 can be used to press a button in the perpendicular direction, while side member 602, formed, for example, by a loop, can be used to press a button in the parallel direction.
在本发明的示例性实施例中,在产生用于受测试装置115的配置文件期间,处理器106例如TEPC可以记录在受测试装置115的测试期间将由系统1操作的每一个输入硬件的坐标。基于示意在新的受测试装置115中包括的输入硬件的、在配置文件中包括的信息,该信息是如以上详细描述地提供的,向导125可以对于每一个硬件输入装置例如按钮引起处理器106例如TEPC提示用户以人工方式将自动机臂103移动到匹配按钮的位置但是在与按钮位于其中的平面不同的平面上的位置。例如,关于在平行于平台104的受测试装置115的面上的按钮,用户将移动臂103从而臂端部601与按钮对准但是处于平行于但是不同于按钮位于其中的、受测试装置125的面的平面中。关于在垂直于平台104的、受测试装置115的面上的按钮,用户将移动臂103从而侧元件602与按钮对准但是处于平行于但是不同于按钮位于其中的、受测试装置125的面的平面中。In an exemplary embodiment of the present invention, during the generation of a configuration file for the device under test 115, the processor 106, e.g., the TEPC, may record the coordinates of each input hardware to be operated by the system 1 during the testing of the device under test 115. Based on the information included in the configuration file indicating the input hardware included in the new device under test 115, as described in detail above, the wizard 125 may cause the processor 106, e.g., the TEPC, to prompt the user, for each hardware input device, e.g., a button, to manually move the robot arm 103 to a position that matches the position of the button but is in a different plane than the plane in which the button is located. For example, with respect to a button on a face of the device under test 115 that is parallel to the platform 104, the user would move the arm 103 so that the arm end 601 is aligned with the button but is in a plane that is parallel to, but different from, the face of the device under test 125 in which the button is located. Regarding buttons on the face of device under test 115 that is perpendicular to platform 104, the user will move arm 103 so that side element 602 is aligned with the button but in a plane parallel to, but different from, the face of device under test 125 in which the button is located.
关于在平行于平台104的受测试装置115的面上的按钮,一旦用户输入自动机臂103已经被移动到请求位置的指示,处理器106例如TEPC便可以在配置文件中记录臂端部601的x和y坐标,这里x坐标是沿着沿平台104的平面沿水平方向延伸的轴线的位置并且y坐标是沿着沿平台104的平面沿竖直方向延伸的轴线的位置。处理器106,TEPC,还可以操作臂103使其沿着垂直方向延伸以按下按钮。一旦可以向处理器106例如自动机控制器PC提供它的读数的作用力传感器600探测到已经达到预定的作用力,处理器106例如TEPC便可以在与按钮相关联的配置文件中记录臂103的、当前的z坐标,这里z坐标是沿着垂直于平台104延伸的平面的位置。对于大多数按钮,将被用作预定作用力的作用力已经被确定为大致500克。然而,可以为不同的按钮使用不同的预定作用力。Regarding buttons on the face of the device under test 115 parallel to platform 104, once the user inputs an indication that the robot arm 103 has been moved to the requested position, the processor 106, such as the TEPC, can record the x and y coordinates of the arm end 601 in a configuration file, where the x coordinate is the position along an axis extending horizontally along the plane of platform 104, and the y coordinate is the position along an axis extending vertically along the plane of platform 104. The processor 106, such as the TEPC, can also operate the arm 103 to extend vertically to press the button. Once the force sensor 600, which can provide its readings to the processor 106, such as the robot controller PC, detects that a predetermined force has been reached, the processor 106, such as the TEPC, can record the current z coordinate of the arm 103, where the z coordinate is the position along a plane extending perpendicular to platform 104, in a configuration file associated with the button. For most buttons, the force to be used as the predetermined force has been determined to be approximately 500 grams. However, different predetermined forces can be used for different buttons.
在可替代的示例性实施例中,一旦用户输入自动机臂103已经被移动到请求位置的指示,处理器106例如TEPC便初始地在配置文件中记录x和y坐标以及初始的z坐标。在作用力校准之后,z坐标被更新。In an alternative exemplary embodiment, once the user inputs an indication that the robotic arm 103 has been moved to the requested position, the processor 106, such as a TEPC, initially records the x and y coordinates and the initial z coordinate in a configuration file. After force calibration, the z coordinate is updated.
关于在受测试装置115的、垂直于平台104的一侧上的按钮,一旦用户输入自动机臂103已经被移动到请求位置的指示,处理器106例如TEPC便可以在配置文件中记录臂端部601的z和y坐标(并且,在示例性实施例中,初始x坐标)。处理器106例如TEPC还可以操作臂103以使其沿着平行方向之一延伸(根据按钮位于受测试装置115的哪一侧上)以按下按钮。一旦作用力传感器600探测到已经达到预定作用力,处理器106便可以在与按钮相关联的配置文件中记录臂103的、当前的例如经修改的x坐标。在受测试装置115的随后的测试期间,处理器106例如TEPC根据相关联的配置文件,可以引起自动机臂103移动到所记录的x、y、z坐标以按下受测试装置115的、相应按钮。Regarding buttons on a side of the device under test 115 perpendicular to the platform 104, once the user inputs an indication that the robotic arm 103 has been moved to the requested position, the processor 106, such as the TEPC, can record the z and y coordinates of the arm end 601 (and, in the exemplary embodiment, the initial x coordinate) in a configuration file. The processor 106, such as the TEPC, can also operate the arm 103 to extend in one of the parallel directions (depending on which side of the device under test 115 the button is located) to press the button. Once the force sensor 600 detects that a predetermined force has been reached, the processor 106 can record the current, e.g., modified, x coordinate of the arm 103 in a configuration file associated with the button. During subsequent testing of the device under test 115, the processor 106, such as the TEPC, can cause the robotic arm 103 to move to the recorded x, y, and z coordinates to press the corresponding button on the device under test 115, according to the associated configuration file.
在为新的受测试装置115配置系统1期间,例如在产生或者修改用于受测试装置115的配置文件期间,处理器106例如TEPC可以以类似于在上面关于它的、在受测试装置115的测试期间的操作描述的方式操作灯具110。例如,在为新的受测试装置115配置系统1之前,可以将条形码置于装置固定件114上。当配置得以开始时,处理器106可以操作灯具110发射处于第一水平的光线从而处理器106探测条形码500。一旦被探测到,处理器106例如TEPC便可以关闭灯具110并且提示用户启动新的受测试装置115的显示屏幕。一旦处理器106接收到显示屏幕活动的指示,处理器106便可以通过对比显示屏幕的光线与未被照亮的周围区域而确定显示屏幕相对于照相机113的精确位置。在记录显示屏幕位置之后,处理器106例如TEPC可以操作灯具110发射处于第二水平的光线。在灯具110发射处于第二照明水平的光线时,处理器106可以记录如以上详细描述的模板显示屏幕。During configuration of system 1 for a new device under test 115, e.g., during the generation or modification of a configuration file for device under test 115, processor 106, e.g., TEPC, can operate luminaire 110 in a manner similar to that described above with respect to its operation during testing of device under test 115. For example, before configuring system 1 for a new device under test 115, a barcode can be placed on device fixture 114. When configuration begins, processor 106 can operate luminaire 110 to emit light at a first level so that processor 106 detects barcode 500. Once detected, processor 106, e.g., TEPC, can turn luminaire 110 off and prompt the user to activate the display screen of the new device under test 115. Once processor 106 receives an indication of display screen activity, processor 106 can determine the precise position of the display screen relative to camera 113 by comparing the display screen's light to the surrounding, unilluminated area. After recording the display screen's position, processor 106, e.g., TEPC, can operate luminaire 110 to emit light at a second level. While the luminaire 110 emits light at the second illumination level, the processor 106 may record the template display screen as described in detail above.
注意用于新的受测试装置115的系统1的配置可以被中断,被保存于未结束的配置文件中,并且在以后的时间继续。每一次配置得以继续时,处理器106例如TEPC可以再次执行一个或者多个照明控制步骤。例如,每一次处理器106例如TEPC可以操作灯具110发射处于第一照明水平的光线从而读出条形码并且确定为了进行修改打开哪一个配置文件。如果并非全部的显示屏幕模板已经得以执行,则可以执行其它光线控制步骤。在本发明的示例性实施例中,可以省略其中用户以人工方式输入代码的第一光线控制步骤,从而不需要读出条形码。在示例性实施例中,系统总是尝试读出条形码并且当读出是不成功的时,提示用户配置新的装置例如电话。Note that the configuration of the system 1 for a new device under test 115 can be interrupted, saved in an unfinished configuration file, and continued at a later time. Each time the configuration is continued, the processor 106, such as the TEPC, can execute one or more lighting control steps again. For example, each time the processor 106, such as the TEPC, can operate the lamp 110 to emit light at a first lighting level to read a bar code and determine which configuration file to open for modification. If not all display screen templates have been executed, other light control steps can be executed. In an exemplary embodiment of the present invention, the first light control step in which the user manually enters a code can be omitted, so that the bar code does not need to be read. In an exemplary embodiment, the system always attempts to read the bar code and when the reading is unsuccessful, the user is prompted to configure a new device, such as a phone.
在本发明的示例性实施例中,系统1可以包括例如如在图10中所示的微型工作站1100,以执行用于新的受测试装置115的、系统1的、相当部分的配置。例如,除了输入硬件坐标的记录,微型工作站1100可以被用于执行全部配置。可以在微型工作站1100中省略在其中执行输入硬件坐标测试和配置的主工作站的很多构件。例如,可以在微型工作站1100中省略自动机102、配对装置指令120、被用于输入输入硬件坐标的配置向导125的部分,和大多数的图像处理软件(如果没有例如被用于识别条形码500的图像处理软件)中的一个或者多个或者全部。在示例性实施例中,可以在微型工作站1100中包括主工作站的大量软件,因为为了在微型工作站1100处获取模板图像,可能需要大部分的所述软件。与新的受测试装置115相关联的配置文件部分,例如除了用于输入硬件坐标的输入的任何部分,可以在微型工作站1100处产生和修改。微型工作站可以包括在上面关于主工作站描述的灯具110和照相机布置111,可以如在上面关于主工作站描述地操作其每一个。虽然在图10中未示出,但是微型工作站可以包括或者能够被连接到包括处理器、输入装置和输出装置的用户终端,以由用户控制处理器操作装置并且产生和/或修改配置文件。此外,虽然在图10中未示出,但是可以在其中放置受测试装置115以配置系统1的微型工作站1100的隔室1102可以包括壁、门和/或门帘从而封装隔室1102以增加对于在隔室1102内的照明条件的控制。In an exemplary embodiment of the present invention, system 1 may include a micro-station 1100, such as shown in FIG. 10 , to perform a substantial portion of the configuration of system 1 for a new device under test 115. For example, micro-station 1100 may be used to perform all configuration except for the recording of input hardware coordinates. Many components of the main workstation, where the input hardware coordinate testing and configuration are performed, may be omitted from micro-station 1100. For example, one or more, or all, of the following components may be omitted: automaton 102, device pairing instructions 120, the portion of configuration wizard 125 used for inputting hardware coordinates, and most image processing software (if image processing software for recognizing barcodes 500 is not included). In an exemplary embodiment, much of the main workstation's software may be included in micro-station 1100, as most of this software may be required to acquire a template image at micro-station 1100. Portions of the configuration file associated with the new device under test 115, such as any portion other than the portion for inputting hardware coordinates, may be generated and modified at micro-station 1100. The micro workstation can include the light fixtures 110 and camera arrangement 111 described above with respect to the main workstation, each of which can be operated as described above with respect to the main workstation. Although not shown in FIG10 , the micro workstation can include or be connected to a user terminal including a processor, input devices, and output devices so that the user can control the processor to operate the devices and generate and/or modify configuration files. In addition, although not shown in FIG10 , the compartment 1102 of the micro workstation 1100 in which the device under test 115 can be placed to configure the system 1 can include walls, doors, and/or curtains to enclose the compartment 1102 to increase control over the lighting conditions within the compartment 1102.
微型工作站1100提供允许很多用户通过例如同时地和/或在很多位置处执行不同的配置部分而协作的灵活性。The micro workstation 1100 provides flexibility in allowing many users to collaborate by, for example, performing different portions of a configuration simultaneously and/or at many locations.
在任何时间,可以停止配置并且随后在微型工作站1100处或者在主工作站处继续。在装置固定件114上安装的受测试装置115可以被转移到主工作站以在受测试装置115上运行实际测试或者以将配置文件修改成包括规定输入硬件坐标的数据。用户具有为全部配置和测试仅仅使用主工作站的选项。At any time, configuration can be stopped and subsequently continued at the micro workstation 1100 or at the main workstation. The device under test 115 mounted on the device fixture 114 can be transferred to the main workstation to run actual tests on the device under test 115 or to modify the configuration file to include data specifying input hardware coordinates. The user has the option of using only the main workstation for all configuration and testing.
在本发明的示例性实施例中,可以为不同的受测试装置115使用不同的测试序列。与受测试装置115相关联的配置文件可以识别当测试受测试装置115时将被应用于相应的受测试装置115的测试序列。处理器106例如TEPC和自动机控制器PC的组合可以根据相关联配置文件的测试序列而在测试期间操作自动机102。处理器106还可以根据在配置文件中包括的测试序列与配对装置116对接从而控制配对装置116与受测试装置115通信。In an exemplary embodiment of the present invention, different test sequences can be used for different devices under test 115. A configuration file associated with a device under test 115 can identify the test sequence to be applied to the corresponding device under test 115 when testing the device under test 115. The processor 106, such as a combination of a TEPC and an automaton controller PC, can operate the automaton 102 during testing according to the test sequence of the associated configuration file. The processor 106 can also interface with the companion device 116 according to the test sequence included in the configuration file to control the companion device 116 to communicate with the device under test 115.
在可替代的示例性实施例中,测试序列并不位于配置文件中或者电话配置目录中,而是相反被设计成被一般地应用于所有的装置。在测试序列中参考了在电话配置目录中的配置、参考图像和常规按钮序列文件以通过从一般测试序列隔离装置的操作独特性而实现这点。因为配对装置116是恒定装置,所以决定它的控制的文件被存储于电话配置目录外侧。In an alternative exemplary embodiment, the test sequence is not located in a configuration file or the phone configuration directory, but is instead designed to be generally applied to all devices. The test sequence references the configuration, reference images, and general button sequence files in the phone configuration directory to achieve this by isolating the device's unique operational characteristics from the general test sequence. Because paired device 116 is a constant device, the files that determine its control are stored outside the phone configuration directory.
图12示意根据本发明的示例性实施例的、可以根据其测试装置的过程,包括产生配置文件和执行测试。在步骤1200,微型工作站的处理器可以自动地在第一水平下将灯打开。在步骤1202,可以在灯处于第一水平时使用微型工作站的照相机探测条形码。在1204,处理器可以自动地将灯关闭。在灯被关闭时,在1206,处理器可以探测受测试装置的显示屏幕相对于照相机的位置。在1208,处理器可以自动地在第二水平下将灯打开。在1210,处理器可以产生将与探测到的条形码相关联的配置文件的一部分。在图13中示意了产生配置文件的示例性细节。FIG12 illustrates a process according to an exemplary embodiment of the present invention, according to which a device can be tested, including generating a configuration file and performing a test. At step 1200, the processor of the micro workstation can automatically turn on the lights at a first level. At step 1202, a barcode can be detected using the camera of the micro workstation when the lights are at the first level. At 1204, the processor can automatically turn off the lights. When the lights are turned off, at 1206, the processor can detect the position of the display screen of the device under test relative to the camera. At 1208, the processor can automatically turn on the lights at a second level. At 1210, the processor can generate a portion of a configuration file to be associated with the detected barcode. Exemplary details of generating a configuration file are illustrated in FIG13.
在1212,可以在主工作站处重复步骤1200-1208。根据在主工作站处的条形码探测(1202),可以选择与条形码相关联的配置文件。在1214,可以完成配置文件。图14示意完成配置文件的示例性细节。At 1212, steps 1200-1208 may be repeated at the master workstation. Based on the barcode detection at the master workstation (1202), a profile associated with the barcode may be selected. At 1214, the profile may be completed. FIG14 illustrates exemplary details of completing the profile.
在1216,可以根据配置文件并且根据存储的测试序列操作受测试装置和配对装置。例如,可以使用自动机臂操作受测试装置,而可以经由到配对装置的接口操作配对装置。如果例如通过将主工作站断电或者使用主工作站来配置或者测试另一装置而从完成配置文件的产生分离用于测试的装置的操作,则可以在1216前面、例如即刻地在1216前面重复步骤1200-1208。At 1216, the tested device and the partner device can be operated according to the configuration file and according to the stored test sequence. For example, the tested device can be operated using a robotic arm, while the partner device can be operated via an interface to the partner device. If the operation of the device for testing is separated from the generation of the configuration file, for example by powering off the master workstation or using the master workstation to configure or test another device, steps 1200-1208 can be repeated before 1216, for example, immediately before 1216.
在1217,可以使用一个照相机捕捉受测试装置和配对装置的视频图像。在1218,可以使用另一照相机获得受测试装置的静止图像并且可以经由到配对装置的接口获得在配对装置的显示器上的静止图像和/或文本。在1220,处理器可以比较所捕捉的静止图像与所存储的图像。在1222,可以基于所述比较确定是否已经发生错误。如果已经发生错误,则处理器可以在1226在永久储存器中存储所捕捉的静止图像和/或视频图像。如果没有发生错误或者在1226之后,如果测试序列尚未完成(1224的N分支),则该过程可以从1216继续。否则,该过程可以结束。At 1217, one camera may be used to capture a video image of the device under test and the paired device. At 1218, another camera may be used to obtain a still image of the device under test, and the still image and/or text on the paired device's display may be obtained via an interface to the paired device. At 1220, the processor may compare the captured still image with the stored image. At 1222, based on the comparison, a determination may be made as to whether an error has occurred. If an error has occurred, the processor may store the captured still image and/or video image in persistent storage at 1226. If no error has occurred, or after 1226, if the test sequence has not yet completed (N branch of 1224), the process may continue from 1216. Otherwise, the process may terminate.
图13示出根据本发明的示例性实施例的步骤1210的一些细节。在1300,处理器可以输出对于输入装置特征的提示。在1302,处理器可以比较响应于所述提示输入的特征与在与那些其它装置相关联的其它配置文件中包括的其它装置的那些特征。如果基于所述比较确定装置是类似的,则处理器可以在1304获得与类似的装置相关联的配置文件并且作为与受测试装置相关联的新的配置文件拷贝所述文件。如果没有发现类似的装置,则处理器可以在1303产生新的配置文件。随后,处理器可以在1306响应于用户输入并且根据示意将在测试期间执行的任务的任务文件更新与受测试装置相关联的配置文件,如以上详细描述地。在示例性实施例中,1306可以包括重复执行1300以逐步经历用于进一步定制的每一个装置特征。Figure 13 shows some details of step 1210 according to an exemplary embodiment of the present invention. At 1300, the processor may output a prompt for inputting device features. At 1302, the processor may compare the features input in response to the prompt with those features of other devices included in other configuration files associated with those other devices. If it is determined based on the comparison that the devices are similar, the processor may obtain the configuration files associated with the similar devices at 1304 and copy the files as new configuration files associated with the tested device. If no similar devices are found, the processor may generate a new configuration file at 1303. Subsequently, the processor may update the configuration file associated with the tested device at 1306 in response to user input and according to the task file indicating the tasks to be performed during the test, as described in detail above. In an exemplary embodiment, 1306 may include repeatedly executing 1300 to gradually go through each device feature for further customization.
在可替代的示例性实施例中,该过程在1302开始,此时用户以人工方式比较将被测试的装置的特征与其它装置的特征。在1304,用户选择比较装置并且处理器获得并且拷贝该装置的配置文件。该过程然后从1304前进到1300,此时处理器可以提示输入装置特征以修改拷贝的配置文件从而在1306为新的装置定制所述配置文件。这个可替代实施例还可以省去所述决定和步骤1303,因为当使用设置向导时该系统可以总是要求选择已经存储的配置文件。因此,根据这个可替代实施例,方法序列是1302到1304到1300到1306。In an alternative exemplary embodiment, the process begins at 1302, when a user manually compares the characteristics of the device to be tested with those of other devices. At 1304, the user selects a device for comparison, and the processor obtains and copies a configuration file for that device. The process then proceeds from 1304 to 1300, where the processor may prompt for device characteristics to modify the copied configuration file, thereby customizing the configuration file for the new device at 1306. This alternative embodiment may also omit the decision and step 1303, as the system may always require the selection of a stored configuration file when using the setup wizard. Thus, according to this alternative embodiment, the method sequence is 1302 to 1304 to 1300 to 1306.
图14示出根据本发明的示例性实施例的步骤1214的一些细节。在1400,处理器可以输出提示,所述提示指示移动自动机臂从而它位于平行于按钮位于其中的平面的平面的二维坐标处,这里该二维坐标对应于按钮在它的平面中的二维坐标。一旦处于该位置,处理器便可以在1402引起自动机臂朝向按钮延伸。在1404,作用力传感器可以感测在自动机臂的尖端处的作用力并且向处理器例如自动机控制器PC提供读数。在1406,处理器例如自动机控制器PC可以比较感测的作用力与预定的作用力数值。如果尚未达到该作用力数值,则该过程可以再次从1402继续。否则,处理器可以在1408记录用于按钮的自动机臂的三维坐标。可以为全部的按钮重复该过程。一旦已经为全部的按钮记录了坐标,该过程便可以结束。FIG14 illustrates some details of step 1214 according to an exemplary embodiment of the present invention. At 1400, the processor may output a prompt instructing the robot arm to move so that it is positioned at a two-dimensional coordinate in a plane parallel to the plane in which the button is positioned, where the two-dimensional coordinate corresponds to the two-dimensional coordinate of the button in its plane. Once in this position, the processor may cause the robot arm to extend toward the button at 1402. At 1404, a force sensor may sense the force at the tip of the robot arm and provide a reading to a processor, such as a robot controller PC. At 1406, the processor, such as the robot controller PC, may compare the sensed force to a predetermined force value. If the force value has not been reached, the process may continue from 1402. Otherwise, the processor may record the three-dimensional coordinates of the robot arm for the button at 1408. This process may be repeated for all buttons. Once the coordinates have been recorded for all buttons, the process may end.
在本发明的示例性实施例中,图14的步骤被划分成两个分离的环路。在第一环路中,为全部的按钮执行步骤1400。在1400,一旦臂处于指令位置处,处理器便记录按钮的二维坐标。在可替代的示例性实施例中,处理器可以初始地记录按钮的初始三维坐标,然后在步骤1408修改该三维坐标。在随后的环路中,为全部的按钮执行步骤1402-1408。In an exemplary embodiment of the present invention, the steps of FIG. 14 are divided into two separate loops. In the first loop, step 1400 is performed for all buttons. At 1400, once the arm is in the commanded position, the processor records the two-dimensional coordinates of the button. In an alternative exemplary embodiment, the processor may initially record the initial three-dimensional coordinates of the button and then modify the three-dimensional coordinates at step 1408. In a subsequent loop, steps 1402-1408 are performed for all buttons.
本发明的一个示例性实施例涉及一种处理器,可以使用任何传统处理电路实现该处理器以执行例如在硬件实现计算机可读介质上提供的代码,以单独或者组合地执行上述任何处理特征之一,包括对其它硬件构件的控制。One exemplary embodiment of the present invention is directed to a processor that may be implemented using any conventional processing circuitry to execute code provided, for example, on a hardware-implemented computer-readable medium to perform any of the processing features described above, alone or in combination, including control of other hardware components.
本发明的一个示例性实施例涉及一种在其上存储指令的硬件实现计算机可读介质,该指令可由处理器执行以单独或者组合地执行上述任何处理特征之一,包括对其它硬件构件的控制。One exemplary embodiment of the present invention is directed to a hardware-implemented computer-readable medium having stored thereon instructions executable by a processor to perform any one of the processing features described above, alone or in combination, including control of other hardware components.
本发明的一个示例性实施例涉及一种包括传输指令的步骤的方法,该指令可由处理器执行以单独或者组合地执行上述任何处理特征之一,包括对其它硬件构件的控制。One exemplary embodiment of the present invention relates to a method comprising the step of transmitting instructions executable by a processor to perform any one of the processing features described above, alone or in combination, including control of other hardware components.
在本发明的示例性实施例中,可以提供装置固定件114从而它具有小的占地面积从而允许紧邻地安置受测试装置115和配对装置116。还可以以允许相对于自动机102和/或照相机布置111快速、容易和方便地调节受测试装置115的位置的方式构造装置固定件114。特别地,如上所指出地,有利的是如此布置受测试装置115,使得受测试装置115的显示屏幕基本平行于平台104并且在良好的照相机113视野和焦点中。此外,装置固定件114可以是这样的,即,它可以容纳具有不同结构的、很多不同类型的测试装置115,而不要求困难的定制。图7示出除了所示意的构件可以被附接于此的基础板之外的、示例性装置固定件114的构件,装置固定件114可以提供全部的、所描述的这些优点。图8在它的组装状态中示出除了基础板之外的示例性装置固定件114。In an exemplary embodiment of the present invention, device fixture 114 can be provided so that it has a small footprint, thereby allowing the tested device 115 and the companion device 116 to be placed in close proximity. Device fixture 114 can also be constructed in a manner that allows the position of tested device 115 relative to robot 102 and/or camera arrangement 111 to be quickly, easily, and conveniently adjusted. In particular, as noted above, it is advantageous to position tested device 115 so that its display screen is substantially parallel to platform 104 and within good view and focus of camera 113. Furthermore, device fixture 114 can be configured so that it can accommodate many different types of test devices 115 having different configurations without requiring complex customization. FIG. 7 illustrates the components of an exemplary device fixture 114, in addition to the illustrated base plate to which the components can be attached, which can provide all of the advantages described. FIG. 8 illustrates exemplary device fixture 114 in its assembled state, in addition to the base plate.
装置固定件114可以包括附接板700、可以包括宽基部703和窄基部704的基部702、第一竖直板705、第二竖直板706和安装板750。图7和8的装置固定件可以被固定到图5所示的基础板900。Device fixture 114 may include attachment plate 700, base 702 which may include wide base 703 and narrow base 704, first vertical plate 705, second vertical plate 706, and mounting plate 750. The device fixture of Figures 7 and 8 may be secured to base plate 900 shown in Figure 5 .
附接板700可以具有延伸通过两侧中的每一侧的、相应细长孔洞701。螺钉720可以通过细长孔洞701延伸到基础板900的螺纹孔洞902中以被螺接于此从而将在图7和8中示意的构件紧固到基础板900。因为螺钉720通过细长孔洞701的长度的垂直延伸,附接板700可以相对于基础板900移位等于细长孔洞701的长度减去螺钉720的厚度的距离,至少直至螺钉基本上被紧固于孔洞902中。The attachment plate 700 can have a corresponding elongated hole 701 extending through each of its two sides. Screws 720 can extend through the elongated holes 701 into threaded holes 902 of the base plate 900 to be screwed therein, thereby securing the components illustrated in Figures 7 and 8 to the base plate 900. Because the screws 720 extend perpendicularly through the length of the elongated holes 701, the attachment plate 700 can be displaced relative to the base plate 900 by a distance equal to the length of the elongated holes 701 minus the thickness of the screws 720, at least until the screws are substantially secured in the holes 902.
附接板700还可以包括在细长孔洞701之间在相当部分的附接板700中形成的窗口710。在将延伸通过细长孔洞701的螺钉720耦合到孔洞902之后,基部702可以沿着垂直于附接板700可以沿其相对于基础板900移位的方向的方向在窗口710内滑动,至少直至在孔洞902中基本上紧固了螺钉720。通过使得宽基部703与附接板700的唇凸715接触,可以防止经由窗口710从附接板700抽出基部702。宽基部703的厚度708可以大于唇凸715距宽基部703可以在其中滑动的附接板700的底部的高度709。相应地,一旦螺钉720在孔洞902中被充分地紧固,由于在宽基部703的厚度708和高度709之间的不一致,附接板700在宽基部703上的压缩作用力便可以防止基部702相对于附接板700滑动。可替代地,厚度708和高度709可以是相等的,并且紧固螺钉可以产生防止基部702相对于附接板700滑动的摩擦作用力。The attachment plate 700 may also include a window 710 formed in a substantial portion of the attachment plate 700 between the elongated holes 701. After coupling a screw 720 extending through the elongated hole 701 to the hole 902, the base 702 may slide within the window 710 in a direction perpendicular to the direction in which the attachment plate 700 may be displaced relative to the base plate 900, at least until the screw 720 is substantially tightened in the hole 902. By contacting the wide base 703 with the lip 715 of the attachment plate 700, the base 702 may be prevented from being withdrawn from the attachment plate 700 through the window 710. The thickness 708 of the wide base 703 may be greater than the height 709 of the lip 715 from the bottom of the attachment plate 700 in which the wide base 703 may slide. Accordingly, once the screw 720 is sufficiently tightened in the hole 902, the compressive force of the attachment plate 700 on the wide base 703 can prevent the base 702 from sliding relative to the attachment plate 700 due to the disparity between the thickness 708 and the height 709 of the wide base 703. Alternatively, the thickness 708 and the height 709 can be equal, and tightening the screw can generate a frictional force that prevents the base 702 from sliding relative to the attachment plate 700.
第一竖直板705可以包括多个孔洞730,例如两个孔洞730,所述孔洞可以沿着垂直于基部702沿其相对于附接板700滑动的方向的方向延伸通过第一竖直板705。第二竖直板706可以包括通过那里的弯曲孔洞707。螺钉可以延伸通过弯曲孔洞707并且进入孔洞730中从而被螺接于此,从而将第二竖直板706耦合到第一竖直板705。在基本上紧固延伸到孔洞730中的螺钉之前,第二竖直板可以是能够相对于第一竖直板705扭转的以改变第二竖直板706的T形结构740的表面相对于附接板700和基础板900的角度。由于增加的摩擦,紧固延伸到孔洞730中的螺钉可以防止第二竖直板706相对于第一竖直板705进一步移位以改变T形结构740相对于附接板700和基础板900的角度。The first vertical plate 705 may include a plurality of holes 730, for example two holes 730, extending through the first vertical plate 705 in a direction perpendicular to the direction in which the base 702 slides relative to the attachment plate 700. The second vertical plate 706 may include a curved hole 707 therethrough. Screws may extend through the curved hole 707 and into the hole 730 to be screwed therein, thereby coupling the second vertical plate 706 to the first vertical plate 705. Before substantially tightening the screws extending into the hole 730, the second vertical plate may be twistable relative to the first vertical plate 705 to change the angle of the surface of the T-shaped structure 740 of the second vertical plate 706 relative to the attachment plate 700 and the base plate 900. Tightening the screws extending into the hole 730 may prevent the second vertical plate 706 from further displacement relative to the first vertical plate 705 to change the angle of the T-shaped structure 740 relative to the attachment plate 700 and the base plate 900 due to increased friction.
安装板750可以在安装板750的下侧上包括可以延伸通过安装板750的长度的T形孔洞752。可以以形式配合方式形成T形结构740和T形孔洞752,从而通过T形结构740延伸通过T形孔洞752,安装板750可以滑动到第二竖直板706上。将会理解,可以为竖直板706和安装板750的孔洞的形式配合结构使用其它形状,所述形状将允许类似的、安装板750到竖直板706的耦合。安装板750可以进一步包括可以沿着垂直于T形孔洞752的方向延伸到T形孔洞752的孔洞755。在安装板750如上所述地滑动到竖直板706上之后,可以插入定位螺丝直至它们朝着T形结构740形成相当的压缩应力以防止安装板750相对于竖直板706进一步移位,并且由此防止安装板750从第二竖直板706脱离。The mounting plate 750 can include a T-shaped aperture 752 on the underside of the mounting plate 750 that can extend the length of the mounting plate 750. The T-shaped structure 740 and the T-shaped aperture 752 can be formed in a form-fitting manner so that the mounting plate 750 can be slid onto the second vertical plate 706 with the T-shaped structure 740 extending through the T-shaped aperture 752. It will be understood that other shapes can be used for the form-fitting structure of the aperture of the vertical plate 706 and the mounting plate 750 that will allow for similar coupling of the mounting plate 750 to the vertical plate 706. The mounting plate 750 can further include an aperture 755 that can extend in a direction perpendicular to the T-shaped aperture 752 to the T-shaped aperture 752. After the mounting plate 750 is slid onto the vertical plate 706 as described above, the positioning screws can be inserted until they form a considerable compressive stress toward the T-shaped structure 740 to prevent the mounting plate 750 from further shifting relative to the vertical plate 706, and thereby prevent the mounting plate 750 from detaching from the second vertical plate 706.
受测试装置115可以例如经由双面胶带而被附接到安装板750。安装板750可以然后如上所述地被附接到竖直板706。整个固定件114可以在相对于此的预定位置中被置于工作站例如主工作站中,例如,可以通过将从装置固定件114的下侧向下延伸的支腿耦合到平台104的接收孔洞中而保证所述预定位置,可替代地,装置固定件114可以包括多个孔,例如四个孔,例如每一个角部中一个,所述的孔被在相应的多个例如四个在工作站的平台上安装的、带有o形环的定制支柱上压配合。一旦得以放置,用户便可以确定是否需要作出任何调节。调节可以包括附接板700相对于基础板900的移位、基部702在窗口710内的移位和/或第二竖直板706相对于第一竖直板705的移位。特别地可以调节第二竖直板706相对于平台104的角度以保证受测试装置115的显示屏幕基本平行于照相机113。The device under test 115 can be attached to the mounting plate 750, for example, via double-sided tape. The mounting plate 750 can then be attached to the vertical plate 706 as described above. The entire fixture 114 can be placed in a predetermined position relative thereto in a workstation, such as a main workstation. This predetermined position can be achieved, for example, by coupling legs extending downwardly from the underside of the device fixture 114 into receiving holes in the platform 104. Alternatively, the device fixture 114 can include multiple holes, such as four holes, for example, one in each corner, which are press-fitted onto corresponding multiple, such as four, custom-made posts with O-rings mounted on the platform of the workstation. Once positioned, the user can determine whether any adjustments are necessary. Adjustments can include displacement of the attachment plate 700 relative to the base plate 900, displacement of the base 702 within the window 710, and/or displacement of the second vertical plate 706 relative to the first vertical plate 705. In particular, the angle of the second vertical plate 706 relative to the platform 104 can be adjusted to ensure that the display screen of the device under test 115 is substantially parallel to the camera 113 .
受测试装置115可以在受测试装置115的、包括显示屏幕的一个部分上在受测试装置115的侧面上包括按钮,从而按钮的按压方向平行于显示屏幕表面的平面延伸。当自动机102按下这种侧按钮时,可以产生扭转作用力。为了防止受测试装置115在这种作用力下扭转,,例如如在图9中所示意的支柱1000可以在一定位置中被拧入基础板900的孔洞902中从而支柱1000在受测试装置115的、与侧按钮位于其上的一侧相对的一侧处接触受测试装置115。如果侧按钮位于受测试装置115的两侧上,则支柱1000可以被置于两侧上。如果不包括任何侧按钮,则可以省略支柱。Device under test 115 may include a button on a side of device under test 115 on a portion of device under test 115 that includes the display screen, such that the direction of button depressing extends parallel to the plane of the display screen surface. When robot 102 presses such a side button, a twisting force may be generated. To prevent device under test 115 from twisting under such a force, a support 1000, such as illustrated in FIG. 9 , may be screwed into hole 902 of base plate 900 in a position such that support 1000 contacts device under test 115 on the side opposite to the side on which the side button is located. If side buttons are located on both sides of device under test 115, support 1000 may be placed on both sides. If no side buttons are included, the support may be omitted.
本领域技术人员能够根据前面的说明意识到可以以各种形式实现本发明,并且可以单独或者组合地实现各种实施例。因此,虽然已经结合其具体示例描述了本发明的实施例,但是本发明的实施例和/或方法的真正范围不应该受到如此限制,因为在研究附图、说明书和以下权利要求时,对于技术人员而言,其它修改将变得清楚。Those skilled in the art will appreciate from the foregoing description that the present invention can be implemented in a variety of forms, and that various embodiments can be implemented individually or in combination. Therefore, although the embodiments of the present invention have been described in conjunction with specific examples thereof, the true scope of the embodiments and/or methods of the present invention should not be so limited, as other modifications will become apparent to the skilled person upon studying the drawings, the specification, and the following claims.
Claims (15)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US61/046,355 | 2008-04-18 | ||
| US12/239,271 | 2008-09-26 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1192960A HK1192960A (en) | 2014-09-05 |
| HK1192960B true HK1192960B (en) | 2020-04-29 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102067151B (en) | Automaton Device Tester | |
| US10432328B2 (en) | Smart box for automatic feature testing of smart phones and other devices | |
| US8774793B2 (en) | Systems and methods of providing intelligent handset testing | |
| US11262397B2 (en) | Systems and methods for simultaneously testing a plurality of remote control units | |
| HK1192960B (en) | Robotic device tester | |
| HK1192960A (en) | Robotic device tester | |
| HK1158345B (en) | Robotic device tester | |
| JP6668519B1 (en) | Remote control function setting program, remote control server, remote control function setting method, mobile terminal |