Image overlap display system and method
Technical field
The present invention particularly carries out image overlap display system and method overlapping and demonstration relevant for a kind of control module and switching output unit of utilizing with image relevant for a kind of image display system and method.
Background technology
In existing computer system, the function that mostly provides image overlap to show.For instance, general display provides the screen video control system (On Screen Display, function OSD) will be set menu and repeat to be shown on the display.Yet it all is to form by software implementation that above-mentioned image overlap shows, in other words, must calculate and handle the effect of reaching the image overlap demonstration by the microprocessor in central processing unit or the display.
Handle for the computer system or any device that is independent of outside the computer system of other incident for spending a large amount of system resources, and can't provide in the software implementation mode and carry out the computing ability that image overlap shows.In addition, for the employed keyboard of present image monitoring, video and mouse (Keyboard Video ﹠amp; Mouse, KVM) device, only can be merely with vision signal directly input with show to display, must fully switch demonstration for different monitored pictures, and can't be on different monitoring image frames overlapping demonstration other figure, literal or image.
Summary of the invention
In view of this, a purpose of the present invention is carried out image overlap display system and method overlapping and demonstration with hardware mode with image for providing a kind of.
Another object of the present invention transmits switching command to switching output unit for a kind of image overlap display system and method are provided via control module, carries out the overlapping of image and shows.
In order to reach above-mentioned purpose, the invention provides a kind of image overlap display system and method, its technical scheme is achieved in that
A kind of image overlap display system is characterized in that, comprises at least:
One detection module, in order to receiving one first image, and detect mutually should first image a synchronous clock signal;
One transmission interface is coupled to this detection module, and in order to receiving one second image, and this second image has the data of a display position;
One control module, be coupled to this detection module and this transmission interface respectively, in order to receive this second image and this synchronous sequence signal, and form one and switch steering order, this synchronous sequence signal according to this first image, in this display position data symbols of this second image should during the show state of first image, transmit this switching controls instruction, to export this second image; And
One switches output unit, be coupled to this control module, in order to receive this first image and this second image, and switch according to this switching controls instruction of this control module and to select this first image of output and, to make this second image overlap on this first image from this second image of this control module.
This detection module is judged resolution data corresponding to this first image according to this synchronous sequence signal, and transmits this resolution data by this transmission interface.
This transmission interface receives this second image that meets these resolution data.
Also comprise image conversion module, be coupled to this transmission interface,, make this second image meet a picture format of this image overlap display system in order to this second image is changed.
This picture format is a bitmap.
This synchronous sequence signal that mutually should first image comprises horizontal-drive signal, vertical synchronizing signal and time clock signal.
The data of this display position of this second image comprise coordinate and size at least.
Also comprise a remote host, be coupled to this transmission interface, in order to transmit this second image.
This detection module is judged resolution data corresponding to this first image according to this synchronous sequence signal, and transmits these resolution data to this remote host by this transmission interface.
This remote host meets this second image of these resolution data to this transmission interface in order to transmission.
This remote host also carries out image transitions with this second image, makes this second image meet the picture format of this first image.
The present invention also provides a kind of image overlap display packing, it is characterized in that, comprises the following steps: at least
With a detection module receive one first image and detect mutually should first image a synchronous clock signal;
Receive and dispatch one second image with a transmission interface, wherein this second image has the data of a display position;
Receive this second image synchronously and form a switching steering order with control module;
Transmit the instruction of this switching controls via this control module, and according to this synchronous sequence signal of this first image, in this display position data symbols of this second image should during the show state of first image, with this control module with this second image output; And
Switch that output unit receives this first image and from this second image of this control module with one, and according to this switching controls instruction, to select this first image of output or from this second image of this control module.
Also comprise one according to this synchronous sequence signal judge mutually should first image resolution data, and transmit the step of these resolution data by this transmission interface.
Also comprise the step of utilizing this transmission interface to receive this second image that meets these resolution data.
This second image that also comprises a pair of this transmission interface reception is changed, so that this second image meets the step of a picture format.
This picture format is a bitmap.
This synchronous sequence signal of this first image comprises horizontal-drive signal, vertical synchronizing signal and time clock signal.
This second image from this control module covers this first image fully.
Receive and dispatch in the step of this second image at this transmission interface, the data of this display position of this second image comprise coordinate and size at least.
Image overlap display system according to the embodiment of the invention comprises detection module, transmission interface, switching output unit and control module.Detection module is in order to receiving first image, and detects the synchronous sequence signal of corresponding first image.Transmission interface is coupled to detection module, and in order to receiving second image, and second image has display position data.Switch output unit and be coupled to detection module, in order to export first image.Control module is coupled to detection module, transmission interface respectively and switches output unit, synchronous sequence signal according to first image, control is switched output unit and switch output second image when being met the display position data of second image, makes second image overlap on first image.
According to the image overlap display packing of the embodiment of the invention, at first, receive first image, and detect the synchronous sequence signal of corresponding first image.Afterwards, receive second image with transmission interface, wherein second image has the display position data.Then, export first image, and switch output unit, when meeting the display position data of second image, switch this second image of output, make second image overlap on first image according to the synchronous sequence signal control of first image to switch output unit.
Detection module also can be judged the resolution data of corresponding first image according to synchronous sequence signal, and the resolution data are sent to remote host by transmission interface.Wherein, remote host meets second image of these resolution data to image overlap display system of the present invention in order to transmission.
In addition, second image more can carry out switch process in remote host or by the modular converter in the image overlap display system in advance, so that second image meets the picture format of image overlap display system.
Description of drawings
Fig. 1 is the synoptic diagram of a long distance control system
Fig. 2 is the synoptic diagram according to the image overlap display system of the embodiment of the invention
Fig. 3 is the operational flowchart according to the image overlap display packing of the embodiment of the invention
Wherein, description of reference numerals is as follows:
11~unit, 12~network interface
13,14~computer system, 200~image overlap display system
201~A/D converter, 202~detection module
203~transmission interface, 204~control module
205~D/A converter, 206~operation circuit
207~switching output unit, 210~remote host
211~the second images, 220~the first images
S301, S302, S303, S304 and S305~operation steps.
Embodiment
See also Fig. 1, show a long distance control system.The monitor mode of this long distance control system is by the keyboard of a unit (main control end) 11, video, mouse (KVM) bus is come control and management, be that the user utilizes the server switch of knowing (Server Switches) by network interface 12, with while control and management LAN (Local Area Network, LAN) in, Wide Area Network (Wide Area Network, WAN) or bus (Bus) in various types of computer systems 13,14, as the Video Graphics Array device of computer system end (controlled end) (Video Graphics Array, VGA).It should be noted that image overlap display system of the present invention and method can be applied in the KVM system, but be not limited thereto.
Fig. 2 shows the configuration diagram according to the image overlap display system of the embodiment of the invention.Image overlap display system 200 comprises analog/digital (A/D) converter 201, detection module 202, transmission interface 203, control module 204, digital-to-analog (D/A) converter 205 and switches output unit 207.
A/D converter 201 is in order to be digital signal with image by analog signal conversion, and D/A converter 205 then is converted to simulating signal with image by digital signal.It should be noted that, be that image with simulating signal explains in embodiments of the present invention, also be digital type display device if image is the display of digital signal and show image, then A/D converter 201 can omit in image overlap display system 200 with D/A converter 205.
Detection module 202 is in order to receiving first image of being changed via A/D converter 201 220, and detects the synchronous sequence signal of corresponding first image.And when receiving first image 220, receive signal of video signal synchronously corresponding to first image 220, as red (Red), green (Green) blue (Blue) signal or synthetic video (Composite Video) and synchronous sequence signal, wherein synchronous sequence signal for example can be horizontal-drive signal (Horizontal Synchronous Signal, HSync), (VerticalSynchronous Signal is VSync) with time clock (Clock) signal for vertical synchronizing signal.In addition, the detected synchronous sequence signal of detection module 202 foundations is judged resolution (Resolution) data corresponding to first image, and the resolution data are sent to remote host 210 by transmission interface 203.It should be noted that transmission interface 203 all right microcontrollers or microprocessor replacement, in order to the image between control remote host 210 and the image overlap display system 200 and the transmission of control signal.
Because the number of pixels that is comprised in the delegation (Line) of the number representative frame (Frame) of time clock in a horizontal-drive signal (HSync) pulse, and on behalf of the transmission of a frame, a vertical synchronizing signal (VSync) pulse finish, that is in a vertical synchronizing signal (VSync) pulse, therefore row (Row) number that the number representative frame of horizontal-drive signal (HSync) pulse is comprised can judge corresponding resolution data according to synchronous sequence signal.In addition, if be provided with the resolution data of regulation between remote host 210 and the image overlap display system 200, then detection module 202 omits the determining step of resolution data.
Unit that remote host 210 connects via bus interface (Bus Interface) for inside computer system or the main frame that connects by communication network.Remote host 210 is converted to the image that meets the resolution data with second image 211 of the overlapping demonstration of desire earlier, according to yi word pattern corresponding table's (not shown) of figure is converted to the picture format that meets image overlap display system 200 with second image 211 again, as bit map (Bitmap) form, JPEG or GIF picture format.Afterwards, remote host 210 is sent to second image 211 in the image overlap display system 200 by transmission interface 203.Wherein, second image 211 has the data of a display position, as coordinate and size.
It should be noted that, corresponding second image 211 is converted to the operation of the picture format that meets image overlap display system 200 and can also changes by the modular converter (not shown) of image overlap display system 200, wherein this modular converter is coupled to transmission interface 203, as the image transitions of second image 211.At this moment, when image overlap display system 200 receives second image 211 of unconverted by transmission interface 203, modular converter will be converted to the picture format that meets image overlap display system 200 to the corresponding table of figure with second image 211 according to font.
Control module 204 is received the synchronous sequence signal and second image 211 of corresponding first image 220 respectively by detection module 202 and transmission interface 203, and form one according to the synchronous sequence signal and second image 211 and switch steering order, and when meeting the display position data of second image 211, switches by operation circuit 206 controls switching output units 207 according to switching controls instruction and to export second image 211, second image 211 is overlapped on first image 220.In addition, when the output of first image had comprised synchronous sequence signal, control module 204 of the present invention also can directly receive this synchronous sequence signal, did not need by detection module 202, to quicken the switching display speed of first shadow and second image.
It should be noted that, switching output unit 207 can be simulation switch, digital switcher or multiplexer, and switch output unit 207 and directly receive first image 220, and under general situation, when for example not receiving second image, directly export first image 220 to display device to show.In addition, control module 204 is sent to second image 211 to be switched before the output unit 207, and second image 211 is earlier through the conversions of D/A converters 205, so that second image 211 is converted to simulating signal by digital signal.
Next, show example for an image overlap.Suppose that second image 211 is a rectangle, and the display position data that second image 211 has comprise that its origin coordinates (60,30) and size are 20 * 10 pixels (Pixel) arrays.Because the display mode of traditional monitor is by the upper left corner, promptly coordinate (0,0) locates that beginning (is listed as maximum column by minimum) from top to bottom and by left-to-right (by minimum row to maximum row) show image pixel.When second image, 211 desires are overlapping when being shown on first image 220, at first, during to the 29th row, switch output unit 207 outputs first image 220 in the image pixel of opposite position at the 1st row.
When exporting the 30th row to, switch output unit 207 outputs first image 220 in corresponding at the 30th image pixel that is listed as the 0th to 59 row location of pixels, and be listed as the 60th to 79 row during location of pixels the 30th, switch output unit 207 and switch output second image 211 in the image pixel of opposite position, and after the 30th is listed as the 80th row location of pixels, switches output unit 207 switchings and feed back out first image 220 in the image pixel of corresponding location of pixels.
Similarly, when output the 31st row, switch output unit 207 outputs first image 220 in corresponding at the 31st image pixel that is listed as the 0th to 59 row location of pixels, and be listed as the 60th to 79 row during location of pixels the 31st, switch output unit 207 and switch output second image 211 in the image pixel of opposite position, and after the 31st is listed as the 80th row location of pixels, switches output unit 207 switchings and feed back out first image 220 in the image pixel of corresponding location of pixels.By that analogy, till the image pixel output of the 39th row, at this moment, second image 211 has been shown on the display fully.When beginning to export the 40th row, switch output unit 207 and can export first image 220 always in the image pixel of corresponding location of pixels, finish until a complete image frame output.
Scope that it should be noted that demonstration second image 211 can be judged by its origin coordinates and size, perhaps utilizes the size of second image 211 to calculate its boundary coordinate in advance, and utilizes boundary coordinate control switching output unit 207 to switch output.In addition, if display there is no above-mentioned traditional DISPLAY ORDER, then switch output unit 207 and just can directly show second image 211 in showing according to the position of second image 211, the image at other position then shows the image pixel of first image 220.
Fig. 3 has shown the operational flowchart according to the image overlap display packing of the embodiment of the invention.At first, as step S301, image overlap display system 200 receives first image 220 with detection module 202, and detects the synchronous sequence signal of corresponding first image 220, and is sent to control module 204.Similarly, first image 220 can be digital signal by A/D converter 201 by analog signal conversion in advance, and offers detection module 202 and detect its synchronous sequence signal.And if 220 of first images as digital signal, then need not change.
Then, as step S302, image overlap display system 200 receives by remote host 210 with transmission interface 203 and transmits second image 211 of the overlapping demonstration of desire.Wherein, second image 211 has display position data, and meets the picture format of the resolution data and the image overlap display system 200 of first image 220.In addition, as step S303, control module 204 receives second image 211 synchronously, and forms the switching controls instruction according to the synchronous sequence signal and second image 211 of first image 220.Similarly, when remote host 210 can't be obtained the resolution data of first image 220, detection module 202 was judged corresponding resolution data according to the synchronous sequence signal of first image 220, and the resolution data are sent to remote host 210.In addition, remote host 210 carries out a converse routine with second image 211 in advance, so that second image 211 meets the picture format of image overlap display system 200.
Afterwards, as step S304, transmit the switching controls instruction to switching output unit 207 via control module 204, and synchronous sequence signal according to this first image 220, when the show state of display position data fit first image 220 of second image 211, with control module 204 second image is exported to and to switch output unit 207.
At last, as step S305, receive second image 211 that first image 220 reaches from control module 204 to switch output unit 207, and instruct according to switching controls, to select output first image 220 or from second image of control module 204, so that second image 211 be overlapped in first image 220 on, and be shown in the display device.In the same manner, if display device only can accept simulating signal, then can be converted to simulating signal by digital signal with D/A converter 205 before 211 outputs of second image.
Therefore, via image overlap display system and method proposed by the invention, under the resource that does not take computer system, carry out image overlapping and demonstration via switching output unit with hardware mode.
Though the present invention with the preferred embodiment explanation as above; right its is not in order to qualification the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; should do a little change and retouching, so protection scope of the present invention should claims define is as the criterion.