Method for achieving hot pull and hot plug and electronic devices

A technology for electronic equipment and equipment, applied in the computer field, can solve the problem of I2C bus not supporting hot plugging, etc., to achieve the effect of improving processor efficiency, reducing system power consumption, and reducing the number of queries

Active Publication Date: 2013-06-19
LENOVO (BEIJING) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a method for realizing hot plugging and hot plugging, which i

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for achieving hot pull and hot plug and electronic devices
  • Method for achieving hot pull and hot plug and electronic devices
  • Method for achieving hot pull and hot plug and electronic devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] In order to enable those skilled in the technical field to which the application belongs to understand the application more clearly, the technical solutions of the application will be described in detail below through specific embodiments in conjunction with the accompanying drawings.

[0081] On the one hand, Embodiment 1 of the present application provides a method for implementing hot swapping, which is applied to a first device, and the first device is connected to a second device through an I2C bus, wherein the first device has M I2C components Based on the I2C protocol connected to the I2C bus, the second device has N I2C components connected to the I2C bus based on the I2C protocol, M and N are integers greater than 0, such as figure 1 As shown, the method includes the following steps:

[0082] S101: Obtain error information for performing I2C communication with the second device;

[0083] In this embodiment of the application, the first device is a master, and ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for achieving hot pull and hot plug and electronic devices. The method for achieving hot pull and hot plug is applied to a first device which is connected with a second device through an inter-integrated circuit (I2C) bus. The first device is provided with M I2C components which are connected on the I2C bus based on the I2C protocol. The second device is provided with N I2C components which are connected on the I2C bus on the basis of the I2C protocol. The M and the N are integral numbers larger than zero. The method includes the steps of obtaining error information which carries out I2C communication with the second device, carrying out ergodic operations on the M I2C components and the N I2C components on the basis of the error information, obtaining a great amount of feedback information on the basis of the ergodic operations, and determining that the I2C bus between the first device and the second device is switched off when the condition that the great amount of feedback information all comes from the M I2C components is determined.

Description

technical field [0001] The present application relates to the field of computers, in particular to a method for realizing hot plugging and hot plugging and electronic equipment. Background technique [0002] The I2C (Inter-Integrated Circuit) bus is a two-wire serial bus developed by PHILIPS for connecting microcontrollers and their peripherals. It is a special form of synchronous communication, which has the advantages of less interface lines, simple control mode, small device package, and high communication rate. [0003] Each I2C bus is connected with a host and a slave, and data transmission is performed between the host and the slave through the I2C bus, and multiple components are connected to the host and the slave. However, hot swapping is not supported in the I2C bus protocol specification. Therefore, when the slave machine and the master machine are separated, a deadlock will be caused, so that the data transmission cannot continue. The so-called deadlock: refer...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F13/40
Inventor 章丹峰靳玉茹柯海滨赵磊余俊峰谢兵
Owner LENOVO (BEIJING) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products