CN104375612A - Electronic equipment - Google Patents

Electronic equipment Download PDF

Info

Publication number
CN104375612A
CN104375612A CN201310349809.0A CN201310349809A CN104375612A CN 104375612 A CN104375612 A CN 104375612A CN 201310349809 A CN201310349809 A CN 201310349809A CN 104375612 A CN104375612 A CN 104375612A
Authority
CN
China
Prior art keywords
terminal
electronic equipment
change
over switch
power supply
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.)
Granted
Application number
CN201310349809.0A
Other languages
Chinese (zh)
Other versions
CN104375612B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310349809.0A priority Critical patent/CN104375612B/en
Publication of CN104375612A publication Critical patent/CN104375612A/en
Application granted granted Critical
Publication of CN104375612B publication Critical patent/CN104375612B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)

Abstract

The invention discloses electronic equipment and solves the technical problem of the conventional technology that controlled peripheral electronic equipment fails to acquire electric energy from main-control electronic equipment through a recommended standard serial port. The electronic equipment comprises a power supply unit, a first serial port and a first connecting unit. The first serial port is provided with N terminals which are all non-power supply terminals according to port definitions of the first serial port. N is a positive integer. The first connecting unit id connected with the power supply unit and the special terminals of the N terminals. When second electronic equipment is connected to the electronic equipment through a second serial port matched with the first serial port, the power supply unit is connected to the second electronic equipment through the first connecting unit and the special terminals, thereby supplying power to the second electronic equipment.

Description

A kind of electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of electronic equipment.
Background technology
Along with the development of computer technology, computer autocontrol technique is more and more ripe, is widely used in the fields such as commercial production, financial service and broadcasting and TV Broadcast Control, brings facility to the productive life of people.
At present, in computer controlled automatic field, computing machine carries out data transmission mainly through serial ports and parallel port and controlled peripherals.Compared with serial ports, although the transmission speed of parallel port is faster, be difficult to interference problem when overcoming channel transmission and interchannel asynchronous problem, limit and the range of application of vocal imitation skill.And serial communication is because transmission range is long, shielding is good and be easy to correct error code, have a wide range of applications in computer controlled automatic field.
But present inventor in the process realizing technical scheme in the embodiment of the present application, at least find that above-mentioned prior art exists following technical matters:
Due in proposed standard serial ports, as RS-232, RS-422 and RS-485, the electrical specification of a docking port makes regulation, and does not relate to connector, cable or agreement, according to the port definition of proposed standard serial ports, all terminals of proposed standard serial ports are non-powered terminal.Therefore, the controlled peripherals be connected with master control electronic equipment does not obtain electric energy by master control electronic equipment, and must power by arranging external powering device, as power lead and adapter etc.That is, there is controlled peripheral electronic device in prior art not by the technical matters of proposed standard serial ports by master control power electronic equipment.
Summary of the invention
The embodiment of the present application is by providing a kind of electronic equipment, in order to solve the controlled peripheral electronic device that exists in prior art not by the technical matters of proposed standard serial ports by master control power electronic equipment, achieve controlled peripherals by the technique effect of proposed standard serial ports by master control power electronic equipment.
The embodiment of the present application provides a kind of electronic equipment, comprising: power supply unit; First serial, described first serial has N number of terminal, and each terminal in described N number of terminal is non-powered terminal according to the port definition of described first serial, and wherein, N is positive integer; First linkage unit, described first linkage unit respectively with the designated ends sub-connection in described power supply unit and described N number of terminal; Wherein, when the second electronic equipment is connected to described electronic equipment by the second serial mated with described first serial, described power supply unit to described second electronic equipment, and then gives described second power electronic equipment by described first linkage unit and described designated ends sub-connection.
Preferably, when N is the integer being more than or equal to 2, described first linkage unit specifically comprises: input port, is connected with described power supply unit; First change-over switch, is connected with described input port; Wherein, when needs are to described second power electronic equipment, by described first change-over switch, described power supply unit is connected to described appointment terminal, and then makes described power supply unit by described first change-over switch, described input port and described appointment terminal to described second power electronic equipment.
Preferably, described electronic equipment also comprises: the first switching key, is connected with described first change-over switch; Wherein, when user carries out the first blocked operation on described first switching key, described first switching key can respond described first blocked operation, generate the first switching signal, described first change-over switch is by performing described first switching signal, described power supply unit is switched by described first change-over switch and is connected to described appointment terminal, to make described power supply unit to described second power electronic equipment.
Preferably, described electronic equipment also comprises: testing circuit, described testing circuit is connected with each terminal in described N number of terminal, for obtaining for showing that whether described power supply unit carries out i-th feedback signal of powering to described second electronic equipment from the i-th terminal test described N number of terminal when described first serial is connected with described second serial, i is the arbitrary positive integer being less than or equal to N; Control module, is connected with described testing circuit and described first change-over switch respectively; Wherein, when described i-th feedback signal shows that described power supply unit is powered to described second electronic equipment, determine that described i-th terminal is described appointment terminal, described i-th terminal is connected to, to make described power supply unit to described second power electronic equipment by described first change-over switch switching to make described power supply unit.
Preferably, described control module is used for, when described i-th feedback signal shows that described power supply unit is not powered to described second electronic equipment, generating i-th switching command based on described i-th feedback signal; Described first change-over switch is used for by performing described i-th switching command, and make described first change-over switch switch the jth terminal different from described i-th terminal be connected in described N number of terminal, j is the arbitrary positive integer being less than or equal to N and being not equal to i; Described testing circuit is used for obtaining for showing that whether described power supply unit carries out the jth feedback signal of powering to described second electronic equipment from jth terminal test, when described jth feedback signal shows that described power supply unit is powered to described second electronic equipment, determine that described jth terminal is described appointment terminal, described jth terminal is connected to, to make described power supply unit to described second power electronic equipment by described first change-over switch switching to make described power supply unit.
Preferably, described electronic equipment also comprises: storage unit, be connected with described control module, for storing described i-th feedback signal and described jth feedback signal that described control module receives, to enable described control module when described jth feedback signal shows that described power supply unit is not powered to described second electronic equipment, a jth switching command is generated based on described i-th feedback signal and described jth feedback signal, described first change-over switch is indicated to switch the kth terminal being different from described i-th terminal and described jth terminal be connected in described N number of terminal, k is the arbitrary positive integer being less than or equal to N and being not equal to i and j.
Preferably, when N is the integer being more than or equal to 2, described electronic equipment also comprises: signal element; Second linkage unit, described second linkage unit is connected with the data terminal in described signal element and described N number of terminal respectively; Wherein, when described first serial is connected with described second serial, described signal element is connected to described second electronic equipment by described second linkage unit and described data terminal, and then enables described electronic equipment and described second electronic equipment carry out data transmission.
Preferably, described second linkage unit specifically comprises: the second input port, is connected with described signal element; Second change-over switch, is connected with described second input port; Described electronic equipment also comprises: the second switching key, is connected with described second change-over switch; Wherein, when user carries out the second blocked operation on described second switching key, described second switching key can respond described second blocked operation, generate the second switching signal, described second change-over switch is by performing described second switching signal, described signal element is switched by described second change-over switch and is connected to described data terminal, carry out data transmission to enable described electronic equipment with described second electronic equipment.
Preferably, described electronic equipment also comprises: signal element; Second linkage unit, described second linkage unit is connected with the data terminal in described signal element and described N number of terminal respectively;
Wherein, when described first serial is connected with described second serial, described signal element is connected to described second electronic equipment by described second linkage unit and described data terminal, and then enables described electronic equipment and described second electronic equipment carry out data transmission.
Preferably, described second linkage unit specifically comprises: the second input port, is connected with described power supply unit; Second change-over switch, is connected with described input port; Wherein, after determining that described i-th terminal is for appointment terminal, described testing circuit is also for obtaining from the m terminal test in described N number of terminal for showing that can described electronic equipment carry out the m bis-class feedback signal of data transmission with described second electronic equipment, and m is the arbitrary positive integer being less than or equal to N and being not equal to i; Described m bis-class feedback signal show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described m terminal is described data terminal, to make described power supply unit be connected to described m terminal by described second change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment.
Preferably, described control module also for show in described m bis-class feedback signal described electronic equipment can not with described second electronic equipment carry out data transmit time, generate m switching command based on described m bis-class feedback signal; Described second change-over switch is used for by performing described m switching command, and make described second change-over switch switch n-th terminal different from described m terminal be connected in described N number of terminal, n is the arbitrary positive integer being less than or equal to N and being not equal to i and m; Described testing circuit is used for obtaining for showing that can described electronic equipment carry out the n-th two class feedback signals of data transmission with described second electronic equipment from m terminal test, described the n-th two class feedback signals show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described n-th terminal is described data terminal, to make described power supply unit be connected to described n-th terminal by described second change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment.
Preferably, described storage unit is also for storing described m bis-class feedback signal that described control module receives and described the n-th two class feedback signals, with enable described control module described the n-th two class feedback signals show described electronic equipment can not with described second electronic equipment carry out data transmit time, the n-th switching command is generated based on described m bis-class feedback signal and described the n-th two class feedback signals, described first change-over switch is indicated to switch the p terminal being different from described i-th terminal and described m terminal and described n-th terminal be connected in described N number of terminal, p is the arbitrary positive integer being less than or equal to N and being not equal to i and m and n.
Preferably, described electronic equipment also comprises: signal element; Second linkage unit, described second linkage unit comprises: the second change-over switch; And the 4th change-over switch, be connected with described second change-over switch, and the described power supply unit of changeable connection or described signal element; Described input port is specially the 3rd change-over switch, the described power supply unit of changeable connection or described signal element; Wherein, described control module is used for determining that described i-th terminal is the described designated ends period of the day from 11 p.m. to 1 a.m, sends the 4th switching command to described 4th change-over switch, described 4th change-over switch is switched and is connected to described signal element; Described testing circuit is also for obtaining from the m terminal test in described N number of terminal for showing that can described electronic equipment carry out the m bis-class feedback signal of data transmission with described second electronic equipment, and m is the arbitrary positive integer being less than or equal to N and being not equal to i; Described m bis-class feedback signal show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described m terminal is described data terminal, to make described signal element be connected to described m terminal by described 4th change-over switch and described second change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment.
Preferably, described control module also for show in described m bis-class feedback signal described electronic equipment can not with described second electronic equipment carry out data transmit time, described control module generates m switching command based on described m bis-class feedback signal; Described second change-over switch is used for by performing described m switching command, and make described second change-over switch switch n-th terminal different from described m terminal be connected in described N number of terminal, n is the arbitrary positive integer being less than or equal to N and being not equal to m and i; Described testing circuit is used for obtaining for showing that can described electronic equipment carry out the n-th two class feedback signals of data transmission with described second electronic equipment from m terminal test, described the n-th two class feedback signals show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described n-th terminal is described data terminal, to make described power supply unit be connected to described n-th terminal by described 4th change-over switch and described second change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment.
Preferably, described storage unit is also for storing described m bis-class feedback signal that described control module receives and described the n-th two class feedback signals, with enable described control module described the n-th two class feedback signals show described electronic equipment can not with described second electronic equipment carry out data transmit time, the n-th switching command is generated based on described m bis-class feedback signal and described the n-th two class feedback signals, described first change-over switch is indicated to switch the p terminal being different from described i-th terminal and described m terminal and described n-th terminal be connected in described N number of terminal, p is the arbitrary positive integer being less than or equal to N and being not equal to i and m and n.
Preferably, described control module is used for when described i-th feedback signal shows that described power supply unit is not powered to described second electronic equipment, generate the second switching command based on described i-th feedback signal, described 3rd change-over switch is switched and is connected to described signal element; Described testing circuit is also for obtaining for showing that can described electronic equipment carry out the i-th two class feedback signals of data transmission with described second electronic equipment from described i-th terminal test; Described the i-th two class feedback signals show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described i-th terminal is described data terminal, to make described power supply unit be connected to described i-th terminal by described first change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment; Described control module, also for sending the 3rd switching command to described 4th change-over switch, makes described 4th change-over switch be connected to described power supply unit; Described testing circuit is also for obtaining for showing that whether described power supply unit carries out the m feedback signal of powering to described second electronic equipment from described m terminal test; When described m feedback signal shows that described power supply unit is powered to described second electronic equipment, determine that described m terminal is described appointment terminal, described m terminal is connected to, to make described power supply unit to described second power electronic equipment by described 4th change-over switch and described second change-over switch switching to make described power supply unit.
Preferably, described control module also for show in described the i-th two class feedback signals described electronic equipment can not with described second electronic equipment carry out data transmit time, described control module generates i-th switching command based on described the i-th two class feedback signals; Described first change-over switch is used for by performing described i-th switching command, and make described first change-over switch switch the jth terminal different from described i-th terminal be connected in described N number of terminal, j is the arbitrary positive integer being less than or equal to N and being not equal to i; Described control module, also for sending the first switching command to described 3rd change-over switch, makes described 3rd change-over switch be connected to described power supply unit; Described testing circuit is used for obtaining for showing that whether described power supply unit carries out the jth feedback signal of powering to described second electronic equipment from jth terminal test, when described jth feedback signal shows that described power supply unit is powered to described second electronic equipment, determine that described jth terminal is described appointment terminal, described jth terminal is connected to, to make described power supply unit to described second power electronic equipment by described 3rd change-over switch and described first change-over switch switching to make described power supply unit.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
1, due in the scheme that provides in the embodiment of the present application, power supply unit is provided with in master control electronic equipment, and this power supply unit is connected with controlled peripheral electronic device by the appointment terminal in first serial, power circuit as printer is connected with the power supply unit of computing machine by serial ports, make printer can by computer power supply, and then solve the controlled peripheral electronic device that exists in prior art not by the technical matters of proposed standard serial ports by master control power electronic equipment, achieve controlled peripherals by the technique effect of proposed standard serial ports by master control power electronic equipment.
2, due in the scheme that provides in the embodiment of the present application, controlled peripherals passes through proposed standard serial ports by master control power electronic equipment, and then make controlled peripheral electronic device that external powering device can be saved, and then simplify the feed circuit in the structure of peripheral electronic device and peripheral electronic device environment for use.Such as, when printer by serial ports by computer power supply time, printer can remove power lead and corresponding adapter, and printer working environment also need not be provided for accessing the socket of power delivery circuit and corresponding transmission of electricity electric wire to printer.
3, due in the scheme that provides in the embodiment of the present application, the first change-over switch is also provided with in master control electronic equipment, for switching the terminal be connected with power supply unit, and by operating the first switching key be connected with the first change-over switch, can the terminal that is connected with the first change-over switch of manual switchover, until power supply unit is connected to appointment terminal, so achieve with easy method determine specify terminal.
4, due in the scheme that provides in the embodiment of the present application, testing circuit and control module and storage unit is also provided with in master control electronic equipment, by control module based on testing circuit testing result to first on-off circuit send switching command, achieve master control electronic equipment automatically determine specify terminal.
5, due in the scheme that provides in the embodiment of the present application, while the power supply unit by master control electronic equipment powers to controlled peripheral electronic device, also signal element is provided with in master control electronic equipment, by data terminal, this signal element is connected to the signal circuit of controlled electronic equipment, data transmission can be carried out with controlled peripherals to realize master control electronic equipment.
6, due in the scheme that provides in the embodiment of the present application, the second change-over switch is also provided with in master control electronic equipment, for switching the terminal be connected with signal element, and by operating the second switching key be connected with the second change-over switch, can the terminal that is connected with the second change-over switch of manual switchover, until signal element is connected to data terminal, and then achieve with easy method determination data terminal.
7, due in the scheme that provides in the embodiment of the present application, testing circuit and control module and storage unit is also provided with in master control electronic equipment, by control module based on testing circuit testing result to second change-over switch send switching command, achieve master control electronic equipment and automatically determine data terminal.
Accompanying drawing explanation
Electronic equipment 10 schematic diagram that Fig. 1 provides for the application one embodiment;
Another electronic equipment 10 schematic diagram that Fig. 2 provides for the application one embodiment;
A kind of first change-over switch automatic switchover that Fig. 3 provides for the embodiment of the present application is connected to the method flow diagram of specifying terminal;
The schematic diagram of the electronic equipment 10 that Fig. 4 provides for another embodiment of the application;
The schematic diagram of the electronic equipment 10 that Fig. 5 provides for the another embodiment of the application;
The schematic diagram of the electronic equipment 10 that Fig. 6 provides for another embodiment of the application.
Embodiment
The embodiment of the present application is by providing a kind of electronic equipment, in order to solve the controlled peripheral electronic device that exists in prior art not by the technical matters of proposed standard serial ports by master control power electronic equipment, achieve controlled peripherals by the technique effect of proposed standard serial ports by master control power electronic equipment.
Technical scheme in the embodiment of the present application is for solving the problems of the technologies described above, and general thought is as follows:
A kind of electronic equipment, comprising:
Power supply unit;
First serial, described first serial has N number of terminal, and each terminal in described N number of terminal is non-powered terminal according to the port definition of described first serial, and wherein, N is positive integer;
First linkage unit, described first linkage unit respectively with the designated ends sub-connection in described power supply unit and described N number of terminal;
Wherein, when the second electronic equipment is connected to described electronic equipment by the second serial mated with described first serial, described power supply unit to described second electronic equipment, and then gives described second power electronic equipment by described first linkage unit and described designated ends sub-connection.
Due in the scheme that provides in the embodiment of the present application, by the appointment terminal in first serial and the first linkage unit, power supply unit is connected with the second electronic equipment, and then the second power electronic equipment can be given by power supply unit.Wherein, electronic equipment is the main control equipment of automation field, such as computing machine, and the second electronic equipment is controlled peripheral electronic device, such as, and printer; Printer is connected by proposed standard serial ports with computing machine, such as RS-232 serial ports, owing to not specifying terminal in the port definition of RS-232, so in prior art when printer is connected to computing machine by RS-232 serial ports, not by computer power supply.And in the scheme provided in the embodiment of the present application, by arranging power supply unit in a computer, and the terminal power circuit of printer is connected in RS-232 serial ports, when the designated ends sub-connection in the first serial connected corresponding to this terminal is to power supply unit, just make power supply unit be communicated with the power circuit of printer, and then can be powered to printer by RS-232 serial ports by computing machine.
Below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, the specific features being to be understood that in the embodiment of the present invention and embodiment is the detailed description to technical solution of the present invention, instead of the restriction to technical solution of the present invention, when not conflicting, the technical characteristic in the embodiment of the present invention and embodiment can combine mutually.
The present invention is by an embodiment of the application, and provide a kind of electronic equipment 10, this electronic equipment 10 is master control electronic equipment, such as computing machine or panel computer etc. in automatic control technology field.As shown in Figure 1, this electronic equipment 10 comprises:
Power supply unit 101, in a particular application, power supply unit 101 is generally arranged on mainboard, or is arranged on the serial port board of electronic equipment 10.Certainly, power supply unit 101 can be arranged on other positions of electronic equipment 10 by the embodiment of the present application person of an ordinary skill in the technical field according to actual needs, no longer describes in detail in this embodiment of the present application;
First serial 102, first serial 102 has N number of terminal, and each terminal in N number of terminal is non-powered terminal according to the port definition of first serial 102, and wherein, N is positive integer.In actual applications, first serial 102 is the serial ports that port definition does not specify power supply terminal, such as, and proposed standard serial ports RS-232, RS-422 and RS-485 etc.; N number of terminal is N number of pin of serial ports, as 9 common pin pins and 25 pin pins;
First linkage unit 103, first linkage unit 103 is connected with the appointment terminal 1021 in power supply unit 101 and N number of terminal respectively.In the present embodiment, first linkage unit 103 is for being connected to first serial 102 by power supply unit 101, it can be the device of any electrical connection, comprises connection terminal, PCB connector, industrial connector, terminal box, heavy-duty connector, cable, cable splice, safety barrier, contact element etc.;
Wherein, when the second electronic equipment 20 is connected to electronic equipment 10 by the second serial 202 mated with first serial 102, power supply unit 101 is by the first linkage unit 103 and specify terminal 1021 to be connected to the second electronic equipment 20, and then powers to the second electronic equipment 20.Concrete, the second electronic equipment is the controlled peripheral electronic device in computer controlled automatic field, such as printer, industrial robot, monitor etc.
In the embodiment of the present application, terminal 1021 is specified to be the terminal of specifying terminal 2021 Corresponding matching be connected with the power circuit 201 of the second electronic equipment 20 in second serial 202 second.Namely terminal 1021 is specified specifically to be determined by power circuit in the second electronics 20 201 and the annexation of terminal in second serial 202.Therefore, when first serial 102 is connected with second serial 202, because power supply unit 101 specifies terminal 2021 to be connected to power circuit 201 by specifying terminal 1021 and second, and then power to the second electronic equipment 20.
Being 25 pin RS-232 serial ports for first serial 102 and second serial 202, in 25 terminals, having a lot of terminal to be undefined terminal, also having some terminals to be auxiliary terminal, such as, for detecting the terminal of data carrier.In the present embodiment, these undefined terminals and auxiliary terminal can be used to specify terminal 2021 as second and specify terminal 1021.
In actual applications, a kind of situation that may occur is, the current terminal be connected with power supply unit 101 is not specify terminal 1021, now, the mode of manually jumper cap power supply unit 101 can be connected to power circuit 201, power to give the second electronic equipment 20.By arranging switching device shifter manually or automatically, power supply unit can also be connected to and specify terminal 1021 in addition.Certainly, the embodiment of the present application person of an ordinary skill in the technical field can use other technologies means that power supply unit 101 is connected to power circuit 201, no longer describes in detail in this embodiment of the present application.
As shown in Figure 2, can switch to make power supply unit 101 to be connected to and specify terminal 1021, in the electronic equipment 10 that the embodiment of the present application provides, the first linkage unit 103 specifically comprises:
Input port 1031, is connected with power supply unit 101;
First change-over switch 1032, is connected with input port 1031.In embody rule, the first change-over switch 1032 can be a digital switch circuit or analog switching circuit, also can be the switch that a hilted broadsword is thrown more;
Wherein, when needs are powered to the second electronic equipment 20, by the first change-over switch 1032, power supply unit 101 is connected to appointment terminal 1021, and then makes power supply unit 101 by the first change-over switch 1032, input port 1031 and specify terminal 1021 to power to the second electronic equipment 20.
Power supply unit 101 switches to be connected to specifies the mode of terminal 1021 can be divided into manually and automatic two kinds of modes, and a kind of electronic equipment 10 that the embodiment of the present application provides can realize manual switchover and be connected to appointment terminal 1021, and this electronic equipment 10 also comprises:
First switching key, is connected with the first change-over switch 1032;
Wherein, when user carries out the first blocked operation on the first switching key, first switching key can respond this first blocked operation, generate the first switching signal, first change-over switch 1032 is by performing this first switching signal, power supply unit 101 is switched by the first change-over switch 1032 and is connected to appointment terminal 1021, power to the second electronic equipment 20 to make power supply unit 101.
In a particular application, the manual switchover in the above embodiments of the present application can realize by manual switchover many times to specifying terminal 1021.Such as, when after first time operation the first switching key, second electronic equipment still there is no electric energy, can whether luminescence judges by the power light of observation second electronic equipment, now, continue operation first switching key, the terminal of splicing ear before making it switch to be different from, until power light lights, namely power supply unit is connected to and specifies terminal 1021.Certainly, by other means, technician described in the embodiment of the present application also can judge can whether current splicing ear be data terminal 1021, such as, be started by observation second electronic equipment 20.
Another electronic equipment 10 that the embodiment of the present application provides can realize automatic switchover and be connected to appointment terminal 1021, and this electronic equipment 10 also comprises:
Testing circuit 105, testing circuit 105 is connected with each terminal in N number of terminal, for obtaining for showing that whether power supply unit 101 carries out i-th feedback signal of powering to the second electronic equipment 20 from the i-th terminal test N number of terminal when first serial 102 is connected with second serial 202, i is the arbitrary positive integer being less than or equal to N;
Control module 106, is connected with testing circuit 105 and the first change-over switch 1032 respectively;
Wherein, when the i-th feedback signal shows that power supply unit 101 is powered to the second electronic equipment 20, determine that this i-th terminal is for specifying terminal 1021, to make power supply unit 101 be connected to this i-th terminal by the first change-over switch 1032 switching, power to the second electronic equipment 20 to make power supply unit 101.
Further, when this i-th feedback signal shows that power supply unit 101 is not powered to the second electronic equipment 20, control module 106 is for generating i-th switching command based on this i-th feedback signal;
First change-over switch 1032 performs this i-th switching command for passing through, and make the first change-over switch 1032 switch the jth terminal different from the i-th terminal be connected in N number of terminal, j is the arbitrary positive integer being less than or equal to N and being not equal to i;
Testing circuit 105 is for obtaining for showing that whether power supply unit 101 carries out the jth feedback signal of powering to the second electronic equipment 20 from jth terminal test, when this jth feedback signal shows that power supply unit 101 is powered to the second electronic equipment 20, determine that this jth terminal is for specifying terminal 1021, to make power supply unit 101 be connected to this jth terminal by the first change-over switch 1032 switching, power to described second electronic equipment 20 to make power supply unit 101.
Further, in order to improve automatic switchover efficiency, those can not be used for the terminal of powering to avoid duplicate detection, and this electronic equipment 10 also comprises:
Storage unit 107, be connected with control module 106, the i-th feedback signal received for storage control unit 106 and jth feedback signal, power supply unit 101 can be shown when not powering to the second electronic equipment 20 in jth feedback signal to make control module 106, a jth switching command is generated based on the i-th feedback signal and jth feedback signal, indicate the first change-over switch 1032 to switch the kth terminal being different from the i-th terminal and jth terminal be connected in N number of terminal, k is the arbitrary positive integer being less than or equal to N and being not equal to i and j.
In embody rule, testing circuit 105 for detecting the feedback signal of the terminal of first serial 102, to judge whether the current terminal be connected with the first change-over switch 1032 is specify terminal 1021.This feedback signal can only obtain from the current terminal be connected with the first change-over switch 1032, also can be obtained by other terminals in first serial 102; Such as, and for the concrete form of feedback signal, the embodiment of the present application person of an ordinary skill in the technical field can set according to actual needs, high level, low level or a certain digital signal.In addition, a Preset Time is set, such as 1s also can to the acquisition of this feedback signal, if do not receive feedback information in 1s, then shows when front terminal is not designated ends 1021.
In the electronic equipment 10 that the above embodiments of the present application provide, control module 106 can be a control chip, can be arranged on mainboard or on board, also can be arranged on other rational positions.And storage unit 107 can be a register or hard disk, it can plug-inly be arranged on control module 106, also can be arranged on control module 106 inner.In order to ensure that storage unit 107 can store current feedback information, arrange one based on the aging mechanism of capacity or clock can to storage unit 107.
As shown in Figure 3, below in conjunction with concrete automatic switchover example, above-described embodiment automatic switchover scheme is explained.
S101: first serial 102 is connected with second serial 202, the default connection the first terminal of the first change-over switch 1032;
S102: testing circuit 105 detects the 1st feedback signal for the first terminal, and the 1st feedback signal is sent to control module 106; If the 1st feedback signal shows that the first terminal is specify terminal 1021, perform S103; Otherwise, perform S104;
S103: determine that the current splicing ear of the first change-over switch is for specifying terminal 1021, is connected to this appointment terminal 1021 by power supply unit 101, and then power to the second electronic equipment 20;
S104: the 1st feedback signal that control module 106 stores based on storage unit 107 generates the 1st instruction, and the first change-over switch 1032 responds the 1st instruction, performs the 1st and switches, switch to the second terminal;
S105: testing circuit 105 detects the 2nd feedback signal for the second terminal, and the 2nd feedback signal is sent to control module 106; If the 2nd feedback signal shows that the second terminal is for specifying terminal 1021, performs S103; Otherwise, perform S106;
S106: the 1st feedback signal that control module 106 stores based on storage unit 107 and the 2nd feedback signal generate the 2nd instruction, and the first change-over switch 1032 responds the 2nd instruction, performs the 2nd and switches, switch to the 3rd terminal being different from the first terminal and the second terminal;
……
By above-mentioned steps, just can ensure automatically to determine like clockwork to specify terminal 1021, and power supply unit 101 is connected to this appointment terminal 1021, and then power to the second electronic equipment 20.
As shown in Figure 4, on the basis powering to the second electronic equipment 20 by power supply unit 101, in order to make electronic equipment 10 and the second electronic equipment 20 to carry out data transmission, in another embodiment that the application provides, electronic equipment 10 also comprises:
Signal element 108;
Second linkage unit 109, second linkage unit 109 is connected with the data terminal 1022 in signal element 108 and N number of terminal respectively.In the present embodiment, second linkage unit 109 is for being connected to the data terminal 1022 in first serial 102 by signal element 108, it can be the device of any electrical connection, comprises connection terminal, PCB connector, industrial connector, terminal box, heavy-duty connector, cable, cable splice, safety barrier, contact element etc.;
Wherein, when first serial 102 is connected with second serial 202, signal element 108 is connected to the second electronic equipment 20 by the second linkage unit 109 and data terminal 1022, and then makes electronic equipment 10 and the second electronic equipment 20 carry out data transmission.
In the embodiment of the present application, data terminal 1022 is the terminal with the second data terminal 2022 Corresponding matching be connected with the data transmission circuit 208 of the second electronic equipment 20 in second serial 202.Namely data terminal 1022 is specifically determined by data transmission circuit in the second electronics 20 208 and the annexation of terminal in second serial 202.Therefore, when first serial 102 is connected with second serial 202, because signal element 108 is connected to data transmission circuit 208 by data terminal 1022 and the second data terminal 2022, and then make electronic equipment 10 can carry out data transmission with the second electronic equipment 20.In addition, data terminal 1022 is specifically as follows reception data terminal, also can for sending data terminal, and the embodiment of the present application is not limited.
Being 25 pin RS-232 serial ports for first serial 102 and second serial 202, in 25 terminals, having a lot of terminal to be undefined terminal, also having some terminals to be auxiliary terminal, such as, for detecting the terminal of data carrier.In the present embodiment, these undefined terminals and auxiliary terminal can be used as data terminal 1022 and the second data terminal 2022.
In actual applications, a kind of situation that may occur is, the current terminal be connected with signal element 108 is not data terminal 1022, now, the mode of manually jumper cap signal element 108 can be connected to data transmission circuit 208, data transmission can be carried out with the second electronic equipment 20 to make electronic equipment 10.By arranging switching device shifter manually or automatically, signal element 108 can also be connected to data terminal 1022 in addition.Certainly, the embodiment of the present application person of an ordinary skill in the technical field can use other technologies means that signal element 108 is connected to data transmission circuit 208, no longer describes in detail in this embodiment of the present application.
A kind of electronic equipment that the embodiment of the present application provides manual switchover in a upper embodiment is determined to specify on the basis of terminal 1021, one manual switching device is set by increase and achieves manual switchover determination data terminal, in this electronic equipment, the second linkage unit 109 specifically comprises:
Second input port 1091, is connected with signal element 108;
Second change-over switch 1092, is connected with the second input port 1091;
This electronic equipment also comprises:
Second switching key, is connected with the second change-over switch 1092;
Wherein, when user carries out the second blocked operation on the second switching key, second switching key can respond described second blocked operation, generate the second switching signal, second change-over switch 1092 is by performing this second switching signal, signal element 108 is switched by the second change-over switch 1092 and is connected to data terminal 1022, data transmission can be carried out with the second electronic equipment 20 to make electronic equipment 10.
In a particular application, the second change-over switch 1092 can be a digital switch circuit or analog switching circuit, also can be the switch that a hilted broadsword is thrown more.Manual switchover in the above embodiments of the present application can realize by manual switchover many times to data terminal 1022.Such as, when after first time operation the second switching key, second electronic equipment still can not carry out data transmission with electronic equipment, whether luminescence judges can to transmit pilot lamp by the data of observation second electronic equipment, now, continue operation second switching key, the terminal of splicing ear before making it switch to be different from, until data transmission pilot lamp lights, can judge that signal element 108 is connected to data terminal 1022.Certainly, by other means, technician described in the embodiment of the present application also can judge can whether current splicing ear be data terminal 1022, such as, be received the mode of a certain data from electronic equipment 10 by judgement second electronic equipment 20.
As shown in Figure 5, the another embodiment of the application provides an electronic equipment 10, automatically switches in a first embodiment and determines to specify on the basis of terminal 1021, increase by an automatic switching control equipment, realize automatic switchover and determine data terminal 1022.This electronic equipment 10 also comprises:
Signal element 108;
Second linkage unit 109, second linkage unit 109 is connected with the data terminal 1022 in signal element 108 and N number of terminal respectively;
Wherein, when first serial 102 is connected with second serial 202, signal element 108 is connected to the second electronic equipment 20 by the second linkage unit 109 and data terminal 1022, and then makes electronic equipment 10 and the second electronic equipment 20 carry out data transmission.
Further, determine data terminal 1022 to realize automatic switchover, in electronic equipment 10, the second linkage unit 109 specifically comprises:
Second input port 1091, is connected with signal element 108;
Second change-over switch 1092, is connected with the second input port 1091;
Wherein, after determining that the i-th terminal is for appointment terminal 1021, testing circuit 105 is also for obtaining from the m terminal test in N number of terminal for showing that can electronic equipment 10 carry out the m bis-class feedback signal of data transmission with the second electronic equipment 20, and m is the arbitrary positive integer being less than or equal to N and being not equal to i;
M bis-class feedback signal show electronic equipment 10 can with the second electronic equipment 20 carry out data transmit time, determine that m terminal is data terminal 1022, to make signal element 108 be connected to m terminal by the second change-over switch 1092 switching, data transmission can be carried out with the second electronic equipment 20 to make electronic equipment 10.
Further, m bis-class feedback signal show electronic equipment 10 can not with the second electronic equipment 20 carry out data transmit time, control module 106 is also for generating m switching command based on m bis-class feedback signal;
Second change-over switch 1092 performs this m switching command for passing through, and make the second change-over switch 1092 switch n-th terminal different from m terminal be connected in N number of terminal, n is the arbitrary positive integer being less than or equal to N and being not equal to i and m;
Testing circuit 105 is for obtaining for showing that can electronic equipment 10 carry out the n-th two class feedback signals of data transmission with the second electronic equipment 20 from m terminal test, the n-th two class feedback signals show electronic equipment 10 can with the second electronic equipment 20 carry out data transmit time, determine that the n-th terminal is data terminal 1022, to make signal element 108 be connected to the n-th terminal by the second change-over switch 1092 switching, data transmission can be carried out with the second electronic equipment 20 to make electronic equipment 10.
Further, in order to improve automatic switchover efficiency, avoid duplicate detection those can not be used for data transmission terminal, the m bis-class feedback signal that storage unit 107 also receives for storage control unit 106 and the n-th two class feedback signals, with make control module 106 can the n-th two class feedback signals show electronic equipment 10 can not with the second electronic equipment 20 carry out data transmit time, the n-th switching command is generated based on m bis-class feedback signal and the n-th two class feedback signals, the second change-over switch 1092 is indicated to switch the p terminal being different from the i-th terminal and m terminal and the n-th terminal be connected in N number of terminal, p is the arbitrary positive integer being less than or equal to N and being not equal to i and m and n.
In embody rule, for the concrete form of two class feedback signals, the embodiment of the present application person of an ordinary skill in the technical field can set according to actual needs, such as high level, low level or a certain digital signal.In addition, a Preset Time is set, such as 1s also can to the acquisition of this two classes feedback signal, if do not receive feedback information in 1s, then judges that the current splicing ear of the second change-over switch 1092 is not data terminal 1022.
Automatically switching in this enforcement, it is similar to determine that the method for data terminal 1022 and automatic switchover determine to specify the method for terminal 1021, unique difference is: determine that owing to automatically switching data terminal 1022 step occurs in after automatic switchover determines to specify terminal 1021 step, so when data terminal 1022 is determined in automatic switchover, the second change-over switch 1092 switches the terminal connected and does not comprise fixed appointment terminal 1021.Certainly, in actual applications, also can exchanging automatically switches determines to specify terminal 1021 and automatically switch to determine the order of data terminal 1022, namely first automatically switch and determine data terminal 1022, rear automatic switchover is determined to specify terminal 1021, in this case, when automatic switchover is determined to specify terminal 1021, the first change-over switch 1032 switches the terminal connected and does not comprise fixed data terminal 1022.
As shown in Figure 6, in the electronic equipment 10 that the another embodiment of the application provides, can quick automatic switching determine to specify terminal 1021 and data terminal 1022, in the application first embodiment, testing circuit 105 obtains for showing whether power supply unit 10 carries out the basis of i-th feedback signal of powering to the second electronic equipment 20, and this electronic equipment 10 also comprises from the i-th terminal test:
Signal element 108;
Second linkage unit 109, second linkage unit comprises:
Second change-over switch 1092; And
4th change-over switch 1093, is connected with the second change-over switch 1092, and changeable connection power supply unit 101 or signal element 108;
Input port 1031 is specially the 3rd change-over switch 1033, changeable connection power supply unit 101 or signal element 108;
Wherein, control module 106, for when determining the i-th terminal for appointment terminal 1021, sends the 4th switching command to the 4th change-over switch 1093, the 4th change-over switch 1093 is switched and is connected to signal element 108;
Testing circuit 105 is also for obtaining from the m terminal test in N number of terminal for showing that can electronic equipment 10 carry out the m bis-class feedback signal of data transmission with the second electronic equipment 20, and m is the arbitrary positive integer being less than or equal to N and being not equal to i;
M bis-class feedback signal show electronic equipment 10 can with the second electronic equipment 20 carry out data transmit time, determine that m terminal is data terminal 1022, to make signal element 108 be connected to m terminal by the 4th change-over switch 1093 and the switching of the second change-over switch 1092, data transmission can be carried out with the second electronic equipment 20 to make electronic equipment 10.
Further, m bis-class feedback signal show electronic equipment 10 can not with the second electronic equipment 20 carry out data transmit time, control module 106 is also for generating m switching command based on m bis-class feedback signal;
Second change-over switch 1092 is for passing through execution m switching command, and make the second change-over switch 1092 switch n-th terminal different from m terminal be connected in N number of terminal, n is the arbitrary positive integer being less than or equal to N and being not equal to m and i;
Testing circuit 105 is for obtaining for showing that can electronic equipment 10 carry out the n-th two class feedback signals of data transmission with the second electronic equipment 20 from m terminal test, the n-th two class feedback signals show electronic equipment 10 can with the second electronic equipment 20 carry out data transmit time, determine that the n-th terminal is data terminal 1022, to make signal element 108 be connected to the n-th terminal by the 4th change-over switch 1093 and the switching of the second change-over switch 1092, data transmission can be carried out with the second electronic equipment 20 to make electronic equipment 10.
Further, in order to improve automatic switchover efficiency, avoid duplicate detection those can not be used for data transmission terminal, the m bis-class feedback signal that storage unit 107 also receives for storage control unit 106 and the n-th two class feedback signals, with enable control module the n-th two class feedback signals show electronic equipment 10 can not with the second electronic equipment 20 carry out data transmit time, the n-th switching command is generated based on m bis-class feedback signal and the n-th two class feedback signals, the first change-over switch 1032 is indicated to switch the p terminal being different from the i-th terminal and m terminal and the n-th terminal be connected in N number of terminal, p is the arbitrary positive integer being less than or equal to N and being not equal to i and m and n.
Further, when the i-th feedback signal shows that power supply unit 10 is not powered to the second electronic equipment 20, control module 106, for generating the second switching command based on the i-th feedback signal, makes the 3rd change-over switch 1033 switch and is connected to signal element 108;
Testing circuit is also for obtaining for showing that can electronic equipment 10 carry out the i-th two class feedback signals of data transmission with the second electronic equipment 20 from the i-th terminal test;
The i-th two class feedback signals show electronic equipment 10 can with the second electronic equipment 20 carry out data transmit time, determine that the i-th terminal is data terminal 1022, to make power supply unit 10 be connected to the i-th terminal by the first change-over switch 1032 switching, data transmission can be carried out with the second electronic equipment 20 to make electronic equipment 10;
Control module 106, also for sending the 3rd switching command to the 4th change-over switch 1093, makes the 4th change-over switch 1093 be connected to power supply unit 101;
Testing circuit 105 is also for obtaining for showing that whether power supply unit 101 carries out the m feedback signal of powering to the second electronic equipment 20 from m terminal test;
When m feedback signal shows that power supply unit 101 is powered to the second electronic equipment 20, determine that m terminal is for specifying terminal 1021, to make power supply unit 101 be connected to m terminal by the 4th change-over switch 1093 and the switching of the second change-over switch 1092, power to the second electronic equipment 20 to make power supply unit 101.
Further, the i-th two class feedback signals show electronic equipment 10 can not with the second electronic equipment 20 carry out data transmit time, control module 106 is also for generating i-th switching command based on the i-th two class feedback signals;
First change-over switch 1032 is for passing through execution i-th switching command, and make the first change-over switch 1032 switch the jth terminal different from the i-th terminal be connected in N number of terminal, j is the arbitrary positive integer being less than or equal to N and being not equal to i;
Control module 106, also for sending the first switching command to the 3rd change-over switch 1033, makes the 3rd change-over switch 1033 be connected to power supply unit 101;
Testing circuit 105 is for obtaining for showing that whether power supply unit 101 carries out the jth feedback signal of powering to the second electronic equipment 20 from jth terminal test, when jth feedback signal shows that power supply unit 101 is powered to the second electronic equipment 20, determine that jth terminal is for specifying terminal 1021, to make power supply unit 101 be connected to jth terminal by the 3rd change-over switch 1033 and the switching of the first change-over switch 1032, power to the second electronic equipment 20 to make power supply unit 101.
Below in conjunction with concrete automatic switchover example, above-described embodiment automatic switchover scheme is explained.
S201: first serial 102 is connected with second serial 202, the default connection the first terminal of the first change-over switch 1032, the default connection power supply unit of the 3rd change-over switch 1033;
S202: testing circuit 105 detects the 1st feedback signal for the first terminal, and the 1st feedback signal is sent to control module 106; If the 1st feedback signal shows that the first terminal is specify terminal 1021, perform S203; Otherwise, perform S204;
S203: determine the first change-over switch 1032 to be connected to the first terminal, the 3rd change-over switch 1033 is connected to power supply unit 101; Control module 105 sends the 4th switching command to the 4th change-over switch 1093, makes the 4th change-over switch 1093 be connected to signal element 108; Control module 106 sends the 1st switching command to the second switch unit 1092, makes the second switch unit 1092 be connected to the second terminal being different from the first terminal; Go to S205;
S204: control module 106 sends the second instruction to the 3rd change-over switch 1033, makes the 3rd change-over switch 1033 be connected to signal element; Go to S208;
S205: detecting unit 105 detects the 2 two class feedback signal for the second terminal, if the 2 two class feedback signal shows that the second terminal is data terminal, then goes to S206; Otherwise, go to S207;
S206: determine the second change-over switch 1092 to be connected to the second terminal, determines the 4th change-over switch 1093 to be connected to signal element;
S207: the 2 two class feedback signal that control module 106 stores based on storage unit 107, generate the 2nd switching command, the second change-over switch 1092 responds the 2nd switching command, is connected to the 3rd terminal being different from the first terminal and the second terminal; Testing circuit 105 continues to detect the corresponding two class feedback signals for the second change-over switch splicing ear, and control module 106 continues to send corresponding switching command, until data terminal 1022 detected;
S208: testing circuit 105 detects the 1 two class feedback signal for the first terminal, if the 1 two class feedback signal shows that the first terminal is data terminal 1022, then turns to S209; Otherwise, turn to S210;
S209: control module 106 sends the 3rd switching command based on the 1 two class feedback signal to the 4th change-over switch 1093, sends the 1st switching command to the second change-over switch, makes it switch and is connected to the second terminal being different from the first terminal; Turn to S211;
S210: control module 106 sends the first switching command to the 3rd change-over switch 1033, makes it be connected to power supply unit 101, sends the 1st switching command to the first change-over switch, makes it switch to being different from the second terminal of the first terminal; Testing circuit 105 continues to detect the feedback signal for the first change-over switch splicing ear or two class feedback signals, control module 106 continues to send corresponding switching command, until determine current with the first change-over switch 1032 splicing ear for specify terminal 1021 or data terminal 1022;
S211: testing circuit detects the 2nd feedback signal for the second terminal, if the second feedback signal shows that the second terminal is for specifying terminal 1021, then turn to S212; Otherwise, turn to S213;
S212: determine that the 4th change-over switch 1093 connects power supply unit 101, determines that the second change-over switch 1092 connects the second terminal;
S213: control module sends the 2nd switching command based on the 2nd feedback signal to the second change-over switch, is connected to the 3rd terminal being different from the first terminal and the second terminal; Testing circuit 105 continues to detect the feedback signal for the second change-over switch 1092 splicing ear, and control module 106 makes corresponding switching command based on testing result, until determine to specify terminal 1021.
In above-mentioned flow process, exercising ordinary skill described in the embodiment of the present application can change default annexation as required, and such as the 3rd change-over switch 1033 is default is connected to unit of restricting the number 108; Also can change the order determining terminal, as first time detects data terminal 1022, at this, the embodiment of the present application no longer describes in detail.
In above-described embodiment of the application, if the power circuit of the controlled peripheral electronic device be connected with master control electronic equipment is not connected with second serial, namely the second serial of controlled peripheral electronic device does not have the second appointment terminal, accordingly, the first serial of master control electronic equipment does not have appointment terminal yet.Now, the electronic equipment that the embodiment of the present application provides is after searching all terminals of first serial, determine not comprise appointment terminal in first serial, stopping is searched, then after controlled peripheral electronic device is powered by other means, electronic equipment can be undertaken alternately by first serial and controlled peripheral electronic device, in full reportedly defeated, status monitoring etc.
The one or more technical schemes provided in the embodiment of the present application, at least have following technique effect or advantage:
1, due in the scheme that provides in the embodiment of the present application, power supply unit is provided with in master control electronic equipment, and this power supply unit is connected with controlled peripheral electronic device by the appointment terminal in first serial, power circuit as printer is connected with the power supply unit of computing machine by serial ports, make printer can by computer power supply, and then solve the controlled peripheral electronic device that exists in prior art not by the technical matters of proposed standard serial ports by master control power electronic equipment, achieve controlled peripherals by the technique effect of proposed standard serial ports by master control power electronic equipment.
2, due in the scheme that provides in the embodiment of the present application, controlled peripherals passes through proposed standard serial ports by master control power electronic equipment, and then make controlled peripheral electronic device that external powering device can be saved, and then simplify the feed circuit in the structure of peripheral electronic device and peripheral electronic device environment for use.Such as, when printer by serial ports by computer power supply time, printer can remove power lead and corresponding adapter, and printer working environment also need not be provided for accessing the socket of power delivery circuit and corresponding transmission of electricity electric wire to printer.
3, due in the scheme that provides in the embodiment of the present application, the first change-over switch is also provided with in master control electronic equipment, for switching the terminal be connected with power supply unit, and by operating the first switching key be connected with the first change-over switch, can the terminal that is connected with the first change-over switch of manual switchover, until power supply unit is connected to appointment terminal, so achieve with easy method determine specify terminal.
4, due in the scheme that provides in the embodiment of the present application, testing circuit and control module and storage unit is also provided with in master control electronic equipment, by control module based on testing circuit testing result to first on-off circuit send switching command, achieve master control electronic equipment automatically determine specify terminal.
5, due in the scheme that provides in the embodiment of the present application, while the power supply unit by master control electronic equipment powers to controlled peripheral electronic device, also signal element is provided with in master control electronic equipment, by data terminal, this signal element is connected to the signal circuit of controlled electronic equipment, data transmission can be carried out with controlled peripherals to realize master control electronic equipment.
6, due in the scheme that provides in the embodiment of the present application, the second change-over switch is also provided with in master control electronic equipment, for switching the terminal be connected with signal element, and by operating the second switching key be connected with the second change-over switch, can the terminal that is connected with the second change-over switch of manual switchover, until signal element is connected to data terminal, and then achieve with easy method determination data terminal.
7, due in the scheme that provides in the embodiment of the present application, testing circuit and control module and storage unit is also provided with in master control electronic equipment, by control module based on testing circuit testing result to second change-over switch send switching command, achieve master control electronic equipment and automatically determine data terminal.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (17)

1. an electronic equipment, is characterized in that, comprising:
Power supply unit;
First serial, described first serial has N number of terminal, and each terminal in described N number of terminal is non-powered terminal according to the port definition of described first serial, and wherein, N is positive integer;
First linkage unit, described first linkage unit respectively with the designated designated ends sub-connection being used for powering in described power supply unit and described N number of terminal;
Wherein, when the second electronic equipment is connected to described electronic equipment by the second serial mated with described first serial, described power supply unit to described second electronic equipment, and then gives described second power electronic equipment by described first linkage unit and described designated ends sub-connection.
2. electronic equipment as claimed in claim 1, it is characterized in that, when N is the integer being more than or equal to 2, described first linkage unit specifically comprises:
Input port, is connected with described power supply unit;
First change-over switch, is connected with described input port;
Wherein, when needs are to described second power electronic equipment, by described first change-over switch, described power supply unit is connected to described appointment terminal, and then makes described power supply unit by described first change-over switch, described input port and described appointment terminal to described second power electronic equipment.
3. electronic equipment as claimed in claim 2, it is characterized in that, described electronic equipment also comprises:
First switching key, is connected with described first change-over switch;
Wherein, when user carries out the first blocked operation on described first switching key, described first switching key can respond described first blocked operation, generate the first switching signal, described first change-over switch is by performing described first switching signal, described power supply unit is switched by described first change-over switch and is connected to described appointment terminal, to make described power supply unit to described second power electronic equipment.
4. electronic equipment as claimed in claim 2, it is characterized in that, described electronic equipment also comprises:
Testing circuit, described testing circuit is connected with each terminal in described N number of terminal, for obtaining for showing that whether described power supply unit carries out i-th feedback signal of powering to described second electronic equipment from the i-th terminal test described N number of terminal when described first serial is connected with described second serial, i is the arbitrary positive integer being less than or equal to N;
Control module, is connected with described testing circuit and described first change-over switch respectively;
Wherein, when described i-th feedback signal shows that described power supply unit is powered to described second electronic equipment, determine that described i-th terminal is described appointment terminal, described i-th terminal is connected to, to make described power supply unit to described second power electronic equipment by described first change-over switch switching to make described power supply unit.
5. electronic equipment as claimed in claim 4, is characterized in that:
Described control module is used for, when described i-th feedback signal shows that described power supply unit is not powered to described second electronic equipment, generating i-th switching command based on described i-th feedback signal;
Described first change-over switch is used for by performing described i-th switching command, and make described first change-over switch switch the jth terminal different from described i-th terminal be connected in described N number of terminal, j is the arbitrary positive integer being less than or equal to N and being not equal to i;
Described testing circuit is used for obtaining for showing that whether described power supply unit carries out the jth feedback signal of powering to described second electronic equipment from jth terminal test, when described jth feedback signal shows that described power supply unit is powered to described second electronic equipment, determine that described jth terminal is described appointment terminal, described jth terminal is connected to, to make described power supply unit to described second power electronic equipment by described first change-over switch switching to make described power supply unit.
6. electronic equipment as claimed in claim 5, it is characterized in that, described electronic equipment also comprises:
Storage unit, be connected with described control module, for storing described i-th feedback signal and described jth feedback signal that described control module receives, to enable described control module when described jth feedback signal shows that described power supply unit is not powered to described second electronic equipment, a jth switching command is generated based on described i-th feedback signal and described jth feedback signal, described first change-over switch is indicated to switch the kth terminal being different from described i-th terminal and described jth terminal be connected in described N number of terminal, k is the arbitrary positive integer being less than or equal to N and being not equal to i and j.
7. the electronic equipment as described in claim arbitrary in claim 1-3, is characterized in that, when N is the integer being more than or equal to 2, described electronic equipment also comprises:
Signal element;
Second linkage unit, described second linkage unit is connected with the data terminal in described signal element and described N number of terminal respectively;
Wherein, when described first serial is connected with described second serial, described signal element is connected to described second electronic equipment by described second linkage unit and described data terminal, and then enables described electronic equipment and described second electronic equipment carry out data transmission.
8. electronic equipment as claimed in claim 7, it is characterized in that, described second linkage unit specifically comprises:
Second input port, is connected with described signal element;
Second change-over switch, is connected with described second input port;
Described electronic equipment also comprises:
Second switching key, is connected with described second change-over switch;
Wherein, when user carries out the second blocked operation on described second switching key, described second switching key can respond described second blocked operation, generate the second switching signal, described second change-over switch is by performing described second switching signal, described signal element is switched by described second change-over switch and is connected to described data terminal, carry out data transmission to enable described electronic equipment with described second electronic equipment.
9. electronic equipment as claimed in claim 6, it is characterized in that, described electronic equipment also comprises:
Signal element;
Second linkage unit, described second linkage unit is connected with the data terminal in described signal element and described N number of terminal respectively;
Wherein, when described first serial is connected with described second serial, described signal element is connected to described second electronic equipment by described second linkage unit and described data terminal, and then enables described electronic equipment and described second electronic equipment carry out data transmission.
10. electronic equipment as claimed in claim 9, it is characterized in that, described second linkage unit specifically comprises:
Second input port, is connected with described signal element;
Second change-over switch, is connected with described second input port;
Wherein, after determining that described i-th terminal is for appointment terminal, described testing circuit is also for obtaining from the m terminal test in described N number of terminal for showing that can described electronic equipment carry out the m bis-class feedback signal of data transmission with described second electronic equipment, and m is the arbitrary positive integer being less than or equal to N and being not equal to i;
Described m bis-class feedback signal show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described m terminal is described data terminal, to make described signal element be connected to described m terminal by described second change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment.
11. electronic equipments as claimed in claim 10, is characterized in that:
Described control module also for show in described m bis-class feedback signal described electronic equipment can not with described second electronic equipment carry out data transmit time, generate m switching command based on described m bis-class feedback signal;
Described second change-over switch is used for by performing described m switching command, and make described second change-over switch switch n-th terminal different from described m terminal be connected in described N number of terminal, n is the arbitrary positive integer being less than or equal to N and being not equal to i and m;
Described testing circuit is used for obtaining for showing that can described electronic equipment carry out the n-th two class feedback signals of data transmission with described second electronic equipment from described m terminal test, described the n-th two class feedback signals show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described n-th terminal is described data terminal, to make described signal element be connected to described n-th terminal by described second change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment.
12. electronic equipments as claimed in claim 11, is characterized in that:
Described storage unit is also for storing described m bis-class feedback signal that described control module receives and described the n-th two class feedback signals, with enable described control module described the n-th two class feedback signals show described electronic equipment can not with described second electronic equipment carry out data transmit time, the n-th switching command is generated based on described m bis-class feedback signal and described the n-th two class feedback signals, described second change-over switch is indicated to switch the p terminal being different from described i-th terminal and described m terminal and described n-th terminal be connected in described N number of terminal, p is the arbitrary positive integer being less than or equal to N and being not equal to i and m and n.
13. electronic equipments as claimed in claim 4, it is characterized in that, described electronic equipment also comprises:
Signal element;
Second linkage unit, described second linkage unit comprises:
Second change-over switch; And
4th change-over switch, is connected with described second change-over switch, and the described power supply unit of changeable connection or described signal element;
Described input port is specially the 3rd change-over switch, the described power supply unit of changeable connection or described signal element;
Wherein, described control module is used for determining that described i-th terminal is the described designated ends period of the day from 11 p.m. to 1 a.m, sends the 4th switching command to described 4th change-over switch, described 4th change-over switch is switched and is connected to described signal element;
Described testing circuit is also for obtaining from the m terminal test in described N number of terminal for showing that can described electronic equipment carry out the m bis-class feedback signal of data transmission with described second electronic equipment, and m is the arbitrary positive integer being less than or equal to N and being not equal to i;
Described m bis-class feedback signal show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described m terminal is described data terminal, to make described signal element be connected to described m terminal by described 4th change-over switch and described second change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment.
14. electronic equipments as claimed in claim 13, is characterized in that:
Described control module also for show in described m bis-class feedback signal described electronic equipment can not with described second electronic equipment carry out data transmit time, generate m switching command based on described m bis-class feedback signal;
Described second change-over switch is used for by performing described m switching command, and make described second change-over switch switch n-th terminal different from described m terminal be connected in described N number of terminal, n is the arbitrary positive integer being less than or equal to N and being not equal to m and i;
Described testing circuit is used for obtaining for showing that can described electronic equipment carry out the n-th two class feedback signals of data transmission with described second electronic equipment from m terminal test, described the n-th two class feedback signals show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described n-th terminal is described data terminal, to make described signal element be connected to described n-th terminal by described 4th change-over switch and described second change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment.
15. electronic equipments as claimed in claim 14, is characterized in that:
Described storage unit is also for storing described m bis-class feedback signal that described control module receives and described the n-th two class feedback signals, with enable described control module described the n-th two class feedback signals show described electronic equipment can not with described second electronic equipment carry out data transmit time, the n-th switching command is generated based on described m bis-class feedback signal and described the n-th two class feedback signals, described first change-over switch is indicated to switch the p terminal being different from described i-th terminal and described m terminal and described n-th terminal be connected in described N number of terminal, p is the arbitrary positive integer being less than or equal to N and being not equal to i and m and n.
16. electronic equipments as claimed in claim 13, is characterized in that:
Described control module is used for when described i-th feedback signal shows that described power supply unit is not powered to described second electronic equipment, generate the second switching command based on described i-th feedback signal, described 3rd change-over switch is switched and is connected to described signal element;
Described testing circuit is also for obtaining for showing that can described electronic equipment carry out the i-th two class feedback signals of data transmission with described second electronic equipment from described i-th terminal test;
Described the i-th two class feedback signals show described electronic equipment can with described second electronic equipment carry out data transmit time, determine that described i-th terminal is described data terminal, to make described power supply unit be connected to described i-th terminal by described first change-over switch switching, carry out data transmission to enable described electronic equipment with described second electronic equipment;
Described control module, also for sending the 3rd switching command to described 4th change-over switch, makes described 4th change-over switch be connected to described power supply unit;
Described testing circuit is also for obtaining for showing that whether described power supply unit carries out the m feedback signal of powering to described second electronic equipment from described m terminal test;
When described m feedback signal shows that described power supply unit is powered to described second electronic equipment, determine that described m terminal is described appointment terminal, described m terminal is connected to, to make described power supply unit to described second power electronic equipment by described 4th change-over switch and described second change-over switch switching to make described power supply unit.
17. electronic equipments as claimed in claim 14, is characterized in that:
Described control module also for show in described the i-th two class feedback signals described electronic equipment can not with described second electronic equipment carry out data transmit time, generate i-th switching command based on described the i-th two class feedback signals;
Described first change-over switch is used for by performing described i-th switching command, and make described first change-over switch switch the jth terminal different from described i-th terminal be connected in described N number of terminal, j is the arbitrary positive integer being less than or equal to N and being not equal to i;
Described control module, also for sending the first switching command to described 3rd change-over switch, makes described 3rd change-over switch be connected to described power supply unit;
Described testing circuit is used for obtaining for showing that whether described power supply unit carries out the jth feedback signal of powering to described second electronic equipment from jth terminal test, when described jth feedback signal shows that described power supply unit is powered to described second electronic equipment, determine that described jth terminal is described appointment terminal, described jth terminal is connected to, to make described power supply unit to described second power electronic equipment by described 3rd change-over switch and described first change-over switch switching to make described power supply unit.
CN201310349809.0A 2013-08-12 2013-08-12 A kind of electronic equipment Active CN104375612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310349809.0A CN104375612B (en) 2013-08-12 2013-08-12 A kind of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310349809.0A CN104375612B (en) 2013-08-12 2013-08-12 A kind of electronic equipment

Publications (2)

Publication Number Publication Date
CN104375612A true CN104375612A (en) 2015-02-25
CN104375612B CN104375612B (en) 2017-11-07

Family

ID=52554594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310349809.0A Active CN104375612B (en) 2013-08-12 2013-08-12 A kind of electronic equipment

Country Status (1)

Country Link
CN (1) CN104375612B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030030412A1 (en) * 2001-08-10 2003-02-13 Seiko Epson Corporation Power control circuit, electronic instrument, and charging method
CN1940820A (en) * 2005-09-30 2007-04-04 鸿富锦精密工业(深圳)有限公司 Power supplier
CN201130342Y (en) * 2007-12-19 2008-10-08 深圳市三旺通信技术有限公司 Apparatus for obtaining power from serial port
CN201188204Y (en) * 2008-01-17 2009-01-28 济南市泰信电子有限责任公司 Nine-needle type RS232 communication power supply serial port
CN102955557A (en) * 2011-08-19 2013-03-06 宏碁股份有限公司 Device and method for USB (universal serial bus) charging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030030412A1 (en) * 2001-08-10 2003-02-13 Seiko Epson Corporation Power control circuit, electronic instrument, and charging method
CN1940820A (en) * 2005-09-30 2007-04-04 鸿富锦精密工业(深圳)有限公司 Power supplier
CN201130342Y (en) * 2007-12-19 2008-10-08 深圳市三旺通信技术有限公司 Apparatus for obtaining power from serial port
CN201188204Y (en) * 2008-01-17 2009-01-28 济南市泰信电子有限责任公司 Nine-needle type RS232 communication power supply serial port
CN102955557A (en) * 2011-08-19 2013-03-06 宏碁股份有限公司 Device and method for USB (universal serial bus) charging

