Embodiment
As shown in Figure 1, mutually electric connection can be set up between the multiple identical portable electron device 100 of present pre-ferred embodiments, and the display screen split of these portable electron devices 100 is combined into a larger compound display screen 90 together, and make the display screen 11 of the plurality of portable electron device 100 show the corresponding part of the larger image of a width respectively by above-mentioned electric connection, thus show complete larger image on this compound display screen 90.See also Fig. 2, described portable electron device 100 comprises main body 10, some sensors 30 and nucleus module 50, establish the module (radio communication, voice and video playback etc.) of the every basic function realizing electronic installation in described main body 10, and be provided with display screen 11.Described some sensors 30 and nucleus module 50 are all arranged in main body 10, whether described sensor 30 has other electronic installation device to be electrically connected to this portable electron device 100 in order to sensing, and the data transmission realized between the device after being electrically connected, nucleus module 50 in order to control the electric connection between portable electron device 100, and controls the image file that broadcasting is selected jointly of the portable electron device 100 after this electric connection.
Described some sensors 30 are arranged on each side of the display screen of main body 10 respectively.Because the display screen of existing portable electron device 100 is generally rectangular, therefore the number of described sensor 30 is 4.Separately, each sensor 30 described is preferably placed on the side being arranged at correspondence of the left upper of display screen, that is, the sensor 30 on two bases up and down of display screen keeps left setting, and the sensor 30 on the limit, the left and right sides of display screen is arranged near the top of display screen.Described sensor 30 realizes following functions: whether (1) sensing has other device to be electrically connected to the side of sensor 30 correspondence of this portable electron device 100; (2) when sensor 30 has sensed device electric connection, transmission one signal is informed described nucleus module 50 by it, so that nucleus module 50 determines the Connected degree (be electrically connected to the number of the device of this portable electron device 100, Connected degree is generally 0-4) of this portable electron device; (3) data transmission realized between the electronic installation that is connected (comprises the coordinate of each portable electron device, processor performance, screen resolution, state (being in initialization, broadcasting or off-mode); (4) image file to be played is transmitted.In embodiment of the present invention, when described sensor 30 sensed other portable electron devices be connected to this portable electron device 100 time, sensor 30 will send a signal to nucleus module, to inform that device is connected to the side at this sensor 30 place.
Nucleus module 50 realizes following functions: (1) sets up the electric connection between portable electron device 100; (2) signal fed back according to sensor 30 determines the Connected degree of this portable electron device 100; (3) the identification type (identification type comprises automatic and manual operation) of this portable electron device 100 is determined; (4) by the identification type determination initial point device (coordinate of this initial point device will be (0,0)) of setting; (5) to other device location (determining to be linked to the coordinate of the relative initial point device of other device of initial point device) being linked to this initial point device; (6) pattern that portable electron device 100 and all devices of being electrically connected to portable electron device 100 carry out resolution and the broadcasting of playing is set; (7) portable electron device 100 and the device that is electrically connected mutually is controlled with the mode playback image file of the resolution arranged and broadcasting.See also Fig. 3 and Fig. 4, the player method that this kind can be electrically connected the portable electron device 100 expanding display screen mutually comprises the steps:
Step 1: the initialization before broadcasting.Initialization before this broadcasting connects by each portable electron device 100, determine initial point device and position each coupling arrangement (being electrically connected to other portable electron devices of initial point device).In embodiment of the present invention, the coordinate of initial point device will be set to (0,0), and by determining that the coordinate of the relative initial point device of each coupling arrangement positions coupling arrangement.
Step 2: the resolution that setting is play and play mode.Determine the resolution of the best that all portable electron devices are all suitable for according to the relevant configuration setting up each portable electron device linked, and determine preferably play mode according to the performance of each portable electron device.Wherein, described resolution is preferably the greatest common factor of the resolution of each portable electron device.Play mode comprises direct broadcast mode, indirectly broadcast mode and master slave mode and broadcasts three kinds, when the performance difference of the processor of each portable electron device is less, then image file to be played is directly broadcast to coupling arrangement and is decoded respectively broadcasting by each device by initial point device; When the performance difference of the processor of each portable electron device is larger, and during the performance of the processor performance of initial point device inferior to the processor of other a certain coupling arrangement, the mode of broadcast indirectly will be adopted, namely after image file is sent to the coupling arrangement of processor performance the best by described initial point device, be broadcast to other device by the coupling arrangement of this performance the best again by after image file decoding to be played again, other coupling arrangement receives image file and can play-over; When the performance difference of the processor of each portable electron device is larger, and during the processor performance of initial point device the best, master slave mode will be adopted, namely described initial point device is broadcast to each coupling arrangement again by after image file decoding to be played, and each coupling arrangement receives this decoded image file and can play-over.
Step 3: play.The portable electron device 100 be connected plays the image file that initial point device is play jointly, plays, thus provide user one preferably viewing effect with the larger display screen that the multiple portable electron devices 100 be connected by this are surrounded.
Wherein, the method each portable electron device 100 being set up electric connection in described step 1 is: offset portable electron device to be electrically connected setting, make the display screen of portable electron device 100 towards identical and tight split together, the display screen 11 of the plurality of portable electron device 100 is made to surround a compound display screen 90, the aligning and the corresponding side of portable electron device 100 offsets, makes the sensor 30 on this side also align and set up electric connection.
See also Fig. 2 and Fig. 3, when each portable electron device 100 being positioned in step 1, comprise the following steps:
S301: nucleus module 50 judges whether the identification state of this portable electron device 100 is automatic mode, if automatic mode, then performs step S302; If not, be manual mode, then perform step S311.
S302: the data that wait-receiving mode coupling arrangement (being electrically connected to the device of this portable electron device 100) transmits, and perform step S303, if time-out does not receive the data that coupling arrangement transmits yet, then perform the part A process flow diagram shown in Fig. 3.
S303: nucleus module 50 judges whether comprise coordinate in the data that the coupling arrangement received transmits, and if not, illustrates in coupling arrangement and does not comprise initial point device, then perform step S304, if so, then illustrate in coupling arrangement and comprise initial point device, then perform step S313.
S304: nucleus module 50 judges whether the Connected degree of this portable electron device 100 is greater than the Connected degree of coupling arrangement, if so, then performs step S305, if not, is then back to step S301.
S305: set the initial point device that this portable electron device 100 is candidate, and judge whether the portable electron device 100 of this candidate is in picture signal broadcast state, if not, then perform step S306, if so, then perform step S307.
Step S306: the identification type that nucleus module 50 changes this portable electron device 100 is manual mode, and is back to step S301.In embodiment of the present invention, if the initial point device of this candidate is not in picture signal broadcast state, then also need manual start initial point device playing video file, just transmit by the initial point device in this broadcasting the video file play and play together to hookup mechanism.
S307: setting this portable electron device 100 is initial point device, and performs step S308.In embodiment of the present invention, if the device of up-to-date broadcasting will be set as initial point device, the image file that the device of this up-to-date broadcasting is play is image file to be played, and without the need to the playing image file at first of in manual start portable electron device 100 or coupling arrangement.
S308: the coordinate of the group name that this connects by this initial point device and each coupling arrangement is sent to corresponding coupling arrangement.In embodiment of the present invention, the coordinate of each coupling arrangement is by being close to this coupling arrangement and the apparatus adjacent transmission of close initial point device.Such as, the coordinate of initial point device is (0,0), the setting coordinate of the apparatus adjacent being connected to this initial point device left side is (1 by this initial point device, 0), the coordinate being connected to the vicinity above initial point device is (0,1), being connected to coordinate is (1,0) coordinate of the apparatus adjacent in left side is (2,0), and described initial point device is by the coordinate (2 of described new coupling arrangement, 0) this new apparatus adjacent is sent to by coupling arrangement (1,0).Namely each device realizes location by coordinate, so that initial point device realizes the communication with corresponding coupling arrangement by this coordinate.
S311: wait-receiving mode play instruction or coordinate, and perform step S312.The play instruction of described portable electron device wait-receiving mode user input, or the coordinate that apparatus adjacent transmits.
S312: whether receive play instruction and play, if not, then what illustrate that this device receives is the coordinate of this device inputted by apparatus adjacent, namely there is initial point device, will perform step S313; If so, then illustrate this device receive user input play instruction and playing image file, then perform step S314.
S313: link up with initial point device and link up coordinate with coupling arrangement, to locate initial point device and coupling arrangement by coordinate and to set up communication.
S314: judge whether that being first receives the play instruction of user's input and carry out playing, and if so, then performs step S307, if not, is then back to step S311.
See also Fig. 4, if time-out in step S302, illustrate that this portable electron device 100 is identical with the Connected degree of coupling arrangement, will the flow process of steps A part be performed.
S401: judge this portable electron device 100 whether in picture signal broadcast state, if so, then perform step S402, if not, then perform step S405.
S402: judge whether coupling arrangement is in picture signal broadcast state, if so, then performs step S403, if not, is then back to the step S307 in Fig. 2.In embodiment of the present invention, when the Connected degree of stream oriented device connected is the same and when only having a device to be in picture signal broadcast state in stream oriented device, then the device in playing is set to initial point device.If when stream oriented device is all in picture signal broadcast state, then the device being positioned at the upper left corner of compound display screen 90 is set to initial point device.
S403: judge whether this portable electron device 100 is positioned at the upper left corner of compound display screen 90, is if so, then back to the step S307 in Fig. 2; If not, then step S404 is performed.In embodiment of the present invention, the coordinate by initial point device and each coupling arrangement judges whether the position of each device is positioned at the upper left corner of the whole compound display screen 90 after electric connection.
S404: wait for that the coupling arrangement near the vicinity of initial point device sends the coordinate of this device, and perform the step S313 in Fig. 3.If described portable electron device 100 is not positioned at the upper left corner of compound display screen 90, and will be regarded as being linked to a coupling arrangement of the initial point device being positioned at the upper left corner, will wait for that the apparatus adjacent be electrically connected mutually sends the coordinate of this device.
S405: judge whether coupling arrangement is in picture signal broadcast state, be if so, then back to the step S307 in Fig. 3, to set this coupling arrangement as initial point device.Because the Connected degree of these two devices be electrically connected is identical, and only have a device in broadcasting, therefore this device in setting broadcasting is initial point device.If not, then all devices are not all in broadcast state, cannot automatically set initial point device, then be back to the step S306 in Fig. 3, be manual mode by change identification state, and be back to step S301, manually to be set the device play at first by user as initial point device.
To be initiated complete after, transmission is comprised the data of following information to initial point device by the device be electrically connected: coordinate, processor performance, screen resolution, state (being in initialization, broadcasting or off-mode), so that initial point device chooses preferably resolution and a play mode, make described initial point device, by the play mode chosen, image file is sent to coupling arrangement, and play by the resolution chosen.
After the resolution that completes and set broadcasting to be initiated and play mode, the image file that band is play is sent to each coupling arrangement by by selected play mode (directly broadcast, indirect broadcast or master slave mode broadcast) by described initial point device, is then respectively installed in described image file the picture capturing correspondence and plays.Such as: after each device receives image file, described picture is divided into some parts (as 4 parts or 16 parts), and the image section that the position of the display screen 11 of this device corresponding in described compound display screen 90 captures correspondence is play, the picture that the display screen 11 of each device is play is pieced together and is formed complete picture to be played.In embodiment of the present invention, the image file that described initial point device transmits is that segmentation transmits, and image file to be played is divided into some segment file stream by it, then being spread by this file is piecemeal delivered to other coupling arrangement and play.
When in time setting up the Shi Liangge group be electrically connected, namely after multiple portable electron device interconnected formation one group, then set up with another group and be electrically connected.Now, by identical for the Connected degree looking this Liang Ge group, similar to the method flow shown in Fig. 3 to the localization method of the identical group of described two Connected degree.Be specially: when Jin Youyige group in Liang Ge group plays, then the group play will be set to initial point device, and another device is electrically connected to initial point device, then be positioned communication consistent with the electric connection principle between portable electron device 100.Its difference is only: when Liang Ge group is all in picture signal broadcast state, initial point device is determined by the size (comprise how many portable electron devices and be electrically connected formation) of group, if Liang Ge group is in the same size, then the left upper which group to be positioned at the compound display screen 90 be combined to form by determines initial point device.
Portable electron device 100 of the present invention is similar can set up electric connection each other, between multiple such portable electron device 100, all set up these be electrically connected, and the display screen split of these portable electron devices 100 together time, the display screen of these portable electron devices can form a larger compound display screen 90 with the larger image of common display size, to provide preferably viewing effect.