A method for realizing hot plugging and hot plugging and electronic equipment

A technology of electronic equipment and equipment, which is applied in the computer field, can solve the problems that the I2C bus does not support hot plugging, etc., and achieve the effects of improving processor efficiency, reducing query times, and reducing system power consumption

Active Publication Date: 2015-11-25
LENOVO (BEIJING) 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 is used to solve the problem that the I2C bus does not support hot plugging in the prior art

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
  • A method for realizing hot plugging and hot plugging and electronic equipment
  • A method for realizing hot plugging and hot plugging and electronic equipment
  • A method for realizing hot plugging and hot plugging and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] In order to enable those skilled in the technical field to which this application belongs to understand this application more clearly, the technical solutions of this 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 unplugging, which is applied to a first device, which is connected to a second device through an I2C bus, wherein the first device has M I2C components Connected to the I2C bus based on the I2C protocol, 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 of I2C communication with the second device;

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

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] This application relates to the field of computers, and in particular to a method for realizing hot unplugging and hot plugging and electronic equipment. Background technique [0002] The I2C (Inter-IntegratedCircuit) bus is a two-wire serial bus developed by PHILIPS, which is used to connect the microcontroller and its peripheral devices. It is a special form of synchronous communication, which has the advantages of fewer interface lines, simple control mode, small device package form, and higher communication speed. [0003] Each I2C bus is connected with a master and a slave. The master and slaves perform data transmission through the I2C bus, and there are multiple components connected to the master and the slave. However, the I2C bus protocol specification does not support hot plugging. Therefore, when the slave and the master are separated, it will cause a deadlock, so that the data transmission cannot continue. The so-called deadlock: refers to the ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/40
Inventor 章丹峰靳玉茹柯海滨赵磊余俊峰谢兵
Owner LENOVO (BEIJING) 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