Also Published As

Publication number Publication date
CN104375612B (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN100549973C (en) A kind of usb bus interface detection apparatus and detection method thereof
US8415826B2 (en) Power outlet apparatus with multiple sockets detection, and detection method thereof
CN102217166B (en) Intelligent power distribution system and method for power distribution
CN101404001B (en) Serial port signal and USB signal compatible control circuit board and communication data cable
KR20130002970A (en) Time-domain multiplexing of power and data
EP3309920A2 (en) Method for hot-plugging, control device for hot-plugging, method and device for voltage balance
CN104168520A (en) Optical line selection equipment and method used for remotely controlling optical communication equipment
CN105353323A (en) Detection apparatus, and fan detection system and method
CN103001261B (en) Universal charger with USB (universal serial bus)
US10481576B2 (en) Method and device for implementing connection control
CN104375612A (en) Electronic equipment
CN107171537B (en) Bypass control system of power unit and high-voltage variable-frequency speed regulation device
CN106469943B (en) System for intelligently adopting communication to connect distribution circuit through distributing box based on operation column
CN105094267A (en) Power supplying device
CN105471038B (en) control method and electronic equipment
CN211148837U (en) Outer quick-witted testing arrangement of air conditioner
CN105180383A (en) Communication mode control method and system and air conditioner debugging device
CN107370653B (en) Electric power communication interface conversion device with automatic switching function
CN114489027B (en) Comprehensive diagnostic device for diagnosing and debugging on-site electric actuating mechanism
CN218158243U (en) Homing keeps off switch fault testing arrangement
CN219659732U (en) Automatic calibration device for railway wireless communication equipment
CN217692686U (en) Distribution circuit and distribution box
CN204287958U (en) ECU data write with a brush dipped in Chinese ink device
CN101533979A (en) Socket board
CN115097924B (en) Multi-equipment multiplexing power supply device for server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant