CN105426190A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN105426190A
CN105426190A CN201510791425.3A CN201510791425A CN105426190A CN 105426190 A CN105426190 A CN 105426190A CN 201510791425 A CN201510791425 A CN 201510791425A CN 105426190 A CN105426190 A CN 105426190A
Authority
CN
China
Prior art keywords
application scenarios
application
scenarios interface
terminal
specific data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510791425.3A
Other languages
Chinese (zh)
Other versions
CN105426190B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510791425.3A priority Critical patent/CN105426190B/en
Publication of CN105426190A publication Critical patent/CN105426190A/en
Application granted granted Critical
Publication of CN105426190B publication Critical patent/CN105426190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention discloses a data transmission method and device, and belongs to the field of client application. The data transmission method comprises the following steps: displaying a first application scenario interface and a second application scenario interface; determining the operation trace of a drag operation when the drag operation on specific data in the first application scenario interface is detected; sending a transmission instruction to a server when the operation trace shows that the drag operation leaves the first application scenario interface and enters the second application scenario interface, so that the server feeds back a display instruction via second application identification corresponding to terminal identification included in the transmission instruction, wherein the transmission instruction at least comprises data identification used for indicating the specific data, first application identification and the terminal identification; and displaying the specific data in the second application scenario interface according to the operation trace of the drag operation after receiving the display instruction. According to the invention, as long as a user triggers the drag operation, can the specific data be transmitted between different application clients via the server, that is, the operation is simple and convenient.

Description

Data transferring method and device
Technical field
The present invention relates to client application field, particularly a kind of data transferring method and device.
Background technology
In order to meet the diversified demand of user, terminal can install multiple application, realizes different functions by different application.And terminal by a certain application, can also process the data in Another Application, realize data transmission between different applications.
To apply A and application B, during the scene interface of terminal demonstration application A, user can data in selective gist A, and " opening " option clicked in this scene interface, then terminal display application list in this scene interface, this list of application comprises other application in terminal except application A, when the selection operation of applying B being detected during user is to list of application, terminal starts application B, opens this data by application B, and user can check this data in application B.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem: said process needs user to click " opening " option, and in list of application selective gist B, complex operation.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of data transferring method and device.Described technical scheme is as follows:
First aspect, provides a kind of data transferring method, and described method comprises:
Show the first application scenarios interface and the second application scenarios interface;
When the drag operation of specific data in described first application scenarios interface being detected, determine the operation trace of described drag operation;
When determining that according to described operation trace described drag operation leaves described first application scenarios interface, when entering described second application scenarios interface, send to server and transmit instruction, described transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate described specific data, makes described server return displaying instruction based on the second application identities corresponding with described terminal iidentification;
When receiving described displaying instruction, on described second application scenarios interface, according to the operation trace of described drag operation, show described specific data.
Second aspect, provides a kind of data transferring method, and described method comprises:
The transmission instruction that receiving terminal sends, described transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate specific data;
According to the corresponding relation between the terminal iidentification set up in advance and application identities, obtain second application identities corresponding with described terminal iidentification;
Based on described second application identities, send to described terminal and show instruction, described displaying instruction at least comprises described Data Identification, makes described terminal on the second application scenarios interface of display, according to the operation trace of described drag operation, show described specific data.
The third aspect, provides a kind of data transfer device, and described device comprises:
Display module, for showing the first application scenarios interface and the second application scenarios interface;
Track determination module, for when the drag operation of specific data in described first application scenarios interface being detected, determines the operation trace of described drag operation;
Sending module, determine that described drag operation leaves described first application scenarios interface for working as according to described operation trace, when entering described second application scenarios interface, send to server and transmit instruction, described transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate described specific data, makes described server return displaying instruction based on the second application identities corresponding with described terminal iidentification;
Display module, for when receiving described displaying instruction, on described second application scenarios interface, according to the operation trace of described drag operation, shows described specific data.
Fourth aspect, provides a kind of data transfer device, and described device comprises:
Receiver module, for the transmission instruction that receiving terminal sends, described transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate specific data;
Identifier acquisition module, for according to the corresponding relation between the terminal iidentification set up in advance and application identities, obtains second application identities corresponding with described terminal iidentification;
Sending module, for based on described second application identities, sends to described terminal and shows instruction, described displaying instruction at least comprises described Data Identification, make described terminal on the second application scenarios interface of display, according to the operation trace of described drag operation, show described specific data.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The method and apparatus that the embodiment of the present invention provides, during by showing the first application scenarios interface and the second application scenarios interface, when the drag operation of specific data in the first application scenarios interface being detected, and determine that this drag operation leaves this first application scenarios interface, when entering this second application scenarios interface, send to server and transmit instruction, this transmission instruction comprises Data Identification, first application identities and terminal iidentification, server is made to return displaying instruction based on the second application identities that terminal iidentification is corresponding, when then receiving this displaying instruction, specific data can be shown on the second application scenarios interface.User only need trigger drag operation and namely realize the transmission of specific data between different application client by this server, easy and simple to handle.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of data-transmission system that the embodiment of the present invention provides;
Fig. 2 is the process flow diagram of a kind of data transferring method that the embodiment of the present invention provides;
Fig. 3 is the process flow diagram of a kind of data transferring method that the embodiment of the present invention provides;
Fig. 4 is the process flow diagram of a kind of data transferring method that the embodiment of the present invention provides;
Fig. 5 A is a kind of preset boundary scope schematic diagram that the embodiment of the present invention provides;
Fig. 5 B is the display schematic diagram of the customer relationship chain that the embodiment of the present invention provides;
Fig. 6 is the process flow diagram of the another kind of data transferring method that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of data transfer device that the embodiment of the present invention provides;
Fig. 8 is the structural representation of a kind of data transfer device that the embodiment of the present invention provides;
Fig. 9 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Figure 10 is the structural representation of a kind of server that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the structural representation of a kind of data-transmission system that the embodiment of the present invention provides, and see Fig. 1, this data-transmission system comprises terminal and server, is connected between this terminal with this server by network, can carry out mutual.
This terminal installs the first applications client and the second applications client, can show the first application scenarios interface and the second application scenarios interface.And this first applications client is all connected with this server with this second applications client, can carry out alternately with this server.
This terminal is for showing the first application scenarios interface and the second application scenarios interface, when the drag operation to specific data in this first application scenarios interface being detected, determine the operation trace of this drag operation, when determining that according to this operation trace this drag operation leaves this first application scenarios interface, when entering this second application scenarios interface, send to server and transmit instruction.
When this server is used for receiving this transmission instruction, obtain second application identities corresponding with this terminal iidentification, based on this second application identities and this terminal iidentification, send to this terminal and show instruction.
When this terminal is also for receiving this displaying instruction, on this second application scenarios interface, according to the operation trace of this drag operation, show this specific data.
Fig. 2 is the process flow diagram of a kind of data transferring method that the embodiment of the present invention provides.The executive agent of the embodiment of the present invention is terminal, and see Fig. 2, the method comprises:
201, the first application scenarios interface and the second application scenarios interface is shown.
202, when the drag operation to specific data in this first application scenarios interface being detected, the operation trace of this drag operation is determined.
203, when determining that according to this operation trace this drag operation leaves this first application scenarios interface, when entering this second application scenarios interface, send to server and transmit instruction, this transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate this specific data, makes this server return displaying instruction based on the second application identities corresponding with this terminal iidentification.
204, when receiving this displaying instruction, on this second application scenarios interface, according to the operation trace of this drag operation, this specific data is shown.
The method that the embodiment of the present invention provides, during by showing the first application scenarios interface and the second application scenarios interface, when the drag operation of specific data in the first application scenarios interface being detected, and determine that this drag operation leaves this first application scenarios interface, when entering this second application scenarios interface, send to server and transmit instruction, this transmission instruction comprises Data Identification, first application identities and terminal iidentification, server is made to return displaying instruction based on the second application identities that terminal iidentification is corresponding, when then receiving this displaying instruction, specific data can be shown on the second application scenarios interface.User only need trigger drag operation and namely realize the transmission of specific data between different application client by this server, easy and simple to handle.
Alternatively, the method also comprises:
When the releasing operation to this specific data being detected on this second application scenarios interface, assigned operation is performed to this specific data.
Alternatively, when this second application scenarios interface is social application scenarios interface, when the releasing operation to this specific data should be detected on this second application scenarios interface, assigned operation is performed to this specific data, comprising:
In this second application scenarios interface, show the customer relationship chain that the user ID of current login is corresponding, this customer relationship chain comprises at least one user ID;
When this releasing operation being detected, determine the target location that this releasing operation is corresponding;
According to the position of this at least one user ID in this second application scenarios interface, determine the targeted customer mark corresponding with target location;
Identify corresponding terminal to this targeted customer and send this specific data.
Alternatively, this transmission instruction also comprises the positional information of this drag operation when leaving this first application scenarios interface; Correspondingly, this displaying instruction also comprises this positional information.
Alternatively, when should receive this displaying instruction, on this second application scenarios interface, according to the operation trace of this drag operation, show this specific data, comprising:
When receiving this displaying instruction, according to the positional information of this positional information with the Appointed edges boundary line at this second application scenarios interface, in this second application scenarios interface, show this specific data, this Appointed edges boundary line refers to boundary line adjacent with this first application scenarios interface in this second application scenarios interface;
According to the operation trace of this drag operation, show the motion track of this specific data.
Alternatively, the method also comprises:
When determining that this drag operation is positioned at the preset boundary scope at this first application scenarios interface according to this operation trace, send first to this server and transmit notification message, this the first transmission notification message at least comprises this Data Identification, this first application identities and this terminal iidentification, make this server return the second transmission notification message based on this second application identities, this second transmission notification message at least comprises this Data Identification;
When receiving this second transmission notification message, according to this Data Identification, this specific data of prestrain.
Alternatively, the method also comprises:
When showing this first application scenarios interface, the first registration request is sent to this server, this first registration request at least comprises this first application identities and this terminal iidentification, makes this server set up corresponding relation between this first application identities and this terminal iidentification.
Alternatively, the method also comprises:
When showing this second application scenarios interface, the second registration request is sent to this server, this second registration request at least comprises this second application identities and this terminal iidentification, makes this server set up corresponding relation between this second application identities and this terminal iidentification.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 3 is the process flow diagram of a kind of data transferring method that the embodiment of the present invention provides.The executive agent of the embodiment of the present invention is server, and see Fig. 3, the method comprises:
301, the transmission instruction of receiving terminal transmission, this transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate specific data.
302, according to the corresponding relation between the terminal iidentification set up in advance and application identities, second application identities corresponding with this terminal iidentification is obtained.
303, based on this second application identities, send to this terminal and show instruction, this displaying instruction at least comprises this Data Identification, makes this terminal on the second application scenarios interface of display, according to the operation trace of this drag operation, shows this specific data.
The method that the embodiment of the present invention provides, by setting up the corresponding relation between terminal iidentification and application identities in advance, when receiving the transmission instruction that terminal sends, the second application identities that terminal iidentification is corresponding can be obtained, return displaying instruction based on this second application identities, make terminal show specific data on the second application scenarios interface.User only need trigger drag operation and namely realize the transmission of specific data between different application client by this server, easy and simple to handle.
Alternatively, the method also comprises:
Receive the first transmission notification message that this terminal sends, this first transmission notification message at least comprises this Data Identification, this first application identities and this terminal iidentification;
Based on this second application identities, send second transmit notification message to this terminal, this second transmission notification message at least comprises this Data Identification, makes this terminal according to this Data Identification, this specific data of prestrain.
Alternatively, the method also comprises:
Receive the first registration request that this terminal sends, this first registration request at least comprises this first application identities and this terminal iidentification;
Set up the corresponding relation between this first application identities and this terminal iidentification.
Alternatively, the method also comprises:
Corresponding relation between timestamp when setting up this first application identities, this terminal iidentification and receive this first registration request.
Alternatively, the method also comprises:
Receive the second registration request that this terminal sends, this second registration request at least comprises this second application identities and this terminal iidentification;
Set up the corresponding relation between this second application identities and this terminal iidentification.
Alternatively, the method also comprises:
Corresponding relation between timestamp when setting up this second application identities, this terminal iidentification and receive this second registration request.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 4 is the process flow diagram of a kind of data transferring method that the embodiment of the present invention provides.The interaction agent of the embodiment of the present invention is terminal and server, and see Fig. 4, the method comprises:
401, terminal demonstration first application scenarios interface and the second application scenarios interface, when the drag operation to specific data in this first application scenarios interface being detected, determines the operation trace of this drag operation.
Wherein, this terminal can be the equipment such as computing machine, panel computer, and the embodiment of the present invention does not limit this.This terminal can install the first applications client and the second applications client, this first applications client is different from this second applications client, and this terminal can show the first application scenarios interface and the second application scenarios interface simultaneously, this the first application scenarios interface refers to the scene interface that this first applications client shows, and this second application scenarios interface refers to the scene interface that this second applications client shows.
This first applications client can be browser client, social applications client, video playback client etc., this the first application scenarios interface can be the web page display interface of browser client, the chat interface of social applications client, the video playback interface etc. of video playback client, this second applications client also can be browser client, social applications client, video playback client etc., this the first application scenarios interface can be the web page display interface of browser client, the chat interface of social applications client, the video playback interface etc. of video playback client.Further, this first applications client can be identical with the type of this second applications client, also can be different, if this first applications client and this second applications client can be different video playback clients.The embodiment of the present invention does not all limit this.
In the embodiment of the present invention, during this terminal demonstration first application scenarios interface, in this first application scenarios interface, multiple data of this first applications client can be shown.Data in this first applications client can comprise polytype data such as video data, image data, voice data, during the plurality of data of this terminal demonstration, can show the thumbnail or data name etc. of data, the embodiment of the present invention does not limit this.
When user wishes to process the specific data in the first applications client in the second applications client, can in this first application scenarios interface, trigger the drag operation to this specific data, to be dragged to by this specific data in this second application scenarios interface.When this terminal detects this drag operation, determine the motion track of this drag operation.
During practical application, when the display screen of this terminal configuration is not touch screen, user can use mouse, this display screen triggers the drag operation to this specific data, and this display screen is when being touch screen, user can use finger, and this touch screen triggers the drag operation to this specific data, operates very easy.
402, when according to this operation trace, terminal determines that this drag operation is positioned at the preset boundary scope at this first application scenarios interface, send first to this server and transmit notification message.
In the embodiment of the present invention, this server can associate with each applications client of this terminal, can for being specifically designed to the server managed the applications client of terminal, and the embodiment of the present invention does not limit this.
This first application scenarios interface comprises preset boundary scope, this preset boundary scope can be determined according to the position of the boundary line at this first application scenarios interface and pre-set dimension, this pre-set dimension can be pre-determined by this first applications client, the preset boundary scope that different boundary lines can be corresponding different.Correspondingly, also preset boundary scope can be comprised in this second application scenarios interface, the preset boundary scope at this second application scenarios interface can be determined according to the position of the boundary line at this second application scenarios interface and pre-set dimension, and this pre-set dimension can be pre-determined by this second applications client.In addition, this first application scenarios interface can be identical with the preset boundary scope at this second application scenarios interface, also can be different, and the embodiment of the present invention does not limit this.
See Fig. 5 A, the boundary line, the right at this first application scenarios interface overlaps with the boundary line, the left side at this second application scenarios interface, the preset boundary scope at this first application scenarios interface is scope A1, scope A2, scope A3, scope A4, and the preset boundary scope at this second application scenarios interface is scope B1, scope B2, scope B3, scope B4.
Along with the finger of user or the movement of mouse, the position of this drag operation can change, this terminal can according to the operation trace of this drag operation, determine the position that this drag operation is current, when the position current according to this drag operation determines that this drag operation is positioned at this preset boundary scope, represent that this drag operation will leave this first application scenarios interface, enter this second application scenarios interface, then can think that this specific data will be passed to the second applications client by user.
And for the ease of this second applications client follow-up, this specific data is processed, this terminal can judge whether the current position of this drag operation belongs to the preset boundary scope at this first application scenarios interface, if this position belongs to this preset boundary scope, then can determine that this drag operation is positioned at this preset boundary scope, namely this drag operation is about to leave this first application scenarios interface, then this terminal first sends first to this server and transmits notification message, this the first transmission notification message comprises the Data Identification being used to indicate this specific data, be used to indicate the first application identities of this first applications client and be used to indicate the terminal iidentification of this terminal.
Wherein, this Data Identification can be the data name or address information etc. of this specific data, this address information can be this specific data at the storage directory of this terminal, URL (UniformResourceLocator, URL(uniform resource locator)) etc. that this specific data is corresponding.In addition, this Data Identification can also be shear plate, is the data of buffer memory in current shear plate to indicate specific data to be passed.The embodiment of the present invention does not limit this Data Identification.
This first application identities can be the title of this first applications client, application sequence number etc., and can being pre-determined by this terminal, can be also that this first applications client is distributed by this server, and the embodiment of the present invention does not limit this.This terminal iidentification can be device numbering, the MAC (MediaAccessControl of this terminal, medium access control), IMEI (InternationalMobileEquipmentIdentity, mobile device international identity code) address, IP (InternetProtocol, Internet protocol) address etc., the embodiment of the present invention does not limit this.
In addition, this first transmits notification message and can also comprise the current positional information of the size at this first application scenarios interface, this drag operation, this position on the display screen, the first application scenarios interface, the data type etc. of this specific data, and the embodiment of the present invention does not limit this.
Such as, suppose that the first applications client is for application A, this first transmission notification message comprises following information:
1, the application identities of A is applied: AppID;
2, the terminal iidentification of A place terminal is applied: PadID
3, width and the height at the scene interface of A is applied: (width=624, height=768)
4, the coordinate of user's finger in application A: (610,330)
5, A position is on the display screen applied: (position=left)
6, Data Identification: E:/Document/image1.img
7, data type: picture
8, the thumbnail of data: image2
403, when this server receives this first transmission notification message, according to the corresponding relation between the terminal iidentification set up in advance and application identities, second application identities corresponding with this terminal iidentification is obtained.
404, this server is based on this second application identities, sends second transmit notification message to this terminal, and this second transmission notification message at least comprises this Data Identification.
In the embodiment of the present invention, this server according to the registration request of applications client, can set up the corresponding relation between terminal iidentification and application identities, is showing the application scenarios interface corresponding to this application identities with the terminal representing indicated by this terminal iidentification.
Alternatively, when this first application scenarios interface of terminal demonstration, the first registration request is sent to this server, this first registration request at least comprises this first application identities and this terminal iidentification, when this server receives this first registration request, the corresponding relation between this first application identities and this terminal iidentification can be set up.
In addition, when this second application scenarios interface of this terminal demonstration, the second registration request is sent to this server, this second registration request at least comprises this second application identities and this terminal iidentification, when this server receives this second registration request, set up the corresponding relation between this second application identities and this terminal iidentification.Wherein, this second application identities can be the title of this second applications client, application sequence number etc., and can being pre-determined by this terminal, can be also that this first applications client is distributed by this server, and the embodiment of the present invention does not limit this.
Correspondingly, when this server receives this first transmission notification message, can according to this corresponding relation, obtain the second corresponding from this terminal iidentification and different with this first application identities application identities, then this server based on this second application identities, can send second to the terminal indicated by this terminal iidentification and transmits notification message, and this second transmission notification message comprises this Data Identification, make this terminal can according to this Data Identification, this specific data of prestrain.
In addition, when this server receives this first transmission notification message, if do not got and this terminal iidentification and corresponding and different with this first application identities arbitrary application identities according to this corresponding relation, represent that this terminal does not show the arbitrary application scenarios interface except this first application scenarios interface, current do not exist the application scenarios interface that can receive this specific data.Now, this server can based on this first application identities, send to this terminal and transmit error message, when this terminal receives this transmission error message based on this first application identities, can on this first application scenarios interface, prompting user stops triggering this drag operation, or, no longer the drag operation detected is responded.
Further, during this first application scenarios interface of this terminal demonstration, heartbeat mechanism can be adopted, periodically send the first registration request to this server, when this server receives this first registration request, the corresponding relation between timestamp when can set up this first application identities, this terminal iidentification and receive this first registration request.When again receiving this first registration request, the corresponding relation between timestamp when re-establishing this first application identities, this terminal iidentification and again receive this first registration request.
In like manner, during this second application scenarios interface of this terminal demonstration, heartbeat mechanism can be adopted, periodically send this second registration request to this server, when this server receives this second registration request, the corresponding relation between timestamp when can also set up this second application identities, this terminal iidentification and receive this second registration request.When again receiving this second registration request, the corresponding relation between timestamp when re-establishing this first application identities, this terminal iidentification and again receive this second registration request.
Correspondingly, this server can send according to this terminal effective duration that cycle of registration request arranges each timestamp, and the effective duration as arranged each timestamp is equal with the cycle of transmission registration request.When this server receives this first transmission notification message, can according to this corresponding relation, obtain the second corresponding from this terminal iidentification and different with this first application identities application identities, obtain the timestamp that this terminal iidentification is corresponding with this second application identities, judge whether the timestamp corresponding with this terminal iidentification and this second application identities lost efficacy.
When this server determines that this timestamp lost efficacy, represent that this terminal has stopped sending this second registration request, namely this terminal no longer shows this second application scenarios interface, and this second applications client cannot receive the specific data transmitted from this first applications client.Now, this server based on this first application identities, can send to this terminal and transmits error message, when this terminal receives this transmission error message, user can be pointed out to stop triggering this drag operation, or, no longer the drag operation detected is responded.
And when this server determines that this timestamp did not lose efficacy, represent that this terminal does not also stop sending this second registration request, namely terminal is still at this second application scenarios interface of display, and this second applications client can receive the specific data transmitted from this first applications client.Now, this server based on this first application identities, can send delivery acknowledgement message, when this terminal receives this delivery acknowledgement message to this terminal, user can be pointed out to continue to trigger the drag operation to this specific data, this specific data is dragged in the second application scenarios interface.
Further, this terminal can also obtain the supported data type of this first applications client, then this first registration request can comprise this data type, when this server receives this first registration request, this first application identities, corresponding relation between this terminal iidentification and this data type can also be set up.This terminal can also obtain the supported data type of this second applications client, then this second registration request can comprise this data type, when this server receives this second registration request, this second application identities, corresponding relation between this terminal iidentification and this data type can also be set up.Wherein, data type can comprise picture/mb-type, video type, audio types etc., and the embodiment of the present invention does not limit this.
So, when this server receives this first transmission notification message, according to the corresponding relation set up, obtain the data type that this second application identities and this second application identities are supported, judge whether this specific data belongs to this data type, if this specific data does not belong to this data type, this server can based on this first application identities, send to this terminal and transmit error message, when this terminal receives this transmission error message, user can be pointed out to stop triggering this drag operation.And if this specific data belongs to this data type, this server can based on this first application identities, delivery acknowledgement message is sent to this terminal, when this terminal receives this delivery acknowledgement message, user can be pointed out to continue to trigger the drag operation to this specific data, this specific data is dragged in the second application scenarios interface.
It should be noted that, the embodiment of the present invention only shows the first application scenarios interface for this terminal simultaneously and this second application scenarios interface is described, and in actual applications, except this first application scenarios interface and this second application scenarios interface, this terminal can also show other application scenarios interfaces.So, when this server receives this first transmission notification message, can according to the corresponding relation set up, get corresponding from this terminal iidentification and different with this first application identities multiple application identities, now, this server based on the plurality of application identities, can send second respectively to this terminal and transmits notification message, makes the multiple applications client just at display application scene interface in this terminal all can receive this second transmission notification message.
405, when this terminal receives this second transmission notification message, according to this Data Identification, this specific data of prestrain.
When this terminal receives this second transmission notification message based on this second application identities, can according to this Data Identification, this specific data of prestrain, when then subsequent user triggers the releasing operation to this specific data in this second application scenarios interface, this terminal directly can pass through the second applications client, the specific data of prestrain is processed, saves the time loading specific data.
In addition, when this terminal receives this second transmission notification message, in this second application scenarios interface, can show information, specific data is dragged in this second application scenarios interface by prompting user.Alternatively, this terminal can show this information at the top at this second application scenarios interface, or in this second application scenarios interface, eject prompt window, in this prompt window, show this information, the embodiment of the present invention does not limit this.
In addition, in another embodiment of the embodiment of the present invention, when this terminal detects the releasing operation to this drag operation in this first application scenarios interface, represent that user eliminates to operate the transmission of this specific data, then this terminal can send to cancel to this server and transmit (Cancel) message, when this server receives this cancellation pass-along message, based on this second application identities, this cancellation pass-along message is sent to this terminal, when this terminal receives this cancellation pass-along message based on this second application identities, delete the specific data of prestrain.
It should be noted that, above-mentioned steps 402-405 is optional step, and this terminal can not also perform step 402, and directly performs step 406, then this terminal is without the need to this specific data of prestrain, and whether the embodiment of the present invention performs step 402-405 does not limit.
406, when according to this operation trace, this terminal determines that this drag operation leaves this first application scenarios interface, when entering this second application scenarios interface, send to server and transmit instruction.
This terminal can according to the operation trace of this drag operation, determine the position that this drag operation is current and moving direction, when this terminal determines that this drag operation is currently located on the boundary line at this first application scenarios interface, and during location matches in this first application scenarios interface of the current moving direction of this drag operation and this boundary line, can determine that this drag operation leaves this first application scenarios interface, this second application scenarios interface will be entered.Such as, when determining that this drag operation is currently located in the boundary line, the right at this first application scenarios interface, and current moving direction for moving right time, can determine that this drag operation leaves this first application scenarios interface.
When this terminal determines that this drag operation is currently located on the boundary line at this second application scenarios interface, and the current moving direction of this drag operation contrary with the position of this boundary line in this second application scenarios interface time, can determine that this drag operation enters this second application scenarios interface.Such as, when determining that this drag operation is currently located in the boundary line, the left side at this second application scenarios interface, and current moving direction for moving right time, can determine that this drag operation enters this second application scenarios interface.
In the embodiment of the present invention, when this terminal determines that this drag operation leaves this first application scenarios interface, when entering this second application scenarios interface, can send to this server and transmit instruction, so that this server returns displaying instruction.
This terminal can obtain second place information when this drag operation enters this second application scenarios interface, then can comprise this second place information in this transmission instruction.Wherein, this second place information can comprise horizontal ordinate when this drag operation enters this second application scenarios interface and ordinate.
In addition, this transmission instruction can also comprise the size at this first application scenarios interface, this position on this display screen, the first application scenarios interface, the data type etc. of this specific data, and the embodiment of the present invention does not limit this.
Such as, this transmission instruction can comprise following information:
1, the application identities of A is applied: AppID;
2, the terminal iidentification of A place terminal is applied: PadID
3, width and the height at the scene interface of A is applied: (width=624, height=768)
4, the coordinate of user's finger in application A: (612,330)
5, A position is on the display screen applied: (position=left)
6, Data Identification: E:/Document/image1.img
7, data type: picture
8, the thumbnail of data: image2
407, when this server receives this transmission instruction, according to the corresponding relation between terminal iidentification and application identities, second application identities corresponding with this terminal iidentification is obtained.
408, this server is based on this second application identities, and send to this terminal and show instruction, this displaying instruction at least comprises this Data Identification.
When this server receives this transmission instruction, can according to the corresponding relation set up, obtain the second corresponding from this terminal iidentification and different with this first application identities application identities, based on this second application identities, send to the terminal indicated by this terminal iidentification and show instruction, this displaying instruction at least comprises this Data Identification, to indicate this specific data of this terminal display.
In addition, as in the second place information that this transmission instruction also comprises when primary importance when this drag operation leaves this first application scenarios interface and this drag operation enter this second application scenarios interface at least one, correspondingly, this displaying instruction also can comprise at least one item in this primary importance information and this second place information.
It should be noted that, except this first application scenarios interface and this second application scenarios interface, if this terminal also shows other application scenarios interfaces.When then this server receives this first transmission instruction, according to the corresponding relation set up, corresponding from this terminal iidentification and different with this first application identities multiple application identities can be got.Now, this server can obtain the moving direction of this drag operation, according to this moving direction and each position on this terminal display, application scenarios interface, determine intended application scene interface, and from corresponding from this terminal iidentification and different with this first application identities multiple application identities, obtain the intended application mark that this intended application scene interface is corresponding, identify based on this intended application, send to this terminal and show instruction, make intended application client in this terminal all can receive this displaying instruction.
409, when this terminal receives this displaying instruction, on this second application scenarios interface, according to the operation trace of this drag operation, this specific data is shown.
When this terminal receives this displaying instruction, according to this Data Identification, the specific data of prestrain can be obtained, and show this specific data on this second application scenarios interface.
Alternatively, when this displaying instruction also comprises the second place information of this drag operation when entering this second application scenarios interface, this terminal according to this second place information, on this second application scenarios interface, can show this specific data.
Alternatively, when this displaying instruction also comprises the primary importance information of this drag operation when leaving this first application scenarios interface, this terminal can determine the positional information in Appointed edges boundary line in this second application scenarios interface, according to the positional information of this second place information with the Appointed edges boundary line at this second application scenarios interface, in this second application scenarios interface, show this specific data.Wherein, this Appointed edges boundary line refers to boundary line adjacent with this first application scenarios interface in this second application scenarios interface.
Particularly, this terminal can obtain the ordinate of this drag operation when leaving this first application scenarios interface, and obtains the horizontal ordinate in the Appointed edges boundary line at this second application scenarios interface, according to this ordinate and horizontal ordinate, shows this specific data.
Such as, positional information when this specific data leaves the first application scenarios interface is (612,330), first application scenarios interface shows in the left side at the second application scenarios interface, and the moving direction of this drag operation is for moving right, then can determine that user drags this specific data from left to right, then specific data should occur from the left side at the second application scenarios interface, horizontal ordinate is identical with the horizontal ordinate in the boundary line, the left side at this second application scenarios interface, i.e. X=0, ordinate is equal with ordinate when leaving this first application scenarios interface, i.e. Y=330.
In subsequent process, along with the position of this drag operation changes, this terminal can detect the operation trace of this drag operation, shows the motion track of this specific data according to this operation trace.Such as, when user drags this specific data from left to right, this terminal in this second application scenarios interface, can show this specific data animation effect from left to right.
410, when this terminal detects the releasing operation to this specific data on this second application scenarios interface, assigned operation is performed to this specific data.
When this specific data is dragged to this second application scenarios interface by user, finger or mouse can be discharged, trigger the releasing operation to this specific data, when this terminal detects the releasing operation to this specific data in this second application scenarios interface, assigned operation is performed to this specific data.
Wherein, this assigned operation can for open this specific data operation, to designated user operation sending this specific data etc., this assigned operation can for be pre-determined by this second applications client, and assigned operation corresponding to the second different applications client can be identical, also can be different, the embodiment of the present invention does not limit this.
Alternatively, if this second applications client is social applications client, this the second application scenarios interface is social application scenarios interface, when this terminal receives this displaying instruction, can in this second application scenarios interface, show the customer relationship chain that the user ID of current login is corresponding, this customer relationship chain comprises at least one user ID, when the releasing operation to this specific data being detected, determine the target location that this releasing operation is corresponding, according to the position of this at least one user ID in this second application scenarios interface, determine the targeted customer mark corresponding with target location, identify corresponding terminal to this targeted customer and send this specific data.Wherein, this user ID can be user account, user's pet name, telephone number etc., and the embodiment of the present invention does not limit this.
That is to say, when this terminal receives this displaying instruction, no matter which information this second application scenarios interface current comprises, all changeable is this customer relationship chain, this customer relationship chain comprises at least one user ID, now, this specific data can be dragged to position corresponding to arbitrary user ID by user, corresponding this releasing operation of location triggered is identified targeted customer, this terminal can send this specific data and this targeted customer mark to social application server, identified based on this targeted customer by this social application server, terminal to targeted customer sends this specific data.
See Fig. 5 B, this the first application scenarios interface display 3 pictures, when " picture 3 " is dragged to the second application scenarios interface by user, this the second application scenarios showing interface buddy list, when " picture 3 " is dragged to the position that in the second application scenarios interface, targeted customer's mark " Yang " is corresponding by user, and when triggering the releasing operation to " picture 3 ", terminal is by social application server, and the terminal to targeted customer's mark " Yang " sends " picture 3 ".
Alternatively, when this second applications client is browser client, this terminal can obtain the URL in this specific data, opens the webpage indicated by this URL, in this second application scenarios interface, show this webpage.
In addition, when this terminal detects this releasing operation, the release animation effect of this specific data can also be shown.
In the embodiment of the present invention, when this terminal completes this specific data execution assigned operation, release can be sent to this server and complete (DropEnd) message, this Release complete can comprise the second application identities and terminal iidentification, when this server receives this Release complete, first application identities corresponding with this terminal iidentification can be obtained, based on this first application identities, this Release complete is sent to this terminal, when this terminal receives this Release complete based on this first application identities, can determine that the second applications client successfully have received this specific data, this data transfer completes.
It should be noted that, the first applications client that terminal is installed all can be connected with this server with the second applications client, carries out alternately with this server.Above-mentioned steps 401-410 can be performed by this first applications client and this second applications client respectively, and accordingly, this data transferring method can comprise the following steps (1) to (10):
When (1) first applications client shows the first application scenarios interface, send the first registration request to this server, make this server set up corresponding relation between this first application identities and this terminal iidentification.
When (2) second applications client show the second application scenarios interface, send the second registration request to this server, make this server set up corresponding relation between this second application identities and this terminal iidentification.
This server can be provided for for this first applications client and this second applications client the SDK (SoftwareDevelopmentKit) obtaining terminal iidentification, SDK (Software Development Kit)), this first applications client and this second applications client all can call this SDK instrument, obtain this terminal iidentification.
(3) this first applications client detection user operates the dragging (Drag) of specific data in this first application scenarios interface, and determines the operation trace of this drag operation.
(4) when according to this operation trace, this first applications client determines that this drag operation is positioned at the preset boundary scope at this first application scenarios interface, send first to this server and transmit notice (Dragging) message, this first transmission notification message at least comprises Data Identification, the first application identities and terminal iidentification.
(5) when this server receives this first transmission notification message, according to the corresponding relation set up, obtain second application identities corresponding with this terminal iidentification, based on this second application identities, send second to this second applications client and transmit notice (Dragging) message, this second transmission notification message at least comprises this Data Identification.
(6) when this second applications client receives this second transmission notification message, according to this Data Identification, this specific data of prestrain.
Alternatively, when this specific data is stored in the storage space of this first applications client, this second applications client according to this Data Identification, can obtain this specific data from this storage space, is stored to by this specific data in the storage space of this second applications client.
(7), when according to this operation trace, this first applications client determines that this drag operation leaves this first application scenarios interface, send to this server and transmit instruction, this transmission instruction at least comprises Data Identification, the first application identities and terminal iidentification.
When this first applications client determines that this drag operation leaves this first application scenarios interface, can think that this drag operation enters this second application scenarios interface, then this first applications client sends this transmission instruction to this server.And, this first applications client can obtain primary importance information when this drag operation leaves this first application scenarios interface, then can comprise this primary importance information in this transmission instruction, this primary importance information comprises horizontal ordinate when this drag operation leaves this first application scenarios interface and ordinate.
(8) when this server receives this transmission instruction, according to the corresponding relation set up, obtain second application identities corresponding with this terminal iidentification, based on this second application identities, send to this second applications client and show instruction, this displaying instruction at least comprises this Data Identification.
(9) when this second applications client receives this displaying instruction, in this second application scenarios interface, this specific data can be shown, and detects the drag operation of user, determine the operation trace of this drag operation.
When this displaying instruction comprises primary importance information when this drag operation leaves this first application scenarios interface, this second applications client can according to the positional information in Appointed edges boundary line in this primary importance information and this second application scenarios interface, show this specific data, and when this drag operation being detected on the second application scenarios interface, show the motion track of this specific data.
(10) when this second applications client detects that the release (Drop) of user to this specific data operates, assigned operation is carried out to this specific data.
Do not support in correlation technique to pass through drag operation, realize the transmission of data between two methods client, and the embodiment of the present invention only needs user to trigger drag operation, namely by server, realize the transmission of data between two methods client, operate very easy.
The method that the embodiment of the present invention provides, during by showing the first application scenarios interface and the second application scenarios interface, when the drag operation of specific data in the first application scenarios interface being detected, and determine that this drag operation leaves this first application scenarios interface, when entering this second application scenarios interface, send to server and transmit instruction, this transmission instruction comprises Data Identification, first application identities and terminal iidentification, server is made to return displaying instruction based on the second application identities that terminal iidentification is corresponding, when then receiving this displaying instruction, specific data can be shown on the second application scenarios interface.User only need trigger drag operation and namely realize the transmission of specific data between different application client by this server, easy and simple to handle.And, when drag operation is positioned at the preset boundary scope at the first application scenarios interface, can the second applications client be passed through, this specific data of prestrain, save the time loading specific data after transmitting.Further, when the releasing operation to specific data being detected on social application scenarios interface, directly specific data can be sent to targeted customer, achieving the quick transmission of specific data.
Fig. 6 is the process flow diagram of the another kind of data transferring method that the embodiment of the present invention provides, and see Fig. 6, the method comprises:
601, terminal demonstration first application scenarios interface and the second application scenarios interface, registered on the server by the first applications client, obtain the AppID1 of server-assignment, by AppID1 and the Termination ID of server corresponding stored first applications client, and registered on the server by the second applications client, obtain the AppID2 of server-assignment, by AppID2 and the Termination ID of server corresponding stored second applications client.
After obtaining the accreditation verification of server, the first applications client and the second applications client can initiate Drag (dragging) operation or response Drop (release) operation.
602, user is long by a pictures on the first application scenarios interface, the now Drag operation of the first applications client response user, then terminal is on the first application scenarios interface, the thumbnail Showed Picture, and along with user finger movement, show the motion track of this thumbnail.
603, near the boundary line that this thumbnail arrives this first application scenarios interface time, terminal to server sends Dragging (pull and enter) message, and this Dragging message at least comprises the current coordinate of AppID1, Termination ID, the thumbnail of this picture and this thumbnail.
604, when this server receives Dragging message, find the AppID2 corresponding with Termination ID stored, then return success message to this terminal based on AppID1, and send Dragging message based on AppID2 to this terminal.
In another embodiment that the embodiment of the present invention provides, when this server does not find another AppID corresponding with Termination ID, return error message based on AppID1 to this terminal, after terminal receives this error message, no longer carry out follow-up Drag operation.
605, when terminal receives success message based on AppID1, first applications client determines that other applications client can receive this picture in addition, on the first application scenarios interface, then point out user to proceed Drag operation, wait for the further operation of user simultaneously.
606, after terminal receives Dragging message based on AppID2, can beamhouse operation be carried out, this picture of prestrain, and on the second application scenarios interface display reminding information, this picture can be dragged in the second applications client by prompting user, waits for the Drag operation of user simultaneously.
If this picture is dragged to the boundary line at this first application scenarios interface by 607 users, then terminal determines that this first application scenarios interface is left in this Drag operation, Drop message is sent to server, operate to point out this Drag and will leave the first application scenarios interface, coordinate when this Drop message at least comprises AppID1, this first application scenarios interface is left in Termination ID, this Drag operation and the thumbnail of this picture.
Now, the Drag of the first applications client has operated, along with user points the thumbnail disappearance of movement on the first application scenarios interface.
In addition, in another embodiment that the embodiment of the present invention provides, this step 606 can be replaced by following steps: when user this picture is dragged to lift finger behind the center at the first application scenarios interface time, illustrate that user eliminates Drag operation, then terminal to server sends Cancel message, after server receives Cancel message, send Cancel message based on AppID2 to this terminal.
608, after server receives Drop message, find the AppID2 corresponding with Termination ID stored, then send Drop message based on AppID2 to terminal.
609, after this terminal receives Drop message based on AppID2, the second application scenarios interface responds.
As terminal in the second application scenarios interface, corresponding with the position disappeared in the first application scenarios interface position, show this thumbnail, and along with the movement of user's finger, in this second application scenarios interface, the motion track of display thumbnail.
610, when thumbnail moves in this second application scenarios interface, user lifts finger, the then Drop operation of the second applications client response user, then terminal plays the animation effect of a Drop operation on the second application scenarios interface, and performs assigned operation to this picture.
Wherein, the interface of different applications client after receiving Drop message responds and logical operation response can be different.Such as, it is in order to picture is sent to good friend that user drags picture to instant messaging application, then the assigned operation of instant messaging application, for opening buddy list, allows user select, after treating that user chooses friend, and the good friend sending to user to select in picture.
611, terminal sends DropEnd message based on AppID2 to server, successfully picture is have received with prompting, after server receives DropEnd message, send DropEnd message based on AppID1 to this terminal, the first applications client can determine that picture transmission completes.
Fig. 7 is the structural representation of a kind of data transfer device that the embodiment of the present invention provides, and see Fig. 7, this device comprises:
Display module 701, for showing the first application scenarios interface and the second application scenarios interface;
Track determination module 702, for when the drag operation to specific data in this first application scenarios interface being detected, determines the operation trace of this drag operation;
Sending module 703, determine that this drag operation leaves this first application scenarios interface for working as according to this operation trace, when entering this second application scenarios interface, send to server and transmit instruction, this transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate this specific data, makes this server return displaying instruction based on the second application identities corresponding with this terminal iidentification;
Display module 704, for when receiving this displaying instruction, on this second application scenarios interface, according to the operation trace of this drag operation, shows this specific data.
The device that the embodiment of the present invention provides, during by showing the first application scenarios interface and the second application scenarios interface, when the drag operation of specific data in the first application scenarios interface being detected, and determine that this drag operation leaves this first application scenarios interface, when entering this second application scenarios interface, send to server and transmit instruction, this transmission instruction comprises Data Identification, first application identities and terminal iidentification, server is made to return displaying instruction based on the second application identities that terminal iidentification is corresponding, when then receiving this displaying instruction, specific data can be shown on the second application scenarios interface.User only need trigger drag operation and namely realize the transmission of specific data between different application client by this server, easy and simple to handle.
Alternatively, this device also comprises:
Execution module, for when the releasing operation to this specific data being detected on this second application scenarios interface, performs assigned operation to this specific data.
Alternatively, when this second application scenarios interface is social application scenarios interface, this execution module also in this second application scenarios interface, shows the customer relationship chain that the user ID of current login is corresponding, and this customer relationship chain comprises at least one user ID; When this releasing operation being detected, determine the target location that this releasing operation is corresponding; According to the position of this at least one user ID in this second application scenarios interface, determine the targeted customer mark corresponding with target location; Identify corresponding terminal to this targeted customer and send this specific data.
Alternatively, this transmission instruction also comprises the positional information of this drag operation when leaving this first application scenarios interface; Correspondingly, this displaying instruction also comprises this positional information.
Alternatively, this display module 704 is also for when receiving this displaying instruction, according to the positional information of this positional information with the Appointed edges boundary line at this second application scenarios interface, in this second application scenarios interface, show this specific data, this Appointed edges boundary line refers to boundary line adjacent with this first application scenarios interface in this second application scenarios interface; According to the operation trace of this drag operation, show the motion track of this specific data.
Alternatively, this device also comprises:
This sending module 703, also for when determining that this drag operation is positioned at the preset boundary scope at this first application scenarios interface according to this operation trace, send first to this server and transmit notification message, this the first transmission notification message at least comprises this Data Identification, this first application identities and this terminal iidentification, make this server return the second transmission notification message based on this second application identities, this second transmission notification message at least comprises this Data Identification;
Load-on module, for when receiving this second transmission notification message, according to this Data Identification, this specific data of prestrain.
Alternatively, this device also comprises:
First registration request module, also for when showing this first application scenarios interface, the first registration request is sent to this server, this first registration request at least comprises this first application identities and this terminal iidentification, makes this server set up corresponding relation between this first application identities and this terminal iidentification.
Alternatively, this device also comprises:
Second registration request module, also for when showing this second application scenarios interface, the second registration request is sent to this server, this second registration request at least comprises this second application identities and this terminal iidentification, makes this server set up corresponding relation between this second application identities and this terminal iidentification.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 8 is the structural representation of a kind of data transfer device that the embodiment of the present invention provides, and see Fig. 8, this device comprises:
Receiver module 801, for the transmission instruction that receiving terminal sends, this transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate specific data;
Identifier acquisition module 802, for according to the corresponding relation between the terminal iidentification set up in advance and application identities, obtains second application identities corresponding with this terminal iidentification;
Sending module 803, for based on this second application identities, sends to this terminal and shows instruction, this displaying instruction at least comprises this Data Identification, make this terminal on the second application scenarios interface of display, according to the operation trace of this drag operation, show this specific data.
The device that the embodiment of the present invention provides, by setting up the corresponding relation between terminal iidentification and application identities in advance, when receiving the transmission instruction that terminal sends, the second application identities that terminal iidentification is corresponding can be obtained, return displaying instruction based on this second application identities, make terminal show specific data on the second application scenarios interface.User only need trigger drag operation and namely realize the transmission of specific data between different application client by this server, easy and simple to handle.
Alternatively, this receiver module 801, also send for receiving this terminal first transmits notification message, and this first transmission notification message at least comprises this Data Identification, this first application identities and this terminal iidentification;
This sending module 803, also for based on this second application identities, sends second to this terminal and transmits notification message, and this second transmission notification message at least comprises this Data Identification, makes this terminal according to this Data Identification, this specific data of prestrain.
Alternatively, this device also comprises:
This receiver module 801, also for receiving the first registration request that this terminal sends, this first registration request at least comprises this first application identities and this terminal iidentification;
First relation sets up module, for setting up the corresponding relation between this first application identities and this terminal iidentification.
Alternatively, the corresponding relation between timestamp when this first relation sets up module also for setting up this first application identities, this terminal iidentification and receiving this first registration request.
Alternatively, this device also comprises:
This receiver module 801, also for receiving the second registration request that this terminal sends, this second registration request at least comprises this second application identities and this terminal iidentification;
Second relation sets up module, for setting up the corresponding relation between this second application identities and this terminal iidentification.
Alternatively, the corresponding relation between timestamp when this second relation sets up module also for setting up this second application identities, this terminal iidentification and receiving this second registration request.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
It should be noted that: the data transfer device that above-described embodiment provides is when carrying out data and transmitting, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by terminal and server is divided into different functional modules, to complete all or part of function described above.In addition, the data transfer device that above-described embodiment provides and data transferring method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 9 is the structural representation of a kind of terminal that the embodiment of the present invention provides.This terminal may be used for implementing the function in the data transferring method shown by above-described embodiment performed by terminal.Specifically:
Terminal 900 can comprise RF (RadioFrequency, radio frequency) circuit 110, the storer 120 including one or more computer-readable recording mediums, input block 130, display unit 140, sensor 150, voicefrequency circuit 160, transport module 170, include the parts such as processor 180 and power supply 190 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 9, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 110 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 180 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 110 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA (LowNoiseAmplifier, low noise amplifier), diplexer etc.In addition, RF circuit 110 can also be communicated with other-end with network by radio communication.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, CDMA), WCDMA (WidebandCodeDivisionMultipleAccess, Wideband Code Division Multiple Access (WCDMA)), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc.
Storer 120 can be used for storing software program and module, software program corresponding to terminal shown by above-mentioned exemplary embodiment and module, processor 180 is stored in software program and the module of storer 120 by running, thus perform the application of various function and data processing, as mutual etc. in what realize based on video.Storer 120 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 900.In addition, storer 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 120 can also comprise Memory Controller, to provide the access of processor 180 and input block 130 pairs of storeies 120.
Input block 130 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 130 can comprise Touch sensitive surface 131 and other entry terminals 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface 131 or near Touch sensitive surface 131 such as finger, stylus) thereon, and drive corresponding linked set according to the formula preset.Optionally, Touch sensitive surface 131 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface 131.Except Touch sensitive surface 131, input block 130 can also comprise other entry terminals 132.Particularly, other entry terminals 132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 140 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 900 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 140 can comprise display panel 141, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display panel 141.Further, Touch sensitive surface 131 can cover display panel 141, when Touch sensitive surface 131 detects thereon or after neighbouring touch operation, send processor 180 to determine the type of touch event, on display panel 141, provide corresponding vision to export with preprocessor 180 according to the type of touch event.Although in fig .9, Touch sensitive surface 131 and display panel 141 be as two independently parts realize input and input function, in certain embodiments, can by Touch sensitive surface 131 and display panel 141 integrated and realize input and output function.
Terminal 900 also can comprise at least one sensor 150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 141, proximity transducer when terminal 900 moves in one's ear, can cut out display panel 141 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 900 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Voicefrequency circuit 160 can by receive voice data conversion after electric signal, be transferred to loudspeaker 161, by loudspeaker 161 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 162, voice data is converted to after being received by voicefrequency circuit 160, after again voice data output processor 180 being processed, through RF circuit 110 to send to such as another terminal, or export voice data to storer 120 to process further.Voicefrequency circuit 160 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 900.
Terminal 900 can help user to send and receive e-mail by transport module 170, browse webpage and access streaming video etc., and its broadband internet wireless or wired for user provides is accessed.Although Fig. 9 shows transport module 170, be understandable that, it does not belong to must forming of terminal 900, can omit in the scope of essence not changing invention as required completely.
Processor 180 is control centers of terminal 900, various interface and circuit is utilized to link the various piece of whole mobile phone, software program in storer 120 and/or module is stored in by running or performing, and call the data be stored in storer 120, perform various function and the process data of terminal 900, thus integral monitoring is carried out to mobile phone.Optionally, processor 180 can comprise one or more process core; Preferably, processor 180 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 180.
Terminal 900 also comprises the power supply 190 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 180 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 190 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 900 can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in embodiments of the present invention, the display unit of terminal is touch-screen display, terminal also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to be contained for implementing the instruction operated performed by terminal in above-described embodiment by more than one or one above-mentioned more than one or one routine package of processor execution.
Figure 10 is the structural representation of a kind of server that the embodiment of the present invention provides, this server 1000 can produce larger difference because of configuration or performance difference, one or more central processing units (centralprocessingunits can be comprised, CPU) 1022 (such as, one or more processors) and storer 1032, one or more store the storage medium 1030 (such as one or more mass memory units) of application program 1042 or data 1044.Wherein, storer 1032 and storage medium 1030 can be of short duration storages or store lastingly.The program being stored in storage medium 1030 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 1022 can be set to communicate with storage medium 1030, and server 1000 performs a series of command operatings in storage medium 1030.
Server 1000 can also comprise one or more power supplys 1026, one or more wired or wireless network interfaces 1050, one or more IO interface 1058, one or more keyboards 1056, and/or, one or more operating system 1041, such as WindowsServer tM, MacOSX tM, Unix tM, Linux tM, FreeBSD tMetc..
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (28)

1. a data transferring method, is characterized in that, described method comprises:
Show the first application scenarios interface and the second application scenarios interface;
When the drag operation of specific data in described first application scenarios interface being detected, determine the operation trace of described drag operation;
When determining that according to described operation trace described drag operation leaves described first application scenarios interface, when entering described second application scenarios interface, send to server and transmit instruction, described transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate described specific data, makes described server return displaying instruction based on the second application identities corresponding with described terminal iidentification;
When receiving described displaying instruction, on described second application scenarios interface, according to the operation trace of described drag operation, show described specific data.
2. method according to claim 1, is characterized in that, described method also comprises:
When the releasing operation to described specific data being detected on described second application scenarios interface, assigned operation is performed to described specific data.
3. method according to claim 2, it is characterized in that, when described second application scenarios interface is social application scenarios interface, described when the releasing operation to described specific data being detected on described second application scenarios interface, assigned operation is performed to described specific data, comprising:
In described second application scenarios interface, show the customer relationship chain that the user ID of current login is corresponding, described customer relationship chain comprises at least one user ID;
When described releasing operation being detected, determine the target location that described releasing operation is corresponding;
According to the position of at least one user ID described in described second application scenarios interface, determine the targeted customer mark corresponding with target location;
Identify corresponding terminal to described targeted customer and send described specific data.
4. method according to claim 1, is characterized in that, described transmission instruction also comprises the positional information of described drag operation when leaving described first application scenarios interface; Correspondingly, described displaying instruction also comprises described positional information.
5. method according to claim 4, is characterized in that, described when receiving described displaying instruction, on described second application scenarios interface, according to the operation trace of described drag operation, shows described specific data, comprising:
When receiving described displaying instruction, according to the positional information in the Appointed edges boundary line at described positional information and described second application scenarios interface, in described second application scenarios interface, show described specific data, described Appointed edges boundary line refers to boundary line adjacent with described first application scenarios interface in described second application scenarios interface;
According to the operation trace of described drag operation, show the motion track of described specific data.
6. method according to claim 1, is characterized in that, described method also comprises:
When determining that according to described operation trace described drag operation is positioned at the preset boundary scope at described first application scenarios interface, send first to described server and transmit notification message, described first transmits notification message at least comprises described Data Identification, described first application identities and described terminal iidentification, make described server return the second transmission notification message based on described second application identities, described second transmits notification message at least comprises described Data Identification;
When receiving described second and transmitting notification message, according to described Data Identification, specific data described in prestrain.
7. method according to claim 1, is characterized in that, described method also comprises:
When showing described first application scenarios interface, the first registration request is sent to described server, described first registration request at least comprises described first application identities and described terminal iidentification, makes described server set up corresponding relation between described first application identities and described terminal iidentification.
8. method according to claim 1, is characterized in that, described method also comprises:
When showing described second application scenarios interface, the second registration request is sent to described server, described second registration request at least comprises described second application identities and described terminal iidentification, makes described server set up corresponding relation between described second application identities and described terminal iidentification.
9. a data transferring method, is characterized in that, described method comprises:
The transmission instruction that receiving terminal sends, described transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate specific data;
According to the corresponding relation between the terminal iidentification set up in advance and application identities, obtain second application identities corresponding with described terminal iidentification;
Based on described second application identities, send to described terminal and show instruction, described displaying instruction at least comprises described Data Identification, makes described terminal on the second application scenarios interface of display, according to the operation trace of described drag operation, show described specific data.
10. method according to claim 9, is characterized in that, described method also comprises:
Receive the first transmission notification message that described terminal sends, described first transmits notification message at least comprises described Data Identification, described first application identities and described terminal iidentification;
Based on described second application identities, send second transmit notification message to described terminal, described second transmits notification message at least comprises described Data Identification, makes described terminal according to described Data Identification, specific data described in prestrain.
11. methods according to claim 9, is characterized in that, described method also comprises:
Receive the first registration request that described terminal sends, described first registration request at least comprises described first application identities and described terminal iidentification;
Set up the corresponding relation between described first application identities and described terminal iidentification.
12. methods according to claim 11, is characterized in that, described method also comprises:
Corresponding relation between timestamp when setting up described first application identities, described terminal iidentification and receive described first registration request.
13. methods according to claim 9, is characterized in that, described method also comprises:
Receive the second registration request that described terminal sends, described second registration request at least comprises described second application identities and described terminal iidentification;
Set up the corresponding relation between described second application identities and described terminal iidentification.
14. methods according to claim 13, is characterized in that, described method also comprises:
Corresponding relation between timestamp when setting up described second application identities, described terminal iidentification and receive described second registration request.
15. 1 kinds of data transfer devices, is characterized in that, described device comprises:
Display module, for showing the first application scenarios interface and the second application scenarios interface;
Track determination module, for when the drag operation of specific data in described first application scenarios interface being detected, determines the operation trace of described drag operation;
Sending module, determine that described drag operation leaves described first application scenarios interface for working as according to described operation trace, when entering described second application scenarios interface, send to server and transmit instruction, described transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate described specific data, makes described server return displaying instruction based on the second application identities corresponding with described terminal iidentification;
Display module, for when receiving described displaying instruction, on described second application scenarios interface, according to the operation trace of described drag operation, shows described specific data.
16. devices according to claim 15, is characterized in that, described device also comprises:
Execution module, for when the releasing operation to described specific data being detected on described second application scenarios interface, performs assigned operation to described specific data.
17. devices according to claim 16, it is characterized in that, when described second application scenarios interface is social application scenarios interface, described execution module is also in described second application scenarios interface, show the customer relationship chain that the user ID of current login is corresponding, described customer relationship chain comprises at least one user ID; When described releasing operation being detected, determine the target location that described releasing operation is corresponding; According to the position of at least one user ID described in described second application scenarios interface, determine the targeted customer mark corresponding with target location; Identify corresponding terminal to described targeted customer and send described specific data.
18. devices according to claim 15, is characterized in that, described transmission instruction also comprises the positional information of described drag operation when leaving described first application scenarios interface; Correspondingly, described displaying instruction also comprises described positional information.
19. devices according to claim 18, it is characterized in that, described display module is also for when receiving described displaying instruction, according to the positional information in the Appointed edges boundary line at described positional information and described second application scenarios interface, in described second application scenarios interface, show described specific data, described Appointed edges boundary line refers to boundary line adjacent with described first application scenarios interface in described second application scenarios interface; According to the operation trace of described drag operation, show the motion track of described specific data.
20. devices according to claim 15, is characterized in that, described device also comprises:
Described sending module, also for when determining that according to described operation trace described drag operation is positioned at the preset boundary scope at described first application scenarios interface, send first to described server and transmit notification message, described first transmits notification message at least comprises described Data Identification, described first application identities and described terminal iidentification, make described server return the second transmission notification message based on described second application identities, described second transmits notification message at least comprises described Data Identification;
Load-on module, for when receiving described second and transmitting notification message, according to described Data Identification, specific data described in prestrain.
21. devices according to claim 15, is characterized in that, described device also comprises:
First registration request module, also for when showing described first application scenarios interface, the first registration request is sent to described server, described first registration request at least comprises described first application identities and described terminal iidentification, makes described server set up corresponding relation between described first application identities and described terminal iidentification.
22. devices according to claim 15, is characterized in that, described device also comprises:
Second registration request module, also for when showing described second application scenarios interface, the second registration request is sent to described server, described second registration request at least comprises described second application identities and described terminal iidentification, makes described server set up corresponding relation between described second application identities and described terminal iidentification.
23. 1 kinds of data transfer devices, is characterized in that, described device comprises:
Receiver module, for the transmission instruction that receiving terminal sends, described transmission instruction at least comprises the Data Identification, the first application identities and the terminal iidentification that are used to indicate specific data;
Identifier acquisition module, for according to the corresponding relation between the terminal iidentification set up in advance and application identities, obtains second application identities corresponding with described terminal iidentification;
Sending module, for based on described second application identities, sends to described terminal and shows instruction, described displaying instruction at least comprises described Data Identification, make described terminal on the second application scenarios interface of display, according to the operation trace of described drag operation, show described specific data.
24. devices according to claim 23, is characterized in that,
Described receiver module, also send for receiving described terminal first transmits notification message, and described first transmits notification message at least comprises described Data Identification, described first application identities and described terminal iidentification;
Described sending module, also for based on described second application identities, send second transmit notification message to described terminal, described second transmits notification message at least comprises described Data Identification, make described terminal according to described Data Identification, specific data described in prestrain.
25. devices according to claim 23, is characterized in that, described device also comprises:
Described receiver module, also for receiving the first registration request that described terminal sends, described first registration request at least comprises described first application identities and described terminal iidentification;
First relation sets up module, for setting up the corresponding relation between described first application identities and described terminal iidentification.
26. devices according to claim 25, is characterized in that, the corresponding relation between timestamp when described first relation sets up module also for setting up described first application identities, described terminal iidentification and receiving described first registration request.
27. devices according to claim 23, is characterized in that, described device also comprises:
Described receiver module, also for receiving the second registration request that described terminal sends, described second registration request at least comprises described second application identities and described terminal iidentification;
Second relation sets up module, for setting up the corresponding relation between described second application identities and described terminal iidentification.
28. devices according to claim 27, is characterized in that, the corresponding relation between timestamp when described second relation sets up module also for setting up described second application identities, described terminal iidentification and receiving described second registration request.
CN201510791425.3A 2015-11-17 2015-11-17 Data transferring method and device Active CN105426190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510791425.3A CN105426190B (en) 2015-11-17 2015-11-17 Data transferring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510791425.3A CN105426190B (en) 2015-11-17 2015-11-17 Data transferring method and device

Publications (2)

Publication Number Publication Date
CN105426190A true CN105426190A (en) 2016-03-23
CN105426190B CN105426190B (en) 2019-04-16

Family

ID=55504420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510791425.3A Active CN105426190B (en) 2015-11-17 2015-11-17 Data transferring method and device

Country Status (1)

Country Link
CN (1) CN105426190B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872254A (en) * 2016-05-31 2016-08-17 北京小米移动软件有限公司 Message forwarding method and device
CN106407025A (en) * 2016-09-14 2017-02-15 腾讯科技(深圳)有限公司 Data calling system, method and device
CN109426416A (en) * 2017-08-25 2019-03-05 阿里巴巴集团控股有限公司 Message method, device and equipment in instant messaging tools
CN110213312A (en) * 2018-04-03 2019-09-06 腾讯科技(深圳)有限公司 A kind of method, relevant apparatus and the system of user's outpost display

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605168A (en) * 2009-06-22 2009-12-16 宇龙计算机通信科技(深圳)有限公司 A kind of managing contact information method, system and mobile communication terminal
CN102855060A (en) * 2012-07-30 2013-01-02 东莞宇龙通信科技有限公司 Terminal and cross-application cooperation processing method
US20140164560A1 (en) * 2012-12-06 2014-06-12 Samsung Electronics Co. Ltd. Apparatus and method for processing http message
CN104090648A (en) * 2014-05-21 2014-10-08 中兴通讯股份有限公司 Data entry method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101605168A (en) * 2009-06-22 2009-12-16 宇龙计算机通信科技(深圳)有限公司 A kind of managing contact information method, system and mobile communication terminal
CN102855060A (en) * 2012-07-30 2013-01-02 东莞宇龙通信科技有限公司 Terminal and cross-application cooperation processing method
US20140164560A1 (en) * 2012-12-06 2014-06-12 Samsung Electronics Co. Ltd. Apparatus and method for processing http message
CN104090648A (en) * 2014-05-21 2014-10-08 中兴通讯股份有限公司 Data entry method and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872254A (en) * 2016-05-31 2016-08-17 北京小米移动软件有限公司 Message forwarding method and device
CN106407025A (en) * 2016-09-14 2017-02-15 腾讯科技(深圳)有限公司 Data calling system, method and device
CN109426416A (en) * 2017-08-25 2019-03-05 阿里巴巴集团控股有限公司 Message method, device and equipment in instant messaging tools
CN110213312A (en) * 2018-04-03 2019-09-06 腾讯科技(深圳)有限公司 A kind of method, relevant apparatus and the system of user's outpost display
CN110213312B (en) * 2018-04-03 2021-10-29 腾讯科技(深圳)有限公司 User field display method, related device and system

Also Published As

Publication number Publication date
CN105426190B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
US10547609B2 (en) Method, apparatus, and system for controlling intelligent device, and storage medium
CN103294515B (en) A kind of methods, devices and systems for obtaining application program
CN104618440A (en) Intelligent equipment control method and device
CN106878120A (en) Device management method and device
CN104426963B (en) The method and terminal of associated terminal
CN105005909A (en) Method and device for predicting lost users
CN105471704B (en) A kind of method, apparatus and system for realizing more people's calls
CN103179026B (en) Communication means in user interactive system, system and server and client side
CN104616138A (en) Resource transferring method, system and device
CN104571787A (en) Message display method and communication terminal
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN105681161A (en) Method, device and system for adding friend account
CN104407804A (en) Screen capturing method and screen capturing device as well as electronic device
CN106776124A (en) Data back up method and device
CN104216915A (en) Webpage processing method, device and terminal equipment
CN104298666A (en) Web page sharing method and web page sharing device
CN105207880A (en) Group recommendation method and apparatus
CN106341809A (en) Data transmission method and apparatus
CN105426190A (en) Data transmission method and device
CN104699501A (en) Method and device for running application program
CN104516890A (en) Business processing method, business processing device and electronic equipment
CN104660769A (en) Method, device and system for adding contact person information
CN103561155B (en) Send the method for note, device and terminal
CN103312783B (en) Method, device and system for switching function modes
CN104917667A (en) Multimedia-information-based interaction method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant