CN103714025A - Interface control equipment, data acquisition system and equipment connection control method - Google Patents

Interface control equipment, data acquisition system and equipment connection control method Download PDF

Info

Publication number
CN103714025A
CN103714025A CN201310749373.4A CN201310749373A CN103714025A CN 103714025 A CN103714025 A CN 103714025A CN 201310749373 A CN201310749373 A CN 201310749373A CN 103714025 A CN103714025 A CN 103714025A
Authority
CN
China
Prior art keywords
relay
interface
equipment
control command
chip
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
CN201310749373.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.)
Xiamen Meiya Pico Information Co Ltd
Original Assignee
Xiamen Meiya Pico Information 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 Xiamen Meiya Pico Information Co Ltd filed Critical Xiamen Meiya Pico Information Co Ltd
Priority to CN201310749373.4A priority Critical patent/CN103714025A/en
Publication of CN103714025A publication Critical patent/CN103714025A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention provides interface control equipment, a data acquisition system and an equipment connection control method. The interface control equipment comprises an acquisition equipment connecting interface, a plurality of acquired equipment connecting interfaces, a plurality of relays and a control unit, wherein the relays correspond to the acquired equipment connecting interfaces one to one. The control unit is used for selecting one relay from the multiple relays and sending control commands of connecting or disconnecting a data path to the selected relay. The selected relay connects or disconnects the data path between the acquisition equipment connecting interface and the acquire equipment connecting interface corresponding to the relay according to the control commands. According to the technical scheme, data connection between acquisition equipment and any acquired equipment can be conveniently built to conduct data acquisition, and therefore data acquisition time is shortened, and acquisition efficiency is improved.

Description

The control method of interface opertaing device, data acquisition system (DAS) and equipment connection
Technical field
The present invention relates to electronic technology field, especially, relate to the control method of a kind of interface opertaing device, data acquisition system (DAS) and equipment connection.
Background technology
Along with the development of electronic technology, the consumption figure rapid development of electronic equipment, electronic equipment has become requisite articles for use in people's life.Under application scenes, need to be from electronic equipment image data, for example, electronic evidence-collecting.
Due to the singularity of electronic evidence, when carrying out electronic evidence-collecting, conventionally need to be connected with the electronic equipment of being collected evidence by special-purpose evidence taking equipment, by control command or agreement, from electronic equipment, collect and obtain data as electronic evidence.The electronic equipment of being collected evidence, the electronic equipment that user uses may be from different manufacturers, and the type kind of electronic equipment also may be different.Evidence taking equipment conventionally can compatible most manufacturer and type kind, such as, existing mobile phone collecting device can be supported the mobile phone model of thousands of moneys.
Conventionally, the data transmission physical interface of evidence taking equipment is limited number and kind, be for example USB (universal serial bus) (Universal Serial Bus, USB) interface, and the electronic equipment of being collected evidence is along with manufacturer is different with type kind, data transmission physical interface is multifarious having nothing in common with each other also, such as SAMS-1, the SAMS-2 etc. of the NOK-1 of the MOT-1 of Motorola Inc., MOT-2 interface, Nokia, NOK-2 interface, Samsung.For the electronic equipment with different physical interfaces is communicated with evidence taking equipment, conventionally adopt different patchcords to connect both.For example, the interface of evidence taking equipment one end is USB interface, and one end of electronic equipment is NOK-1 interface, utilizes USB to NOK-1 patchcord, USB termination evidence taking equipment, and NOK-1 termination electronic equipment, thus realize the docking of two equipment.If one end of electronic equipment is MOT-1 interface, utilize USB to MOT-1 patchcord to carry out the docking of two equipment.Evidence taking equipment, physically by USB patchcord connecting electronic equipment, carrys out the data of read electric equipment by AT instruction or other agreements on software.
Existing acquisition mode is to adopt different patchcords, and the electronic equipment of first every quilt being collected evidence and evidence taking equipment, then carry out data acquisition to an electronic equipment, then from evidence taking equipment, pulls up this electronic equipment patchcord.Afterwards, according to the interface of next electronic equipment, adopt difference or identical patchcord manually to connect next electronic equipment and collect evidence.In above-mentioned test environment, electronic equipment in the face of numerous different manufacturers and model, by mode manually, complete one by one docking, collection, the dismounting of numerous electronic equipments, then carry out the process of next electronic equipment, cause evidence obtaining process to expend time in very much.
Summary of the invention
The invention provides the control method of a kind of interface opertaing device, data acquisition system (DAS) and equipment connection, to facilitate, promptly realize being connected between a plurality of collected equipment and collecting device, thereby the data acquisition plan of robotization is provided.
According to a first aspect of the invention, provide a kind of interface opertaing device, having comprised: collecting device connecting interface, a plurality of collected equipment connection interface, with described a plurality of collected equipment connection interfaces a plurality of relays, control module one to one;
The first equipment end that described collecting device connecting interface has and the first inside end, the first equipment end is for inserting the data transmission port of collecting device, and the first inside end is communicated with described a plurality of relays respectively;
Any one collected equipment connection interface in described a plurality of collected equipment connection interface has the second equipment end and the second inside end, and the second equipment end is for inserting the data transmission port of collected equipment, and the second inside end is communicated with corresponding relay;
Described control module, for selecting a relay from described a plurality of relays, sends the control command of connection or turn-off data path to described selecteed relay;
Described selecteed relay is according to received control command, be communicated with or disconnect the data path between described collecting device connecting interface and the corresponding collected equipment connection interface of this relay, so that collecting device carries out data acquisition to the corresponding collected equipment of this collected equipment connection interface.
Preferably, wherein, each relay in described a plurality of relays is in disconnecting the state of described data path; Described control module is selected a relay from described a plurality of relays, sends the control command of connection or turn-off data path to described selecteed relay, specifically comprises:
Described control module is selected a relay from described a plurality of relays, to described selecteed relay, sends the control command that is communicated with data path;
Described control module, also, in response to after data acquisition between described collecting device and described collected equipment, sends the control command of turn-off data path to described selecteed relay; For the relay of non-selected mistake, re-execute the described operation of a relay of selecting from described a plurality of relays.
Preferably, described interface opertaing device, also comprises: one or more expansion IO chip; Described each expansion IO chip has a plurality of IO interfaces, and described a plurality of IO interfaces are corresponding one by one with described a plurality of relays respectively;
Described control module sends the control command of connection or turn-off data path to described selecteed relay, specifically comprise:
Described control module, according to the one-to-one relationship of IO interface and relay, sends the control command of connection or turn-off data path to the expansion IO chip at IO interface place corresponding to described selecteed relay;
Described expansion IO chip sends described control command by the IO interface of described correspondence to described selecteed relay.
Preferably, described interface opertaing device, also comprises: one or more I2C chip; Wherein, described each expansion IO chip is articulated in the I2C bus of an I2C chip in described one or more I2C chip;
The described expansion IO chip to IO interface place corresponding to described selecteed relay sends the control command of connection or turn-off data path, specifically comprises:
According to the expansion IO chip at IO interface place corresponding to described selecteed relay, the I2C chip connecting to this expansion IO chip sends the control command of described connection or turn-off data path;
Described I2C chip sends to described expansion IO chip by described control command.
Preferably, wherein, described control module is 32 control line single-chip microcomputers, and described I2C chip is 16; Wherein, every 2 in described 32 control lines are connected and become one group of I2C bus, totally 16 groups of I2C buses, and each group I2C bus connects respectively each I2C chip.
Preferably, wherein, described each I2C chip articulates 8 expansion IO chips, and it is IO interface that described expansion IO chip has 8 or 16.
Preferably, the described expansion IO chip to the corresponding IO interface place of selected relay sends described control command, specifically comprises:
By IO pin or SPI interface, to the expansion IO chip at the corresponding IO interface place of selected relay, send described control command.
Preferably, described interface opertaing device, also comprises: input receiving element, for receiving external control order;
Described control module according to received external control order, is selected a relay from described a plurality of relays, sends the control command of connection or turn-off data path to described selecteed relay;
Preferably, wherein, described collecting device connecting interface and collected equipment connection interface are USB interface.
Preferably, wherein, described relay is open type relay; Described control command is the control command of closing relay.
According to second aspect provided by the invention, a kind of data acquisition system (DAS) is also provided, comprising:
The interface opertaing device that first aspect provides according to the present invention, wherein, the first equipment end of described collecting device connecting interface is inserted the data transmission port of collecting device, described control module is in response to the control command that receives described collecting device transmission, from described a plurality of relays, select a relay, to described selecteed relay, send the control command of connection or turn-off data path;
Collecting device, for sending described control command to interface opertaing device, and after being communicated with described data path, carries out data acquisition to the corresponding collected equipment of collected equipment connection interface.
According to the 3rd aspect provided by the invention, also provide a kind of the present invention of use interface opertaing device that first aspect provides to carry out equipment connection control method, wherein, the first equipment end of described collecting device connecting interface is inserted the data transmission port of collecting device, the second equipment end of one or more the collected equipment connection interface in described a plurality of collected equipment connection interface is inserted the data transmission port of one or more collected equipment, and described method comprises:
From described a plurality of relays, select a relay, to described selecteed relay, send the control command of connection or turn-off data path;
Described selecteed relay is according to received control command, be communicated with or disconnect the data path between described collecting device connecting interface and the corresponding collected equipment connection interface of this relay, so that collecting device carries out data acquisition to the corresponding collected equipment of this collected equipment connection interface.
Preferably, each relay in described a plurality of relay is in disconnecting the state of described data path; Describedly from described a plurality of relays, select a relay, to described selecteed relay, send and be communicated with or the control command of turn-off data path, specifically comprise:
From described a plurality of relays, select a relay, to described selecteed relay, send the control command that is communicated with data path;
Described method also comprises:
After data acquisition between described collecting device and described collected equipment, to described selecteed relay, send the control command of turn-off data path; For the relay of non-selected mistake, re-execute the described operation of a relay of selecting from described a plurality of relays.
Compared with prior art, a technical scheme in technique scheme has the following advantages or beneficial effect: by selecting any relay, and be communicated with or turn-off data path according to control command by this relay, thereby can set up easily collecting device, be connected with the data between any one collected equipment, to carry out data acquisition.Thus, can for data acquisition, set up data quickly and easily and connect, shorten the time of data acquisition, improve collecting efficiency.
 
accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 is the structural representation of a kind of embodiment of interface opertaing device provided by the invention;
Fig. 2 is the structural representation of the another kind of embodiment of interface opertaing device provided by the invention;
Fig. 3 is the structural representation of another embodiment of interface opertaing device provided by the invention;
Fig. 4 is the structural representation of another embodiment of interface opertaing device provided by the invention;
Fig. 5 is the structural representation of a kind of embodiment of data acquisition system (DAS) provided by the invention;
Fig. 6 is the schematic flow sheet of a kind of embodiment of equipment connection control method provided by the invention;
Fig. 7 is the schematic flow sheet of the another kind of embodiment of equipment connection control method provided by the invention.
 
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Shown in Fig. 1, Fig. 1 is the structural representation of a kind of embodiment of interface opertaing device of the present invention.Interface opertaing device in this embodiment comprises:
Collecting device connecting interface 101, a plurality of collected equipment connection interface 102, with a plurality of collected equipment connection interfaces a plurality of relays 103, control module 104 one to one.
The first equipment end 1011 that collecting device connecting interface 101 has and the first inside end 1012, the first equipment end 1011 are for inserting the data transmission port of collecting device, and the first inside end 1012 is communicated with a plurality of relays respectively.
Any one collected equipment connection interface in a plurality of collected equipment connection interfaces 102 has the second equipment end 1021 and the second inside end 1022, the second equipment end 1021 is for inserting the data transmission port of collected equipment, and the second inside end 1022 is communicated with corresponding relay.
Control module 104, for selecting a relay from a plurality of relays 103, sends the control command of connection or turn-off data path to selecteed relay.
Selecteed relay is according to received control command, be communicated with or disconnect the data path between collecting device connecting interface and the corresponding collected equipment connection interface of this relay, so that collecting device carries out data acquisition to the corresponding collected equipment of this collected equipment connection interface.
In the above-described embodiments, according to the needs of data acquisition, can select any relay 103 to send control command by control module 104, by this relay, according to control command, be communicated with or turn-off data path, thereby can set up easily collecting device, be connected with the data between any one collected equipment, to carry out data acquisition, realize quickly and easily for data connection is set up in data acquisition, shorten the time of data acquisition, improve collecting efficiency.
According to a kind of embodiment of interface opertaing device provided by the invention, wherein, the state of each relay in a plurality of relays in turn-off data path.Control module 104 is specifically selected a relay from a plurality of relays, sends the control command that is communicated with data path to selecteed relay.Control module 104 also, in response to after data acquisition between collecting device and collected equipment, sends the control command of turn-off data path to selecteed relay; For the relay of non-selected mistake, re-execute the operation of selecting a relay from a plurality of relays.
In the above-described embodiments, by for each collected equipment, according to the relay being connected with this collected equipment (being the collected equipment that the second equipment end 1021 of relay is inserted), the data path being communicated with successively between collecting device and collected equipment carries out data acquisition, thereby the data acquisition to a plurality of collected equipment is realized on robotization ground.
Relay in above-described embodiment can be open type relay.Control command is the control command of closing relay.
Control module 104 can be selected successively according to the arrangement position of relay the relay of non-selected mistake, also can be according to select the relay of non-selected mistake according to the type of a plurality of second equipment end 1021 of a plurality of relays 104.For example, 5 the second equipment end 1021 of 5 relays 104 comprise 2 USB interface and 3 MOT-1 interfaces, control module 104 can first select successively USB interface for relay, then select the relay that MOT-1 interface is corresponding.
Shown in Figure 2, Fig. 2 is the structural representation of the another kind of embodiment of interface opertaing device of the present invention.Compared to Figure 1, the interface opertaing device in this embodiment, also comprises: one or more expansion IO chip 105; Each expansion IO chip has a plurality of IO interfaces, i.e. universal input and output in Fig. 2 (General purpose input/output, GPIO), and a plurality of IO interfaces are corresponding one by one with a plurality of relays respectively.
Control module 104, according to the one-to-one relationship of IO interface and relay, sends the control command of connection or turn-off data path to the expansion IO chip at IO interface place corresponding to selecteed relay; Expansion IO chip sends control command by corresponding IO interface to selecteed relay.
Shown in Figure 3, Fig. 3 is the structural representation of another embodiment of interface opertaing device of the present invention.Compare with Fig. 2, the interface opertaing device in this embodiment, also comprises: one or more internal integrated circuit (Inter-Integrated Circuit, I2C) chip 106; Wherein, each expansion IO chip is articulated in the I2C bus of an I2C chip in one or more I2C chip.Control module 104 is according to the expansion IO chip at IO interface place corresponding to selecteed relay, and the I2C chip connecting to this expansion IO chip sends the control command of connection or turn-off data path.I2C chip sends to expansion IO chip by control command.
In various embodiments of the present invention, control module 104 is 32 or 64 control line single-chip microcomputers.
32 the control line single-chip microcomputers of take are example, and I2C chip can be 16; Wherein, every 2 in 32 control lines are connected and become one group of I2C bus, totally 16 groups of I2C buses, and each group I2C bus connects respectively each I2C chip.
Each I2C chip articulates 8 expansion IO chips, and it is IO interface that expansion IO chip has 8 or 16.
In addition, the different embodiment with using I2C chip, the expansion IO chip transmission control command to the corresponding IO interface place of selected relay, specifically comprises:
By IO pin or Serial Peripheral Interface (SPI) (Serial Peripheral Interface, SPI) interface, to the expansion IO chip at the corresponding IO interface place of selected relay, send control command.
In the various embodiments described above, interface opertaing device can also comprise: input receiving element (Fig. 3 is not shown), and for receiving external control order.Control module 104 according to received external control order, is selected a relay from a plurality of relays, sends the control command of connection or turn-off data path to selecteed relay.Input receiving element can receive external control order by serial ports.
In each embodiment provided by the invention, collecting device connecting interface can be USB interface, mini USB interface, any one in the various interfaces such as RS-232 interface, collected equipment connection interface can be also any one in USB interface, mini USB interface, RS-232 interface.
Participate in shown in Fig. 4, this illustrates the structural representation of another embodiment of interface opertaing device provided by the invention.In this embodiment, collecting device and collected equipment all be take USB interface as example, and relay to take four line H type (or being called open type) relays be example.This interface opertaing device comprises the collecting device connecting interface (USB 0 interface in figure) of a USB interface, a control serial ports (serial ports in figure).The first inside end of collecting device connecting interface has four lines (four lines of USB interface), and the first inside end of this collecting device connecting interface connects respectively four line H type relays (relay 1 in figure is to n), forms the annexation of one-to-many.Other one end of each relay connects the second inside end of a collected equipment connection interface (USB 1 in figure is interfaced to USB n interface).When single relay closes, closed USB 0 interface on the relay left side and the USB interface on the right are communicated with, thereby make to set up data between collecting device and collected data, are connected.
Control module is the single-chip microcomputer with 32 control lines.Every two lines of 32 control lines are all used for connecting 1 group of I2C bus.32 control lines can connect 16 groups of I2C buses, can connect 16 I2C chips (in figure, I2C chip 1 is to k).One group of I2C bus has a serial data line and a serial time clock line.Serial data line SDA has 8 bidirectional data transfers bit rate, therefore, every group of I2C bus can articulate 8 expansion IO chips (expanding IO chip 1 in figure to m), and each expansion IO chip has 16 or 8 s' IO interface, and each IO interface is controlled four line relays.Thereby can support 16 * 8 * 16 totally 2048 relays or 16 * 8 * 8 totally 1024 relays, can support exactly 2048 or 1024 collected equipment connection interfaces, thereby can once dock 2048 or 1024 electronic equipments, and it is carried out to automatic data collection.
Described in front embodiment, when expansion IO chip is not I2C bus while controlling, corresponding single-chip microcomputer also can, according to the control mode of expansion IO chip, be controlled expansion IO chip by self IO pin, SPI interface or other chips.
As shown in Figure 4, single-chip microcomputer is realized in the mode of singlechip chip, this interface opertaing device can also have independently power supply and storer, therefore can on single-chip microcomputer, move the software program of self, external unit issues control command by serial ports, input receiving element receives control command, and by single-chip microcomputer, according to control command, is controlled the opening and closing of each relay.
Shown in Figure 5, Fig. 5 illustrates the structural representation of a kind of data acquisition system (DAS) provided by the invention, and this system comprises:
Any one interface opertaing device 501 in above-mentioned interface opertaing device embodiment, wherein, the first equipment end of collecting device connecting interface is inserted the data transmission port of collecting device, control module is in response to the control command that receives collecting device transmission, from a plurality of relays, select a relay, to selecteed relay, send the control command of connection or turn-off data path;
Collecting device 502, for sending control command to interface opertaing device, and after being communicated with data path, carries out data acquisition to the corresponding collected equipment of collected equipment connection interface.
In Fig. 5, collecting device 502 be take USB interface equipment as example, has increased interface opertaing device provided by the invention on traditional test environment, and this interface opertaing device adds a Serial Port Line with evidence taking equipment by usb data line and connects.The patchcord of the external n bar of interface opertaing device is connected to n electronic equipment.According to the type of electronic equipment, can be various patchcords, if patchcord 1 is to patchcord n.Even if each interface of interface opertaing device is USB interface, USB interface opertaing device, is also different from common USB Hub.Conventionally, 127 equipment of the maximum cascades of USB Hub, quantity very little, if and all can be registered in evidence taking equipment by the external equipment of USB Hub, just cause an evidence taking equipment external a plurality of electronic equipments simultaneously, and the man-to-man operation of the needs of electronic evidence-collecting, USB Hub can not replace interface opertaing device provided by the present invention.
Shown in Figure 6, this illustrates the schematic flow sheet that the above-mentioned interface opertaing device of use provided by the invention carries out a kind of embodiment of equipment connection control method.In the method embodiment, the first equipment end of collecting device connecting interface is inserted the data transmission port of collecting device, the second equipment end of one or more the collected equipment connection interface in a plurality of collected equipment connection interfaces is inserted the data transmission port of one or more collected equipment, and the method comprises:
A relay is selected in operation 601 from a plurality of relays;
Operation 602, to the control command of selecteed relay transmission connection or turn-off data path;
Operation 603, selecteed relay is according to received control command, be communicated with or disconnect the data path between collecting device connecting interface and the corresponding collected equipment connection interface of this relay, so that collecting device carries out data acquisition to the corresponding collected equipment of this collected equipment connection interface.
Shown in Figure 7, this illustrates the schematic flow sheet that the above-mentioned interface opertaing device of use provided by the invention carries out the another kind of embodiment of equipment connection control method.In this embodiment, the state of each relay in a plurality of relays in turn-off data path.The method comprises
A relay is selected in operation 701 from a plurality of relays;
Operation 702, sends the control command that is communicated with data path to selecteed relay;
Operation 703, selecteed relay, according to received control command, is communicated with the data path between collecting device connecting interface and the corresponding collected equipment connection interface of this relay;
Operation 704, after data acquisition between collecting device and collected equipment, sends the control command of turn-off data path to selecteed relay, make relay disconnect this data path;
Operation 705, for the relay of non-selected mistake, re-executes 701 operations.
Exemplarily, take electronic evidence-collecting as example:
1) evidence taking equipment (being collecting device) can issue control command to interface opertaing device by serial ports, to connect the electronic equipment (being collected equipment) of being collected evidence;
2) interface opertaing device is according to the method in above-described embodiment, be communicated with evidence taking equipment and this electronic equipment for the data of interface be connected;
2) interface opertaing device completes after connection, and evidence taking equipment log-on data gathers;
3) after evidence taking equipment collection finishes, issue control command to interface opertaing device, interface opertaing device disconnects being connected between the electronic equipment of evidence taking equipment and this interface;
4), after interface opertaing device disconnects, evidence taking equipment decision data collection result, outputs in collection result;
5) return to 1), start to test next electronic equipment, until the collection of all electronic equipments is complete.
By technical scheme provided by the invention, by interface opertaing device, for electronic evidence-collecting, evidence taking equipment can connect at most thousands of electronic equipments of being collected evidence.In conjunction with automatic test platform, complete the automatic test of these electronic equipments or data acquisition, and in this process, do not need manually plug and intervene after access electronic equipment.Each electronic equipment data acquisition probably needs 1 minute, and testing 1000 equipment also only needs 16 hours, can greatly save manpower, raises the efficiency.
In each embodiment provided by the invention, concrete collecting device and the interface type of collected equipment can be various physical interfaces, according to concrete application requirements, control being connected of collecting device and collected equipment.When collected equipment connection interface quantitative requirement is more, can expand by the cascade of single-chip microcomputer the physical interface quantity of support.Technical scheme provided by the invention, except being applied to automatic test field, can also be for fields such as communication facilities, aut.eq., household electrical appliance, auto electroincs.
For aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other along go or carry out simultaneously; Secondly, those skilled in the art also should know, said method embodiment all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
For the aforesaid embodiment that respectively installs, for simple description, therefore it is all expressed as to a series of unit combination, but those skilled in the art should know, the present invention is not subject to the restriction of described unit combination, because according to the present invention, some unit can adopt other unit to carry out; Secondly, those skilled in the art also should know, said apparatus embodiment all belongs to preferred embodiment, and related unit might not be that the present invention is necessary.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Above the control method of interface opertaing device provided by the present invention, data acquisition system (DAS) and equipment connection is described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (13)

