CN102307117A - Port configuration method and device - Google Patents

Port configuration method and device Download PDF

Info

Publication number
CN102307117A
CN102307117A CN201110201207A CN201110201207A CN102307117A CN 102307117 A CN102307117 A CN 102307117A CN 201110201207 A CN201110201207 A CN 201110201207A CN 201110201207 A CN201110201207 A CN 201110201207A CN 102307117 A CN102307117 A CN 102307117A
Authority
CN
China
Prior art keywords
port
cable
length
drive strength
detected
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
CN201110201207A
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.)
Beijing Star Net Ruijie Networks Co Ltd
Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201110201207A priority Critical patent/CN102307117A/en
Publication of CN102307117A publication Critical patent/CN102307117A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a port configuration method and device. The method comprises the following steps: detecting the length of a cable connected with a port; and configuring the drive strength of the port according to the detected length of the cable. The device comprises a length detection module and a configuration module. By adopting the port configuration method and device, the energy consumption of the port is effectively reduced.

Description

Port configuration method and device
Technical field
The embodiment of the invention relates to communication technical field, relates in particular to a kind of port configuration method and device.
Background technology
Ethernet is that (Institute of Electrical and Electronics Engineers abbreviates as: IEEE) standardized a kind of local area network (LAN) interconnection technique by U.S. electric and Electronic Engineering Association.The Ethernet of mainstream applications connects media and comprises that (Unshielded Twisted Paired abbreviates as: UTP) two kinds for optical fiber and unshielded twisted pair.
Therefore the ethernet port of present multiple different rates coexists, and like 10M, 100M, 1000M etc., requires can guarantee proper communication each other through auto-negotiation mechanism between the ethernet port of different rates.Port for the UTP form; Auto-negotiation is through a kind of fast link pulse (Fast Linkage Pulse that is called as; Abbreviate as: signal FLP); The technical capability of coming the mutual two-port that connects to support; And the high workload ability all supported of definite both sides' port, with this operating rate as both sides' port.After both sides confirmed the common technique territory, both sides' port need be through valid data or the idle message signals (like the Idle frame) that receives the opposite end incessantly, to keep the stable linking status of both sides' port.
This uninterrupted reception/civilian consumption for energy that sends datagram is huge, and the energy consumption that how to reduce ethernet port is that problem to be solved is arranged in the prior art.
Summary of the invention
The embodiment of the invention provides a kind of port configuration method and device, in order to solve the problem that exists in the prior art.
The embodiment of the invention provides a kind of port configuration method, comprising:
Detect the length of the cable that is connected with port;
Dispose the drive strength of said port according to detected length of cable.
The embodiment of the invention provides a kind of port arrangement device, comprising:
The length detection module is used to detect the length of the cable that is connected with port;
Configuration module is used for disposing according to detected length of cable the drive strength of said ethernet port.
The port configuration method of the embodiment of the invention and device through detecting the length of the cable be connected with port, and according to the drive strength of detected length of cable configured port, effectively reduce the energy consumption of port.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply; Obviously; Accompanying drawing in describing below is some embodiments of the present invention; For those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The port configuration method flow chart that Fig. 1 provides for one embodiment of the invention;
The port configuration method flow chart that Fig. 2 provides for another embodiment of the present invention;
Fig. 3 goes back the port configuration method flow chart that embodiment provides for the present invention;
The port configuration method flow chart that Fig. 4 provides for another embodiment of the present invention;
The structural representation of the port arrangement device that Fig. 5 provides for one embodiment of the invention;
The port arrangement apparatus structure sketch map that Fig. 6 provides for another embodiment of the present invention;
The ethernet port structural representation that Fig. 7 provides for the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer; To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, intactly description; Obviously; Described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The port configuration method flow chart that Fig. 1 provides for one embodiment of the invention, as shown in Figure 1, this method comprises:
Step 101, port arrangement device detect the length of the cable that is connected with port.
Wherein, (Time Domain Reflectometer abbreviates as: TDR) detect length of cable as the port arrangement device can to use domain reflectometer.The time that TDR can return according to the reflected signal of the signal pulse that sends, calculate length of cable.
Detecting length of cable generally needs certain interval of time to carry out once, thereby reaches the purpose that reduces system energy consumption.Simultaneously, need consider that customer access equipment needs requirements of one's work as early as possible when using, blanking time is unsuitable long, and recommending with 5 seconds in the present embodiment is to be advisable a blanking time, but does not do the pressure requirement.
Step 102, port arrangement device are according to the drive strength of detected length of cable configured port.
Concrete collocation method can but be not limited to comprise: according to the agreement of 1000BASE-T, the amplitude of agreement specified signal is ± signal strength signal intensity of 1V, maximumly supports that length is 100 meters.So, when detecting length of cable and be 100 meters, drive strength just is ± 1V.Detected line length is long more, and the drive strength of configured port is big more; Detected line length is short more, and the drive strength of configured port is more little.For example, when detecting length of cable and be 50 meters, drive strength can be set to 60%.When detecting length of cable less than 10 meters, it is 30% that drive strength can be set.Reality does not have the very proportionate relationship of strong correlation, and with this distance, the drive strength that can normally receive and dispatch during this length is as the criterion.The concrete value of above-mentioned drive strength is the optimum value that the inventor obtains in the process of repeatedly practising, and can when guaranteeing port driver intensity, farthest reduce the energy consumption of port.
For the further energy consumption that reduces port, the port configuration method flow chart that another embodiment of the present invention as shown in Figure 2 provides, before step 101, the port configuration method that the embodiment of the invention provides also comprises:
Whether the cable that step 100, the detection of port arrangement device are connected with port is unusual.
Here saidly can comprise that unusually cable open circuit or cable short circuit etc. are unusual; The mode that adopts can be to use TDR; Whether the signal pulse that sends according to transmission can receive within the predetermined time that reflected signal judges whether the cable opposite end is connected with device port; If receive reflected signal within the predetermined time; Illustrate that then the cable opposite end is connected with port; If do not receive reflected signal within the predetermined time, cable opposite end open circuit then is described, there is not the connectivity port.Detected reflectance signal obtains the impedance of opposite equip., if within critical field, general critical field is 80~120 ohm, shows that then Peer-Port is intact with the equipment link.If outside critical field, then think the cable short circuit.
If it is unusual to detect cable, illustrate that then the current cable that is connected with port does not satisfy client's normal user demand, this port can't normally use at present, and then the physical chip of close port is with conserve energy.
If it is normal to detect cable, then execution in step 101.
In order further to reduce the energy consumption of port, the present invention as shown in Figure 3 is the port configuration method flow chart that embodiment provides also, and after step 102, the port configuration method that the embodiment of the invention provides also comprises:
Step 103, be park mode with port arrangement.
Be park mode why with port arrangement, though be because port has connected netting twine, and the equipment of opposite end also inserted netting twine, and perhaps equipment still is in states such as shutdown, and reality is not being worked.Therefore can with port arrangement the energy consumption of park mode with further reduction port.
Further, the port configuration method flow chart that another embodiment of the present invention as shown in Figure 4 provides, after step 103, the port configuration method that the embodiment of the invention provides can also comprise:
Step 104, when on detecting cable, the signal of telecommunication being arranged, open the physical chip of port, so that said physical chip is attempted link.
The step of attempting (foundation) link mainly comprises: through auto-negotiation, both sides consult to have common ability to work automatically; Both sides' signal carries out synchronously then, when both sides all can synchronization counterpart signal the time, can set up stable link this moment.
Step 105, judge whether port links success in the scheduled time.
If not, execution in step 100.
If, execution in step 106.
Step 106, port operate as normal stop the work of port arrangement device, effectively to cut down the consumption of energy.If port breaks away from from normal operating conditions, the work of its enable port inking device, execution in step 100.
Port can be understood as from the normal operating conditions disengaging: port gets into link failure (link down) state.
Need to prove that the port that the embodiment of the invention provides not only can be an ethernet port, other ports of communication field use too.
The port configuration method of the embodiment of the invention through detecting the length of the cable be connected with port, and according to the drive strength of detected length of cable configured port, effectively reduces the energy consumption of port.After the drive strength of configured port, be park mode with port arrangement, when the signal of telecommunication occurring on the cable, again port is waken up from park mode, attempt setting up link, effectively avoid unnecessary link to attempt the energy consumption of economizer port.If unusual when detecting cable, be closed condition directly then with port arrangement, do not detect the operation of length of cable, effectively the energy consumption of control port.
The structural representation of the port arrangement device that Fig. 5 provides for one embodiment of the invention, this port arrangement device can be the special bodies of carrying out said method embodiment, as shown in Figure 5, comprising: length detection module 501 and configuration module 502.Length detection module 501 wherein is used to detect the length of the cable that is connected with port, and configuration module 502 is used for the drive strength according to length detection module 501 detected length of cable configured ports.
Further; The port arrangement apparatus structure sketch map that another embodiment of the present invention as shown in Figure 6 provides; This port arrangement device can also comprise: abnormality detection module 503; Whether be used to detect the cable that is connected with port unusual; Here the said cable that comprises is unusually opened a way or the cable short circuit, and is unusual if configuration module 502 also is used for cable, the physical chip of close port; If it is normal that length detection module 501 is used for cable, detect the length of the cable that is connected with port.
Further, configuration module 502 also is used for after the drive strength according to detected length of cable configured port, and disposing this port is park mode.
Further, configuration module 502 also is used for after this port of configuration is park mode, when on detecting cable, the signal of telecommunication being arranged, opening the physical chip of port, so that physical chip is attempted link.
Concrete, configuration module 502 is used for: detected line length is long more, and the drive strength of configured port is big more; Detected line length is short more, and the drive strength of configured port is more little.
Need to prove that this port arrangement device can be integrated in the physical chip of port.With the ethernet port is example, the ethernet port structural representation that the embodiment of the invention as shown in Figure 7 provides, and this ethernet port comprises: central processing unit 701, data processing chip 702 and physical chip 703.Physical chip 703 wherein can comprise: data processing chip interface module 703a, coding/modular converter 703b, physical layer signal transceiver module 703c and auto-negotiation module 703d.This ethernet port inking device 703e can be integrated in and be positioned at external interface side (being the cable-side interface) in the physical chip 703.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of program command; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should illustrate at last is: above embodiment is only in order to illustrating technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (12)

