CN103279269A - Method, device and terminal equipment for data interaction among application programs - Google Patents

Method, device and terminal equipment for data interaction among application programs Download PDF

Info

Publication number
CN103279269A
CN103279269A CN2013102136232A CN201310213623A CN103279269A CN 103279269 A CN103279269 A CN 103279269A CN 2013102136232 A CN2013102136232 A CN 2013102136232A CN 201310213623 A CN201310213623 A CN 201310213623A CN 103279269 A CN103279269 A CN 103279269A
Authority
CN
China
Prior art keywords
application program
data
dragged
window
window ranges
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.)
Granted
Application number
CN2013102136232A
Other languages
Chinese (zh)
Other versions
CN103279269B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310213623.2A priority Critical patent/CN103279269B/en
Publication of CN103279269A publication Critical patent/CN103279269A/en
Application granted granted Critical
Publication of CN103279269B publication Critical patent/CN103279269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

An embodiment of the invention discloses a method, a device and terminal equipment for data interaction among application programs. Windows of a plurality of application programs are arrayed on a display interface of the terminal equipment, and the application programs include a first application program and a second application program. The method includes judging whether the second application program can process data which are dragged into the range of the window of the second application program or not when the terminal equipment detects that the data selected in the first application program are dragged into the range of the window of the second application program; and enabling the second application program to process the data which are dragged into the range of the window of the second application program if the second application program can process the data which are dragged into the range of the window of the second application program, and implementing data interaction between the first application program and the second application program.

Description

Data interactive method between a kind of application program and device, terminal device
Technical field
The present invention relates to communication technical field, relate in particular to data interactive method between a kind of application program and device, terminal device.
Background technology
When the active user uses terminal device, the display interface of terminal device can only show the window of an application program, and the window of this application program has taken the whole display interface of this terminal device, make the user can not on terminal device, use two application programs simultaneously, and can not directly carry out the data interaction of the content between the application program rapidly, in the prior art, if need the data interaction between two application programs of realization, the user needs in advance one of them application's data to be kept in the storage space, for example: if the user is when browsing page, want by the picture on the mail transmission webpage, at this moment, the user need carry out following steps: the picture on the webpage is kept in the local folders of terminal device; Open mailbox; The picture of having preserved is inserted transmission again in the mail as annex.
Yet, application's data exchange method of the prior art, after the user need be kept at the data in the application program in the storage space of terminal device, in the another one application program, use these data again, with the storage space of a large amount of occupied terminal equipment, cause the waste of storage space.
Summary of the invention
The embodiment of the invention provides data interactive method between a kind of application program and device, terminal device, be used for the data interaction between the terminal device realization different application, and do not need to preserve in advance the data for mutual, avoid the taking and wasting of storage space of terminal device to a certain extent.
First aspect present invention provides the data interactive method between a kind of application program, the window of a plurality of application programs is arranged on the display interface of terminal device, wherein said a plurality of application program comprises first application program and second application program, and described method comprises:
If described terminal device detects the data of choosing in described first application program and is dragged in the window ranges of described second application program, judge then whether described second application program can handle the described interior data of window ranges that are dragged to described second application program;
If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
In first kind of possible implementation of first aspect, described method further comprises:
Receive window is arranged instruction, and described window is arranged in the instruction and comprise described first application program and described second application program of selecting from described a plurality of application programs;
Described terminal device is arranged in the window of described first application program and described second application program on the display interface of described terminal device.
In second kind of possible implementation of first aspect, describedly judge that whether described second application program can handle the data in the described window ranges that is dragged to described second application program, comprising:
Determine the data type of the data in the described window ranges that is dragged to described second application program;
Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table;
If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can handle the data in the described window ranges that is dragged to described second application program;
If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program.
In conjunction with first aspect or second kind of possible implementation of first aspect, in the third possible implementation, described method also comprises:
If described second application program can not be handled the described interior data of window ranges that are dragged to described second application program, then the display interface at described terminal device shows the information that is used for the mutual failure of reminding data.
Second aspect present invention provides the data interactive method between a kind of application program, the window of a plurality of application programs is arranged on the display interface of terminal device, wherein, described a plurality of application programs comprise first application program and second application program, and described method comprises:
To the drag operation of the data chosen in first application program, along with described drag operation, described terminal device detects the position that the data chosen in described first application program are dragged to the response user on described display interface;
If described terminal device detects the data of choosing in described first application program and is dragged in the window ranges of described second application program, judge then whether described second application program can handle the described interior data of window ranges that are dragged to described second application program;
If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
In first kind of possible implementation of second aspect, described terminal device response user also comprises before the drag operation to the data chosen in first application program on the display interface of described terminal device:
Described terminal device responds the data of described user in the window of described first application program that described display interface shows and selects operation, determines the data of choosing in described first application program.
In conjunction with second aspect or first kind of possible implementation of second aspect, in second kind of possible implementation, described method also comprises:
Described terminal device responds described user to the start-up operation of the window arranging functional on the described display interface, arrange the window of described a plurality of application programs at described display interface, comprise described first application program and second application program in described a plurality of application programs;
Described terminal device responds described user to the selection operation of described first application program and described second application program, determines to carry out the window arrangement to first application program and second application program;
Described terminal device responds described user described first application program selected and the window of described second application program is arranged instruction, and the window of described first application program and described second application program is arranged on the display interface of described terminal device.
In the third possible implementation of second aspect, describedly judge that whether described second application program can handle the data in the described window ranges that is dragged to described second application program, comprising:
Determine the data type of the data in the described window ranges that is dragged to described second application program;
Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table;
If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can handle the data in the described window ranges that is dragged to described second application program;
If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program.
In the 4th kind of possible implementation of second aspect, described method also comprises:
If described second application program can not be handled the described interior data of window ranges that are dragged to described second application program, then the display interface at described terminal device shows the information that is used for the mutual failure of reminding data.
Third aspect present invention provides the data interaction device between a kind of application program, the window of a plurality of application programs is arranged on the display interface of described data interaction device, wherein, described a plurality of application programs comprise first application program and second application program, and described data interaction device comprises:
Judging unit, be used for if described data interaction device detects the data that described first application program chooses to be dragged in the window ranges of described second application program, judge then whether described second application program can handle the data in the described window ranges that is dragged to described second application program;
The interaction process unit, be used for to handle the described interior data of window ranges that are dragged to described second application program if described judging unit is determined described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
In first kind of possible implementation of the third aspect, described data interaction device also comprises:
Receiving element is used for receive window and arranges instruction, and described window is arranged in the instruction and comprise described first application program and described second application program of selecting from described a plurality of application programs;
Arrangement units is used for receiving after described window arranges instruction at described receiving element, and the window of described first application program and described second application program is arranged on the display interface of described data interaction device.
In conjunction with the third aspect or first kind of possible implementation of the third aspect, in second kind of possible implementation, described judging unit comprises:
First determining unit, be used for after the window that described arrangement units will described first application program and second application program is arranged on the display interface of described data interaction device, determine the data type of the data that the described window ranges that is dragged to described second application program is interior;
The type judging unit, be used for after the data type of the data in described first determining unit is determined the described window ranges that is dragged to described second application program, judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described data interaction device and the corresponding relation between the accessible data type of application program in the described type registration table;
Second determining unit, be used for comprising the data type of the data in the described window ranges that is dragged to described second application program if described type judging unit is determined the accessible data type of second application program described in the described type registration table, determine that then described second application program can handle the data in the described window ranges that is dragged to described second application program;
The 3rd determining unit, be used for not comprising the data type of the data in the described window ranges that is dragged to described second application program if described type judging unit is determined the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program.
In conjunction with second kind of the third aspect possible implementation, in the third possible implementation, described data interaction device also comprises:
Tip element, be used for can not handling the described interior data of window ranges that are dragged to described second application program if described the 3rd determining unit is determined described second application program, then the display interface in described data interaction device shows the information that is used for the mutual failure of reminding data.
Fourth aspect present invention provides the data interaction device between a kind of application program, the window of a plurality of application programs is arranged on the display interface of data interaction device, wherein, a plurality of application programs comprise first application program and second application program, and described data interaction device comprises:
Detecting unit is used for the drag operation of the data that the response user chooses first application program on the display interface of described data interaction device, along with described drag operation, detect the position that the data chosen in described first application program are dragged to;
First judging unit, be used for if described detecting unit detects the data that described first application program chooses to be dragged in the window ranges of described second application program, judge then whether described second application program can handle the data in the described window ranges that is dragged to described second application program;
Interactive unit, be used for to handle the described interior data of window ranges that are dragged to described second application program if described first judging unit is determined described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
In first kind of possible implementation of fourth aspect, described data interaction device also comprises:
First determining unit, be used for before described detecting unit detects the position that data that described first application program chooses are dragged to, respond the data of described user in the window of described first application program that described display interface shows and select operation, determine the data of choosing in described first application program.
In conjunction with fourth aspect or first kind of possible implementation of fourth aspect, in second kind of possible implementation, described data interaction device also comprises:
The first order unit, be used for before described first determining unit is determined data that described first application program chooses, respond described user to the start-up operation of the window arranging functional on the described display interface, arrange the window of described a plurality of application programs at described display interface, comprise described first application program and second application program in described a plurality of application programs;
Second determining unit, be used in described first order unit after described display interface is arranged the window of described a plurality of application programs, respond described user to the selection operation of described first application program and described second application program, determine and to carry out the window arrangement to described first application program and described second application program;
The second order unit, be used for determining to carry out described first application program and described second application program after window arranges in described second determining unit, respond described user described first application program selected and the window of described second application program are arranged instruction, the window of described first application program and described second application program is arranged on the display interface of described data interaction device.
In the third possible implementation of fourth aspect, described first judging unit comprises:
The 3rd determining unit be used for to be determined the data type of the data in the described window ranges that is dragged to described second application program;
Second judging unit, be used for after the data type of the data in described the 3rd determining unit is determined the described window ranges that is dragged to described second application program, judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described data interaction device and the corresponding relation between the accessible data type of application program in the described type registration table;
The 4th determining unit, be used for comprising the data type of the data in the described window ranges that is dragged to described second application program if described second judging unit is determined the accessible data type of second application program described in the described type registration table, determine that then described second application program can handle the data in the described window ranges that is dragged to described second application program;
The 5th determining unit, be used for not comprising the data type of the data in the described window ranges that is dragged to described second application program if described second judging unit is determined the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program.
In the 4th kind of possible implementation of fourth aspect, described data interaction device also comprises:
Reminding unit, be used for can not handling the described interior data of window ranges that are dragged to described second application program if first judging unit is determined described second application program, then the display interface in described data interaction device shows the information that is used for the mutual failure of reminding data.
Fifth aspect present invention provides a kind of terminal device,
Comprise: device screen and processing module, described processing module is connected with described device screen, wherein:
Described device screen is used for showing a plurality of application programs that the window of described a plurality of application programs is arranged on the described device screen, comprises first application program and second application program in described a plurality of application programs;
Described processing module is used for if detecting the data that described first application program chooses is dragged in the window ranges of described second application program, judges then whether described second application program can handle the data in the described window ranges that is dragged to described second application program; If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
In first kind of possible implementation, described processing module also is used for receive window and arranges instruction aspect the 5th, and described window is arranged in the instruction and comprise described first application program and described second application program of selecting from described a plurality of application programs; And for the display interface that the window of described first application program and described second application program is arranged in described terminal device.
In conjunction with the first kind of possible implementation in the 5th aspect, in second kind of possible implementation, described processing module specifically is used for if detecting the data that described first application program chooses is dragged in the window ranges of described second application program, determines the data type of the data in the described window ranges that is dragged to described second application program; Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table; If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, then definite described second application program can be handled the described interior data of window ranges that are dragged to described second application program, handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program; If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program, show the information that is used for the mutual failure of reminding data at the display interface of described terminal device.
Sixth aspect present invention provides a kind of terminal device, comprising: device screen and processing module, and described processing module is connected with described device screen, wherein:
Described device screen is used for showing a plurality of application programs, the window of described a plurality of application programs is arranged on the described device screen, comprise first application program and second application program in described a plurality of application program, described device screen also is used for the drag operation of the data that the response user chooses first application program on described device screen;
Described processing module is for the movement of data on described device screen of choosing along with described first application program, detect the position that the data chosen in described first application program are dragged to, if detecting the data of choosing in described first application program is dragged in the window ranges of described second application program, judge then whether described second application program can handle the described interior data of window ranges that are dragged to described second application program; If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
Aspect the 6th in first kind of possible implementation, described device screen also is used for the data of the described user of response in the window of described first application program that described device screen shows and chooses operation, and then described processing module also is used for the data that definite described first application program is chosen;
Described device screen also is used for the described user of response to the start-up operation of the window arranging functional on the described device screen, described processing module also is used for arranging at described display interface the window of described a plurality of application programs, comprises described first application program and second application program in described a plurality of application programs;
Described device screen is also for the selection operation of the described user of response to described first application program and described second application program, and described processing module also is used for determining and need carries out the window arrangement to first application program and second application program;
Described device screen also is used for the described user of response described first application program of selection and the window of described second application program is arranged instruction, and described processing module also is used for the window of described first application program and described second application program is arranged in the display interface of described terminal device.
Aspect the 6th in second kind of possible implementation, described processing module specifically is used for if detecting the data that described first application program chooses is dragged in the window ranges of described second application program, determines the data type of the data in the described window ranges that is dragged to described second application program; Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table; If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, then definite described second application program can be handled the described interior data of window ranges that are dragged to described second application program, handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program; If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program, show the information that is used for the mutual failure of reminding data at the display interface of described terminal device.
As can be seen from the above technical solutions, the embodiment of the invention has the following advantages:
The window of a plurality of application programs is arranged on the display interface of terminal device, these a plurality of application programs comprise first application program and second application program, if terminal device detects the data of choosing in first application program and is dragged in second application program, judge then whether this second application program can handle the data in the window ranges that is dragged to second application program, and if second application program can be handled the data in the window ranges that is dragged to second application program, then use the data of handling in this window ranges that is dragged to second application program by second, realize the data interaction between first application program and second application program, thereby avoid needing in the prior art in advance mutual data to be kept at the operation of the storage space of terminal device, make data interaction between the application program not need or take storage space less, avoided the taking and wasting of storage space of terminal device to a certain extent.
Description of drawings
Fig. 1 is a synoptic diagram of the data interactive method between the application program in the embodiment of the invention;
Fig. 2 is another synoptic diagram of the data interactive method between the application program in the embodiment of the invention;
Fig. 3 is another synoptic diagram of the data interactive method between the application program in the embodiment of the invention;
Fig. 4 is another synoptic diagram of the data interactive method between the application program in the embodiment of the invention;
Fig. 5 a is the synoptic diagram that the window of a plurality of application programs in the embodiment of the invention is arranged;
Fig. 5 b is the synoptic diagram that application program is selected display interface afterwards in the embodiment of the invention;
Fig. 5 c is that the window of first application program and second application program is arranged in synoptic diagram on the display interface in the embodiment of the invention;
Fig. 5 d is the synoptic diagram that the user chooses display interface after the data in the embodiment of the invention;
Fig. 5 e is the synoptic diagram that the data chosen in first application program in the embodiment of the invention are pulled;
Fig. 6 is a synoptic diagram of the structure of the data interaction device between the application program in the embodiment of the invention;
Fig. 7 is another synoptic diagram of the structure of the data interaction device between the application program in the embodiment of the invention;
Fig. 8 is another synoptic diagram of the structure of the data interaction device between the application program in the embodiment of the invention;
Fig. 9 is another synoptic diagram of the structure of the data interaction device between the application program in the embodiment of the invention;
Figure 10 is a synoptic diagram of the structure of terminal device in the embodiment of the invention;
Figure 11 is another synoptic diagram of the structure of terminal device in the embodiment of the invention;
Figure 12 is another synoptic diagram of the structure of terminal device in the embodiment of the invention.
Embodiment
The embodiment of the invention provides data interactive method between a kind of application program and device, terminal device, be used for the data interaction between the terminal device realization different application, and do not need to preserve in advance the data for mutual, avoid the taking and wasting of storage space of terminal device to a certain extent.
See also Fig. 1, the embodiment for the data interactive method between the application program in the embodiment of the invention comprises:
101, if terminal device detects the data of choosing in first application program and is dragged in second application program, judge then whether second application program can handle the data in the window ranges that is dragged to second application program;
In embodiments of the present invention, the window of a plurality of application programs is arranged on the display interface of terminal device, and comprise first application program and second application program that to carry out data interaction in these a plurality of application programs, and the data that the user can select in the window ranges of first application program that display interface shows and second application program is carried out data interaction, the data of this selection can be image datas, lteral data, voice data, in the video data any one, and the user also can make the data of choosing in the application program of winning mobile at the display interface of terminal device by drag operation.
In embodiments of the present invention, terminal device will detect the user to choosing the drag operation of data in first application program, and if terminal device detects in the window ranges that the data of choosing in first application program are dragged to second application program, judge then whether this second application program can handle the data of choosing in this first application program.
In embodiments of the present invention, terminal device can be the terminal device that mobile phone, panel computer, palm PC etc. have touch-screen.
102, if second application program can be handled the data in the window ranges that is dragged to second application program, then handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, if terminal device is determined second application program and can be handled the data in the window ranges that is dragged to second application program, then handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, when if terminal device detects the data of choosing in first application program and is dragged in second application program, terminal device will judge whether this second application program can handle the data in the window ranges that is dragged to this second application program, if second application program can be handled the data in the window ranges that is dragged to this second application program, then handle this data by second application program, realize the data interaction between first application program and second application program, and do not need in advance the data of choosing in first application program to be saved in the storage space of terminal device, can effectively avoid taking and wasting of storage space to a certain extent.
The technical scheme of describing for a better understanding of the present invention sees also Fig. 2, and the embodiment for the data interactive method between the application program in the embodiment of the invention comprises:
201, receive window is arranged instruction, window arrange comprise in the instruction from a plurality of application programs, select first application program and second application program;
In embodiments of the present invention, terminal device has window with at least two application programs and is arranged in function on the display interface of terminal device, therefore, when the user realizes data interaction between two application programs at needs, can use this function, be specifically as follows: after the window arranging functional of user launches application, terminal device obtains the tabulation of the current application program of moving, and this tabulation is presented on the display interface of terminal device terminal, and each application program is corresponding choice box all, the user can determine that the user selects to carry out the application program that window is arranged by choice box is operated, for example: the user clicks choice box, " √ " appears in this choice box, represents that then this choice box corresponding application program selected to carry out window by the user and arrange.And the user can click and confirm operation after choosing the application program of carrying out the window arrangement, generates the window arrangement and instructs, and this window is arranged and comprised the application program of carrying out the window arrangement that the user selects in the instruction.
In embodiments of the present invention, be to be that example illustrates with the data interaction between two application programs, therefore, the user arranges selecting first application program and second application program to carry out window, and generate after the window arrangement instruction, terminal device can receive this window and arrange instruction.
202, terminal device is arranged in the window of first application program and second application program on the display interface of terminal device;
In embodiments of the present invention, terminal device is receiving after the window that comprises first application program that the user selects and second application program arranges instruction, the window of this first application program and second application program is arranged on the display interface of terminal device, concrete: terminal device can be divided into display interface two viewing areas, the mode of dividing can be display interface is divided into up and down two viewing areas or display interface is divided into about two viewing areas, and the size of these two viewing areas can set in advance, for example: the size of these two viewing areas can be 1:1, perhaps is 1:2.And after terminal device is divided into display interface two viewing areas, terminal device will be therein the window of demonstration first application program in viewing area, in another viewing area, show the window of second application program, the window of the application program of winning and the window of second application program can be arranged on the display interface of terminal device.
203, if terminal device detects in the window ranges that the data of choosing in first application program are dragged to second application program, then determine to be dragged to the data type of the data in the window ranges of second application program;
In embodiments of the present invention, the user is when using terminal device, can in first application program, select data, the data of this selection can be any one in image data, lteral data, voice data, the video data, and the user also can make the data of choosing in the application program of winning mobile at the display interface of terminal device by drag operation.
In embodiments of the present invention, terminal device will detect the drag operation of the data of choosing in first application program, and if terminal device detects the data of choosing in first application program and is dragged in the second application window scope, then terminal device will be determined the data type of the data in this window ranges that is dragged to second application program.
204, judge the data type that whether comprises the data in the window ranges that is dragged to second application program in the type registration table of storing in the accessible data type of second application program, if then execution in step 205, if not, then execution in step 206;
In embodiments of the present invention, terminal device is after installing an application program, this application program will be registered in the type registration table in terminal device, it is the accessible data type of application program that terminal device is determined this installation, and in the type registration table, add the application program of this installation and the corresponding relation between the accessible data type of this application program, therefore, in embodiments of the present invention, containing type registration table in the terminal device, and comprise application program in the terminal device and the corresponding relation between the accessible data type of application program in the type registration table.
Need to prove that terminal device can also obtain the type registration table from third party device, this terminal device can be from this third party device down load application program, and this third party device can be the high in the clouds server.
In embodiments of the present invention, in order to realize the data interaction between the application program, after the data type of the data of terminal device in determining to be dragged to the window ranges of second application program, the data type that whether comprises the data in the window ranges that is dragged to this second application program in the type registration table of storage in the accessible data type of second application program will be judged, for example: if first application program is the web browser, and the data of choosing in first application program are picture A, second application program is the FOXMAIL mailbox, then terminal device judges that the FOXMAIL mailbox is to handle picture A, namely searches in the accessible data type of FOXMAIL mailbox whether comprise image data in the type registration table of terminal device.
205, determine that second application program can handle the data in the window ranges that is dragged to second application program, continue execution in step 208;
206, determine that second application program can not handle the data in the window ranges that is dragged to second application program, continue execution in step 207;
207, the display interface at terminal device shows the information that is used for reminding the mutual failure of user data;
208, handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, if terminal device determines to comprise in the accessible data type of second application program data type of the data in the window ranges that is drawn to this second application program, then definite second application program can be handled the data in the window ranges that is dragged to second application program, then handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, if terminal device determines not comprise in the accessible data type of second application program data type of the data in the window ranges that is drawn to this second application program, then definite second application program can not be handled the data in the window ranges that is dragged to second application program, and also will be on the display interface of terminal device the information of display alarm data interaction failure, can not be handled by second application program with the data of choosing in first application program of reminding its selection of user.
Need to prove, in embodiments of the present invention, being handled the data mode of choosing in first application program in the window ranges be drawn to this second application program can determine according to actual conditions by second application program, for example: when first application's data is image data, if second application program is the WORD application program, then the word application program will be opened a word document, and in the word document that this is opened, insert this image data, if second application program is the FOXMAIL mailbox, then open the mail composition page, and the image data in first application program is presented at literal writes the zone or be kept in this mail as annex.Again for example: be video data in first application's data, when this video data is the chained address of video, if second application program is audio and video player, then this audio and video player will obtain the chained address of this video data, begin to download and play this video.Therefore, in actual applications, can handle from the data in first application according to second mode of using concrete deal with data, not do restriction herein.
Need to prove that in embodiments of the present invention, " first " in " first application program " and " second application program " reaches " second " and only be used for two different application programs of difference, and is not used in the restriction of application programs.
In embodiments of the present invention, terminal device is being arranged according to the window that receives after the window of instruction with first application program and second application program be arranged on the display interface, if terminal device detects the data of choosing in first application program and is dragged to second application program on display interface in the window displayed scope, then terminal device will be determined the data type of the data in this window ranges that is drawn to this second application program, and when comprising the data type of the data in the window ranges that is drawn to this second application program in the accessible data type of second application program in the type registration table of storage, handled the data in the window ranges be drawn to this second application program by second application program, because these data are the data of choosing in first application program, therefore, can effectively realize the data interaction between first application program and second application program, and do not need to preserve in advance the data of choosing in first application program, can effectively avoid the taking and wasting of storage space of terminal device to a certain extent.
Please participate in Fig. 3, the embodiment for the data interactive method between a kind of application program in the embodiment of the invention comprises:
301, terminal device response user to the drag operation of the data chosen in first application program, along with drag operation, detects the position that the data chosen in first application program are dragged on the display interface of terminal device;
In embodiments of the present invention, the user can use terminal device, and the user can make the mouse-based operation terminal device, and perhaps, the user can use pointer or limbs operation terminal device.
In embodiments of the present invention, arranged the window of a plurality of application programs on the display interface of terminal device, comprise first application program and second application program that to carry out data interaction in these a plurality of application programs, if the user chooses data in first application program of display interface and to first application program in the data chosen carry out drag operation, terminal device will respond this user drag operation to the data chosen in first application program on the display interface of terminal device, and along with user's drag operation, detect the position that the data chosen in first application program are dragged to.
In embodiments of the present invention, the data of choosing in first application program can be any one in image data, lteral data, voice data, the video data, and the user also can make the data of choosing in the application program of winning mobile at the display interface of terminal device by drag operation.
302, if terminal device detects in the window ranges that the data of choosing in first application program are dragged to second application program, judge then whether second application program can handle the data in the window ranges that is dragged to second application program;
In embodiments of the present invention, the user can be drawn to the data of choosing in first application program optional position on the display interface of terminal device, if terminal device detects in the window ranges that the data of choosing in first application program are drawn to second application program, judge then whether second application program can handle the data in the window ranges that is dragged to this second application program.
303, if second application program can be handled the data in the window ranges that is dragged to second application program, then handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, if terminal device is determined second application program and can be handled the data in the window ranges that is dragged to second application program, then handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, first application program and second application program are carried out mutual data can be in image data, lteral data, voice data, the video data any one, the user is when using terminal device, if need carry out the data interaction between first application program and second application program, terminal device can have following several data interaction:
The user chooses passage in first application program at the display interface of terminal device, pass through drag operation, this literal dragged to other are opened and can receive in the window ranges of second application program of literal, terminal device will respond the user to the drag operation of this section literal, and by second application program literal in the window ranges that is drawn to this second application program be handled;
The user chooses picture in first application program at the display interface of terminal device, pass through drag motions then, this picture dragged to other are opened and can receive the zone of picture input of second application program of picture, terminal device will respond the user to the drag operation of this picture, and by second application program picture in the window ranges that is drawn to this second application program be handled;
The user chooses video in first application program at the display interface of terminal device, pass through drag motions then, this video is dragged to the zone of the video input of other opened and second application programs that can receiver, video, terminal device will respond the user to the drag operation of this video, and be handled by the interior video in zone that second application program is imported the video that is drawn to this second application program;
The user chooses document in first application program at the display interface of terminal device, pass through drag motions then, document dragged to other are opened and can receive the document storage area of second application program of document, terminal device can respond the user to the drag operation of the document, and by second application program document in the document storage area that is drawn to this second application program is handled;
The user chooses audio frequency in first application program at the display interface of terminal device, pass through drag motions, audio frequency is dragged to the zone of the audio frequency input of other second application programs of having opened and can having received audio frequency, terminal device will respond this user to the drag operation of this audio frequency, and by second application program audio frequency in the zone of the audio frequency input that is drawn to this second application program be handled.
In embodiments of the present invention, the user can use drag operation that the data of choosing in first application program are pulled, and terminal device will respond this drag operation, and along with user's drag operation, detects the position of the data of choosing in this first application program.When if terminal device detects the data of choosing in first application program and is dragged in second application program, terminal device will judge whether this second application program can handle the data in the window ranges that is dragged to this second application program, if second application program can be handled the data in the window ranges that is dragged to this second application program, then handle this data by second application program, realize the data interaction between first application program and second application program, and do not need in advance the data of choosing in first application program to be saved in the storage space of terminal device, can effectively avoid taking and wasting of storage space to a certain extent.
Technical scheme among the embodiment sees also Fig. 4 for a better understanding of the present invention, and another embodiment for the data interactive method between the application program in the embodiment of the invention comprises:
401, terminal device response user arranges the window of a plurality of application programs to the start-up operation of the window arranging functional on the display interface at display interface, comprises first application program and second application program in a plurality of application programs;
In embodiments of the present invention, the user is if need carry out data interaction to first application program and second application program by terminal device, the user can start the window arranging functional on this terminal device, and terminal device will respond the user to the start-up operation of the window arranging functional on the display interface, and arrange the window of a plurality of application programs at display interface, and these a plurality of application programs in comprise first application program and second application program.
Need to prove, for the ease of being used for choosing the application program that to carry out data interaction, the a plurality of application programs that are arranged on the display interface of terminal device are in the state that can choose, for example can be that a selectable square frame is set around each application program, and comprise a definite frame and cancellation frame, so that the user selects application program and cancellation window to arrange, for better understanding, see also Fig. 5 a, the synoptic diagram of arranging for the window of a plurality of application programs in the embodiment of the invention.
402, terminal device response user determines and need carry out the window arrangement to first application program and second application program the selection operation of first application program and second application program;
In embodiments of the present invention, terminal device is after the window with a plurality of application programs is arranged on the display interface, because these a plurality of application programs are in the state that can choose, the user can select to carry out first application program and second application program of data interaction, and terminal device will respond the user to the selection operation of first application program and second application program, determine and need carry out the window arrangement to first application program and second application program.For better understanding, see also Fig. 5 b, be selected the synoptic diagram of display interface afterwards for application program.
403, terminal device response user arranges instruction to first application program selected and the window of second application program, and the window of first application program and second application program is arranged on the display interface of terminal device;
In embodiments of the present invention, the user is after selecting first application program and second application program, can generate window by operation and arrange instruction, for example, see also Fig. 5 b, definite frame that the user can click among Fig. 5 b determine to be selected first application program and second application program, and terminal device will respond the user and the window of first application program selected and second application program is arranged be instructed, and the window of first application program and second application program is arranged on the display interface of terminal device.See also Fig. 5 c, in the embodiment of the invention, the window of first application program and second application program is arranged in the synoptic diagram on the display interface.
404, the data of terminal device response user in the window of first application program that display interface shows are selected operation, determine the data of choosing in first application program;
In embodiments of the present invention, terminal device is after display interface is arranged the window of first application program and second application program, the user can select data in first application program, the data of this selection can be any one in image data, lteral data, voice data, the video data, and terminal device will respond the data of user in the window of first application program that display interface shows and select operation, determine the data chosen in first application program, see also Fig. 5 d, choose the synoptic diagram of display interface after the data for the user.
405, terminal device response user to the drag operation of the data chosen in first application program, along with drag operation, detects the position that the data chosen in first application program are dragged on the display interface of terminal device;
In embodiments of the present invention, terminal device response user's data is selected after the operation, in order to realize the data interaction between first application program and second application program, the user need carry out drag operation to the data of choosing in first application program, and terminal device will respond user's drag operation to the data chosen in first application program on the display interface of terminal device, and along with user's drag operation, detect the position that the data chosen in first application program are dragged to.See also Fig. 5 e, in the embodiment of the invention, the synoptic diagram that the data of choosing in first application program are pulled, wherein, the direction of arrow is represented the direction that pulls of the data chosen in this first application program.
406, if terminal device detects in the window ranges that the data of choosing in first application program are dragged to second application program, judge then whether second application program can handle the data in the window ranges that is dragged to second application program;
In embodiments of the present invention, the user is when carrying out drag operation to the data in first application program, terminal device will detect the position that the data chosen in this first application program are dragged in real time, if terminal device detects in the window ranges that the data of choosing in first application program are dragged to second application program, then this terminal device will judge whether second application program can handle the interior data of window ranges that are dragged to this second application program.
In embodiments of the present invention, terminal device is after installing an application program, this application program will be registered in the type registration table in terminal device, it is the accessible data type of application program that terminal device is determined this installation, and in the type registration table, add the application program of this installation and the corresponding relation between the accessible data type of this application program, therefore, in embodiments of the present invention, containing type registration table in the terminal device, and comprise application program in the terminal device and the corresponding relation between the accessible data type of application program in the type registration table.
Need to prove that terminal device can also obtain the type registration table from third party device, this terminal device can be from this third party device down load application program, and this third party device can be the high in the clouds server.
In embodiments of the present invention, terminal device judges that the data whether second application program can be handled in the window ranges that is dragged to second application program comprise: if terminal device detects in the window ranges that the data of choosing in first application program are dragged to second application program, then terminal device will be determined the data type of the data in this window ranges that is dragged to second application program, and whether judgement comprises the data type of the data in this window ranges that is dragged to second application program in the accessible data type of second application program in the type registration table of storage, for example: if first application program is the web browser, and the data of choosing in first application program are picture A, second application program is the FOXMAIL mailbox, picture A is drawn in the window ranges of FOXMAIL mailbox, then terminal device judges that the FOXMAIL mailbox is to handle picture A, namely searches in the accessible data type of FOXMAIL mailbox whether comprise image data in the type registration table of terminal device.And if terminal device is determined to comprise image data in the accessible data type of second application program, then definite second application program can be handled the picture A in the window ranges that is dragged to second application program; If terminal device is determined not comprise image data in the accessible data type of second application program, then definite second application program can not be handled the picture A in the window ranges that is dragged to second application program.
407, if second application program can be handled the data in the window ranges that is dragged to second application program, then handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, if terminal device is determined second application program and can be handled the data in the window ranges that is dragged to second application program, then handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
Need to prove, in embodiments of the present invention, if terminal device determines not comprise in the accessible data type of second application program data type of the data in the window ranges that is drawn to this second application program, then definite second application program can not be handled the data in the window ranges that is dragged to second application program, and also will be on the display interface of terminal device the information of display alarm data interaction failure, can not be handled by second application program with the data of choosing in first application program of reminding its selection of user.
Need to prove, in embodiments of the present invention, being handled the mode of the data of choosing in first application program in the window ranges be drawn to this second application program can determine according to actual conditions by second application program, for example: when first application's data is image data, if second application program is the WORD application program, then the word application program will be opened a word document, and in the word document that this is opened, insert this image data, if second application program is the FOXMAIL mailbox, then open the mail composition page, and the image data in first application program is presented at literal writes the zone or be kept in this mail as annex.Again for example: be video data in first application's data, when this video data is the chained address of video, if second application program is audio and video player, then this audio and video player will obtain the chained address of this video data, begin to download and play this video.Therefore, in actual applications, can handle from the data in first application according to second mode of using concrete deal with data, not do restriction herein.
In embodiments of the present invention, the user can pass through operation terminal device, make terminal device respond the user to the start-up operation of window arranging functional, arrange the window of a plurality of application programs at display interface, and the response user arranges instruction to selection operation and the window of first application program and second application program, arrange the window of first application program and second application program at display interface, and terminal device also will respond the user data in first application program will be selected operation and drag operation, and the data of choosing in detecting first application program are drawn in the window ranges of second application program and determine that second application program can handle after the data in this window ranges that is drawn to second application program, handle data in this window ranges that is drawn to second application program by second application program, realize the data interaction between first application program and second application program, and do not need in advance the data of choosing in first application program to be saved in the storage space of terminal device, can effectively avoid taking and wasting of storage space to a certain extent.
Technical scheme among the embodiment will be introduced a concrete application scenarios below for a better understanding of the present invention, comprise:
When the user uses terminal device, desire with the video data of having play " pupil's setting-up exercises to radio music " of audio and video player when Sina's microblogging is shared, the user can start the function of the window arrangement of terminal device, terminal device will get access to the tabulation of the current application program of moving, and the tabulation of the current application program of moving is presented on the display interface, the user selects audio and video player and these two application programs of Sina's microblogging, and click and confirm, make terminal device to divide two viewing areas at the display interface of terminal device, and show the window of audio and video player and the window of Sina's microblogging respectively.
After the window of realizing audio and video player and these two application programs of Sina's microblogging is arranged, the user can select the video data in the playlist in the audio and video player " pupil's setting-up exercises to radio music ", and make that by the mode that pulls the video data of this selection is mobile at the display interface of terminal device, and when these " pupil's setting-up exercises to radio music " are drawn in the window of Sina's microblogging at display interface, finish drag motions, then the video data that detects in the audio and video player of terminal device is drawn in the window ranges of Sina's microblogging, and terminal device will determine whether comprise video data in the accessible data type of Sina's microblogging, but after definite Sina microblogging processing video data, the chained address that to be somebody's turn to do " pupil's setting-up exercises to radio music " is kept in the storage area, video chained address of microblogging issue of Sina's microblogging, to realize the data interaction between audio and video player and these two application programs of Sina's microblogging, in addition, also can further write the microblogging content by the user, and click issue, comprise the address of video of these " pupil's setting-up exercises to radio music " and the microblogging of broadcast window with issue.
See also Fig. 6, embodiment for the structure of the data interaction device between the application program in the embodiment of the invention, wherein, the window of a plurality of application programs is arranged on the display interface of this data interaction device, wherein, a plurality of application programs comprise first application program and second application program, and this data interaction device 60 comprises:
Judging unit 601 is used for judging then whether second application program can handle the data in the window ranges that is dragged to second application program if terminal device detects the data that first application program chooses to be dragged in the window ranges of second application program;
Interaction process unit 602, be used for to handle the data in the window ranges that is dragged to second application program if judging unit 601 is determined second application program, then handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, data interaction device is if detect in the window ranges that the data of choosing in first application program are dragged to second application program, then judging unit 601 judges whether second application program can handle the data in the window ranges that is dragged to second application program, if judging unit 601 is determined second application program and can be handled the data in the window ranges that is dragged to second application program, then the data in the window ranges that is dragged to this second application program are handled in interaction process unit 602 by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, after data interaction device is arranged in the window of first application program and second application program on the display interface of data interaction device, when if data interaction device detects the data of choosing in first application program and is dragged in second application program, data interaction device will judge whether this second application program can handle the data in the window ranges that is dragged to this second application program, if second application program can be handled the data in the window ranges that is dragged to this second application program, then handle this data by second application program, realize the data interaction between first application program and second application program, and do not need in advance the data of choosing in first application program to be saved in the storage space of data interaction device, can effectively avoid taking and wasting of storage space to a certain extent.
Terminal device among the embodiment sees also Fig. 7 for a better understanding of the present invention, and another embodiment for the structure of data interaction device in the embodiment of the invention comprises:
Data interaction device among the embodiment 60 as shown in Figure 6, this data interaction device 60 comprises: judging unit 601 and interaction process unit 602, and to embodiment illustrated in fig. 6 in the content described similar, repeat no more herein.
In embodiments of the present invention, data interaction device 60 also comprises:
Receiving element 701 is used for receive window and arranges instruction, and window is arranged in the instruction and comprise first application program and second application program of selecting from a plurality of application programs;
Arrangement units 702 is used for after receiving element 701 receive windows are arranged instruction, and the window of first application program and second application program is arranged on the display interface of data interaction device.
In embodiments of the present invention, judging unit 601 comprises:
First determining unit 703 is used for after arrangement units 702 is arranged in the window of first application program and second application program on the display interface of data interaction device, determines to be dragged to the data type of the data in the window ranges of second application program;
Type judging unit 704, be used for after the data type of the data in first determining unit 703 determines to be dragged to the window ranges of second application program, judge the data type that whether comprises the data in the window ranges that is dragged to second application program in the type registration table of storage in the accessible data type of second application program, comprise application program in the data interaction device and the corresponding relation between the accessible data type of application program in the type registration table;
Second determining unit 705, be used for if type judging unit 704 determines to comprise in the accessible data type of type registration table second application program data type of the data in the window ranges that is drawn to this second application program, then definite second application program can be handled the data in the window ranges that is dragged to second application program;
The 3rd determining unit 706, be used for if type judging unit 704 determines not comprise in the accessible data type of type registration table second application program data type of the data in the window ranges that is dragged to described second application program, then definite second application program can not be handled the data in the window ranges that is dragged to second application program.
In embodiments of the present invention, data interaction device 60 also comprises:
Tip element 707 is used for can not handling the data in the window ranges that is dragged to second application program if judging unit 601 is determined second application program, and then the display interface in data interaction device shows the information that is used for the mutual failure of reminding data.
Receiving element 701 receive windows in the data interaction device 60 are arranged instruction, this window is arranged and is comprised first application program and second application program that the user selects in the instruction, then arrangement units 702 is arranged in first application program of user's selection and the window of second application program on the display interface of data interaction device, and if data interaction device detects in the window ranges that the data of choosing in first application program are dragged to second application program, then first determining unit 703 in the judging unit 601 will determine to be dragged to the data type of the data in the window ranges of second application program; And judged the data type that whether comprises the data in the window ranges that is dragged to second application program in the type registration table of storage in the accessible data type of second application program by the type judging unit 704 in the judging unit 601, comprise application program in the data interaction device and the corresponding relation between the accessible data type of application program in the type registration table; And if type judging unit 704 determines to comprise in the accessible data type of second application program in the type registration table data type of the data in the window ranges that is drawn to this second application program, then second determining unit, 705 definite second application programs can be handled the data in the window ranges that is dragged to second application program, if type judging unit 704 determines not comprise in the accessible data type of second application program in the type registration table data type of the data in the window ranges that is dragged to described second application program, then the 3rd determining unit 706 definite second application programs can not be handled the data in the window ranges that is dragged to second application program.
In embodiments of the present invention, after second determining unit 705 determines that second application programs can be handled data in the window ranges that is dragged to second application program, the data in the window ranges that is dragged to this second application program are handled in interaction process unit 602 by second application program, realize the data interaction between first application program and second application program, after the 3rd determining unit 706 determines that second application programs can not be handled data in the window ranges that is dragged to second application program, show the information that is used for the mutual failure of reminding data by Tip element 707 at the display interface of data interaction device.
In embodiments of the present invention, data interaction device is being arranged according to the window that receives after the window of instruction with first application program and second application program be arranged on the display interface, if data interaction device detects the data of choosing in first application program and is dragged to second application program on display interface in the window displayed scope, then data interaction device will be determined the data type of the data in this window ranges that is drawn to this second application program, and when comprising the data type of the data in the window ranges that is drawn to this second application program in the accessible data type of second application program in the type registration table of storage, handled the data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program, and do not need to preserve in advance the data of choosing in first application program, can effectively avoid the taking and wasting of storage space of data interaction device to a certain extent.
See also Fig. 8, embodiment for the structure of the data interaction device between the application program in the embodiment of the invention, wherein, the window of a plurality of application programs is arranged on the display interface of this data interaction device, wherein, a plurality of application programs comprise first application program and second application program, and this data interaction device 80 comprises:
Detecting unit 801 is used for the drag operation of the data that the response user chooses first application program on the display interface of data interaction device, along with drag operation, detect the position that the data chosen in first application program are dragged to;
First judging unit 802, be used for judging then whether second application program can handle the data in the window ranges that is dragged to second application program if detecting unit 801 detects the data that first application program chooses to be dragged in the window ranges of second application program;
Interactive unit 803, be used for to handle the data in the window ranges that is dragged to second application program if first judging unit 802 is determined second application program, then handle data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program.
In embodiments of the present invention, detecting unit 801 response users in the data interaction device on the display interface of data interaction device to the drag operation of the data chosen in first application program, along with drag operation, detect the position that the data chosen in first application program are dragged to; If detecting unit 801 detects in the window ranges that the data of choosing in first application program are dragged to second application program, then first judging unit 802 judges whether second application program can handle the interior data of window ranges that are dragged to second application program; And if determining second application program, first judging unit 802 can handle the data in the window ranges that is dragged to second application program, then interactive unit 803 is handled the data in the window ranges that is dragged to this second application program by second application program, realizes the data interaction between first application program and second application program.
In embodiments of the present invention, the user can use drag operation that the data of choosing in first application program are pulled, and terminal device will respond this drag operation, and along with user's drag operation, detects the position of the data of choosing in this first application program.When if terminal device detects the data of choosing in first application program and is dragged in second application program, terminal device will judge whether this second application program can handle the data in the window ranges that is dragged to this second application program, if second application program can be handled the data in the window ranges that is dragged to this second application program, then handle this data by second application program, realize the data interaction between first application program and second application program, and do not need in advance the data of choosing in first application program to be saved in the storage space of terminal device, can effectively avoid taking and wasting of storage space to a certain extent.
Data interaction device among the embodiment sees also Fig. 9 for a better understanding of the present invention, is another embodiment of data interaction device in the embodiment of the invention 80, and this data interaction device 80 comprises:
Detecting unit 801, first judging unit 802, interactive unit 803 among the embodiment as described in Figure 8, and to embodiment illustrated in fig. 8 in the content described similar, repeat no more herein.
In the invention process, data interaction device 80 also comprises:
First determining unit 901, be used for before the position that the data that detecting unit 801 detections first application program is chosen are dragged to, the data of response user in the window of first application program that display interface shows are selected operation, determine the data of choosing in first application program.
In embodiments of the present invention, data interaction device 80 also comprises:
First order unit 902, be used for before the data that first determining unit, 901 definite first application programs are chosen, the response user is to the start-up operation of the window arranging functional on the display interface, arrange the window of a plurality of application programs at display interface, comprise first application program and second application program in a plurality of application programs;
Second determining unit 903, be used in first order unit 903 after display interface is arranged the window of a plurality of application programs, the response user determines and need carry out the window arrangement to first application program and second application program the selection operation of first application program and second application program;
Second order unit 904, be used for determining to carry out first application program and second application program after window arranges in second determining unit 903, the response user arranges instruction to first application program selected and the window of second application program, and the window of first application program and second application program is arranged on the display interface of data interaction device.
In embodiments of the present invention, first judging unit 802 comprises:
The 3rd determining unit 905 is used for determining being dragged to the data type of the data in the window ranges of second application program;
Second judging unit 906, be used for after the data type of the data in the 3rd determining unit 905 determines to be dragged to the window ranges of second application program, judge the data type that whether comprises the data in the window ranges that is dragged to second application program in the type registration table of storage in the accessible data type of second application program, comprise application program in the data interaction device and the corresponding relation between the accessible data type of application program in the type registration table;
The 4th determining unit 907, be used for if second judging unit 906 determines to comprise in the accessible data type of type registration table second application program data type of the data in the window ranges that is drawn to this second application program, then definite second application program can be handled the data in the window ranges that is dragged to second application program;
The 5th determining unit 908, be used for if second judging unit 906 determines not comprise in the accessible data type of type registration table second application program data type of the data in the window ranges that is dragged to described second application program, then definite second application program can not be handled the data in the window ranges that is dragged to second application program.
In embodiments of the present invention, data interaction device 80 also comprises:
Reminding unit 909, be used for can not handling the data in the window ranges that is dragged to second application program if first judging unit 802 is determined second application program, then the display interface in data interaction device shows the information that is used for the mutual failure of reminding data.
In embodiments of the present invention, first order unit 902 response users in the data interaction device are to the start-up operation of the window arranging functional on the display interface, arrange the window of a plurality of application programs at display interface, comprise first application program and second application program in a plurality of application programs; Then, second determining unit, 903 response users determine and need carry out the window arrangement to first application program and second application program the selection operation of first application program and second application program; And by second order unit 904 response users first application program selected and the window of second application program are arranged instruction, the window of first application program and second application program is arranged on the display interface of data interaction device.
In embodiments of the present invention, after the window of first application program and second application program is arranged on the display interface, the data of first determining unit, 901 response users in the window of first application program that display interface shows are selected operation, determine the data chosen in first application program, and by detecting unit 801 response users drag operation to the data chosen in first application program on the display interface of data interaction device, along with drag operation, detect the position that the data chosen in first application program are dragged to; If detecting unit 801 detects in the window ranges that the data of choosing in first application program are dragged to second application program, then the 3rd determining unit 905 in first judging unit 802 determines to be dragged to the data type of the data in the window ranges of second application program; Then second judging unit 906 is judged the data type that whether comprises the data in the window ranges that is dragged to second application program in the type registration table of storage in the accessible data type of second application program, comprises application program in the data interaction device and the corresponding relation between the accessible data type of application program in the type registration table; And if second judging unit 906 determines to comprise in the accessible data type of second application program in the type registration table data type of the data in the window ranges that is drawn to this second application program, then the 4th determining unit 907 definite second application programs can be handled the data in the window ranges that is dragged to second application program; And if second judging unit 906 determines not comprise in the accessible data type of second application program in the type registration table data type of the data in the window ranges that is dragged to described second application program, then the 5th determining unit 908 definite second application programs can not be handled the data in the window ranges that is dragged to second application program.
In embodiments of the present invention, if first judging unit 802 is determined second application program and can be handled the data in the window ranges that is dragged to second application program, then interactive unit 803 is handled the data in the window ranges that is dragged to this second application program by second application program, realizes the data interaction between first application program and second application program.If first judging unit 802 is determined second application program and can not handle the data in the window ranges that is dragged to second application program that then reminding unit 909 shows the information that is used for the mutual failure of reminding data at the display interface of data interaction device.
In embodiments of the present invention, the user can pass through operation terminal device, make terminal device respond the user to the start-up operation of window arranging functional, arrange the window of a plurality of application programs at display interface, and the response user arranges instruction to selection operation and the window of first application program and second application program, arrange the window of first application program and second application program at display interface, and terminal device also will respond the user data in first application program will be selected operation and drag operation, and the data of choosing in detecting first application program are drawn in the window ranges of second application program and determine that second application program can handle after the data in this window ranges that is drawn to second application program, handle data in this window ranges that is drawn to second application program by second application program, realize the data interaction between first application program and second application program, and do not need in advance the data of choosing in first application program to be saved in the storage space of terminal device, can effectively avoid taking and wasting of storage space to a certain extent.
Figure 10 is the embodiment of the structure of terminal device of the present invention, as shown in figure 10, present embodiment also provides a kind of terminal device, that this terminal device can be specially is portable, pocket, hand-held, band touch panel device built-in computer or vehicle-mounted or be not with touch panel device, for example can be specially mobile phone, panel computer, notebook computer, personal digital assistant (Personal Digital Assistant; Hereinafter to be referred as: PDA), GPRS navigator etc.
Concrete, terminal device 10 in the present embodiment comprises device screen 1001 and processing module 1002, this processing module 1002 is connected with device screen 1001, wherein, described device screen 1001 is used for showing a plurality of application programs, the window of described a plurality of application programs is arranged on the described device screen, comprises first application program and second application program in described a plurality of application programs; Described processing module 1002 is used for judging then whether described second application program can handle the described interior data of window ranges that are dragged to described second application program if detecting the data that described first application program chooses is dragged in the window ranges of described second application program; If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
In embodiments of the present invention, processing module 1002 also is used for receive window and arranges instruction, and described window is arranged in the instruction and comprise described first application program and described second application program of selecting from described a plurality of application programs; And processing module 1002 also is used for the window of described first application program and described second application program is arranged in the display interface of described terminal device.
In embodiments of the present invention, processing module 1002 is concrete to be used for if detecting the data that described first application program chooses is dragged in the window ranges of described second application program, determines the data type of the data in the described window ranges that is dragged to described second application program; Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table; If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, then definite described second application program can be handled the described interior data of window ranges that are dragged to described second application program, handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program; If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program, show the information that is used for the mutual failure of reminding data at the display interface of described terminal device.
In embodiments of the present invention, terminal device is being arranged according to the window that receives after the window of instruction with first application program and second application program be arranged on the display interface, if terminal device detects the data of choosing in first application program and is dragged to second application program on display interface in the window displayed scope, then terminal device will be determined the data type of the data in this window ranges that is drawn to this second application program, and when comprising the data type of the data in the window ranges that is drawn to this second application program in the accessible data type of second application program in the type registration table of storage, handled the data in the window ranges be dragged to this second application program by second application program, realize the data interaction between first application program and second application program, and do not need to preserve in advance the data of choosing in first application program, can effectively avoid the taking and wasting of storage space of terminal device to a certain extent.
Figure 11 is the embodiment of the structure of terminal device of the present invention, as shown in figure 11, present embodiment also provides a kind of terminal device, that this terminal device can be specially is portable, pocket, hand-held, band touch panel device built-in computer or vehicle-mounted or be not with touch panel device, for example can be specially mobile phone, panel computer, notebook computer, PDA, GPRS navigator etc.
Concrete, terminal device 11 in the present embodiment comprises device screen 1101 and processing module 1102, this processing module 1102 is connected with device screen 1101, device screen 1101 can be used for showing a plurality of application programs, the window of described a plurality of application programs is arranged on the described device screen 1101, comprise first application program and second application program in described a plurality of application program, described device screen 1101 also is used for the drag operation of the data that the response user chooses first application program on described device screen 1101;
In embodiments of the present invention, processing module 1102 is for the movement of data on described device screen of choosing along with described first application program, detect the position that the data chosen in described first application program are dragged to, if detecting the data of choosing in described first application program is dragged in the window ranges of described second application program, judge then whether described second application program can handle the described interior data of window ranges that are dragged to described second application program; If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
Preferably, described device screen 1101 also is used for the data of the described user of response in the window of described first application program that described device screen shows and chooses operation, and then described processing module 1102 also is used for the data that definite described first application program is chosen;
Preferably, described device screen 1101 also is used for the described user of response to the start-up operation of the window arranging functional on the described device screen, described processing module 1102 also is used for arranging at described display interface the window of described a plurality of application programs, comprises described first application program and second application program in described a plurality of application programs;
Preferably, device screen 1101 is also for the selection operation of the described user of response to described first application program and described second application program, and described processing module 1102 also is used for determining and need carries out the window arrangement to first application program and second application program;
Preferably, device screen 1101 also is used for the described user of response described first application program of selection and the window of described second application program is arranged instruction, 1102 display interfaces that also are used for the window of described first application program and described second application program is arranged in described terminal device of described processing mould.
Preferably, described processing module 1101 is concrete to be used for if detecting the data that described first application program chooses is dragged in the window ranges of described second application program, determines the data type of the data in the described window ranges that is dragged to described second application program; Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table; If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, then definite described second application program can be handled the described interior data of window ranges that are dragged to described second application program, handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program; If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program, show the information that is used for the mutual failure of reminding data at the display interface of described terminal device.
In embodiments of the present invention, device screen 1101 can be touch-screen, also can be non-touch-screen.
In embodiments of the present invention, the user can pass through operation terminal device, make terminal device respond the user to the start-up operation of window arranging functional, arrange the window of a plurality of application programs at display interface, and the response user arranges instruction to selection operation and the window of first application program and second application program, arrange the window of first application program and second application program at display interface, and terminal device also will respond the user data in first application program will be selected operation and drag operation, and the data of choosing in detecting first application program are drawn in the window ranges of second application program and determine that second application program can handle after the data in this window ranges that is drawn to second application program, handle data in this window ranges that is drawn to second application program by second application program, realize the data interaction between first application program and second application program, and do not need in advance the data of choosing in first application program to be saved in the storage space of terminal device, can effectively avoid taking and wasting of storage space to a certain extent.
Figure 12 is another embodiment of the structure of terminal device of the present invention, as shown in figure 12, Figure 12 shows a kind of specific embodiment of terminal device, in this embodiment, terminal device 120 comprises processor 1206, storer 1207 can also comprise radiating circuit 1202, receiving circuit 1203, power controller 1204, reach antenna 1201.The operation of processor 1206 control terminals 120.Storer 1207 can comprise ROM (read-only memory) and random access memory, and provides instruction and data to processor 1106.The part of storer 1207 can also comprise non-volatile capable random access memory (NVRAM).In the concrete application, terminal device 120 can embed or itself can be exactly the Wireless Telecom Equipment of mobile phone and so on for example, can also comprise the carrier that holds radiating circuit 1202 and receiving circuit 1203, transmit and receive to allow carrying out data between terminal device 120 and the remote location.Radiating circuit 1202 and receiving circuit 1203 can be coupled to antenna 1201.Each assembly of terminal device 120 is coupled by bus system 3100, and wherein bus system 3100 also comprises power bus, control bus and status signal bus in addition except comprising data bus.But for the purpose of clearly demonstrating, in the drawings various buses all are designated as bus system 3100.Terminal device 120 can also comprise decoding processor 1205.
The method that the invention described above embodiment discloses can be applied in the processor 1206, in other words by processor 1206 to realize, terminal device among the invention described above embodiment can be specially above-mentioned terminal device shown in Figure 12 and realize, the processing module in the above-mentioned terminal device can be understood as the processor in the terminal device 1206 among Figure 12.Processor 1206 may be a kind of integrated circuit (IC) chip, has the executive capability of instruction and data, and the Signal Processing ability.In implementation procedure, each step of said method can be finished by the integrated logic circuit of the hardware in the processor 1206 or the instruction of software form.Above-mentioned processor can be general processor (CPU), digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic device, discrete hardware components.Can realize or carry out disclosed each method, step and logic diagram in the embodiment of the invention.General processor can be that microprocessor or this processor also can be the processors of any routine etc.Step in conjunction with the disclosed method of the embodiment of the invention can be presented as directly that hardware processor is complete, and is perhaps complete with the hardware in the processor and software module combination.Software module can be positioned at random access memory, and flash memory, ROM (read-only memory) are in the storage medium of this area maturations such as programmable read only memory or electrically erasable programmable storer, register.This storage medium is positioned at storer 1207, and processor reads the information in the storer 1207, finishes the step of said method in conjunction with its hardware.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, be to instruct relevant hardware by computer program, for example processor is finished, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
More than the data interactive method between a kind of application program provided by the present invention and device, terminal device are described in detail, for one of ordinary skill in the art, thought according to the embodiment of the invention, part in specific embodiments and applications all can change, in sum, this description should not be construed as limitation of the present invention.

Claims (24)

1. the data interactive method between the application program is characterized in that the window of a plurality of application programs is arranged on the display interface of terminal device, and wherein said a plurality of application programs comprise first application program and second application program, and described method comprises:
If described terminal device detects the data of choosing in described first application program and is dragged in the window ranges of described second application program, judge then whether described second application program can handle the described interior data of window ranges that are dragged to described second application program;
If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
2. method according to claim 1 is characterized in that, described method further comprises:
Receive window is arranged instruction, and described window is arranged in the instruction and comprise described first application program and described second application program of selecting from described a plurality of application programs;
Described terminal device is arranged in the window of described first application program and described second application program on the display interface of described terminal device.
3. method according to claim 1 is characterized in that, describedly judges that whether described second application program can handle the data in the described window ranges that is dragged to described second application program, comprising:
Determine the data type of the data in the described window ranges that is dragged to described second application program;
Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table;
If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can handle the data in the described window ranges that is dragged to described second application program;
If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program.
4. according to claim 1 or 3 described methods, it is characterized in that described method also comprises:
If described second application program can not be handled the described interior data of window ranges that are dragged to described second application program, then the display interface at described terminal device shows the information that is used for the mutual failure of reminding data.
5. the data interactive method between the application program is characterized in that the window of a plurality of application programs is arranged on the display interface of terminal device, and wherein, described a plurality of application programs comprise first application program and second application program, and described method comprises:
To the drag operation of the data chosen in first application program, along with described drag operation, described terminal device detects the position that the data chosen in described first application program are dragged to the response user on described display interface;
If described terminal device detects the data of choosing in described first application program and is dragged in the window ranges of described second application program, judge then whether described second application program can handle the described interior data of window ranges that are dragged to described second application program;
If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
6. method according to claim 5 is characterized in that, described terminal device response user also comprises before the drag operation to the data chosen in first application program on the display interface of described terminal device:
Described terminal device responds the data of described user in the window of described first application program that described display interface shows and selects operation, determines the data of choosing in described first application program.
7. according to claim 5 or 6 described methods, it is characterized in that described method also comprises:
Described terminal device responds described user to the start-up operation of the window arranging functional on the described display interface, arrange the window of described a plurality of application programs at described display interface, comprise described first application program and second application program in described a plurality of application programs;
Described terminal device responds described user to the selection operation of described first application program and described second application program, determines to carry out the window arrangement to first application program and second application program;
Described terminal device responds described user described first application program selected and the window of described second application program is arranged instruction, and the window of described first application program and described second application program is arranged on the display interface of described terminal device.
8. method according to claim 5 is characterized in that, describedly judges that whether described second application program can handle the data in the described window ranges that is dragged to described second application program, comprising:
Determine the data type of the data in the described window ranges that is dragged to described second application program;
Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table;
If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can handle the data in the described window ranges that is dragged to described second application program;
If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program.
9. method according to claim 5 is characterized in that, described method also comprises:
If described second application program can not be handled the described interior data of window ranges that are dragged to described second application program, then the display interface at described terminal device shows the information that is used for the mutual failure of reminding data.
10. the data interaction device between the application program, it is characterized in that the window of a plurality of application programs is arranged on the display interface of described data interaction device, wherein, described a plurality of application program comprises first application program and second application program, and described data interaction device comprises:
Judging unit, be used for if described data interaction device detects the data that described first application program chooses to be dragged in the window ranges of described second application program, judge then whether described second application program can handle the data in the described window ranges that is dragged to described second application program;
The interaction process unit, be used for to handle the described interior data of window ranges that are dragged to described second application program if described judging unit is determined described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
11. data interaction device according to claim 10 is characterized in that, described data interaction device also comprises:
Receiving element is used for receive window and arranges instruction, and described window is arranged in the instruction and comprise described first application program and described second application program of selecting from described a plurality of application programs;
Arrangement units is used for receiving after described window arranges instruction at described receiving element, and the window of described first application program and described second application program is arranged on the display interface of described data interaction device.
12. according to claim 10 or 11 described data interaction device, it is characterized in that described judging unit comprises:
First determining unit, be used for after the window that described arrangement units will described first application program and second application program is arranged on the display interface of described data interaction device, determine the data type of the data that the described window ranges that is dragged to described second application program is interior;
The type judging unit, be used for after the data type of the data in described first determining unit is determined the described window ranges that is dragged to described second application program, judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described data interaction device and the corresponding relation between the accessible data type of application program in the described type registration table;
Second determining unit, be used for comprising the data type of the data in the described window ranges that is dragged to described second application program if described type judging unit is determined the accessible data type of second application program described in the described type registration table, determine that then described second application program can handle the data in the described window ranges that is dragged to described second application program;
The 3rd determining unit, be used for not comprising the data type of the data in the described window ranges that is dragged to described second application program if described type judging unit is determined the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program.
13. data interaction device according to claim 12 is characterized in that, described data interaction device also comprises:
Tip element, be used for can not handling the described interior data of window ranges that are dragged to described second application program if described the 3rd determining unit is determined described second application program, then the display interface in described data interaction device shows the information that is used for the mutual failure of reminding data.
14. the data interaction device between the application program, it is characterized in that the window of a plurality of application programs is arranged on the display interface of data interaction device, wherein, a plurality of application programs comprise first application program and second application program, and described data interaction device comprises:
Detecting unit is used for the drag operation of the data that the response user chooses first application program on the display interface of described data interaction device, along with described drag operation, detect the position that the data chosen in described first application program are dragged to;
First judging unit, be used for if described detecting unit detects the data that described first application program chooses to be dragged in the window ranges of described second application program, judge then whether described second application program can handle the data in the described window ranges that is dragged to described second application program;
Interactive unit, be used for to handle the described interior data of window ranges that are dragged to described second application program if described first judging unit is determined described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
15. data interaction device according to claim 14 is characterized in that, described data interaction device also comprises:
First determining unit, be used for before described detecting unit detects the position that data that described first application program chooses are dragged to, respond the data of described user in the window of described first application program that described display interface shows and select operation, determine the data of choosing in described first application program.
16. according to claim 14 or 15 described data interaction device, it is characterized in that described data interaction device also comprises:
The first order unit, be used for before described first determining unit is determined data that described first application program chooses, respond described user to the start-up operation of the window arranging functional on the described display interface, arrange the window of described a plurality of application programs at described display interface, comprise described first application program and second application program in described a plurality of application programs;
Second determining unit, be used in described first order unit after described display interface is arranged the window of described a plurality of application programs, respond described user to the selection operation of described first application program and described second application program, determine and to carry out the window arrangement to described first application program and described second application program;
The second order unit, be used for determining to carry out described first application program and described second application program after window arranges in described second determining unit, respond described user described first application program selected and the window of described second application program are arranged instruction, the window of described first application program and described second application program is arranged on the display interface of described data interaction device.
17. method according to claim 14 is characterized in that, described first judging unit comprises:
The 3rd determining unit be used for to be determined the data type of the data in the described window ranges that is dragged to described second application program;
Second judging unit, be used for after the data type of the data in described the 3rd determining unit is determined the described window ranges that is dragged to described second application program, judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described data interaction device and the corresponding relation between the accessible data type of application program in the described type registration table;
The 4th determining unit, be used for comprising the data type of the data in the described window ranges that is dragged to described second application program if described second judging unit is determined the accessible data type of second application program described in the described type registration table, determine that then described second application program can handle the data in the described window ranges that is dragged to described second application program;
The 5th determining unit, be used for not comprising the data type of the data in the described window ranges that is dragged to described second application program if described second judging unit is determined the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program.
18. method according to claim 14 is characterized in that, described data interaction device also comprises:
Reminding unit, be used for can not handling the described interior data of window ranges that are dragged to described second application program if first judging unit is determined described second application program, then the display interface in described data interaction device shows the information that is used for the mutual failure of reminding data.
19. a terminal device is characterized in that, comprising: device screen and processing module, described processing module is connected with described device screen, wherein:
Described device screen is used for showing a plurality of application programs that the window of described a plurality of application programs is arranged on the described device screen, comprises first application program and second application program in described a plurality of application programs;
Described processing module is used for if detecting the data that described first application program chooses is dragged in the window ranges of described second application program, judges then whether described second application program can handle the data in the described window ranges that is dragged to described second application program; If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
20. terminal device according to claim 19, it is characterized in that, described processing module also is used for receive window and arranges instruction, and described window is arranged in the instruction and comprise described first application program and described second application program of selecting from described a plurality of application programs; And for the display interface that the window of described first application program and described second application program is arranged in described terminal device.
21. terminal device according to claim 19, it is characterized in that, described processing module specifically is used for if detecting the data that described first application program chooses is dragged in the window ranges of described second application program, determines the data type of the data in the described window ranges that is dragged to described second application program; Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table; If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, then definite described second application program can be handled the described interior data of window ranges that are dragged to described second application program, handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program; If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program, show the information that is used for the mutual failure of reminding data at the display interface of described terminal device.
22. a terminal device is characterized in that, comprising: device screen and processing module, described processing module is connected with described device screen, wherein:
Described device screen is used for showing a plurality of application programs, the window of described a plurality of application programs is arranged on the described device screen, comprise first application program and second application program in described a plurality of application program, described device screen also is used for the drag operation of the data that the response user chooses first application program on described device screen;
Described processing module is for the movement of data on described device screen of choosing along with described first application program, detect the position that the data chosen in described first application program are dragged to, if detecting the data of choosing in described first application program is dragged in the window ranges of described second application program, judge then whether described second application program can handle the described interior data of window ranges that are dragged to described second application program; If described second application program can be handled the described interior data of window ranges that are dragged to described second application program, then handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program.
23. terminal device according to claim 22, it is characterized in that, described device screen also is used for the data of the described user of response in the window of described first application program that described device screen shows and chooses operation, and then described processing module also is used for the data that definite described first application program is chosen;
Described device screen also is used for the described user of response to the start-up operation of the window arranging functional on the described device screen, described processing module also is used for arranging at described display interface the window of described a plurality of application programs, comprises described first application program and second application program in described a plurality of application programs;
Described device screen is also for the selection operation of the described user of response to described first application program and described second application program, and described processing module also is used for determining and need carries out the window arrangement to first application program and second application program;
Described device screen also is used for the described user of response described first application program of selection and the window of described second application program is arranged instruction, and described processing module also is used for the window of described first application program and described second application program is arranged in the display interface of described terminal device.
24. terminal device according to claim 22, it is characterized in that, described processing module specifically is used for if detecting the data that described first application program chooses is dragged in the window ranges of described second application program, determines the data type of the data in the described window ranges that is dragged to described second application program; Judge the data type that whether comprises the data in the described window ranges that is dragged to second application program described in the type registration table of storage in the accessible data type of second application program, comprise application program in the described terminal device and the corresponding relation between the accessible data type of application program in the described type registration table; If comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, then definite described second application program can be handled the described interior data of window ranges that are dragged to described second application program, handle data in the described window ranges that is dragged to described second application program by described second application program, realize the data interaction between described first application program and described second application program; If do not comprise the data type of the data in the described window ranges that is dragged to described second application program in the accessible data type of second application program described in the described type registration table, determine that then described second application program can not handle the data in the described window ranges that is dragged to described second application program, show the information that is used for the mutual failure of reminding data at the display interface of described terminal device.
CN201310213623.2A 2013-05-31 2013-05-31 Data interactive method between a kind of application program and device, terminal device Active CN103279269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310213623.2A CN103279269B (en) 2013-05-31 2013-05-31 Data interactive method between a kind of application program and device, terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310213623.2A CN103279269B (en) 2013-05-31 2013-05-31 Data interactive method between a kind of application program and device, terminal device

Publications (2)

Publication Number Publication Date
CN103279269A true CN103279269A (en) 2013-09-04
CN103279269B CN103279269B (en) 2016-03-02

Family

ID=49061818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310213623.2A Active CN103279269B (en) 2013-05-31 2013-05-31 Data interactive method between a kind of application program and device, terminal device

Country Status (1)

Country Link
CN (1) CN103279269B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103616991A (en) * 2013-11-29 2014-03-05 乐视网信息技术(北京)股份有限公司 Method and device for preloading multimedia of floating window player
CN103778008A (en) * 2014-02-24 2014-05-07 联想(北京)有限公司 Controlling method and device of electronic devices and electronic device
CN105426242A (en) * 2015-11-17 2016-03-23 腾讯科技(深圳)有限公司 Data transmission method and device
CN105892823A (en) * 2016-04-27 2016-08-24 宇龙计算机通信科技(深圳)有限公司 Multi-window editing method, system and mobile terminal
CN107066172A (en) * 2017-02-16 2017-08-18 北京小米移动软件有限公司 The document transmission method and device of mobile terminal
CN108008925A (en) * 2017-11-07 2018-05-08 深圳天珑无线科技有限公司 Application data sharing method, device, terminal and storage medium under span mode
WO2019128923A1 (en) * 2017-12-25 2019-07-04 华为技术有限公司 Method for controlling displaying selected object in application interface, and terminal device
CN110874276A (en) * 2018-08-31 2020-03-10 杭州海康威视系统技术有限公司 Cross-process communication method and device and computer readable storage medium
WO2020253282A1 (en) * 2019-06-21 2020-12-24 海信视像科技股份有限公司 Item starting method and apparatus, and display device
WO2022052677A1 (en) * 2020-09-09 2022-03-17 华为技术有限公司 Interface display method and electronic device
CN114201097A (en) * 2020-09-16 2022-03-18 华为技术有限公司 Interaction method among multiple application programs

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1462116A (en) * 2002-05-28 2003-12-17 深圳市中兴通讯股份有限公司 Method of data synchronization in main stock redundance system
CN101446969A (en) * 2008-12-15 2009-06-03 腾讯科技(深圳)有限公司 Drag and drop search method and system thereof
CN101661498A (en) * 2009-09-16 2010-03-03 百度在线网络技术(北京)有限公司 Information search method and device
CN101825989A (en) * 2010-04-23 2010-09-08 杭州图酷科技有限公司 Drag and drop image search input method
CN102024064A (en) * 2011-01-11 2011-04-20 宇龙计算机通信科技(深圳)有限公司 Rapid searching method and mobile communication terminal
CN102413075A (en) * 2011-12-18 2012-04-11 上海量明科技发展有限公司 Method and system for changing format during data transmission

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1462116A (en) * 2002-05-28 2003-12-17 深圳市中兴通讯股份有限公司 Method of data synchronization in main stock redundance system
CN101446969A (en) * 2008-12-15 2009-06-03 腾讯科技(深圳)有限公司 Drag and drop search method and system thereof
CN101661498A (en) * 2009-09-16 2010-03-03 百度在线网络技术(北京)有限公司 Information search method and device
CN101825989A (en) * 2010-04-23 2010-09-08 杭州图酷科技有限公司 Drag and drop image search input method
CN102024064A (en) * 2011-01-11 2011-04-20 宇龙计算机通信科技(深圳)有限公司 Rapid searching method and mobile communication terminal
CN102413075A (en) * 2011-12-18 2012-04-11 上海量明科技发展有限公司 Method and system for changing format during data transmission

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015078308A1 (en) * 2013-11-29 2015-06-04 乐视网信息技术(北京)股份有限公司 Method, apparatus and device for preloading multimedia of floating window player
CN103616991A (en) * 2013-11-29 2014-03-05 乐视网信息技术(北京)股份有限公司 Method and device for preloading multimedia of floating window player
CN103778008B (en) * 2014-02-24 2018-02-27 联想(北京)有限公司 Control method, device and the electronic equipment of a kind of electronic equipment
CN103778008A (en) * 2014-02-24 2014-05-07 联想(北京)有限公司 Controlling method and device of electronic devices and electronic device
CN105426242A (en) * 2015-11-17 2016-03-23 腾讯科技(深圳)有限公司 Data transmission method and device
CN105426242B (en) * 2015-11-17 2020-04-21 腾讯科技(深圳)有限公司 Data transmission method and device
CN105892823B (en) * 2016-04-27 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of multiwindow edit methods, system and mobile terminal
CN105892823A (en) * 2016-04-27 2016-08-24 宇龙计算机通信科技(深圳)有限公司 Multi-window editing method, system and mobile terminal
CN107066172A (en) * 2017-02-16 2017-08-18 北京小米移动软件有限公司 The document transmission method and device of mobile terminal
CN108008925A (en) * 2017-11-07 2018-05-08 深圳天珑无线科技有限公司 Application data sharing method, device, terminal and storage medium under span mode
WO2019128923A1 (en) * 2017-12-25 2019-07-04 华为技术有限公司 Method for controlling displaying selected object in application interface, and terminal device
CN110874276A (en) * 2018-08-31 2020-03-10 杭州海康威视系统技术有限公司 Cross-process communication method and device and computer readable storage medium
CN110874276B (en) * 2018-08-31 2023-02-28 杭州海康威视系统技术有限公司 Cross-process communication method and device and computer readable storage medium
WO2020253282A1 (en) * 2019-06-21 2020-12-24 海信视像科技股份有限公司 Item starting method and apparatus, and display device
WO2022052677A1 (en) * 2020-09-09 2022-03-17 华为技术有限公司 Interface display method and electronic device
CN114201097A (en) * 2020-09-16 2022-03-18 华为技术有限公司 Interaction method among multiple application programs
WO2022057852A1 (en) * 2020-09-16 2022-03-24 华为技术有限公司 Method for interaction between multiple applications

Also Published As

Publication number Publication date
CN103279269B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN103279269B (en) Data interactive method between a kind of application program and device, terminal device
CN107908952B (en) Method and device for identifying real machine and simulator and terminal
US20100131870A1 (en) Webpage history handling method and apparatus for mobile terminal
CN106027791A (en) Mobile terminal and application service switching method
CN108958635B (en) Mobile device displaying end effect and control method thereof
CN108235086A (en) Video playing control method, device and corresponding terminal
CN106919707B (en) Page display method and terminal based on H5
CN106028124A (en) Video playing method and device and electronic equipment
US20160283181A1 (en) Electronic device and method for controlling the same
CN111149086A (en) Method for editing main screen, graphical user interface and electronic equipment
CN104765522A (en) Chat window display control method and system
CN105786878A (en) Browse object display method and device
CN103473253B (en) The detection of data through geocoding and the user interface for it
CN111602107B (en) Display method and terminal during application quitting
WO2014180171A1 (en) Method, apparatus and terminal for selecting content
CN104142966A (en) Web page displaying method and client
CN104424212A (en) Method and device for sharing media content and method and device for display media content
US20170099245A1 (en) Method for providing messenger service and electronic device thereof
CN103324478A (en) Mobile terminal and application program management method thereof
CN114117282A (en) Information display method, device, equipment and storage medium
US10409478B2 (en) Method, apparatus, and recording medium for scrapping content
US20200201923A1 (en) Information Recommendation Method, Terminal Device, and Server
CN106296266A (en) A kind of advertising pictures player method and mobile terminal
CN105868246A (en) Picture display method and apparatus
KR102208361B1 (en) Keyword search method and apparatus

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