Movatterモバイル変換


[0]ホーム

URL:


CN109857599A - Method, apparatus, system and computer-readable medium for hardware device test - Google Patents

Method, apparatus, system and computer-readable medium for hardware device test
Download PDF

Info

Publication number
CN109857599A
CN109857599ACN201811622844.4ACN201811622844ACN109857599ACN 109857599 ACN109857599 ACN 109857599ACN 201811622844 ACN201811622844 ACN 201811622844ACN 109857599 ACN109857599 ACN 109857599A
Authority
CN
China
Prior art keywords
hardware device
tested
control
control signal
power
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
CN201811622844.4A
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.)
Beijing Megvii Technology Co Ltd
Original Assignee
Beijing Megvii Technology Co 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 Beijing Megvii Technology Co LtdfiledCriticalBeijing Megvii Technology Co Ltd
Priority to CN201811622844.4ApriorityCriticalpatent/CN109857599A/en
Publication of CN109857599ApublicationCriticalpatent/CN109857599A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

The present invention provides a kind of method, apparatus, system and computer-readable mediums for hardware device test, which comprises receives control signal from computing terminal;And multiple on-off action is executed based on the control signal, multiple power on/off is carried out to control hardware device to be tested, to carry out electrical testing up and down to the hardware device to be tested.Method according to the present invention for hardware device test, the power on/off of hardware device to be tested can be indirectly controlled, it is manually controlled without user, it is simple to operate, efficient, and avoiding the power supply line by swappable device or operating the switch in equipment repeatedly makes equipment power-on and power-off, can effectively prevent the loss to the power supply line or switch of equipment.

Description

Method, apparatus, system and computer-readable medium for hardware device test
Technical field
The present invention relates to field of hardware, relates more specifically to a kind of method, apparatus for hardware device test, isSystem and computer-readable medium.
Background technique
Hardware testing is to execute the process operated to find mistake existing for hardware device, for test content,It is divided into functional test, performance test, reliability test etc..Wherein, the range of reliability test is very extensive, including temperature rise is surveyedExamination, pressure test, short open test, Electromagnetic Interference Test, voltage fluctuation and flashing test, upper and lower electrical testing etc., it is different hardThe reliability test content that part equipment needs to carry out is not identical.
Wherein, most hardware require to carry out electrical testing up and down, i.e., to be devices under carry out a large amount of booting andIt shuts down (power-on and power-off) test, its main feature is that repetitive operation, test process is simple but very labor intensive, and existing power-on and power-offTest method, it usually needs it is tested by pressing power switch on hardware device or swappable device power supply, ifTesting time is more, very inconvenient.
Therefore, this field needs a kind of novel for the method, apparatus of hardware testing, system and computer-readable JieMatter, to solve the above problems.
Summary of the invention
Propose the present invention to solve the above-mentioned problems.According to an aspect of the present invention, it provides a kind of for hardwareThe method of equipment test, which comprises receive control signal from computing terminal;And it is executed based on the control signal moreSecondary on-off action carries out multiple power on/off to control hardware device to be tested, to carry out to the hardware device to be testedLower electrical testing.
Further, wherein it includes: that control is described to be tested that the control hardware device to be tested, which carries out multiple power on/off,The power on/off number and power off time of hardware device.
Further, it wherein described execute multiple on-off action based on the control signal, is set with controlling hardware to be testedIt is standby to carry out multiple power on/off, comprising: when executing ON Action based on the control signal, the hardware device to be tested is connectedPower supply is to be powered;And when executing disconnection movement based on the control signal, the hardware device to be tested and power supply are disconnectedConnection is to power off.
In one embodiment, wherein generating the control signal by being programmed at the computing terminal.
According to another aspect of the present invention, a kind of method for hardware device test is provided, which comprises rawAt control signal;And the control signal is sent to agentbased control device, wherein the control signal controls the agencyControl device executes multiple on-off action, multiple power on/off is carried out to control hardware device to be tested, thus to described to be testedHardware device carries out electrical testing up and down.
According to another aspect of the invention, a kind of device for hardware device test is provided, described device includes: letterNumber receiving module, for receiving control signal from computing terminal;And agentbased control module, for being based on the control signal controlDescribed device processed executes multiple on-off action, multiple power on/off is carried out to control hardware device to be tested, thus to described to be measuredIt tries hardware device and carries out electrical testing up and down.
In one embodiment, described device includes network relay.
Further, the network relay is that the type based on the hardware device to be tested carries out selection.
In one embodiment, wherein the network relay includes DC network relay or AC network relay.
In accordance with a further aspect of the present invention, a kind of device for hardware device test is provided, described device includes: letterNumber generation module, for generating control signal;And signal transmitting module, for the control signal to be sent to agentbased controlDevice is set wherein the control signal, which controls the agentbased control device, is performed a plurality of times on-off action with controlling hardware to be testedIt is standby repeatedly to carry out power on/off, to carry out electrical testing up and down to the hardware device to be tested.
In accordance with a further aspect of the present invention, a kind of system for hardware device test is provided, the system comprises depositStorage device and processor are stored with the computer program run by the processor, the computer journey on the storage deviceSequence executes the method tested as described above for hardware device when being run by the processor.
In accordance with a further aspect of the present invention, a kind of computer-readable medium is provided, which is characterized in that the computer canIt reads to be stored with computer program on medium, the computer program executes at runtime to be tested for hardware device as described aboveMethod.
In accordance with a further aspect of the present invention, a kind of system for hardware device test is provided, the system comprises metersTerminal and agentbased control device are calculated, wherein the computing terminal is configured as: generating control signal;And by the control signalIt is sent to the agentbased control device, wherein the agentbased control device is configured as: receiving the control from the computing terminalSignal processed;And multiple on-off action is executed based on the control signal, multiple on-off is carried out to control hardware device to be testedElectricity, to carry out electrical testing up and down to the hardware device to be tested.
Method, apparatus, system and computer-readable medium according to the present invention for hardware device test, can control indirectlyThe power on/off for making hardware device to be tested, manually controls without user, simple to operate, efficient, and avoids by insertingThe switch for pulling out the power supply line of equipment or being operated in equipment repeatedly makes equipment power-on and power-off, can effectively prevent to the power supply line of equipment orThe loss of switch.
Detailed description of the invention
The embodiment of the present invention is described in more detail in conjunction with the accompanying drawings, the above and other purposes of the present invention,Feature and advantage will be apparent.Attached drawing is used to provide to further understand the embodiment of the present invention, and constitutes explanationA part of book, is used to explain the present invention together with the embodiment of the present invention, is not construed as limiting the invention.In the accompanying drawings,Identical reference label typically represents same parts or step.
Fig. 1 shows the example of the methods, devices and systems for hardware device test for realizing the embodiment of the present inventionElectronic equipment;
Fig. 2 shows the schematic flow charts of the method according to an embodiment of the invention for hardware device test;
Fig. 3 shows the schematic flow chart of the method for hardware device test according to another embodiment of the present invention;
Fig. 4 shows the schematic block diagram of the device according to an embodiment of the invention for hardware device test;
Fig. 5 shows the schematic block diagram of the device for hardware device test according to another embodiment of the present invention;
Fig. 6 shows the schematic block diagram of the system according to an embodiment of the invention for hardware device test;WithAnd
Fig. 7 shows the schematic block diagram of the system for hardware device test according to another embodiment of the present invention.
Specific embodiment
In order to enable the object, technical solutions and advantages of the present invention become apparent, root is described in detail below with reference to accompanying drawingsAccording to example embodiments of the present invention.Obviously, described embodiment is only a part of the embodiments of the present invention, rather than this hairBright whole embodiments, it should be appreciated that the present invention is not limited by example embodiment described herein.Based on described in the present inventionThe embodiment of the present invention, those skilled in the art's obtained all other embodiment in the case where not making the creative laborIt should all fall under the scope of the present invention.
Firstly, referring to Fig.1 describing for realizing the embodiment of the present invention for the method, apparatus of hardware device test andThe exemplary electronic device 100 of system.
As shown in Figure 1, electronic equipment 100 include one or more processors 102, it is one or more storage device 104, defeatedEnter device 106, output device 108 and imaging sensor 110, these components pass through bus system 112 and/or other formsThe interconnection of bindiny mechanism's (not shown).It should be noted that the component and structure of electronic equipment 100 shown in FIG. 1 are only exemplary, andUnrestricted, as needed, the electronic equipment can not include the whole in said modules, or also can have above-mentionedOther assemblies and structure other than component.
The processor 102 can be central processing unit (CPU) or have data-handling capacity and/or instruction executionThe processing unit of the other forms of ability, and the other components that can control in the electronic equipment 100 are desired to executeFunction.
The storage device 104 may include one or more computer program products, and the computer program product canTo include various forms of computer readable storage mediums, such as volatile memory and/or nonvolatile memory.It is described easyThe property lost memory for example may include random access memory (RAM) and/or cache memory (cache) etc..It is described non-Volatile memory for example may include read-only memory (ROM), hard disk, flash memory etc..In the computer readable storage mediumOn can store one or more computer program instructions, processor 102 can run described program instruction, to realize hereafter instituteThe client functionality (realized by processor) in the embodiment of the present invention stated and/or other desired functions.In the meterCan also store various application programs and various data in calculation machine readable storage medium storing program for executing, for example, the application program use and/orThe various data etc. generated.
The input unit 106 can be the device that user is used to input instruction, and may include keyboard, mouse, wheatOne or more of gram wind and touch screen etc..
The output device 108 can export various information (such as image or sound) to external (such as user), andIt may include one or more of display, loudspeaker etc..
Described image sensor 110 can be shot the desired image of user (such as photo, video etc.), and will be capturedImage be stored in the storage device 104 for other components use.
Illustratively, for realizing it is according to an embodiment of the present invention for hardware device test method, apparatus, system andThe exemplary electronic device of computer-readable medium may be implemented as smart phone, tablet computer etc..
In the following, reference Fig. 2 is described the method 200 according to an embodiment of the invention for being used for hardware device test.
In step S210, control signal is received from computing terminal.
In one embodiment, computing terminal may include any device with computing capability or equipment etc., including butIt is not limited to desktop computer, laptop computer, mobile phone, tablet computer, personal digital assistant (PDA), PC(PC), laptop, media center, work station etc..
In one embodiment, control signal can be analog signal or digital signal.In one embodiment, control letterIt number can be for frequency modulated signal, pulse-width signal etc..In another embodiment, control signal can be believed for serial dataNumber, parallel data signal etc..In another embodiment, control signal can be direct current signal or AC signal.Illustratively, it controlsThe type of signal processed can be selected according to the type of control target, and the present invention is to the type for controlling signal and without limitSystem, control signal type well known in the art may be applicable to the present invention.
In one embodiment, control signal can be generated by being programmed at the computing terminal.Wherein, may be usedBe programmed using any suitable programming language well known in the art, for example, Java, JavaScript, C, C++, C#, PHP,Python, MATLAB etc., the present invention is to the type of programming language and is not limited.
In one embodiment, control signal can be received from computing terminal via network.Wherein, the network can wrapInclude the cable network and/or wireless network that can be communicated between computing devices, such as local area network (LAN), wide area network(WAN), Metropolitan Area Network (MAN) (MAN), personal area network (PAN), mobile telephone network (MTN) and other classes used may be cooperateed with each otherThe network of type.Wherein, the example of the wireless network includes satellite communication, cellular communication, bluetooth, Infrared Data Association's standard(IrDA), Wireless Fidelity (WiFi) and World Interoperability for Microwave Access, WiMax (WiMAX) etc..
In another embodiment, the network interface of computing device can be connected by cable to receive control letter from computing terminalNumber.
In step S220, multiple on-off action is executed based on the control signal, is carried out with controlling hardware device to be testedMultiple power on/off, to carry out electrical testing up and down to the hardware device to be tested.
Further, controlling hardware device to be tested and carrying out multiple power on/off includes: the logical of control hardware device to be testedPower off number and power off time.Wherein, the number and make-and-break time of on-off action can be preset by programming, it is logical based on thisThe number and make-and-break time of disconnected movement generate control signal, make it possible to execute pre-determined number and make-and-break time based on control signalOn-off action, so that the power on/off number and power off time of hardware device to be tested are controlled, to hardware device to be testedCarry out electrical testing up and down.
Further, multiple on-off action is executed based on the control signal, it is more to control hardware device progress to be testedSecondary power on/off, comprising: when executing ON Action based on control signal, hardware device to be tested powers on to be powered;AndWhen executing disconnection movement based on control signal, hardware device to be tested and power supply are disconnected to power off.
In one embodiment, hardware device to be tested can be controlled by connecting the power supply line of hardware device to be testedPower on/off.Wherein, when executing ON Action, the power supply line for being equivalent to hardware device to be tested is connected to power supply, thus to be measuredExamination hardware device powers on;When executing disconnection movement, the power supply line and power supply for being equivalent to hardware device to be tested are disconnected, fromAnd it is electric under hardware device to be tested.
It should be understood that also the power on/off of hardware device to be tested can be controlled by other suitable methods, such as pass through controlIt makes hardware device to be tested to switch on-off, the invention does not limit this.
The method 300 for hardware device test according to another embodiment of the present invention is described below with reference to Fig. 3.
In step S310, control signal is generated.
In one embodiment, control signal can be analog signal or digital signal.In one embodiment, control letterIt number can be for frequency modulated signal, pulse-width signal etc..In another embodiment, control signal can be believed for serial dataNumber, parallel data signal etc..In another embodiment, control signal can be direct current signal or AC signal.Illustratively, it controlsThe type of signal processed can be selected according to the type of control target, and the present invention is to the type for controlling signal and without limitSystem, control signal type well known in the art may be applicable to the present invention.
In one embodiment, control signal can be generated by being programmed at the computing terminal.Wherein, may be usedBe programmed using any suitable programming language well known in the art, for example, Java, JavaScript, C, C++, C#, PHP,Python, MATLAB etc., the present invention is to the type of programming language and is not limited.
In step S320, the control signal is sent to agentbased control device, wherein control signal control agent controlDevice executes multiple on-off action, multiple power on/off is carried out to control hardware device to be tested, thus to hardware device to be testedCarry out electrical testing up and down.
In one embodiment, agentbased control device can be sent control signals to via network.Wherein, the networkIt may include the cable network and/or wireless network that can be communicated between computing devices, it is such as local area network (LAN), wideDomain net (WAN), Metropolitan Area Network (MAN) (MAN), personal area network (PAN), mobile telephone network (MTN) and its used may be cooperateed with each otherThe network of his type.Wherein, the example of the wireless network includes satellite communication, cellular communication, bluetooth, Infrared Data Association's markQuasi- (IrDA), Wireless Fidelity (WiFi) and World Interoperability for Microwave Access, WiMax (WiMAX) etc..
In another embodiment, agentbased control device may include network interface, can will control signal by the network interfaceIt is sent to agentbased control device.
Further, controlling hardware device to be tested and carrying out multiple power on/off includes: the logical of control hardware device to be testedPower off number and power off time.Wherein, the number and make-and-break time of on-off action can be preset by programming, it is logical based on thisThe number and make-and-break time of disconnected movement generate control signal, and control signal control agent control device is executed predetermined timeSeveral and make-and-break time on-off action, so that the power on/off number and power off time of hardware device to be tested are controlled, to treatIt tests hardware device and carries out electrical testing up and down.
Further, control signal control agent control device executes multiple on-off action, is set with controlling hardware to be testedIt is standby to carry out multiple power on/off, comprising: when controlling signal control agent control device execution ON Action, hardware device to be testedPower on to be powered;And control signal control agent control device execute disconnection movement when, hardware device to be tested withPower supply is disconnected to power off.
In one embodiment, hardware device to be tested can be controlled by connecting the power supply line of hardware device to be testedPower on/off.Wherein, when executing ON Action, the power supply line for being equivalent to hardware device to be tested is connected to power supply, thus to be measuredExamination hardware device powers on;When executing disconnection movement, the power supply line and power supply for being equivalent to hardware device to be tested are disconnected, fromAnd it is electric under hardware device to be tested.
It should be understood that also the power on/off of hardware device to be tested can be controlled by other suitable methods, such as pass through controlIt makes hardware device to be tested to switch on-off, the invention does not limit this.
In one embodiment, the agentbased control device may include any electronic device with switching function, such asNetwork relay, triode etc..The present invention is to the type of agentbased control device and is not limited, if having switching function andThe electronic device that control signal can be received is suitable for the present invention.Preferably, the agentbased control device is network relay.
In one embodiment, the network relay may include DC network relay or AC network relay.ItsIn, the type of the network relay can be selected based on the type of hardware device to be tested, for example, if hardware to be testedEquipment is alternating current equipment, then selects AC network relay;If hardware device to be tested is DC equipment, direct current net is selectedNetwork relay.
In another embodiment, the network relay may include the network relay of any control signal type.For example,The network relay includes the network of the network relay of WiFi control, the network relay of Ethernet control or GPRS controlRelay etc..The present invention is to the control signal type of network relay and is not limited, any suitable control signal typeNetwork relay is suitable for the present invention.
Device 400 according to an embodiment of the invention for hardware device test is described below with reference to Fig. 4.
Wherein, device 400 can may include any electronic device with switching function, such as network relay, three polesPipe etc..The present invention is to the type of device 400 and is not limited, as long as controlling the electronics of signal with switching function and capable of receivingDevice is suitable for the present invention.Preferably, device 400 can be network relay.
In one embodiment, the network relay may include DC network relay or AC network relay.ItsIn, the type of the network relay can be selected based on the type of hardware device to be tested, for example, if hardware to be testedEquipment is alternating current equipment, then selects AC network relay;If hardware device to be tested is DC equipment, direct current net is selectedNetwork relay.
In another embodiment, the network relay may include the network relay of any control signal type.For example,The network relay includes the network of the network relay of WiFi control, the network relay of Ethernet control or GPRS controlRelay etc..The present invention is to the control signal type of network relay and is not limited, any suitable control signal typeNetwork relay is suitable for the present invention.
As shown in figure 4, device 400 includes signal receiving module 410 and agentbased control module 420.
Wherein, the signal receiving module 410 is used to receive control signal from computing terminal.
In one embodiment, computing terminal may include any device with computing capability or equipment etc., including butIt is not limited to desktop computer, laptop computer, mobile phone, tablet computer, personal digital assistant (PDA), PC(PC), laptop, media center, work station etc..
In one embodiment, control signal can be analog signal or digital signal.In one embodiment, control letterIt number can be for frequency modulated signal, pulse-width signal etc..In another embodiment, control signal can be believed for serial dataNumber, parallel data signal etc..In another embodiment, control signal can be direct current signal or AC signal.Illustratively, it controlsThe type of signal processed can be selected according to the type of control target, and the present invention is to the type for controlling signal and without limitSystem, control signal type well known in the art may be applicable to the present invention.
In one embodiment, control signal can be generated by being programmed at the computing terminal.Wherein, may be usedBe programmed using any suitable programming language well known in the art, for example, Java, JavaScript, C, C++, C#, PHP,Python, MATLAB etc., the present invention is to the type of programming language and is not limited.
In one embodiment, control signal can be received via network.Wherein, the network may include that can countCalculate the cable network and/or wireless network communicated between equipment, such as local area network (LAN), wide area network (WAN), Metropolitan Area Network (MAN)(MAN), personal area network (PAN), mobile telephone network (MTN) and the other kinds of network used may be cooperateed with each other.ItsIn, the example of the wireless network includes satellite communication, cellular communication, bluetooth, Infrared Data Association's standard (IrDA), wireless guarantorVery (WiFi) and World Interoperability for Microwave Access, WiMax (WiMAX) etc..
The agentbased control module 420 is used to execute multiple on-off action based on control signal control device 400, with controlHardware device to be tested carries out multiple power on/off, to carry out electrical testing up and down to hardware device to be tested.
Further, controlling hardware device to be tested and carrying out multiple power on/off includes: the logical of control hardware device to be testedPower off number and power off time.Wherein, the number and make-and-break time of on-off action can be preset by programming, it is logical based on thisThe number and make-and-break time of disconnected movement generate control signal, and agentbased control module 420 is enabled to be based on control signal control dressThe on-off action of 400 execution pre-determined numbers and make-and-break time is set, to control the power on/off number of hardware device to be tested and lead toPower-off time, to carry out electrical testing up and down to hardware device to be tested.
Further, the agentbased control module 420 is used to execute multiple on-off action based on the control signal, with controlIt makes hardware device to be tested and carries out multiple power on/off, comprising: agentbased control module 420 is based on control signal control device 400When executing ON Action, hardware device to be tested powers on to be powered;And agentbased control module 420 is based on control signalWhen control device 400 executes disconnection movement, hardware device to be tested and power supply are disconnected to power off.
In one embodiment, device 400 can be controlled to be tested hard by connecting the power supply line of hardware device to be testedThe power on/off of part equipment.Wherein, when device 400 executes ON Action, it is equivalent to the power supply line connection of hardware device to be testedTo power supply, so that hardware device to be tested powers on;When device 400 executes disconnection movement, it is equivalent to hardware device to be testedPower supply line is disconnected with power supply, thus electric under hardware device to be tested.
It should be understood that device 400 can also control the power on/off of hardware device to be tested by other suitable methods, such asIt is switched on-off by controlling hardware device to be tested, the invention does not limit this.
Device 500 according to an embodiment of the invention for hardware device test is described below with reference to Fig. 5.
Wherein, device 500 may include any electronic equipment generated with signal with sending function, for example, calculating equipmentDeng the invention does not limit this.
As shown in figure 5, device 500 includes signal generation module 510 and signal transmitting module 520.
Wherein, the signal generation module 510 is for generating control signal.
In one embodiment, control signal can be analog signal or digital signal.In one embodiment, control letterIt number can be for frequency modulated signal, pulse-width signal etc..In another embodiment, control signal can be believed for serial dataNumber, parallel data signal etc..In another embodiment, control signal can be direct current signal or AC signal.Illustratively, it controlsThe type of signal processed can be selected according to the type of control target, and the present invention is to the type for controlling signal and without limitSystem, control signal type well known in the art may be applicable to the present invention.
In one embodiment, control signal can be generated by being programmed at device 500.Wherein, it can be usedAny suitable programming language well known in the art is programmed, for example, Java, JavaScript, C, C++, C#, PHP,Python, MATLAB etc., the present invention is to the type of programming language and is not limited.
The signal transmitting module 520 is for sending control signals to agentbased control device, wherein control signal controlOn-off action is performed a plurality of times in agentbased control device, power on/off is repeatedly carried out to control hardware device to be tested, thus to be testedHardware device carries out electrical testing up and down.
In one embodiment, the agentbased control device may include any electronic device with switching function, such asNetwork relay, triode etc..The present invention is to the type of agentbased control device and is not limited, if having switching function andThe electronic device that control signal can be received is suitable for the present invention.Preferably, the agentbased control device is network relay.
In one embodiment, the network relay may include DC network relay or AC network relay.ItsIn, the type of the network relay can be selected based on the type of hardware device to be tested, for example, if hardware to be testedEquipment is alternating current equipment, then selects AC network relay;If hardware device to be tested is DC equipment, direct current net is selectedNetwork relay.
In another embodiment, the network relay may include the network relay of any control signal type.For example,The network relay includes the network of the network relay of WiFi control, the network relay of Ethernet control or GPRS controlRelay etc..The present invention is to the control signal type of network relay and is not limited, any suitable control signal typeNetwork relay is suitable for the present invention.
In one embodiment, agentbased control device can be sent control signals to via network.Wherein, the networkIt may include the cable network and/or wireless network that can be communicated between computing devices, it is such as local area network (LAN), wideDomain net (WAN), Metropolitan Area Network (MAN) (MAN), personal area network (PAN), mobile telephone network (MTN) and its used may be cooperateed with each otherThe network of his type.Wherein, the example of the wireless network includes satellite communication, cellular communication, bluetooth, Infrared Data Association's markQuasi- (IrDA), Wireless Fidelity (WiFi) and World Interoperability for Microwave Access, WiMax (WiMAX) etc..
In another embodiment, agentbased control device may include network interface, can will control signal by the network interfaceIt is sent to agentbased control device.
Further, controlling hardware device to be tested and carrying out multiple power on/off includes: the logical of control hardware device to be testedPower off number and power off time.Wherein, the number and make-and-break time of on-off action can be preset by programming, it is logical based on thisThe number and make-and-break time of disconnected movement generate control signal, and control signal control agent control device is executed predetermined timeSeveral and make-and-break time on-off action, so that the power on/off number and power off time of hardware device to be tested are controlled, to treatIt tests hardware device and carries out electrical testing up and down.
Further, control signal control agent control device executes multiple on-off action, is set with controlling hardware to be testedIt is standby to carry out multiple power on/off, comprising: when controlling signal control agent control device execution ON Action, hardware device to be testedPower on to be powered;And control signal control agent control device execute disconnection movement when, hardware device to be tested withPower supply is disconnected to power off.
In one embodiment, agentbased control device can be to be measured to control by connecting the power supply line of hardware device to be testedTry the power on/off of hardware device.Wherein, when agentbased control device executes ON Action, it is equivalent to the electricity of hardware device to be testedSource line is connected to power supply, so that hardware device to be tested powers on;When agentbased control device executes disconnection movement, it is equivalent to be measuredThe power supply line of examination hardware device is disconnected with power supply, thus electric under hardware device to be tested.
It should be understood that agentbased control device can also control the logical of hardware device to be tested by other suitable connection typesPower-off, such as switched on-off by controlling hardware device to be tested, the invention does not limit this.
In the following, describing the system 600 according to an embodiment of the invention tested for hardware device with reference to Fig. 6.SystemSystem 600 includes storage device 610 and processor 620.Storage device 610 is stored with for realizing use according to an embodiment of the present inventionThe program code of corresponding steps in the method for hardware device test.Processor 620 in Running storage device 610 for storingProgram code and be used for executing the corresponding steps of the method according to an embodiment of the present invention for hardware device testRealize the corresponding module in the device according to an embodiment of the present invention for hardware device test.
In one embodiment, make when said program code is run by processor 620 for hardware device testSystem 600 executes following steps: receiving control signal from computing terminal;And multiple on-off is executed based on the control signal and is movedMake, carry out multiple power on/off to control hardware device to be tested, to carry out electrical testing up and down to the hardware device to be tested.
In one embodiment, the control hardware to be tested is made when said program code is run by processor 620Equipment carries out the step of multiple power on/off further include: when the power on/off number and power on/off of the control hardware device to be testedBetween.
In one embodiment, make to hold based on the control signal when said program code is run by processor 620The multiple on-off action of row, to control the step of hardware device to be tested carries out multiple power on/off further include: be based on the controlWhen signal executes ON Action, the hardware device to be tested powers on to be powered;And it is held based on the control signalWhen row disconnection acts, the hardware device to be tested and power supply are disconnected to power off.
In one embodiment, make when said program code is run by processor 620 for hardware device testThe step of system 600 executes further include: the control signal is generated by being programmed at the computing terminal.
Below with reference to the system 700 for hardware device test of Fig. 7 description according to another embodiment of the invention.SystemSystem 700 includes computing terminal 710 and agentbased control device 720.Wherein, computing terminal 710 controls signal for generating, and willControl signal is sent to agentbased control device 720.Agentbased control device 720 is used to receive control signal from the computing terminal,And multiple on-off action is executed based on control signal, multiple power on/off is carried out to control hardware device to be tested, to treatIt tests hardware device and carries out electrical testing up and down.
In one embodiment, computing terminal 710 may include any device with computing capability or equipment etc., includingBut it is not limited to desktop computer, laptop computer, mobile phone, tablet computer, personal digital assistant (PDA), PC(PC), laptop, media center, work station etc..
In one embodiment, agentbased control device 720 may include any electronic device with switching function, such as netNetwork relay, triode etc..The present invention is to the type of agentbased control device and is not limited, as long as having switching function and energyThe electronic device for receiving control signal is suitable for the present invention.Preferably, the agentbased control device is network relay.
In one embodiment, the network relay may include DC network relay or AC network relay.ItsIn, the type of the network relay can be selected based on the type of hardware device to be tested, for example, if hardware to be testedEquipment is alternating current equipment, then selects AC network relay;If hardware device to be tested is DC equipment, direct current net is selectedNetwork relay.
In another embodiment, the network relay may include the network relay of any control signal type.For example,The network relay includes the network of the network relay of WiFi control, the network relay of Ethernet control or GPRS controlRelay etc..The present invention is to the control signal type of network relay and is not limited, any suitable control signal typeNetwork relay is suitable for the present invention.
Wherein, computing terminal 710 and agentbased control device 720 can control signal by transmission of network.Wherein, the networkIt may include the cable network and/or wireless network that can be communicated between computing devices.In one embodiment, it calculatesTerminal 710 can be connected to transmit control signal with agentbased control device 720 by cable.
Wherein, controlling hardware device to be tested and carrying out multiple power on/off includes: to control the power on/off of hardware device to be testedNumber and power off time.Wherein, the number and make-and-break time of on-off action can be preset by programming, it is dynamic based on the on-offThe number and make-and-break time of work generate control signal, enable control signal control agent control device execute pre-determined number andThe on-off action of make-and-break time, so that the power on/off number and power off time of hardware device to be tested are controlled, to be testedHardware device carries out electrical testing up and down.
Wherein, control signal control agent control device executes multiple on-off action, with control hardware device to be tested intoThe multiple power on/off of row, comprising: when controlling signal control agent control device execution ON Action, hardware device to be tested is connectedPower supply is to be powered;And when controlling the execution disconnection movement of signal control agent control device, hardware device and power supply to be testedIt disconnects to power off.
In one embodiment, hardware device to be tested can be controlled by connecting the power supply line of hardware device to be testedPower on/off.Wherein, when executing ON Action, the power supply line for being equivalent to hardware device to be tested is connected to power supply, thus to be measuredExamination hardware device powers on;When executing disconnection movement, the power supply line and power supply for being equivalent to hardware device to be tested are disconnected, fromAnd it is electric under hardware device to be tested.
In addition, according to one embodiment of present invention, a kind of computer-readable medium is additionally provided, it is described computer-readableComputer program is stored on medium, when the computer program is run by computer or processor for executing according to this hairThe corresponding steps of the method for hardware device test of bright embodiment, and be used for for realizing according to an embodiment of the present inventionCorresponding module in the device of hardware device test.The computer-readable medium for example may include the storage of smart phoneCard, the storage unit of tablet computer, the hard disk of personal computer, read-only memory (ROM), Erasable Programmable Read Only Memory EPROM(EPROM), portable compact disc read-only memory (CD-ROM), USB storage or above-mentioned computer-readable medium is anyCombination.The computer-readable medium can be any combination of one or more computer-readable mediums, such as a calculatingMachine readable medium includes the computer program that control signal is received from computing terminal, another computer-readable medium includes to be based onThe control signal executes multiple on-off action, carries out multiple power on/off to control hardware device to be tested, thus to it is described toTest the computer program that hardware device carries out electrical testing up and down.
Method, apparatus, system and computer-readable medium according to an embodiment of the present invention for hardware device test,By indirectly controlling the powering on of hardware device to be tested, lower electricity, avoiding the power supply line by plugging hardware device or grasping repeatedlyMaking the switch on hardware device makes hardware device power-on and power-off, can effectively prevent the loss to the power supply line or switch of hardware device;Moreover, can be by programming automatic realization control process, and power-on and power-off time and the on-off time of hardware device can be automatically controlledNumber, manually controls without user, simple to operate, efficient, saves manpower.
Although describing example embodiment by reference to attached drawing here, it should be understood that above example embodiment are only exemplary, and be not intended to limit the scope of the invention to this.Those of ordinary skill in the art can carry out various changes whereinAnd modification, it is made without departing from the scope of the present invention and spiritual.All such changes and modifications are intended to be included in appended claimsWithin required the scope of the present invention.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosureMember and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actuallyIt is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technicianEach specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceedThe scope of the present invention.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through itIts mode is realized.For example, apparatus embodiments described above are merely indicative, for example, the division of the unit, onlyOnly a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tiedAnother equipment is closed or is desirably integrated into, or some features can be ignored or not executed.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the inventionExample can be practiced without these specific details.In some instances, well known method, structure is not been shown in detailAnd technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of the various inventive aspects,To in the description of exemplary embodiment of the present invention, each feature of the invention be grouped together into sometimes single embodiment, figure,Or in descriptions thereof.However, the method for the invention should not be construed to reflect an intention that i.e. claimedThe present invention claims features more more than feature expressly recited in each claim.More precisely, such as corresponding powerAs sharp claim reflects, inventive point is that the spy of all features less than some disclosed single embodiment can be usedSign is to solve corresponding technical problem.Therefore, it then follows thus claims of specific embodiment are expressly incorporated in this specificEmbodiment, wherein each, the claims themselves are regarded as separate embodiments of the invention.
It will be understood to those skilled in the art that any combination pair can be used other than mutually exclusive between featureAll features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed any methodOr all process or units of equipment are combined.Unless expressly stated otherwise, this specification (is wanted including adjoint rightAsk, make a summary and attached drawing) disclosed in each feature can be replaced with an alternative feature that provides the same, equivalent, or similar purpose.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodimentsIn included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the inventionWithin the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of anyCan in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processorsSoftware module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practiceMicroprocessor or digital signal processor (DSP) realize some moulds in article analytical equipment according to an embodiment of the present inventionThe some or all functions of block.The present invention is also implemented as a part or complete for executing method as described hereinThe program of device (for example, computer program and computer program product) in portion.It is such to realize that program of the invention can storeOn a computer-readable medium, it or may be in the form of one or more signals.Such signal can be from internetDownloading obtains on website, is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and abilityField technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of notElement or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple suchElement.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer realIt is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branchTo embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fameClaim.
The above description is merely a specific embodiment or to the explanation of specific embodiment, protection of the inventionRange is not limited thereto, and anyone skilled in the art in the technical scope disclosed by the present invention, can be easilyExpect change or replacement, should be covered by the protection scope of the present invention.Protection scope of the present invention should be with claimSubject to protection scope.

Claims (13)

CN201811622844.4A2018-12-282018-12-28Method, apparatus, system and computer-readable medium for hardware device testPendingCN109857599A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811622844.4ACN109857599A (en)2018-12-282018-12-28Method, apparatus, system and computer-readable medium for hardware device test

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811622844.4ACN109857599A (en)2018-12-282018-12-28Method, apparatus, system and computer-readable medium for hardware device test

Publications (1)

Publication NumberPublication Date
CN109857599Atrue CN109857599A (en)2019-06-07

Family

ID=66892947

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811622844.4APendingCN109857599A (en)2018-12-282018-12-28Method, apparatus, system and computer-readable medium for hardware device test

Country Status (1)

CountryLink
CN (1)CN109857599A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110569158A (en)*2019-08-302019-12-13东莞记忆存储科技有限公司method and device for testing abnormal power failure in SSD random scene and computer equipment
CN110988540A (en)*2019-12-122020-04-10山东有人信息技术有限公司Automatic power-on and power-off testing system of Internet of things communication equipment
WO2021082110A1 (en)*2019-10-312021-05-06江苏华存电子科技有限公司Power-down pressure testing method for flash memory storage device
CN116010185A (en)*2023-03-222023-04-25合肥联宝信息技术有限公司Equipment testing method, server, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102255774A (en)*2011-06-282011-11-23迈普通信技术股份有限公司Test system and test method for switch-on and switch-off of communication device as well as fault location method
CN103559128A (en)*2013-10-282014-02-05深圳市宏电技术股份有限公司Power-on and power-off test circuit and power-on and power-off test device
CN107179972A (en)*2016-03-092017-09-19北京京东尚科信息技术有限公司For the method for calculation machine, microcontroller, test equipment and test system
CN108562805A (en)*2018-01-032018-09-21威创集团股份有限公司A kind of interactive mode break-make electric test device, system and method
CN207992348U (en)*2018-03-222018-10-19漳州万利达科技有限公司A kind of electronic product auto switching electric test device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102255774A (en)*2011-06-282011-11-23迈普通信技术股份有限公司Test system and test method for switch-on and switch-off of communication device as well as fault location method
CN103559128A (en)*2013-10-282014-02-05深圳市宏电技术股份有限公司Power-on and power-off test circuit and power-on and power-off test device
CN107179972A (en)*2016-03-092017-09-19北京京东尚科信息技术有限公司For the method for calculation machine, microcontroller, test equipment and test system
CN108562805A (en)*2018-01-032018-09-21威创集团股份有限公司A kind of interactive mode break-make electric test device, system and method
CN207992348U (en)*2018-03-222018-10-19漳州万利达科技有限公司A kind of electronic product auto switching electric test device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110569158A (en)*2019-08-302019-12-13东莞记忆存储科技有限公司method and device for testing abnormal power failure in SSD random scene and computer equipment
WO2021082110A1 (en)*2019-10-312021-05-06江苏华存电子科技有限公司Power-down pressure testing method for flash memory storage device
CN110988540A (en)*2019-12-122020-04-10山东有人信息技术有限公司Automatic power-on and power-off testing system of Internet of things communication equipment
CN116010185A (en)*2023-03-222023-04-25合肥联宝信息技术有限公司Equipment testing method, server, terminal equipment and storage medium

