CN103279269B - Data interactive method between a kind of application program and device, terminal device - Google Patents

Data interactive method between a kind of application program and device, terminal device Download PDF

Info

Publication number
CN103279269B
CN103279269B CN201310213623.2A CN201310213623A CN103279269B CN 103279269 B CN103279269 B CN 103279269B CN 201310213623 A CN201310213623 A CN 201310213623A CN 103279269 B CN103279269 B CN 103279269B
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.)
Active
Application number
CN201310213623.2A
Other languages
Chinese (zh)
Other versions
CN103279269A (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

Abstract

The embodiment of the invention discloses the data interactive method between a kind of application program and device, terminal device, wherein, the window arrangement of multiple application program is on the display interface of terminal device, wherein multiple application program comprises the first application program and the second application program, method comprises: if terminal device detects that the data chosen in the first application program are dragged in the window ranges of the second application program, then judge whether the second application program can process the data in the window ranges being dragged to the second application program; If the second application program can process the data in the window ranges being dragged to the second application program, then be dragged to the data in the window ranges of the second application program by the second application program process, realize the 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, particularly relate to the data interactive method between a kind of application program and device, terminal device.
Background technology
When 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 occupies the whole display interface of this terminal device, make user can not use two methods program in the upper of terminal device simultaneously, and directly can not carry out the data interaction of the content between application program rapidly, in prior art, if desired the data interaction between two methods program is realized, user needs to be kept in storage space by the data of one of them application program in advance, such as: if user is when browsing webpage, want by the picture on mail sending webpage, now, user needs to perform following steps: be kept in the local folders of terminal device by the picture on webpage, open mailbox, the picture preserved is inserted in mail as annex and sends again.
But, the data interactive method of application program of the prior art, after user needs to be kept in the storage space of terminal device by the data in an application program, this data are used again in another one application program, by the storage space of a large amount of occupied terminal equipment, cause the waste of storage space.
Summary of the invention
Embodiments provide the data interactive method between a kind of application program and device, terminal device, the data interaction between different application is realized for terminal device, and do not need to preserve the data for mutual in advance, avoid taking and wasting of the 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 arrangement of multiple application program is on the display interface of terminal device, wherein said multiple application program comprises the first application program and the second application program, and described method comprises:
If described terminal device detects that the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing;
If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program.
In the first possible implementation of first aspect, described method comprises further:
Receive window arrangement instruction, comprises described first application program and described second application program selected from described multiple application program in described window arrangement instruction;
Described terminal device by the window arrangement of described first application program and described second application program on the display interface of described terminal device.
In the implementation that first aspect the second is possible, describedly judge described second application program is dragged to data in the window ranges of described second application program described in whether processing, and comprising:
The data type of the data in the window ranges of described second application program is dragged to described in determining;
Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program;
If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing;
If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing.
In conjunction with first aspect or the possible implementation of first aspect the second, in the implementation that the third is possible, described method also comprises:
If be dragged to the data in the window ranges of described second application program described in described second application program can not process, then on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
Second aspect present invention provides the data interactive method between a kind of application program, the window arrangement of multiple application program is on the display interface of terminal device, wherein, described multiple application program comprises the first application program and the second application program, and described method comprises:
Respond user to the drag operation of the data chosen in the first application program on described display interface, along with described drag operation, the position that the data chosen in described first application program of described terminal device detection are dragged to;
If described terminal device detects that the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing;
If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program.
In the first possible implementation of second aspect, described terminal device response user also comprises before the drag operation of the data chosen in the first application program on the display interface of described terminal device:
Described terminal device responds the data selection operation in the window of described first application program that described user shows on described display interface, determines the data chosen in described first application program.
In conjunction with second aspect or the first possible implementation of second aspect, in the implementation that the second is possible, described method also comprises:
Described terminal device responds the start-up operation of described user to the window arrangement function on described display interface, described display interface arranges the window of described multiple application program, in described multiple application program, comprises described first application program and the second application program;
Described terminal device responds the selection of described user to described first application program and described second application program and operates, and determines to need to carry out window arrangement to the first application program and the second application program;
Described terminal device responds described user to described first application program selected and the window arrangement instruction of described second application program, by the window arrangement of described first application program and described second application program on the display interface of described terminal device.
In the third possible implementation of second aspect, describedly judge described second application program is dragged to data in the window ranges of described second application program described in whether processing, and comprising:
The data type of the data in the window ranges of described second application program is dragged to described in determining;
Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program;
If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing;
If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing.
In second aspect the 4th kind of possible implementation, described method also comprises:
If be dragged to the data in the window ranges of described second application program described in described second application program can not process, then on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
Third aspect present invention provides the data interaction device between a kind of application program, the window arrangement of multiple application program is on the display interface of described data interaction device, wherein, described multiple application program comprises the first application program and the second application program, and described data interaction device comprises:
Judging unit, if detect that the data chosen in described first application program are dragged in the window ranges of described second application program for described data interaction device, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing;
Interaction process unit, if determine that described second application program is dragged to data in the window ranges of described second application program described in can processing for described judging unit, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program.
In the first possible implementation of the third aspect, described data interaction device also comprises:
Receiving element, for receive window arrangement instruction, comprises described first application program and described second application program selected from described multiple application program in described window arrangement instruction;
Arrangement units, after receiving described window arrangement instruction at described receiving element, by the window arrangement of described first application program and described second application program on the display interface of described data interaction device.
In conjunction with the third aspect or the first possible implementation of the third aspect, in the implementation that the second is possible, described judging unit comprises:
First determining unit, for at described arrangement units by after the window arrangement of described first application program and the second application program is on the display interface of described data interaction device, be dragged to the data type of the data in the window ranges of described second application program described in determining;
Type judging unit, after being dragged to the data type of the data in the window ranges of described second application program described in determining in described first determining unit, judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described data interaction device and the accessible data type of application program;
Second determining unit, if be dragged to the data type of the data in the window ranges of described second application program described in determining to comprise in the accessible data type of the second application program described in described type registration table for described type judging unit, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing;
3rd determining unit, if be dragged to the data type of the data in the window ranges of described second application program described in determining not comprise in the accessible data type of the second application program described in described type registration table for described type judging unit, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing.
In conjunction with the implementation that the second of the third aspect is possible, in the implementation that the third is possible, described data interaction device also comprises:
Tip element, if determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing for described 3rd determining unit, then on the display interface of described data interaction device, display is used for the mutual failed information of reminding data.
Fourth aspect present invention provides the data interaction device between a kind of application program, the window arrangement of multiple application program is on the display interface of data interaction device, wherein, multiple application program comprises the first application program and the second application program, and described data interaction device comprises:
Detecting unit, for responding user's drag operation to the data chosen in the first application program on the display interface of described data interaction device, along with described drag operation, detects the position that the data chosen in described first application program are dragged to;
First judging unit, if detect that the data chosen in described first application program are dragged in the window ranges of described second application program for described detecting unit, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing;
Interactive unit, if determine that described second application program is dragged to data in the window ranges of described second application program described in can processing for described first judging unit, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program.
In the first possible implementation of fourth aspect, described data interaction device also comprises:
First determining unit, for before the position that the data chosen in described first application program of described detecting unit detection are dragged to, respond the data selection operation in the window of described first application program that described user shows on described display interface, determine the data chosen in described first application program.
In conjunction with fourth aspect or the first possible implementation of fourth aspect, in the implementation that the second is possible, described data interaction device also comprises:
First order unit, for before the data determining to choose in described first application program in described first determining unit, respond the start-up operation of described user to the window arrangement function on described display interface, described display interface arranges the window of described multiple application program, in described multiple application program, comprises described first application program and the second application program;
Second determining unit, after the window arranging described multiple application program at described first order unit on described display interface, respond the selection of described user to described first application program and described second application program to operate, determine to need to carry out window arrangement to described first application program and described second application program;
Second order unit, for determine to need that window arrangement is carried out to described first application program and described second application program in described second determining unit after, respond described user to described first application program selected and the window arrangement instruction of described second application program, by the window arrangement of described first application program and described second application program on the display interface of described data interaction device.
In the third possible implementation of fourth aspect, described first judging unit comprises:
3rd determining unit, for being dragged to the data type of the data in the window ranges of described second application program described in determining;
Second judging unit, after being dragged to the data type of the data in the window ranges of described second application program described in determining in described 3rd determining unit, judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described data interaction device and the accessible data type of application program;
4th determining unit, if be dragged to the data type of the data in the window ranges of described second application program described in determining to comprise in the accessible data type of the second application program described in described type registration table for described second judging unit, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing;
5th determining unit, if be dragged to the data type of the data in the window ranges of described second application program described in determining not comprise in the accessible data type of the second application program described in described type registration table for described second judging unit, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing.
In fourth aspect the 4th kind of possible implementation, described data interaction device also comprises:
Reminding unit, if determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing for the first judging unit, then on the display interface of described data interaction device, display is used for the mutual failed information 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 for showing multiple application program, and the window arrangement of described multiple application program is on described device screen, and described multiple application program comprises the first application program and the second application program;
If described processing module is used for detecting that the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing; If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program.
In the 5th in the first possible implementation, described processing module also for receive window arrangement instruction, comprises described first application program and described second application program selected from described multiple application program in described window arrangement instruction; And for by the display interface of the window arrangement of described first application program and described second application program at described terminal device.
In conjunction with the first possible implementation of the 5th aspect, in the implementation that the second is possible, if described processing module, specifically for detecting that the data chosen in described first application program are dragged in the window ranges of described second application program, is dragged to the data type of the data in the window ranges of described second application program described in determining; Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program; If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing, by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program; If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing, on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
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 for showing multiple application program, the window arrangement of described multiple application program is on described device screen, described multiple application program comprises the first application program and the second application program, and described device screen is also for responding user's drag operation to the data chosen in the first application program on described device screen;
Described processing module is for along with the movement of data on described device screen chosen in described first application program, detect the position that the data chosen in described first application program are dragged to, if detect, the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing; If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program.
In the 6th in the first possible implementation, the data of described device screen also in the window responding described first application program that described user shows on described device screen choose operation, then described processing module is also for determining the data chosen in described first application program;
Described device screen is also for responding the start-up operation of described user to the window arrangement function on described device screen, described processing module also for arranging the window of described multiple application program on described display interface, comprises described first application program and the second application program in described multiple application program;
Described device screen also operates for responding the selection of described user to described first application program and described second application program, and described processing module also needs to carry out window arrangement to the first application program and the second application program for determining;
Described device screen is also for responding described user to described first application program selected and the window arrangement instruction of described second application program, and described processing module is also for by the display interface of the window arrangement of described first application program and described second application program at described terminal device.
In the implementation that the second is possible in the 6th, if described processing module, specifically for detecting that the data chosen in described first application program are dragged in the window ranges of described second application program, is dragged to the data type of the data in the window ranges of described second application program described in determining; Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program; If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing, by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program; If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing, on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
The window arrangement of multiple application program is on the display interface of terminal device, the plurality of application program comprises the first application program and the second application program, if terminal device detects that the data chosen in the first application program are dragged in the second application program, then judge whether this second application program can process the data in the window ranges being dragged to the second application program, if and the second application program can process the data in the window ranges being dragged to the second application program, then by the second application process, this is dragged to the data in the window ranges of the second application program, realize the data interaction between the first application program and the second application program, thus avoid the operation needing the storage space in advance mutual data being kept at terminal device in prior art, the data interaction between application program is made not need or take storage space less, avoid taking and wasting of the storage space of terminal device to a certain extent.
Accompanying drawing explanation
Fig. 1 is a schematic diagram of the data interactive method in the embodiment of the present invention between application program;
Fig. 2 is another schematic diagram of the data interactive method in the embodiment of the present invention between application program;
Fig. 3 is another schematic diagram of the data interactive method in the embodiment of the present invention between application program;
Fig. 4 is another schematic diagram of the data interactive method in the embodiment of the present invention between application program;
Fig. 5 a is the schematic diagram of the window arrangement of multiple application program in the embodiment of the present invention;
Fig. 5 b be in the embodiment of the present invention application program by the schematic diagram of the display interface after selecting;
Fig. 5 c is the schematic diagram of window arrangement on display interface of the first application program and the second application program in the embodiment of the present invention;
Fig. 5 d is the schematic diagram that in the embodiment of the present invention, user chooses display interface after data;
Fig. 5 e is that the data chosen in the first application program in the embodiment of the present invention are by the schematic diagram pulled;
Fig. 6 is a schematic diagram of the structure of data interaction device in the embodiment of the present invention between application program;
Fig. 7 is another schematic diagram of the structure of data interaction device in the embodiment of the present invention between application program;
Fig. 8 is another schematic diagram of the structure of data interaction device in the embodiment of the present invention between application program;
Fig. 9 is another schematic diagram of the structure of data interaction device in the embodiment of the present invention between application program;
Figure 10 is a schematic diagram of the structure of terminal device in the embodiment of the present invention;
Figure 11 is another schematic diagram of the structure of terminal device in the embodiment of the present invention;
Figure 12 is another schematic diagram of the structure of terminal device in the embodiment of the present invention.
Embodiment
Embodiments provide the data interactive method between a kind of application program and device, terminal device, the data interaction between different application is realized for terminal device, and do not need to preserve the data for mutual in advance, avoid taking and wasting of the storage space of terminal device to a certain extent.
Refer to Fig. 1, be the embodiment of the data interactive method in the embodiment of the present invention between application program, comprise:
If 101 terminal devices detect that the data chosen in the first application program are dragged in the second application program, then judge whether the second application program can process the data in the window ranges being dragged to the second application program;
In embodiments of the present invention, the window arrangement of multiple application program is on the display interface of terminal device, and in the plurality of application program, comprise the first application program and the second application program that need to carry out data interaction, and in user's window ranges of the first application program that can show on display interface, select to carry out with the second application program the data of data interaction, the data of this selection can be image datas, lteral data, voice data, any one in video data, and user also makes the data chosen in the first application program move on the display interface of terminal device by drag operation.
In embodiments of the present invention, terminal device will detect that user is to the drag operation choosing data in the first application program, if and terminal device detects that the data chosen in the first application program are dragged in the window ranges of the second application program, then judge whether this second application program can process the data chosen 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.
If 102 second application programs can process the data in the window ranges being dragged to the second application program, then be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, if terminal device determines that the second application program can process the data in the window ranges being dragged to the second application program, then be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, if when terminal device detects that the data chosen in the first application program are dragged in the second application program, terminal device will judge whether this second application program can process the data in the window ranges being dragged to this second application program, if the second application program can process the data in the window ranges being dragged to this second application program, then by second these data of application program process, realize the data interaction between the first application program and the second application program, and do not need in advance the data chosen in the first application program to be saved in the storage space of terminal device, effectively can avoid taking and wasting of storage space to a certain extent.
The technical scheme described for a better understanding of the present invention, refers to Fig. 2, is the embodiment of the data interactive method in the embodiment of the present invention between application program, comprises:
201, receive window arrangement instruction, comprise in window arrangement instruction select from multiple application program the first application program and the second application program;
In embodiments of the present invention, terminal device has the function of window arrangement on the display interface of terminal device of at least two methods program, therefore, user is when needing to realize the data interaction between two methods program, this function can be used, be specifically as follows: after the window arrangement function of user launches application, terminal device obtains the list of the current application program run, and this list is presented on the display interface of terminal device terminal, and each application program correspond to a choice box, by operating choice box, user determines that user selects to carry out the application program of window arrangement, such as: user clicks choice box, there is " √ " in this choice box, then represent that application program that this choice box is corresponding is easily selected by a user and carry out window arrangement.And user is after choosing the application program of carrying out window arrangement, can click confirmation operation, generating window arrangement instruction, comprises the application program of carrying out window arrangement that user selects in this window arrangement instruction.
In embodiments of the present invention, be for two methods program between data interaction illustrate, therefore, user carries out window arrangement in selection first application program and the second application program, and after generating window arrangement instruction, terminal device can receive this window arrangement instruction.
202, terminal device by the window arrangement of the first application program and the second application program on the display interface of terminal device;
In embodiments of the present invention, terminal device receive comprise user select the first application program and the second application program window arrangement instruction after, by the window arrangement of this first application program and the second application program on the display interface of terminal device, concrete: display interface can be divided into two viewing areas by terminal device, the mode divided can be display interface is divided into upper and lower two viewing areas or display interface is divided into two viewing areas, left and right, and the size of these two viewing areas can pre-set, such as: the size of these two viewing areas can be 1:1, or be 1:2.And after display interface is divided into two viewing areas by terminal device, terminal device will show the window of the first application program in a viewing area wherein, in another viewing area, show the window of the second application program, the window of the window of the first application program and the second application program can be arranged on the display interface of terminal device.
If 203 terminal devices detect that the data chosen in the first application program are dragged in the window ranges of the second application program, then determine the data type of the data be dragged in the window ranges of the second application program;
In embodiments of the present invention, user is when using terminal device, data can be selected in the first application program, the data of this selection can be any one in image data, lteral data, voice data, video data, and user also makes the data chosen in the first application program move on the display interface of terminal device by drag operation.
In embodiments of the present invention, the drag operation of data that terminal device will be chosen in detection first application program, if and terminal device detects that the data chosen in the first application program are dragged within the scope of the second application window, then terminal device will determine that this is dragged to the data type of the data in the window ranges of the second application program.
204, judge the data type whether comprising the data in the window ranges being dragged to the second application program in the type registration table of storage in the accessible data type of the second application program, if so, then perform step 205, if not, then perform step 206;
In embodiments of the present invention, terminal device is after installation application program, this application program is registered in the type registration table in terminal device, namely the accessible data type of the application program of this installation determined by terminal device, and the corresponding relation added in type registration table between the application program of this installation and the accessible data type of this application program, therefore, in embodiments of the present invention, containing type registration table in terminal device, and the corresponding relation between the application program comprised in the type registration table in terminal device and the accessible data type of application program.
It should be noted that, terminal device can also obtain the type registration table from third party device, and this terminal device can from this third party device down load application program, and this third party device can be cloud server.
In embodiments of the present invention, in order to realize the data interaction between application program, terminal device is after the data type determining the data be dragged in the window ranges of the second application program, the data type whether comprising the data in the window ranges being dragged to this second application program in the type registration table stored in the accessible data type of second application program will be judged, such as: if the first application program is web browser, and the data chosen in the first application program are picture A, second application program is FOXMAIL mailbox, then terminal device judges that FOXMAIL mailbox to process picture A, namely in the type registration table of terminal device, search in the accessible data type of FOXMAIL mailbox whether comprise image data.
205, determine that the second application program can process the data in the window ranges being dragged to the second application program, continue to perform step 208;
206, determine that the second application program can not process the data in the window ranges being dragged to the second application program, continue to perform step 207;
207, on the display interface of terminal device, display is used for the information of reminding user data interaction failure;
208, be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, if the data type comprising the data in the window ranges being drawn to this second application program in the accessible data type of the second application program determined by terminal device, then determine that the second application program can process the data in the window ranges being dragged to the second application program, then be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, if the data type not comprising the data in the window ranges being drawn to this second application program in the accessible data type of the second application program determined by terminal device, then determine that the second application program can not process the data in the window ranges being dragged to the second application program, and also by the information of display alarm data interaction failure on the display interface of terminal device, can not be processed by the second application program with the data chosen in its first application program selected of reminding user.
It should be noted that, in embodiments of the present invention, be drawn to the data mode chosen in the first application program in the window ranges of this second application program to determine according to actual conditions by the second application program process, such as: when the data of the first application program are image data, if the second application program is WORD application program, then word application program will open a word document, and this image data is inserted in this word document opened, if the second application program is FOXMAIL mailbox, then open mail composition page, and the image data in the first application program is presented at word and writes region or be kept in this mail as annex.Again such as: be video data in the data of the first application program, when this video data is the chained address of video, if the second application program is audio and video player, then this audio and video player will obtain the chained address of this video data, start download and play this video.Therefore, in actual applications, the mode process of concrete process data can be applied from the data in the first application according to second, not limit herein.
It should be noted that, in embodiments of the present invention, " first " and " second " in " the first application program " and " the second application program " only for distinguishing two different application programs, and is not used in the restriction of application programs.
In embodiments of the present invention, terminal device according to the window arrangement instruction received by after the window arrangement of the first application program and the second application program is on display interface, if terminal device detects that the data chosen in the first application program are dragged in the window ranges that the second application program shown on display interface, then terminal device will determine that this is drawn to the data type of the data in the window ranges of this second application program, and store type registration table in the accessible data type of the second application program in comprise the data type of the data in the window ranges being drawn to this second application program time, the data in the window ranges of this second application program are drawn to by the second application program process, because these data are the data chosen in the first application program, therefore, effectively can realize the data interaction between the first application program and the second application program, and do not need to preserve the data chosen in the first application program in advance, effectively can avoid taking and wasting of the storage space of terminal device to a certain extent.
Please participate in Fig. 3, be the embodiment of the data interactive method between application program a kind of in the embodiment of the present invention, comprising:
301, terminal device response user is to the drag operation of the data chosen in the first application program on the display interface of terminal device, along with drag operation, detects the position that the data chosen in the first application program are dragged to;
In embodiments of the present invention, user can use terminal device, and user can make mouse-based operation terminal device, or user can use pointer or limbs operation terminal device.
In embodiments of the present invention, the display interface of terminal device is arranged the window of multiple application program, the first application program and the second application program that need to carry out data interaction is comprised in the plurality of application program, if user in the first application program of display interface, choose data and to the first application program in the data chosen carry out drag operation, terminal device will respond this user on the display interface of terminal device to the drag operation of the data chosen in the first application program, and along with the drag operation of user, detect the position that the data chosen in the first application program are dragged to.
In embodiments of the present invention, the data chosen in first application program can be any one in image data, lteral data, voice data, video data, and user also makes the data chosen in the first application program move on the display interface of terminal device by drag operation.
If 302 terminal devices detect that the data chosen in the first application program are dragged in the window ranges of the second application program, then judge whether the second application program can process the data in the window ranges being dragged to the second application program;
In embodiments of the present invention, the data chosen in first application program can be drawn to the optional position on the display interface of terminal device by user, if terminal device detects that the data chosen in the first application program are drawn in the window ranges of the second application program, then judge whether the second application program can process the data in the window ranges being dragged to this second application program.
If 303 second application programs can process the data in the window ranges being dragged to the second application program, then be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, if terminal device determines that the second application program can process the data in the window ranges being dragged to the second application program, then be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, it can be any one in image data, lteral data, voice data, video data that first application program and the second application program carry out mutual data, user is when using terminal device, if desired carry out the data interaction between the first application program and the second application program, terminal device can have following several data interaction:
User chooses the passage in the first application program on the display interface of terminal device, pass through drag operation, this word is dragged to other opened and can receive in the window ranges of the second application program of word, terminal device will respond user to the drag operation of this section of word, and is processed the word be drawn in the window ranges of this second application program by the second application program;
User chooses the picture in the first application program on the display interface of terminal device, then drag motions is passed through, this picture is dragged to other to have opened and the region that can receive the picture input of the second application program of picture, terminal device will respond user to the drag operation of this picture, and is processed the picture be drawn in the window ranges of this second application program by the second application program;
User chooses the video in the first application program on the display interface of terminal device, then drag motions is passed through, this video is dragged to other to have opened and can the region of video input of the second application program of receiver, video, terminal device will response user to the drag operation of this video, and by the second application program to be drawn to this second application program video input region in video process;
User chooses the document in the first application program on the display interface of terminal device, then drag motions is passed through, document is dragged to other to have opened and the document storage area that can receive the second application program of document, terminal device can respond the drag operation of user to the document, and is processed the document be drawn in the document storage area of this second application program by the second application program;
User chooses the audio frequency in the first application program on the display interface of terminal device, pass through drag motions, audio frequency is dragged to other opened and can audio reception the second application program audio frequency input region, terminal device will respond this user to the drag operation of this audio frequency, and is processed by the audio frequency of the second application program to the region that the audio frequency being drawn to this second application program inputs.
In embodiments of the present invention, user can use drag operation to pull the data chosen in the first application program, and terminal device is by this drag operation of response, and along with the drag operation of user, detects the position of the data chosen in this first application program.If when terminal device detects that the data chosen in the first application program are dragged in the second application program, terminal device will judge whether this second application program can process the data in the window ranges being dragged to this second application program, if the second application program can process the data in the window ranges being dragged to this second application program, then by second these data of application program process, realize the data interaction between the first application program and the second application program, and do not need in advance the data chosen in the first application program to be saved in the storage space of terminal device, effectively can avoid taking and wasting of storage space to a certain extent.
Technical scheme for a better understanding of the present invention in embodiment, refers to Fig. 4, is another embodiment of the data interactive method between the application program in the embodiment of the present invention, comprises:
401, terminal device response user is to the start-up operation of the window arrangement function on display interface, display interface arranges the window of multiple application program, comprises the first application program and the second application program in multiple application program;
In embodiments of the present invention, user if desired carries out data interaction by terminal device to the first application program and the second application program, user can start the window arrangement function on this terminal device, and terminal device will respond user to the start-up operation of the window arrangement function on display interface, and on display interface, arrange the window of multiple application program, and in the plurality of application program, comprise the first application program and the second application program.
It should be noted that, for the ease of for choosing the application program needing to carry out data interaction, the multiple application programs be arranged on the display interface of terminal device are in the state that can choose, can be such as that a selectable square frame is set around each application program, and comprise one determine frame and cancel frame, so that user's selective gist program and cancellation window arrangement, in order to better understanding, referring to Fig. 5 a, is the schematic diagram of the window arrangement of application program multiple in the embodiment of the present invention.
402, the selection of terminal device response user to the first application program and the second application program operates, and determines to need to carry out window arrangement to the first application program and the second application program;
In embodiments of the present invention, terminal device is by after the window arrangement of multiple application program is on display interface, because the plurality of application program is in the state that can choose, user can select the first application program and the second application program that need to carry out data interaction, and response user operates the selection of the first application program and the second application program by terminal device, determines to need to carry out window arrangement to the first application program and the second application program.In order to better understanding, refer to Fig. 5 b, for application program is by the schematic diagram of the display interface after selecting.
403, terminal device response user is to the first application program selected and the window arrangement instruction of the second application program, by the window arrangement of the first application program and the second application program on the display interface of terminal device;
In embodiments of the present invention, user is after selection first application program and the second application program, by operation generating window arrangement instruction, such as, refer to Fig. 5 b, user's determination frame can clicked in Fig. 5 b determines selection first application program and the second application program, and terminal device will response user to the first application program selected and the window arrangement instruction of the second application program, by the window arrangement of the first application program and the second application program on the display interface of terminal device.Refer to Fig. 5 c, in the embodiment of the present invention, the schematic diagram of window arrangement on display interface of the first application program and the second application program.
404, terminal device responds the data selection operation in the window of the first application program that user shows on display interface, determines the data chosen in the first application program;
In embodiments of the present invention, after terminal device arranges the window of the first application program and the second application program on display interface, user can select data in the first application program, the data of this selection can be any one in image data, lteral data, voice data, video data, and the data selection operation that terminal device will respond in the window of the first application program that user shows on display interface, determine the data chosen in the first application program, refer to Fig. 5 d, for user chooses the schematic diagram of display interface after data.
405, terminal device response user is to the drag operation of the data chosen in the first application program on the display interface of terminal device, along with drag operation, detects the position that the data chosen in the first application program are dragged to;
In embodiments of the present invention, after the data selection operation of terminal device response user, in order to realize the data interaction between the first application program and the second application program, user needs to carry out drag operation to the data chosen in the first application program, and terminal device will respond user on the display interface of terminal device to the drag operation of the data chosen in the first application program, and along with the drag operation of user, detect the position that the data chosen in the first application program are dragged to.Refer to Fig. 5 e, in the embodiment of the present invention, the data chosen in the first application program are by the schematic diagram pulled, and wherein, the direction of arrow represents the drag direction of the data chosen in this first application program.
If 406 terminal devices detect that the data chosen in the first application program are dragged in the window ranges of the second application program, then judge whether the second application program can process the data in the window ranges being dragged to the second application program;
In embodiments of the present invention, user is when carrying out drag operation to the data in the first application program, the position that terminal device will detect the data chosen in this first application program in real time and is dragged to, if terminal device detects that the data chosen in the first application program are dragged in the window ranges of the second application program, then this terminal device will judge whether the second application program can process the data in the window ranges being dragged to this second application program.
In embodiments of the present invention, terminal device is after installation application program, this application program is registered in the type registration table in terminal device, namely the accessible data type of the application program of this installation determined by terminal device, and the corresponding relation added in type registration table between the application program of this installation and the accessible data type of this application program, therefore, in embodiments of the present invention, containing type registration table in terminal device, and the corresponding relation between the application program comprised in the type registration table in terminal device and the accessible data type of application program.
It should be noted that, terminal device can also obtain the type registration table from third party device, and this terminal device can from this third party device down load application program, and this third party device can be cloud server.
In embodiments of the present invention, terminal device judges that the data whether the second application program can process in the window ranges being dragged to the second application program comprise: if terminal device detects that the data chosen in the first application program are dragged in the window ranges of the second application program, then terminal device will determine that this is dragged to the data type of the data in the window ranges of the second application program, and judge the data type whether comprising the data in this window ranges being dragged to the second application program in the type registration table stored in the accessible data type of the second application program, such as: if the first application program is web browser, and the data chosen in the first application program are picture A, second application program is FOXMAIL mailbox, picture A is drawn in the window ranges of FOXMAIL mailbox, then terminal device judges that FOXMAIL mailbox to process picture A, namely in the type registration table of terminal device, search in the accessible data type of FOXMAIL mailbox whether comprise image data.And if terminal device is determined to comprise image data in the accessible data type of the second application program, then determine that the second application program can process the picture A in the window ranges being dragged to the second application program; If terminal device is determined not comprise image data in the accessible data type of the second application program, then determine that the second application program can not process the picture A in the window ranges being dragged to the second application program.
If 407 second application programs can process the data in the window ranges being dragged to the second application program, then be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, if terminal device determines that the second application program can process the data in the window ranges being dragged to the second application program, then be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
It should be noted that, in embodiments of the present invention, if the data type not comprising the data in the window ranges being drawn to this second application program in the accessible data type of the second application program determined by terminal device, then determine that the second application program can not process the data in the window ranges being dragged to the second application program, and also by the information of display alarm data interaction failure on the display interface of terminal device, can not be processed by the second application program with the data chosen in its first application program selected of reminding user.
It should be noted that, in embodiments of the present invention, the mode being drawn to the data chosen in the first application program in the window ranges of this second application program by the second application program process can be determined according to actual conditions, such as: when the data of the first application program are image data, if the second application program is WORD application program, then word application program will open a word document, and this image data is inserted in this word document opened, if the second application program is FOXMAIL mailbox, then open mail composition page, and the image data in the first application program is presented at word and writes region or be kept in this mail as annex.Again such as: be video data in the data of the first application program, when this video data is the chained address of video, if the second application program is audio and video player, then this audio and video player will obtain the chained address of this video data, start download and play this video.Therefore, in actual applications, the mode process of concrete process data can be applied from the data in the first application according to second, not limit herein.
In embodiments of the present invention, user is by operation terminal device, terminal device is made to respond user to the start-up operation of window arrangement function, display interface arranges the window of multiple application program, and response user is to the selection operation of the first application program and the second application program and window arrangement instruction, display interface arranges the window of the first application program and the second application program, and response user also operates and drag operation the data selection in the first application program by terminal device, and detecting in the window ranges that the data chosen in the first application program are drawn to the second application program and after determining the data that the second application program can process in this window ranges being drawn to the second application program, by the second application program process, this is drawn to the data in the window ranges of the second application program, realize the data interaction between the first application program and the second application program, and do not need in advance the data chosen in the first application program to be saved in the storage space of terminal device, effectively can avoid taking and wasting of storage space to a certain extent.
Technical scheme for a better understanding of the present invention in embodiment, will a concrete application scenarios be introduced below, comprising:
When user uses terminal device, during for the video data " pupil's setting-up exercises to radio music " play of audio and video player is shared on Sina's microblogging, user can start the function of the window arrangement of terminal device, terminal device will get the list of the current application program run, and the list of the current application program run is presented on display interface, user selects audio and video player and this two methods program of Sina's microblogging, and click confirmation, terminal device is made to divide two viewing areas by 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 arrangement realizing audio and video player and this two methods program of Sina's microblogging, user can select the video data " pupil's setting-up exercises to radio music " in audio and video player in playlist, and by the mode pulled, the video data of this selection is moved on the display interface of terminal device, and these " pupil's setting-up exercises to radio music " be drawn to Sina's microblogging in the window of display interface time, terminate drag motions, then terminal device detects that the video data in audio and video player 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, determining that Sina's microblogging can after processing video data, in the storage area, video link address that the microblogging chained address of being somebody's turn to do " pupil's setting-up exercises to radio music " being kept at Sina's microblogging is issued, to realize the data interaction between audio and video player and this two methods program of Sina's microblogging, in addition, also can write content of microblog further by user, and click issue, to issue the address of video and the microblogging of broadcast window that comprise these " pupil's setting-up exercises to radio music ".
Refer to Fig. 6, for the embodiment of the structure of the data interaction device in the embodiment of the present invention between application program, wherein, the window arrangement of multiple application program is on the display interface of this data interaction device, wherein, multiple application program comprises the first application program and the second application program, and this data interaction device 60 comprises:
Judging unit 601, if detect that the data chosen in the first application program are dragged in the window ranges of the second application program for terminal device, then judges whether the second application program can process the data in the window ranges being dragged to the second application program;
Interaction process unit 602, if determine that the second application program can process the data in the window ranges being dragged to the second application program for judging unit 601, then be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, if data interaction device detects that the data chosen in the first application program are dragged in the window ranges of the second application program, then judging unit 601 judges whether the second application program can process the data in the window ranges being dragged to the second application program, if judging unit 601 determines that the second application program can process the data in the window ranges being dragged to the second application program, then interaction process unit 602 is dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, data interaction device is by after the window arrangement of the first application program and the second application program is on the display interface of data interaction device, if when data interaction device detects that the data chosen in the first application program are dragged in the second application program, data interaction device will judge whether this second application program can process the data in the window ranges being dragged to this second application program, if the second application program can process the data in the window ranges being dragged to this second application program, then by second these data of application program process, realize the data interaction between the first application program and the second application program, and do not need in advance the data chosen in the first application program to be saved in the storage space of data interaction device, effectively can avoid taking and wasting of storage space to a certain extent.
Terminal device for a better understanding of the present invention in embodiment, refers to Fig. 7, is another embodiment of the structure of data interaction device in the embodiment of the present invention, comprises:
Data interaction device 60 as shown in Figure 6 in embodiment, this data interaction device 60 comprises: judging unit 601 and interaction process unit 602, and similar to the content of middle description embodiment illustrated in fig. 6, repeats no more herein.
In embodiments of the present invention, data interaction device 60 also comprises:
Receiving element 701, for receive window arrangement instruction, comprises the first application program and the second application program selected from multiple application program in window arrangement instruction;
Arrangement units 702, for after receiving element 701 receive window arrangement instruction, by the window arrangement of the first application program and the second application program on the display interface of data interaction device.
In embodiments of the present invention, judging unit 601 comprises:
First determining unit 703, at arrangement units 702 by after the window arrangement of the first application program and the second application program is on the display interface of data interaction device, determine the data type of the data be dragged in the window ranges of the second application program;
Type judging unit 704, after determining the data type of the data be dragged in the window ranges of the second application program in the first determining unit 703, judge the data type whether comprising the data in the window ranges being dragged to the second application program in the type registration table stored in the accessible data type of the second application program, in type registration table, comprise the corresponding relation between application program in data interaction device and the accessible data type of application program;
Second determining unit 705, if determine for type judging unit 704 data type comprising the data in the window ranges being drawn to this second application program in type registration table in the accessible data type of second application program, then determine that the second application program can process the data in the window ranges being dragged to the second application program;
3rd determining unit 706, if determine for type judging unit 704 data type not comprising the data in the window ranges being dragged to described second application program in type registration table in the accessible data type of second application program, then determine that the second application program can not process the data in the window ranges being dragged to the second application program.
In embodiments of the present invention, data interaction device 60 also comprises:
Tip element 707, if determine that the second application program can not process the data in the window ranges being dragged to the second application program for judging unit 601, then on the display interface of data interaction device, display is used for the mutual failed information of reminding data.
Receiving element 701 receive window arrangement instruction in data interaction device 60, the first application program and second application program of user's selection is comprised in this window arrangement instruction, then the window arrangement of the first application program of user being selected of arrangement units 702 and the second application program is on the display interface of data interaction device, if and data interaction device detects that the data chosen in the first application program are dragged in the window ranges of the second application program, the first determining unit 703 then in judging unit 601 will determine the data type of the data be dragged in the window ranges of the second application program, and the data type whether comprising the data in the window ranges being dragged to the second application program in the type registration table stored in the accessible data type of the second application program is judged by the type judging unit 704 in judging unit 601, comprise the corresponding relation between application program in data interaction device and the accessible data type of application program in the type registration table, if and type judging unit 704 determines the data type comprising the data in the window ranges being drawn to this second application program in type registration table in the accessible data type of the second application program, then the second determining unit 705 determines that the second application program can process the data in the window ranges being dragged to the second application program, if type judging unit 704 determines the data type not comprising the data in the window ranges being dragged to described second application program in type registration table in the accessible data type of the second application program, then the 3rd determining unit 706 determines that the second application program can not process the data in the window ranges being dragged to the second application program.
In embodiments of the present invention, after the second determining unit 705 determines the data that the second application program can process in the window ranges being dragged to the second application program, interaction process unit 602 is dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program, after the 3rd determining unit 706 determines the data that the second application program can not process in the window ranges being dragged to the second application program, shown on the display interface of data interaction device by Tip element 707 and be used for the mutual failed information of reminding data.
In embodiments of the present invention, data interaction device according to the window arrangement instruction received by after the window arrangement of the first application program and the second application program is on display interface, if data interaction device detects that the data chosen in the first application program are dragged in the window ranges that the second application program shown on display interface, then data interaction device will determine that this is drawn to the data type of the data in the window ranges of this second application program, and store type registration table in the accessible data type of the second application program in comprise the data type of the data in the window ranges being drawn to this second application program time, the data in the window ranges of this second application program are dragged to by the second application program process, realize the data interaction between the first application program and the second application program, and do not need to preserve the data chosen in the first application program in advance, effectively can avoid taking and wasting of the storage space of data interaction device to a certain extent.
Refer to Fig. 8, for the embodiment of the structure of the data interaction device in the embodiment of the present invention between application program, wherein, the window arrangement of multiple application program is on the display interface of this data interaction device, wherein, multiple application program comprises the first application program and the second application program, and this data interaction device 80 comprises:
Detecting unit 801, for responding user's drag operation to the data chosen in the first application program on the display interface of data interaction device, along with drag operation, detects the position that the data chosen in the first application program are dragged to;
First judging unit 802, if detect that the data chosen in the first application program are dragged in the window ranges of the second application program for detecting unit 801, then judge whether the second application program can process the data in the window ranges being dragged to the second application program;
Interactive unit 803, if determine that the second application program can process the data in the window ranges being dragged to the second application program for the first judging unit 802, then be dragged to the data in the window ranges of this second application program by the second application program process, realize the data interaction between the first application program and the second application program.
In embodiments of the present invention, detecting unit 801 in data interaction device responds user's drag operation to the data chosen in the first application program on the display interface of data interaction device, along with drag operation, detect the position that the data chosen in the first application program are dragged to; If detecting unit 801 detects that the data chosen in the first application program are dragged in the window ranges of the second application program, then the first judging unit 802 judges whether the second application program can process the data in the window ranges being dragged to the second application program; And if the first judging unit 802 determines that the second application program can process the data in the window ranges being dragged to the second application program, then interactive unit 803 is dragged to the data in the window ranges of this second application program by the second application program process, realizes the data interaction between the first application program and the second application program.
In embodiments of the present invention, user can use drag operation to pull the data chosen in the first application program, and terminal device is by this drag operation of response, and along with the drag operation of user, detects the position of the data chosen in this first application program.If when terminal device detects that the data chosen in the first application program are dragged in the second application program, terminal device will judge whether this second application program can process the data in the window ranges being dragged to this second application program, if the second application program can process the data in the window ranges being dragged to this second application program, then by second these data of application program process, realize the data interaction between the first application program and the second application program, and do not need in advance the data chosen in the first application program to be saved in the storage space of terminal device, effectively can avoid taking and wasting of storage space to a certain extent.
Data interaction device for a better understanding of the present invention in embodiment, refers to Fig. 9, and be another embodiment of data interaction device in the embodiment of the present invention 80, this data interaction device 80 comprises:
Detecting unit 801, first judging unit 802, interactive unit 803 in embodiment as described in Figure 8, and similar to the content of middle description embodiment illustrated in fig. 8, repeat no more herein.
In the invention process, data interaction device 80 also comprises:
First determining unit 901, for detect position that the data chosen in the first application program are dragged at detecting unit 801 before, data selection operation in the window of the first application program that response user shows on display interface, determines the data chosen in the first application program.
In embodiments of the present invention, data interaction device 80 also comprises:
First order unit 902, before determining in the first determining unit 901 data chosen in first application program, user is to the start-up operation of the window arrangement function on display interface in response, display interface arranges the window of multiple application program, in multiple application program, comprises the first application program and the second application program;
Second determining unit 903, after the window arranging multiple application program at first order unit 903 on display interface, the selection of response user to the first application program and the second application program operates, and determines to need to carry out window arrangement to the first application program and the second application program;
Second order unit 904, for determine to need that window arrangement is carried out to the first application program and the second application program in the second determining unit 903 after, response user to the first application program selected and the window arrangement instruction of the second application program, by the window arrangement of the first application program and the second application program on the display interface of data interaction device.
In embodiments of the present invention, the first judging unit 802 comprises:
3rd determining unit 905, for determining the data type of the data be dragged in the window ranges of the second application program;
Second judging unit 906, after determining the data type of the data be dragged in the window ranges of the second application program in the 3rd determining unit 905, judge the data type whether comprising the data in the window ranges being dragged to the second application program in the type registration table stored in the accessible data type of the second application program, in type registration table, comprise the corresponding relation between application program in data interaction device and the accessible data type of application program;
4th determining unit 907, if determine for the second judging unit 906 data type comprising the data in the window ranges being drawn to this second application program in type registration table in the accessible data type of second application program, then determine that the second application program can process the data in the window ranges being dragged to the second application program;
5th determining unit 908, if determine for the second judging unit 906 data type not comprising the data in the window ranges being dragged to described second application program in type registration table in the accessible data type of second application program, then determine that the second application program can not process the data in the window ranges being dragged to the second application program.
In embodiments of the present invention, data interaction device 80 also comprises:
Reminding unit 909, if determine that the second application program can not process the data in the window ranges being dragged to the second application program for the first judging unit 802, then on the display interface of data interaction device, display is used for the mutual failed information of reminding data.
In embodiments of the present invention, first order unit 902 in data interaction device responds the start-up operation of user to the window arrangement function on display interface, display interface arranges the window of multiple application program, in multiple application program, comprises the first application program and the second application program; Then, the second determining unit 903 responds the selection of user to the first application program and the second application program and operates, and determines to need to carry out window arrangement to the first application program and the second application program; And respond user to the first application program selected and the window arrangement instruction of the second application program by second order unit 904, by the window arrangement of the first application program and the second application program on the display interface of data interaction device.
In embodiments of the present invention, the window arrangement of the first application program and the second application program on display interface after, first determining unit 901 responds the data selection operation in the window of the first application program that user shows on display interface, determine the data chosen in the first application program, and respond user's drag operation to the data chosen in the first application program on the display interface of data interaction device by detecting unit 801, along with drag operation, detect the position that the data chosen in the first application program are dragged to; If detecting unit 801 detects that the data chosen in the first application program are dragged in the window ranges of the second application program, then the 3rd determining unit 905 in the first judging unit 802 determines the data type of the data be dragged in the window ranges of the second application program; Then the second judging unit 906 judges the data type whether comprising the data in the window ranges being dragged to the second application program in the type registration table stored in the accessible data type of the second application program, comprises the corresponding relation between application program in data interaction device and the accessible data type of application program in type registration table; And if the second judging unit 906 determines the data type comprising the data in the window ranges being drawn to this second application program in type registration table in the accessible data type of the second application program, then the 4th determining unit 907 determines that the second application program can process the data in the window ranges being dragged to the second application program; And if the second judging unit 906 determines the data type not comprising the data in the window ranges being dragged to described second application program in type registration table in the accessible data type of the second application program, then the 5th determining unit 908 determines that the second application program can not process the data in the window ranges being dragged to the second application program.
In embodiments of the present invention, if the first judging unit 802 determines that the second application program can process the data in the window ranges being dragged to the second application program, then interactive unit 803 is dragged to the data in the window ranges of this second application program by the second application program process, realizes the data interaction between the first application program and the second application program.If the first judging unit 802 determines that the second application program can not process the data in the window ranges being dragged to the second application program, then reminding unit 909 shows and is used for the mutual failed information of reminding data on the display interface of data interaction device.
In embodiments of the present invention, user is by operation terminal device, terminal device is made to respond user to the start-up operation of window arrangement function, display interface arranges the window of multiple application program, and response user is to the selection operation of the first application program and the second application program and window arrangement instruction, display interface arranges the window of the first application program and the second application program, and response user also operates and drag operation the data selection in the first application program by terminal device, and detecting in the window ranges that the data chosen in the first application program are drawn to the second application program and after determining the data that the second application program can process in this window ranges being drawn to the second application program, by the second application program process, this is drawn to the data in the window ranges of the second application program, realize the data interaction between the first application program and the second application program, and do not need in advance the data chosen in the first application program to be saved in the storage space of terminal device, effectively can 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, the present embodiment additionally provides a kind of terminal device, this terminal device can be specially portable, pocket, hand-held, built-in computer or vehicle-mounted band touch panel device or not be with touch panel device, such as, can be specially mobile phone, panel computer, notebook computer, personal digital assistant (PersonalDigitalAssistant; Hereinafter referred to 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 for showing multiple application program, the window arrangement of described multiple application program is on described device screen, and described multiple application program comprises the first application program and the second application program; If described processing module 1002 is for detecting that the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing; If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of 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 for receive window arrangement instruction, comprises described first application program and described second application program selected from described multiple application program in described window arrangement instruction; And processing module 1002 is also for by the display interface of the window arrangement of described first application program and described second application program at described terminal device.
In embodiments of the present invention, if processing module 1002, specifically for detecting that the data chosen in described first application program are dragged in the window ranges of described second application program, is dragged to the data type of the data in the window ranges of described second application program described in determining; Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program; If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing, by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program; If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing, on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
In embodiments of the present invention, terminal device according to the window arrangement instruction received by after the window arrangement of the first application program and the second application program is on display interface, if terminal device detects that the data chosen in the first application program are dragged in the window ranges that the second application program shown on display interface, then terminal device will determine that this is drawn to the data type of the data in the window ranges of this second application program, and store type registration table in the accessible data type of the second application program in comprise the data type of the data in the window ranges being drawn to this second application program time, the data in the window ranges of this second application program are dragged to by the second application program process, realize the data interaction between the first application program and the second application program, and do not need to preserve the data chosen in the first application program in advance, effectively can avoid taking and wasting of the 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, the present embodiment additionally provides a kind of terminal device, this terminal device can be specially portable, pocket, hand-held, built-in computer or vehicle-mounted band touch panel device or not be with touch panel device, such as, 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 multiple application program, the window arrangement of described multiple application program is on described device screen 1101, described multiple application program comprises the first application program and the second application program, described device screen 1101 also for respond user on described device screen 1101 to the first application program in the drag operation of data chosen;
In embodiments of the present invention, processing module 1102 is for along with the movement of data on described device screen chosen in described first application program, detect the position that the data chosen in described first application program are dragged to, if detect, the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing; If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program.
Preferably, the data of described device screen 1101 also in the window responding described first application program that described user shows on described device screen choose operation, then described processing module 1102 is also for determining the data chosen in described first application program;
Preferably, described device screen 1101 is also for responding the start-up operation of described user to the window arrangement function on described device screen, described processing module 1102 also for arranging the window of described multiple application program on described display interface, comprises described first application program and the second application program in described multiple application program;
Preferably, device screen 1101 also operates for responding the selection of described user to described first application program and described second application program, and described processing module 1102 also needs to carry out window arrangement to the first application program and the second application program for determining;
Preferably, device screen 1101 is also for responding described user to described first application program selected and the window arrangement instruction of described second application program, and described process mould 1102 pieces is also for by the display interface of the window arrangement of described first application program and described second application program at described terminal device.
Preferably, if described processing module 1101, specifically for detecting that the data chosen in described first application program are dragged in the window ranges of described second application program, is dragged to the data type of the data in the window ranges of described second application program described in determining; Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program; If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing, by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program; If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing, on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
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, user is by operation terminal device, terminal device is made to respond user to the start-up operation of window arrangement function, display interface arranges the window of multiple application program, and response user is to the selection operation of the first application program and the second application program and window arrangement instruction, display interface arranges the window of the first application program and the second application program, and response user also operates and drag operation the data selection in the first application program by terminal device, and detecting in the window ranges that the data chosen in the first application program are drawn to the second application program and after determining the data that the second application program can process in this window ranges being drawn to the second application program, by the second application program process, this is drawn to the data in the window ranges of the second application program, realize the data interaction between the first application program and the second application program, and do not need in advance the data chosen in the first application program to be saved in the storage space of terminal device, effectively can 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 and antenna 1201.The operation of processor 1206 control terminal 120.Storer 1207 can comprise ROM (read-only memory) and random access memory, and provides instruction and data to processor 1106.A part for storer 1207 can also comprise non-volatile row random access memory (NVRAM).In concrete application, terminal device 120 can embed or itself can be exactly the Wireless Telecom Equipment of such as mobile phone and so on, the carrier holding radiating circuit 1202 and receiving circuit 1203 can also be comprised, to allow to carry out data transmitting and receiving between terminal device 120 and 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 is except comprising data bus, also comprises power bus, control bus and status signal bus in addition.But for the purpose of clearly demonstrating, in the drawings various bus is all 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 processor 1206, in other words by processor 1206 with realize, terminal device in the invention described above embodiment can be specially the terminal device shown in above-mentioned Figure 12 to realize, and the processing module in above-mentioned terminal device can be understood as the processor 1206 in Figure 12 in terminal device.Processor 1206 may be a kind of integrated circuit (IC) chip, has the executive capability of instruction and data, and the processing power of signal.In implementation procedure, each step of said method can be completed by the instruction of the integrated logic circuit of the hardware in processor 1206 or 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, discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.The processor etc. of general processor can be microprocessor or this processor also can be any routine.Step in conjunction with the method disclosed in the embodiment of the present invention can directly be presented as that hardware processor is complete, or hardware in purpose processor and software module combination complete.Software module can be positioned at random access memory, flash memory, ROM (read-only memory), 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 storer 1207, completes 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 realized in above-described embodiment method, can carry out the relevant hardware of instruction by computer program, such as processor has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above 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, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (18)

1. the data interactive method between application program, is characterized in that, the window arrangement of multiple application program is on the display interface of terminal device, and wherein said multiple application program comprises the first application program and the second application program, and described method comprises:
If described terminal device detects that the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing;
If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program;
Wherein, describedly judge described second application program is dragged to data in the window ranges of described second application program described in whether processing, and comprising:
The data type of the data in the window ranges of described second application program is dragged to described in determining;
Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program;
If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing;
If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing.
2. method according to claim 1, is characterized in that, described method comprises further:
Receive window arrangement instruction, comprises described first application program and described second application program selected from described multiple application program in described window arrangement instruction;
Described terminal device by the window arrangement 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, described method also comprises:
If be dragged to the data in the window ranges of described second application program described in described second application program can not process, then on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
4. the data interactive method between application program, is characterized in that, the window arrangement of multiple application program is on the display interface of terminal device, and wherein, described multiple application program comprises the first application program and the second application program, and described method comprises:
Respond user to the drag operation of the data chosen in the first application program on described display interface, along with described drag operation, the position that the data chosen in described first application program of described terminal device detection are dragged to;
If described terminal device detects that the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing;
If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program;
Wherein, describedly judge described second application program is dragged to data in the window ranges of described second application program described in whether processing, and comprising:
The data type of the data in the window ranges of described second application program is dragged to described in determining;
Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program;
If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing;
If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing.
5. method according to claim 4, is characterized in that, described terminal device response user also comprises before the drag operation of the data chosen in the first application program on the display interface of described terminal device:
Described terminal device responds the data selection operation in the window of described first application program that described user shows on described display interface, determines the data chosen in described first application program.
6. the method according to claim 4 or 5, is characterized in that, described method also comprises:
Described terminal device responds the start-up operation of described user to the window arrangement function on described display interface, described display interface arranges the window of described multiple application program, in described multiple application program, comprises described first application program and the second application program;
Described terminal device responds the selection of described user to described first application program and described second application program and operates, and determines to need to carry out window arrangement to the first application program and the second application program;
Described terminal device responds described user to described first application program selected and the window arrangement instruction of described second application program, by the window arrangement of described first application program and described second application program on the display interface of described terminal device.
7. method according to claim 4, is characterized in that, described method also comprises:
If be dragged to the data in the window ranges of described second application program described in described second application program can not process, then on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
8. the data interaction device between an application program, it is characterized in that, the window arrangement of multiple application program on the display interface of described data interaction device, wherein, described multiple application program comprises the first application program and the second application program, and described data interaction device comprises:
Judging unit, if detect that the data chosen in described first application program are dragged in the window ranges of described second application program for described data interaction device, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing;
Interaction process unit, if determine that described second application program is dragged to data in the window ranges of described second application program described in can processing for described judging unit, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program;
Wherein, described judging unit comprises:
First determining unit, for at described arrangement units by after the window arrangement of described first application program and the second application program is on the display interface of described data interaction device, be dragged to the data type of the data in the window ranges of described second application program described in determining;
Type judging unit, after being dragged to the data type of the data in the window ranges of described second application program described in determining in described first determining unit, judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described data interaction device and the accessible data type of application program;
Second determining unit, if be dragged to the data type of the data in the window ranges of described second application program described in determining to comprise in the accessible data type of the second application program described in described type registration table for described type judging unit, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing;
3rd determining unit, if be dragged to the data type of the data in the window ranges of described second application program described in determining not comprise in the accessible data type of the second application program described in described type registration table for described type judging unit, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing.
9. data interaction device according to claim 8, is characterized in that, described data interaction device also comprises:
Receiving element, for receive window arrangement instruction, comprises described first application program and described second application program selected from described multiple application program in described window arrangement instruction;
Arrangement units, after receiving described window arrangement instruction at described receiving element, by the window arrangement of described first application program and described second application program on the display interface of described data interaction device.
10. data interaction device according to claim 8, is characterized in that, described data interaction device also comprises:
Tip element, if determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing for described 3rd determining unit, then on the display interface of described data interaction device, display is used for the mutual failed information of reminding data.
Data interaction device between 11. 1 kinds of application programs, it is characterized in that, the window arrangement of multiple application program on the display interface of data interaction device, wherein, multiple application program comprises the first application program and the second application program, and described data interaction device comprises:
Detecting unit, for responding user's drag operation to the data chosen in the first application program on the display interface of described data interaction device, along with described drag operation, detects the position that the data chosen in described first application program are dragged to;
First judging unit, if detect that the data chosen in described first application program are dragged in the window ranges of described second application program for described detecting unit, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing;
Interactive unit, if determine that described second application program is dragged to data in the window ranges of described second application program described in can processing for described first judging unit, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program;
Wherein, described first judging unit comprises:
3rd determining unit, for being dragged to the data type of the data in the window ranges of described second application program described in determining;
Second judging unit, after being dragged to the data type of the data in the window ranges of described second application program described in determining in described 3rd determining unit, judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described data interaction device and the accessible data type of application program;
4th determining unit, if be dragged to the data type of the data in the window ranges of described second application program described in determining to comprise in the accessible data type of the second application program described in described type registration table for described second judging unit, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing;
5th determining unit, if be dragged to the data type of the data in the window ranges of described second application program described in determining not comprise in the accessible data type of the second application program described in described type registration table for described second judging unit, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing.
12. data interaction device according to claim 11, is characterized in that, described data interaction device also comprises:
First determining unit, for before the position that the data chosen in described first application program of described detecting unit detection are dragged to, respond the data selection operation in the window of described first application program that described user shows on described display interface, determine the data chosen in described first application program.
13. data interaction device according to claim 12, is characterized in that, described data interaction device also comprises:
First order unit, for before the data determining to choose in described first application program in described first determining unit, respond the start-up operation of described user to the window arrangement function on described display interface, described display interface arranges the window of described multiple application program, in described multiple application program, comprises described first application program and the second application program;
Second determining unit, after the window arranging described multiple application program at described first order unit on described display interface, respond the selection of described user to described first application program and described second application program to operate, determine to need to carry out window arrangement to described first application program and described second application program;
Second order unit, for determine to need that window arrangement is carried out to described first application program and described second application program in described second determining unit after, respond described user to described first application program selected and the window arrangement instruction of described second application program, by the window arrangement of described first application program and described second application program on the display interface of described data interaction device.
14. data interaction device according to claim 11, is characterized in that, described data interaction device also comprises:
Reminding unit, if determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing for the first judging unit, then on the display interface of described data interaction device, display is used for the mutual failed information of reminding data.
Terminal device between 15. 1 kinds of application programs, is characterized in that, comprising: device screen and processing module, and described processing module is connected with described device screen, wherein:
Described device screen is for showing multiple application program, and the window arrangement of described multiple application program is on described device screen, and described multiple application program comprises the first application program and the second application program;
If described processing module is used for detecting that the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing; If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program;
Wherein, if described processing module, specifically for detecting that the data chosen in described first application program are dragged in the window ranges of described second application program, is dragged to the data type of the data in the window ranges of described second application program described in determining; Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program; If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing, by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program; If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing, on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
16. terminal devices according to claim 15, it is characterized in that, described processing module also for receive window arrangement instruction, comprises described first application program and described second application program selected from described multiple application program in described window arrangement instruction; And for by the display interface of the window arrangement of described first application program and described second application program at described terminal device.
Terminal device between 17. 1 kinds of application programs, is characterized in that, comprising: device screen and processing module, and described processing module is connected with described device screen, wherein:
Described device screen is for showing multiple application program, the window arrangement of described multiple application program is on described device screen, described multiple application program comprises the first application program and the second application program, and described device screen is also for responding user's drag operation to the data chosen in the first application program on described device screen;
Described processing module is for along with the movement of data on described device screen chosen in described first application program, detect the position that the data chosen in described first application program are dragged to, if detect, the data chosen in described first application program are dragged in the window ranges of described second application program, then judge described second application program is dragged to data in the window ranges of described second application program described in whether processing; If be dragged to the data in the window ranges of described second application program described in described second application program can process, then by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program;
Wherein, if described processing module, specifically for detecting that the data chosen in described first application program are dragged in the window ranges of described second application program, is dragged to the data type of the data in the window ranges of described second application program described in determining; Judge the data type being dragged to the data in the window ranges of the second application program described in whether comprising in the accessible data type of the second application program described in the type registration table that stores, in described type registration table, comprise the corresponding relation between application program in described terminal device and the accessible data type of application program; If be dragged to the data type of the data in the window ranges of described second application program described in comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can processing, by the data be dragged to described in described second application program process in the window ranges of described second application program, realize the data interaction between described first application program and described second application program; If be dragged to the data type of the data in the window ranges of described second application program described in not comprising in the accessible data type of the second application program described in described type registration table, then determine that described second application program is dragged to data in the window ranges of described second application program described in can not processing, on the display interface of described terminal device, display is used for the mutual failed information of reminding data.
18. terminal devices according to claim 17, it is characterized in that, the data of described device screen also in the window responding described first application program that described user shows on described device screen choose operation, then described processing module is also for determining the data chosen in described first application program;
Described device screen is also for responding the start-up operation of described user to the window arrangement function on described device screen, described processing module also for arranging the window of described multiple application program on described display interface, comprises described first application program and the second application program in described multiple application program;
Described device screen also operates for responding the selection of described user to described first application program and described second application program, and described processing module also needs to carry out window arrangement to the first application program and the second application program for determining;
Described device screen is also for responding described user to described first application program selected and the window arrangement instruction of described second application program, and described processing module is also for by the display interface of the window arrangement of described first application program and described second application program at 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 CN103279269A (en) 2013-09-04
CN103279269B true 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)

Families Citing this family (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
CN103778008B (en) * 2014-02-24 2018-02-27 联想(北京)有限公司 Control method, device and the electronic equipment of a kind of electronic equipment
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
CN107066172B (en) * 2017-02-16 2020-07-10 北京小米移动软件有限公司 File 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
CN109960446A (en) * 2017-12-25 2019-07-02 华为终端有限公司 It is a kind of to control the method and terminal device that selected object is shown in application interface
CN110874276B (en) * 2018-08-31 2023-02-28 杭州海康威视系统技术有限公司 Cross-process communication method and device and computer readable storage medium
CN112199124B (en) * 2019-06-21 2022-07-01 海信视像科技股份有限公司 Project opening method and device and display equipment
CN114237778A (en) * 2020-09-09 2022-03-25 华为技术有限公司 Interface display method and electronic equipment
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

Also Published As

Publication number Publication date
CN103279269A (en) 2013-09-04

Similar Documents

Publication Publication Date Title
CN103279269B (en) Data interactive method between a kind of application program and device, terminal device
CN104219617B (en) Service acquisition method and device
CN106844067B (en) A kind of processing method and mobile terminal of content
US9104292B2 (en) User interface of electronic apparatus for displaying application indicators
CN105975170B (en) A kind of method and device of page load
CN106681711A (en) Method for content sharing under split screen mode and mobile terminal
CN104239381A (en) Portable terminal and user interface method in portable terminal
CN109561271B (en) Method for guiding terminal operation, first terminal and second terminal
CN107077295A (en) A kind of method, device, electronic equipment, display interface and the storage medium of quick split screen
CN106504777B (en) A kind of processing method and mobile terminal of recording data
KR20130085711A (en) Mobile terminal and method for controlling the same
CN104850406B (en) A kind of method and apparatus for switching the page
CN105786878A (en) Browse object display method and device
CN105302442A (en) Image information processing method and terminal
US9141273B2 (en) Mobile terminal and method of controlling mobile terminal
US11095592B2 (en) Method for providing messenger service and electronic device thereof
WO2014180171A1 (en) Method, apparatus and terminal for selecting content
CN107958365B (en) Material information changing method and device, storage medium and electronic equipment
KR101952171B1 (en) Electronic device and method for displaying web history thereof
CN105389173A (en) Interface switching display method and device based on long connection tasks
CN104657201A (en) Method, device, equipment and system for pushing application program
CN105373587A (en) Picture display method and terminal
CN104424212A (en) Method and device for sharing media content and method and device for display media content
CN103324478A (en) Mobile terminal and application program management method thereof
CN106557258A (en) It is a kind of to replicate method of attaching and terminal

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