CN110297733A - A kind of peripheral equipment integrated control method and system - Google Patents

A kind of peripheral equipment integrated control method and system Download PDF

Info

Publication number
CN110297733A
CN110297733A CN201910547919.5A CN201910547919A CN110297733A CN 110297733 A CN110297733 A CN 110297733A CN 201910547919 A CN201910547919 A CN 201910547919A CN 110297733 A CN110297733 A CN 110297733A
Authority
CN
China
Prior art keywords
peripheral equipment
equipment
peripheral
test
card
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
CN201910547919.5A
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.)
HEFEI YIDUAN COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
HEFEI YIDUAN COMMUNICATION 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 HEFEI YIDUAN COMMUNICATION TECHNOLOGY Co Ltd filed Critical HEFEI YIDUAN COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN201910547919.5A priority Critical patent/CN110297733A/en
Publication of CN110297733A publication Critical patent/CN110297733A/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/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

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

Abstract

The invention discloses a kind of peripheral equipment integrated control method and systems, belong to peripheral equipment the field of test technology, comprising the following steps: S1: by peripheral equipment centralized control;S2: selection needs peripheral equipment to be used;S3: associated peripheral is opened;S4: it is accordingly tested.In the step S1, all peripheral equipments include SIM card, SD card and USB line, the SIM card, and SD card is used to carry out corresponding test job with USB line.Peripheral equipment concentration integrated control is advantageously reduced the damage of test equipment by the present invention, the investment of manpower in test process can be efficiently reduced using the opening and closing of controller control peripheral equipment, the requirement for needing to be plugged in automatic test course to peripheral equipment can also easily be met, more scenes can be simulated in automatic test course, be worth being used more widely.

Description

A kind of peripheral equipment integrated control method and system
Technical field
The present invention relates to peripheral equipment the field of test technology, and in particular to a kind of peripheral equipment integrated control method and is System.
Background technique
External equipment referred to as " peripheral equipment ", refers to the hardware device being connected in other than main frame.To data and information Play a part of transmission, transfer and storage, is the important component in computer system.
Since external equipment is many kinds of, some equipment has multiple functions concurrently, up to the present, is difficult to make external equipment Accurately classification out.According to the difference of function, it can substantially be divided into input equipment, display equipment, printing device, external memory With five major class of the network equipment.Input equipment (InputDevice) is people or a kind of external device interacted with computer, is used In initial data and handle these data program be input in computer.Present computer can receive various Data, either the data of numeric type, are also possible to the data of various nonumeric types, such as figure, image, sound are ok It is input in computer by different types of input equipment, is stored, handled and exported;It is shown in computer output equipment Show that equipment is equivalent to our eyes, we it is to be understood that operation it is whether correct, the result is that, usually all by display equipment come Observation.At present computer display apparatus mainly there is CRT monitor, LCD to show, plasma display and projector.And it is used for micro- Mainly CRT monitor and LCD display in type computer;Printer (printer) is one of output equipment of computer, Number, letter, symbol and the figure etc. that the operation result of computer or intermediate result can be identified with people, according to defined lattice Formula is imprinted on the equipment on paper;External memory is instructed for storing not direct those of contact with arithmetic unit in computer With the equipment of the information such as data;For high speed, information transmission is accurately carried out, reaches resource-sharing, improves the utilization of computer Many computer systems are often linked to be computer network by special equipment and communication line by rate, these special equipment It is exactly the network equipment with communication line.
When carrying out dependence test to peripheral equipment, existing solution is generally by mechanical arm analog peripherals equipment Swapping process on computers, such test mode cost is more high, and controls not convenient enough, another kind solution Certainly scheme is to be plugged by tester's manual operation to peripheral equipment, and such test mode is often required to expend a large amount of Manpower, it is therefore proposed that a kind of peripheral equipment integrated control method and system.
Summary of the invention
Technical problem to be solved by the present invention lies in: how more easily centralized control peripheral equipment carries out dependence test Work, provides a kind of peripheral equipment integrated control method, the process employs carrying out central controlled mode to peripheral equipment, By manually selecting or automatically selecting the peripheral equipment of needs and open associated peripheral by controller, thus completion pair Peripheral equipment concentration integrated control is advantageously reduced the damage of test equipment, makes to test by the test job of specified peripheral equipment Process becomes simpler convenience.
The present invention be by the following technical programs solution above-mentioned technical problem, the present invention the following steps are included:
S1: by peripheral equipment centralized control
The connection switch component on the supply lines and handshake line of each peripheral equipment, utilizes controller control switch The on-off of element, corresponding peripheral equipment, which powers on, shakes hands, to realize to peripheral equipment centralized control, by all peripheral equipment collection In be connected together and with controller, advantageously reduce the damage of test equipment, on one piece of PCB distinguish normal weld USB The VCC supply lines of interface, SD card seat, SIM card holder, each interface and deck connects upper switch element with handshake line, control The GPIO mouth of device is by the closure of control switch element to control VCC supply lines and the communications and liaison with handshake line, accordingly The external equipments such as USB line, SD card and SIM card will be powered on to be connect with development board or need mobile phone to be tested or module;
S2: selection needs peripheral equipment to be used
Traversal is confirmed whether to need each peripheral equipment, needs then to pass through when the peripheral equipment and manually select or automatically select Selection mode selected, otherwise do not select the peripheral equipment, the mode either manually or automatically selected selects periphery to set It is standby, it can satisfy the test request of different tests or different testers in this way, test process made to become more flexible;
When manually selecting, the equipment needed is selected according to demand,
When automatic control, by required external equipment in program pass test case, the corresponding equipment of selection is specified;
S3: associated peripheral is opened
When automatic control, controller control switch element conductive VCC supply lines and handshake line will select in step S2 The peripheral equipment selected is connected and is opened.
When manually controlling, conducting VCC supply lines and handshake line are turned on the switch manually, it is outer by what be selected in step S2 Peripheral equipment is connected and is opened.
The investment of manpower in test process can be efficiently reduced using the opening and closing of controller control peripheral equipment, it can be with Easily meet the requirement for needing to be plugged in automatic test course to peripheral equipment, for example, simulation to SIM card, SD card with Peripheral equipment concentration integrated control is advantageously reduced the damage of test equipment by the plug of USB line etc. in this way, such as SIM card is inserted Slot, SD card slot and USB interface etc., and more scenes can be simulated in automatic test course, make to test Process becomes simpler;
S4: it is accordingly tested
After peripheral equipment in step S3 is opened successfully, test job is carried out after peripheral equipment is connect with main equipment.
Preferably, in the step S1, peripheral equipment includes the external equipments such as SIM card, SD card and USB line, the SIM Card, SD card are respectively used to carry out corresponding test job with USB line.
Preferably, in the step S3, controller be selected from STM32 series monolithic, raspberry pie controller with MircoPython chip etc. has can be with the chip of process control output signal.
Preferably, in the step S2, test program is installed in the equipment such as computer, test program is realized to survey Examination needs the work that automatically selects of peripheral equipment to be used, after startup program, can according to instruction to peripheral equipment carry out from Dynamic selection, according to test case needs, the peripheral hardware that traversal selection needs to connect passes through control process control controller output letter Number, to control the opening and closing of specified SIM card, the VCC supply lines of SD card or handshake line, realizing is needing main equipment to be tested just The degree of automation of test job can be improved in these external equipments of true carry, such test mode.
Preferably, the switch element is selected as the chip that relay, field-effect tube, triode etc. have switching function, The main equipment is development board, module, any in mobile phone.
Preferably, the controller is by controlling the level height of the control signal receiving end of relay, to control each The on-off of a peripheral equipment supply lines or handshake line, the USB line, SD card and SIM card are by respective supply lines or shake hands The on-off realization of signal wire and being connected and disconnected from for computer.
Preferably, the control process are as follows:
SIM card is first selected, and selects its operator;
Reselection SD card;
Then USB device is selected;
The on-off of relay is controlled by STM32 series monolithic, to open selected peripheral equipment, will selected Peripheral equipment be connected with main equipment;
After successful connection, dependence test work is carried out to main equipment.
Preferably, the relay passes through the on-off of the supply lines of control USB device, to simulate USB device from computer Upper plug makes computer correctly identify and disconnect USB device.
Preferably, in the step S1, USB interface, SD card seat, SIM card holder are respectively welded on pcb board, described Connect relay on USB interface, SD card seat, the supply lines of SIM card holder and handshake line, by the connection of the GPIO mouth of controller after The control signal receiving end of electric appliance, controller draw high corresponding GPIO mouthfuls of level, are closed relay normally open mouth, corresponding USB Line, SD card and SIM card power on, and correctly shake hands and connect with main equipment.
The present invention also provides a kind of peripheral equipment integrated control systems, comprising:
Peripheral module is concentrated, for concentrating in together all peripheral equipments and being connected with controller, by controlling Device carries out the opening and closing of all peripheral equipments, can be efficiently reduced in test process using the opening and closing of controller control peripheral equipment The investment of manpower can also easily meet the requirement for needing to be plugged in automatic test course to peripheral equipment;
Peripheral equipment selecting module needs to make for the selection mode selection test by manually selecting or automatically selecting Peripheral equipment;
Peripheral equipment opening and closing module is opened for opening or closing specified peripheral equipment using controller by controller Associated peripheral advantageously reduces the damage of test equipment;
Test module after opening successfully for peripheral equipment, peripheral equipment is connect with main equipment and carries out dependence test;
Central control module is instructed for issuing to other modules, completes relevant action;
The concentration peripheral module, peripheral equipment selecting module, peripheral equipment opening and closing module, test module are in Entreat control module electrical connection.
The present invention has the advantage that peripheral equipment integrated control method and system of the invention compared with prior art, by Central controlled mode is carried out to peripheral equipment in using, by manually selecting or automatically selecting the peripheral equipment of needs simultaneously Associated peripheral is opened by controller, to complete the test job to specified peripheral equipment, peripheral equipment is concentrated and is collected The damage, such as SIM card slot, SD card slot and USB interface etc. that test equipment is advantageously reduced at control, utilize controller control The opening and closing of peripheral equipment processed can efficiently reduce the investment of manpower in test process, can also easily meet automatic test The requirement plugged to peripheral equipment is needed in the process, such as simulates the plug to SIM card, SD card and USB line etc., it can be right More scenes are simulated in automatic test course, test process is made to become simpler, are worth being used more widely.
Detailed description of the invention
Fig. 1 is the flow diagram of control method in the embodiment of the present invention one;
Fig. 2 is the implementation principle figure in the embodiment of the present invention two;
Fig. 3 is the catenation principle figure that the embodiment of the present invention two relays Electrical Appliances & Control device.
Specific embodiment
It elaborates below to the embodiment of the present invention, the present embodiment carries out under the premise of the technical scheme of the present invention Implement, the detailed implementation method and specific operation process are given, but protection scope of the present invention is not limited to following implementation Example.
Embodiment one
As shown in Figure 1, the present embodiment provides a kind of technical solutions: a kind of peripheral equipment integrated control method, including it is following Step:
S1: by peripheral equipment centralized control
All peripheral equipments are concentrated in together and are connected with controller, after peripheral equipment is concentrated in together and are passed through Controller controls it, and advantageously reduces the damage of test equipment, and peripheral equipment includes SIM card, SD card and USB line, institute SIM card is stated, SD card is used to carry out corresponding test job with USB line, and normal weld USB interface, SD are distinguished on one piece of PCB Deck, SIM card holder connect a relay, the GPIO mouth company of controller on the VCC supply lines and handshake line of each interface The control signal receiving end of contact relay, controller draw high corresponding GPIO mouthfuls of level, are closed relay normally open mouth, accordingly USB line, SD card and SIM card will power on, and correctly shake hands and connect with main equipment;
S2: selection needs peripheral equipment to be used
Peripheral equipment to be used is needed by the selection mode selection test for manually selecting or automatically selecting, by manual Perhaps the mode automatically selected selects peripheral equipment in this way and can satisfy different tests or the test of different testers to want It asks, test process is made to become more flexible;
S3: associated peripheral is opened
Peripheral equipment selected in step s 2 is opened using controller, utilizes the opening and closing of controller control peripheral equipment The investment of manpower in test process can be efficiently reduced, can also easily meet in automatic test course and need to periphery The requirement that equipment is plugged, such as the plug to SIM card, SD card and USB line etc. is simulated, peripheral equipment is concentrated so integrated Control advantageously reduces damage, such as SIM card slot, SD card slot and USB interface of test equipment etc., and can be to automatic Change and more scenes are simulated in test process, test process is made to become simpler;
S4: it is accordingly tested
After peripheral equipment in step S3 is opened successfully, peripheral equipment is connect with main equipment and carries out dependence test.
In the step S1, normal weld USB interface, SD card seat, SIM card holder, each interface are distinguished on one piece of PCB VCC supply lines on connect a relay, the control signal receiving end of the GPIO mouth connection relay of controller, controller drawing High corresponding GPIO mouthful of level, makes relay normally open mouth closure, corresponding USB line, SD card and SIM card will on be electrically connected.
In the step S2, test program is installed on computers, test program is for completing to entire test work The automatic control of work after startup program, can automatically select peripheral equipment according to instruction, according to test case need It wants, the peripheral hardware that traversal selection needs to connect, by controlling process control controller output signal, to control specified SIM card, SD The opening and closing of the VCC line and handshake line of card, realizing needs these external equipments of the correct carry of main equipment to be tested.It needs to make Peripheral equipment is determined by the test content accordingly tested, for example, just selecting SIM card when testing SIM card.? Test program is installed, test program is for completing the automatic control to entire test job, after startup program, just on computer Peripheral equipment can be automatically selected according to instruction, the degree of automation of test job can be improved in such test mode.
In the step S3, controller is STM32 series monolithic, raspberry pie controller and Mircophthon chip It can be with the chip of process control output signal Deng having.
The controller controls the logical of each VCC supply lines or handshake line by the communications and liaison of control relay Disconnected, the USB line, SD card and SIM card pass through the on-off realization of respective VCC supply lines and being connected and disconnected from for main equipment.
In the step S4, main equipment is development board.
In this embodiment, that is tested crosses Cheng Qian, and tester sets firstly the need of periphery needed for determining test job Standby, then startup program, the peripheral equipment needed by instruction selection, the first step choose whether to need SIM1, if desired select SIM1, then continue the type for selecting its operator, the type of operator be it is any in movement/connection/telecommunications, otherwise turn Enter in the selection judgment step of SIM2;Second step chooses whether to need SIM2, if desired selects SIM2, then continues to select belonging to it The type of operator, the type of operator be it is any in movement/connection/telecommunications, the selection judgement that otherwise will be transferred to SD card walks In rapid;Third step chooses whether to need SD card, if desired selects SD card, then confirms selection SD card, and the selection for being otherwise transferred to USB is sentenced In disconnected step, after selecting USB, judges whether the selection work of all peripheral equipments traverses completion, be to pass through controller Relevant device is opened, development board is connected and is tested accordingly.
The present embodiment additionally provides a kind of peripheral equipment integrated control system, comprising:
Peripheral module is concentrated, for by SIM card, SD card to concentrate in together with USB line equipment and is connected with controller It connects, the opening and closing of all peripheral equipments is carried out by controller, can be efficiently reduced using the opening and closing of controller control peripheral equipment The investment of manpower in test process can also easily meet and need to plug peripheral equipment in automatic test course It is required that;
Peripheral equipment selecting module needs to make for the selection mode selection test by manually selecting or automatically selecting Peripheral equipment;
Peripheral equipment opening and closing module is opened for opening or closing specified peripheral equipment using controller by controller Associated peripheral advantageously reduces the damage of test equipment;
Test module, for peripheral equipment being connect with main equipment and carries out dependence test after peripheral equipment being opened successfully;
Central control module is instructed for issuing to other modules, completes relevant action;
The concentration peripheral module, peripheral equipment selecting module, peripheral equipment opening and closing module, test module are in Entreat control module electrical connection.
Embodiment two
As shown in Fig. 2, in the present embodiment, the STM32 series monolithic that controller is selected, peripheral equipment includes SIM card, SD card and USB line equipment, select the mode of peripheral equipment to automatically select.
When carrying out test job, it is assumed that test job need a mobile SIM card, a SD card, connect USB device into Row test, successively selects the peripheral equipment needed by procedure selection first, and the first step will first select specified one or two SIM card, the SIM for then connecting respective operator are assigned to card one and card two, second step confirmation selection SD card, and third step selection connects USB device is connect, the 4th step opens above-mentioned peripheral equipment by STM32 series monolithic, it is connected with main equipment, is connected into After function, tester can carry out some manually test or automatic tests according to the equipment of connection.
In above-mentioned peripheral equipment, main equipment be connected by a USB control interface with STM32 series monolithic to The control work to peripheral equipment is carried out, so that USB is controlled, SD, the communications and liaison of SIM card.
Following table is the parameter comparison table of main equipment and STM32 series monolithic USB interface:
The parameter comparison table of 1 main equipment of table and STM32 series monolithic USB interface
Contact Function (main equipment) Function (STM32 series monolithic)
1 VBUS (4.75-5.25V) VBUS (4.4-5.25V)
2 D- D-
3 D+ D+
4 Ground connection Ground connection
By connecting a switch in VBUS line, by control equipment pin export high level to a high level triggering after Electric appliance, relay control the communications and liaison simulation USB plug of USB VCC, computer can correctly be identified and off device.
USB hot plug principle:
USB includes tetra- lines of VBUS, D+, D-, GND,
D+, D- of the USB of computer end has a pull down resistor,
When USB insertion, due to the presence of pull-up resistor, divided by the pull-up resistor of 1.5K and the pull down resistor of 15K, Two want have to be pulled to a high level in signal wire, and after hub detects this state, it is reported to USB host controller (or being reported by its upper one layer hub to USB host controller), is detected by inserting for equipment in this way.
For connecing on D+ with high-speed equipment, pull-up resistor at full speed, and low-speed device is then that pull-up resistor connects in D- On, hub distinguishes low-speed device or full speed and high-speed equipment by judging which root line is raised.USB high-speed equipment It is identified as full-speed device before this, is then further confirmed that by the data communication of host and equipment between the two, then be switched to High-speed mode.In high speed mode, it is electric current transmission mode, at this moment the pull-up resistor on D+ can be disconnected.When usb host is examined After the insertion of measurement equipment, host will issue a series of enumeration requests to equipment, and equipment makes correct response to complete USB device Enumeration process, to identify specific equipment.
By the on-off connection of control SD or SD card is disconnected using USB similar principle, when selecting SIM card, first A card or two cards are selected, then select mobile UNICOM or telecommunications to card one or card two in multiple SIM card.
As shown in figure 3, being below the definition of relay pin in figure:
DC+: connection positive pole, for powering to relay;
DC-: connection power cathode;
IN: relay either on or off is controlled by input low and high level;
NO: relay normally open interface;
COM: relay common interface;
NC: the normally closed interface of relay, default and COM are short circuit states.
Relay connects power supply, connects controller, exports high level by controller, and NO mouthfuls of relay and com port are shorted, VCC is powered on, the slot of corresponding USB, SD, SIM card is also equivalent to successful connection.
The present embodiment additionally provides a kind of peripheral equipment integrated control system, comprising:
Peripheral module is concentrated, for by SIM card, SD card and USB line equipment are concentrated in together and single with STM32 series Piece machine is connected, and the opening and closing of all peripheral equipments is carried out by STM32 series monolithic, is controlled using STM32 series monolithic outer The opening and closing of peripheral equipment can efficiently reduce the investment of manpower in test process, can also easily meet automatic test course The middle requirement for needing to plug peripheral equipment;
Peripheral equipment selecting module, the selection mode selection test for automatically selecting need peripheral equipment to be used;
Peripheral equipment opens and closes module, and for controlling SIM card using STM32 series monolithic, SD card is logical with USB line equipment Connection opens associated peripheral by STM32 series monolithic, advantageously reduces the damage of test equipment;
Test module, for peripheral equipment being connect with computer and carries out dependence test after peripheral equipment being opened successfully;
Central control module is instructed for issuing to other modules, completes relevant action;
The concentration peripheral module, peripheral equipment selecting module, peripheral equipment opening and closing module, test module are in Entreat control module electrical connection.
In conclusion peripheral equipment integrated control method and system in above-mentioned three groups of embodiments, external due to using Peripheral equipment carries out central controlled mode, by manually selecting or automatically selecting the peripheral equipment of needs and beat by controller Associated peripheral is opened, to complete the test job to specified peripheral equipment, peripheral equipment concentration integrated control is conducive to The damage, such as SIM card slot, SD card slot and USB interface etc. for reducing test equipment utilize controller control peripheral equipment Opening and closing can efficiently reduce the investment of manpower in test process, can also easily meet and need in automatic test course pair The requirement that peripheral equipment is plugged, such as the plug to SIM card, SD card and USB line etc. is simulated, it can be to automatic test mistake More scenes are simulated in journey, test process is made to become simpler, are worth being used more widely.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (9)

1. a kind of integrated control method of peripheral equipment, which comprises the following steps:
S1: by peripheral equipment centralized control
The connection switch element on the supply lines and handshake line of each peripheral equipment, utilizes controller control switch element On-off, corresponding peripheral equipment, which powers on, shakes hands, to realize to peripheral equipment centralized control;
S2: selection needs peripheral equipment to be used
Traversal is confirmed whether to need each peripheral equipment, needs then to pass through the choosing for manually selecting or automatically selecting when the peripheral equipment The mode of selecting is selected, and does not otherwise select the peripheral equipment;
S3: associated peripheral is opened
Control switch element conductive opens the peripheral equipment that selected in step S2;
S4: it is accordingly tested
After peripheral equipment is opened successfully, test job is carried out after peripheral equipment is connect with main equipment.
2. a kind of peripheral equipment integrated control method according to claim 1, it is characterised in that: in the step S1, Peripheral equipment includes SIM card, SD card and USB line, and the SIM card, SD card are respectively used to carry out corresponding test work with USB line Make.
3. a kind of peripheral equipment integrated control method according to claim 1, it is characterised in that: in the step S3, Controller is a kind of chip using process control output signal, and the controller is selected from STM32 series monolithic, raspberry pie control Device processed with it is any in MircoPython chip.
4. a kind of peripheral equipment integrated control method according to claim 1, it is characterised in that: the switch element is one Kind has the component of switching function, and the switch element is any in relay, field-effect tube, triode.
5. a kind of peripheral equipment integrated control method according to claim 1, it is characterised in that: the controller is selected as STM32 series monolithic, the switch element are selected as relay, and the main equipment is development board, module, any in mobile phone Kind.
6. a kind of peripheral equipment integrated control method according to claim 5, it is characterised in that: the STM32 series is single Piece machine passes through the control signal receiving end level height of control relay, to control the supply lines of SIM card, SD card and USB line Or on-off with handshake line, it is connected and disconnected to realize with main equipment.
7. a kind of peripheral equipment integrated control method according to claim 6, which is characterized in that the control process are as follows:
SIM card is first selected, and selects its operator;
Reselection SD card;
Then USB device is selected;
The on-off of relay is controlled by STM32 series monolithic, so that selected peripheral equipment is opened, outside selected Peripheral equipment is connected with main equipment;
After successful connection, dependence test work is carried out to main equipment.
8. a kind of peripheral equipment integrated control method according to claim 1, it is characterised in that: in the step S1, USB interface, SD card seat, SIM card holder are respectively welded on pcb board, the USB interface, SD card seat, SIM card holder supply lines With connection switch element on handshake line, controller is closed by the opening of control power supply circuit or handshake circuit, from And power on corresponding USB line, SD card and SIM card, and correctly shake hands and connect with main equipment.
9. a kind of peripheral equipment integrated control system characterized by comprising
Concentrate peripheral module, for all peripheral equipments to be concentrated in together and are connected with controller, by controller into The opening and closing of all peripheral equipments of row;
Peripheral equipment selecting module needs to be used for the selection mode selection test by manually selecting or automatically selecting Peripheral equipment;
Peripheral equipment opens and closes module, for opening or closing specified peripheral equipment using controller;
Test module after opening successfully for peripheral equipment, peripheral equipment is connect with main equipment and carries out dependence test;
Central control module is instructed for issuing to other modules, completes relevant action;
The concentration peripheral module, peripheral equipment selecting module, peripheral equipment opening and closing module, test module are controlled with center The electrical connection of molding block.
CN201910547919.5A 2019-06-24 2019-06-24 A kind of peripheral equipment integrated control method and system Pending CN110297733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910547919.5A CN110297733A (en) 2019-06-24 2019-06-24 A kind of peripheral equipment integrated control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910547919.5A CN110297733A (en) 2019-06-24 2019-06-24 A kind of peripheral equipment integrated control method and system

Publications (1)

Publication Number Publication Date
CN110297733A true CN110297733A (en) 2019-10-01

Family

ID=68028585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910547919.5A Pending CN110297733A (en) 2019-06-24 2019-06-24 A kind of peripheral equipment integrated control method and system

Country Status (1)

Country Link
CN (1) CN110297733A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112513750A (en) * 2020-03-10 2021-03-16 深圳市大疆创新科技有限公司 Equipment control system, device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030028826A1 (en) * 2001-08-03 2003-02-06 Balluff Jeffrey A. System and method for developing customized integration tests and network peripheral device evaluations
US20050086561A1 (en) * 2003-10-17 2005-04-21 Huang Hc Testing device
CN206133546U (en) * 2016-09-30 2017-04-26 深圳创维汽车智能有限公司 Storage device's break -make testing arrangement and system
CN107870271A (en) * 2016-11-03 2018-04-03 珠海市杰理科技股份有限公司 Automated testing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030028826A1 (en) * 2001-08-03 2003-02-06 Balluff Jeffrey A. System and method for developing customized integration tests and network peripheral device evaluations
US20050086561A1 (en) * 2003-10-17 2005-04-21 Huang Hc Testing device
CN206133546U (en) * 2016-09-30 2017-04-26 深圳创维汽车智能有限公司 Storage device's break -make testing arrangement and system
CN107870271A (en) * 2016-11-03 2018-04-03 珠海市杰理科技股份有限公司 Automated testing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112513750A (en) * 2020-03-10 2021-03-16 深圳市大疆创新科技有限公司 Equipment control system, device and method

Similar Documents

Publication Publication Date Title
CN105842572A (en) Portable general comprehensive detector
CN209590584U (en) Automatic controller for electric consumption up and down
CN109298266A (en) Test macro, test method, test device and storage medium
CN108074624B (en) Memory card testing apparatus and method, computer device, and storage medium
CN112799985B (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
CN106649021A (en) Testing device for PCIe slave device
CN101685432A (en) Device for realizing USB interface switching and system for realizing USB interface testing
CN103376435A (en) Coil testing device and coil testing method
CN102331569B (en) Intelligent interactive detection apparatus for detection on electric energy meter
CN106776183A (en) A kind of debug circuit, debugging apparatus, modulating system and a kind of electronic equipment
CN106597143A (en) Test device and test method
CN212256404U (en) Entrance guard's all-in-one of talkbacking testing tool
CN108548956A (en) Power consumption test device and method for intelligent terminal
CN105677596A (en) Control method and electronic equipment
CN110297733A (en) A kind of peripheral equipment integrated control method and system
CN103809051B (en) The detection method of switch matrix, Auto-Test System and switch matrix therein
CN106502911A (en) Multiple terminals access device
CN211787061U (en) USB interface function detection equipment
CN105718338B (en) Information processing method and electronic equipment
CN207281247U (en) Circuit board detection equipment
CN106501705A (en) Traction integrated system protection CPU board automatic checkout system and its detection method
CN101105761A (en) Emulator of contact type intelligent card with USB interface
CN216748731U (en) Detection circuit, interface link tooling plate and detection system
CN213183606U (en) Memory card power consumption characteristic testing device
CN113590397A (en) Storage product open type integrated test platform with complete machine power-down function

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191001