CN106598907A - Communication interface switching method and device for processors - Google Patents

Communication interface switching method and device for processors Download PDF

Info

Publication number
CN106598907A
CN106598907A CN201610982692.3A CN201610982692A CN106598907A CN 106598907 A CN106598907 A CN 106598907A CN 201610982692 A CN201610982692 A CN 201610982692A CN 106598907 A CN106598907 A CN 106598907A
Authority
CN
China
Prior art keywords
processor
default
communication interface
switch
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610982692.3A
Other languages
Chinese (zh)
Inventor
皮广辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Hengxin Data Ltd By Share Ltd
Original Assignee
Shenzhen Hengxin Data Ltd By Share 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 Shenzhen Hengxin Data Ltd By Share Ltd filed Critical Shenzhen Hengxin Data Ltd By Share Ltd
Priority to CN201610982692.3A priority Critical patent/CN106598907A/en
Publication of CN106598907A publication Critical patent/CN106598907A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • G06F13/126Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network

Abstract

The invention belongs to the field of communication technology and provides a communication interface switching method and device for processors. When a circuit is powered on, a changeover switch corresponding to a preset default processor is controlled to be turned on, and other changeover switches, except the changeover switch corresponding to the preset default processor, are controlled to be turned off; state control information input by a user through a control switch or a first preset processor is acquired; according to the state control information, the changeover switch corresponding to the corresponding processor is controlled to be turned on, and the other changeover switches, except the changeover switch corresponding to the corresponding processor, are controlled to be turned off. Therefore, direct positioning of communication interfaces of the processors through the control switch or the first preset processor is realized; moreover, due to the fact that the communication interfaces of the multiple processors are switched through the changeover switches, cost is saved.

Description

A kind of communication interface changing method of processor and device
Technical field
The invention belongs to communication technical field, more particularly to a kind of communication interface changing method and device of processor.
Background technology
With the continuous extension of communications device functions, it is both provided with the circuit board (veneer) of existing communication equipment multiple Processor, for realizing different functions.Each processor includes that (such as serial line interface, network connects at least one communication interface Mouthful etc.), these communication interfaces are indispensable interface in debugging process.However, often limited by panel or circuit board space, Do not allow for drawing the communication interface of each processor.
And in order to realize the access to each processor while panel and circuit board space is saved, prior art is provided A solution as shown in figure 1, on circuit boards arrange an interface connector, by the communication interface of processor 1 with connect Mouth adapter connection, the communication interface of processor 2~processor n is connected by data/signal conversion chip with processor 1, When by interface connector access process device 2~processor n, need to be carried out through processor 1 and data/signal conversion chip Transfer, can so affect the efficiency of processor 1, and be unfavorable for the direct positioning to processor communication interface in debugging process, Simultaneously as increased data/signal conversion chip, therefore increased cost;Another kind of solution that prior art is provided As shown in Fig. 2 multiple processors are connected with data/signal conversion chip, realized by data/signal conversion chip multiple Switching control between processor communication interface, this mode needs to carry out initially data/signal conversion chip before debugging Change, the technical requirements to debugging are higher, and due to increased data/signal conversion chip, therefore increased cost.
In summary, the communication interface changing method of existing processor exists and directly the interface of processor cannot be carried out Directly position, and relatively costly problem.
The content of the invention
It is an object of the invention to provide the communication interface changing method and device of a kind of processor, it is intended to solve existing The directly interface of processor directly cannot be positioned existing for the communication interface changing method of processor, and it is relatively costly Problem.
The present invention is achieved in that a kind of communication interface changing method of processor, is provided with single circuit board Interface connector and multiple processors, the plurality of processor is communicated by the interface connector with other equipment, institute The communication interface for stating multiple processors is connected respectively by switching switch with the interface connector, is also set up on the circuit board The communication interface changing method for having controlling switch, the processor includes:
When electricity on the circuit board, control corresponding with default default processor switching switch conduction, control remove with Corresponding other switching switch OFFs switched outside switch of the default default processor, at the default acquiescence The communication interface of reason device is attached with the interface connector;
User is obtained by the controlling switch or the state control information by the first default processor input;
According to the state control information, control the corresponding switching switch conduction of corresponding processor, control remove with it is described Corresponding other switching switch OFFs switched outside switch of corresponding processor, the communication of corresponding processor is connect Mouth is attached with the interface connector.
Present invention also offers a kind of communication interface switching device of processor, is provided with interface company on single circuit board Device and multiple processors are connect, the plurality of processor is communicated by the interface connector with other equipment, the plurality of The communication interface of processor is connected respectively by switching switch with the interface connector, and control is additionally provided with the circuit board Switch, the communication interface switching device of the processor includes:
Switch control module, for when electric on the circuit board, controlling switching corresponding with default default processor Switch conduction, controls except other switching switch OFFs switched in addition to switching corresponding with the default default processor, with The communication interface of the default default processor and the interface connector are attached;
First acquisition module, for obtaining user by the controlling switch or the state of the first default processor input Control information;
The switch control module is additionally operable to according to the state control information, controls the corresponding switching of corresponding processor Switch conduction, controls other switching switch OFFs in addition to switching switch corresponding with corresponding processor, by institute The communication interface and the interface connector for stating corresponding processor is attached.
When the present invention is by electricity on circuit boards, switching switch conduction corresponding with default default processor, control are controlled Make other switching switch OFFs in addition to switching switch corresponding with default default processor;And passed through by obtaining user Controlling switch or the state control information by the first default processor input;According to state control information, control is corresponding The corresponding switching switch conduction of processor, controls other switching switches in addition to switching switch corresponding with corresponding processor Shut-off, it is achieved thereby that by controlling switch or the first default direct positioning of the processor to the communication interface of processor, and by Switch in the communication interface to multiple processors is switched by switching, therefore saved cost.
Description of the drawings
Fig. 1 is a kind of application circuit of the communication interface changing method of processor that prior art is provided;
Fig. 2 is the application circuit of the communication interface changing method of another kind of processor that prior art is provided;
Fig. 3 is the circuit diagram that the communication interface changing method of processor provided in an embodiment of the present invention is applied;
Fig. 4 is the flowchart of the communication interface changing method of processor provided in an embodiment of the present invention;
Fig. 5 is the flowchart of the communication interface changing method of the processor that another embodiment of the present invention is provided;
Fig. 6 is the function structure chart of the communication interface switching device of processor provided in an embodiment of the present invention;
Fig. 7 is the function structure chart of the communication interface switching device of the processor of another offer of the embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, and It is not used in the restriction present invention.
Fig. 3 shows the application circuit structure of the communication interface changing method of processor provided in an embodiment of the present invention, is It is easy to explanation, illustrate only the part related to the embodiment of the present invention, details are as follows:
As shown in figure 3, in embodiments of the present invention, interface connector 10 and multiple process are provided with single circuit board Device (X1~Xn), multiple processors (X1~Xn) are by interface connector 10 and other equipment (such as computer, cd-rom recorder etc.) Communicated, the communication interface of multiple processors (X1~Xn) is connected respectively by switching switch S with interface connector 10, circuit Controlling switch 20 is additionally provided with plate.
In embodiments of the present invention, the communication interface of processor (X1~Xn) can be serial line interface, or network Interface, is determined with specific reference to practical situation, is not limited herein.
In actual applications, interface connector 10 can adopt serial line interface, it would however also be possible to employ network interface, specifically by The communication interface type of reason device is determined, and is not limited herein.
In actual applications, interface chip 40 is further connected between switching switch S and interface connector 10, for realization process Level conversion between the communication interface and interface connector 10 of device (X1~Xn).
In actual applications, switching switch S can adopt CPLD (Complex Programmable Logic Device, CPLD) realizing, it would however also be possible to employ hardware switch, or can also be using other modes come real realizing It is existing, it is configured with specific reference to practical situation, it is not limited herein.
In actual applications, controlling switch 20 can be touch-switch, or other kinds of controlling switch, specifically It is configured according to practical situation, is not limited herein.
As one embodiment of the invention, status indicator lamp 30 is additionally provided with circuit board, for being currently connected with interface The processor of the connection of device 10 is identified.
What Fig. 4 showed the communication interface changing method of processor provided in an embodiment of the present invention realizes flow process, the process The communication interface changing method of device is applied to the circuit structure of the circuit board shown in Fig. 3.As shown in figure 4, the communication of processor connects Mouth changing method is comprised the following steps:
Step S101:When electricity on the circuit board, switching switch conduction corresponding with default default processor is controlled, Control except other switching switch OFFs switched in addition to switching corresponding with the default default processor, will be described default The communication interface of default processor be attached with the interface connector.
In embodiments of the present invention, when circuit board does not go up electricity, switch S is in off state, i.e., now do not process Device is connected with interface connector 10.When electricity on circuit board, control switching switch S corresponding with default default processor and lead It is logical, other switching switch OFFs in addition to switching switch corresponding with default default processor are controlled, will be default The communication interface of default processor is connected with interface connector 10.
Wherein, default default processor can be any one processor in multiple processors (X1~Xn), preset Default processor can be pre-set by user, for example, user can arrange processor 1 for default default processor, also may be used To locate to arrange processor 3 as default default processor, it is configured with specific reference to practical situation, is not limited herein.
In embodiments of the present invention, switch corresponding with processor (X1~Xn) is the communication with processor (X1~Xn) The switch that interface is connected.
As a example by including three processors (respectively processor X1, processor X2 and processor X3) on circuit board, if Default default processor is processor X1, then when electric on circuit boards, control switching switch S corresponding with processor X1 and lead It is logical, control self-corresponding switching switch S shut-offs each with processor X1 and processor X3, by the communication interface of processor X1 with connect Mouth adapter 10 connects.
Step S102:User is obtained by the controlling switch or the state control by the first default processor input Information.
In embodiments of the present invention, electricity on circuit boards, and after normal work, user in real by controlling switch or The state control information that person is input into by first processor.
Wherein, different state control informations corresponds to be attached different processors with interface connector 10 respectively.
Step S103:According to the state control information, the corresponding switching switch conduction of corresponding processor, control are controlled Other switching switch OFFs in addition to switching switch corresponding with corresponding processor, by corresponding processor Communication interface be attached with the interface connector.
In embodiments of the present invention, when state control information is got, according to state control information, the corresponding place of control Reason device is connected with interface connector 10, that is, control the corresponding switching switch conduction of corresponding processor, control except with it is corresponding Other switching switch OFFs outside the corresponding switching switch of processor, the communication interface of interdependent processor and interface are connected Connect device 10 to be attached.
In embodiments of the present invention, controlling switch (such as touch-switch) often switches a state, correspondence one shape of input State control information, is controlled according to the state control information to corresponding switching switch.
Wherein, the corresponding relation between state control information and processor (X1~Xn) can be pre-set by user, this Place is not limited.
For example, when electric on circuit boards, switching switch conduction corresponding with processor X1 is controlled, by the logical of processor X1 Letter interface is connected with interface connector 10;When user carries out first time pressing operation to touch-switch, according to now from touching The state control information that switch gets, controls switching switch conduction corresponding with processor X2, control and processor X1 and place The each self-corresponding switching switch OFFs of reason device X3, the communication interface of processor X2 are attached with interface connector 10, i.e., Carry out first time pressing operation correspondence to touch-switch to be attached processor X2 with interface connector 10;When user is to touching When switch carries out second pressing operation, according to the state control information for now getting from touch-switch, control and processor The corresponding switching switch conductions of X3, control and each self-corresponding switching switch OFFs of processor X1 and processor X2, will be processed The communication interface of device X3 is attached with interface connector 10, i.e., second pressing operation correspondence is carried out to touch-switch will be processed Device X3 is attached with interface connector 10.Similar with aforesaid way to the control mode of other processors, here is omitted.
It is of course also possible to according to the state control information got from the first default processor corresponding switching is switched into Row control, i.e. user can be by the first default processor input state information, and user can pass through the first default processor pair The processor being connected with interface connector 10 switches over control.For example, user can by the first default processor control with The corresponding switching switch conductions of processor X2, control switching switch OFF corresponding with processor X1 and processor X3, will place The communication interface of reason device X2 is connected with interface connector 10.
Wherein, the first default processor can be any one processor in multiple processors (X1~Xn), and first is pre- If processor can be pre-set by user, it is not limited herein, for example, user can arrange processor X1 for the first default process Device.
Above as can be seen that when the embodiment of the present invention is by electricity on circuit boards, controlling and default default processor pair The switching switch conduction answered, controls other switching switches in addition to switching switch corresponding with default default processor and closes It is disconnected;And by obtaining user by controlling switch or the state control information by the first default processor input;According to shape State control information, controls the corresponding switching switch conduction of corresponding processor, and control is removed and the corresponding switching of corresponding processor Other switching switch OFFs outside switch, it is achieved thereby that being led to processor by controlling switch or the first default processor The direct positioning of letter interface, and due to being switched over to the communication interface of multiple processors by switching switch, therefore save Cost.
Fig. 5 shows that the communication interface changing method of the processor that another embodiment of the present invention is provided realizes flow process, should The communication interface changing method of processor is applied to the circuit structure of the circuit board shown in Fig. 3.As shown in figure 5, processor is logical Letter interface switching method is comprised the following steps:
Step S201:When electricity on the circuit board, switching switch conduction corresponding with default default processor is controlled, Control except other switching switch OFFs switched in addition to switching corresponding with the default default processor, will be described default The communication interface of default processor be attached with the interface connector.
Step S202:User is obtained by the controlling switch or the state control by the first default processor input Information.
Step S203:According to the state control information, the corresponding switching switch conduction of corresponding processor, control are controlled Other switching switch OFFs in addition to switching switch corresponding with corresponding processor, by corresponding processor Communication interface be attached with the interface connector.
Step S201 in the present embodiment~step S203 is identical with S101~step S103 the step of a upper embodiment, tool Body refers to the associated description of step S101~step S103 in an embodiment, and here is omitted.
Step S204:Obtain currently status displaying information corresponding with the processor of interface connector connection.
In embodiments of the present invention, status displaying information is used for the dispaly state of identification-state display lamp 30, different places The different status displaying information of reason device correspondence.User can according to the actual requirements to the corresponding state of multiple processors (X1~Xn) Display information is configured.For example, user can arrange the corresponding status displaying informations of processor X1 to extinguish, processor X2 pair The status displaying information answered is to show green, and the corresponding status displaying informations of processor X3 are blue to show.
Wherein, the mapping table between processor and status displaying information can be prestored in memory. With status displaying information corresponding with the processor of interface connector connection before obtaining from processor.
Step S205:According to the status displaying information, the status indicator lamp is accordingly controlled.
In embodiments of the present invention, according to currently status display letter corresponding with the processor of the connection of interface connector 10 Breath, is accordingly controlled status indicator lamp 30.For example, if it is front that be connected with interface connector 10 is processor X1, control Status indicator lamp 30 extinguishes;If that what is be currently connected with interface connector 10 is processor X2, control display lamp shows green;If That what is be currently connected with interface connector 10 is processor X3, then control display lamp and show blue.
Used as one embodiment of the invention, the communication interface changing method of processor is further comprising the steps of:
Obtain default control precedence information;
According to the default control precedence information, it is determined that the shape being preferentially input into by the controlling switch according to user State information is controlled to corresponding switching switch, or the preferential shape for passing through the described first default processor input according to user State information is controlled to corresponding switching switch.
In embodiments of the present invention, it is preferential defeated by the controlling switch according to user for identifying to control precedence information The status information for entering is controlled to corresponding switching switch, or preferential defeated by the described first default processor according to user The status information for entering is controlled to corresponding switching switch.
In embodiments of the present invention, the different priority control messages of different control mode correspondences.In actual applications, Control precedence information can be identified by the state of two priority classes depositor.For example, if two priority classes depositor is 0, then the status information being preferentially input into by the controlling switch according to user is controlled to corresponding switching switch;If preferential Level control register is 1, then the status information being preferentially input into by the described first default processor according to user is to cutting accordingly Change switch to be controlled, be determined with specific reference to practical situation, be not limited herein.
Used as one embodiment of the invention, the communication interface changing method of processor is further comprising the steps of:
Obtain control priority setting information of the user by the described first default processor input;
Relative set is carried out to the control precedence information according to the control priority setting information.
In embodiments of the present invention, user can be configured by the first default processor to controlling precedence information. For example, the state of two priority classes depositor can be changed to 1 by user by the first default processor by 0, or is changed to by 1 0, it is configured with specific reference to practical situation, it is not limited herein.
Phase is carried out to controlling priority by the control priority setting information of the first default processor input according to user Should arrange.
Used as one embodiment of the invention, the communication interface changing method of processor is further comprising the steps of:
Obtain default processor configuration information of the user by the described first default processor input;
According to the default processor configuration information, corresponding processor is set to into the default default processor.
In embodiments of the present invention, user can also be set by the first default processor to default default processor Put.According to user by the default processor configuration information of the first default processor input, corresponding processor is set to into institute State default default processor.
For example, it is the setting of default default processor that user can preset processor by processor X1 by first, also may be used So that processor X2 to be arranged as default default processor by the first default processor, or can also be by the first default place Processor X3 is the setting of default default processor by reason device, is configured with specific reference to practical situation, is not limited herein.
Above as can be seen that when the embodiment of the present invention is by electricity on circuit boards, controlling and default default processor pair The switching switch conduction answered, controls other switching switches in addition to switching switch corresponding with default default processor and closes It is disconnected;And by obtaining user by controlling switch or the state control information by the first default processor input;According to shape State control information, controls the corresponding switching switch conduction of corresponding processor, and control is removed and the corresponding switching of corresponding processor Other switching switch OFFs outside switch, it is achieved thereby that being led to processor by controlling switch or the first default processor The direct positioning of letter interface, and due to being switched over to the communication interface of multiple processors by switching switch, therefore save Cost.
The processor being currently connected with interface connector is identified by status indicator lamp so that user can be directly perceived Know the processor being currently connected with interface connector in ground.
Fig. 6 shows the modular structure of the communication interface switching device of processor provided in an embodiment of the present invention.This enforcement Each module that the communication interface switching device of the processor that example is provided includes is used for each step performed in the corresponding embodiments of Fig. 4 Suddenly, the associated description in the corresponding embodiments of Fig. 4 and Fig. 4 is specifically referred to, is not repeated herein.
As shown in fig. 6, the communication interface switching device of processor includes the acquisition module of switch control module 101 and first 102。
Switch control module 101 is used for when electricity on the circuit board, controls cut corresponding with default default processor Switch conduction is changed, is controlled except other switching switch OFFs switched in addition to switching corresponding with the default default processor, So that the communication interface of the default default processor and the interface connector to be attached.
First acquisition module 102 is used to obtain user by the controlling switch or by the first default processor input State control information.First acquisition module 102 sends the state control information for getting to switch control module 101.
Switch control module 101 is additionally operable to receive the state control information that the first acquisition module 102 sends, according to the shape State control information, controls the corresponding switching switch conduction of corresponding processor, and control is except corresponding with corresponding processor Other switching switch OFFs outside switching switch, by the communication interface of corresponding processor and the interface connector It is attached.
Above as can be seen that when the embodiment of the present invention is by electricity on circuit boards, controlling and default default processor pair The switching switch conduction answered, controls other switching switches in addition to switching switch corresponding with default default processor and closes It is disconnected;And by obtaining user by controlling switch or the state control information by the first default processor input;According to shape State control information, controls the corresponding switching switch conduction of corresponding processor, and control is removed and the corresponding switching of corresponding processor Other switching switch OFFs outside switch, it is achieved thereby that being led to processor by controlling switch or the first default processor The direct positioning of letter interface, and due to being switched over to the communication interface of multiple processors by switching switch, therefore save Cost.
Fig. 7 shows the modular structure of the communication interface switching device of the processor that another embodiment of the present invention is provided.This Each module that the communication interface switching device of the processor that embodiment is provided includes is used to perform in the corresponding embodiments of Fig. 5 Each step, specifically refers to the associated description in the corresponding embodiments of Fig. 5 and Fig. 5, does not repeat herein.
As shown in fig. 7, the communication interface switching device of processor includes switch control module 101, the first acquisition module 102nd, the second acquisition module 103 and display control module 104.The communication interface switching device of processor also includes that the 3rd obtains mould Block 105, the 4th acquisition module 106 and the 5th acquisition module 107.
Switch control module 101 is used for when electricity on the circuit board, controls cut corresponding with default default processor Switch conduction is changed, is controlled except other switching switch OFFs switched in addition to switching corresponding with the default default processor, So that the communication interface of the default default processor and the interface connector to be attached.
First acquisition module 102 is used to obtain user by the controlling switch or by the first default processor input State control information.First acquisition module 102 sends the state control information for getting to switch control module 101.
Switch control module 101 is additionally operable to receive the state control information that the first acquisition module 102 sends, according to the shape State control information, controls the corresponding switching switch conduction of corresponding processor, and control is except corresponding with corresponding processor Other switching switch OFFs outside switching switch, by the communication interface of corresponding processor and the interface connector It is attached.
Second acquisition module 103 be used for from switch control module 101 obtain it is current be connected with the interface connector from The corresponding status displaying information of reason device.Second acquisition module 103 will be currently corresponding with the processor of interface connector connection Status displaying information send to display control module 104.
Display control module 104 is used to receive the status displaying information that the second acquisition module 103 sends, according to the state Display information, is accordingly controlled the status indicator lamp.
3rd acquisition module 105 is used to obtain default control precedence information.3rd acquisition module 105 is by default control Precedence information processed is sent to switch control module 101.
Switch control module 101 is additionally operable to receive the control precedence information that the 3rd acquisition module 105 sends, according to described Default control precedence information, it is determined that the preferential status information being input into by the controlling switch according to user is to cutting accordingly Change switch to be controlled, or the preferential status information being input into by the described first default processor according to user is to cutting accordingly Change switch to be controlled.
4th acquisition module 106 is used to obtain control priority setting of the user by the described first default processor input Information.4th acquisition module 106 is sent priority setting information is controlled to switch control module 101.
Switch control module 101 is additionally operable to according to the control priority setting information for receiving the transmission of the 4th acquisition module 106, Relative set is carried out to the control precedence information according to control priority setting information.
5th acquisition module 107 is used to obtain default processor setting of the user by the described first default processor input Information.5th acquisition module 107 sends default processor configuration information to switch control module 101.
Switch control module 101 is additionally operable to receive the default processor configuration information that the 5th acquisition module 107 sends, according to The default processor configuration information, by corresponding processor the default default processor is set to.
Above as can be seen that when the embodiment of the present invention is by electricity on circuit boards, controlling and default default processor pair The switching switch conduction answered, controls other switching switches in addition to switching switch corresponding with default default processor and closes It is disconnected;And by obtaining user by controlling switch or the state control information by the first default processor input;According to shape State control information, controls the corresponding switching switch conduction of corresponding processor, and control is removed and the corresponding switching of corresponding processor Other switching switch OFFs outside switch, it is achieved thereby that being led to processor by controlling switch or the first default processor The direct positioning of letter interface, and due to being switched over to the communication interface of multiple processors by switching switch, therefore save Cost.
The processor being currently connected with interface connector is identified by status indicator lamp so that user can be directly perceived Know the processor being currently connected with interface connector in ground.
One of ordinary skill in the art will appreciate that:The step of realizing said method embodiment or part steps can pass through Completing, aforesaid program can be stored in computer read/write memory medium the related hardware of programmed instruction, and the program exists During execution, the step of including said method embodiment is performed, and aforesaid storage medium includes:ROM, RAM, magnetic disc or CD Etc. it is various can be with the medium of store program codes.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of communication interface changing method of processor, is provided with interface connector and multiple process on single circuit board Device, the plurality of processor is communicated by the interface connector with other equipment, it is characterised in that the plurality of process The communication interface of device is connected respectively by switching switch with the interface connector, is additionally provided with control on the circuit board and is opened Close, the communication interface changing method of the processor includes:
When electricity on the circuit board, control corresponding with default default processor switching switch conduction, control remove with it is described Corresponding other switching switch OFFs switched outside switch of default default processor, by the default default processor Communication interface be attached with the interface connector;
User is obtained by the controlling switch or the state control information by the first default processor input;
According to the state control information, the corresponding switching switch conduction of corresponding processor is controlled, control is except corresponding to described Processor it is corresponding switching switch outside other switching switch OFFs, by the communication interface of corresponding processor with The interface connector is attached.
2. the communication interface changing method of processor as claimed in claim 1, it is characterised in that also set up on the circuit board The communication interface changing method for having status indicator lamp, the processor also includes:
Obtain currently status displaying information corresponding with the processor of interface connector connection;
According to the status displaying information, the status indicator lamp is accordingly controlled.
3. the communication interface changing method of processor as claimed in claim 1, it is characterised in that the communication of the processor connects Mouth changing method also includes:
Obtain default control precedence information;
According to the default control precedence information, it is determined that preferential believed according to user by the state that the controlling switch is input into Breath is controlled to corresponding switching switch, or the preferential state letter for passing through the described first default processor input according to user Breath is controlled to corresponding switching switch.
4. the communication interface changing method of processor as claimed in claim 3, it is characterised in that the communication of the processor connects Mouth changing method also includes:
Obtain control priority setting information of the user by the described first default processor input;
Relative set is carried out to the control precedence information according to the control priority setting information.
5. the communication interface changing method of the processor as described in any one of Claims 1-4, it is characterised in that the process The communication interface changing method of device also includes:
Obtain default processor configuration information of the user by the described first default processor input;
According to the default processor configuration information, corresponding processor is set to into the default default processor.
6. a kind of communication interface switching device of processor, is provided with interface connector and multiple process on single circuit board Device, the plurality of processor is communicated by the interface connector with other equipment, it is characterised in that the plurality of process The communication interface of device is connected respectively by switching switch with the interface connector, is additionally provided with control on the circuit board and is opened Close, the communication interface switching device of the processor includes:
Switch control module, for when electric on the circuit board, controlling switching switch corresponding with default default processor Conducting, controls except other switching switch OFFs switched in addition to switching corresponding with the default default processor, by institute The communication interface and the interface connector for stating default default processor is attached;
First acquisition module, for obtaining user by the controlling switch or the state control of the first default processor input Information;
The switch control module is additionally operable to according to the state control information, controls the corresponding switching switch of corresponding processor Conducting, controls other switching switch OFFs in addition to switching switch corresponding with corresponding processor, by the phase The communication interface of the processor answered is attached with the interface connector.
7. the communication interface switching device of processor as claimed in claim 6, it is characterised in that also set up on the circuit board The communication interface switching device for having status indicator lamp, the processor also includes:
Second acquisition module, for obtaining current status displaying information corresponding with the processor of interface connector connection;
Display control module, for according to the status displaying information, accordingly being controlled the status indicator lamp.
8. the communication interface switching device of processor as claimed in claim 6, it is characterised in that the communication of the processor connects Mouth switching device also includes:
3rd acquisition module, for obtaining default control precedence information;
The switch control module is additionally operable to according to the default control precedence information, it is determined that preferential pass through institute according to user The status information for stating controlling switch input is controlled to corresponding switching switch, or preferentially according to user by described first The status information of default processor input is controlled to corresponding switching switch.
9. the communication interface switching device of processor as claimed in claim 8, it is characterised in that the communication of the processor connects Mouth switching device also includes:
4th acquisition module, for obtaining control priority setting information of the user by the described first default processor input;
The switch control module is additionally operable to carry out the control precedence information according to the control priority setting information Relative set.
10. the communication interface switching device of the processor as described in any one of claim 6 to 9, it is characterised in that the process The communication interface switching device of device also includes:
5th acquisition module, for obtaining default processor configuration information of the user by the described first default processor input;
The switch control module is additionally operable to according to the default processor configuration information, corresponding processor is set to described Default default processor.
CN201610982692.3A 2016-11-07 2016-11-07 Communication interface switching method and device for processors Pending CN106598907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610982692.3A CN106598907A (en) 2016-11-07 2016-11-07 Communication interface switching method and device for processors

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610982692.3A CN106598907A (en) 2016-11-07 2016-11-07 Communication interface switching method and device for processors

Publications (1)

Publication Number Publication Date
CN106598907A true CN106598907A (en) 2017-04-26

Family

ID=58590751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610982692.3A Pending CN106598907A (en) 2016-11-07 2016-11-07 Communication interface switching method and device for processors

Country Status (1)

Country Link
CN (1) CN106598907A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201181474Y (en) * 2008-01-14 2009-01-14 中兴通讯股份有限公司 Apparatus for managing advanced telecommunication computer skeleton single plate with multi-processor unit
CN103345459A (en) * 2013-06-05 2013-10-09 福建星网锐捷通讯股份有限公司 Switching method and switching circuit based on multiplexing of multiple-processor serial ports on single board

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201181474Y (en) * 2008-01-14 2009-01-14 中兴通讯股份有限公司 Apparatus for managing advanced telecommunication computer skeleton single plate with multi-processor unit
CN103345459A (en) * 2013-06-05 2013-10-09 福建星网锐捷通讯股份有限公司 Switching method and switching circuit based on multiplexing of multiple-processor serial ports on single board

Similar Documents

Publication Publication Date Title
CN105786742B (en) Server serial port switching device and method and server
CN108459982B (en) Communication equipment and switching method of USB and serial port
CN107817953B (en) Method and device for accessing hard disk by double-control storage equipment
KR100660763B1 (en) Communication bus system and apparatus for use in a communication bus system
CN106919529A (en) The wireless communication module method for designing for supporting USB and UART serial ports compatible
CN104349304A (en) Information processing method and electronic equipment
CN108882459A (en) A kind of brightness regulating circuit and system of UI indicator light
US7085861B2 (en) Serial ATA control circuit for automatically switching connection path
TWI509410B (en) Computer host and network communication setting method thereof
CN104660780B (en) Electronic equipment and its control method
CN204155267U (en) A kind of OTG usb circuit
CN104462010A (en) Electronic equipment and state control method
CN106598907A (en) Communication interface switching method and device for processors
CN103488598A (en) Multi-mode terminal and method for realizing USB (universal serial bus) sharing
CN201788900U (en) Relay board and control system thereof
CN108646172B (en) Chip testing device
CN103092694B (en) A kind of state switching method, device and electronic equipment
CN105515607A (en) Communication circuit
CN115361432A (en) Communication control method and device between master device and slave device, vehicle and storage medium
CN109388247B (en) AUX automatic response device and method of KVM switcher
CN202948445U (en) Universal serial bus (USB) interface expansion circuit
CN108664325A (en) Handle the method and electronic equipment of data
TWI510929B (en) Data transmission module, display and data transmission method
CN106528464A (en) Computer system with memory access conflict control
CN106407090A (en) An optical path diagnosis server state display panel

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426