Summary of the invention
In view of this, be necessary to provide a kind of image display system, electronic installation and image display method, easily extensible display area.
A kind of image display system, this system comprises a main electronic installation and electronic installation at least one times, this main electronic installation comprises a main display unit and a processing unit, this electronic installation comprises a display unit and a control module, this main display unit and this display unit are used for display frame, this main display unit and this at least one times display unit jointly form a synthesis display unit, this main display unit and this at least one times display unit respectively by several display grids form; This main electronic installation and at least one times electronic installation also comprise multiple sensing cell, for sensing the connection of this main display unit and this display unit at least one times; This processing unit comprises a sensing module, a determination module, a segmentation module and a control display module; This sensing module senses the array mode of this main display unit and this display unit at least one times according to those sensing cells, determine the maximum display number of squares M of this synthesis display unit in transverse direction and the maximum display number of squares N in longitudinal direction, and construct a minimum virtual display interface M*N; This determination module determines the actual maximum matrix display area m*n that can be used for showing of this synthesis display unit according to divide and conquer and this minimum virtual display interface M*N, and determine in this maximum matrix display area m*n main display unit and the display grid that display unit is shared separately at least one times, wherein, m and n is that this synthesis display unit is in the horizontal and vertical display number of squares comprised respectively; This picture is divided into m*n sprite according to the actual maximum matrix display area m*n that can be used for showing of this synthesis display unit by this segmentation module, and determines this main display unit and this sprite shown needed for display unit at least one times according to main display unit in this maximum matrix display area m*n and this display grid that display unit is shared separately at least one times; This control display module shows corresponding sprite for controlling in this main display unit display grid corresponding in maximum matrix display area; This control module shows corresponding sprite for controlling in this display grid that display unit is corresponding in maximum matrix display area at least one times.
A kind of electronic installation, comprise a main display unit and a processing unit, this electronic installation also comprises multiple sensing cell, for sensing the main display unit of this electronic installation and at least one connection comprising other electronic installations of a display unit, this main display unit and this display unit form a synthesis display unit, this main display unit and this at least one times display unit be made up of several display grids; This processing unit comprises a sensing module, a determination module, a segmentation module and a control display module; This sensing module senses the array mode of this main display unit and this display unit at least one times according to those sensing cells, determine that this synthesis display unit is at the maximum display number of squares M of transverse direction and this synthesis display unit maximum display number of squares N in longitudinal direction, and construct a minimum virtual display interface M*N; This determination module determines the actual maximum matrix display area m*n that can be used for showing of this synthesis display unit according to divide and conquer and this minimum virtual display interface M*N, and determines this main display unit and this display grid that display unit is shared separately at least one times in maximum matrix display area m*n; This picture is divided into m*n sprite according to this maximum matrix display area m*n by this segmentation module, and determines this main display unit and this sprite shown needed for display unit at least one times according to this this main display unit and this display grid that display unit is shared separately at least one times in maximum matrix display area m*n; This control display module shows corresponding sprite for controlling in this main display unit display grid corresponding in maximum matrix display area, and send one and control signal to this other electronic installations at least one, trigger in this display unit display grid corresponding in maximum matrix display area and show corresponding sprite.
A kind of image display method, this image display method is applied on an image display system, this image display system comprises a main electronic installation and electronic installation at least one times, this main electronic installation comprises a main display unit, this electronic installation comprises a display unit, this main electronic installation and this electronic installation also comprise multiple sensing cell, this main display unit and this at least one times display unit for showing image, this main display unit and this at least one times display unit respectively by several display grids form, this main display unit and this at least one times display unit jointly form a synthesis display unit, this sensing cell is arranged on this main display unit, the method comprises: the array mode sensing this main display unit and this display unit at least one times according to this sensing cell, determine that this synthesis display unit is at the maximum display number of squares M of transverse direction and this synthesis display unit maximum display number of squares N in longitudinal direction, and construct a minimum virtual display interface M*N, determine the actual maximum matrix display area m*n that can be used for showing of this synthesis display unit according to divide and conquer and this minimum virtual display interface M*N, and determine this main display unit and this display grid that display unit is shared separately at least one times in this maximum matrix display area m*n, according to the actual maximum matrix display area m*n that can be used for showing of this synthesis display unit, this picture to be shown is divided into m*n sprite, and determines this main display unit and this sprite shown needed for display unit at least one times according to this this main display unit and this display grid that display unit is shared separately at least one times in maximum matrix display area m*n, control to show corresponding sprite in this main display unit display number of squares corresponding in maximum matrix display area, control to show corresponding sprite in this display number of squares that display unit is corresponding in maximum matrix display area at least one times.
The present invention determines the maximum display number of squares M of this synthesis display unit in transverse direction and the maximum display number of squares N in longitudinal direction by sensing module, and construct a minimum virtual display interface M*N, determination module determines the actual maximum matrix display area m*n that can be used for showing of this synthesis display unit according to divide and conquer and this minimum virtual display interface M*N, and determine in this maximum matrix display area m*n main display unit and at least one times display unit separately shared by display grid.This picture is divided into m*n sprite according to the actual maximum matrix display area m*n that can be used for showing of this synthesis display unit by segmentation module, and determines this main display unit and this sprite shown needed for display unit at least one times according to main display unit in this maximum matrix display area m*n and this display grid that display unit is shared separately at least one times.This control display module and this control module control to show corresponding sprite in the display grid of this main display unit and this display unit correspondence in maximum matrix display area respectively.Thus expansion display area.
Embodiment
Please refer to Fig. 1-Fig. 2, is the block diagram of the image display system 1 of an embodiment of the present invention.This image display system 1 comprises a main electronic installation 10 and electronic installation 20 at least one times.When this at least one electronic installation 20 is connected with this main electronic installation 10, can together with this main electronic installation 10, common display one image frame, thus expand the display area of main electronic installation 10.
This main electronic installation 10 comprises a main display unit 11, multiple sensing cell 12, main memory unit 13 and a processing unit 14.
This electronic installation 20 comprises display unit 21, multiple sensing cell 12, storage unit 22 and a control module 23.
The plurality of sensing cell 12 is arranged on this main display unit 11 and this display unit 21 respectively, is connected with this main display unit 11 for sensing this display unit 21, and realizes the data transmission between the device after connecting.This sensing cell 12 senses method that this display unit 21 be connected with this main display unit 11 and realizes data transmission that to be applied case number be CN201110136083.3, title, disclosed by the application case of " portable electron device and player method thereof ", no longer describes here.After the main display unit 11 of secondary display unit 21 and this is connected, this display unit 21 and this main display unit 11 form a synthesis display unit 24 (as shown in Figure 3), and this synthesis display unit 24 is for showing an image frame.
The PPI (pixels per inch, the number of pixels that per inch has) of main display unit 11 is stored, horizontal resolution Rw and longitudinal resolution Rh in this main memory unit 13.To divide into the PPI of main display unit 11 for PPI1, horizontal resolution is Rw1, and longitudinal resolution is Rh1.
Store the PPI of time display unit 21, horizontal resolution and longitudinal resolution in this storage unit 22, to divide into the PPI of time storage unit 22 for PPI2, horizontal resolution is Rw2, and longitudinal resolution is Rh2.
This processing unit 14 comprises acquisition module 141, computing module 142, detecting module 143, determination module 144, segmentation module 145, amplification module 146 and and controls display module 147.
This acquisition module 141, for when this electronic installation 20 is connected with this main electronic installation 10, obtains the PPI of this main display unit 11 and this display unit 21, horizontal resolution and longitudinal resolution.
This computing module 142 calculates this main display unit 11 and this display unit 21 in the horizontal and vertical display number of squares comprised respectively according to the main display unit 11 of this acquisition and the PPI of this display unit 21, horizontal resolution and longitudinal resolution.Wherein, this computing module 142 calculate this main display unit 11 and this display unit 21 as follows at the concrete grammar of the horizontal and vertical display number of squares comprised respectively:
This computing module 142 compares the PPI of this main display unit 11 and this display unit 21 correspondence, draws PPI less during this between the two, i.e. PPI
min.This computing module 142 also calculates multiple a and b of PPI relative to PPImin of this main display unit 11 and this display unit 21, and according to formula Rw=GCD (Rw1/a, and Rh=GCD (Rh1/a Rw2/b), Rh2/b) determine the horizontal base resolve Rw of this synthesis display unit 24 and longitudinal base resolve Rh, wherein GCD function is for asking highest common factor function.This computing module 142 also obtains this main display unit 11 in the display number of squares laterally comprised with the horizontal resolution of this main display unit 11 divided by the horizontal base resolve of this synthesis display unit 24 respectively, this main display unit 11 is obtained in the display number of squares longitudinally comprised divided by longitudinal base resolve of this synthesis display unit 24 with longitudinal resolution of this main display unit 11, this display unit 21 is obtained in the display number of squares laterally comprised divided by the horizontal base resolve of this synthesis display unit 24 with the horizontal resolution of this display unit 21, and obtain this display unit 21 in the display number of squares longitudinally comprised with longitudinal resolution of this display unit 21 divided by longitudinal base resolve of this synthesis display unit 24.
This detecting module 143 is also for determining the array mode of this main display unit 11 and this display unit 21 according to the sensing result of this sensing cell 12, wherein, determining that the array mode of this main display unit 11 and this display unit 21 has also been applied case number according to the sensing result of this sensing cell 12 is CN201110136083.3, title, disclosed by the application case of " portable electron device and player method thereof ", no longer describes here.The array mode that this detecting module 143 is determined according to this, determine at the maximum display number of squares M laterally comprised with the maximum display number of squares N (as shown in Figure 3) longitudinally comprised in this synthesis display unit 24, thus structure one minimum virtual display interface M*N.
This determination module 144 determines the actual maximum matrix display area m*n (as shown in Figure 4) that can be used for showing of this synthesis display unit 24 according to divide and conquer (Divide and Conquer) and this minimum virtual display interface M*N, and determines main display unit 11 and the respective shared display grid of secondary display unit 21 in this maximum display matrix viewing area m*n.Wherein m and n be this synthesis display unit 24 in the horizontal and vertical display number of squares comprised respectively, in detail in this figure, actual can be used for show display number of squares be all full of by oblique line.
This picture that need show is divided into m*n sprite according to this display number of squares m and n by this segmentation module 145, and determines the sprite of this main display unit 11 and this required display of display unit 21 according to main display unit 11 in this maximum matrix display area m*n and the respective shared display grid of secondary display unit 21.
The picture of this main display unit 11 and this required display of display unit 21, for calculating the enlargement ratio of display frame needed for this main display unit 11 and this display unit 21, amplifies according to enlargement ratio by this amplification module 146.The formula wherein calculating the enlargement ratio of the transverse direction of display frame needed for this main display unit 11 and time display unit 21 is as follows:
wherein, the enlargement ratio of Tw display frame transverse direction needed for this main display unit 11 or secondary display unit 21, Rw is the horizontal base resolution of synthesis display unit 24, m is the display number of squares of maximum matrix display area included by transverse direction, Iw is the PPI of source picture included by transverse direction, PPI is the PPI of corresponding main display unit 11 or secondary display unit 21, PPI
minbe PPI minimum in main display unit 11 and secondary display unit 21.Then, this amplification module 146 laterally amplifying the sprite of display on main display unit 11 with the enlargement factor of main display unit 11, amplifies the enlargement factor of the laterally the following display unit 21 of the sprite of display on secondary display unit 21.
The formula wherein calculating the enlargement ratio of display frame longitudinal direction needed for this main display unit 11 and time display unit 21 is as follows:
wherein, T
hthe enlargement ratio of display frame longitudinal direction needed for this main display unit 11 or secondary display unit 21, R
hfor longitudinal base resolution of synthesis display unit 24, n is the display number of squares of maximum matrix display area included by longitudinal direction, I
hfor the PPI that the PPI of source picture included by longitudinal direction, PPI are corresponding main display unit 11 or secondary display unit 21, PPI
minbe PPI minimum in main display unit 11 and secondary display unit 21.Then, this amplification module longitudinally amplifying the sprite of display on main display unit 11 with the enlargement factor of main display unit 11, amplifies the enlargement factor of the longitudinally the following display unit 21 of the sprite of display on secondary display unit 21.
The control display module 147 of this main electronic installation 10 controls to show corresponding picture in this main display unit 11 display grid corresponding in maximum matrix display area.
The control module 23 of this electronic installation 20 shows corresponding picture for controlling in this display unit 21 display grid corresponding in maximum matrix display area.
Please refer to Fig. 5, is the process flow diagram of image display method in an embodiment of the present invention.This image implementation method is applied on the image display system 1 shown in Fig. 1.
In step S501, this acquisition module 141 obtains the PPI of this main display unit 11 and this display unit 21, horizontal resolution and longitudinal resolution.
In step S502, this computing module 142 is according to the PPI of this acquisition, and horizontal resolution and longitudinal resolution calculate this main display unit 11 with this display unit 21 in the horizontal and vertical display number of squares comprised respectively.
In step S503, this detecting module 143 determines the array mode of this main display unit 11 and this display unit 21 by this sensing cell 12, determine at the maximum display number of squares M laterally comprised with at the maximum display number of squares N longitudinally comprised in this synthesis display unit 24, thus structure one minimum virtual display interface M*N.
In step S504, this determination module 144 determines the actual maximum matrix display area m*n that can be used for showing of this synthesis display unit 24 according to divide and conquer and this minimum virtual display interface M*N, and determines main display unit 11 and the respective shared display grid of secondary display unit 21 in this maximum matrix display area m*n.Wherein, m and n is that this synthesis display unit 24 is in the horizontal and vertical display number of squares comprised respectively.
In step S505, this picture that need show is divided into m*n sprite according to this display number of squares m and n by this segmentation module 145, and determines the sprite of this main display unit 11 and this required display of display unit 21 according to this main display unit 11 in this maximum display matrix viewing area m*n determined and the respective shared display grid of secondary display unit 21.
In step S506, this amplification module 146 calculates the enlargement ratio of display frame needed for this main display unit 11 and this display unit 21, is amplified by the picture of this main display unit 11 and this required display of display unit 21 according to this enlargement ratio.
In step s 507, this control display module 147 controls this main display unit 11 and shows corresponding sprite, and the control module 23 of this electronic installation 20 controls this display unit 21 and shows corresponding sprite.
Those skilled in the art will be appreciated that; above embodiment is only used to the present invention is described; and be not used as limitation of the invention; as long as within spirit of the present invention, the suitable change do above embodiment and change all drop within the scope of protection of present invention.