CN104102613A - Electronic equipment and information processing method - Google Patents

Electronic equipment and information processing method Download PDF

Info

Publication number
CN104102613A
CN104102613A CN201410281417.XA CN201410281417A CN104102613A CN 104102613 A CN104102613 A CN 104102613A CN 201410281417 A CN201410281417 A CN 201410281417A CN 104102613 A CN104102613 A CN 104102613A
Authority
CN
China
Prior art keywords
port
pin
multiplexing
electronic equipment
pins
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
CN201410281417.XA
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.)
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 CN201410281417.XA priority Critical patent/CN104102613A/en
Publication of CN104102613A publication Critical patent/CN104102613A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The embodiment of the invention discloses electronic equipment and an information processing method. The electronic equipment comprises a serial port and a parallel port, and also comprises a control unit, wherein the control unit comprises a first port and a second port; the first port is connected with the serial port; the second port is connected with the parallel port; the first port and the second port are multiplexed into a multiplexing port according to a preset rule.

Description

A kind of electronic equipment and information processing method
Technical field
The present invention relates to terminal device, be specifically related to a kind of electronic equipment and information processing method.
Background technology
Serial port in electronic equipment (Serial Port) and parallel port (Parallel port) are controlled by input and output control chip (Super I/O).Described serial port and described parallel port are used different output pin in described Super I/O, and this just makes described Super I/O have serial output pin and parallel output pin and two port sockets (Port Header) simultaneously.
At electronic equipment, during to miniaturization, lightening development, the pin of existing Super I/O is many, and size is larger, has had influence on the miniaturization development of electronic equipment.Thereby how by changing Super I/O, electronic equipment being developed to miniaturization, correlation technique there is no effective solution.
Summary of the invention
For solving the technical matters of existing existence, the embodiment of the present invention provides a kind of electronic equipment and information processing method, can reduce one group of port cabling in electronic equipment.
For achieving the above object, the technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment comprises serial port and parallel port; It is characterized in that, described electronic equipment also comprises control module, and described control module comprises: the first port and the second port;
Described the first port is connected with described serial port; Described the second port is connected with described parallel port;
Described the first port and described the second port are multiplexed with a multiplexing port by preset rules.
The embodiment of the present invention also provides a kind of information processing method, is applied in electronic equipment, and described electronic equipment comprises serial port and parallel port; It is characterized in that, described electronic equipment comprises control module, and described control module comprises the first port being connected with described serial port and the second port being connected with described parallel port; Described the first port and described the second port are multiplexed with a multiplexing port by preset rules; Described method comprises:
Basic Input or Output System (BIOS) (BIOS, Basic Input Output System) detects the port having inserted, and identifies the type of described port;
According to described port type, selecting the function of described multiplexing port is the first function or the second function, obtains the first selection result; Wherein, described the first function is the function of the serial port that characterizes of described the first port; Described the second function is the function of the parallel port that characterizes of described the second port;
By described the first selection result, carry out input and output processing.
The electronic equipment that the embodiment of the present invention provides and information processing method, described electronic equipment comprises serial port and parallel port; Described electronic equipment also comprises control module, and described control module comprises: the first port and the second port; Described the first port is connected with described serial port; Described the second port is connected with described parallel port; Described the first port and described the second port are multiplexed with a multiplexing port by preset rules.So, by the first port and the second port are multiplexed with to a multiplexing port by preset rules, reduce the cabling of one group of port in electronic equipment, and saved the space of a port socket on control module, thereby realized the miniaturization development of electronic equipment.
Accompanying drawing explanation
Fig. 1 is the composition structural representation of the electronic equipment of the embodiment of the present invention;
Fig. 2 is the schematic diagram of the first port and the second port in prior art;
Fig. 3 is the first schematic diagram of pin multiplexing in the embodiment of the present invention;
Fig. 4 is the second schematic diagram of pin multiplexing in the embodiment of the present invention;
Fig. 5 is the 3rd schematic diagram of pin multiplexing in the embodiment of the present invention;
Fig. 6 is the 4th schematic diagram of pin multiplexing in the embodiment of the present invention;
Fig. 7 is the composition structural representation of the information processing method of the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further detailed explanation.
Embodiment mono-
The embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment is the electronic equipment with serial port and parallel port, concrete, and described electronic equipment can be robot calculator, notebook computer etc.Fig. 1 is the composition structural representation of the electronic equipment of the embodiment of the present invention; As shown in Figure 1, described electronic equipment comprises serial port 11 and parallel port 12; Described electronic equipment also comprises control module 13, and described control module comprises: the first port and the second port;
Described the first port is connected with described serial port 11; Described the second port one 2 is connected with described parallel port;
Described the first port and described the second port are multiplexed with a multiplexing port 131 by preset rules.
Here, described control module 13, for controlling the input and output of data, has a plurality of functions conventionally, as control of the input and output of serial port, parallel port, floppy disk and keyboard and mouse etc.; Described control module 13 has X pin (X is positive integer), and the quantity of described X is relevant to electronic equipment, and the quantity of different electronic equipment possibility X is different; In a described X pin, be useful on M the pin (M is that positive integer and M are less than X) being connected with described serial port 11, and N the pin (N is that positive integer and N are less than X) for being connected with described parallel port 12; A described M pin is described the first port; A described N pin is described the second port.
In the present embodiment, described the first port and described the second port are multiplexed with a multiplexing port, i.e. multiplexing port in Fig. 1 131 by preset rules.Concrete, described multiplexing port 131 has T pin (T is positive integer, and T is less than X, and T is larger one of numerical value in M and N); In a described T pin, there is M pin for being connected with described serial port 11, there is N pin for being connected with described parallel port 12, in the T of described multiplexing port 131 pin, must there is P pin (P is less with numerical value in N of M) to be both connected with described serial port 11, be connected with described parallel port 12 again, i.e. the control function of described P pin multiplexing serial port and parallel port.
Wherein, described control module 13 in actual applications, can be Super I/O, and described Super I/O is positioned on the mainboard of electronic equipment.
Like this, adopt the technical scheme of the embodiment of the present invention, by the first port and the second port are multiplexed with to a multiplexing port by preset rules, reduced the cabling of one group of port in electronic equipment, and the space of having saved a port socket on control module, thereby realized the miniaturization development of electronic equipment.
Embodiment bis-
The embodiment of the present invention also provides a kind of electronic equipment, and described electronic equipment is the electronic equipment with serial port and parallel port, concrete, and described electronic equipment can be robot calculator, notebook computer etc.As shown in Figure 1, described electronic equipment comprises serial port 11 and parallel port 12; Described electronic equipment also comprises control module 13, and described control module comprises: the first port and the second port;
Described the first port is connected with described serial port 11; Described the second port is connected with described parallel port 12;
Described the first port and described the second port are multiplexed with a multiplexing port 131 by preset rules.
Wherein, described the first port comprises M pin, and described the second port comprises N pin; Wherein, M and N are positive integer;
Described the first port and described the second port are multiplexed with a multiplexing port 131 by preset rules, for:
When M is more than or equal to N, N pin described in described the first port and described the second multiplexed port in the first port, using described the first port as multiplexing port 131;
When N is more than or equal to M, M pin described in described the first port and described the second multiplexed port in the second port, using described the second port as multiplexing port 131.
Here, described control module 13, for controlling the input and output of data, has a plurality of functions conventionally, as control of the input and output of serial port, parallel port, floppy disk and keyboard and mouse etc.; Described control module 13 has X pin (X is positive integer), and the quantity of described X is relevant to electronic equipment, and the quantity of different electronic equipment possibility X is different.
In a described X pin, be useful on M the pin (M is that positive integer and M are less than X) being connected with described serial port 11, and N the pin (N is that positive integer and N are less than X) for being connected with described parallel port 12; A described M pin is described the first port; A described N pin is described the second port.
In the present embodiment, described multiplexing port 131 has T pin (T is positive integer, and T is less than X, and T is larger one of numerical value in M and N); In a described T pin, there is M pin for being connected with described serial port 11, there is N pin for being connected with described parallel port 12, in the T of described multiplexing port 131 pin, must there is P pin (P is less with numerical value in N of M) to be both connected with described serial port 11, be connected with described parallel port 12 again, i.e. the control function of described P pin multiplexing serial port and parallel port.
Wherein, described control module 13 in actual applications, can be Super I/O, and described Super I/O is positioned on the mainboard of electronic equipment.
Like this, adopt the technical scheme of the embodiment of the present invention, by the first port and the second port are multiplexed with to a multiplexing port by preset rules, reduced the cabling of one group of port in electronic equipment, and the space of having saved a port socket on control module, thereby realized the miniaturization development of electronic equipment.
Embodiment tri-
The embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment is the electronic equipment with serial port and parallel port, concrete, and described electronic equipment can be robot calculator, notebook computer etc.As shown in Figure 1, described electronic equipment comprises serial port 11 and parallel port 12; Described electronic equipment also comprises control module 13, and described control module comprises: the first port and the second port;
Described the first port is connected with described serial port 11; Described the second port one 2 is connected with described parallel port;
Described the first port and described the second port are multiplexed with a multiplexing port 131 by preset rules.
Here, described control module 13, for controlling the input and output of data, has a plurality of functions conventionally, as control of the input and output of serial port, parallel port, floppy disk and keyboard and mouse etc.; Described control module 13 has X pin (X is positive integer), and the quantity of described X is relevant to electronic equipment, and the quantity of different electronic equipment possibility X is different; In a described X pin, be useful on M the pin (M is that positive integer and M are less than X) being connected with described serial port 11, and N the pin (N is that positive integer and N are less than X) for being connected with described parallel port 12; A described M pin is described the first port; A described N pin is described the second port.
In the present embodiment, described the first port and described the second port are multiplexed with a multiplexing port, i.e. multiplexing port in Fig. 1 131 by preset rules.Concrete, described multiplexing port 131 has T pin (T is positive integer, and T is less than X, and T is larger one of numerical value in M and N); In a described T pin, there is M pin for being connected with described serial port 11, there is N pin for being connected with described parallel port 12, in the T of described multiplexing port 131 pin, must there is P pin (P is less with numerical value in N of M) to be both connected with described serial port 11, be connected with described parallel port 12 again, i.e. the control function of described P pin multiplexing serial port and parallel port.
In the present embodiment, described the first port comprises 8 pins; Described the second port comprises 17 pins; Described the second port is as multiplexing port; Described the first port is by 8 pins in multiplexing described the second port of preset rules; Wherein,
Described preset rules is: the arbitrary continuation described in described the first multiplexed port in the second port or discontinuous 8 pins.
Here, described serial port 11 can be 9 pins or 25 pins, and in the present embodiment, described serial port 11 is 9 pins, and described the first port being connected with described serial port 11 has 8 pins; Described parallel port 12 is 25 pins normally, and described the second port being connected with described parallel port 12 has 17 pins.
Concrete, Fig. 2 is the schematic diagram of the first port and the second port in prior art; As shown in Figure 2, described the first port 14 comprises that pin 119 is to pin 126; Described the second port comprises that pin 97 is to pin 113.
Fig. 3 is the first schematic diagram of pin multiplexing in the embodiment of the present invention; As shown in Figure 3, described in, take port one 31 and comprise that pin 97 is to pin 113, be i.e. the second port of the prior art.
Wherein, in described multiplexing port 131, pin 97 is identical with the function of the second port one 5 of the prior art to the first function of pin 113, is connected with parallel port 12, controls the input and output of described parallel port 12; Meanwhile, described pin 97 has the second function to 8 pins in pin 113, and described the second function is identical with the function of described the first port 14, is connected with serial port 11, controls the input and output of described serial port 11.Concrete, described 8 pins can be described pins 97 to 8 pins of the arbitrary continuation in pin 113, and if pin 97 is to pin 104, or pin 100 is to pin 107; Described 8 pins can be also described pins 97 to any discontinuous 8 pins in pin 113, if pin 97, pin 99, pin 101 are to pin 104, pin 107 and pin 110.
Wherein, described control module 13 in actual applications, can be Super I/O, and described Super I/O is positioned on the mainboard of electronic equipment.
Like this, adopt the technical scheme of the embodiment of the present invention, by the first port and the second port are multiplexed with to a multiplexing port by preset rules, reduced the cabling of one group of port in electronic equipment, and the space of having saved a port socket on control module, thereby realized the miniaturization development of electronic equipment.
Embodiment tetra-
In another preferred embodiment of the present invention, based on embodiment mono-, to being the electronic equipment that embodiment tri-records, as shown in Figure 1, described electronic equipment comprises serial port 11 and parallel port 12; Described electronic equipment also comprises control module 13, and described control module comprises: the first port and the second port;
Described the first port is connected with described serial port 11; Described the second port one 2 is connected with described parallel port;
Described the first port and described the second port are multiplexed with a multiplexing port 131 by preset rules.
Here, described control module 13, for controlling the input and output of data, has a plurality of functions conventionally, as control of the input and output of serial port, parallel port, floppy disk and keyboard and mouse etc.; Described control module 13 has X pin (X is positive integer), and the quantity of described X is relevant to electronic equipment, and the quantity of different electronic equipment possibility X is different.
In the present embodiment, described the first port and described the second port are multiplexed with a multiplexing port, i.e. multiplexing port in Fig. 1 131 by preset rules.Concrete, described multiplexing port 131 has T pin (T is positive integer, and T is less than X, and T is larger one of numerical value in M and N); In a described T pin, there is M pin for being connected with described serial port 11, there is N pin for being connected with described parallel port 12, in the T of described multiplexing port 131 pin, must there is P pin (P is less with numerical value in N of M) to be both connected with described serial port 11, be connected with described parallel port 12 again, i.e. the control function of described P pin multiplexing serial port and parallel port.
Here, described the first port comprises 8 pins; Described the second port comprises 17 pins; Wherein,
The first pin of described the second port and the first pin multiplexing of described the first port;
The second pin of described the second port and the second pin multiplexing of described the first port;
The 3rd pin of described the second port and the 3rd pin multiplexing of described the first port;
The 4th pin of described the second port and the 4th pin multiplexing of described the first port;
The 5th pin of described the second port and the 5th pin multiplexing of described the first port;
The 6th pin of described the second port and the 6th pin multiplexing of described the first port;
The 7th pin of described the second port and the 7th pin multiplexing of described the first port;
The 8th pin of described the second port and the 8th pin multiplexing of described the first port.
Concrete, Fig. 4 is the second schematic diagram of pin multiplexing in the embodiment of the present invention; As shown in Figure 4, with numeral " 1 ", represent the first port, with numeral " 2 ", represent the second port; In described multiplexing port 131, using pin 97 as the first pin of described the second port and the first pin of described the first port, the first pin to the eight pins of the second port described in 8 of described the first port pin multiplexings, pin 97 is to pin 104, as detailed above.Certainly, also can define pin 113 as the first pin, using pin 113 as the first pin of described the second port and the first pin of described the first port, 8 of described the first port pin multiplexing pins 113 are to pin 106.
Wherein, described control module 13 in actual applications, can be Super I/O, and described Super I/O is positioned on the mainboard of electronic equipment.
Like this, adopt the technical scheme of the embodiment of the present invention, by the first port and the second port are multiplexed with to a multiplexing port by preset rules, reduced the cabling of one group of port in electronic equipment, and the space of having saved a port socket on control module, thereby realized the miniaturization development of electronic equipment.
Embodiment five
In another preferred embodiment of the present invention, based on embodiment mono-, to being the electronic equipment that embodiment tri-records, as shown in Figure 1, described electronic equipment comprises serial port 11 and parallel port 12; Described electronic equipment also comprises control module 13, and described control module comprises: the first port and the second port;
Described the first port is connected with described serial port 11; Described the second port one 2 is connected with described parallel port;
Described the first port and described the second port are multiplexed with a multiplexing port 131 by preset rules.
Here, described control module 13, for controlling the input and output of data, has a plurality of functions conventionally, as control of the input and output of serial port, parallel port, floppy disk and keyboard and mouse etc.; Described control module 13 has X pin (X is positive integer), and the quantity of described X is relevant to electronic equipment, and the quantity of different electronic equipment possibility X is different.
In the present embodiment, described the first port and described the second port are multiplexed with a multiplexing port, i.e. multiplexing port in Fig. 1 131 by preset rules.Concrete, described multiplexing port 131 has T pin (T is positive integer, and T is less than X, and T is larger one of numerical value in M and N); In a described T pin, there is M pin for being connected with described serial port 11, there is N pin for being connected with described parallel port 12, in the T of described multiplexing port 131 pin, must there is P pin (P is less with numerical value in N of M) to be both connected with described serial port 11, be connected with described parallel port 12 again, i.e. the control function of described P pin multiplexing serial port and parallel port.
Here, described the first port comprises 8 pins; Described the second port comprises 17 pins; Wherein,
The first pin of described the second port and the first pin multiplexing of described the first port;
The second pin of described the second port and the second pin multiplexing of described the first port;
The 3rd pin of described the second port and the 3rd pin multiplexing of described the first port;
The 4th pin of described the second port and the 4th pin multiplexing of described the first port;
The 5th pin of described the second port and the 5th pin multiplexing of described the first port;
The 6th pin of described the second port and the 6th pin multiplexing of described the first port;
The 7th pin of described the second port and the 7th pin multiplexing of described the first port;
The 8th pin of described the second port and the 8th pin multiplexing of described the first port;
The 9th pin of described the second port and the first pin multiplexing of described the first port;
The tenth pin of described the second port and the second pin multiplexing of described the first port;
The 11 pin of described the second port and the 3rd pin multiplexing of described the first port;
The 12 pin of described the second port and the 4th pin multiplexing of described the first port;
The 13 pin of described the second port and the 5th pin multiplexing of described the first port;
The 14 pin of described the second port and the 6th pin multiplexing of described the first port;
The 15 pin of described the second port and the 7th pin multiplexing of described the first port;
The 16 pin of described the second port and the 8th pin multiplexing of described the first port.
Concrete, Fig. 5 is the second schematic diagram of pin multiplexing in the embodiment of the present invention; As shown in Figure 5, with numeral " 1 ", represent the first port, with numeral " 2 ", represent the second port; In described multiplexing port 131, using pin 97 as the first pin of the second port and the first pin of described the first port, the first pin to the eight pins of the second port described in 8 of described the first port pin multiplexings, pin 97 is to pin 104; Meanwhile, the 9th pin to the 16 pins of the second port described in 8 pin multiplexings of another the first port, pin 105 is to pin 112, and pin 113 is empty; In the present embodiment, the pin function of two first ports of pin function reusable of second port; As detailed above.Certainly, also can define pin 113 as the first pin, using pin 113 as the first pin of described the second port and the first pin of described the first port, 8 of described the first port pin multiplexing pins 113 are to pin 106, described in 8 pin multiplexings of another the first port, the pin 105 of the second port is to pin 98, and pin 97 is empty.
Wherein, described control module 13 in actual applications, can be Super I/O, and described Super I/O is positioned on the mainboard of electronic equipment.
Like this, adopt the technical scheme of the embodiment of the present invention, by the first port and the second port are multiplexed with to a multiplexing port by preset rules, reduced the cabling of one group of port in electronic equipment, and the space of having saved a port socket on control module, thereby realized the miniaturization development of electronic equipment.
Embodiment six
In another preferred embodiment of the present invention, the electronic equipment of recording based on embodiment five, as shown in Figure 1, described electronic equipment comprises serial port 11 and parallel port 12; Described electronic equipment also comprises control module 13, and described control module comprises: the first port and the second port;
Described the first port is connected with described serial port 11; Described the second port one 2 is connected with described parallel port;
Described the first port and described the second port are multiplexed with a multiplexing port 131 by preset rules.
Here, described control module 13, for controlling the input and output of data, has a plurality of functions conventionally, as control of the input and output of serial port, parallel port, floppy disk and keyboard and mouse etc.; Described control module 13 has X pin (X is positive integer), and the quantity of described X is relevant to electronic equipment, and the quantity of different electronic equipment possibility X is different.
In the present embodiment, described the first port and described the second port are multiplexed with a multiplexing port, i.e. multiplexing port in Fig. 1 131 by preset rules.Concrete, described multiplexing port 131 has T pin (T is positive integer, and T is less than X, and T is larger one of numerical value in M and N); In a described T pin, there is M pin for being connected with described serial port 11, there is N pin for being connected with described parallel port 12, in the T of described multiplexing port 131 pin, must there is P pin (P is less with numerical value in N of M) to be both connected with described serial port 11, be connected with described parallel port 12 again, i.e. the control function of described P pin multiplexing serial port and parallel port.
Here, described the first port comprises 8 pins; Described the second port comprises 17 pins; Wherein,
The first pin of described the second port and the first pin multiplexing of described the first port;
The second pin of described the second port and the second pin multiplexing of described the first port;
The 3rd pin of described the second port and the 3rd pin multiplexing of described the first port;
The 4th pin of described the second port and the 4th pin multiplexing of described the first port;
The 5th pin of described the second port and the 5th pin multiplexing of described the first port;
The 6th pin of described the second port and the 6th pin multiplexing of described the first port;
The 7th pin of described the second port and the 7th pin multiplexing of described the first port;
The 8th pin of described the second port and the 8th pin multiplexing of described the first port;
The 9th pin of described the second port and the first pin multiplexing of described the first port;
The tenth pin of described the second port and the second pin multiplexing of described the first port;
The 11 pin of described the second port and the 3rd pin multiplexing of described the first port;
The 12 pin of described the second port and the 4th pin multiplexing of described the first port;
The 13 pin of described the second port and the 5th pin multiplexing of described the first port;
The 14 pin of described the second port and the 6th pin multiplexing of described the first port;
The 15 pin of described the second port and the 7th pin multiplexing of described the first port;
The 16 pin of described the second port and the 8th pin multiplexing of described the first port.
Concrete, Fig. 5 is the second schematic diagram of pin multiplexing in the embodiment of the present invention; As shown in Figure 5, with numeral " 1 ", represent the first port, with numeral " 2 ", represent the second port; In described multiplexing port 131, using pin 97 as the first pin of the second port and the first pin of described the first port, the first pin to the eight pins of the second port described in 8 of described the first port pin multiplexings, pin 97 is to pin 104; Meanwhile, the 9th pin to the 16 pins of the second port described in 8 pin multiplexings of another the first port, pin 105 is to pin 112, and pin 113 is empty; In the present embodiment, the pin function of two first ports of pin function reusable of second port; As detailed above.Certainly, also can define pin 113 as the first pin, using pin 113 as the first pin of described the second port and the first pin of described the first port, 8 of described the first port pin multiplexing pins 113 are to pin 106, described in 8 pin multiplexings of another the first port, the pin 105 of the second port is to pin 98, and pin 97 is empty.
Concrete, Fig. 6 is the 4th schematic diagram of pin multiplexing in the embodiment of the present invention; As shown in Figure 6, it is example as the first pin of the second port and the first pin of described the first port that the present embodiment be take pin 97, and the first pin of described the first port (being pin 97) sends (RTS, Request To Send) pin for request; The second pin of described the first port (being pin 98) is DSR (DSR, Data Set Ready) pin; The 3rd pin of described the first port (being pin 99) is for sending data (SOUT, Serial Data Out) pin; The 4th pin of described the first port (being pin 100) is for receiving data (SIN, Serial Data In) pin; The 5th pin of described the first port (being pin 101) is DTR (DTR, Data Terminal Ready) pin; The 6th pin of described the first port (being pin 102) is data carrier detection (DCD, Data Carrier Detect) pin; The 7th pin of described the first port (being pin 103) is ring indication (RI, Ring Indicator) pin; The 8th pin of described the first port (being pin 104) is clear to send (CTS, Clear To Send) pin.
The first pin of described the second port (being pin 97) is for selecting (SLCT) pin; The second pin of described the second port (being pin 98) is for lacking paper (PE) pin; The 3rd pin of described the second port (being pin 99) is busy (BUSY) pin; The 4th pin of described the second port (being pin 100) is for confirming (ACK) pin; The 5th pin of described the second port (being pin 101) is for selecting input (SLIN) pin; The 6th pin of described the second port (being pin 102) is initialization (INIT) pin; The 7th pin of described the second port (being pin 103) is wrong (ERR) pin; The 8th pin of described the second port (being pin 104) is (AFD, the AutoFeed) pin that automatically enters a new line; The 9th pin of described the second port is gating (STB, Strobe) pin; The tenth pin to the 16 pins of described the second port are that the 0th to the 6th data bit pin (PD0) is to (PD6).
Wherein, the order of 8 pins of described the first port can be from different shown in Fig. 6, and the order of 17 pins of described the second port also can be from different shown in Fig. 6.
In the present embodiment, because described the second port has 17 pins, described the first port has 8 pins, so pin function of two the first ports of 16 pin multiplexings in described the second port, except above-mentioned the first pin (being pin 97) is to the 8th pin (being pin 104), the 9th pin (being pin 105) is to the pin function of multiplexing another the first port of the 16 pin (being pin 112); Concrete, the first pin of described another the first port (being pin 105) is request transmission (RTS) pin; The second pin of described another the first port (being pin 106) is DSR (DSR) pin; The 3rd pin of described another the first port (being pin 107) is for sending data (SOUT) pin; The 4th pin of described another the first port (being pin 108) is for receiving data (SIN) pin; The 5th pin of described another the first port (being pin 109) is DTR (DTR) pin; The 6th pin of described another the first port (being pin 110) is data carrier detection (DCD) pin; The 7th pin of described another the first port (being pin 111) is ring indication (RI) pin; The 8th pin of described another the first port (being pin 112) is clear to send (CTS) pin.
Wherein, described control module 13 in actual applications, can be Super I/O, and described Super I/O is positioned on the mainboard of electronic equipment.
Like this, adopt the technical scheme of the embodiment of the present invention, by the first port and the second port are multiplexed with to a multiplexing port by preset rules, reduced the cabling of one group of port in electronic equipment, and the space of having saved a port socket on control module, thereby realized the miniaturization development of electronic equipment.
Embodiment seven
The embodiment of the present invention also provides a kind of information processing method, the electronic equipment of described information processing method based on described in embodiment mono-to embodiment six; Described electronic equipment comprises serial port and parallel port; Described electronic equipment comprises control module, and described control module comprises the first port being connected with described serial port and the second port being connected with described parallel port; Described the first port and described the second port are multiplexed with a multiplexing port by preset rules; Fig. 7 is the composition structural representation of the information processing method of the embodiment of the present invention; As shown in Figure 7, described method comprises:
Step 701:BIOS detects the port having inserted, and identifies the type of described port.
Here, described BIOS detects and inserts serial port or parallel port, and the port type that identifies insertion is serial port or parallel port.
Step 702: selecting the function of described multiplexing port according to described port type is the first function or the second function, obtains the first selection result; Wherein, described the first function is the function of the serial port that characterizes of described the first port; Described the second function is the function of the parallel port that characterizes of described the second port.
Here, described BIOS is according to the port type identifying in step 701, and the enable register (Enable Register) of multiplexing pins (Pin) of selecting to insert the multiplexing port of control module is the pin function that the first port or the second port are selected the multiplexing pins of described control module.
Concrete, when described BIOS identifies port type and is serial port (Serial Port), it is as shown in table 1 that the enable register (Enable Register) of multiplexing pins (Pin) of the multiplexing port of control module is inserted in described selection:
Table 1
Multiplexing port shown in table 1 is the multiplexing port shown in Fig. 5 and Fig. 6, the i.e. situation of two the first ports of second multiplexed port, therefore, what at " the Serial Port1Enable " shown in table 1, show extrapolation now is first serial port, and therefore described control module need provide the pin function of described first the first port.When described multiplexing port is the multiplexing port shown in Fig. 4, first port of second multiplexed port is described, " Serial Port1Enable " herein should insert as " Serial Port Enable ", with what show number of times extrapolation, is serial port.
When described BIOS identifies port type and is parallel port (Parallel Port), it is as shown in table 2 that the enable register (Enable Register) of multiplexing pins (Pin) of the multiplexing port of control module is inserted in described selection:
Table 2
As shown in table 2, what show extrapolation now is parallel port, and therefore described control module need to provide the pin function of the second port.
Step 703: carry out input and output processing by described the first selection result.
Here, in step 702, after the pin function of selected described multiplexing port, by described selected pin function, carry out the input and output of serial or parallel and process; Described input and output processing procedure is same as the prior art, repeats no more here.
In the present embodiment, described control module in actual applications, can be Super I/O, and described Super I/O is positioned on the mainboard of electronic equipment.
Like this, adopt the technical scheme of the embodiment of the present invention, by the first port and the second port are multiplexed with to a multiplexing port by preset rules, reduced the cabling of one group of port in electronic equipment, and the space of having saved a port socket on control module, thereby realized the miniaturization development of electronic equipment.
Those skilled in the art should understand, embodiments of the invention can be provided as method, equipment or computer program.Therefore, the present invention can adopt hardware implementation example, implement software is routine or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to the process flow diagram of the method for the embodiment of the present invention, equipment and computer program and/or block scheme.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computing machine or other programmable data processing device is produced for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame on computing machine or other programmable devices.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.

Claims (8)

1. an electronic equipment, described electronic equipment comprises serial port and parallel port; It is characterized in that, described electronic equipment also comprises control module, and described control module comprises: the first port and the second port;
Described the first port is connected with described serial port; Described the second port is connected with described parallel port;
Described the first port and described the second port are multiplexed with a multiplexing port by preset rules.
2. electronic equipment according to claim 1, is characterized in that, described the first port comprises M pin, and described the second port comprises N pin; Wherein, M and N are positive integer;
Described the first port and described the second port are multiplexed with a multiplexing port by preset rules, for:
When M is more than or equal to N, N pin described in described the first port and described the second multiplexed port in the first port, using described the first port as multiplexing port;
When N is more than or equal to M, M pin described in described the first port and described the second multiplexed port in the second port, using described the second port as multiplexing port.
3. electronic equipment according to claim 1, is characterized in that, described the first port comprises 8 pins; Described the second port comprises 17 pins; Described the second port is as multiplexing port; Described the first port is by 8 pins in multiplexing described the second port of preset rules; Wherein,
Described preset rules is: the arbitrary continuation described in described the first multiplexed port in the second port or discontinuous 8 pins.
4. electronic equipment according to claim 1, is characterized in that, described the first port comprises 8 pins; Described the second port comprises 17 pins; Wherein,
The first pin of described the second port and the first pin multiplexing of described the first port;
The second pin of described the second port and the second pin multiplexing of described the first port;
The 3rd pin of described the second port and the 3rd pin multiplexing of described the first port;
The 4th pin of described the second port and the 4th pin multiplexing of described the first port;
The 5th pin of described the second port and the 5th pin multiplexing of described the first port;
The 6th pin of described the second port and the 6th pin multiplexing of described the first port;
The 7th pin of described the second port and the 7th pin multiplexing of described the first port;
The 8th pin of described the second port and the 8th pin multiplexing of described the first port.
5. electronic equipment according to claim 4, is characterized in that,
The 9th pin of described the second port and the first pin multiplexing of described the first port;
The tenth pin of described the second port and the second pin multiplexing of described the first port;
The 11 pin of described the second port and the 3rd pin multiplexing of described the first port;
The 12 pin of described the second port and the 4th pin multiplexing of described the first port;
The 13 pin of described the second port and the 5th pin multiplexing of described the first port;
The 14 pin of described the second port and the 6th pin multiplexing of described the first port;
The 15 pin of described the second port and the 7th pin multiplexing of described the first port;
The 16 pin of described the second port and the 8th pin multiplexing of described the first port.
6. electronic equipment according to claim 5, is characterized in that, the first pin of described the first port is request transmission RTS pin; The second pin of described the first port is DSR DSR pin; The 3rd pin of described the first port is for sending data SOUT pin; The 4th pin of described the first port is for receiving data SIN pin; The 5th pin of described the first port is DTR DTR pin; The 6th pin of described the first port is that data carrier detects DCD pin; The 7th pin of described the first port is ring indication RI pin; The 8th pin of described the first port is clear to send CTS pin.
7. electronic equipment according to claim 5, is characterized in that, the first pin of described the second port is for selecting SLCT pin; The second pin of described the second port is for lacking paper PE pin; The 3rd pin of described the second port is busy BUSY pin; The 4th pin of described the second port is for confirming ACK pin; The 5th pin of described the second port is for selecting input SLIN pin; The 6th pin of described the second port is initialization INIT pin; The 7th pin of described the second port is wrong ERR pin; The 8th pin of described the second port is AFD pin; The 9th pin of described the second port is STB pin; The tenth pin to the 16 pins of described the second port are the 0th to the 6th data bit pin PD0 to PD6.
8. an information processing method, is applied in electronic equipment, and described electronic equipment comprises serial port and parallel port; It is characterized in that, described electronic equipment comprises control module, and described control module comprises the first port being connected with described serial port and the second port being connected with described parallel port; Described the first port and described the second port are multiplexed with a multiplexing port by preset rules; Described method comprises:
Basic input-output system BIOS detects the port having inserted, and identifies the type of described port;
According to described port type, selecting the function of described multiplexing port is the first function or the second function, obtains the first selection result; Wherein, described the first function is the function of the serial port that characterizes of described the first port; Described the second function is the function of the parallel port that characterizes of described the second port;
By described the first selection result, carry out input and output processing.
CN201410281417.XA 2014-06-20 2014-06-20 Electronic equipment and information processing method Pending CN104102613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410281417.XA CN104102613A (en) 2014-06-20 2014-06-20 Electronic equipment and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410281417.XA CN104102613A (en) 2014-06-20 2014-06-20 Electronic equipment and information processing method