1. an interface opertaing device, comprising: collecting device connecting interface, a plurality of collected equipment connection interface, with described a plurality of collected equipment connection interfaces a plurality of relays, control module one to one;
The first equipment end that described collecting device connecting interface has and the first inside end, the first equipment end is for inserting the data transmission port of collecting device, and the first inside end is communicated with described a plurality of relays respectively;
Any one collected equipment connection interface in described a plurality of collected equipment connection interface has the second equipment end and the second inside end, and the second equipment end is for inserting the data transmission port of collected equipment, and the second inside end is communicated with corresponding relay;
Described control module, for selecting a relay from described a plurality of relays, sends the control command of connection or turn-off data path to described selecteed relay;
Described selecteed relay is according to received control command, be communicated with or disconnect the data path between described collecting device connecting interface and the corresponding collected equipment connection interface of this relay, so that collecting device carries out data acquisition to the corresponding collected equipment of this collected equipment connection interface.
2. interface opertaing device according to claim 1, wherein, each relay in described a plurality of relays is in disconnecting the state of described data path; Described control module is selected a relay from described a plurality of relays, sends the control command of connection or turn-off data path to described selecteed relay, specifically comprises:
Described control module is selected a relay from described a plurality of relays, to described selecteed relay, sends the control command that is communicated with data path;
Described control module, also, in response to after data acquisition between described collecting device and described collected equipment, sends the control command of turn-off data path to described selecteed relay; For the relay of non-selected mistake, re-execute the described operation of a relay of selecting from described a plurality of relays.
3. interface opertaing device according to claim 2, also comprises: one or more expansion input and output IO chip; Described each expansion IO chip has a plurality of IO interfaces, and described a plurality of IO interfaces are corresponding one by one with described a plurality of relays respectively;
Described control module sends the control command of connection or turn-off data path to described selecteed relay, specifically comprise:
Described control module, according to the one-to-one relationship of IO interface and relay, sends the control command of connection or turn-off data path to the expansion IO chip at IO interface place corresponding to described selecteed relay;
Described expansion IO chip sends described control command by the IO interface of described correspondence to described selecteed relay.
4. interface opertaing device according to claim 3, also comprises: one or more internal integrated circuit I2C chip; Wherein, described each expansion IO chip is articulated in the I2C bus of an I2C chip in described one or more I2C chip;
The described expansion IO chip to IO interface place corresponding to described selecteed relay sends the control command of connection or turn-off data path, specifically comprises:
According to the expansion IO chip at IO interface place corresponding to described selecteed relay, the I2C chip connecting to this expansion IO chip sends the control command of described connection or turn-off data path;
Described I2C chip sends to described expansion IO chip by described control command.
5. interface opertaing device according to claim 4, wherein, described control module is 32 control line single-chip microcomputers, described I2C chip is 16; Wherein, every 2 in described 32 control lines are connected and become one group of I2C bus, totally 16 groups of I2C buses, and each group I2C bus connects respectively each I2C chip.
6. interface opertaing device according to claim 5, wherein, described each I2C chip articulates 8 expansion IO chips, and it is IO interface that described expansion IO chip has 8 or 16.
7. interface opertaing device according to claim 3, the described expansion IO chip to the corresponding IO interface place of selected relay sends described control command, specifically comprises:
By IO pin or serial peripheral equipment interface SPI interface, to the expansion IO chip at the corresponding IO interface place of selected relay, send described control command.
8. according to interface opertaing device described in claim 1 to 7 any one, also comprise: input receiving element, for receiving external control order;
Described control module according to received external control order, is selected a relay from described a plurality of relays, sends the control command of connection or turn-off data path to described selecteed relay.
9. interface opertaing device according to claim 8, wherein, described collecting device connecting interface and collected equipment connection interface are general-purpose serial bus USB interface.
10. interface opertaing device according to claim 9, wherein, described relay is open type relay; Described control command is the control command of closing relay.
11. 1 kinds of data acquisition system (DAS)s, comprising:
Interface opertaing device described in claim 1 to 10 any one, wherein, the first equipment end of described collecting device connecting interface is inserted the data transmission port of collecting device, described control module is in response to the control command that receives described collecting device transmission, from described a plurality of relays, select a relay, to described selecteed relay, send the control command of connection or turn-off data path;
Collecting device, for sending described control command to interface opertaing device, and after being communicated with described data path, carries out data acquisition to the corresponding collected equipment of collected equipment connection interface.
12. 1 kinds of rights to use require the interface opertaing device described in 1 to 10 any one to carry out equipment connection control method, wherein, the first equipment end of described collecting device connecting interface is inserted the data transmission port of collecting device, the second equipment end of one or more the collected equipment connection interface in described a plurality of collected equipment connection interface is inserted the data transmission port of one or more collected equipment, and described method comprises:
From described a plurality of relays, select a relay, to described selecteed relay, send the control command of connection or turn-off data path;
Described selecteed relay is according to received control command, be communicated with or disconnect the data path between described collecting device connecting interface and the corresponding collected equipment connection interface of this relay, so that collecting device carries out data acquisition to the corresponding collected equipment of this collected equipment connection interface.
13. equipment connection control methods according to claim 12, each relay in described a plurality of relays is in disconnecting the state of described data path; Describedly from described a plurality of relays, select a relay, to described selecteed relay, send and be communicated with or the control command of turn-off data path, specifically comprise:
From described a plurality of relays, select a relay, to described selecteed relay, send the control command that is communicated with data path;
Described method also comprises:
After data acquisition between described collecting device and described collected equipment, to described selecteed relay, send the control command of turn-off data path; For the relay of non-selected mistake, re-execute the described operation of a relay of selecting from described a plurality of relays.
CN201310749373.4A 2013-12-31 2013-12-31 Interface control equipment, data acquisition system and equipment connection control method Pending CN103714025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310749373.4A CN103714025A (en) 2013-12-31 2013-12-31 Interface control equipment, data acquisition system and equipment connection control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310749373.4A CN103714025A (en) 2013-12-31 2013-12-31 Interface control equipment, data acquisition system and equipment connection control method

Publications (1)

Publication Number Publication Date
CN103714025A true CN103714025A (en) 2014-04-09

Family

ID=50407019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310749373.4A Pending CN103714025A (en) 2013-12-31 2013-12-31 Interface control equipment, data acquisition system and equipment connection control method

Country Status (1)

Country Link
CN (1) CN103714025A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106291329A (en) * 2016-08-30 2017-01-04 南京国电南自电网自动化有限公司 A kind of have the automatic test system detecting and joining the distant function of a terminal three
CN114327014A (en) * 2021-12-25 2022-04-12 深圳市锐宝智联信息有限公司 Network switching circuit applied to industrial information safety

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072021A (en) * 2006-12-30 2007-11-14 伍敏 Multi-channel switching card
CN101373963A (en) * 2008-09-24 2009-02-25 南京大学 Multichannel packet switching device for expanding basic data acquisition equipment channel number
CN201449411U (en) * 2009-07-02 2010-05-05 苏州经贸职业技术学院 Multichannel current sampling circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072021A (en) * 2006-12-30 2007-11-14 伍敏 Multi-channel switching card
CN101373963A (en) * 2008-09-24 2009-02-25 南京大学 Multichannel packet switching device for expanding basic data acquisition equipment channel number
CN201449411U (en) * 2009-07-02 2010-05-05 苏州经贸职业技术学院 Multichannel current sampling circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106291329A (en) * 2016-08-30 2017-01-04 南京国电南自电网自动化有限公司 A kind of have the automatic test system detecting and joining the distant function of a terminal three
CN106291329B (en) * 2016-08-30 2019-04-16 南京国电南自电网自动化有限公司 A kind of test macro with the automatic detection distant function of distribution terminal three
CN114327014A (en) * 2021-12-25 2022-04-12 深圳市锐宝智联信息有限公司 Network switching circuit applied to industrial information safety

Similar Documents

Publication Publication Date Title
CN107077444A (en) System for detecting charger and distance host for C type connector
CN102176702A (en) Test system and test method
CN104865457A (en) Universal detection board card
CN102738894A (en) Modularized intelligent power distribution terminal based on bus port
CN104965147A (en) Low-voltage-user electric energy meter series detection system and detection method
CN102479132A (en) Test system and test method for multiple chips
CN102708077A (en) State recognition method and state recognition apparatus
CN104216840A (en) USB (universal serial bus) setting and method and device for operating external equipment
CN115454903A (en) Automatic interface plugging and unplugging control device and method
CN103714025A (en) Interface control equipment, data acquisition system and equipment connection control method
CN103116512A (en) Method for upgrading firmware of CPLD (complex programmable logic device)
CN110096291A (en) Power management chip upgrades circuit, method and the network equipment
CN102455965A (en) Electronic device test system and method
CN204044810U (en) USB device and work system
CN103412808A (en) Satellite task subsystem testing equipment based on field programmable gate array (FPGA) architecture
CN205091732U (en) Automatic switching device for USB interface
CN106602623B (en) Battery management system, updating method thereof, electric vehicle control system and electric vehicle
CN204652436U (en) Io bus interface circuit
CN103561478A (en) Method and device for automatically achieving wireless connection between devices
CN104483849B (en) Many main control module attachment structures and its recognition methods, combination
CN106803776B (en) Radio frequency front end testing device and radio frequency front end testing method
CN115303203A (en) Debugging board of vehicle-mounted controller, vehicle-mounted controller mainboard and vehicle
CN107967230A (en) I3C circuit arrangements, system and communication means
CN107918593B (en) Expansion interface circuit of near-end one-to-many serial bus and communication method
CN103369084A (en) Automatic test system and method of mobile phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20140409