CN102571478B - 服务器 - Google Patents

服务器 Download PDF

Info

Publication number
CN102571478B
CN102571478B CN201010619627.7A CN201010619627A CN102571478B CN 102571478 B CN102571478 B CN 102571478B CN 201010619627 A CN201010619627 A CN 201010619627A CN 102571478 B CN102571478 B CN 102571478B
Authority
CN
China
Prior art keywords
equipment
module
management controller
baseboard management
gap marker
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.)
Active
Application number
CN201010619627.7A
Other languages
English (en)
Other versions
CN102571478A (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.)
Shanghai Kuanhui Network Technology Co ltd
Original Assignee
Shanghai Kuanhui Network Technology 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 Shanghai Kuanhui Network Technology Co Ltd filed Critical Shanghai Kuanhui Network Technology Co Ltd
Priority to CN201010619627.7A priority Critical patent/CN102571478B/zh
Priority to US13/308,554 priority patent/US8423848B2/en
Publication of CN102571478A publication Critical patent/CN102571478A/zh
Application granted granted Critical
Publication of CN102571478B publication Critical patent/CN102571478B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Debugging And Monitoring (AREA)

Abstract

一种服务器及其控制通道开关的方法,服务器包括基板管理控制器、多个I2C设备及多路开关,服务器安装有测试系统,测试系统包括:设置模块,用于在测试I2C设备之前设置通道标志为打开状态;第一打开模块,用于打开I2C设备的对应通道并且关闭其余通道以测试I2C设备;关闭模块,用于在测试结束后关闭I2C设备的对应通道;及修改模块,用于在测试结束后将通道标志修改为关闭状态;所述基板管理控制器包括:判断模块,用于在访问I2C设备中的监测设备之前判断通道标志是否为打开状态;及第二打开模块,用于当通道标志非打开状态时打开要访问的I2C设备的对应通道并且关闭其余通道,以从I2C设备获取监测数据。本发明能够顺利对I2C设备进行测试。

Description

服务器
技术领域
本发明涉及一种服务器。
背景技术
在服务器中,基板管理控制器通过I2C总线与多个I2C设备(例如EEPROM、温度传感器)相连接。当基板管理控制器与I2C设备之间通过多路开关进行连接时,I2C设备会出现通道不一样但是地址一样的情况,此时与I2C设备通信需要打开相应通道。为了保证I2C设备能够正常工作,需要对I2C设备进行测试。另一方面,基板管理控制器会定时访问I2C设备中的监测设备(例如温度传感器)来获取监测数据(例如CPU的温度),用以监控服务器的运行状态。由于测试与访问I2C设备都需要打开相应通道,测试过程中打开的通道有可能由于基板管理控制器访问其他的I2C设备而意外关闭,使得I2C设备的测试无法顺利进行。
发明内容
鉴于以上内容,有必要提供一种服务器,能够顺利对I2C设备进行测试。
一种服务器,包括基板管理控制器、多个I2C设备及多路开关,所述多个I2C设备中包括用于监控服务器运行状态的监测设备,所述多路开关将基板管理控制器连接到各个I2C设备,每个I2C设备与基板管理控制器之间有一个可控制开关的通道,所述服务器安装有测试系统,所述测试系统包括:设置模块,用于在测试I2C设备之前设置通道标志并设定为打开状态;第一打开模块,用于在测试I2C设备时控制基板管理控制器打开待测的I2C设备与基板管理控制器之间的通道并且关闭其余通道,以利用该打开的通道测试I2C设备;关闭模块,用于在I2C设备测试结束后控制基板管理控制器关闭I2C设备与基板管理控制器之间的通道;及修改模块,用于在I2C设备测试结束后将所述通道标志修改为关闭状态;所述基板管理控制器包括:判断模块,用于接收所述设置模块或所述修改模块传输的通道标志,所述判断模块还用于在访问I2C设备中的监测设备以获取监测数据之前判断所述通道标志是否为打开状态;及第二打开模块,用于当所述通道标志不是打开状态时打开要访问的I2C设备与通道基板管理控制器之间的通道并且关闭其余通道,以利用该打开的通道从I2C设备获取监测数据。
本发明利用通道标志指示是否有I2C设备在进行测试,直到没有I2C设备在测试时基板管理控制器才访问I2C设备以获取监测数据,避免了基板管理控制器访问I2C设备造成待测的I2C设备的对应通道意外关闭的情况,保证了I2C设备的测试顺利进行。
附图说明
图1为本发明服务器较佳实施例的架构图。
图2为图1中的服务器控制通道开关的方法较佳实施例中测试系统的工作流程图。
图3为图1中的服务器控制通道开关的方法较佳实施例中基板管理控制器的工作流程图。
主要元件符号说明
服务器 10
基板管理控制器 11
I2C设备 12
多路开关 13
测试系统 14
设置模块 140
第一打开模块 141
关闭模块 142
修改模块 143
判断模块 110
第二打开模块 111
具体实施方式
参阅图1所示,是本发明服务器较佳实施例的架构图。所述服务器10包括基板管理控制器11、多个I2C(Inter-IntegratedCircuit,内部集成电路)设备12(例如EEPROM、温度传感器)及多路开关13。所述多路开关13将基板管理控制器11连接到各个I2C设备12。每个I2C设备12与基板管理控制器11之间有一个可控制开关的通道。当打开某个I2C设备12与基板管理控制器11之间的通道时,基板管理控制器11可以与该I2C设备12进行数据通信。所述服务器10安装有测试系统14,用于对I2C设备12进行测试。所述基板管理控制器11从I2C设备12中的监测设备(例如温度传感器)获取服务器10的监测数据,用以对服务器10的运行状态进行监控。
所述测试系统14包括设置模块140、第一打开模块141、关闭模块142与修改模块143。
所述设置模块140用于在测试I2C设备12之前设置通道标志并设定为打开状态。所述通道标志用来指示是否测试系统14在测试I2C设备12。在本实施例中,所述通道标志用一个布尔变量来表示,该布尔变量取值为真时表示通道打开(即打开状态),该布尔变量取值为假时表示通道关闭(即关闭状态)。所述通道标志还可以是一个整数变量,该整数变量取值为0时表示通道打开,该整数变量取值为1时表示通道关闭。
所述第一打开模块141用于控制基板管理控制器11打开待测的I2C设备12与基板管理控制器11之间的通道并且关闭其余通道,以利用该打开的通道测试I2C设备12。例如,所述I2C设备12为EEPROM,第一打开模块141打开该EEPROM与基板管理控制器11之间的通道并且关闭其余通道,利用该通道测试EEPROM的读写操作是否正常。
所述关闭模块142用于在I2C设备12测试结束后控制基板管理控制器11关闭I2C设备12与基板管理控制器11之间的通道。
所述修改模块143用于在I2C设备12测试结束后将通道标志修改为关闭状态。例如,修改模块143将通道标志的取值由真修改为假。
所述基板管理控制器11包括判断模块110与第二打开模块111。
所述判断模块110用于在访问I2C设备12中的监测设备以获取监测数据之前,判断所述通道标志是否为打开状态。若通道标志为打开状态,表明测试系统14正在测试I2C设备12,则继续判断通道标志是否为打开状态。在本实施例中,判断模块110等待一段时间(例如2秒)后再次判断通道标志是否为打开状态。
所述第二打开模块111用于当通道标志不是打开状态时打开要访问的I2C设备12与通道基板管理控制器11之间的通道并且关闭其余通道,以利用该打开的通道从I2C设备12获取监测数据。
参阅图2所示,是图1中的服务器控制通道开关的方法较佳实施例中测试系统的工作流程图。
在测试I2C设备12之前,步骤S201,设置模块140设置通道标志并设定为打开状态。所述通道标志用来指示是否测试系统14在测试I2C设备12。在本实施例中,所述通道标志用一个布尔变量来表示,该布尔变量取值为真时表示通道打开(即打开状态),该布尔变量取值为假时表示通道关闭(即关闭状态)。所述通道标志还可以是一个整数变量,该整数变量取值为0时表示通道打开,该整数变量取值为1时表示通道关闭。
步骤S202,第一打开模块141控制基板管理控制器11打开待测的I2C设备12与基板管理控制器11之间的通道并且关闭其余通道,以利用该打开的通道测试I2C设备12。例如,所述I2C设备12为EEPROM,第一打开模块141打开该EEPROM与基板管理控制器11之间的通道并且关闭其余通道,利用该通道测试EEPROM的读写操作是否正常。
在I2C设备12测试结束后,步骤S203,关闭模块142控制基板管理控制器11关闭I2C设备12与基板管理控制器11之间的通道。
在I2C设备12测试结束后,步骤S204,修改模块143将通道标志修改为关闭状态。例如,修改模块143将通道标志的取值由真修改为假。
参阅图3所示,是图1中的服务器控制通道开关的方法较佳实施例中基板管理控制器的工作流程图。
在访问I2C设备12中的监测设备以获取监测数据之前,步骤S301,判断模块110判断所述通道标志是否为打开状态。若通道标志为打开状态,表明测试系统14正在测试I2C设备12,则继续判断通道标志是否为打开状态。在本实施例中,判断模块110等待一段时间(例如2秒)后再次判断通道标志是否为打开状态。
若通道标志不是打开状态,步骤S302,第二打开模块111打开要访问的I2C设备12与通道基板管理控制器11之间的通道并且关闭其余通道,以利用该打开的通道从I2C设备12获取监测数据。

Claims (3)

1.一种服务器,包括基板管理控制器、多个I2C设备及多路开关,所述多个I2C设备中包括用于监控服务器运行状态的监测设备,所述多路开关将基板管理控制器连接到各个I2C设备,每个I2C设备与基板管理控制器之间有一个可控制开关的通道,所述服务器安装有测试系统,其特征在于,所述测试系统包括:
设置模块,用于在测试I2C设备之前设置通道标志并设定为打开状态,其中所述通道标志用来指示是否测试系统在测试I2C设备;
第一打开模块,用于控制基板管理控制器打开待测的I2C设备与基板管理控制器之间的通道并且关闭其余通道,以利用该打开的通道测试I2C设备;
关闭模块,用于在I2C设备测试结束后控制基板管理控制器关闭I2C设备与基板管理控制器之间的通道;及
修改模块,用于在I2C设备测试结束后将通道标志修改为关闭状态;
所述基板管理控制器包括:
判断模块,用于在访问I2C设备中的监测设备以获取监测数据之前判断通道标志是否为打开状态;及
第二打开模块,用于当通道标志不是打开状态时打开要访问的I2C设备与通道基板管理控制器之间的通道并且关闭其余通道,以利用该打开的通道从I2C设备获取监测数据。
2.如权利要求1所述的服务器,其特征在于,所述通道标志用布尔变量来表示。
3.如权利要求1所述的服务器,其特征在于,所述判断模块在通道标志为打开状态时,等待一段时间后再次判断通道标志是否为打开状态。
CN201010619627.7A 2010-12-31 2010-12-31 服务器 Active CN102571478B (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010619627.7A CN102571478B (zh) 2010-12-31 2010-12-31 服务器
US13/308,554 US8423848B2 (en) 2010-12-31 2011-12-01 Server and method for testing inter-integrated circuit devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010619627.7A CN102571478B (zh) 2010-12-31 2010-12-31 服务器

Publications (2)

Publication Number Publication Date
CN102571478A CN102571478A (zh) 2012-07-11
CN102571478B true CN102571478B (zh) 2016-05-25

Family

ID=46381896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010619627.7A Active CN102571478B (zh) 2010-12-31 2010-12-31 服务器

Country Status (2)

Country Link
US (1) US8423848B2 (zh)
CN (1) CN102571478B (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389124A (zh) * 2012-05-10 2013-11-13 鸿富锦精密工业(深圳)有限公司 传感器测试的方法及系统
US9146823B2 (en) * 2013-07-16 2015-09-29 American Megatrends, Inc. Techniques for testing enclosure management controller using backplane initiator
US9465761B2 (en) 2013-07-19 2016-10-11 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Managing slave devices
US9690602B2 (en) * 2013-10-07 2017-06-27 American Megatrends, Inc. Techniques for programming and verifying backplane controller chip firmware
US9886335B2 (en) 2013-10-07 2018-02-06 American Megatrends, Inc. Techniques for validating functionality of backplane controller chips
US9367510B2 (en) * 2013-11-26 2016-06-14 American Megatrends, Inc. Backplane controller for handling two SES sidebands using one SMBUS controller and handler controls blinking of LEDs of drives installed on backplane
US9875165B2 (en) 2015-11-24 2018-01-23 Quanta Computer Inc. Communication bus with baseboard management controller
US10310745B2 (en) 2017-05-19 2019-06-04 Samsung Electronics Co., Ltd. Method and apparatus for fine tuning and optimizing NVMe-oF SSDs
US10533563B2 (en) * 2018-02-13 2020-01-14 Quanta Computer Inc. Management of multiple fan modules
US10579572B2 (en) * 2018-07-20 2020-03-03 Dell Products, Lp Apparatus and method to provide a multi-segment I2C bus exerciser/analyzer/fault injector and debug port system
CN110532196B (zh) * 2019-08-30 2021-10-01 英业达科技有限公司 多地址响应的复杂可程序逻辑装置及运作方法
TWI709046B (zh) * 2019-09-09 2020-11-01 英業達股份有限公司 多地址響應的複雜可程式邏輯裝置及運作方法

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991783A (zh) * 2005-12-29 2007-07-04 国际商业机器公司 检测以及校正挂起i2c总线的i2c总线监视器和方法

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04218785A (ja) * 1990-12-19 1992-08-10 Advantest Corp Ic試験装置
JP2000046916A (ja) * 1998-07-30 2000-02-18 Ando Electric Co Ltd パタンデータ転送回路
US6957313B2 (en) * 2000-12-01 2005-10-18 Hsia James R Memory matrix and method of operating the same
US7003697B2 (en) * 2001-07-02 2006-02-21 Nextest Systems, Corporation Apparatus having pattern scrambler for testing a semiconductor device and method for operating same
US7197662B2 (en) * 2002-10-31 2007-03-27 Ring Technology Enterprises, Llc Methods and systems for a storage system
US7130229B2 (en) * 2002-11-08 2006-10-31 Intel Corporation Interleaved mirrored memory systems
US7844866B2 (en) * 2007-10-02 2010-11-30 International Business Machines Corporation Mechanism to report operating system events on an intelligent platform management interface compliant server
JP4469306B2 (ja) * 2004-04-30 2010-05-26 株式会社日立製作所 計算機システム、管理サーバ
US7254663B2 (en) * 2004-07-22 2007-08-07 International Business Machines Corporation Multi-node architecture with daisy chain communication link configurable to operate in unidirectional and bidirectional modes
US7418525B2 (en) * 2004-10-29 2008-08-26 International Business Machines Corporation Shared simultaneously-connected removable drives and servers each housing an I/O controller which maintains an uninterrupted protocol connection
JP4462024B2 (ja) * 2004-12-09 2010-05-12 株式会社日立製作所 ディスク引き継ぎによるフェイルオーバ方法
US7496787B2 (en) * 2004-12-27 2009-02-24 Stratus Technologies Bermuda Ltd. Systems and methods for checkpointing
JP4487920B2 (ja) * 2005-12-12 2010-06-23 株式会社日立製作所 ブート制御方法および計算機システム並びにその処理プログラム
US7421632B2 (en) * 2006-05-31 2008-09-02 Verigy (Singapore) Pte. Ltd. Mapping logic for controlling loading of the select ram of an error data crossbar multiplexer
KR100825791B1 (ko) * 2006-11-08 2008-04-29 삼성전자주식회사 저속 ate 장비를 사용하여 용이하게 테스트될 수 있는고속 메모리장치 및 이에 대한 입출력핀 제어방법
CN101271413B (zh) * 2007-03-21 2011-12-14 鸿富锦精密工业(深圳)有限公司 计算机运行状态侦测及处理方法和系统
US8132074B2 (en) * 2007-11-19 2012-03-06 Intel Corporation Reliability, availability, and serviceability solutions for memory technology
US7770077B2 (en) * 2008-01-24 2010-08-03 International Business Machines Corporation Using cache that is embedded in a memory hub to replace failed memory cells in a memory subsystem
US8140936B2 (en) * 2008-01-24 2012-03-20 International Business Machines Corporation System for a combined error correction code and cyclic redundancy check code for a memory channel

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991783A (zh) * 2005-12-29 2007-07-04 国际商业机器公司 检测以及校正挂起i2c总线的i2c总线监视器和方法

Also Published As

Publication number Publication date
US20120173944A1 (en) 2012-07-05
US8423848B2 (en) 2013-04-16
CN102571478A (zh) 2012-07-11

Similar Documents

Publication Publication Date Title
CN102571478B (zh) 服务器
US11096029B2 (en) Mobile communication device and method for managing operation of a plurality of actuators
US9280365B2 (en) Systems and methods for managing configuration data at disconnected remote devices
US20130326278A1 (en) Server and method of manipulation in relation to server serial ports
CN109670349B (zh) 可信计算机的硬件架构及计算机的可信启动方法
CN103853678B (zh) 板卡管理装置及使用其的板卡管理系统和控制卡
CN104054064B (zh) 基于接口耦合的灵活的端口配置
WO2008117111A3 (en) Flash memory control interface
CN104969180A (zh) 与来自主机中央处理单元和操作系统的干扰和控制隔离的用户授权和存在检测
CN204116942U (zh) 车载电子控制单元lin总线通信自动化测试装置
KR20210016271A (ko) 자동 회로기판 테스트 시스템 및 이에 응용되는 자동 회로기판 테스트 방법
CN104299303A (zh) 智能门禁系统及其实现方法
CN103117993A (zh) 用于提供过程控制系统的防火墙的方法、装置及制品
CN106063196A (zh) 通信装置及方法
TW201934883A (zh) 複數冷卻風扇模組控制方法、伺服器系統以及非暫態電腦可讀儲存媒體
CN104424099A (zh) 软件测试方法及系统
TWI479310B (zh) 伺服器及其控制通道開關的方法
BR102012003530B1 (pt) cartão inteligente e infraestrutura de medição avançada
CN110096291A (zh) 电源管理芯片升级电路、方法及网络设备
CN101848120A (zh) 高温测试方法和装置
US9304561B2 (en) Power management in a circuit
CN106155851A (zh) 测试方法与电子装置
EP4379595A1 (en) Device control method and apparatus, electronic device, and storage medium
CN105095072B (zh) 一种应用测试方法、装置及终端
KR100960308B1 (ko) 프로그래머블 전원공급유닛의 제어방법 및 반도체 실장테스트 시스템

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160114

Address after: 201424 Shanghai city Fengxian District Tuo Village barracks Lin Zhen No. 598 building ninth room 111

Applicant after: Shanghai Lirui Network Technology Co.,Ltd.

Address before: 518109 Guangdong province Shenzhen city Longhua District Dragon Road No. 83 wing group building 11 floor

Applicant before: SCIENBIZIP CONSULTING (SHEN ZHEN) Co.,Ltd.

Effective date of registration: 20160114

Address after: 518109 Guangdong province Shenzhen city Longhua District Dragon Road No. 83 wing group building 11 floor

Applicant after: SCIENBIZIP CONSULTING (SHEN ZHEN) Co.,Ltd.

Address before: 518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two

Applicant before: HONG FU JIN PRECISION INDUSTRY (SHENZHEN) Co.,Ltd.

Applicant before: HON HAI PRECISION INDUSTRY Co.,Ltd.

C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: An Senbin

Inventor after: Tong Weiming

Inventor after: Lei Xingmin

Inventor after: Chen Lin

Inventor after: Meng Jun

Inventor before: Pan Lifu

COR Change of bibliographic data
TA01 Transfer of patent application right

Effective date of registration: 20160419

Address after: 200335 Shanghai city Changning District Admiralty Road No. 7 No. 501 968

Applicant after: Shanghai Kuanhui Network Technology Co.,Ltd.

Address before: 201424 Shanghai city Fengxian District Tuo Village barracks Lin Zhen No. 598 building ninth room 111

Applicant before: Shanghai Lirui Network Technology Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 200335 Shanghai city Changning District Admiralty Road No. 7 No. 501 968

Patentee after: SHANGHAI KUANHUI NETWORK TECHNOLOGY CO.,LTD.

Address before: 200335 Shanghai city Changning District Admiralty Road No. 7 No. 501 968

Patentee before: Shanghai Kuanhui Network Technology Co.,Ltd.