Similar Documents

PublicationPublication DateTitle
CN109857599A (en)Method, apparatus, system and computer-readable medium for hardware device test
CN109684146A (en)Upper and lower electric test method, device, system and processing equipment
KR101729019B1 (en)Power management apparatus, power management system having power management apparatus and method for controlling the same
US8812979B2 (en)Feature license management system
EP2911036A1 (en)Method and apparatus for power sharing
CN108733005A (en)A kind of method and device of control smart machine linkage
EP3722820B1 (en)Test board, test system and test method for charging device
CN104463450A (en)Order processing method and device
CN104144109A (en)Equipment control method, device and system
CN109542443A (en)Compilation Method and device, terminal, the data processing method of application program
CN107870271A (en) Automated testing method and device
US11054794B2 (en)Information transmitting method, cloud service platform and a smart system for analyzing user data or smart home appliance data
CN109885457A (en)Indicate lamp control method, electronic equipment and computer readable storage medium
KR20160143456A (en)System and User Terminal having Power Managing Function, and Method for Managing Power thereof
CN212513656U (en)Intelligent lock test system
JP2017207327A (en)Measured data processing device, measurement system, and program for processing measured data
EP2930616B1 (en)Device and method for generating application package
CN104378143A (en)Method and device for data transmission between instrument and mobile terminal and instrument
CN103795857B (en)Information processing method and electronic equipment
CN105717437A (en)Control panel automatic test system and method
CN104717093B (en)Method for managing an electrical device and a system for managing such a device
CN107886180A (en)Boat department creates single interface monitoring method, apparatus, electronic equipment, storage medium
CN110988462A (en)Electricity-taking switch and electric quantity measuring method
US9836037B2 (en)Managing power emission to electrical appliances
CN114168962B (en) Method, device, terminal device and storage medium for obtaining vulnerability data

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20190607


[8]ページ先頭

©2009-2025 Movatter.jp