Summary of the invention
The embodiment of the present invention provides a kind of terminal, system and the method for dual-unit cooperative work, which increases singleThe display screen scope of terminal, enhances user's experience to terminal.
Concrete, a kind of terminal of embodiment of the present invention offer, it may include:
Display screen, for output display content;
First interface, is connected with the second interface of another terminal, for passing data mutually with described second interface;
Merge module, for when detecting that described first interface is connected with described second interface foundation, inciting somebody to action thisThe display screen of terminal carries out logic with the display screen of another terminal described and merges;
Processor, for when described merging module is by the display screen of the display screen of this terminal Yu another terminal describedAfter carrying out logic merging, calculate aobvious in this terminal of this terminal or another terminal described display content to be outputDistribution on the display screen of display screen and another terminal described, and the display screen of this terminal is controlled according to result of calculationDisplay corresponding contents, and control the content transmission that the display screen of another terminal need to be shown by described first interfaceTo described second interface, so that the content that the display screen of another terminal need to be shown by described second interface is through instituteState the processor of another terminal to send the display screen of another terminal described to and show.
Accordingly, the system of a kind of dual-unit cooperative work that the embodiment of the present invention provides, including first terminal andSecond terminal, described second terminal includes display screen, the second interface, processor;Described first terminal includesDisplay screen, first interface, merging module and processor;
The display screen of described first terminal and the display screen of described second terminal are used to output display content;
The first interface of described first terminal is connected with the second interface of described second terminal, for passing data mutually;
The merging module of described first terminal, for when detecting that described first interface is built with described second interfaceDuring vertical connection, the display screen of the display screen of described first terminal with described second terminal is carried out logic and merges;
The processor of described first terminal, for when described merging module by the display screen of described first terminal withAfter the display screen of described second terminal carries out logic merging, calculate described first terminal or described second terminal is treatedThe distribution on the display screen of first terminal and the display screen of described second terminal of the display content of output, and rootControl the display screen display corresponding contents of described first terminal according to result of calculation, and control described first interfaceThe content that the display screen of described second terminal need to show is transferred to described second interface, so that described second connectsThe content that the display screen of described second terminal need to be shown by mouth sends institute to through the processor of described second terminalThe display screen stating the second terminal shows;
The processor of described second terminal for by from the second interface to display content send described the toThe display screen of two terminals shows.
Accordingly, the method for a kind of dual-unit cooperative work that the embodiment of the present invention provides, when first terminal detectsSet up when connecting, by described first eventually to the first interface of described first terminal and the second interface of the second terminalThe display screen of end carries out logic with the display screen of described second terminal and merges;
When described first terminal or described second terminal need video data, described first terminal is logicallyDisplay screen range computation after merging display content to be output is at the display screen and described of described first terminalDistribution on the display screen of two terminals, and the display screen display phase of described first terminal is controlled according to result of calculationAnswer content, and control described first interface the content that the display screen of described second terminal need to show is transferred toDescribed second interface;
The content that the display screen of described second terminal need to be shown by described second interface is through described second terminalProcessor sends the display screen of described second terminal to and shows.
The embodiment of the present invention detects the of the first interface of described first terminal and the second terminal when first terminalTwo interfaces are set up when connecting, and are patrolled by the display screen of the display screen of described first terminal with described second terminalCollect and merge;When described first terminal or described second terminal need video data, described first terminal according toLogic merge after display screen range computation display content to be output in the display screen of described first terminal and instituteState the distribution on the display screen of the second terminal, and control the display screen display of described first terminal according to result of calculationShow corresponding contents, and control the content biography that the display screen of described second terminal need to be shown by described first interfaceIt is defeated by described second interface;The content that the display screen of described second terminal need to be shown by described second interface is passed throughThe processor of described second terminal sends the display screen of described second terminal to and shows, thus achieves logicalThe indication range of the display screen of single terminal is extended by the display screen crossing two terminals, enhances userExperience to terminal.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearlyChu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than allEmbodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative laborThe every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
Fig. 1 is the structure composition schematic diagram of an embodiment of the dual systems of the present invention.As it is shown in figure 1, thisThe dual systems of invention includes that (in implementing, the terminal in the embodiment of the present invention can be for terminal 1 and terminal 2Mobile phone, PDA etc. are with the terminal unit of display screen), wherein, described terminal 1 includes display screen 11, placeReason device 12, first interface 13 and merging module 14, described terminal 2 includes display screen 21, processor 22And second interface 23, concrete:
The display screen 11 of terminal 1 and the display screen 21 of terminal 2 are used to output display content.ImplementIn, the display screen 11 of terminal 1 and the display screen 21 of terminal 2 can be touch screen.
Second interface 23 of the first interface 13 of terminal 1 and terminal 2 by interface connector 31 be connected (In other embodiment, first interface 13 and the second interface 23 also can wirelessly be attached),First interface 13 and the second interface 23 are for mutually passing data.In implementing, first interface 13 andTwo interfaces 23 can be symmetric coupling (such as, live wire firewire, symmetrical USB interface etc.) and non-rightClaim interface (such as, asymmetrical USB interface).
The merging module 14 of terminal 1, for when described first interface 13 and described second interface 23 being detectedWhen setting up connection, the display screen 11 of terminal 1 is carried out logic with the display screen 21 of described terminal 2 and merges,Two pieces of screen logic will merge into the giant-screen that one piece of area is two screen area sums.
The processor 12 of terminal 1, for when described merging module 14 by the display screen 11 of terminal 1 with describedDisplay screen range computation terminal 1 after the display screen 21 of terminal 2 carries out logic merging, after logically mergingOr institute's terminal 2 display content to be output is on the display screen 11 of terminal 1 and the display screen 21 of terminal 2Distribution (such as, be allocated according to the screen size ratio of display screen 11 and display screen 21), and according to meterThe display screen 11 calculating output control terminal 1 shows corresponding contents, and controls described first interface 13 by eventuallyThe content that the display screen 21 of end 2 need to show is transferred to the second interface 23 and (passes through interface connector in FIG31 are transmitted) so that the second interface 23 sends the content that the display screen 21 of terminal 2 need to show to terminalThe display screen 21 of 2 carries out showing that (in FIG, display content is sent to the place of terminal 2 by the second interface 23Reason device 22, then sent to display screen 21 by processor 22).
The processor 22 of terminal 2, for sending the display content received from the second interface 23 to terminal 2Display screen 21 show.
Can realize being combined to the display screen of two terminals appoint in two terminals by above structureThe display screen of one terminal of meaning is extended, and enhances user's experience to terminal.
Further, in other examples, the merging module 14 of terminal 1 is additionally operable to when detecting that first connectsMouth 13 is set up with the second interface 23 when being connected, by the connection of described second interface 23 to first interface 13Path receives input or the output data of terminal 2, and is sent to described processor 12 and carries out inputting or exporting controlSystem, and by the connecting path of described first interface to the second interface by the control number of results of described processorInput or output function is performed according to being sent to another terminal described.On this basis, terminal 1 and terminal 2All controls process and are completed by terminal 1, and terminal 2 can be only used as an input-output equipment and joinClose terminal 1.So can save the processing load of terminal 2, and the resource of Appropriate application terminal 1.
In other examples, terminal 2 may also comprise a merging identical with merging module 14 functionModule, any one in such terminal 1 and terminal 2 all can realize merging and the control process of screen.
In implementing, merge module 14 at the display screen by the display screen 11 of terminal 1 with described terminal 2Before 21 carry out logic merging, also can the display of parameter configuration and terminal 2 of display screen 11 of analysing terminal 1Whether the parameter configuration of screen 21 mates, and upon a match, merges.
Accordingly, Fig. 2 be the present invention dual-unit cooperative work method an embodiment flow process composition signalFigure.As in figure 2 it is shown, it comprises the steps that
Step S210, when first terminal detects the first interface and the second of the second terminal of described first terminalInterface is set up when connecting, and the display screen of the display screen of described first terminal Yu described second terminal is carried out logicMerge.
Step S211, when described first terminal or described second terminal need video data, described first eventuallyEnd logically merge after display screen range computation display content to be output in the display of described first terminalDistribution on the display screen of screen and described second terminal, and control the aobvious of described first terminal according to result of calculationDisplay screen display corresponding contents, and control what the display screen of described second terminal need to be shown by described first interfaceContent is transferred to described second interface;
Step S212, the content that the display screen of described second terminal need to be shown by described second interface is through describedThe processor of the second terminal sends the display screen of described second terminal to and shows.
In implementing, first interface and the second interface can be connected by interface connector, or, first interfaceAlso can wirelessly be attached with the second interface.And first interface and the second interface can be that symmetry connectsMouthful (such as, live wire firewire, symmetrical USB interface etc.) or asymmetric coupling are (such as, asymmetricalUSB interface).
In implementing, in step S210, the display screen of first terminal and the second terminal is entered by first terminalRow logic merges to be specially merges into the large-size screen monitors that one piece of area is two screen area sums by two pieces of screen logicCurtain.
In implementing, can be according to first terminal display screen and the screen of the display screen of the second terminal in step S211Curtain size carries out showing the distribution of content.
Can realize being combined to the display screen of two terminals appoint in two terminals by above flow processThe display screen of one terminal of meaning is extended, and enhances user's experience to terminal.
Further, in other examples, when first interface being detected and the second interface sets up connection,Further, in other examples, first terminal also can be worked as and detected that first interface and the second interface are set upDuring connection, received input or the output of the second terminal by the connecting path of described second interface to first interfaceData, and carry out inputting or exporting control, and the connecting path by described first interface to the second interfaceControl result data is sent to described second terminal and performs input or output function.On this basis, firstAll controls of terminal and the second terminal process and are completed by first terminal, and the second terminal can be only used asOne input-output equipment coordinates first terminal.So can save the processing load of the second terminal, and rationallyUtilize the resource of first terminal.
In implementing, in step S210, the display screen of first terminal and the display screen of the second terminal are closedAnd before, the parameter configuration of display screen that also can analyze first terminal is joined with the parameter of the display screen of the second terminalPut and whether mate, and upon a match, merge.
Therefore, when first terminal detects the first interface and the second of the second terminal of described first terminalInterface is set up when connecting, and the display screen of the display screen of described first terminal Yu described second terminal is carried out logicMerge;When described first terminal or described second terminal need video data, described first terminal is according to patrollingDisplay screen range computation display content to be output after volume merging is at the display screen of described first terminal and describedDistribution on the display screen of the second terminal, and show according to the display screen of the result of calculation described first terminal of controlCorresponding contents, and control the content transmission that the display screen of described second terminal need to be shown by described first interfaceTo described second interface;The content that the display screen of described second terminal need to be shown by described second interface is through instituteState the processor of the second terminal to send the display screen of described second terminal to and show, thus achieve and pass throughThe indication range of the display screen of single terminal is extended by the display screen of two terminals, enhances user coupleThe experience of terminal..
The module of the embodiment of the present invention or unit, can with universal integrated circuit (such as central processor CPU), or withSpecial IC (ASIC) realizes.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,Can be by audio collecting device program and complete to instruct relevant hardware, described program can be stored inIn one audio collecting device read/write memory medium, this program is upon execution, it may include such as above-mentioned each methodThe flow process of embodiment.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body(Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM)Deng.
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention itInterest field, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment,And according to the equivalent variations that the claims in the present invention are made, still fall within the scope that invention is contained.