1. a port configuration method is characterized in that, comprising:
Detect the length of the cable that is connected with port;
Dispose the drive strength of said port according to detected length of cable.
2. method according to claim 1 is characterized in that, before the length of the cable that said detection is connected with port, said method also comprises:
Whether unusual, the said cable that comprises is unusually opened a way or the cable short circuit if detecting the cable that is connected with port;
If cable is unusual, the physical chip of close port;
If cable is normal, then detect the length of the cable that is connected with port.
3. method according to claim 1 is characterized in that, after the said drive strength that disposes said port according to detected length of cable, said method also comprises:
Disposing said port is park mode.
4. method according to claim 3 is characterized in that, the said port of said configuration is after the park mode, and said method also comprises:
When on detecting said cable, the signal of telecommunication being arranged, open the physical chip of said port, so that said physical chip is attempted link.
5. method according to claim 1 is characterized in that, saidly disposes the drive strength of said port according to detected length of cable, comprising:
Detected line length is long more, and the drive strength that disposes said port is big more;
Detected line length is short more, and the drive strength that disposes said port is more little.
6. according to each described method in the claim 1 to 5, it is characterized in that said port is an ethernet port.
7. a port arrangement device is characterized in that, comprising:
The length detection module is used to detect the length of the cable that is connected with port;
Configuration module is used for disposing according to the detected length of cable of said length detection module the drive strength of said port.
8. port arrangement device according to claim 7 is characterized in that, also comprises:
The abnormality detection module, whether be used to detect the cable that is connected with said port unusual, and the said cable that comprises is unusually opened a way or the cable short circuit;
Said configuration module also is used for: if cable is unusual, and the physical chip of close port;
If it is normal that said length detection module is used for cable, detect the length of the cable that is connected with port.
9. port arrangement device according to claim 7 is characterized in that, said configuration module also is used for: after disposing the drive strength of said port according to detected length of cable, disposing said port is park mode.
10. port arrangement device according to claim 9; It is characterized in that said configuration module also is used for: after the said port of configuration is park mode, when on detecting said cable, the signal of telecommunication being arranged; Open the physical chip of said port, so that said physical chip is attempted link.
11. port arrangement device according to claim 7 is characterized in that, said configuration module is used for: detected line length is long more, and the drive strength that disposes said port is big more; Detected line length is short more, and the drive strength that disposes said port is more little.
12., it is characterized in that said port arrangement device is integrated in the physical chip of said port according to each described port arrangement device in the claim 7 to 11.
CN201110201207A 2011-07-18 2011-07-18 Port configuration method and device Pending CN102307117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110201207A CN102307117A (en) 2011-07-18 2011-07-18 Port configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110201207A CN102307117A (en) 2011-07-18 2011-07-18 Port configuration method and device

Publications (1)

Publication Number Publication Date
CN102307117A true CN102307117A (en) 2012-01-04

Family

ID=45380931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110201207A Pending CN102307117A (en) 2011-07-18 2011-07-18 Port configuration method and device

Country Status (1)

Country Link
CN (1) CN102307117A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401697A (en) * 2013-07-01 2013-11-20 华为技术有限公司 Method and device for controlling equipment interface remotely
CN107888802A (en) * 2016-09-29 2018-04-06 精工爱普生株式会社 Image read-out

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6060890A (en) * 1998-04-17 2000-05-09 Advanced Micro Devices, Inc. Apparatus and method for measuring the length of a transmission cable
US20020044335A1 (en) * 1998-06-16 2002-04-18 Islam Mohammed N. High efficiency raman amplifier
US6531931B1 (en) * 1998-06-01 2003-03-11 Agere Systems Inc. Circuit and method for equalization of signals received over a communication system transmission line
WO2010076671A1 (en) * 2009-01-05 2010-07-08 Freescale Semiconductor, Inc. Current sensing circuitry and integrated circuit and method for sensing a current
US7787525B1 (en) * 1999-12-24 2010-08-31 Schlumberger Technology Corporation Method and apparatus for transmission of well-bore data on multiple carrier frequencies

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6060890A (en) * 1998-04-17 2000-05-09 Advanced Micro Devices, Inc. Apparatus and method for measuring the length of a transmission cable
US6531931B1 (en) * 1998-06-01 2003-03-11 Agere Systems Inc. Circuit and method for equalization of signals received over a communication system transmission line
US20020044335A1 (en) * 1998-06-16 2002-04-18 Islam Mohammed N. High efficiency raman amplifier
US7787525B1 (en) * 1999-12-24 2010-08-31 Schlumberger Technology Corporation Method and apparatus for transmission of well-bore data on multiple carrier frequencies
WO2010076671A1 (en) * 2009-01-05 2010-07-08 Freescale Semiconductor, Inc. Current sensing circuitry and integrated circuit and method for sensing a current

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401697A (en) * 2013-07-01 2013-11-20 华为技术有限公司 Method and device for controlling equipment interface remotely
CN103401697B (en) * 2013-07-01 2017-02-01 华为技术有限公司 Method and device for controlling equipment interface remotely
CN107888802A (en) * 2016-09-29 2018-04-06 精工爱普生株式会社 Image read-out
CN107888802B (en) * 2016-09-29 2021-05-11 精工爱普生株式会社 Image reading apparatus

Similar Documents

Publication Publication Date Title
CN103490906B (en) Power supply processing method and device and power supply system
CN102204184B (en) Method, business board, and system for KVM data transmission
CN103888299B (en) Working method of intelligent network monitoring system
CN102318267A (en) Data communication method, communication equipment and communication system
CN101977115B (en) Method and device for realizing power control over Ethernet
US9807036B2 (en) Apparatus and method for encoding MDIO into SGMII transmissions
US20210243001A1 (en) Method and apparatus for asymmetric ethernet
CN101958888A (en) Configuration method of port negotiation capacity, communication port and communication device
CN100385255C (en) Double collecting machine system and it double collecting method for double machine hot back-up
CN102355380A (en) Hardware testing device and method for synchronous asynchronous serial interface
CN113220614B (en) Method, system and medium for self-adaptive management of I2C and I3C devices
CN101345754A (en) Duplexing pattern matching method and apparatus, communication system
CN105718396B (en) A kind of I of big data master transmissions2C bus units and its means of communication
CN102075397A (en) Direct interfacing method for ARINC429 bus and high-speed intelligent unified bus
CN102307117A (en) Port configuration method and device
CN101360050B (en) Method and apparatus setting flow control mode
US8503474B2 (en) System and method for enhanced physical layer device interface capability for backward support of fast retrain
CN112636932B (en) Dynamic adjustment method and system for equipment power consumption
CN105083337B (en) Connection system applicable to different interlocking system interface cabinets and use method of connection system
CN103226535A (en) Micro server and management method thereof
CN110096002A (en) A kind of automatization test system and test method based on CANFD bus
CN103391329A (en) Interface module and method thereof for supporting multiple interface standards
CN105915286A (en) Data flow distribution method and flow distributing device
CN107025869A (en) Off line detecting method and system
CN212677201U (en) Information acquisition all-in-one machine for middle station

Legal Events

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

Application publication date: 20120104