CN102411484B - Image-displaying method and device in displaying system - Google Patents

Image-displaying method and device in displaying system Download PDF

Info

Publication number
CN102411484B
CN102411484B CN201010289042.3A CN201010289042A CN102411484B CN 102411484 B CN102411484 B CN 102411484B CN 201010289042 A CN201010289042 A CN 201010289042A CN 102411484 B CN102411484 B CN 102411484B
Authority
CN
China
Prior art keywords
node
real
virtual
resource
virtual target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010289042.3A
Other languages
Chinese (zh)
Other versions
CN102411484A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201010289042.3A priority Critical patent/CN102411484B/en
Publication of CN102411484A publication Critical patent/CN102411484A/en
Application granted granted Critical
Publication of CN102411484B publication Critical patent/CN102411484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses an image-displaying method and device in a displaying system. In the scheme provided by the embodiment of the invention, a real resource node is used as an object, a virtual target node corresponding to the real resource node is searched, and the virtual target node corresponding to the real resource node is replaced by a real target node to radically avoid the possibility of forming the virtual target node and the real resource node in a displaying path, thereby displaying faults caused by the appearance of the virtual target node in the displaying path are avoided, and system breakdown caused by the appearance of the virtual target node in the displaying path is radically avoided.

Description

Method for displaying image in a kind of display system and device
Technical field
The present invention relates to communication technical field, particularly relate to the method for displaying image in a kind of display system and device.
Background technology
New display model WDDM is have employed under issue WINDOWS along with VISTA and later release WIN7, traditional windows desktop also becomes D3D program, under XP, use virtual display device not support D3D, this makes to use the method for virtual display device to realize virtual screen and become infeasible under WDDM framework.Current universal method increases virtual resource node and virtual target node under display Adaper example, utilizes the ability of video card hardware to generate resource data, then intercept and capture this resource data and carry out distal displayed.
For system display management assembly, the virtual resource node increased and real resources node are equality, system can connection resource node and destination node as required when showing, and unsuccessfully will show failure, thus cause systemic-function to lack if connected.
Inventor is by finding the research of prior art, virtual resource node and virtual target node are illegal concerning real display driver and viewing hardware, if have virtual resource node or virtual target node filtered to pass to display driver in showing paths, system crash will be caused.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide method for displaying image in a kind of display system and device, showed paths by the image in adjustment display system and reject the virtual resource node in showing paths or virtual target node, avoid the appearance of system crash.
For achieving the above object, following technical scheme is embodiments provided:
Method for displaying image in a kind of display system, there is in this display system at least one resource node and at least one destination node, described resource node comprises real resources node and virtual resource node, and described destination node comprises real goal node and virtual target node, and the method comprises:
Obtain the described real resources node in described display system, and retrieve the first object node corresponding with each real resources node;
The first virtual target node is determined from described first object node;
Described first virtual target node is replaced with the first real goal node, with the display topological relation that described real resources node and described first real goal node are formed, view data to be shown is shown.
Described method also comprises:
Obtain the real goal node at described display system end, and retrieve the first resource node corresponding with each real goal node;
The first virtual resource node is determined from described first resource node;
Described first virtual resource node is replaced with the first real resources node, with the display topological relation that described first real resources node and described real goal node are formed, view data to be shown is shown.
When described first virtual target node is replaced with the first real goal node, described first real goal node is any one the real goal node in the destination node of described display system.
When described first virtual resource node is replaced with the first real resources node, described first real resources node is any one the real resources node in the resource node of described display system.
In described method, virtual target node according to described virtual resource Node configuration.
Image display device in a kind of display system, there is in this display system at least one resource node and at least one destination node, described resource node comprises real resources node and virtual resource node, and described destination node comprises real goal node and virtual target node, and this device comprises:
Acquiring unit, for obtaining the described real resources node in described display system, and retrieves the first object node corresponding with each real resources node;
Determining unit, for determining the first virtual target node from described first object node;
Replacement unit, for described first virtual target node is replaced with the first real goal node, shows view data to be shown with the display topological relation that described real resources node and described first real goal node are formed.
Described acquiring unit, also for obtaining the real goal node at described display system end, and retrieves the first resource node corresponding with each real goal node;
Described determining unit, also for determining the first virtual resource node from described first resource node;
Described replacement unit, also for described first virtual resource node is replaced with the first real resources node, shows view data to be shown with the display topological relation that described first real resources node and described real goal node are formed.
When described first virtual target node is replaced with the first real goal node by described replacement unit, from the destination node of described display system in real goal node optional one as described first real goal node.
When described first virtual resource node is replaced with the first real resources node by described replacement unit, from the real resources node the resource node of described display system optional one as described first real resources node.
Visible, the scheme that the embodiment of the present invention provides, with real resources node for object, retrieve the virtual target node corresponding with real resources node, and replace the virtual target node corresponding with real resources node with real goal node, fundamentally avoid virtual target node and real resources node to be formed show paths in possibility, thus avoid because virtual target node appears at middle the caused display fault that shows paths, fundamentally avoid because of virtual target node appear at show paths in and the system crash that causes.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of the method that Fig. 1 provides for one embodiment of the invention;
The process flow diagram of the method that Fig. 2 provides for another embodiment of the present invention;
The structural representation of the device that Fig. 3 provides for one embodiment of the invention.
Embodiment
Technical scheme in the present invention is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Please refer to Fig. 1, one embodiment of the invention provides the method for displaying image in a kind of display system, comprising:
S101: obtain the described real resources node in display system, and retrieve the first object node corresponding with each real resources node;
Resource node described in the embodiment of the present invention represents a storage area in this display system, the data image to be shown that the video driver for storing this display system generates according to display command.Destination node represents that one for showing the physical type of data image to be shown, as VGA (VideoGraphics Array) display end, and DVI (Digital Visual Interface) display end etc.
Resource node in the embodiment of the present invention comprises real resources node and virtual resource node.Real resources node is corresponding with real storage area.Virtual resource node is relative to real resources node, not corresponding with real storage area, but has the attribute of real resources node.
Destination node in the embodiment of the present invention comprises real goal node and virtual target node.Real goal node represents a physical solution code function.Virtual target node relative to real goal node, the physical solution code function do not represented, but there is the attribute of real goal node.
In the embodiment of the present invention, increase virtual resource node and virtual target node are to make the upper strata graphics system (such as microsoft operation system) of described display system increase exercisable resource node.Particularly, can according to virtual resource Node configuration virtual target node.
In the embodiment of the present invention, display system carries out image display by final according to showing paths of being made up of resource node and destination node.For convenience of description, in the embodiment of the present invention, the set showed paths be made up of resource node and destination node is called display topological structure.The foundation of display topological structure can be divided into following step:
First, the resource node in display system inquiry current system and the number of destination node, and according to the resource node inquired and destination node tectonic manifestation topological structure.
It should be noted that, it is real resources node or virtual resource node that display system cannot distinguish a resource node; Also cannot distinguish a destination node is real goal node or virtual target node.So what just there will be in the display topological structure of display system structure that real resources node and virtual target node formed shows paths, or showing paths of being formed by virtual resource node and real goal node.
As previously mentioned, virtual resource node and virtual target node are illegal concerning real display driver and viewing hardware, if have virtual resource node or virtual target node filtered to pass to lower floor in showing paths to drive, system crash will be caused.The method that the embodiment of the present invention provides is exactly in order to avoid during virtual resource node or virtual target node appear at and show paths, and obtains real resources node from resource node.With real resources node for object, retrieve the first object node corresponding with each real resources node further.
S102: determine the first virtual target node from described first object node;
If in this display system, if certain real resources node is only corresponding with a destination node, the quantity of so described first object node is one.This first object node is likely a virtual target node, is also likely a real goal node.In this case, S102 is specially: determine whether described first object node is the first virtual target node.Particularly, if first object node is virtual target node, so this first object node is exactly the first virtual target node; If first object node is real goal node, so for this real resources node, it does not just have the first virtual target node.
Generally, a real resources node may corresponding multiple destination node.Now, multiple destination node is all first object node, and the virtual target node in these first object nodes is exactly the first virtual target node.A corresponding multiple first virtual target node of real resources node possibility, the corresponding first virtual target node of possibility, may not have the first corresponding virtual target node yet.
S103: described first virtual target node is replaced with the first real goal node;
S104, the display topological relation formed with described real resources node and described first real goal node show view data to be shown.
If certain real resource node has the first corresponding virtual target node, so illustrate that this real resource node and the first virtual target node define to show paths, in the first virtual target node appears at and show paths, the first virtual target node is replaced with the first real goal node.
First real goal node can be chosen arbitrarily from the real goal node of this display system.
When certain real resources node and multiple first virtual target node to choosing multiple real goal node from display system time corresponding, replace multiple first virtual target node respectively.Such as, real resources node A and B ', C ', D ' three the first virtual target nodes correspondences, so can choose B, C, D and be used for respectively replacing B ', C ', D ' from display system.
After substituted for the first virtual target node with the first real goal node, just can to show view data to be shown with showing paths of being formed of real resources node and described first real goal node.
The method that the embodiment of the present invention provides, with real resources node for object, retrieve the virtual target node corresponding with real resources node, and replace the virtual target node corresponding with real resources node with real goal node, fundamentally avoid virtual target node and real resources node to be formed show paths in possibility, thus avoid because virtual target node appears at middle the caused display fault that shows paths, fundamentally avoid because of virtual target node appear at show paths in and the system crash that causes.
See Fig. 2, one embodiment of the invention provides another kind of method for displaying image, and the method comprises:
S201, the described real resources node obtained in described display system, and retrieve the first object node corresponding with each real resources node;
S202, from described first object node, determine the first virtual target node;
S203, obtain the real goal node at described display system end, and retrieve the first resource node corresponding with each real goal node;
Described first resource node is the resource node corresponding with real goal node, and this first resource node is likely real resources node, is also likely virtual resource node.This first resource node is likely one, also may be multiple.
S204, from described first resource node, determine the first virtual resource node;
Because a destination node can only be corresponding with a resource node, first resource node is a node.Step S205 is specially: judge first resource node whether as the first virtual resource node.If first resource node is virtual resource node, so this first resource node is exactly the first virtual resource node, otherwise this first resource node is not just the first virtual resource node.
It should be noted that, determine the first virtual target node corresponding with real resources node and determine between the first virtual resource node corresponding with real goal node, there is no inevitable sequencing, i.e. step S201, S202 and do not have inevitable order between step S203 and step S204, in other embodiments of the invention, also first can determine the first virtual resource node corresponding with real goal node, then determine the first virtual target node corresponding with real resources node.Or in other embodiments, two processes are carried out simultaneously.
So far, determine the first virtual target node corresponding with real resources node, also determine the first virtual resource node corresponding with real goal node.
S205, described first virtual target node replaced with the first real goal node and described first virtual resource node is replaced with the first real resources node.
Described first real resources node is any one in current display system in real resources node.
S206, with showing paths of being formed of showing paths of being formed of described real resources node and described first real goal node and the first real resources node and described real goal node view data to be shown to be shown.
The method that the embodiment of the present invention provides, except with real resources node for object, retrieve the virtual target node corresponding with real resources node, and replace the virtual target node corresponding with real resources node with real goal node, also with real destination node for object, retrieve the virtual resource node corresponding with real goal node, and replace the virtual resource node corresponding with real goal node with real resources node, fundamentally avoid virtual target node and real resources node to be formed show paths in possibility, simultaneously also fundamentally avoid virtual resource node and real goal node forms the possibility showed paths, thus avoid because virtual target node or virtual resource node appear at show paths in the display fault that causes, fundamentally avoid because of virtual target node or virtual resource node appear at show paths in and the system crash caused.
See Fig. 3, one embodiment of the invention also provides the image display device in a kind of display system, there is in this display system at least one resource node and at least one destination node, described resource node comprises real resources node and virtual resource node, and described destination node comprises real goal node and virtual target node.This device comprises:
Acquiring unit 301, for obtaining the described real resources node in described display system, and retrieves the first object node corresponding with each real resources node;
Determining unit 302, for determining the first virtual target node from described first object node;
Replacement unit 303, for described first virtual target node is replaced with the first real goal node, shows view data to be shown with the display topological relation that described real resources node and described first real goal node are formed.
When described first virtual target node is replaced with the first real goal node by described replacement unit 303, from the destination node of described display system in real goal node optional one as described first real goal node.
The device that the embodiment of the present invention provides, with real resources node for object, retrieve the virtual target node corresponding with real resources node, and replace the virtual target node corresponding with real resources node with real goal node, fundamentally avoid virtual target node and real resources node to be formed show paths in possibility, thus avoid because virtual target node appears at middle the caused display fault that shows paths, fundamentally avoid because of virtual target node appear at show paths in and the system crash that causes.
In another embodiment of the present invention, described acquiring unit 301, also for obtaining the real goal node at described display system end, and retrieves the first resource node corresponding with each real goal node;
Described determining unit 302, also for determining the first virtual resource node from described first resource node;
Described replacement unit 303, also for described first virtual resource node is replaced with the first real resources node, shows view data to be shown with the display topological relation that described first real resources node and described real goal node are formed.
When described first virtual resource node is replaced with the first real resources node by described replacement unit 303, from the real resources node the resource node of described display system optional one as described first real resources node.
The device that the embodiment of the present invention provides, except with real resources node for object, retrieve the virtual target node corresponding with real resources node, and replace the virtual target node corresponding with real resources node with real goal node, also with real destination node for object, retrieve the virtual resource node corresponding with real goal node, and replace the virtual resource node corresponding with real goal node with real resources node, fundamentally avoid virtual target node and real resources node to be formed show paths in possibility, simultaneously also fundamentally avoid virtual resource node and real goal node forms the possibility showed paths, thus avoid because virtual target node or virtual resource node appear at show paths in the display fault that causes, fundamentally avoid because of virtual target node or virtual resource node appear at show paths in and the system crash caused.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing of the present invention.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, the distributed computing environment comprising above any system or equipment etc. based on microprocessor.
The present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment, be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
Although depict the present invention by embodiment, those of ordinary skill in the art know, the present invention has many distortion and change and do not depart from spirit of the present invention, and the claim appended by wishing comprises these distortion and change and do not depart from spirit of the present invention.

Claims (8)

1. the method for displaying image in a display system, there is in this display system at least one resource node and at least one destination node, described resource node comprises real resources node and virtual resource node, described destination node comprises real goal node and virtual target node, it is characterized in that, comprising:
Obtain the described real resources node in described display system, and retrieve the first object node corresponding with each real resources node; The first virtual target node is determined from described first object node; Described first virtual target node is replaced with the first real goal node;
Obtain the real goal node in described display system, and retrieve the first resource node corresponding with each real goal node; The first virtual resource node is determined from described first resource node; Described first virtual resource node is replaced with the first real resources node;
With the display topological relation that described real resources node and described first real goal node are formed, and with the display topological relation that described first real resources node and described real goal node are formed, view data to be shown is shown.
2. method according to claim 1, is characterized in that, when described first virtual target node is replaced with the first real goal node, described first real goal node is any one the real goal node in the destination node of described display system.
3. method according to claim 1, is characterized in that, when described first virtual resource node is replaced with the first real resources node, described first real resources node is any one the real resources node in the resource node of described display system.
4. method according to claim 1, is characterized in that, virtual target node according to described virtual resource Node configuration.
5. the image display device in a display system, there is in this display system at least one resource node and at least one destination node, described resource node comprises real resources node and virtual resource node, described destination node comprises real goal node and virtual target node, it is characterized in that, comprising:
Acquiring unit, for obtaining the described real resources node in described display system, and retrieves the first object node corresponding with each real resources node; Also for obtaining the real goal node at described display system end, and retrieve the first resource node corresponding with each real goal node;
Determining unit, for determining the first virtual target node from described first object node; Also for determining the first virtual resource node from described first resource node;
Replacement unit, for described first virtual target node is replaced with the first real goal node, shows view data to be shown with the display topological relation that described real resources node and described first real goal node are formed; Also for described first virtual resource node is replaced with the first real resources node, with the display topological relation that described first real resources node and described real goal node are formed, view data to be shown is shown.
6. device according to claim 5, it is characterized in that, when described first virtual target node is replaced with the first real goal node by described replacement unit, from the destination node of described display system in real goal node optional one as described first real goal node.
7. device according to claim 5, it is characterized in that, when described first virtual resource node is replaced with the first real resources node by described replacement unit, from the real resources node the resource node of described display system optional one as described first real resources node.
8. device according to claim 5, is characterized in that, virtual target node according to described virtual resource Node configuration.
CN201010289042.3A 2010-09-20 2010-09-20 Image-displaying method and device in displaying system Active CN102411484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010289042.3A CN102411484B (en) 2010-09-20 2010-09-20 Image-displaying method and device in displaying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010289042.3A CN102411484B (en) 2010-09-20 2010-09-20 Image-displaying method and device in displaying system

Publications (2)

Publication Number Publication Date
CN102411484A CN102411484A (en) 2012-04-11
CN102411484B true CN102411484B (en) 2015-01-28

Family

ID=45913574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010289042.3A Active CN102411484B (en) 2010-09-20 2010-09-20 Image-displaying method and device in displaying system

Country Status (1)

Country Link
CN (1) CN102411484B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101258484A (en) * 2005-07-08 2008-09-03 微软公司 Resource management for virtualization of graphics adapters

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101490245B (en) * 2006-06-20 2013-01-16 建新公司 Serum-free media and their uses for chondrocyte expansion
CN101490625A (en) * 2006-07-17 2009-07-22 纳幕尔杜邦公司 A process for enhancing the resolution of a thermally transferred pattern
TWI397853B (en) * 2007-12-31 2013-06-01 S3 Graphics Co Ltd Method and system for supporting multiple display devices

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101258484A (en) * 2005-07-08 2008-09-03 微软公司 Resource management for virtualization of graphics adapters

Also Published As

Publication number Publication date
CN102411484A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
CN104995660B (en) Redundant sub-pixels mitigate
US8332431B2 (en) Configuration information management apparatus, configuration information management program, and configuration information management method
KR102463304B1 (en) Video processing method and device, electronic device, computer-readable storage medium and computer program
US10439957B1 (en) Tenant-based management system and method for distributed computing environments
CN110555150B (en) Data monitoring method, device, equipment and storage medium
CN109729429A (en) Video broadcasting method, device, equipment and medium
CN103701927A (en) Terminal-to-terminal image sharing method, terminal device and communication system
US20160077955A1 (en) Regression testing of responsive user interfaces
CN105466414A (en) A navigation route recommending method and a server
US10255019B2 (en) Display configurations based on applications
CN110162404A (en) A kind of secure resources Pooled resources distribution method, system, equipment and computer media
US10250454B2 (en) Compressing topological information pertaining to managed resources to enhance visualization
CN102411484B (en) Image-displaying method and device in displaying system
CN105117108A (en) Information processing method, device and system
JP2016045947A (en) Visualization and diagnostic analysis of interested elements of complex system
US20120226986A1 (en) Systems and methods for displaying blade chassis data
CN105487769A (en) Media file display method and device and electronic equipment
CN115599206A (en) Display control method, display control device, head-mounted display equipment and medium
US20100223366A1 (en) Automated virtual server deployment
CN115510508A (en) Page information protection method and device and electronic equipment
US9606888B1 (en) Hierarchical multi-core debugger interface
CN109032744B (en) Icon display method and device, server and storage medium
CN109271122B (en) File display method, device and equipment based on double display screens
US20160232209A1 (en) Optionally compressed output from command-line interface
CN111158566A (en) Event processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant