CN103677782B - Realize that heat inserts the method and electronic equipment with hot drawing - Google Patents
Realize that heat inserts the method and electronic equipment with hot drawing Download PDFInfo
- Publication number
- CN103677782B CN103677782B CN201210357201.8A CN201210357201A CN103677782B CN 103677782 B CN103677782 B CN 103677782B CN 201210357201 A CN201210357201 A CN 201210357201A CN 103677782 B CN103677782 B CN 103677782B
- Authority
- CN
- China
- Prior art keywords
- processing unit
- graphics processing
- electronic equipment
- image processing
- self
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000012545 processing Methods 0.000 claims abstract description 452
- 238000012546 transfer Methods 0.000 claims abstract description 14
- 238000003780 insertion Methods 0.000 description 10
- 230000037431 insertion Effects 0.000 description 10
- 239000000284 extract Substances 0.000 description 9
- 230000005611 electricity Effects 0.000 description 8
- 238000000605 extraction Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 241001269238 Data Species 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Power Sources (AREA)
- Controls And Circuits For Display Device (AREA)
- Digital Computer Display Output (AREA)
Abstract
Realize that heat inserts the method and electronic equipment with hot drawing the invention discloses a kind of, obtain first request related to graphics processing unit hot drawing, and based on the described first request, first graphics processing unit to be pulled out is determined from least two graphics processing unit, and shifted the display data of described first image processing unit, and stop being powered described first image processing unit.The invention also discloses a kind of electronic equipment, including a data processing chip, for obtaining the first request and the second request, based on the described first request, for determining one first graphics processing unit to be pulled out, and the display data of transfer described first image processing unit, and stop powering to described first image processing unit;And based on the described second request, need to carry out the second slotting graphics processing unit of heat for obtaining, and second graphics processing unit is inserted into the electronic equipment and energization processing is carried out.
Description
Technical field
The present invention relates to video card field, more particularly to a kind of method and electronic equipment for realizing hot slotting and hot drawing.
Background technology
It is described in order to bring more preferable experience to user with developing rapidly for the electronic equipments such as mobile phone and computer
The function of the video card of electronic equipment is also stronger and stronger, and the electronic equipment can also provide double video card outputs.In existing electronics
When double video card outputs are carried out in equipment, because the power supply for existing power electronic equipment is with being installed in the aobvious of the electronic equipment
It is the same to block the power supply that is powered, so, when needing video card being arranged on the electronic equipment or needing the electricity
, it is necessary to be powered off to the electronic equipment when extracting video card in sub- equipment, only off-position is in the electronic equipment
When, video card could be inserted or extracted on the electronic equipment.
But present inventor is during inventive technique scheme in realizing the embodiment of the present application, above-mentioned technology is found extremely
There is following technical problem less:
One:Because the power supply being powered for existing electronic equipment is with being the video card on the electronic equipment
The power supply being powered is the same, and the power supply can only be while be powered or power off to the electronic equipment and the video card
Processing, in this way, when needing to carry out the electronic equipment video card insertion or video card extraction, it is necessary to be carried out to the electronic equipment
Power-off, causes the electronic equipment to be operated when carrying out video card insertion or video card extraction, so that inconvenient user makes
With and reduce Consumer's Experience.
Secondly:In the housing that the electronic equipment is integrally fixed at due to the video card of existing electronic equipment, and need shell
Body could carry out video card insertion after opening or video card extracts operation, in this way, causing carrying out video card insertion or video card extraction operation
When, workload is larger, the problem of inconvenient operation.
The content of the invention
The embodiment of the present application is by providing a kind of method and a kind of electronic equipment for realizing hot slotting and hot drawing, to described
Electronic equipment carries out video card insertion or video card when extracting operation, the electronic equipment can normal work, be user-friendly and
Improve Consumer's Experience.
The embodiment of the present application provides a kind of method for realizing hot drawing, and applied to electronic equipment, the electronic equipment has M
Individual graphics processing unit, the M is the integer more than or equal to 2, and methods described includes:
When having at least two graphics processing units all in working condition in the M graphics processing unit, obtain with
The first related request of graphics processing unit hot drawing;
Based on the described first request, first image to be pulled out is determined from least two graphics processing unit
Processing unit, and the display data of described first image processing unit is transferred to other graphics processing units worked
In;
After display data transfer is completed, a cut-offing instruction is sent, to stop to described first image processing
Unit is powered.
Optionally, it is described to have at least two graphics processing units in the M graphics processing unit all in work shape
During state, first request related to graphics processing unit hot drawing is obtained, is specifically included:Obtain related to described image processing unit
The first level parameters;Based on first level parameters, first request related to described image processing unit hot drawing is obtained.
Optionally, described based on the described first request, determination one is waited to pull out from least two graphics processing unit
The first graphics processing unit gone out, and the display data of described first image processing unit is transferred to other figures worked
As in processing unit, specifically including:It is described determine one need extract the first graphics processing unit after, close with it is described
The related application program of first graphics processing unit, is then transferred to it by the display data of described first image processing unit again
In the graphics processing unit that he is working.
Optionally, it is described to send a cut-offing instruction after display data transfer is completed, to stop to described the
One graphics processing unit is powered, and is specifically included:After the stopping is powered to described first image processing unit, send
One first OPEN gives the first self-locking device for being used for pinning described first image processing unit;In first self-locking device
When receiving first OPEN, first self-locking device is opened, so that described first image processing unit can be pulled out
Go out.
Present invention also offers a kind of method for realizing that heat is slotting, applied to electronic equipment, the electronic equipment has M figure
As processing unit, the M is the integer more than or equal to 2, and methods described includes:
When at least one graphics processing unit is not inserted into the electronic equipment in the M graphics processing unit,
Obtain and insert the second related request to graphics processing unit heat;
Based on the described second request, obtaining needs to carry out the second slotting graphics processing unit of heat;
Second graphics processing unit is inserted in the electronic equipment, and sends a power supply instruction, with to described
Second graphics processing unit is powered.
Optionally, described at least one graphics processing unit in the M graphics processing unit is not inserted into the electricity
When in sub- equipment, obtain and insert the second related request to graphics processing unit heat, specifically include:Obtain and handle single with described image
First related second electrical level parameter;Based on the second electrical level parameter, acquisition inserts related second to graphics processing unit heat please
Ask.
Optionally, described based on the described second request, acquisition is needed after the second slotting graphics processing unit of progress heat, institute
The method of stating includes:Send one second OPEN be sent to for pin second graphics processing unit the second self-locking fill
Put, when second self-locking device receives second OPEN, open second self-locking device, so that described the
Two graphics processing units are inserted into.
Optionally, described first image processing unit and second graphics processing unit are at identical or different image
Manage unit, when described first image processing unit is identical with second graphics processing unit, first self-locking device and
Second self-locking device is identical, when described first image processing unit and second graphics processing unit are differed, institute
The first self-locking device is stated to differ with second self-locking device.
On the basis of the above method, present invention also offers a kind of electronic equipment, the electronic equipment includes M figure
As processing unit, the M is the integer more than or equal to 2, and the electronic equipment includes:
One data processing chip, has at least two graphics processing units all in work in the M graphics processing unit
When making state, asked and in the M graphics processing unit for obtaining first related to graphics processing unit hot drawing
When at least one graphics processing unit is not inserted into the electronic equipment, obtains and insert related second to graphics processing unit heat
Request, based on the described first request, for determining first figure to be pulled out from least two graphics processing unit
As processing unit, and the display data of described first image processing unit is transferred to other graphics processing units worked
In, it is single to described first image processing to stop for sending a cut-offing instruction after display data transfer is completed
Member is powered;And based on the described second request, need to carry out the second slotting graphics processing unit of heat for obtaining, and by institute
State the second graphics processing unit to insert in the electronic equipment, a power supply instruction is then retransmited, with to second image
Processing unit is powered.
Optionally, the data processing chip includes the first acquisition request unit, handles single with described image for obtaining
First the first related level parameters, and based on first level parameters, for obtaining and described image processing unit hot drawing phase
The first request closed.
Optionally, the data processing chip is provided with display data buanch unit, determines that one needs to extract described
The first graphics processing unit after, for closing the application program related to described first image processing unit, then general again
The display data of described first image processing unit is transferred in the graphics processing unit that other are working.
Optionally, the electronic equipment is provided with the first self-locking device for pinning described first image processing unit,
After the stopping is powered to described first image processing unit, for receiving one first OPEN, receiving
When stating the first OPEN, first self-locking device is opened, so that described first image processing unit can be extracted.
Optionally, the data processing chip is provided with the second acquisition request unit, is handled for obtaining with described image
The related second electrical level parameter of unit, and based on the second electrical level parameter, insert related to graphics processing unit heat for obtaining
Second request.
Optionally, the electronic equipment is provided with the second self-locking device for pinning second graphics processing unit,
It is described receiving for receiving one second OPEN after the second graphics processing unit for needing progress heat slotting is obtained
During the second OPEN, second self-locking device is opened, so that second graphics processing unit is inserted into.
Optionally, described first image processing unit and second graphics processing unit are at identical or different image
Manage unit, when described first image processing unit is identical with second graphics processing unit, first self-locking device and
Second self-locking device is identical, when described first image processing unit and second graphics processing unit are differed, institute
The first self-locking device is stated to differ with second self-locking device.
The one or more technical schemes provided in the embodiment of the present application, have at least the following technical effects or advantages:
One, due to the embodiment of the present application it is at least two graphics processing units in the electronic equipment all in work
During state, the first request of hot drawing is obtained, based on the described first request, the first graphics processing unit to be pulled out is determined, and
The display data of described first image processing unit is shifted, stopped after display data transfer is completed to described
First graphics processing unit is powered, so, it is possible to ensure described first image processing unit without energization situation
Under be pulled out, moreover it is possible to be at least two graphics processing unit in other graphics processing units worked and the electricity
Sub- equipment is powered, and is promoted electronic equipment normal work when extracting described first image processing unit, is caused user
It is easy to use, and the experience of user can be improved.
Secondly, due to the embodiment of the present application the electronic equipment carry out hot drawing operation in the case of, when to described first
After graphics processing unit is stopped power supply, first self-locking device can be opened, so that described first image processing unit energy
Enough extract, so, it is possible to simplify and extract operation, promote extraction operation more to facilitate.
Thirdly, because the embodiment of the present application is got in the electronic equipment insert related second to graphics processing unit heat
During request, obtaining is needed to carry out the second slotting graphics processing unit of heat, and second graphics processing unit is inserted into the electronics
Equipment, and a power supply instruction is sent, to be powered to second graphics processing unit, it so, it is possible in the electronics
Equipment carries out hot-plug operation in the state of being in work to second graphics processing unit, so as to be user-friendly, moreover it is possible to
Improve Consumer's Experience.
Brief description of the drawings
Fig. 1 be the embodiment of the present application in realize hot drawing method flow chart;
Fig. 2 is the flow chart of the hot slotting method of realization in the embodiment of the present application;
Fig. 3 is the structural representation of electronic equipment in the embodiment of the present application.
Embodiment
The embodiment of the present application is solved existing by providing a kind of method and a kind of electronic equipment for realizing hot slotting and hot drawing
Have in technology when carrying out the operation of video card plug to the electronic equipment, in-convenience in use and reducing asking for Consumer's Experience
Topic, realizes when carrying out the operation of video card plug to the electronic equipment, user's body is improved while being user-friendly
Test.
The technical scheme of the embodiment of the present application is solves the problem of above-mentioned inconvenient user uses, and general thought is as follows:
When there are at least two graphics processing units in the electronic equipment all in working condition, obtain and image procossing
The first related request of unit hot drawing and the first graphics processing unit to be pulled out corresponding with the described first request, and by institute
The display data for stating the first graphics processing unit is transferred in the graphics processing unit that other are working, in the display data
After transfer is completed, a cut-offing instruction is sent, to stop being powered described first image processing unit.
It is above-mentioned be determined first graphics processing unit to be pulled out after, first shift described first image processing unit
Display data, stop described first image processing unit is powered, stopped power supply to described first image processing unit
While be normally powered for the electronic equipment and other graphics processing units worked, promote the electronic equipment
Can normal work, so, it is possible improve user experience and for user using provide facilitate.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper
Technical scheme is stated to be described in detail.
The invention provides a kind of method for realizing hot drawing, applied to electronic equipment, the electronic equipment has M image
Processing unit, the M is the integer more than or equal to 2, as shown in figure 1, methods described includes:
S101, when there are at least two graphics processing units all in working condition in the M graphics processing unit, obtain
First related to graphics processing unit hot drawing is taken to ask:
Specifically, because the electronic equipment includes M graphics processing unit, wherein, the M is more than or equal to 2
Integer, when detect have at least two graphics processing units all in working condition in the M graphics processing unit when, obtain
Get first request related to graphics processing unit hot drawing.If detecting only one of which figure in the M graphics processing unit
As processing unit it is in running order when, get related to graphics processing unit hot drawing first and ask, described the is not performed
One request, can also remind electronic equipment only one of which graphics processing unit described in the user to work.Described first
Request be by be arranged on the electronic equipment be used for operate the button of graphics processing unit to send, user pass through operation
The button comes it is determined that extracting or insertion operation graphics processing unit.
During implementing, have in the M graphics processing unit at least two graphics processing units all in
During working condition, first request related to graphics processing unit hot drawing is obtained, is specifically included:Obtain and handle single with described image
First the first related level parameters, then based on first level parameters, obtain related to described image processing unit hot drawing
First request.That is, the determination of described first request is determined based on first level parameters, different level parameters representatives
The content for first request is also differed.Such as:There are 3 graphics processing units, respectively first in a computer
Graphics processing unit and the second graphics processing unit and the 3rd graphics processing unit, all locate in 3 graphics processing units
When working condition, the first level parameters are got, first level parameters are detected, in first level parameters
During for high level, it may be determined that there is graphics processing unit to need extraction, so as to obtain related to described image processing unit hot drawing
First request, i.e., indicate that graphics processing unit needs hot drawing using high level.It is of course also possible to be indicated using low level
Image graphics processing unit needs hot drawing, when detecting first level parameters for low level, for determining have at image
Reason unit needs to extract.
S102, based on the described first request, one to be pulled out the is determined from least two graphics processing unit
One graphics processing unit, and the display data of described first image processing unit is transferred to other image procossings worked
In unit:
Specifically, obtain it is described first request when, not only comprising first level parameters, also comprising need extract
Graphics processing unit mark, in this way, can according to described first ask in the needs extract graphics processing unit
Mark first graphics processing unit to be pulled out is determined from least two graphics processing unit, due to described
One graphics processing unit is in running order, i.e., have display data in described first image processing unit, accordingly, it would be desirable to will be described
The display data of first graphics processing unit is transferred in the graphics processing unit that other are working.Such as:In a calculating
Machine has at 3 graphics processing units, respectively the first graphics processing unit and the second graphics processing unit and the 3rd image
Manage unit, described first image processing unit is designated 00, second graphics processing unit is designated 01 and described the
Three graphics processing units are designated 10, getting first level parameters represent to need to extract graphics processing unit
When, it is determined that the mark of image procossing corresponding with first level parameters, it is assumed that mark corresponding with first level parameters
Know for 00, then it represents that described first image processing unit needs to extract.
It is described based on the described first request during implementing, it is true from least two graphics processing unit
Fixed first graphics processing unit to be pulled out, and the display data of described first image processing unit is being transferred to other just
In the graphics processing unit of work, specifically include:After first graphics processing unit for determining a needs extraction,
The application program related to described first image processing unit is closed, then again by the display number of described first image processing unit
According to being transferred in the graphics processing unit that other are working., will necessarily because described first image processing unit is working
There is the application program related to described first image processing unit to be currently running, to prevent from extracting described first image processing list
There is loss of data in the process of member or cause the problem of card machine occurs in the electronic equipment, it is necessary to close and described first image
The related application program of processing unit, it is necessary to by the data related to the application program before the application program is closed
Store in the electronic equipment, after the application program is closed, by the display number on described first image processing unit
According to being transferred in the graphics processing unit that other are working,.Such as:There are 3 graphics processing units in a computer, point
Wei not the first graphics processing unit and the second graphics processing unit and the 3rd graphics processing unit, 3 image procossing lists
Member is all in working condition, and the game that described first image processing unit is being carried out for user provides support and described first
Also be stored with some desktop display datas in graphics processing unit, but need extract described first image processing unit when, it is necessary to
After being stored with the game related data, the game is turned off, after the game is closed, by described first
Some desktop display datas of graphics processing unit are transferred to second graphics processing unit and/or the 3rd image procossing
In unit.
S103, the display data transfer complete after, send a cut-offing instruction, to stop to described first image
Processing unit is powered:
Specifically, it is exactly after the display data transfer of described first image processing unit is completed, to send one and break
Electricity instruction, when the power-supply system of the electronic equipment receives the cut-offing instruction, stops single to described first image processing
Member power supply, so that described first image processing unit can be pulled out.
It is described after display data transfer is completed during implementing, a cut-offing instruction is sent, to stop
Only described first image processing unit is powered, specifically included:Stop supplying described first image processing unit described
After electricity, one first OPEN is sent to the first self-locking device for pinning described first image processing unit, described
When first self-locking device receives first OPEN, first self-locking device is opened, so that at described first image
Reason unit can be extracted.That is, M graphics processing unit of described electronic equipment all fixes each image using self-locking device
Processing unit, after first graphics processing unit to be pulled out is determined, then determines to be used to pin described first image
First self-locking device of processing unit, after first self-locking device receives first OPEN, opens described
First self-locking device, so that described first image processing unit can be extracted.Although first OPEN is in stopping pair
Described first image processing unit is just sent after being powered, but may due in the cut-offing instruction in transmitting procedure
Loss causes the power-supply system of the electronic equipment not have the cut-offing instruction, promotes not single to described first image processing
First OPEN is just have sent when member is stopped power supply, to prevent from getting an electric shock when extracting described first image unit
Situation, after first self-locking receives first OPEN, also need detect described first image processing unit
Power supply state, when the power supply state be in "on" position when, again send a cut-offing instruction, to stop to described first
Graphics processing unit is powered;When the power supply state is in off-position, first self-locking device is opened, so that described the
One graphics processing unit can be extracted.
Present invention also offers a kind of method for realizing that heat is slotting, applied to electronic equipment, the electronic equipment has M figure
As processing unit, the M is the integer more than or equal to 2, as shown in Fig. 2 methods described includes:
S201, at least one graphics processing unit is not inserted into the electronic equipment in the M graphics processing unit
When middle, obtain and insert the second related request to graphics processing unit heat:
Specifically, at least one graphics processing unit is not inserted into the electronics in the M graphics processing unit
When in equipment, other graphics processing units could be inserted in the electronic equipment, institute is inserted into the electronic equipment
When stating other graphics processing units, obtain and insert the second related request to graphics processing unit heat.In the M image procossing
When unit is all inserted into the electronic equipment, the second related request is inserted to described image processing unit heat even if receiving, is also held
Row second request.It is described second request again by be arranged on the electronic equipment be used for operate graphics processing unit
Button send, user can be by operating the button come it is determined that extracting or insertion operation graphics processing unit.
During implementing, described at least one graphics processing unit in the M graphics processing unit is not
When inserting in the electronic equipment, obtain and insert the second related request to heat, specifically include:Obtain and described image processing unit
Related second electrical level parameter, based on the second electrical level parameter, obtains and inserts the second related request to heat.That is, described
The determinations of two requests are determined based on first level parameters, different level parameters represent described second ask it is interior
Appearance is also differed.Such as:There are 3 graphics processing units, respectively the first graphics processing unit and second in a computer
Graphics processing unit and the 3rd graphics processing unit, are the insertion electronic equipment and institute in second graphics processing unit
State electronic equipment the first, the 3rd graphics processing unit it is in running order when, second electrical level parameter is got, to described second
Level parameters are detected, when the second electrical level parameter is high level, it may be determined that have graphics processing unit to need extraction,
The first related request is inserted to described image processing unit heat so as to obtain, i.e., indicates that graphics processing unit is needed using high level
Hot to insert.It is of course also possible to indicate that image graphics processing unit needs heat to insert using low level, second electricity is being detected
When flat parameter is low level, for determining there is graphics processing unit to need to carry out hot insert.Further, since same graphics processing unit
Two kinds of signals of high level and low level can only be received, therefore, the figure are represented using high level in same graphics processing unit
When needing hot drawing as processing processing unit, then the same graphics processing unit can only use low level to represent at described image
Manage unit need heat insert, and same graphics processing unit using low level represent described image processing processing unit need heat
When pulling out, then the same graphics processing unit can only use high level to represent that described image processing unit needs heat to insert.Such as:
First graphics processing unit of the computer represents that described first image processing unit needs hot drawing using low level, then only
It can represent that described first image processing unit needs heat to insert using high level;Representing that described first image is handled using high level
Unit needs hot drawing, then low level can only be used to represent that described first image processing unit needs heat to insert.
S202, based on the described second request, obtaining needs to carry out the second slotting graphics processing unit of heat:
Specifically, when obtaining second request, second request not only includes first level parameters, also
The mark for the graphics processing unit for needing to extract is included, in this way, what the needs in being asked according to described first were extracted
The mark of graphics processing unit, which is obtained, to be needed to carry out the second slotting graphics processing unit of heat, and second graphics processing unit is institute
State one at least one graphics processing unit being not inserted into the electronic equipment.
Described based on the described second request during implementing, obtaining needs to carry out the second slotting image procossing of heat
After unit, methods described includes:One second OPEN is sent to be sent to for pinning second graphics processing unit
Second self-locking device, when second self-locking device receives second OPEN, opens second self-locking device,
So that second graphics processing unit is inserted into.When second self-locking device receives second OPEN,
Need to detect the power supply state of second graphics processing unit, when second graphics processing unit is in off-position,
Second self-locking device is opened, so that second graphics processing unit is inserted into the electronic equipment;Described second
When graphics processing unit is in power supply state, a cut-offing instruction is sent to the electric power system of the electronic equipment, with stopping pair
Second graphics processing unit is powered, after being stopped power supply to second graphics processing unit, so that second figure
As processing unit is inserted into the electronic equipment, it so, it is possible to prevent from carrying out second graphics processing unit hot insert
When, prevent operator from getting an electric shock, improve security.Such as:One computer installation has 3 graphics processing units, including:First figure
As processing unit, the second graphics processing unit and the 3rd graphics processing unit, wherein, the mark of described first image processing unit
For 00, second graphics processing unit be designated 01 and the 3rd graphics processing unit be designated 10, when only
When stating the 3rd graphics processing unit insertion electronic equipment and in running order the 3rd graphics processing unit, get
The second related request is inserted to graphics processing unit heat, second request bag contains mark 01, that is, represents the second image procossing
Unit needs progress heat to insert, and described second is detected passing through the second self-locking device for pinning second graphics processing unit
The electric power thus supplied of graphics processing unit, when second graphics processing unit is in off-position, opens second self-locking
Device, the second graphics processing unit described above is inserted into the computer.
S203, second graphics processing unit inserted in the electronic equipment, and send a power supply instruction, with right
Second graphics processing unit is powered:
Specifically, will be described when second graphics processing unit is determined in off-position by step S202
Second graphics processing unit is inserted in the electronic equipment, after second graphics processing unit is inserted, and sends a confession
Electricity instructs the electric power system to the electronic equipment, to be powered to second graphics processing unit, then second figure
After being powered as processing unit, driving corresponding with second graphics processing unit is loaded, to start at second image
Unit is managed, second graphics processing unit is operated.
During implementing, due to the specific M graphics processing unit of the electronic equipment, and the M image
The driving of each graphics processing unit may be different in processing unit, therefore, and the second image procossing of insertion is needed detecting
Unit and second graphics processing unit is inserted into the electronic equipment and is powered for second graphics processing unit
Afterwards, detect whether second graphics processing unit can work, in the inoperable shape of the second graphics processing unit
, it is necessary to load the driving corresponding with second graphics processing unit under state, so that second graphics processing unit can
It is operated.
In addition, described first image processing unit is identical or different image procossing with second graphics processing unit
Unit, when described first image processing unit is identical with second graphics processing unit, first self-locking device and institute
State the second self-locking device identical, it is described when described first image processing unit and second graphics processing unit are differed
First self-locking device is differed with second self-locking device.Due to each image procossing list in the M graphics processing unit
The different self-locking device of member correspondence, in the described first image processing unit for needing to extract and need to be inserted described second
When graphics processing unit is same graphics processing unit, then first self-locking device and second self-locking device also phase
Together;Second graphics processing unit inserted in the described first image processing unit and needs that need to extract is different
Graphics processing unit when, then first self-locking device and second self-locking device are also differed.
In addition, on the basis of the above method, present invention also offers a kind of electronic equipment, the electronic equipment includes
M graphics processing unit, the M is the integer more than or equal to 2, as shown in figure 3, the electronic equipment includes:One data processing
Chip, when having at least two graphics processing units all in working condition in the M graphics processing unit, for obtain with
The first related request of graphics processing unit hot drawing and at least one image procossing list in the M graphics processing unit
When member is not inserted into the electronic equipment, obtains and insert the second related request to graphics processing unit heat, please based on described first
Ask, for determining first graphics processing unit to be pulled out from least two graphics processing unit, and will be described
The display data of first graphics processing unit is transferred in the graphics processing unit that other are working, and is turned in the display data
Move after completing, for sending a cut-offing instruction, to stop being powered described first image processing unit;And be based on
Second request, needs to carry out the second slotting graphics processing unit of heat for obtaining, and by second graphics processing unit
Insert in the electronic equipment, a power supply instruction is then retransmited, to be powered to second graphics processing unit.Institute
M graphics processing unit generally video card is stated, for will be carried out on the display unit of display data transmissions to the electronic equipment
Display.Such as:Specific 3 graphics processing units of one computer A, that is, support 3 video cards to export, and set on the computer A
A button is equipped with, the button can be that physical button can also be digital keys, will need to carry out image by the button
The data transfer that processing unit is inserted or extracted, by the processing of the CPU, is performed corresponding to the CPU of the computer A
Operation, to realize that the heat that video card is carried out on the computer inserts the operation with hot drawing.
The data processing chip includes the first acquisition request unit, related to described image processing unit for obtaining
First level parameters, and based on first level parameters, for obtaining first related to described image processing unit hot drawing
Request.
The data processing chip is provided with display data buanch unit, and first figure for needing to extract is determined described
As after processing unit, for closing the application program related to described first image processing unit, then again by described first
The display data of graphics processing unit is transferred in the graphics processing unit that other are working.
The electronic equipment is provided with the first self-locking device for pinning described first image processing unit, stops described
After only being powered to described first image processing unit, for receiving one first OPEN, described first dozen is being received
When opening instruction, first self-locking device is opened, so that described first image processing unit can be extracted.
The data processing chip is provided with the second acquisition request unit, related to described image processing unit for obtaining
Second electrical level parameter, and based on the second electrical level parameter, insert related second for obtaining with graphics processing unit heat and ask
Ask.
The electronic equipment is provided with the second self-locking device for pinning second graphics processing unit, is needed obtaining
Carry out after the second slotting graphics processing unit of heat, for receiving one second OPEN, opened receiving described second
During instruction, second self-locking device is opened, so that second graphics processing unit is inserted into.
Described first image processing unit is identical or different graphics processing unit with second graphics processing unit,
When described first image processing unit is identical with second graphics processing unit, first self-locking device and described second
Self-locking device is identical, and when described first image processing unit and second graphics processing unit are differed, described first certainly
Locking device is differed with second self-locking device.First self-locking device and second self-locking device can also use work
Dynamic door is substituted, and the dodge gate can be arranged on the correspondence position for being capable of the conveniently electronic equipment of plug graphics processing unit,
When carrying out plug described image processing unit, the dodge gate is opened, so that operator operates described image processing unit.
Technical scheme in above-mentioned the embodiment of the present application, at least has the following technical effect that or advantage:
One, due to the embodiment of the present application it is at least two graphics processing units in the electronic equipment all in work
During state, the first request of hot drawing is obtained, based on the described first request, the first graphics processing unit to be pulled out is determined, and
The display data of described first image processing unit is shifted, stopped after display data transfer is completed to described
First graphics processing unit is powered, so, it is possible to ensure described first image processing unit without energization situation
Under be pulled out, moreover it is possible to be at least two graphics processing unit in other graphics processing units worked and the electricity
Sub- equipment is powered, and is promoted electronic equipment normal work when extracting described first image processing unit, is caused user
It is easy to use, and the experience of user can be improved.
Secondly, due to the embodiment of the present application the electronic equipment carry out hot drawing operation in the case of, when to described first
After graphics processing unit is stopped power supply, first self-locking device can be opened, so that described first image processing unit energy
Enough extract, so, it is possible to simplify and extract operation, promote extraction operation more to facilitate.
Thirdly, because the embodiment of the present application is got in the electronic equipment insert related second to graphics processing unit heat
During request, obtaining is needed to carry out the second slotting graphics processing unit of heat, and second graphics processing unit is inserted into the electronics
Equipment, and a power supply instruction is sent, to be powered to second graphics processing unit, it so, it is possible in the electronics
Equipment carries out hot-plug operation in the state of being in work to second graphics processing unit, so as to be user-friendly, moreover it is possible to
Improve Consumer's Experience.
, but those skilled in the art once know basic creation although preferred embodiments of the present invention have been described
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (10)
1. a kind of method for realizing hot drawing, applied to electronic equipment, the electronic equipment has M graphics processing unit, the M
For the integer more than or equal to 2, it is characterised in that methods described includes:
When there are at least two graphics processing units all in working condition in the M graphics processing unit, obtain and image
The first related request of processing unit hot drawing;
Based on the described first request, first image procossing to be pulled out is determined from least two graphics processing unit
Unit, and the display data of described first image processing unit is transferred in the graphics processing unit that other are working;
After display data transfer is completed, a cut-offing instruction is sent, to stop to described first image processing unit
It is powered;
Wherein, it is described based on the described first request, one to be pulled out the is determined from least two graphics processing unit
One graphics processing unit, and the display data of described first image processing unit is transferred to other image procossings worked
In unit, specifically include:After one the first graphics processing unit to be pulled out of the determination, close and described first image
The related application program of processing unit, is then transferred to other just in work by the display data of described first image processing unit again
In the graphics processing unit of work;
It is described to send a cut-offing instruction after display data transfer is completed, to stop to described first image processing
Unit is powered, and is specifically included:After the stopping is powered to described first image processing unit, send one first and open
Instruct to the first self-locking device for pinning described first image processing unit;Received in first self-locking device described
During the first OPEN, first self-locking device is opened, so that described first image processing unit can be extracted.
2. the method as described in claim 1, it is characterised in that described to have at least two in the M graphics processing unit
When graphics processing unit is all in working condition, first request related to graphics processing unit hot drawing is obtained, is specifically included:
Obtain first level parameters related to described image processing unit;
Based on first level parameters, first request related to described image processing unit hot drawing is obtained.
3. a kind of method for realizing that heat is slotting, applied to electronic equipment, the electronic equipment has M graphics processing unit, the M
For the integer more than or equal to 2, it is characterised in that methods described includes:
When at least one graphics processing unit is not inserted into the electronic equipment in the M graphics processing unit, obtain
The second related request is inserted to graphics processing unit heat;
Based on the described second request, obtaining needs to carry out the second slotting graphics processing unit of heat;
Send one second OPEN and be sent to the second self-locking device for pinning second graphics processing unit;
When second self-locking device receives second OPEN, second self-locking device is opened, so that described
Second graphics processing unit is inserted into;
Second graphics processing unit is inserted in the electronic equipment, and sends a power supply instruction, with to described second
Graphics processing unit is powered.
4. method as claimed in claim 3, it is characterised in that it is described in the M graphics processing unit at least one
When graphics processing unit is not inserted into the electronic equipment, obtains and insert the second related request to graphics processing unit heat, specifically
Including:
Obtain the second electrical level parameter related to described image processing unit;
Based on the second electrical level parameter, obtain and insert the second related request to graphics processing unit heat.
5. method as claimed in claim 3, it is characterised in that the first graphics processing unit and second graphics processing unit
It is identical with second graphics processing unit in described first image processing unit for identical or different graphics processing unit
When, the first self-locking device is identical with second self-locking device, at described first image processing unit and second image
When reason unit is differed, first self-locking device is differed with second self-locking device.
6. a kind of electronic equipment, the electronic equipment includes M graphics processing unit, the M is the integer more than or equal to 2, its
It is characterised by, the electronic equipment includes:
One data processing chip, has at least two graphics processing units all in work shape in the M graphics processing unit
During state, for obtain related to graphics processing unit hot drawing first ask and in the M graphics processing unit at least
When thering is the graphics processing unit to be not inserted into the electronic equipment, obtain and insert related second with graphics processing unit heat and ask
Ask, based on the described first request, for determining first image to be pulled out from least two graphics processing unit
Processing unit, and the display data of described first image processing unit is transferred to other graphics processing units worked
In, it is single to described first image processing to stop for sending a cut-offing instruction after display data transfer is completed
Member is powered;And based on the described second request, need to carry out the second slotting graphics processing unit of heat for obtaining, and by institute
State the second graphics processing unit to insert in the electronic equipment, a power supply instruction is then retransmited, with to second image
Processing unit is powered;
Wherein, the data processing chip is provided with display data buanch unit, in one the first figure to be pulled out of the determination
As after processing unit, for closing the application program related to described first image processing unit, then again by described first
The display data of graphics processing unit is transferred in the graphics processing unit that other are working;
The electronic equipment is provided with the first self-locking device for pinning described first image processing unit, in the stopping pair
After described first image processing unit is powered, for receiving one first OPEN, refer to receiving described first and opening
When making, first self-locking device is opened, so that described first image processing unit can be extracted.
7. electronic equipment as claimed in claim 6, it is characterised in that the data processing chip includes the first acquisition request list
Member, for obtaining first level parameters related to described image processing unit, and based on first level parameters, for obtaining
First related to described image processing unit hot drawing is taken to ask.
8. electronic equipment as claimed in claim 6, it is characterised in that the data processing chip is provided with the second acquisition request
Unit, for obtaining the second electrical level parameter related to described image processing unit, and based on the second electrical level parameter, is used for
Obtain and insert the second related request to graphics processing unit heat.
9. electronic equipment as claimed in claim 6, it is characterised in that the electronic equipment is provided with for pinning described second
Second self-locking device of graphics processing unit, after the second graphics processing unit for needing progress heat slotting is obtained, for receiving
One second OPEN, when receiving second OPEN, opens second self-locking device, so that second figure
As processing unit is inserted into.
10. electronic equipment as claimed in claim 9, it is characterised in that described first image processing unit and second figure
As processing unit is identical or different graphics processing unit, in described first image processing unit and second image procossing
When unit is identical, first self-locking device is identical with second self-locking device, in described first image processing unit and institute
When stating the second graphics processing unit and differing, first self-locking device is differed with second self-locking device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210357201.8A CN103677782B (en) | 2012-09-21 | 2012-09-21 | Realize that heat inserts the method and electronic equipment with hot drawing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210357201.8A CN103677782B (en) | 2012-09-21 | 2012-09-21 | Realize that heat inserts the method and electronic equipment with hot drawing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103677782A CN103677782A (en) | 2014-03-26 |
CN103677782B true CN103677782B (en) | 2017-09-29 |
Family
ID=50315460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210357201.8A Active CN103677782B (en) | 2012-09-21 | 2012-09-21 | Realize that heat inserts the method and electronic equipment with hot drawing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103677782B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106155664B (en) * | 2015-04-16 | 2019-07-26 | 联想(北京)有限公司 | A kind of method and electronic equipment removing video card |
CN107220205B (en) * | 2017-05-18 | 2022-01-18 | 联想(北京)有限公司 | Information prompting method and electronic equipment |
CN115423675A (en) * | 2022-11-03 | 2022-12-02 | 北京蔚领时代科技有限公司 | GPU hot plug method, device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101017472A (en) * | 2007-03-01 | 2007-08-15 | 华为技术有限公司 | Hard disk hot swap system in multiple hard disks system and method |
CN101075216A (en) * | 2006-05-19 | 2007-11-21 | 图诚科技股份有限公司 | Method for Realizing Dynamic Removal of Graphic Display Device on Computer |
CN101114270A (en) * | 2006-07-28 | 2008-01-30 | 技嘉科技股份有限公司 | Hot-pluggable image display card and computer system thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7814255B1 (en) * | 2009-04-14 | 2010-10-12 | Oracle America, Inc. | Multi-interface multi-channel modular hot plug I/O expansion |
-
2012
- 2012-09-21 CN CN201210357201.8A patent/CN103677782B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075216A (en) * | 2006-05-19 | 2007-11-21 | 图诚科技股份有限公司 | Method for Realizing Dynamic Removal of Graphic Display Device on Computer |
CN101114270A (en) * | 2006-07-28 | 2008-01-30 | 技嘉科技股份有限公司 | Hot-pluggable image display card and computer system thereof |
CN101017472A (en) * | 2007-03-01 | 2007-08-15 | 华为技术有限公司 | Hard disk hot swap system in multiple hard disks system and method |
Also Published As
Publication number | Publication date |
---|---|
CN103677782A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3131171B1 (en) | Power adaptor, terminal and charging system | |
CN105637726B (en) | Transmission facility and power receiving equipment and its control method | |
EP2141567A1 (en) | Electronic device, control method and program | |
EP2879014A1 (en) | Tablet interface extension method and device | |
CN103853516B (en) | A kind of electronic equipment and switching method | |
CN103677782B (en) | Realize that heat inserts the method and electronic equipment with hot drawing | |
CN103530265B (en) | Realize the device and method of the CF card safe hot plug of electronics | |
CN107206280A (en) | Method for the game console and operation game console of mobile device | |
CN106125878A (en) | A kind of charging method and electronic equipment | |
CN104375628A (en) | Information processing method and electronic equipment | |
CN104919887B (en) | The device and its control method of data are sent and received using earphone | |
CN102073602B (en) | Computer system, connection control device as well as connecting and disconnecting method | |
CN104428730A (en) | Information processing terminal | |
CN103677199B (en) | The method of information processing and the first electronic equipment | |
CN103869927A (en) | Information processing method and electronic device | |
CN104536782B (en) | Guide content displaying method, document generating method and device | |
CN204028812U (en) | Electronic equipment | |
CN103902396B (en) | A kind of information processing method and electronic equipment | |
CN103902011A (en) | Electronic device controlling method and electronic device | |
CN104363034B (en) | Method and device for unbinding wearable device | |
CN107134819B (en) | The charging/discharging thereof of mobile power, charge-discharge system and charge-discharge system | |
CN102223268A (en) | Network equipment as well as method and device for starting hardware testing of same | |
CN104077193A (en) | Control method and electronic device | |
CN110797985A (en) | Coil switching method, device, storage medium and electronic device | |
CN105718338B (en) | Information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |