Movatterモバイル変換


[0]ホーム

URL:


CN108121624A - Electronic device test system and method thereof - Google Patents

Electronic device test system and method thereof
Download PDF

Info

Publication number
CN108121624A
CN108121624ACN201611074738.8ACN201611074738ACN108121624ACN 108121624 ACN108121624 ACN 108121624ACN 201611074738 ACN201611074738 ACN 201611074738ACN 108121624 ACN108121624 ACN 108121624A
Authority
CN
China
Prior art keywords
electronic device
sequence number
memory
memory sequence
device test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611074738.8A
Other languages
Chinese (zh)
Inventor
张倍铭
许世杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Primax Electronics Ltd
Original Assignee
Primax Electronics Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Primax Electronics LtdfiledCriticalPrimax Electronics Ltd
Priority to CN201611074738.8ApriorityCriticalpatent/CN108121624A/en
Publication of CN108121624ApublicationCriticalpatent/CN108121624A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The present disclosure provides a system and a method for testing an electronic device, which are used to detect a memory serial number of the electronic device, the system for testing the electronic device includes: the system computer of the maijin tower is used for executing a sequence number detection program to detect the memory sequence number of the electronic device; and a window system computer for executing a sequence number comparison program to compare whether the memory sequence number of the electronic device conforms to the encoding rule; wherein, the Mainjin tower system computer transmits the memory serial number to the window system computer for printing through the RS232 interface.

Description

Translated fromChinese
电子装置测试系统及其方法Electronic device testing system and method thereof

技术领域technical field

本公开涉及一种电脑及其周边设备测试的应用领域,特别涉及一种电脑及其周边设备的生产线测试站的系统及其方法。The present disclosure relates to an application field of computer and its peripheral equipment testing, and in particular to a system and method of a production line testing station of a computer and its peripheral equipment.

背景技术Background technique

作业系统(Operating system,OS)是管理计算机硬件及软件资源的电脑程序,其用于管理与配置文件储存,并决定整体系统资源分配的优先顺序,及控制输入与输出装置、操作网络与管理文件系统等计算机运行的基本事务,同时提供操作界面方便使用者操作电脑系统。Operating system (Operating system, OS) is a computer program that manages computer hardware and software resources. It is used to manage and configure file storage, determine the priority of overall system resource allocation, and control input and output devices, operate networks and manage files. System and other basic tasks of computer operation, while providing an operation interface to facilitate users to operate the computer system.

视窗(Windows)系统与麦金塔(Macintosh)系统为现今世界上两大主流的电脑作业系统,一般而言,由于视窗系统的文书处理能力较好,因此一般公司行号或电子装置的制造工厂多使用视窗系统;而麦金塔系统由于图像处理能力较好,因此使用麦金塔系统的客群多为广告或设计业。Windows (Windows) system and Macintosh (Macintosh) system are the two major computer operating systems in the world today. Generally speaking, due to the better document processing capabilities of the Windows system, the general company line number or the manufacturing plant of electronic devices The Windows system is mostly used; and the Macintosh system has better image processing capabilities, so the customers who use the Macintosh system are mostly advertising or design industries.

由于现行制造电脑及电脑周边装置工厂的生产线多使用视窗系统,当用来生产制造属于视窗系统的电脑及其周边设备时,因系统相同,故不容易产生系统或程序无法相容的问题,但于生产制造属于麦金塔系统的电脑及其周边设备时,因系统不同,便容易产生系统或程序无法相容的问题,为解决系统或程序相容性的问题,当生产线生产制造属于麦金塔系统的电脑及其周边设备时,生产线上的各个测试站需改用麦金塔系统计算机,以方便测试麦金塔系统的电脑及其周边设备中的电路板或存储器是否可正常运行,也同时检测以取得电路板或存储器内的产品序号。Since the current production lines of factories that manufacture computers and computer peripheral devices mostly use the Windows system, when they are used to manufacture computers and peripheral devices that belong to the Windows system, the systems are the same, so it is not easy to have problems with incompatibility of systems or programs, but When manufacturing computers and their peripherals belonging to the Macintosh system, due to the different systems, it is easy to have the problem of system or program incompatibility. In order to solve the problem of system or program compatibility, when the production line belongs to Macintosh When the computer and its peripheral equipment of the Macintosh system are used, each test station on the production line needs to use a Macintosh system computer to facilitate testing whether the circuit board or memory in the computer of the Macintosh system and its peripheral equipment can operate normally, and also Simultaneous detection to obtain the serial number of the circuit board or memory.

在测试完毕后,麦金塔系统计算机再通过有线/无线网络将电路板或存储器内的产品序号等数据传输到外部的视窗系统计算机,再通过视窗系统计算机将电路板或存储器内的产品序号打印成条形码标签,但由于以有线/无线网络传输产品序号等数据时,容易发生延迟的现象,导致打印完成的条形码标签并未粘贴在正确的电子产品或其外包装之上。After the test is completed, the Macintosh system computer transmits the data such as the product serial number in the circuit board or memory to the external Windows system computer through the wired/wireless network, and then prints the product serial number in the circuit board or memory through the Windows system computer However, due to delays in the transmission of product serial numbers and other data through wired/wireless networks, the printed barcode labels are not pasted on the correct electronic products or their outer packaging.

有鉴于此,提供一种与视窗系统及麦金塔系统相容的传输接口,并避免数据传输时延迟现象的产生,为本公开欲解决的技术课题。In view of this, providing a transmission interface compatible with the Windows system and the Macintosh system and avoiding the delay phenomenon during data transmission is the technical problem to be solved by the present disclosure.

发明内容Contents of the invention

本公开的主要目的,在于提供一种电子装置测试系统,可有效降低生产线上数据传输的延迟及错误,进而提升生产线的运行效率。The main purpose of the present disclosure is to provide an electronic device testing system, which can effectively reduce the delay and error of data transmission on the production line, thereby improving the operating efficiency of the production line.

为达前述的目的,本公开提供一种电子装置测试系统,用以检测电子装置的存储器序号,电子装置测试系统包括:To achieve the aforementioned purpose, the present disclosure provides an electronic device testing system for detecting the memory serial number of the electronic device. The electronic device testing system includes:

麦金塔系统计算机,用以执行序号检测程序以检测电子装置的存储器序号;以及a Macintosh system computer for executing a serial number detection program to detect the memory serial number of the electronic device; and

视窗系统计算机,用以执行序号比对程序以比对电子装置的存储器序号是否符合编码规则;A Windows system computer is used to execute a serial number comparison program to compare whether the serial number of the memory of the electronic device complies with the coding rules;

其中,麦金塔系统计算机通过RS232接口传输存储器序号至视窗系统计算机。Wherein, the Macintosh system computer transmits the memory serial number to the Windows system computer through the RS232 interface.

于上述较佳实施方式中,其中电子装置测试系统包括打印机,打印机用以打印存储器序号。In the above preferred implementation manner, the electronic device testing system includes a printer, and the printer is used to print the serial number of the memory.

于上述较佳实施方式中,其中序号比对程序进一步执行模拟键盘事件以驱动打印机打印存储器序号。In the above preferred implementation manner, the serial number comparison program further executes the simulated keyboard event to drive the printer to print the serial number in the memory.

于上述较佳实施方式中,其中模拟键盘事件是利用sendkey函数或keyevent函数。In the above preferred implementation manner, the key event is simulated by using the sendkey function or the keyevent function.

于上述较佳实施方式中,其中电子装置为:滑鼠、触控板、笔记本电脑、平板电脑、移动电话、手表或多媒体播放器。In the above preferred embodiments, the electronic device is: a mouse, a touch panel, a notebook computer, a tablet computer, a mobile phone, a watch or a multimedia player.

本公开另一较佳作法,涉及一种电子装置测试方法,用以检测电子装置的存储器序号,电子装置测试方法包括下列步骤:Another preferred method of the present disclosure relates to an electronic device testing method for detecting the memory serial number of the electronic device. The electronic device testing method includes the following steps:

(a).检测电子装置的存储器序号;(a). Detect the serial number of the memory of the electronic device;

(b).以RS232接口传输存储器序号至视窗系统计算机;(b).Transmit the memory serial number to the Windows system computer through the RS232 interface;

(c).比对存储器序号是否符合编码规则,若否,则产生警示讯息,若是,则进行下一步骤;(c). Check whether the serial number of the memory complies with the coding rules, if not, generate a warning message, and if so, proceed to the next step;

(d).执行模拟键盘事件以输入存储器序号;以及(d). Execute a simulated keyboard event to enter the memory sequence number; and

(e).打印存储器序号。(e). Print the serial number of the memory.

于上述较佳实施方式中,其中于步骤(d)中,模拟键盘事件是利用sendkey函数或keyevent函数。In the above-mentioned preferred implementation manner, in step (d), the simulated keyboard event uses the sendkey function or the keyevent function.

附图说明Description of drawings

图1:为本公开所提供的电子装置测试系统;以及FIG. 1 : An electronic device testing system provided for the present disclosure; and

图2:为本公开电子装置测试系统的测试流程图。FIG. 2 is a test flowchart of the electronic device test system of the present disclosure.

附图标记说明:Explanation of reference signs:

S101~S105 步骤S101~S105 steps

10 麦金塔系统计算机10 Macintosh computer

101 序号检测程序101 Serial number detection procedure

20 视窗系统计算机20 Windows computer

201 序号比对程序201 Serial number comparison program

30 RS232接口30 RS232 interface

40 打印机40 printers

401 条形码标签401 barcode label

50 电子装置50 electronics

具体实施方式Detailed ways

本公开的优点及特征以及达到其方法将参照例示性实施例及附图进行更详细的描述而更容易理解。然而,本公开可以不同形式来实现且不应被理解仅限于此处所陈述的实施例。相反地,对所属技术领域技术人员而言,所提供的此些实施例将使本发明公开更加透彻与全面且完整地传达本公开的范畴。The advantages and features of the present disclosure and methods for achieving the same will be more easily understood by describing in more detail with reference to exemplary embodiments and accompanying drawings. However, this disclosure may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, for those skilled in the art, these embodiments are provided to make the disclosure of the present invention more thorough, comprehensive and fully convey the scope of the present disclosure.

首先,请参阅图1所示,图1为本公开所提供的电子装置测试系统,其中所述的电子装置属于麦金塔系统,在本公开一较佳的实施方式中,电子装置测试系统包括:麦金塔系统计算机10、视窗系统计算机20、RS232(Recommend Standard number 232)接口30、打印机40及电子装置50,其中,麦金塔系统计算机10用以安装并执行序号检测程序101,序号检测程序101是利用Objective-C语言所撰写;视窗系统计算机20用以安装并执行序号比对程序201。序号比对程序201为一种RS232接收端程序,其是利用C语言所撰写,此外,序号检测程序101用以检测与麦金塔系统计算机10电性连接的电子装置50,藉此获得电子装置50的存储器序号(Serial Number,SN),并将所获得的电子装置50的存储器序号通过RS232接口传输至视窗系统计算机20的中。First, please refer to FIG. 1 . FIG. 1 is an electronic device testing system provided by the present disclosure, wherein the electronic device belongs to the Macintosh system. In a preferred embodiment of the present disclosure, the electronic device testing system includes : Macintosh system computer 10, Windows system computer 20, RS232 (Recommend Standard number 232) interface 30, printer 40 and electronic device 50, wherein, Macintosh system computer 10 is in order to install and execute sequence number detection program 101, sequence number detection The program 101 is written in Objective-C language; the Windows system computer 20 is used to install and execute the serial number comparison program 201 . The serial number comparison program 201 is a RS232 receiver program written in C language. In addition, the serial number detection program 101 is used to detect the electronic device 50 electrically connected to the Macintosh system computer 10, thereby obtaining the electronic device 50 memory serial number (Serial Number, SN), and the obtained memory serial number of the electronic device 50 is transmitted to the window system computer 20 through the RS232 interface.

视窗系统计算机20在接收电子装置50的存储器序号的数据后后,则以序号比对程序201比对电子装置50的存储器序号是否符合编码规则,其中,所述的编码规则包括:(1).序号规则长度检查,检测序号长度是否符合预设长度,例如序号:CC255120P67GRHQA5的总长度为17码;(2).Check Sum总和检查:将存储器序号的数据利用预先定义的数学公式,经运算后得到一个检查码,假设检查码结果为0,则表示存储器序号的数据正确;假设检查码结果不为0,则表示存储器序号的数据于传输过程中发生错误;(3).Vender ID检查:检查序号的特殊位数是否符合提供的厂商号码,例如检查序号第三码是否符合电池供应商的代码。After the Windows system computer 20 receives the data of the memory serial number of the electronic device 50, it uses the serial number comparison program 201 to compare whether the memory serial number of the electronic device 50 complies with the coding rules, wherein the coding rules include: (1). Sequence number rule length check, check whether the sequence number length conforms to the preset length, for example, the total length of the sequence number: CC255120P67GRHQA5 is 17 yards; (2). A check code, if the result of the check code is 0, it means that the data of the memory serial number is correct; if the result of the check code is not 0, it means that the data of the memory serial number has an error during transmission; (3).Vender ID check: check the serial number Whether the special digit of the serial number matches the manufacturer number provided, for example, check whether the third digit of the serial number matches the code of the battery supplier.

于电子装置50的存储器序号比对完成后,序号比对程序201则进一步执行模拟键盘事件,并以模拟键盘事件模拟按键的输入行为以输入电子装置50的存储器序号,在输入完成后,接着驱动打印机40打印包含电子装置50的存储器序号的条形码标签401。最后,通过人工或机械的方式将条形码标签401粘贴在电子装置50的外壳(未示于图中)或外包装(未示于图中)之上。本公开所述的电子装置50可为滑鼠、触控板、笔记本电脑、平板电脑、移动电话、手表或多媒体播放器。After the memory sequence number comparison of the electronic device 50 is completed, the sequence number comparison program 201 further executes the simulated keyboard event, and uses the simulated keyboard event to simulate the input behavior of the key to input the memory sequence number of the electronic device 50. After the input is completed, the driver then drives The printer 40 prints a barcode label 401 containing the memory serial number of the electronic device 50 . Finally, the barcode label 401 is pasted on the casing (not shown in the figure) or the outer package (not shown in the figure) of the electronic device 50 manually or mechanically. The electronic device 50 described in the present disclosure can be a mouse, a touch pad, a notebook computer, a tablet computer, a mobile phone, a watch or a multimedia player.

请一并参阅图1及图2,图2为本公开电子装置测试系统的测试流程图。于生产线生产制作电子装置的流程中,首先以麦金塔系统计算机10中的序号检测程序101检测电子装置50的存储器序号(步骤S100),于步骤S100中,序号检测程序101发送序号需求给电子装置50,电子装置50在接收序号需求后,则反馈其存储器序号予序号检测程序101,接着,以RS232接口30传输存储器序号至视窗系统计算机20(步骤S101),于步骤S101中,由于RS232接口30属于序列式数据传输的接口形式,存储器序号的数据是以一个位元(Binary digit,Bit)接着一个位元的方式传输至视窗系统计算机20,因此数据传输时并不会发生延迟的现象。Please refer to FIG. 1 and FIG. 2 together. FIG. 2 is a testing flowchart of the electronic device testing system of the present disclosure. In the process of producing electronic devices on the production line, firstly, the serial number detection program 101 in the Macintosh computer 10 is used to detect the memory serial number of the electronic device 50 (step S100). In step S100, the serial number detection program 101 sends the serial number request to the electronic device. After the device 50 and the electronic device 50 receive the serial number requirement, then feed back its memory serial number to the serial number detection program 101, and then transmit the memory serial number to the window system computer 20 with the RS232 interface 30 (step S101). In step S101, due to the RS232 interface 30 belongs to the interface form of serial data transmission, and the data of the memory serial number is transmitted to the Windows system computer 20 in a binary digit (Bit)-by-bit manner, so there will be no delay in data transmission.

随后,以视窗系统计算机20中的序号比对程序201比对存储器序号是否符合编码规则(步骤S102),于步骤S102中,编码规则包括:(1).序号规则长度检查;(2).Check Sum总和检查;(3).Vender ID检查,接着,若比对结果显示存储器序号不符合编码规则,则产生警示讯息(步骤S105),于步骤S105中,警示讯息用以通知/警示生产线的作业员或生产线系统,使其可得知存储器序号数据的传输发生了延迟或错误,需重新回到步骤S100进行存储器序号的检测;若比对结果显示存储器序号符合编码规则,则执行模拟键盘事件以输入存储器序号(步骤S103),于步骤S103中,模拟键盘事件是使用sendkey函数或keyevent函数,并以模拟键盘事件模拟按键输入的行为以输入电子装置50的存储器序号,随后驱动打印机40打印存储器序号(步骤S104),于步骤S104中,打印机40打印包含电子装置50的存储器序号的条形码标签401,最后,可以人工或机械的方式将条形码标签401粘贴于电子装置50的外壳(未示于图中)或外包装(未示于图中)上。Subsequently, with the serial number comparison program 201 in the Windows system computer 20, whether the memory serial number meets the encoding rule (step S102), in the step S102, the encoding rule includes: (1). Serial number rule length inspection; (2). Check Sum sum check; (3). Vender ID check, then, if the comparison result shows that the memory serial number does not meet the coding rules, then a warning message (step S105) is generated. In step S105, the warning message is used to notify/warn the operation of the production line The staff or the production line system, so that it can know that there is a delay or error in the transmission of the memory serial number data, and it is necessary to return to step S100 to detect the memory serial number; Input memory serial number (step S103), in step S103, simulate keyboard event is to use sendkey function or keyevent function, and simulate the behavior of key input with simulated keyboard event to input the memory serial number of electronic device 50, then drive printer 40 to print memory serial number (Step S104), in step S104, the printer 40 prints the barcode label 401 that includes the memory serial number of the electronic device 50, and finally, the barcode label 401 can be pasted on the casing of the electronic device 50 (not shown in the figure) manually or mechanically. ) or on the outer packaging (not shown in the figure).

本公开虽仅提出电子装置的存储器序号检测的实施方式,但并非限定于该者,实际上,本公开所提供的电子装置测试系统可应用于电子装置中各个零组件序号的检测,例如可检测屏幕、电路板或电能储存装置的产品序号,而不以检测存储器序号为限。Although the present disclosure only proposes the implementation of the detection of the memory serial number of the electronic device, it is not limited thereto. In fact, the electronic device test system provided by the present disclosure can be applied to the detection of the serial numbers of each component in the electronic device, for example, it can detect The product serial number of the screen, circuit board or electrical energy storage device, not limited to the serial number of the test memory.

相较于现有技术,本公开以RS232接口取代有线/无线网络的数据传输,可避免数据传输时,其所产生的错误情况或延迟情况,有效提升电子装置生产线的运行效率;故,本公开实为一极具产业价值的发明。Compared with the prior art, the present disclosure replaces the wired/wireless network data transmission with the RS232 interface, which can avoid errors or delays during data transmission, and effectively improve the operating efficiency of the electronic device production line; therefore, the present disclosure It is an invention with great industrial value.

本公开得由熟悉本技艺的人士任施匠思而为诸般修饰,然皆不脱如附权利要求所欲保护。The present disclosure can be modified in various ways by those who are familiar with the art, and all of them are protected as intended by the appended claims.

Claims (7)

CN201611074738.8A2016-11-292016-11-29Electronic device test system and method thereofPendingCN108121624A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201611074738.8ACN108121624A (en)2016-11-292016-11-29Electronic device test system and method thereof

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611074738.8ACN108121624A (en)2016-11-292016-11-29Electronic device test system and method thereof

Publications (1)

Publication NumberPublication Date
CN108121624Atrue CN108121624A (en)2018-06-05

Family

ID=62226756

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611074738.8APendingCN108121624A (en)2016-11-292016-11-29Electronic device test system and method thereof

Country Status (1)

CountryLink
CN (1)CN108121624A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US3469244A (en)*1964-03-021969-09-23Olivetti & Co SpaElectronic computer
CN1957537A (en)*2004-03-022007-05-02斯巴达克·布尼艾特延 Portable Universal Data Storage Device
CN101051272A (en)*2006-04-042007-10-10深圳安凯微电子技术有限公司Detecting method for all general flash storage during micro processor start process
US20080150985A1 (en)*2006-12-262008-06-26Sony CorporationDisc drive apparatus and disc printing method
US20080228850A1 (en)*2007-03-122008-09-18Allen SamuelsSystems and methods of clustered sharing of compression histories
CN101796858A (en)*2007-09-012010-08-04苹果公司Service provider activation with subscriber identity module policy

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US3469244A (en)*1964-03-021969-09-23Olivetti & Co SpaElectronic computer
CN1957537A (en)*2004-03-022007-05-02斯巴达克·布尼艾特延 Portable Universal Data Storage Device
CN101051272A (en)*2006-04-042007-10-10深圳安凯微电子技术有限公司Detecting method for all general flash storage during micro processor start process
US20080150985A1 (en)*2006-12-262008-06-26Sony CorporationDisc drive apparatus and disc printing method
US20080228850A1 (en)*2007-03-122008-09-18Allen SamuelsSystems and methods of clustered sharing of compression histories
CN101796858A (en)*2007-09-012010-08-04苹果公司Service provider activation with subscriber identity module policy

Similar Documents

PublicationPublication DateTitle
US8640096B2 (en)Configuration of componentized software applications
CN109739478A (en)Front end project automated construction method, device, storage medium and electronic equipment
CN103353871A (en)Interoperation picture file checking method based on CIM/G standard
CN111352912A (en) Compressed file processing method, device, storage medium, terminal and server
CN114237829B (en)Data acquisition and processing method for power equipment
CN113434650B (en)Question-answer pair expansion method and device, electronic equipment and readable storage medium
CN109857611A (en)Test method for hardware and device, storage medium and electronic equipment based on block chain
CN116644071A (en)Material coding management method, device, computer equipment and storage medium
CN100407878C (en) A method and device for checking consistency
CN100498808C (en)Printing circuit board element height outputting method and device thereof
TWI609267B (en) Electronic device test system and method thereof
CN109683917A (en)For the method for being deployed in application server, equipment and medium will to be applied
CN108121624A (en)Electronic device test system and method thereof
CN108919695A (en)A kind of coding method, device, equipment and the storage medium of electrical equipment module
CN109325002A (en)Text file processing method, device, system, electronic equipment, storage medium
CN112527678A (en)Method, apparatus, device and storage medium for testing protocol
CN113590243A (en)Energy enterprise project creation method and device, computer equipment and medium
CN113468175A (en)Data compression method and device, electronic equipment and storage medium
CN117573139A (en)Code automatic generation method, device, equipment and medium
CN116383064A (en) An automated script number creation platform and method
CN117149569A (en)Board running state early warning method and device and electronic equipment
CN111400190B (en) Automated test process generation method, device and computer readable storage medium
CN109697166A (en)A kind of test data preparation method and relevant apparatus
CN113972989B (en) Data verification methods, storage media, and electronic equipment
CN115442451A (en) Image signal transmission method, display device test equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
WD01Invention patent application deemed withdrawn after publication
WD01Invention patent application deemed withdrawn after publication

Application publication date:20180605


[8]ページ先頭

©2009-2025 Movatter.jp