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

Electronic device test system and its method Download PDF

Info

Publication number
CN108121624A
CN108121624A CN201611074738.8A CN201611074738A CN108121624A CN 108121624 A CN108121624 A CN 108121624A CN 201611074738 A CN201611074738 A CN 201611074738A CN 108121624 A CN108121624 A CN 108121624A
Authority
CN
China
Prior art keywords
sequence number
electronic device
memory sequence
device test
test system
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 Ltd filed Critical Primax Electronics Ltd
Priority to CN201611074738.8A priority Critical patent/CN108121624A/en
Publication of CN108121624A publication Critical patent/CN108121624A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4286Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The disclosure provides a kind of electronic device test system and method, and to the memory sequence number of detection electronic installation, electronic device test system includes:Macintosh component computer detects program with the memory sequence number of detection electronic installation to perform sequence number;And windows system computer, to perform sequence number alignment programs to compare whether the memory sequence number of electronic device meets coding rule;Wherein, Macintosh component computer is printed by RS232 interface transmission memory sequence number to windows system computer.

Description

Electronic device test system and its method
Technical field
This disclosure relates to a kind of computer and its application field of peripheral equipment test, more particularly to a kind of computer and its periphery The system and method for the production line testing station of equipment.
Background technology
Operating system (Operating system, OS) is to manage the computer program of computer hardware and software resource, Stored for managing with configuration file, and determine overall system resources distribution priority and control input and output device, It operates network and manages the atomic transaction of the computers such as file system operation, while provide operation interface convenient for users to operation electricity Brain system.
Form (Windows) system is with Macintosh (Macintosh) system for the computer of two big mainstreams is made in the world now Industry system, it is however generally that, since the document processing ability of windows system is preferable, the system of general company's line number or electronic device It makes factory and uses windows system more;And Macintosh system uses the visitor of Macintosh system since image-capable is preferable Group is mostly advertisement or design industry.
Since existing manufacture computer and the production line of computer peripheral apparatus factory are mostly using windows system, made when for producing When making the computer and its peripheral equipment for belonging to windows system, because system is identical, therefore it is not easy generation system or program is incompatible The problem of, but when the manufacturing belongs to the computer and its peripheral equipment of Macintosh system, because system is different, just easily generate system The problem of system or program are incompatible, to solve the problems, such as system or program compatibility, when the production line manufacturing belongs to Mai Jin When the computer and its peripheral equipment of Tower System, each testing station on production line need to use Macintosh component computer instead, with convenient Test Macintosh system computer and its peripheral equipment in circuit board or memory whether can normal operation, also simultaneously detection with Obtain the product serial number in circuit board or memory.
After being completed, Macintosh component computer again will be in circuit board or memory by wire/radio network The data transmissions such as product serial number are to external windows system computer, then by windows system computer by circuit board or memory Interior product serial number is printed as bar coded sticker, but due to, when data, easily being sent out with wire/radio network transmission product sequence number The phenomenon that raw delay, causes the bar coded sticker that printing is completed not to be pasted onto on correct electronic product or its outer packing.
In view of this, the coffret of a kind of and windows system and Macintosh System compatible is provided, and avoids data transmission When delay phenomenon generation, be the disclosure technical task to be solved.
The content of the invention
The main purpose of the disclosure is to provide a kind of electronic device test system, can effectively reduce data on production line The delay of transmission and mistake, and then promote the operational efficiency of production line.
To reach foregoing purpose, the disclosure provides a kind of electronic device test system, to the storage of detection electronic installation Device sequence number, electronic device test system include:
Macintosh component computer detects program with the memory sequence number of detection electronic installation to perform sequence number;And
Windows system computer, to perform sequence number alignment programs to compare whether the memory sequence number of electronic device meets Coding rule;
Wherein, Macintosh component computer passes through RS232 interface transmission memory sequence number to windows system computer.
In above-mentioned better embodiment, wherein electronic device test system includes printer, and printer is deposited to print Reservoir sequence number.
In above-mentioned better embodiment, wherein sequence number alignment programs further perform simulating keyboard event to drive printing Machine print memory sequence number.
In above-mentioned better embodiment, wherein simulating keyboard event is to utilize sendkey functions or keyevent functions.
In above-mentioned better embodiment, wherein electronic device is:Slide-mouse, Trackpad, laptop, tablet computer, Mobile phone, wrist-watch or multimedia player.
Another preferable practice of the disclosure, is related to a kind of electronic device test method, to the memory of detection electronic installation Sequence number, electronic device test method comprise the following steps:
(a) the memory sequence number of detection electronic installations;
(b) is with RS232 interface transmission memory sequence number to windows system computer;
(c) compares whether memory sequence number meets coding rule, if it is not, warning message is then generated, if so, carrying out down One step;
(d) performs simulating keyboard event with input store sequence number;And
(e) print memories sequence number.
In above-mentioned better embodiment, wherein in step (d), simulating keyboard event be using sendkey functions or Keyevent functions.
Description of the drawings
Fig. 1:The electronic device test system provided by the disclosure;And
Fig. 2:For the test flow chart of disclosure electronic device test system.
Reference sign:
S101~S105 steps
10 Macintosh component computers
101 sequence numbers detect program
20 windows system computers
201 sequence number alignment programs
30 RS232 interfaces
40 printers
401 bar coded stickers
50 electronic devices
Specific embodiment
The advantages of disclosure and feature and reach its method will be carried out with reference to exemplary embodiments and attached drawing it is more detailed It describes and is easier to understand.However, the disclosure can be realized and in different forms not it is understood that being only limitted to set forth herein Embodiment.On the contrary, for skilled artisan, these embodiments provided will be such that the present invention discloses more Thoroughly with conveying comprehensively and intactly the scope of the disclosure.
First, refering to Figure 1, the electronic device test system that Fig. 1 is provided by the disclosure, wherein the electronics Device belongs to Macintosh system, and in one preferable embodiment of the disclosure, electronic device test system includes:Macintosh system Computer 10, windows system computer 20, RS232 (Recommend Standard number 232) interface 30, printer 40 And electronic device 50, wherein, for Macintosh component computer 10 to install and execute sequence number detection program 101, sequence number detects journey Sequence 101 is write using Objective-C language;Windows system computer 20 is installing and executing sequence number alignment programs 201.Sequence number alignment programs 201 are a kind of RS232 sender terminals, are write using C language, in addition, sequence number detects journey Sequence 101 thereby obtains depositing for electronic device 50 to detect the electronic device 50 being electrically connected with Macintosh component computer 10 Reservoir sequence number (Serial Number, SN), and the memory sequence number of the electronic device 50 obtained is passed by RS232 interface It transports in windows system computer 20.
Windows system computer 20 then compares journey after receiving after the data of memory sequence number of electronic device 50 with sequence number Whether the memory sequence number that sequence 201 compares electronic device 50 meets coding rule, wherein, the coding rule includes:(1). Whether sequence number rule length check, detection sequence number length meet preset length, such as sequence number:CC255120P67GRHQA5's is total Length is 17 yards;(2) .Check Sum summations inspection:The data of memory sequence number are utilized into pre-defined mathematical formulae, warp A check code is obtained after computing, it is assumed that check code result is 0, then it represents that the data of memory sequence number are correct;Assuming that check code As a result it is not 0, then it represents that mistake occurs in transmission process for the data of memory sequence number;(3) .Vender ID are checked:Check sequence Number special digit whether manufacturer's number of offer is provided, such as check whether sequence number third yard meets the generation of battery supplier Code.
After the completion of the memory sequence number of electronic device 50 compares, sequence number alignment programs 201 then further perform analog key Disk event, and inputted with the input behavior of simulating keyboard event simulation button with the memory sequence number of input electronic device 50 After finishing, the bar coded sticker 401 of memory sequence number of the printing of printer 40 comprising electronic device 50 is then driven.Finally, lead to Bar coded sticker 401 is pasted onto shell (being not shown in the drawing) or the outer packing of electronic device 50 by the mode crossed manually or mechanically On (being not shown in the drawing).Electronic device 50 described in the disclosure can be slide-mouse, Trackpad, laptop, tablet computer, shifting Mobile phone, wrist-watch or multimedia player.
Also referring to the test flow chart that Fig. 1 and Fig. 2, Fig. 2 are disclosure electronic device test system.It is given birth in production line Production is made in the flow of electronic device, detects electronics dress first with the sequence number detection program 101 in Macintosh component computer 10 50 memory sequence number (step S100) is put, in step S100, sequence number detection program 101 sends sequence number demand electron device 50, electronic device 50 then feeds back its memory sequence number and sequence number is given to detect program 101 after Receive sequence number demand, then, with 30 transmission memory sequence number of RS232 interface is to windows system computer 20 (step S101), in step S101, due to RS232 Interface 30 belongs to the interface form of sequence type data transmission, the data of memory sequence number be with a bit (Binary digit, Bit) then the mode of a bit is transmitted to windows system computer 20, therefore what can't be postponed during data transmission shows As.
Then, compare whether memory sequence number meets coding with the sequence number alignment programs 201 in windows system computer 20 Regular (step S102), in step S102, coding rule includes:(1) sequence numbers rule length check;(2) .Check Sum are total And inspection;(3) .Vender ID are checked, then, if comparison result display-memory sequence number does not meet coding rule, generate police Show message (step S105), in step S105, warn message to notify/warn the operator of production line or production linear system System makes it that need to come back to step S100 and be stored it can be seen that the transmission of memory serial number data is postponed or mistake The detection of device sequence number;If comparison result display-memory sequence number meets coding rule, perform simulating keyboard event and deposited with inputting Reservoir sequence number (step S103), in step S103, simulating keyboard event is to use sendkey functions or keyevent functions, And printer is then driven with the memory sequence number of input electronic device 50 with the behavior of simulating keyboard event simulation key-press input 40 print memory sequence numbers (step S104), in step S104, printer 40 prints the memory sequence for including electronic device 50 Number bar coded sticker 401, finally, bar coded sticker 401 is pasted on electronic device 50 by mode that can be manually or mechanically On shell (being not shown in the drawing) or outer packing (being not shown in the drawing).
Though the disclosure only proposes the embodiment of the memory sequence number detection of electronic device, the person is not limited to, it is real On border, the electronic device test system that the disclosure is provided can be applied to the detection of each spare part sequence number in electronic device, example The product serial number of such as detectable screen, circuit board or apparatus for storing electrical energy, without being limited with detecting memory sequence number.
Compared to the prior art, the disclosure can avoid counting with the data transmission of RS232 interface substitution wire/radio network During according to transmission, the operational efficiency of generated error situation or delay situation, effectively promotion electronic device production line;Therefore this The invention of an open actually great industrial value.
The disclosure as be familiar with this skill personage Ren Shi craftsman think and be it is all as modification, so neither take off such as attached claim institute It is intended to protect.

Claims (7)

1. a kind of electronic device test system, to detect a memory sequence number of an electronic device, which is characterized in that the electronics Device test system includes:
One Macintosh component computer, to perform sequence number detection program to detect the memory sequence number of the electronic device; And
One windows system computer, to perform a sequence number alignment programs whether to compare the memory sequence number of the electronic device Meet coding rule;
Wherein, which transmits the memory sequence number to the windows system computer by a RS232 interface.
It, should 2. electronic device test system as described in claim 1, the wherein electronic device test system include a printer Printer is printing the memory sequence number.
3. electronic device test system as claimed in claim 2, wherein the sequence number alignment programs further perform an analog key Disk event is to drive the printer to print the memory sequence number.
4. electronic device test system as claimed in claim 3, wherein the simulating keyboard event be using sendkey functions or Keyevent functions.
5. electronic device test system as described in claim 1, the wherein electronic device are:Slide-mouse, Trackpad, notebook electricity Brain, tablet computer, mobile phone, wrist-watch or multimedia player.
6. a kind of electronic device test method, to detect a memory sequence number of an electronic device, which is characterized in that the electronics Device test method comprises the following steps:
(a) detects the memory sequence number of the electronic device;
(b) transmits the memory sequence number to a windows system computer with a RS232 interface;
(c) compares whether the memory sequence number meets coding rule, if it is not, a warning message is then generated, if so, carrying out down One step;
(d) performs a simulating keyboard event to input the memory sequence number;And
(e) prints the memory sequence number.
7. electronic device test system as claimed in claim 6, wherein in step (d), which is to utilize Sendkey functions or keyevent functions.
CN201611074738.8A 2016-11-29 2016-11-29 Electronic device test system and its method Pending CN108121624A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611074738.8A CN108121624A (en) 2016-11-29 2016-11-29 Electronic device test system and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611074738.8A CN108121624A (en) 2016-11-29 2016-11-29 Electronic device test system and its method

Publications (1)

Publication Number Publication Date
CN108121624A true CN108121624A (en) 2018-06-05

Family

ID=62226756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611074738.8A Pending CN108121624A (en) 2016-11-29 2016-11-29 Electronic device test system and its method

Country Status (1)

Country Link
CN (1) CN108121624A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3469244A (en) * 1964-03-02 1969-09-23 Olivetti & Co Spa Electronic computer
CN1957537A (en) * 2004-03-02 2007-05-02 斯巴达克·布尼艾特延 Portable universal data storage device
CN101051272A (en) * 2006-04-04 2007-10-10 深圳安凯微电子技术有限公司 Detecting method for all general flash storage during micro processor start process
US20080150985A1 (en) * 2006-12-26 2008-06-26 Sony Corporation Disc drive apparatus and disc printing method
US20080228850A1 (en) * 2007-03-12 2008-09-18 Allen Samuels Systems and methods of clustered sharing of compression histories
CN101796858A (en) * 2007-09-01 2010-08-04 苹果公司 Service provider activation with subscriber identity module policy

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3469244A (en) * 1964-03-02 1969-09-23 Olivetti & Co Spa Electronic computer
CN1957537A (en) * 2004-03-02 2007-05-02 斯巴达克·布尼艾特延 Portable universal data storage device
CN101051272A (en) * 2006-04-04 2007-10-10 深圳安凯微电子技术有限公司 Detecting method for all general flash storage during micro processor start process
US20080150985A1 (en) * 2006-12-26 2008-06-26 Sony Corporation Disc drive apparatus and disc printing method
US20080228850A1 (en) * 2007-03-12 2008-09-18 Allen Samuels Systems and methods of clustered sharing of compression histories
CN101796858A (en) * 2007-09-01 2010-08-04 苹果公司 Service provider activation with subscriber identity module policy

Similar Documents

Publication Publication Date Title
CN102609403B (en) Formatting data by example
CN111831176B (en) Application program management method and device
CN107368872B (en) A kind of method and apparatus generating bar code image
CN109685301A (en) Method for managing resource, device, equipment and readable storage medium storing program for executing
CN107894950A (en) A kind of equipment detection method, device, server and storage medium
CN111625252A (en) Cluster upgrading maintenance method and device, electronic equipment and storage medium
CN107958365A (en) Material information variation, device, storage medium and electronic equipment
CN108089722A (en) A kind of key assignments customizing keyboard configures system and method
CN103888346A (en) Information sending method and information sending device
CN109582320A (en) Write yard method and terminal device
CN110910159A (en) Electric power quotation method and terminal equipment
CN109710510A (en) Code submits method, apparatus, equipment and readable storage medium storing program for executing
CN108121624A (en) Electronic device test system and its method
CN113590243A (en) Energy enterprise project creation method and device, computer equipment and medium
CN112085611A (en) Asynchronous data verification method and device, electronic equipment and storage medium
US10338978B2 (en) Electronic device test system and method thereof
CN104442054A (en) Two-dimension code printing method and device based on mainframe platform
CN115033605A (en) Data query method and device, electronic equipment and storage medium
CN101518175A (en) Inventory manager service and assistant for PCB manufacturing
CN108255549A (en) Server program visual control method and device
CN107291614A (en) File method for detecting abnormality and electronic equipment
CN104636367B (en) A kind of recommended method and device of bookmark
CN102740248A (en) Synchronizing method and terminal device
CN113674250A (en) Photomask defect detection method and device, electronic equipment, storage medium and chip
CN112884171A (en) Electrician equipment and repair change management system based on active identification code carrier technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180605

WD01 Invention patent application deemed withdrawn after publication