CN113127279B - Device and method for testing cyclic startup and shutdown and storage medium - Google Patents

Device and method for testing cyclic startup and shutdown and storage medium Download PDF

Info

Publication number
CN113127279B
CN113127279B CN202110383104.5A CN202110383104A CN113127279B CN 113127279 B CN113127279 B CN 113127279B CN 202110383104 A CN202110383104 A CN 202110383104A CN 113127279 B CN113127279 B CN 113127279B
Authority
CN
China
Prior art keywords
relay
intelligent watch
state
watch
set time
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.)
Active
Application number
CN202110383104.5A
Other languages
Chinese (zh)
Other versions
CN113127279A (en
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.)
Shanghai Search Information Technology Co ltd
Original Assignee
Shanghai Search Information 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 Shanghai Search Information Technology Co ltd filed Critical Shanghai Search Information Technology Co ltd
Priority to CN202110383104.5A priority Critical patent/CN113127279B/en
Publication of CN113127279A publication Critical patent/CN113127279A/en
Application granted granted Critical
Publication of CN113127279B publication Critical patent/CN113127279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/2284Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
    • GPHYSICS
    • G04HOROLOGY
    • G04DAPPARATUS OR TOOLS SPECIALLY DESIGNED FOR MAKING OR MAINTAINING CLOCKS OR WATCHES
    • G04D7/00Measuring, counting, calibrating, testing or regulating apparatus
    • G04D7/002Electrical measuring and testing apparatus
    • G04D7/003Electrical measuring and testing apparatus for electric or electronic clocks

Landscapes

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

Abstract

The invention provides a device, a method and a storage medium for testing the startup and shutdown of a circulation, which are applied to an intelligent watch and comprise the following steps: the input end of the relay is connected with a power supply, and the output end of the relay is connected with an intelligent watch switch; the anode of the intelligent watch battery is connected with the cathode of the input end of the relay, and the cathode of the battery is connected with the cathode of the power supply; the control module is connected with the relay and used for controlling the relay to be in a switching-on or switching-off state according to preset test parameter information; when the relay is in a conducting state, the power supply is input to the intelligent watch through the relay so as to enable the intelligent watch to be in a starting state; when the relay is in an off state, the intelligent watch is in a shutdown state; the output end of the relay is electrified for a first set time, so that the intelligent watch is started; after the second set time, the input end of the relay is powered off, and the watch is powered off. The device for testing the cyclic on-off machine can save time and labor and improve the testing efficiency.

Description

Device and method for testing cyclic startup and shutdown and storage medium
Technical Field
The embodiment of the invention relates to the technical field of intelligent terminals, in particular to a device and a method for testing the startup and shutdown of a cycle and a storage medium.
Background
Because the intelligent watch can generate certain current and voltage impact at the moment of powering ON and powering OFF so as to influence the service life and the reliability of the intelligent watch, an experiment called ON/OFF (ON/OFF) experiment is arranged in the reliability verification of the intelligent watch, and the aim is to verify the reliability and the product service life of the intelligent watch under the condition of continuous switching ON/OFF state conversion.
At present, the existing on/off experiment equipment is complex to operate and high in price, and many functions of the existing on/off experiment equipment are not close to the actual application condition, so that many functions are not reasonably utilized, and resource idle condition occurs.
The intelligent watch requires thousands of times of ON-OFF times in the ON/OFF (ON/OFF) experiment process, and is powered ON and OFF manually, so that the intelligent watch is time-consuming and labor-consuming, and has low testing efficiency. Therefore, it is necessary to provide a simple and convenient device for testing the on-off of the cycle machine, which can save time and labor.
Disclosure of Invention
The invention aims to solve the technical problem of providing a circulating startup and shutdown testing device which can save time and labor and improve the testing efficiency.
The invention provides a cyclic startup and shutdown testing device, which is applied to an intelligent watch and comprises:
the input end of the relay is connected with a power supply, and the output end of the relay is connected with an intelligent watch switch;
the anode of the intelligent watch battery is connected with the cathode of the input end of the relay, and the cathode of the battery is connected with the cathode of the power supply;
the control module is connected with the relay and used for controlling the relay to be in a switching-on or switching-off state according to preset test parameter information;
when the relay is in a conducting state, the power supply is input to the intelligent watch through the relay so as to enable the intelligent watch to be in a starting state;
when the relay is in an off state, the intelligent watch is in a shutdown state;
the output end of the relay is electrified for a first set time, so that the intelligent watch is started;
after the second set time, the input end of the relay is powered off, and the watch is powered off.
The cyclic on-off test device has the beneficial effects that the input end of the relay is connected with a power supply, and the output end of the relay is connected with an intelligent watch switch; the control module controls the relay to be in a conducting state or a switching-off state according to preset test parameter information, when the relay is in the conducting state, the power supply is input to the intelligent watch through the relay, so that the intelligent watch is in a starting state, when the relay is in the switching-off state, the intelligent watch is in a switching-off state, so that the relay works by setting corresponding test parameters for the control module, the intelligent watch on-off test can be automatically realized, the relay input end is electrified for a certain time to be started, the relay output end is powered off after a certain time, and the watch is switched off after a certain time, so that the effect of automatic on-off and off is achieved repeatedly. Time and labor can be saved, and the testing efficiency is improved.
Preferably, the preset test parameter information includes: the first setting time and the second setting time and the switching times information.
Preferably, the first set time is key time when the smart watch is started.
Preferably, the second set time is a normal time from the start of the key to the normal start-up interface.
Preferably, the first time is 5 seconds and the second time is 30 seconds.
Preferably, the method further comprises: the display module is used for displaying the test state and the test parameter information, and is connected with the control module.
The invention also provides a cyclic on-off test method which is applied to the cyclic on-off test device and comprises the following steps:
the output end of the relay is electrified for a first set time, so that the intelligent watch is started;
after the second set time, the input end of the relay is powered off, and the watch is powered off;
the above steps are circularly performed.
The method for testing the circulating switch machine has the beneficial effects that the input end of the relay is connected with a power supply, and the output end of the relay is connected with an intelligent watch switch; the control module controls the relay to be in a conducting state or a switching-off state according to preset test parameter information, when the relay is in the conducting state, the power supply is input to the intelligent watch through the relay, so that the intelligent watch is in a starting state, when the relay is in the switching-off state, the intelligent watch is in a switching-off state, so that the relay works by setting corresponding test parameters for the control module, the intelligent watch on-off test can be automatically realized, the relay input end is electrified for a certain time to be started, the relay output end is powered off after a certain time, and the watch is switched off after a certain time, so that the effect of automatic on-off and off is achieved repeatedly. Time and labor can be saved, and the testing efficiency is improved.
Preferably, after the step of circularly executing the cycle on/off test reaches the set times, the test result is displayed.
The invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the above-described cycle on-off test method.
The computer readable storage medium has the beneficial effects that the input end of the relay is connected with a power supply, and the output end of the relay is connected with an intelligent watch switch; the control module controls the relay to be in a conducting state or a switching-off state according to preset test parameter information, when the relay is in the conducting state, the power supply is input to the intelligent watch through the relay, so that the intelligent watch is in a starting state, when the relay is in the switching-off state, the intelligent watch is in a switching-off state, so that the relay works by setting corresponding test parameters for the control module, the intelligent watch on-off test can be automatically realized, the relay input end is electrified for a certain time to be started, the relay output end is powered off after a certain time, and the watch is switched off after a certain time, so that the effect of automatic on-off and off is achieved repeatedly. Time and labor can be saved, and the testing efficiency is improved.
Drawings
Fig. 1 is a schematic diagram of a cyclic power on/off test device according to an embodiment of the invention.
Reference numerals illustrate:
101. a wristwatch;
102. a relay;
103. a power supply;
104. an input of the relay;
105. an output end of the relay;
106. and a battery.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a schematic diagram of a cyclic power on/off test device according to an embodiment of the present invention, where the cyclic power on/off test device is applied to a smart watch 101, and includes:
the input end 104 of the relay 102 is connected with the power supply 103, and the output end 105 of the relay 102 is connected with the switch of the intelligent watch 101;
the positive electrode of the battery of the intelligent watch 101 is connected with the negative electrode of the input end 104 of the relay 102, and the negative electrode of the battery is connected with the negative electrode of the power supply 103;
the control module is connected with the relay 102 and controls the relay 102 to be in a switching-on or switching-off state according to preset test parameter information;
the preset test parameter information comprises: the first setting time and the second setting time and the switching times information.
When the relay 102 is in a conducting state, the power supply 103 is input to the smart watch 101 through the relay 102 so as to enable the smart watch 101 to be in a starting state;
when the relay 102 is in an off state, the smart watch 101 is in an off state;
the output end 105 of the relay 102 is electrified for a first set time, so that the intelligent watch 101 is started; the first set time is a key time when the smart watch 101 is started, and the first set time may be set according to actual situations, and in this embodiment, is 5 seconds.
After a second set time, input 104 of relay 102 is de-energized and watch 101 is powered off. The second set time is a normal time from the start of the key to the normal start interface, and the second set time may be set according to actual conditions, and in this embodiment is 30 seconds.
The test device further comprises a display module, wherein the display module is used for displaying the test state and the test parameter information, and the display module is connected with the control module.
The input end 104 of the relay 102 of the cyclic switching-on and switching-off test device is connected with a power supply 103, and the output end 105 of the relay 102 is connected with a switch of the intelligent watch 101; the control module controls the relay 102 to be in a conducting state or a switching-off state according to preset test parameter information, when the relay 102 is in the conducting state, the power supply 103 is input to the intelligent watch 101 through the relay 102, so that the intelligent watch 101 is in a starting state, when the relay 102 is in the switching-off state, the intelligent watch 101 is in a switching-off state, so that the relay 102 works by setting corresponding test parameters for the control module, the switching-on and switching-off test of the intelligent watch 101 can be automatically realized, the input end 104 of the relay 102 is electrified for a certain time, the output end 105 of the relay 102 is powered off, the watch 101 is switched off after a certain time, and the effect of automatic switching-on and switching-off is achieved in a cyclic repetition. Time and labor can be saved, and the testing efficiency is improved.
Example two
The invention discloses a cyclic startup and shutdown testing device, which comprises the following steps:
s101, electrifying an output end 105 of a relay 102 for a first set time to realize starting up of the intelligent watch 101;
the first set time is a key time when the smart watch 101 is started, and the first set time may be set according to actual situations, and in this embodiment, is 5 seconds.
S102, after a second set time, the input end 104 of the relay 102 is powered off, and the watch 101 is powered off;
the second set time is a normal time from the start of the key to the normal start interface, and the second set time may be set according to actual conditions, and in this embodiment is 30 seconds.
S103, circularly executing the steps S101-S102.
S104, after the cyclic on-off test step is circularly executed for the set times, the test result is displayed.
The display module is used for displaying the test state and the test parameter information, and is connected with the control module.
Example III
Embodiments of the present invention provide a storage medium containing computer-executable instructions that, when executed by a computer processor, are used to perform the aforementioned power-on-off cycling method.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The foregoing description is only of the preferred embodiments of the invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (7)

1. The utility model provides a circulation switch-on and switch-off testing arrangement, is applied to intelligent wrist-watch, its characterized in that includes:
the input end of the relay is connected with a power supply, and the output end of the relay is connected with an intelligent watch switch;
the anode of the intelligent watch battery is connected with the cathode of the input end of the relay, and the cathode of the battery is connected with the cathode of the power supply;
the control module is connected with the relay and used for controlling the relay to be in a switching-on or switching-off state according to preset test parameter information;
when the relay is in a conducting state, the power supply is input to the intelligent watch through the relay so as to enable the intelligent watch to be in a starting state;
when the relay is in an off state, the intelligent watch is in a shutdown state;
the output end of the relay is electrified for a first set time, so that the intelligent watch is started;
after the second set time, the input end of the relay is powered off, and the watch is powered off;
the first set time is key time when the intelligent watch is started; and the second set time is the normal time from the key to the normal starting interface.
2. The cyclic power on/off test device according to claim 1, wherein,
the preset test parameter information comprises: the first setting time and the second setting time and the switching times information.
3. The cyclic power on/off test device according to claim 1, wherein,
the first set time is 5 seconds, and the second set time is 30 seconds.
4. The cycle power on/off test apparatus as recited in claim 3, further comprising:
the display module is used for displaying the test state and the test parameter information, and is connected with the control module.
5. A method for testing the startup and shutdown of a cycle, which is applied to the device for testing the startup and shutdown of the cycle of any one of claims 1 to 4, is characterized in that,
the method comprises the following steps:
the output end of the relay is electrified for a first set time, so that the intelligent watch is started;
after the second set time, the input end of the relay is powered off, and the watch is powered off;
the above steps are circularly performed.
6. The method for testing the startup and shutdown of a vehicle according to claim 5,
and after the cyclic start-up and shut-down testing step is circularly executed for the set times, displaying a testing result.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that,
the program when executed by a processor implements the cyclic power-on test method as claimed in any one of claims 5-6.
CN202110383104.5A 2021-04-09 2021-04-09 Device and method for testing cyclic startup and shutdown and storage medium Active CN113127279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110383104.5A CN113127279B (en) 2021-04-09 2021-04-09 Device and method for testing cyclic startup and shutdown and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110383104.5A CN113127279B (en) 2021-04-09 2021-04-09 Device and method for testing cyclic startup and shutdown and storage medium

Publications (2)

Publication Number Publication Date
CN113127279A CN113127279A (en) 2021-07-16
CN113127279B true CN113127279B (en) 2023-11-28

Family

ID=76775714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110383104.5A Active CN113127279B (en) 2021-04-09 2021-04-09 Device and method for testing cyclic startup and shutdown and storage medium

Country Status (1)

Country Link
CN (1) CN113127279B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526585A (en) * 2008-03-07 2009-09-09 佛山市顺德区顺达电脑厂有限公司 Automatic switching test system and method
CN102375766A (en) * 2010-08-16 2012-03-14 鸿富锦精密工业(深圳)有限公司 On-off test device and method for electronic device
CN104111390A (en) * 2014-07-03 2014-10-22 北京京东方专用显示科技有限公司 Device for realizing automatic powering-on/off test

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201241618A (en) * 2011-04-13 2012-10-16 Hon Hai Prec Ind Co Ltd Apparatus and method for testing turn on/off of hard disk array
US11016128B2 (en) * 2017-12-08 2021-05-25 Jeff R. Magno Method and apparatus for electrical line testing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526585A (en) * 2008-03-07 2009-09-09 佛山市顺德区顺达电脑厂有限公司 Automatic switching test system and method
CN102375766A (en) * 2010-08-16 2012-03-14 鸿富锦精密工业(深圳)有限公司 On-off test device and method for electronic device
CN104111390A (en) * 2014-07-03 2014-10-22 北京京东方专用显示科技有限公司 Device for realizing automatic powering-on/off test

Also Published As

Publication number Publication date
CN113127279A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN105676987A (en) Method for shutting down background application of mobile terminal, device and mobile terminal
CN102185972B (en) Novel mobile terminal software upgrading system and method as well as mobile terminal
CN112787374A (en) Charging system, electronic device and charging control method thereof
CN113127279B (en) Device and method for testing cyclic startup and shutdown and storage medium
CN112596651B (en) Acceptance method, device, equipment and storage medium for power distribution terminal debugging
CN114537146B (en) Vehicle control method and device, electronic equipment and storage medium
CN113672070A (en) Start-stop control method and device for transport mode and electronic equipment
US9007032B2 (en) Control method for charging terminal and apparatus thereof
CN112114901A (en) Standby control circuit, method, device and storage medium
CN108694824B (en) Control method and system of energy-saving Bluetooth switch for electric equipment in office area
CN104348140A (en) Low electric quantity prompting method and electronic equipment
CN204179396U (en) Intelligence power off socket system
CN112924875B (en) Battery detection method and device and electronic equipment
CN116027226A (en) Component testing method and device, electronic equipment and storage medium
CN201234149Y (en) Standby emergency electric power system for portable electronic apparatus
CN115437865A (en) Method, device, equipment and medium for testing abnormal power failure of hard disk
CN112732068B (en) Standby low-power-consumption chip and method for enabling chip to enter and exit standby low-power-consumption mode
CN107741865B (en) Standby system capable of self-awakening and standby method
US8598742B2 (en) Server and method for detecting work state of power transformers
CN112349987B (en) Starting method, device, equipment and storage medium of temperature control system of battery cell
CN113619391B (en) Power management method and power manager
CN114268146B (en) Power supply device and method for electronic instrument in low-temperature environment
CN115940277B (en) Energy scheduling method, device, electronic equipment and readable storage medium
CN111949105B (en) System starting circuit of handheld terminal based on high-voltage battery power supply
CN110209075B (en) Switch control method and device

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
GR01 Patent grant
GR01 Patent grant