Publications (1)

Publication Number Publication Date
CN104102613A true CN104102613A (en) 2014-10-15

Family

ID=51670780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410281417.XA Pending CN104102613A (en) 2014-06-20 2014-06-20 Electronic equipment and information processing method

Country Status (1)

Country Link
CN (1) CN104102613A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853044A (en) * 2015-05-13 2015-08-19 惠州Tcl移动通信有限公司 Time division multiplexing device of MIPI interface and parallel port, method thereof and mobile terminal
CN106160073A (en) * 2016-06-30 2016-11-23 联想(北京)有限公司 A kind of electronic equipment and control method thereof
CN108874713A (en) * 2018-05-31 2018-11-23 联想(北京)有限公司 A kind of information processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1449542A (en) * 2000-08-04 2003-10-15 三因迪斯克公司 Use of small electronic circuit cards with different interfaces in an electronic system
CN101566980A (en) * 2008-04-23 2009-10-28 凤凰微电子(中国)有限公司 Method for multiplexing interface of SD card and SD card with expanded function
CN103402068A (en) * 2013-08-09 2013-11-20 西安电子科技大学 Uncompressed video play system and method
CN103678226A (en) * 2012-09-24 2014-03-26 炬力集成电路设计有限公司 General purpose input/output (GPIO) port reuse circuit and method of chip

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1449542A (en) * 2000-08-04 2003-10-15 三因迪斯克公司 Use of small electronic circuit cards with different interfaces in an electronic system
CN101566980A (en) * 2008-04-23 2009-10-28 凤凰微电子(中国)有限公司 Method for multiplexing interface of SD card and SD card with expanded function
CN103678226A (en) * 2012-09-24 2014-03-26 炬力集成电路设计有限公司 General purpose input/output (GPIO) port reuse circuit and method of chip
CN103402068A (en) * 2013-08-09 2013-11-20 西安电子科技大学 Uncompressed video play system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853044A (en) * 2015-05-13 2015-08-19 惠州Tcl移动通信有限公司 Time division multiplexing device of MIPI interface and parallel port, method thereof and mobile terminal
CN106160073A (en) * 2016-06-30 2016-11-23 联想(北京)有限公司 A kind of electronic equipment and control method thereof
CN106160073B (en) * 2016-06-30 2019-06-25 联想(北京)有限公司 A kind of electronic equipment and its control method
CN108874713A (en) * 2018-05-31 2018-11-23 联想(北京)有限公司 A kind of information processing method and device
CN108874713B (en) * 2018-05-31 2021-10-22 联想(北京)有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
US9779047B2 (en) Universal intelligent platform management interface (IPMI) host to baseboard management controller (BMC) communication for non-x86 and legacy free systems
CN102768648B (en) Gatherer, the system with this gatherer and correlation technique are interrupted in low delay
CN103052942A (en) Alignment control
CN104102613A (en) Electronic equipment and information processing method
CN104156234A (en) Multi-core processor starting and bootloader big-little endian mode adapting method device
WO2023221753A1 (en) Serial port communication method and related apparatus
CN105354116A (en) Hot-plug detection method, apparatus, system and mobile terminal
CN109741038A (en) Token processing method, computer readable storage medium and electronic equipment based on block chain account
CN101493808B (en) Serial using method and multi-core processor
JP2008234024A (en) Batch processing program, batch processing method and batch processing device
CN105242954A (en) Mapping method between virtual CPUs (Central Processing Unit) and physical CPUs, and electronic equipment
CN105279110B (en) A kind of method and USB device of USB device identification host system
CN104615558A (en) Data transferring method and electronic device
CN103713953A (en) Device and method for transferring data in memory
CN110008003A (en) A kind of order line validation checking method and relevant apparatus
CN102725735B (en) Method and system for multithreading collaborative simulations
CN210324191U (en) Computer module and mainboard
CN103389893A (en) Read-write method and device for configuration register
CN111310929A (en) Quantum computation-oriented data interaction equipment, method, device and medium
CN104461603A (en) Information processing method and electronic equipment
Abdul-Hussin Computation of Minimal Siphons for a Class of Generalized Petri Nets
CN115344520A (en) Method and device for using PCIe interface compatible with silver fir card, storage medium and equipment
CN105183676A (en) Memory write protection system and method
CN110765038B (en) Communication method and device of processor and LPC device and storage medium
CN105389205A (en) Information processing method and electronic device

Legal Events

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

Application publication date: 20141015