CN103618939A - Method and system for mutual switchover of graphics processors between terminals - Google Patents

Method and system for mutual switchover of graphics processors between terminals Download PDF

Info

Publication number
CN103618939A
CN103618939A CN201310598346.1A CN201310598346A CN103618939A CN 103618939 A CN103618939 A CN 103618939A CN 201310598346 A CN201310598346 A CN 201310598346A CN 103618939 A CN103618939 A CN 103618939A
Authority
CN
China
Prior art keywords
equipment end
gpu
process unit
graphic process
main
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.)
Granted
Application number
CN201310598346.1A
Other languages
Chinese (zh)
Other versions
CN103618939B (en
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201310598346.1A priority Critical patent/CN103618939B/en
Priority claimed from CN201310598346.1A external-priority patent/CN103618939B/en
Publication of CN103618939A publication Critical patent/CN103618939A/en
Application granted granted Critical
Publication of CN103618939B publication Critical patent/CN103618939B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method and system for mutual switchover of graphics processors between terminals. According to the method, communication connection is set between a master device end and a slave device end, slave GPU information of the slave device end is obtained, and the performance of a master GPU is compared with the performance of a slave GPU corresponding to the slave GPU information; when the performance of the master GPU is lower than that of the slave GPU, the master device end sends an operation request for obtaining device descriptors of the slave GPU; the slave device end sends the device descriptors to the master device end when receiving the operation request for obtaining the device descriptors of the slave GPU; the master device end loads a virtual device drive of the slave GPU corresponding to the device descriptors and carries out switching from the master GPU to the slave GPU when the master device end receives the device descriptors sent from the slave device end. According to the method and system for mutual switchover of the graphics processors between the terminals, the GPU with the lower performance can be automatically switched to the GPU with the higher performance, and the purpose of multiplexing GPU hardware with the higher performance between intelligent TV sets and intelligent terminals can be achieved.

Description

Terminal room switches the method and system of graphic process unit mutually
Technical field
The present invention relates to field of television, relate in particular to the method and system that a kind of terminal room switches graphic process unit mutually.
Background technology
Along with intelligent television and intelligent terminal are as the development of smart mobile phone and universal, application class software to the hardware performance requirements of television set and mobile phone also in continuous raising, and GPU(Graphics Processing Unit in television set and mobile phone, graphic process unit) performance on application class software such as game impact particularly important, if GPU performance is not high, probably cause the card of application program pause and cannot normally move.In addition, under normal conditions, user wants slow a lot of to the update of television set compared to the update of mobile phone; Therefore, when the GPU performance of mobile phone and television set one party cannot meet the demand of application program, the GPU hardware that how to make mobile phone and television set share superior performance makes its demand that meets different application on mobile phone and television set become a problem demanding prompt solution.
Summary of the invention
Given this, be necessary to provide a kind of terminal room mutually to switch the method and system of graphic process unit, to realize the object of the GPU hardware that intelligent television and terminal multiplexing performance are higher.
The embodiment of the invention discloses a kind of method that terminal room switches graphic process unit mutually, comprise the following steps:
Main equipment end with from equipment end, establish a communications link, obtain from equipment end from graphic process unit information, and the main graphic processor of self is compared from the performance from graphic process unit corresponding to graphic process unit information with described;
In the performance of described main graphic processor, during lower than performance from graphic process unit, main equipment end sends the operation requests of obtaining the described device descriptor from graphic process unit;
While receiving from equipment end the operation requests of obtaining described device descriptor, to main equipment end, send described device descriptor;
When main equipment termination is received the described device descriptor sending from equipment end, load the virtual unit from graphic process unit that described device descriptor is corresponding and drive, and switch described main graphic processor extremely from graphic process unit.
Preferably, described while receiving from equipment end the operation requests of obtaining described device descriptor, further detect all application programs of moving from equipment end;
From all application programs of moving, obtain based on the described application program from graphic process unit operation, and make based on the described application program from graphic process unit operation out of service.Preferably,
Preferably, the described main graphic processor of described switching, extremely from graphic process unit, also comprises afterwards:
Main equipment end group drives in the described virtual unit loading, send need the image information processed to from equipment end from graphic process unit;
From equipment end reception, need the image information of processing, described in utilizing, from graphic process unit, process above-mentioned image information, and the image information after processing is sent to the described virtual unit driving that is positioned at main equipment end;
Described main equipment end group drives in described virtual unit, obtains the image information from graphic process unit is processed.
Preferably, the described main graphic processor of described switching, extremely from graphic process unit, also comprises afterwards:
What main equipment termination received that user's side sends, is switched to described main graphic processor by described from graphic process unit, and unloads described virtual unit driving while switching to the operational order of described main graphic processor from graphic process unit by described.
Preferably, the described virtual unit of described unloading also comprises after driving:
Main equipment end sends described virtual unit and drives the successful announcement information of unloading extremely from equipment end;
From equipment end receives described announcement information, recover the described right to use from graphic process unit from equipment end.
Preferably, described main equipment end is intelligent television or smart mobile phone; Accordingly, described is smart mobile phone or intelligent television from equipment end.
The embodiment of the present invention also discloses the system that a kind of terminal room switches graphic process unit mutually, comprises main equipment end and from equipment end;
Described main equipment end is used for, and establishes a communications link from equipment end, obtain from equipment end from graphic process unit information, and the main graphic processor of self is compared from the performance from graphic process unit corresponding to graphic process unit information with described; In the performance of described main graphic processor, during lower than performance from graphic process unit, send the operation requests of obtaining the described device descriptor from graphic process unit;
Describedly from equipment end, be used for, while receiving the operation requests of obtaining described device descriptor, to main equipment end, send described device descriptor;
Described main equipment end also for, while receiving the described device descriptor sending from equipment end, load the virtual unit from graphic process unit that described device descriptor is corresponding and drive, and switch described main graphic processor to from graphic process unit.
Preferably, described from equipment end also for:
Receive that main equipment end sends obtain the operation requests of described device descriptor time, detect all application programs of moving from equipment end;
From all application programs of moving, obtain based on the described application program from graphic process unit operation, and make based on the described application program from graphic process unit operation out of service.
Preferably, described main equipment end also for:
Described virtual unit based on loading drives, send need the image information processed to from equipment end from graphic process unit;
Described from equipment end also for, receive the image information that need that main equipment end sends are processed, utilize and describedly from graphic process unit, process above-mentioned image information, and the image information after processing is sent to the described virtual unit driving that is positioned at main equipment end;
Described main equipment end also for, based on described virtual unit, drive, obtain the image information from graphic process unit is processed.
Preferably, described main equipment end also for:
What receive that user's side sends, is switched to described main graphic processor by described from graphic process unit, and unloads described virtual unit driving while switching to the operational order of described main graphic processor from graphic process unit by described.
Embodiment of the present invention main equipment end with from equipment end, establish a communications link, obtain from equipment end from GPU information, and the main GPU of self is compared from the performance from GPU corresponding to GPU information with described; In the performance of described main GPU, during lower than performance from GPU, main equipment end sends the operation requests of obtaining the described device descriptor from GPU; While receiving from equipment end the operation requests of obtaining described device descriptor, to main equipment end, send described device descriptor; When main equipment termination is received the described device descriptor sending from equipment end, load the virtual unit from GPU that described device descriptor is corresponding and drive, switch described main GPU extremely from GPU; There is the beneficial effect that the lower GPU of performance is automatically switched to the GPU that performance is higher, realized the object of the GPU hardware that terminal room multiplexing performance is higher.
Accompanying drawing explanation
Fig. 1 is method the first embodiment schematic flow sheet that terminal room of the present invention switches graphic process unit mutually;
Fig. 2 is method the second embodiment schematic flow sheet that terminal room of the present invention switches graphic process unit mutually;
Fig. 3 is method the 3rd embodiment schematic flow sheet that terminal room of the present invention switches graphic process unit mutually;
Fig. 4 is the system one embodiment high-level schematic functional block diagram that terminal room of the present invention switches graphic process unit mutually.
The realization of embodiment of the present invention object, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Below in conjunction with Figure of description and specific embodiment, further illustrate technical scheme of the present invention.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
It will be appreciated by those skilled in the art that, terminal room of the present invention switches in the following embodiment of method and system of graphic process unit mutually, described main equipment end and the application program of mutually switching customization corresponding to graphic process unit for realizing terminal room of the present invention has all been installed from equipment end, and based on customization above-mentioned application program, realize main equipment end with from the comparatively senior GPU hardware of equipment end multiplexing performance.Described main equipment end is that first terminal is such as intelligent television or other intelligent terminals; Accordingly, described is that the second terminal is such as smart mobile phone or other intelligent televisions from equipment end; Such as, when main equipment end is intelligent television, from equipment end, be smart mobile phone; When main equipment end is smart mobile phone, from equipment end, be intelligent television; Wherein, which equipment as main equipment end, which equipment as from one of them of equipment end, settle the standard for: by user's lateral root, which equipment needing the more senior GPU of performance that this equipment is set according to is main equipment end; Certainly, also can take other standard that main equipment end is set and from equipment end; Such as, at main equipment end with from equipment end is installed the above-mentioned application program of customization, in application program, select smart mobile phone or intelligent television as main equipment end, the present embodiment is to arranging main equipment end and not repeating one by one from the concrete set-up mode of equipment end.
In addition, at invention terminal room, mutually switch in the following embodiment of method and system of graphic process unit, for ease of describing, all take intelligent television as main equipment end, intelligent terminal are as from equipment end, and take intelligent terminal, to be smart mobile phone be described as example; Certainly, intelligent terminal can be also the intelligent terminal of the other types such as PC, Pad; Following embodiment of the present invention will repeat no longer one by one.Meanwhile, for ease of describing, GPU corresponding to definition main equipment end is main GPU, and from equipment end, corresponding GPU is from GPU.
Based on above description, please refer to Fig. 1, Fig. 1 is method the first embodiment schematic flow sheet that terminal room of the present invention switches graphic process unit mutually; As shown in Figure 1, the method that terminal room of the present invention switches graphic process unit mutually comprises the following steps:
Step S01, main equipment end and establish a communications link from equipment end, obtain from equipment end from GPU information, and by the main GPU of self with from the performance from GPU corresponding to GPU information, compare;
In the present embodiment, take main equipment end as TV, from equipment end as mobile phone as example is described.At the custom application of opening TV, and after the custom application of starting hand-set, TV and mobile phone communicate connection.The communication connection of TV and mobile phone can realize by wired mode, such as passing through data wire connecting TV and mobile phone; Certainly, also can realize by wireless mode such as by WIFI(Wireless Fidelity, WLAN (wireless local area network)) or NFC(Near Field Communication, wireless near field communication) etc. mode realize.
After TV is connected with mobile communication, the custom application on mobile phone reads the GPU information of mobile phone the machine, as information such as triangle output rating, pixel filling rate, frequencies, and should send to TV from GPU information by what read.Television reception also obtains the information from GPU of mobile phone, reads the main GPU information of TV the machine simultaneously; TV contrasts the main GPU information of the information from GPU of obtaining and TV the machine, judges the whether higher than the performance of the main GPU of TV from GPU performance of mobile phone.
Step S02, main equipment end send and obtain from the operation requests of the device descriptor of GPU;
TV is in the performance of main GPU that identifies TV the machine during lower than the performance from GPU of mobile phone, and television transmission obtains mobile phone from the operation requests of the device descriptor of GPU; Such as, television transmission command request mobile phone reports GPU device descriptor.
Certainly, TV identify TV the machine main GPU performance higher than mobile phone from GPU performance time, use the main GPU of TV self.
Step S03, while receiving from equipment end the operation requests of obtaining from the device descriptor of GPU, to main equipment end, send the device descriptor from GPU;
What mobile phone received television transmission obtains mobile phone from the operation requests of the device descriptor of GPU, mobile phone to television transmission mobile phone from GPU device descriptor.
In a preferred embodiment, while receiving from equipment end the operation requests of obtaining from the device descriptor of GPU, further detect all application programs of moving from equipment end; From all application programs of moving, obtain the application program based on from GPU operation, and make based on out of service from the application program of GPU operation.
Such as what, mobile phone received television transmission, obtain mobile phone from the operation requests of the device descriptor of GPU, make mobile phone the machine enter blank screen pattern; Now, all application programs of having opened in custom application detection of handset the machine of mobile phone terminal, in all application programs that judgement has been opened, wherein which application program need to use graphic plotting needs to utilize could normally moving from GPU of mobile phone, obtain the title of the application program that could normally move from GPU that need utilize mobile phone, and make to utilize the application program from the normal operation of GPU ability of mobile phone out of service.Such as, the mobile phone of Android operating system gets the ACTIVITY application program of moving in mobile phone the machine, and it is out of service that mobile phone makes this ACTIVITY application program.
When step S04, main equipment termination are received the device descriptor from GPU sending from equipment end, load from the virtual unit from GPU corresponding to the device descriptor of GPU and drive, and switch main GPU extremely from GPU;
The mobile phone that television reception reports to mobile phone, from the device descriptor of GPU, loads the corresponding virtual unit from GPU of this device descriptor from GPU and drives, and after loading successfully, the current main GPU using of TV automatic switchover TV is mobile phone from GPU.
Embodiment of the present invention main equipment end with from equipment end, establish a communications link, obtain from equipment end from GPU information, and the main GPU of self is compared from the performance from GPU corresponding to GPU information with described; In the performance of described main GPU, during lower than performance from GPU, main equipment end sends the operation requests of obtaining the described device descriptor from GPU; While receiving from equipment end the operation requests of obtaining described device descriptor, to main equipment end, send described device descriptor; When main equipment termination is received the described device descriptor sending from equipment end, load the virtual unit from GPU that described device descriptor is corresponding and drive, switch described main GPU extremely from GPU; There is the beneficial effect that the lower GPU of performance is automatically switched to the GPU that performance is higher, realized the object of the GPU hardware that terminal room multiplexing performance is higher.
Fig. 2 is method the second embodiment schematic flow sheet that terminal room of the present invention switches GPU mutually; Described in the present embodiment and Fig. 1, the difference of embodiment is, the present embodiment is described, main equipment end-grain cutting change owner GPU to performance higher from GPU, the utilization of main equipment end is carried out the process of Image Information Processing from GPU after switching; Other related steps of method that relevant terminal room of the present invention switches GPU mutually please refer to the specific descriptions of related embodiment, do not repeat them here.
As shown in Figure 2, the method that terminal room of the present invention switches GPU mutually " when step S04, main equipment termination are received the device descriptor from GPU sending from equipment end; load from the virtual unit from GPU corresponding to the device descriptor of GPU and drive; and switch main GPU to from GPU ", also comprise afterwards:
Step S11, main equipment end group drive in the virtual unit from GPU loading, send need the image information processed to from equipment end from GPU;
When TV need to utilize from GPU processing image information, TV utilizes the above-mentioned virtual unit from GPU that loaded to drive, and utilizes this virtual unit from GPU to drive, send need image information to be processed to mobile phone from GPU.
Step S12, the image information that need process from equipment end reception, utilize and process above-mentioned image information from GPU, and the image information after processing is sent to the above-mentioned virtual unit driving that is positioned at main equipment end;
Mobile phone receives after the image information that the need of television transmission process, and utilizes from GPU, to process above-mentioned image information on mobile phone, and the image information after processing is sent to and is positioned at driving from virtual unit corresponding to GPU of TV.
Step S13, main equipment end group drive in above-mentioned virtual unit, obtain the image information from GPU processes.
The virtual unit of TV based on from GPU drives, and obtains the image information from GPU processes on mobile phone, thereby shows the image from GPU processes that utilizes mobile phone on TV, makes the image of TV process more quick and smooth.
If the GPU performance difference of mobile phone and TV is larger, before games on TV have a card existing picture while using, switch to multiplexing mobile phone from GPU, the situation that the card before occurring on TV pauses the even disappearance that can have clear improvement.
The embodiment of the present invention drives in the described virtual unit loading by main equipment end group, send need the image information processed to from equipment end from GPU; From equipment end reception, need the image information of processing, described in utilizing, from GPU, process above-mentioned image information, and the image information after processing is sent to the described virtual unit driving that is positioned at main equipment end; Described main equipment end group drives in described virtual unit, obtains the image information from GPU processes; The beneficial effect with the GPU hardware that intelligent television and intelligent terminal multiplexing performance are higher, makes the image of TV process more quick and smooth.
Fig. 3 is method the 3rd embodiment schematic flow sheet that terminal room of the present invention switches GPU mutually; Described in the present embodiment and Fig. 1, Fig. 2, the difference of embodiment is, when main equipment end stops the multiplexing GPU from equipment end, main equipment end discharges the multiplexing operation from GPU from equipment end.
Embodiment shown in Fig. 3 only be take embodiment described in Fig. 1 and, as basis, is described the present embodiment.As shown in Figure 3, the method that terminal room of the present invention switches GPU mutually " when step S04, main equipment termination are received the device descriptor from GPU sending from equipment end; load from the virtual unit from GPU corresponding to the device descriptor of GPU and drive; and switch main GPU to from GPU ", also comprise afterwards:
Step S21, main equipment termination receive that user's side sends when switching to the operational order of main GPU from GPU, will switch to main GPU from GPU, and unload described virtual unit and drive.
Further, after step S21, also comprise:
The virtual unit that step S22, main equipment end send main equipment end drives the successful announcement information of unloading extremely from equipment end;
Step S23, from equipment end, receive the virtual unit that main equipment end sends and drive the successful announcement information of unloading, recover the right to use from GPU from equipment end.
When TV do not need to use mobile phone from GPU time, or mobile phone need to use mobile phone the machine from GPU time, user can switching to wire back from GPU and look main the GPU of the machine the current mobile phone using of TV; When television reception to user's side, send when switching back the operational order of main GPU from GPU, TV is looked main the GPU of the machine from multiplexing from GPU switching telegram in reply, utilizes the main GPU of TV self to carry out image processing; Meanwhile, multiplexing the driving from virtual unit corresponding to GPU of loading during from GPU of TV unloading, unload successfully after transmission from the virtual unit driving of GPU, unload and successfully order to mobile phone; The virtual unit that mobile phone receives television transmission drives after the successful announcement information of unloading, and mobile phone obtains the right to use from GPU of mobile phone the machine.
In another preferred embodiment of the present embodiment, TV also can not unload multiplexing driving from virtual unit corresponding to GPU of loading during from GPU, so that next time multiplexing this mobile phone from GPU time, need not again load driving from virtual unit corresponding to GPU of this mobile phone, save the processing time of program.
Embodiment of the present invention main equipment end sends from the virtual unit of GPU and drives the successful announcement information of unloading extremely from equipment end; From equipment end receives described announcement information, recover the right to use from GPU from equipment end; Have after multiplexing end, do not affect main equipment end and continue to use from equipment end the beneficial effect that GPU carries out image processing separately.
Fig. 4 is the system one embodiment high-level schematic functional block diagram that terminal room of the present invention switches graphic process unit mutually.As shown in Figure 4, the system that terminal room of the present invention switches graphic process unit mutually comprises first terminal 01 and the second terminal 02.Terminal room of the present invention switches in the following embodiment of system of graphic process unit mutually, all using first terminal 01 as main equipment end, the second terminal 02 conduct is that example is described from equipment end, wherein, take again first terminal 01 is described as smart mobile phone 02 as example as intelligent television 01, the intelligent terminal 02 of take.Certainly, as identical with above-mentioned implementation procedure principle as the situation of main equipment end in mobile phone 02 from equipment end, the second terminal 02 in TV 01 conduct for first terminal 01, the embodiment of the present invention does not repeat one by one to it.
As shown in Figure 4, at the custom application of opening TV 01, and after the custom application of starting hand-set 02, TV 01 and mobile phone 02 communicate connection.TV 01 can be realized by wired mode with the communication connection of mobile phone 02, such as passing through data wire connecting TV 01 and mobile phone 02; Certainly, also can realize by wireless mode, such as realizing by modes such as WIFI or NFC.
After TV 01 and mobile phone 02 communication connection, the custom application on mobile phone 02 reads the GPU information of mobile phone 02 the machine, as information such as triangle output rating, pixel filling rate, frequencies, and should send to TV 01 from GPU information by what read.TV 01 receives and obtains the information from GPU of mobile phone 02, reads the main GPU information of TV 01 the machine simultaneously; TV 01 contrasts the main GPU information of the information from GPU of obtaining and TV 01 the machine, judges the whether higher than the performance of the main GPU of TV 01 from GPU performance of mobile phone 02.
TV 01 is in the performance of main GPU that identifies TV 01 the machine during lower than the performance from GPU of mobile phone 02, and TV 01 sends and obtains mobile phone 02 from the operation requests of the device descriptor of GPU; Such as, TV 01 sends command request mobile phone 02 and reports GPU device descriptor.
Certainly, TV 01 identify TV 01 the machine main GPU performance higher than mobile phone 02 from GPU performance time, use the main GPU of TV 01 self.
What mobile phone 02 received that TV 01 sends obtains mobile phone 02 from the operation requests of the device descriptor of GPU, mobile phone 02 to TV 01 send mobile phone 02 from GPU device descriptor.
In a preferred embodiment, while receiving from equipment end the operation requests of obtaining from the device descriptor of GPU, further detect all application programs of moving from equipment end; From all application programs of moving, obtain the application program based on from GPU operation, and make based on out of service from the application program of GPU operation.
Such as what, mobile phone 02 received that TV 01 sends, obtain mobile phone 02 from the operation requests of the device descriptor of GPU, make mobile phone 02 the machine enter blank screen pattern; Now, all application programs of having opened in custom application detection of handset 02 the machine of mobile phone 02 end, in all application programs that judgement has been opened, wherein which application program need to use graphic plotting needs to utilize could normally moving from GPU of mobile phone 02, obtain the title of the application program that could normally move from GPU that need utilize mobile phone 02, and make to utilize the application program from the normal operation of GPU ability of mobile phone 02 out of service.Such as, the mobile phone 02 of Android operating system gets the ACTIVITY application program of moving in mobile phone 02 the machine, and it is out of service that mobile phone 02 makes this ACTIVITY application program.
TV 01 receives mobile phone 02 that mobile phone 02 reports from the device descriptor of GPU, loading the corresponding virtual unit from GPU of this device descriptor from GPU drives, after loading successfully, the current main GPU using of TV 01 automatic switchover TV 01 is mobile phone 02 from GPU.
Embodiment of the present invention main equipment end with from equipment end, establish a communications link, obtain from equipment end from GPU information, and the main GPU of self is compared from the performance from GPU corresponding to GPU information with described; In the performance of described main GPU, during lower than performance from GPU, main equipment end sends the operation requests of obtaining the described device descriptor from GPU; While receiving from equipment end the operation requests of obtaining described device descriptor, to main equipment end, send described device descriptor; When main equipment termination is received the described device descriptor sending from equipment end, load the virtual unit from GPU that described device descriptor is corresponding and drive, switch described main GPU extremely from GPU; There is the beneficial effect that the lower GPU of performance is automatically switched to the GPU that performance is higher, realized the object of the GPU hardware that terminal room multiplexing performance is higher.
Please referring again to Fig. 4, TV 01 receives mobile phone 02 that mobile phone 02 reports from the device descriptor of GPU, loading the corresponding virtual unit from GPU of this device descriptor from GPU drives, after loading successfully, the current main GPU using of TV 01 automatic switchover TV 01 is mobile phone 02 from GPU.The multiplexing mobile phone 02 of TV 01 from GPU, when TV 01 needs to utilize from GPU processing image information, TV 01 utilizes the above-mentioned virtual unit from GPU that loaded to drive, and utilizes this virtual unit from GPU to drive, send need image information to be processed to mobile phone 02 from GPU.
Mobile phone 02 receives after the image information that need that TV 01 sends process, and utilizes from GPU, to process above-mentioned image information on mobile phone 02, and the image information after processing is sent to and is positioned at driving from virtual unit corresponding to GPU of TV 01.
The virtual unit of TV 01 based on from GPU drives, and obtains the image information from GPU processes on mobile phone 02, thereby on TV 01, shows the image from GPU processes that utilizes mobile phone 02, makes the image of TV 01 process more quick and smooth.
If the GPU performance difference of mobile phone 02 and TV 01 is larger, before games on TV 01 have a card existing picture while using, switch to multiplexing mobile phone 02 from GPU, the situation that the card before occurring on TV 01 pauses the even disappearance that can have clear improvement.
The embodiment of the present invention drives in the described virtual unit loading by main equipment end group, send need the image information processed to from equipment end from GPU; From equipment end reception, need the image information of processing, described in utilizing, from GPU, process above-mentioned image information, and the image information after processing is sent to the described virtual unit driving that is positioned at main equipment end; Described main equipment end group drives in described virtual unit, obtains the image information from GPU processes; The beneficial effect with the GPU hardware that intelligent television and intelligent terminal multiplexing performance are higher, makes the image of TV process more quick and smooth.
Please referring again to Fig. 4, TV 01 receives mobile phone 02 that mobile phone 02 reports from the device descriptor of GPU, loading the corresponding virtual unit from GPU of this device descriptor from GPU drives, after loading successfully, the current main GPU using of TV 01 automatic switchover TV 01 is mobile phone 02 from GPU.
The multiplexing mobile phone 02 of TV 01 from GPU, when TV 01 do not need to use mobile phone 02 from GPU time, or mobile phone 02 need to use mobile phone 02 the machine from GPU time, user can switch wiring back and to look main the GPU of 01 the machine from GPU the current mobile phone using 02 of TV 01; When TV 01 receive that user's side sends when switching back the operational order of main GPU from GPU, TV 01 is looked main the GPU of 01 the machine from multiplexing from GPU switching telegram in reply, utilizes the main GPU of TV 01 self to carry out image processing; Meanwhile, multiplexing the driving from virtual unit corresponding to GPU of loading during from GPU of TV 01 unloading, unload successfully after transmission from the virtual unit driving of GPU, unload and successfully order to mobile phone 02; The virtual unit that mobile phone 02 receives TV 01 transmission drives after the successful announcement information of unloading, and mobile phone 02 obtains the right to use from GPU of mobile phone 02 the machine.
In another preferred embodiment of the present embodiment, TV 01 also can not unload multiplexing driving from virtual unit corresponding to GPU of loading during from GPU, so that next time multiplexing this mobile phone 02 from GPU time, need not again load driving from virtual unit corresponding to GPU of this mobile phone 02, save the processing time of program.
Embodiment of the present invention main equipment end sends from the virtual unit of GPU and drives the successful announcement information of unloading extremely from equipment end; From equipment end receives described announcement information, recover the right to use from GPU from equipment end; Have after multiplexing end, do not affect main equipment end and continue to use from equipment end the beneficial effect that GPU carries out image processing separately.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the device that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or device.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the device that comprises this key element and also have other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
The foregoing is only the preferred embodiments of the present invention; not thereby limit its scope of the claims; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. terminal room switches a method for graphic process unit mutually, it is characterized in that, comprises the following steps:
Main equipment end with from equipment end, establish a communications link, obtain from equipment end from graphic process unit information, and the main graphic processor of self is compared from the performance from graphic process unit corresponding to graphic process unit information with described;
In the performance of described main graphic processor, during lower than performance from graphic process unit, main equipment end sends the operation requests of obtaining the described device descriptor from graphic process unit;
While receiving from equipment end the operation requests of obtaining described device descriptor, to main equipment end, send described device descriptor;
When main equipment termination is received the described device descriptor sending from equipment end, load the virtual unit from graphic process unit that described device descriptor is corresponding and drive, and switch described main graphic processor extremely from graphic process unit.
2. the method for claim 1, is characterized in that, described while receiving from equipment end the operation requests of obtaining described device descriptor, further detects all application programs of moving from equipment end;
From all application programs of moving, obtain based on the described application program from graphic process unit operation, and make based on the described application program from graphic process unit operation out of service.
3. method as claimed in claim 1 or 2, is characterized in that, the described main graphic processor of described switching, extremely from graphic process unit, also comprises afterwards:
Main equipment end group drives in the described virtual unit loading, send need the image information processed to from equipment end from graphic process unit;
From equipment end reception, need the image information of processing, described in utilizing, from graphic process unit, process above-mentioned image information, and the image information after processing is sent to the described virtual unit driving that is positioned at main equipment end;
Described main equipment end group drives in described virtual unit, obtains the image information from graphic process unit is processed.
4. method as claimed in claim 1 or 2, is characterized in that, the described main graphic processor of described switching, extremely from graphic process unit, also comprises afterwards:
What main equipment termination received that user's side sends, is switched to described main graphic processor by described from graphic process unit, and unloads described virtual unit driving while switching to the operational order of described main graphic processor from graphic process unit by described.
5. method as claimed in claim 4, is characterized in that, after the described virtual unit of described unloading drives, also comprises:
Main equipment end sends described virtual unit and drives the successful announcement information of unloading extremely from equipment end;
From equipment end receives described announcement information, recover the described right to use from graphic process unit from equipment end.
6. the method for claim 1, is characterized in that, described main equipment end is intelligent television or smart mobile phone; Accordingly, described is smart mobile phone or intelligent television from equipment end.
7. terminal room switches a system for graphic process unit mutually, it is characterized in that, comprises main equipment end and from equipment end;
Described main equipment end is used for, and establishes a communications link from equipment end, obtain from equipment end from graphic process unit information, and the main graphic processor of self is compared from the performance from graphic process unit corresponding to graphic process unit information with described; In the performance of described main graphic processor, during lower than performance from graphic process unit, send the operation requests of obtaining the described device descriptor from graphic process unit;
Describedly from equipment end, be used for, while receiving the operation requests of obtaining described device descriptor, to main equipment end, send described device descriptor;
Described main equipment end also for, while receiving the described device descriptor sending from equipment end, load the virtual unit from graphic process unit that described device descriptor is corresponding and drive, and switch described main graphic processor to from graphic process unit.
8. system as claimed in claim 7, is characterized in that, described from equipment end also for:
Receive that main equipment end sends obtain the operation requests of described device descriptor time, detect all application programs of moving from equipment end;
From all application programs of moving, obtain based on the described application program from graphic process unit operation, and make based on the described application program from graphic process unit operation out of service.
9. system as claimed in claim 7 or 8, is characterized in that, described main equipment end also for:
Described virtual unit based on loading drives, send need the image information processed to from equipment end from graphic process unit;
Described from equipment end also for, receive the image information that need that main equipment end sends are processed, utilize and describedly from graphic process unit, process above-mentioned image information, and the image information after processing is sent to the described virtual unit driving that is positioned at main equipment end;
Described main equipment end also for, based on described virtual unit, drive, obtain the image information from graphic process unit is processed.
10. system as claimed in claim 7 or 8, is characterized in that, described main equipment end also for:
What receive that user's side sends, is switched to described main graphic processor by described from graphic process unit, and unloads described virtual unit driving while switching to the operational order of described main graphic processor from graphic process unit by described.
CN201310598346.1A 2013-11-22 Terminal room mutually switches the method and system of graphics processor Active CN103618939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310598346.1A CN103618939B (en) 2013-11-22 Terminal room mutually switches the method and system of graphics processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310598346.1A CN103618939B (en) 2013-11-22 Terminal room mutually switches the method and system of graphics processor

Publications (2)

Publication Number Publication Date
CN103618939A true CN103618939A (en) 2014-03-05
CN103618939B CN103618939B (en) 2018-02-09

Family

ID=

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814785A (en) * 2019-01-18 2019-05-28 深圳云瀚科技有限公司 Image processing method and device based on external equipment
CN111147464A (en) * 2019-12-18 2020-05-12 北京智明星通科技股份有限公司 Method and device for determining servers among online rooms and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100164962A1 (en) * 2008-12-31 2010-07-01 Apple Inc. Timing controller capable of switching between graphics processing units
CN101937358A (en) * 2009-06-25 2011-01-05 苹果公司 Virtual graphics device driver
CN102035942A (en) * 2010-12-15 2011-04-27 中兴通讯股份有限公司 Mobile terminal and audio play implementation method thereof
CN102098512A (en) * 2010-12-15 2011-06-15 中兴通讯股份有限公司 Mobile terminal and video display realizing method thereof
CN102216978A (en) * 2008-10-13 2011-10-12 苹果公司 Seamless display migration
CN102402462A (en) * 2010-09-30 2012-04-04 微软公司 Techniques for load balancing GPU enabled virtual machines
CN102946409A (en) * 2011-10-14 2013-02-27 微软公司 Method, system of sending single terminal user experience from a plurality of servers to clients

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102216978A (en) * 2008-10-13 2011-10-12 苹果公司 Seamless display migration
US20100164962A1 (en) * 2008-12-31 2010-07-01 Apple Inc. Timing controller capable of switching between graphics processing units
CN101937358A (en) * 2009-06-25 2011-01-05 苹果公司 Virtual graphics device driver
CN102402462A (en) * 2010-09-30 2012-04-04 微软公司 Techniques for load balancing GPU enabled virtual machines
CN102035942A (en) * 2010-12-15 2011-04-27 中兴通讯股份有限公司 Mobile terminal and audio play implementation method thereof
CN102098512A (en) * 2010-12-15 2011-06-15 中兴通讯股份有限公司 Mobile terminal and video display realizing method thereof
CN102946409A (en) * 2011-10-14 2013-02-27 微软公司 Method, system of sending single terminal user experience from a plurality of servers to clients

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109814785A (en) * 2019-01-18 2019-05-28 深圳云瀚科技有限公司 Image processing method and device based on external equipment
CN111147464A (en) * 2019-12-18 2020-05-12 北京智明星通科技股份有限公司 Method and device for determining servers among online rooms and electronic equipment

Similar Documents

Publication Publication Date Title
KR20110008441A (en) Apparatus and method for connecting video call in dual standby mobile communication termainal
CN111654852B (en) Data card switching method and device, terminal and storage medium
CN112398626B (en) Information transmission method, communication device and system
US10908976B2 (en) Broadcast queue adjustment method, terminal, and storage medium
CN112219423B (en) Transmission path switching method and device
CN113316206A (en) Cell reselection method, device, terminal equipment and storage medium
CN112867069B (en) Interference processing method and device, storage medium and electronic equipment
CN113660653B (en) Transmission method and device and electronic equipment
CN113395690B (en) Bluetooth equipment automatic connection method, device, equipment and storage medium
CN112689172B (en) Program playing method and device, set top box and storage medium
EP3258617B1 (en) Antenna configuration method and terminal
CN112153759B (en) Communication method and device of dual-card terminal
CN103781138B (en) Method, apparatus and system for connecting WiMo sending terminal to WLAN
CN110475367B (en) Transmission method, mobile communication terminal and network side equipment
CN103458119A (en) Mobile communication terminal remote control system
CN109041026B (en) Antenna ratio setting method and device, user equipment and storage medium
CN110166196B (en) Synchronization signal configuration method and related equipment
CN112351461A (en) WiFi network switching method, device, terminal and storage medium
CN113965787B (en) Picture sharing method and device, display terminal and storage medium
CN103618939A (en) Method and system for mutual switchover of graphics processors between terminals
KR20100121892A (en) Apparatus and method for power saving using predictive polling in portable terminal
CN112203338B (en) Networking method and device for wireless terminal
US9839006B1 (en) Dual radio architecture for an electronic device operable in a wireless local area network
CN108710519B (en) Vehicle-mounted resource management system and method based on telephone processing
CN103618939B (en) Terminal room mutually switches the method and system of graphics processor

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