Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with the application reality
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example is only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection
Scope.
Fig. 1 is a kind of a kind of herein described method flow diagram of embodiment of data communication processing method.Although the application
There is provided such as following embodiments or method operating procedure shown in the drawings or apparatus structure, but based on routine or without creative
Work can include more or less operating procedure or modular unit in methods described or device.In logicality not
In the step of in the presence of necessary causality or structure, the execution sequence of these steps or the modular structure of device are not limited to the application
Embodiment or execution sequence shown in the drawings or modular structure.The device in practice of described method or modular structure or end
During the products application of end, according to embodiment or method shown in the drawings or modular structure can carry out order execution or hold parallel
Row (environment of such as parallel processor or multiple threads, the even implementation environment including distributed treatment).
Specific one kind practices scene as described in Figure 1, and the one of a kind of data communication processing method that the application is provided
Planting embodiment can include:
S1:The manipulation instruction that monitoring effect manipulation behavior on the touchscreen is produced, identifies that user manipulates track.
In the application scenarios of the present embodiment, terminal device can support multiwindow pattern.Such as certain system version of Android
This multiwindow pattern sub-screen can simultaneously show two application widget interfaces, and search application is shown while as shown in Figure 2
And news application, Fig. 2 is the application a kind of with the scenes signal for shielding under multiwindow pattern while two application widget interfaces of display
Figure.Certainly, it is not precluded from showing two or more application widget interface simultaneously under same screen in the application others embodiment
Implementation method, such as some panel computers can be supported to show four multiwindow moulds at application widget interface simultaneously under same screen at present
Formula.General, described terminal device can include mobile communication terminal, panel computer, PC, handheld device, PDA, self-service clothes
Business terminal, server, operation system etc..Described terminal device generally (can be referred to as touch screen including touch-screen
Or contact panel), the touch-screen described in the embodiment of the present application includes receiving the device of input signal and display information, such as one
Plant the induction type liquid crystal display device that can receive the input signals such as stylus, human body limb are touched, light intensity senses.Typically
, the touch-screen is provided with a set of transparent absolute positioning system, it is possible to achieve detect effect touch on the touchscreen,
Slide etc., and realized positioning according to coordinate.
User can carry out a series of manipulation behavior on the touch-screen of terminal device to application, such as click, slip, length
Press, or multi-point touch etc..These effect manipulation behaviors on the touchscreen can produce corresponding manipulation instruction, to process
Unit with the manipulation behavior of identifying user, and then can make corresponding response.Can be acted on monitoring users in the embodiment of the present application
The manipulation instruction that manipulation behavior on the touch-screen is produced, such as the carrying out in user's using terminal equipment during news application
Click on title, slide page, terminal device can listen to the manipulation instruction that these manipulations of user are produced, and then identify
Corresponding user's manipulation track.General, when the operation such as being clicked on, slided as user on the touch-screen, its operation is right
As such as certain news reading application, instant messaging application, picture check that the window interface of the applications such as application, payment application is display
On the touch-screen foreground.It can be appreciated that the vocational window of the application that user's current time manipulates in a kind of implementation method
Interface is shown on the touch-screen foreground, in another embodiment can also include application thumbnail window interface or
Scaling figure window interface is shown on the touch-screen foreground.
In a kind of embodiment application scenarios described in Fig. 2, effect manipulation behavior on the touchscreen can be included such as
Shown in Fig. 2 by user's limbs directly the enterprising line slip of the touch-screen manipulation behavior.It is real in the others of the application
Apply in example, described touch-control behavior can also use contactor control device, such as stylus, laser lamp or other aids including user
Click, slip for being carried out on the touch-screen etc. are operated.Even, the application is not excluded in other implementation methods, user's limb
Body is not directly contacted with touch-screen, but identifies that user indirectly acts on described touching every sky using optoelectronic induction, magnetic induction etc.
Touch the manipulation behavior on screen.Therefore, it is described to act in a kind of a kind of embodiment of herein described data communication processing method
On touch-screen manipulation behavior include it is following at least one implementation method:
S101:The manipulation behavior of the touch-screen is touched by user's limbs;
S102:The manipulation behavior of the touch-screen is touched by contactor control device;
S103:By what acrognosis should be identified the manipulation behavior acted on the touch-screen is connect every space.
In specific implementation process, user can be by finger, or even other limbs such as nose, toe, ear touch institute
State touch-screen to be operated, such as click, slip, length are pressed.Or, user can also use stylus (such as capacitance pen), laser
Pen (as transmitting light enters line slip to touch-screen), magnetically or optically sensing pen device are contacted with the touch-screen, to terminal device
In application operated.Certainly, effect described herein manipulation behavior on the touchscreen may be used also in certain embodiments
Effect manipulation behavior on the screen is connect every space with including user, the acrognosis of the user for such as identifying should be acted.Tool
Such as user of the body slip gesture made spaced apart on the touchscreen, although user's finger is not touched directly now
Terminal device still can identify user in touch-screen, but the data communications method application scenarios of the embodiment of the present application offer
The manipulation behavior for sliding a segment distance is performed, and is translated into one section of user's manipulation track.
To be illustrated, described in above-described embodiment every space connect can include manipulation behavior executor (such as finger or
Palm) indirect mediators and touch-screen between are air, but it is primarily referred to as manipulation row every empty indirectly-acting described in the present embodiment
For executor not with touch-screen directly contact and control action that the application to terminal device is carried out.Therefore, in the present embodiment
Described is the situation of air every empty not speciality medium, the executor of behavior is manipulated in some other implement scene and is touched
Can also be other media, even Ru Shui, oil etc., vacuum between screen.
In addition, the effect manipulation behavior on the touchscreen include it is above-mentioned in it is any in the various ways that have included
One or more implementation method of combination, certainly, the development according to information technology can also include the manipulation behavior of other modes.
It is not excluded in other embodiments using the implementation method of one or more operation behaviors, such as user one is pushing pins touch
A band of position of certain application on screen, another hand getting with limbs induction mode every one section of a Slideslip from sky to touch-screen away from
From of this sort implement scene still falls within the manipulation behavior for acting on the touchscreen described in application.
In a kind of embodiment of data communication processing method described herein, can monitor including directly or indirectly effect
The operational order that manipulation behavior on the touchscreen is produced, then identifies corresponding user's manipulation track.The manipulation track
Can be continuous, or the discontinuous track in certain period of time, or multiple spot, multistage and combination is discontinuous
Track etc..
S2:Judge whether user's manipulation track meets the preset trigger condition that the second application is pointed in the first application;When
The connection setup request of the first application is sent when meeting the preset trigger condition.
As described in foregoing, terminal device can directly or indirectly be acted on monitoring users in a kind of embodiment of the application
The manipulation behavior that terminal device is touched, it is possible to acquire corresponding manipulation instruction.Described terminal device can be supported
With the multiwindow pattern of screen, the specific application that can simultaneously show two or more applications such as on mobile phone or panel computer
Interface, as shown in Figure 2.The preset trigger condition that the second application is pointed in the first application can be pre-set in the embodiment of the present application,
The various manipulation gestures on the touch-screen can be specifically acted on including user, is such as pinned in application after certain page elements
A segment distance is slided to another application.At this point it is possible to manipulation behavior according to user on the touch-screen judges whether
The manipulation event of the second application is pointed in the application of triggering first.The preset trigger condition that the second application is pointed in the first described application can
With previously according to scene or design needs set so that terminal device or application can recognize that user manipulation behavior whether
Meet the manipulation event of setting.
In a kind of embodiment, can be operated at current time with stipulative definition user (or the currently active front end window)
Using for the first application, it is necessary to it is the second application to carry out the application definition of information exchange with the first application, if desired for sharing or search
The application of the manipulation behavior that rope user performs in the first application.Specific example such as current time T1 mobile phone screens front end show with
The news application read for user is defined as the first application, or current time T1 user currently click on, slide, it is long by etc. operation
The corresponding application of application interface for first application.In the scene, user needs to be sent to the content in Information application A now
In the search application B of Display on the same screen, corresponding search application B can be the second application of the present embodiment definition.If when another
T2 user's operation search is carved using B, it is necessary to the news that now Display on the same screen is sent to using certain Search Results R of B will be searched for
In using A, to check that news application A is searching for the Search Results R of application B, now search is using B for the present embodiment is fixed
First application of justice, news application A is the corresponding second application.
Certainly, in some embodiments of the application others, can be not limited to using corresponding second application with described first
One application.As shown in figure 3, user's T1 moment is started with certain starting point of window interface in application A, it is continuously slipping by applying C
And stopped at using the window interface of B at the T2 moment, it is the application user's manipulation track to obtain sliding trace S1=A-C-B, Fig. 3
The embodiment application scenarios of the window interface of the multiple applications of covering.The sliding trace of user is can be with irregular semicircle, arc
Or irregular line segment etc..Using A be the first application when so can now define T1 moment, and application B that S1 tracks are passed through and
Can be using C using A be first application when it is corresponding second application.Therefore, herein described a kind of data communication treatment
In another embodiment of method,
S201:First application is included in the user of the touch-screen continuously slipping formation manipulation track, the use
Family manipulation track starting point in the corresponding application of window interface;
Accordingly, second application includes the associated application in addition to described first applies, and the associated application includes
The window interface that user's manipulation track covers is shown in the application on the touch-screen foreground.
General, the touch-screen is provided with corresponding coordinate system, usually absolute coordinate system so that on touch-screen
Each pixel have corresponding coordinate information.Display various application interfaces on the touchscreen, window and other elements
Also corresponding coordinate information is correspond to, can also be comprising each in track in user's manipulation track data of the continuously slipping formation
The coordinate information of individual pixel.Therefore, in a kind of implementation method of the application, can according to the continuously slipping track of user and
The coordinate information at application widget interface determines that continuously slipping track covers the currently displaying application in touch-screen foreground.Herein
It should be noted that the associated application can not generally include corresponding first application of the sliding trace starting point, it is such as sliding
Dynamic rail mark starting point and terminating point scene not in same application widget interface.But in application scenes, behaviour
Control causes sliding trace starting point with terminating point in the application interface of same application, such as sliding trace S2=A-B-C-A, such as
Shown in Fig. 4, Fig. 4 is another embodiment application scenarios of the window interface of the application user's manipulation multiple applications of track covering.
Application where so now can be determined that sliding trace terminal is not counted in the second application of definition, excludes the second application and the
One applies identical situation, i.e., described second application includes a kind of implementation method of the associated application in addition to described first applies
In.In the application scenarios shown in Fig. 4, can be using A as the first application, using B and application C as the in the present embodiment
Two applications.Certainly, it is the situation of same application that the application is not precluded from the first application and the second application in some embodiments, now
Some corresponding measures can be set according to design to be processed.
In a kind of embodiment of the application, the data communication processing method can pre-set a series of first applications and refer to
To the manipulation event of the second application.These corresponding preset trigger conditions of manipulation event can also be pre-set simultaneously.Work as judgement
User's operation trace can trigger the manipulation event that the second application is pointed in the first application when meeting preset trigger condition.Such as one
Another interface using A is slided to by finger in the interface of individual application A.Or click on three in 500 milliseconds of the interface of application A
Secondary, it is to determine that triggering first refers to using A then to click on once (can also be multiple, such as three times) using the interface of B at another
To the manipulation event of the second application B.Certainly, the preset trigger condition can also include that user's manipulation behavior of other predictions sets
A kind of fixed condition, such as user's manipulation behavior of the prediction shown in Fig. 5 can be that Fig. 5 is that the application sets default triggering bar
A kind of corresponding schematic diagram for predicting user's manipulation behavior of part, user singly points at a circle on the touchscreen, and certain that A is applied is first
Plain (such as headline of News_2) " throwing away " is to the opposite shown side by side with screen using in B, you can need to set up first to represent
Using the communication of the applications of A to second B, processed with the element for realizing the second the first application come to " throwing away " using B.Specifically
The first application point to the preset trigger condition of the second application and can define one or many according to Consumer's Experience or design requirement
It is individual, can recognize when the manipulation instruction of user is monitored and determine whether user's manipulation track of user meets the of default setting
The preset trigger condition of the second application is pointed in one application.Can such as be supervised by registering and activating monitor in android system
Listen user to operate, judge whether the sliding trace of user meets the default triggering that the second application is pointed in the first application by processing unit
Condition.
In one embodiment of the application, if manipulating track according to the user determines that (such as user is double refers to across should for triggering
With sliding) the first application points to the manipulation event of the second application, and processor now may determine that user holds on the touchscreen
Go and point to second using this slip behavior by the first application, then can represent that user is needed the content/unit of the first application
Element is processed in being sent to the second application, is such as shared or is inquired about or data duplication/migration.At this point it is possible to send first should
Connection setup is asked, and specific mode can for example include that the mode of broadcast message send, or point-to-point mode is straight
The second application is given in sending and receiving.
S3:After the described second application receives the connection setup request, whether the described second state applied is judged
It is interface display in the multiwindow pattern on the touch-screen foreground.
After the described second application receives the connection setup request that first application sends, it can be determined that described second
Whether application widget interface is displayed in the touch-screen foreground window under multiwindow pattern.It is specific to perform decision logic
Main body can be using oneself judging the current window state of oneself by described second, it is also possible to should with second by the first application
Processed with the same processing system (such as the processing unit in a mobile phone terminal) at common place, or third party judges to patrol
Collect to perform.
General, the window scheme can include for example described first application with the window interface of the second application in many windows
Under mouth mold formula in same touch-screen, such as certain version of current Android is supported simultaneously aobvious in mobile phone terminal display screen
Show two window interfaces of application, or the same touch-screen that some panel computers are supported at most while what display four was applied
Window interface.Fig. 6 is that a kind of embodiment scene of multiwindow pattern of the interface display described herein in touch-screen foreground is illustrated
Figure, application A, B1, B2 in Fig. 6 are the application in same processing server 1.But multiwindow pattern described herein is not arranged
Except multiple application widgets implementation method that foreground shows in different touch-screens, such as the first application may belong to the second application
Same processing system is simultaneously displayed in different touch screen terminals, such as the multihead display of same PC main frames.Described is same
Processing system can be the processing unit comprising one or more logic unit, module, device, or multiple servers composition
Processing system, or same distributed system.In this case, the window interface of first application and the second application can
With in same touch-screen, it would however also be possible to employ the mode of multihead display, respectively or different touch-screens are partially shown in
In.Certainly, first application and the second application of multiwindow multihead display can also be to belong to different processing systems.Fig. 7 is this
Another embodiment schematic diagram of a scenario of multiwindow pattern of the described interface display of application in touch-screen foreground, as shown in fig. 7, the
One application A is the application in processing server 1, and second application B1, B2 is the application in processing server 2.Or in another kind
In implement scene, first application A, B1 is the application in processing server 1, and the second application B2 is the application in processing server 2.
Therefore, in a kind of another embodiment of herein described data communication processing method, the shape for judging second application
Whether state is that multiwindow pattern of the interface display in the touch-screen foreground can include:
S301:Judge whether simultaneously the window interface of second application is displayed on foreground with the window interface of the first application
In same touch-screen.
If the first application is simultaneously displayed on touch-screen foreground with the window interface of the second application at current time, then can be with
Whether the state for determining second application is interface display in the multiwindow pattern on the touch-screen foreground.General, right
When being manipulated, the window interface of the first application is typically what the foreground in touch-screen showed for first application, therefore, now can be with
Judge whether the second window is also that foreground is displayed in touch-screen foreground, if it is, it is the first application and that can represent current
The two application widget interfaces multiwindow pattern that platform shows in front of the touch screen simultaneously.
Certainly, according to foregoing described, in another embodiment of herein described method, following at least one bars are being met
The state that the second application is determined during part is interface display in the multiwindow pattern on the touch-screen foreground:
S302:Foreground is displayed in different touching to the window interface of the second application respectively simultaneously from the window interface that first applies
Touch in shielding;
S303:Belong to same processing system first application with second application in, at least one application Partial Window
Interface current time foreground is displayed in different touch-screens.
It is specific to judge that implementation method choose corresponding treatment side according to different data communication applications environments/systems
Formula.For example in some terminal devices using android system version, the API that can be provided by android system
(Application Programming Interface, API, application programming interface) is judging current certain application
It is no in multiwindow pattern, and whether before screen platform shows.In a kind of implementation method, the first described application should with second
With may belong to same processing system, in other implementation methods, first application can also belong to not with the second application
Same processing system, shown in the Fig. 6 and Fig. 7 as described in foregoing.Therefore, the first application described in above-described embodiment and the second application
Using any one implementation method in following:
First application belongs to same processing system with the second application;
First application belongs to different processing systems from least one application in the second application.
Before the window interface that multiwindow pattern described herein typically refers at least two applications in same processing system is
Platform is shown in touch-screen, is such as displayed side by side search application and news application on mobile phone display screen simultaneously.Certainly, the application reality
The vocational window interface that the multiwindow described in example can also be in one embodiment the application that user's current time manipulates is applied,
The thumbnail window interface or scaling figure window interface of application can also be included in a kind of other embodiments.It is specific a kind of
Example as shown in figure 8, user it is the currently active first be larger window interface using A, while multiwindow foreground show should
A window interfaces side then is applied described first with B, using C, using D, the window of other application during due to the application A of manipulation first
Mouthful interface also in unactivated state, therefore, the touch can be displayed in less scaling figure using B, using C, using D
The screen rightmost side.
S4:When the judged result is to be, the data link of first application and the described second application is set up.
After second application described in the embodiment of the present application receives the connection setup request, it can be determined that described second should
Whether state is interface display in the multiwindow pattern on the touch-screen foreground.When the judged result be it is yes, can be with table
The window interface and the window interface of the described first application that show second application are many windows for being simultaneously displayed on touch-screen foreground
Mouth mold formula scene.Now, user's manipulation track meets the preset trigger condition that the second application is pointed in the first application, can be with table
Show that user expects to realize certain operational requirements between the described first application and the second application that such as user applies in touch-screen first
With under the multiwindow pattern that is displayed side by side of window interface of the second application, it is necessary to certain news during first is applied shares the
The circle of friends of two applications, or certain picture element during first is applied is sent in the search box of the second application and carries out commodity
In search, or the second application of data duplication/be transferred to chosen during first is applied etc..Therefore, one kind of the application is real
Apply in example, user's manipulation behavior on the touchscreen is judged under the multiwindow pattern that can be shown using foreground at least two
When the manipulation event of the second application is pointed in the application of (such as gesture slip) triggering first, first application and the second application are set up
Data link, based on the data link, first application can be realized logical with the second applied business DBMS
Letter.
The communication link set up described in the present embodiment is at least the communication connection of the first application to the second application, and first should
With at least can be to the second application transport data.The communication link can be two-way during the embodiment of the present application concrete implementation
Letter link, i.e., in a kind of implementation method, the second application can also be passed by the communication link of the foundation to the described first application
Transmission of data.
The embodiment of the present application can simultaneously show two or more application widget interfaces using multiwindow pattern sub-screen
The characteristics of, by identifying user manipulation track on the touchscreen, such as two refer to that sliding to second by the first application applies a segment distance
Deng, it is possible to allow two or more applications being simultaneously displayed on screen to set up data link.And once establish and answer
With data link, you can to realize the interaction between different application in service level, a such as key/quick across application point
Enjoy, pay, inquiring about, data transfer etc..So, realize that user intuitively can realize quickly sharing, inquiring about by a gesture
Etc. the service interaction between different application.Obviously, in more and more support applications such as PC terminals, Android/iOS system terminals
User can significantly be simplified in the terminal device of multiwindow to share, search for etc. and to operate without what is performed between application.And it is this
Using interactive mode can also lift user and operate with experience, improve consumer products using perceiving.
User's manipulation event described in above-described embodiment can be included first under various multiwindow patterns set in advance
Using the decision logic for pointing to the second application.General, in most application scenarios, user uses the terminal for being provided with touch-screen
During equipment, smart mobile phone, panel computer, the self-service terminal of such as current main flow typically use the users such as finger, palm
Limbs enter on the touchscreen line slip manipulation with realize to apply operation, naturally it is also possible to including using stylus or other
Auxiliary equipment.Therefore, in a kind of a kind of embodiment of herein described data communication processing method, can pre-set based on use
Family on the touchscreen some are expected the preset trigger condition of slip behaviors, therefore in a kind of embodiment of the application, described the
The preset trigger condition that the second application is pointed in one application includes:
S111:The user's manipulation track identified is the window interface that the second application is slided to by the window interface of the first application
Slip row.
Described slip behavior can include being performed by user's limbs, it is also possible to including the auxiliary using similar stylus
The slip behavior that input equipment is performed.Described user's limbs can include finger, certainly the use described in others embodiment
Family limbs can also include human body limb or the organs such as head, eye, neck, elbow, arm, body, hip, foot.User described in the present embodiment
It is continuously slipping that the slip behavior that limbs touching is carried out on the touch-screen can include that user is carried out on the touch-screen
Manipulation behavior, user by sliding to the segment distance of side one of touch-screen after finger touches touch-screen, or can touch described
Touch and touch-screen opposite side is slided to after being drawn a circle on screen, or the one section of curve for sliding etc..
In a kind of a kind of embodiment of herein described data communication processing method, can be manipulated according to the user for obtaining and produced
Information in raw manipulation instruction identifies whether the manipulation behavior of user has pointed to another application.Specifically, the application institute
State in a kind of a kind of embodiment of data communication processing method, user is described to sentence when the enterprising line slip of the touch-screen is operated
The preset trigger condition whether disconnected user's manipulation track meets the application of triggering first the second application of sensing can include:
S211:The slip record information in the manipulation instruction is obtained, the slip record information includes passing through for record
The limbs of user at least one perform the data message produced during slip behavior on the touchscreen;
S212:Calculated according to the record information and at least include glide direction, sliding distance, sliding time, slip speed
At least one behavioral indicator data in degree;
S213:The behavioral indicator data are compared with corresponding default activation threshold value, according to the result of the comparison
Determine whether the manipulation track meets the preset trigger condition.
It is general, in application scenes, during user by the content of the first application if necessary to share the second application,
The window interface of the first application can be first touched using finger, then to the position side at the second application place on the touch-screen
To slip.When user enters line slip on the touchscreen, processing system can record the record information of lower slider generation, such as coordinate letter
Breath, temporal information etc., some behavioral indicator data of user can be calculated based on these record informations.These behavioral indicator numbers
According to the basis for estimation for being used as whether triggering first the second application of application sensing.The embodiment of the present application can be according to including
The behavioral indicator data of glide direction etc. judge to recognize the need for showing using the same screen multiwindow foreground for communicating is set up with first
The second application shown.A specific exemplary application scene passes through gesture as shown in figure 9, Fig. 9 is a kind of herein described user
Slide the schematic diagram of a scenario for realizing setting up across application communication.Current is two window interfaces of application of terminal device simultaneously horizontal simultaneously
Row is displayed in touch-screen, is recorded when user is double to be referred to and touch the touch-screen and is now touched the coordinate that moment T1 and two refers to touching
C1.Then double finger of user slides a segment distance on the touchscreen, after the completion of user slides, records the touching when slip is completed
Touch the coordinate C2 that moment T2 and two refers to touching.Whether the time interval for then calculating user's slip according to T1, T2 is less than threshold value
3000ms, if it is less, it is effective this time to slide behavior.In addition, calculating this user's glide direction according to coordinate C1 and C2
C1 → C2 is due west direction, and the pixel of sliding distance 300 has exceeded minimum coverage L=20 pixels, can this time be determined
Another application that foreground shows side by side in touch-screen has been pointed in the slip behavior of user.Therefore, it can according to the user
The sliding time of slide, sliding distance and glide direction can determine that the manipulation behavior of user is triggered and preset first
Using the manipulation event for pointing to the second application.Certainly, in other embodiments, described manipulation instruction can also include that touching is touched
Touch temporal information during screen, described behavioral indicator data can also including sliding time, sliding distance, sliding speed etc., because
This, described trigger condition can also set multiple logical conditions, such as judge that glide direction is the first application by sliding trace
The second application is slided to, and sliding speed is more than a pixel value.Specifically can be according to Consumer's Experience and the judgement for pre-setting
User needs the default manipulation behavior that communication is set up between different application to be configured.Described time interval, it is minimum effectively away from
Etc. that can be manipulated according to design needs or prospective users, behavior is pre-defined to be set.
The implementation method of above-described embodiment so that user intuitively can just be allowed by a gesture and is simultaneously displayed on
Communication link is set up in two or more applications on screen, and the first application can utilize the technical scheme that the present embodiment is provided to be built
Vertical communication link and Another Application quickly realize that service level is interacted.Figure 10 is a kind of data communication treatment side that the application is provided
The method flow diagram of method another kind embodiment, as shown in Figure 10, herein described data communication processing method is further implemented
In example, described to set up after the data link that first application is applied with described second, methods described can also include:
S5:First application carries out disappearing for service level with the described second data link of the application based on the foundation
Breath interaction process.
The communication link is at least the communication connection of the first application to the second application, the embodiment of the present application concrete implementation
Shi Suoshu communication links can be bidirectional communication link.After setting up communication link, the first application can be based on the data communication
The application of chain road direction second sends the service level treatment message such as sharing contents or key payment.It is this quick based on user's slip gesture
Realize across the sharing of application, the information exchange of multiwindow pattern such as inquire about, more intuitively, user is easy to use, effectively carries for operation
Rise Consumer's Experience.The second application response service level treatment message described in the present embodiment can include treatment or refuse
The first application response is returned to after processing the service level treatment message, or reception/treatment service level treatment message
Result etc..Described response can include feedback or not feed back to the situation of the first application response message.
Certainly, in other implementation methods, user can also realize being built under multiwindow pattern using the manipulation behavior clicked on
The vertical communication between application.Or, by clicking on, sliding, it is long by etc. mode combination.A kind of herein described data communication
In another embodiment of processing method, manipulation custom of some users when application job can be met and facilitated, specifically
It is described make it is described first application point to second application preset trigger condition can include it is following at least one:
S221:The user's manipulation track identified is Ts in effective period to be preset, in the window interface point of the first application
Hit number of times to meet first requirement M, meet the second requirement in the second window interface number of clicks applied, M, N pre-set
Number of clicks, Ts > 0 second, M >=1, N >=1;
S222:The user's manipulation track identified is that the logical user for identifying manipulates track and is, by the first application
Predetermined pattern, and the locality from where the predetermined pattern position to the second application widget interface are slided out in window interface
Slide at least first threshold distance;
S223:The user's manipulation track identified is Ts in effective period to be preset, in the window interface point of the first application
Hit number of times and meet first requirement K, and the position side from where the window interface to the second application widget interface of the described first application
To at least Second Threshold distance is slided, K is the number of clicks for pre-setting, and Ts is that user manipulates track effective time, Ts > 0
Second, K >=1;
S224:The user's manipulation track identified is Ts in effective period to be preset, in the window interface of the first application
It is long to be temporally more than T milliseconds, and the locality from where the window interface to the second application widget interface of the described first application
Slide at least the 3rd threshold distance, Ts > 0, T > 0 second.
Figure 11 is a kind of user of the application to be realized under multiwindow pattern across the field of application communication using the manipulation behavior clicked on
Scape schematic diagram.As shown in figure 11, if effective period, Ts was 5 seconds in advance, M is that 3, N is 1.Window circle of the user in news application A
In face, if it is judged that one picture element P1 of continuous three clicks of user in 1000 milliseconds, then clicks after 1500 milliseconds again
Another shopping application B.The then click behavior in this 2500 milliseconds of user on the touch-screen meets the first application and points to
The preset trigger condition of the second application, therefore, the picture element P1 that user chooses during now first can be applied is input to the
In two shopping application B.Then there is picture element P1 in the search column of shopping application B.In the implementation method of S222, described is pre-
If pattern can preset setting one or many, can be including regular pattern or irregular pattern, predetermined pattern can be with as described
It is " circle ", " triangle " Z-shaped etc..Such as track identification is manipulated according to user to go out during user applies first to have drawn a circle,
Then the pixel of a segment distance 500 has been slided to the second application, more than the pixel of first threshold distance 300, then in can meeting S222
Described preset trigger condition.It is of course also possible to use will click on described in S223 or S224 or long by (can customize setting
It is long temporally) preset trigger condition is set with sliding the mode that is combined, and basic above-described embodiment other deformations, combine
Mode.
Preset trigger condition described in above-described embodiment provides some users and conveniently, intuitively, efficiently realizes that difference should
With information interaction control mode, can simplify user operation, improve user manipulation experience.In addition, described from described
The window interface of one application is slided to the locality where the second application widget interface can be including direct by user's limbs
Effect slip on the touchscreen, it is also possible to including the slip by touching device effect on the touchscreen, or by user
Gesture is every empty slip for performing etc..Described first threshold, Second Threshold, the 3rd threshold value etc. can be according to different using eventually
End, application interface scene etc. are configured.
As it was previously stated, in a kind of implementation method of the application, the connection setup for sending the first application asks specific mode
Can for example include that the mode of broadcast message send, or point-to-point mode is transmitted directly to the second application, the first application with
Communication link is set up between second application.For example when connection setup request request is sent by way of broadcast message using A
Port is begun listening for, the application B for receiving request directly can be connected with A foundation.In another embodiment, the first application
The mode connection setup request that can be broadcast the message, so the application for receiving broadcast message can respond the broadcast of the first application
Message, returns to response.And now described first can independently select to need to be connected using foundation with which using A, specifically
The basis for estimation of connecting object can be set according to different business scenarios by developer.Therefore, the application is provided
Described a kind of data communication processing method in,
S231:The connection setup request for sending the first application includes sending the first application in the way of message is broadcasted
Connection setup is asked;
Accordingly, it is described set up it is described first application with described second application data link can include:
The second communication for being applied to first application is set up after the described second application receives the connection setup request
Link, and return to response message to the described first application;
First is set up after the described first application receives the response message of second application be applied to the second application
Point-to-point communication link.
The connection setup request can apply identification marking including described first, and second application can be based on described
First application identities return to response message to the described first application.Accordingly, the second application can be included in the response message
The second application identities, the first application can based on second application identities with second application set up communicate to connect.The application
The method that communication is set up between the different application that the foreground of embodiment design shows can be communicated using the first application broadcast transmission
Message is set up, many one or more applications for receiving broadcast message can apply feeding back response information to first, then first
Using can actively select need which application to set up communication link with according to the response message of the multiple responders for receiving.This
Plant and actively select communication link to set up the mode of object by the first application, be particularly suited at least three foregrounds and be displayed in touch-screen
In multiwindow model application scene.
Certainly, the mode that all applications for receiving the first application broadcast message set up communication link with the first application also may be used
To be displayed in suitable at least three foregrounds the multiwindow model application scene touch-screen.As shown in Figure 12-1, Figure 12-1
Be that the application is a kind of slides the schematic diagram of a scenario realized under multiwindow pattern across application communication by user, and user is in the first application
To search for certain Search Results in application B by after the gesture to the right segment distance of Slideslip one, sending the wide of connection setup request
Broadcast message.Instant messaging application IM_1, IM_2, IM_3 that foreground shows can be applied directly after receiving broadcast message with search
B sets up two-way communication.Then, search can send corresponding service level processing data (certain Search Results RE_1) using B
To instant messaging application IM_1, IM_2, IM_3, instant messaging application IM_1, IM_2, IM_3 can be responded accordingly respectively
Treatment.And use when first sets up communication link using selection with which responder, instant messaging application IM_1, IM_2, IM_
3 receive after broadcast message and to return to response message to search application, search using B can according to glide direction just to IM_2 and then
Selection sets up communication link with IM_2.Search application B can be by corresponding service level processing data (certain Search Results RE_1)
Instant messaging application IM_2 is sent to, corresponding response treatment is carried out by instant messaging application IM_2, as shown in fig. 12-2, figure
12-2 is that the application is a kind of slides the schematic diagram of a scenario realized under multiwindow pattern across application communication by user.
Below to being applied in an application scenarios for instantiation using a kind of herein described data communication processing method
Middle implementation process explanation.Figure 13 is that a kind of a kind of implementing procedure of embodiment scene of herein described data communication processing method shows
It is intended to.In a specific exemplary application scene, as shown in figure 13, in the mobile phone terminal of android system, can appoint in advance
Surely it is the initiator for setting up communication using A, is recipient using B.
Radio receiver in Figure 13 refers to BroadcastReceiver, be android system provide application between it is one-to-many
Information dissemination mechanism.Here can define two broadcast request and response Action (executor or perform into
Journey) it is respectively com.apptest.message.request and com.apptest.message.response.Using A, application
B is needed to the two radio receivers of system registry.In android system, can set start backward using A, using B
Android system registers BroadcastReceiver (radio receiver), so, when android system receives Broadcast
Shi Caihui adjusts back BroadcastReceiver registered in advance to notify application.Such as a kind of conventional register method is static state
Registration, static registration typically refers to define receiver inside the application of AndroidManifest.xml and set
The action to be received (executor or executive process, such as com.apptest.message.request and
com.apptest.message.response)。
When the double fingers of user touch the touch-screen on mobile phone, now time T1 and two refers to the coordinate C1 for touching to record, sliding
Time and coordinate data can be always recorded during dynamic.After the completion of slip, the time T2 when slip according to record is completed
Judge whether the time interval T that user slides is less than threshold value 1500ms;And two coordinates for referring to are averaged during by starting and termination,
Threshold value sliding distance=L300 pixels whether are exceeded apart from L by the way that starting is sliding straight with termination coordinate calculating.Then pass through
Android system provide API judge current application A be in multiwindow pattern, and if court verdict be satisfied by it is above-mentioned
The time interval of slip and the triggering requirement of sliding distance, then can determine that user's slip behavior on the touchscreen triggers finger
To the manipulation event of Another Application.
Now, in mobile phone A ndroid systems, the request broadcast messages for carrying oneself bag name can be sent using A.
Bag name described here refers to package, is the unique mark applied in android system.Each should in android system
With must all there is a unique package, difference can be distinguished using this package typically in product development and design
Application, such as package of application A can be com.eg.android.ApptestA, and the package using B can be
com.tencent.mm。
After request broadcast is received using B, can first decide whether the request that response application A sends.If now system
Untreated emergency or the application of exclusive process or in other busy states etc., then can agree to, using the request of A, set up
The one-way communication link of B to A.It is then possible to judge current application B whether in multiwindow mould by the API that Android is provided
Formula, and whether before screen platform shows.
After judgement passes through, an available network Socket port is monitored at random using B, such as 8080, should according to receiving
Request sends response broadcast, and carries the bag name using B oneself and the port monitored.Network is monitored using B
Socket ports 8080, wait port to be connected.
After A applications receive the response broadcast using B, if agreement is connected with this using B, B is applied in actively connection
The Socket ports 8080 of monitoring.The point-to-point communication link with application B using A is then established after successful connection.Can using A, B
The two-way point-to-point communication of high speed is carried out using the communication link of the Socket ports.Business both sides can be carried out according to the link
Multiple business is interacted, for example, share, pay.
Data communication processing method or can be used for various ends such as mobile phone, flat board, PC, server, PDA that the application is provided
In end equipment, user intuitively can just allow two applications being simultaneously displayed on screen to set up two-way by a gesture
Communication link.Such as user double finger in any one application slides to another application, and this two application place process sets up double
To communication port, this action that can be according to different business scenarios to user carries out diversified response, and for example sharing A should
Content in is applied to B, and can effectively lift terminal device is used interchangeably experience.
Basic application thought, the application also provides a kind of data that can be used in same application between different business and leads to
Letter processing method, it is possible to achieve trans-sectoral business is realized in the slip manipulation based on user between the different traffic item in application widget interface
Between interaction process.Figure 14 is a kind of method flow of data communication processing method another kind embodiment that the application is provided
Figure, specific as shown in figure 14, in a kind of a kind of embodiment of data communication processing method that the application is provided, methods described can
To include:
S1’:The manipulation instruction that the manipulation behavior on application widget interface is produced is monitored, identifies that user manipulates track;
S2’:Judge whether user's manipulation track meets the first traffic item of triggering and point to the default tactile of the second traffic item
Clockwork spring part;And when the judged result is to be, first business is processed using the response mode of second traffic item
The Business Processing request of item.
In preferred embodiment, the preset trigger condition that first traffic item points to the second traffic item can include:
S201’:The user's manipulation track identified is by the first industry in the application widget interface that platform shows in front of the touch screen
The window interface of business item slides to the window interface of the second traffic item.
Above-mentioned the first described traffic item and the second traffic item for interacting treatment may belong in same application
Different business, or the traffic item in different application.Therefore, the existing user manipulation track that the application is provided can be realized
In another embodiment of the data communication processing method of the information interaction of different business item, first traffic item and second
Traffic item can be using any one implementation method in following:
First traffic item and the second traffic item belong to the traffic item in same application;
First traffic item belongs to different applications from least one traffic item in the second traffic item.
Figure 15 is a kind of schematic diagram of another embodiment application scenarios of data communication processing method that the application is provided.
As shown in Figure 15, the secondary windows interface in certain payment application PAY includes several payment payment transactions, such as " words
Expense is supplemented with money ", " charges for water and electricity ", " credit card repayment " etc..Application widget interface lower section additionally provides three users simultaneously can use
In the means of payment option " remaining sum payment ", " Bank of China's payment ", " the trade and investment promotion Credit Card Payments " that pay.If pre-set by
Certain payment transaction item is firmly slided into after certain payment options and represents the payment slided into using the payment selection payment pinned
Traffic item.For example, shown in Figure 15, user first touches " remaining sum payment " option using finger, then finger slides into " telephone expenses
Supplement with money ", then payment application PAY can directly enable the business means of payment of " remaining sum payment " to supplement telephone expenses with money to user.When
So, if user pins the window interface of " Bank of China's payment " traffic item, " telephone recharge " is then slided to, then pays application
Bank of China's deposit card that PAY can be bound using user is slided to after carrying out telephone recharge, or click " Bank of China's payment "
" red packet " traffic item, the then fund that can give tacit consent to the Bank of China's deposit card bound using user is given bonus.So, it is different
The quick interaction process performed between different business such as manipulation can be slided by the gesture on touch-screen between traffic item, carried
User's operating experience high.
Based on data communication processing method described herein, the application also provides a kind of data communication processing unit.Institute
State data communication processing unit to can be used for including mobile communication terminal, flat board, PDA, PC etc. in multiple terminal equipment, realize many
Based on certain the default control action (such as user's certain slip gesture on the touchscreen) on user's touch-screen under window scheme
To set up the data communication between different application, the service interaction between different application, lifting user's manipulation experience are realized.Figure 16
It is a kind of a kind of modular structure schematic diagram of embodiment of data communication processing unit that the application is provided, specifically, such as Figure 16
Shown, described device can include:
Module 101 is monitored, can be used for the manipulation instruction that monitoring effect manipulation behavior on the touchscreen is produced, identified
User manipulates track;
Trajectory processing module 102, can be used for judging whether user's manipulation track meets the first application and point to second
The preset trigger condition of application;And when the judged result is that the connection setup request of the first application is sent when being;
Multiwindow judge module 103, can judge described after the described second application receives the connection setup request
Whether the state of the second application is interface display in the multiwindow pattern on the touch-screen foreground;
Communication building block 104, can be used for, when the result that the multiwindow judge module 103 judges is to be, setting up
The data link that first application is applied with described second.
In a kind of another embodiment of herein described data communication processing unit, first application points to second should
Preset trigger condition can include:
The user's manipulation track identified is the cunning of the window interface that the second application is slided to by the window interface of the first application
Dynamic behavior.
In a kind of another embodiment of herein described data communication processing unit, the communication for sending the first application
Setting up request includes sending connection setup request in the way of message is broadcasted;
Accordingly, it is described set up it is described first application with described second application data link include:
The second communication for being applied to first application is set up after the described second application receives the connection setup request
Link, and return to response message to the described first application;
First is set up after the described first application receives the response message of second application be applied to the second application
Point-to-point communication link.
The preset trigger condition that the second application is pointed in the first application in herein described device can also be according to user's point
Hit, slide, it is long by and combinations thereof etc. other trigger conditions are set.The implementation method of specific above-described embodiment and set up first
Using with second application communication link mode be referred to above method related embodiment description and extension can embodiment party
Formula, will not be described here.
Data communication processing unit described herein can be used for based on android system platform and support multiwindow mould
In the multiple terminal equipment of formula, such as conventional mobile communication terminal.So, user can be by touching in using terminal equipment
The upper simple gesture operation of screen is touched, quickly, intuitively allows two or more applications being simultaneously displayed on touch-screen to set up logical
Letter link.Using the communication link set up, the service level interaction between application is quickly realized, such as one-key sharing, slip pays
Etc., greatly improve user's manipulation experience.Certainly, effect manipulation behavior on the touchscreen can be included by using
Slip behavior of the limbs touching in family on the touch-screen, the click behavior for carrying out, it is long by and combinations thereof manipulation behavior.
The embodiment of another data communication processing unit that the application is also provided, it is possible to achieve based on user in application window
The interaction process between trans-sectoral business is realized in slip manipulation between the different traffic item in mouth interface.Figure 17 is that the application is provided
The modular structure schematic diagram of another embodiment of data communication processing unit is planted, specific as shown in figure 17, the application is provided
A kind of a kind of embodiment of data communication processing unit described in device can include:
Manipulation instruction acquisition module 201, can be used for monitoring the manipulation instruction that the manipulation behavior on touch-screen is produced, identification
Go out user's manipulation track;
Service Processing Module 202, can be used for judging whether user's manipulation track meets the first traffic item and point to the
The preset trigger condition of two traffic items;Can be also used for when the judged result is to be, using the sound of second traffic item
The Business Processing for answering mode to process first traffic item is asked.
In described a kind of data communication processing unit another kind embodiment that the application is provided, first traffic item is pointed to
The preset trigger condition of the second traffic item includes:
The user's manipulation track identified is by the first traffic item in the application widget interface that platform shows in front of the touch screen
Window interface slides to the window interface of the second traffic item.
Certainly, as it was previously stated, above-mentioned the first described traffic item for interacting treatment may belong to the second traffic item
Different business in same application, or the traffic item in different application.Therefore, described one kind that the application is provided
In data communication processing unit another kind embodiment, first traffic item and the second traffic item use it is following in any one
Implementation method:
First traffic item and the second traffic item belong to the traffic item in same application;
First traffic item belongs to different applications from least one traffic item in the second traffic item.
Specific first traffic item points to the preset trigger condition of the second traffic item, slides the user for being formed in above-mentioned
Manipulation track etc. is referred to the associated description of foregoing other embodiment, will not be described here.
The data communication processing unit that the embodiment of the present application is provided can simultaneously show two using multiwindow pattern sub-screen
The characteristics of individual or multiple application widget interfaces, by identifying user manipulation track on the touchscreen, such as two fingers should by first
Segment distance etc. is applied with sliding to second, it is possible to allow two or more applications being simultaneously displayed on screen to set up data and lead to
Letter link.And once establish the data link between application, you can to realize the interaction between different application in service level,
A such as key/quick is shared across application, pays, inquiring about, data transfer.So, realize that user can intuitively pass through a hand
Gesture is realized the service interaction between different application such as quickly sharing, inquire about.Obviously, in PC terminals, Android/iOS system terminals
Etc. can significantly simplify in more and more terminal devices of the support using multiwindow user without the sharing of execution between application, search
Rope etc. is operated.And the interactive mode between this application can also lift user and operate with experience, improve consumer products and use
Perceive.
The data communication processing method and processing device that the application is provided can be used in multiple terminal equipment, such as mobile communication end
End (mobile phone etc.), flat board, PDA, PC, server, operation system etc., realize under multiwindow pattern based on certain on user's touch-screen
Default control action (such as user's certain slip gesture on the touchscreen) is planted to set up the data communication between different application, it is real
Service interaction between existing different application, lifting user's manipulation experience.Therefore, the application also provides a kind of electronic equipment, described
Electronic equipment can including such as above-mentioned mobile phone, flat board etc. the terminal device including touch panel device.Described electronic equipment is one
Can also be the part composition of these terminal devices, such as data processing electronics of terminal device, touch-screen in a little embodiments
Can be individually attached with described electronic equipment, the terminal used as user after combination.Specifically, the offer of the application
A kind of electronic equipment a kind of embodiment in, can include:
Action listener unit, can be used for the manipulation instruction that monitoring effect manipulation behavior on the touchscreen is produced, identification
Go out user's manipulation track;Can be also used for judging whether user's manipulation track meets the first application and point to the pre- of the second application
If trigger condition;
Window state judge module, can be used for being received in the described second application the connection setup request of the first application
Afterwards, whether the state for judging second application is interface display in the multiwindow pattern on the touch-screen foreground;
Communication link sets up module, can be used for answering when judging that user manipulation track meets the first application and points to second
During preset trigger condition, the connection setup request of the first application is sent;And for judging the shape of second application
State be interface display when the multiwindow pattern on the touch-screen foreground, set up it is described first application and described second application number
According to communication link.
In a kind of embodiment, the communication link of the electronic equipment set up module 303 set up first application with it is described
The data link of the second application can include setting up the one way data communication link of the first application to the second application, and first should
With that can send communication data to the second application, the second application receives communication data.In other embodiments, it is also possible to including building
The bidirectional data communication link that vertical first application is applied with second, i.e., the first application can be by the number in a kind of implementation method
Communication data is sent to the second application according to communication link, the second application can also be connected to the first application by the data communication
Send data communication data.Electronic equipment described herein, and above-mentioned data communication processing method, some realities of device
Applying example can be according to specific applied environment setting processing mode.The application provides a kind of preferred embodiment, and the first application is adopted
After being broadcasted with message, the point-to-point communication with the second application is set up according to the response message for receiving.Specifically, herein described
In another embodiment of a kind of electronic equipment, the communication link sets up module and sends the first application transmission connection setup request
The connection setup request of the first application is sent in the way of message is broadcasted including the described first application;
Accordingly, it is described set up it is described first application with described second application data link include:
The second communication for being applied to first application is set up after the described second application receives the connection setup request
Link, and return to response message to the described first application;
First is set up after the described first application receives the response message of second application be applied to the second application
Point-to-point communication link.
Effect manipulation behavior on the touchscreen can include directly enterprising in the touch-screen by user's limbs
The manipulation behavior of line slip.In other embodiments of the application, it is tactile that described manipulation behavior can also include that user uses
Control device, click, slip operation that such as stylus, laser lamp or other aids are carried out on the touch-screen.Even,
The application is not excluded in other implementation methods, and user's limbs are not directly contacted with touch-screen, but utilize optoelectronic induction, magnetic induction
Etc. identifying that user indirectly acts on manipulation behavior on the touch-screen every sky.The acrognosis of the user for such as identifying should be moved
Make, specifically such as user's slip gesture made spaced apart on the touchscreen, although user's finger is now without straight
Contact still can identify that user performs in encountering touch-screen, but the electronic apparatus application scene of the embodiment of the present application offer
The manipulation behavior of a segment distance is slided, and is translated into one section of user's manipulation track.Therefore, a kind of herein described electronics sets
In standby another embodiment, the effect manipulation behavior on the touchscreen can be including at least one embodiment party in following
Formula:
The manipulation behavior of the touch-screen is touched by user's limbs;
The manipulation behavior of the touch-screen is touched by contactor control device;
By what acrognosis should be identified the manipulation behavior acted on the touch-screen is connect every space.
General, the window scheme can include for example described first application with the window interface of the second application in many windows
Under mouth mold formula in same touch-screen, such as certain version of current Android is supported simultaneously aobvious in mobile phone terminal display screen
Show two window interfaces of application, or the same touch-screen that some panel computers are supported at most while what display four was applied
Window interface.But multiwindow pattern described herein is not excluded for what multiple application widgets foreground in different touch-screens showed
Implementation method, such as the first application may belong to same processing system and be displayed in different touch screen terminals from the second application,
Such as the multihead display of same PC main frames.Described same processing system can be comprising one or more logic unit
Processing unit, module, device, or the processing system that multiple servers are constituted, or same distributed system.Such case
Under, first application and the window interface of the second application may be in same touch-screen, it would however also be possible to employ multihead display
Mode, respectively or be partially shown in different touch-screens.Certainly, first application and second of multiwindow multihead display should
With can also be to belong to different processing systems.Therefore, it is described in another embodiment of herein described a kind of electronic equipment
Window state judge module determines that the state of second application is interface display in institute when following at least one conditions are met
State the multiwindow pattern on touch-screen foreground:
The window interface of second application and the window interface of the first application are displayed in same touch-screen on foreground simultaneously;
Foreground is displayed in different touch-screens to the window interface that the window interface of the second application is applied from first respectively simultaneously
In;
During first application is applied with second, Partial Window interface foreground of at least one application is displayed in different touches
In screen.
In a kind of implementation method of herein described electronic equipment, the first described application may belong to same with the second application
One processing system, in other implementation methods, first application can also belong to different processing systems from the second application,
Shown in Fig. 6 and Fig. 7 as described in foregoing.Therefore, in another embodiment of herein described a kind of electronic equipment, described first
Using any one implementation method in applying use following with second:
First application belongs to same processing system with the second application;
First application belongs to different processing systems from least one application in the second application.
Certainly, the multiwindow described in the embodiment of the present application can also be manipulated for user's current time in one embodiment
Application vocational window interface, in a kind of other embodiments can also include application thumbnail window interface or scaling
Figure window interface.
In other implementation methods, user can also be realized setting up under multiwindow pattern across should using the manipulation behavior clicked on
Communication between.Or, by clicking on, sliding, it is long by etc. mode combination.Herein described a kind of electronic equipment it is another
Plant in embodiment, can meet and facilitate manipulation custom of some users when application job.Specifically, herein described one kind
In another embodiment of electronic equipment, the preset trigger condition for making the second application of the first application sensing includes following
In at least one:
The user's manipulation track identified is that the Ts within default effective period is clicked on secondary in the window interface of the first application
Number meets first requirement M, meets the second requirement in the second window interface number of clicks applied, and M, N are the click for pre-setting
Number of times, Ts is that user manipulates track effective time, Ts >=0 second, M >=1, N >=1;
The user's manipulation track identified is to be chosen by sliding predetermined pattern in the window interface of the first application
First application, and the locality slip at least first threshold from where the predetermined pattern position to the second application widget interface
Distance;
The user's manipulation track identified is that the Ts within default effective period is clicked on secondary in the window interface of the first application
Number meets first requirement K, and the locality cunning from where the window interface to the second application widget interface of the described first application
Dynamic at least Second Threshold distance, K is the number of clicks for pre-setting, and Ts is that user manipulates track effective time, Ts >=0 second, K >=
1。
The user's manipulation track identified is that the Ts within default effective period is long in the window interface of the first application to press
Time is more than T milliseconds, and the locality slip from where the window interface to the second application widget interface of the described first application
At least the 3rd threshold distance, T >=0.
Preset trigger condition described in above-described embodiment provides some users and conveniently, intuitively, efficiently realizes that difference should
With information interaction control mode, can simplify user operation, improve user manipulation experience.In addition, described from described
The window interface of one application is slided to the locality where the second application widget interface can be including direct by user's limbs
Effect slip on the touchscreen, it is also possible to including the slip by touching device effect on the touchscreen, or by user
Gesture is every empty slip for performing etc..Described first threshold, Second Threshold, the 3rd threshold value etc. can be according to different using eventually
End, application interface scene etc. are configured.
In another embodiment of herein described a kind of electronic equipment, the default of the second application is pointed in first application
Trigger condition can include:
The user's manipulation track identified is the cunning of the window interface that the second application is slided to by the window interface of the first application
Dynamic behavior
Such as certain Search Results is passed through the gesture segment distance of Slideslip one to the right by user in the first application is for search application B
Afterwards, the broadcast message of connection setup request is sent.Instant messaging application IM_1, IM_2, IM_3 that foreground shows receive broadcast and disappear
Directly two-way communication can be set up after breath using B with search.Then, corresponding service level can be processed number by search application B
Be sent to instant messaging application IM_1, IM_2, IM_3 according to (certain Search Results RE_1), instant messaging application IM_1, IM_2,
IM_3 can respectively carry out corresponding response treatment.
The implementation method of above-described embodiment so that user intuitively can just be allowed by a gesture and is simultaneously displayed on
Communication link is set up in two or more applications on screen, and the first application can utilize the technical scheme that the present embodiment is provided to be built
Vertical communication link and Another Application quickly realize that service level is interacted.Therefore, the another kind of herein described a kind of electronic equipment
In embodiment, the electronic equipment can also include:
Service Processing Unit, can be used for realizing first application and second using the data link set up
Service level interacting message treatment between.
The communication link is at least the communication connection of the first application to the second application, the embodiment of the present application concrete implementation
Shi Suoshu communication links can be bidirectional communication link.After setting up communication link, the first application can be based on the data communication
The application of chain road direction second sends the service level treatment message such as sharing contents or key payment.It is this quick based on user's slip gesture
Realize across the sharing of application, the information exchange of multiwindow pattern such as inquire about, more intuitively, user is easy to use, effectively carries for operation
Rise Consumer's Experience.
The data communication processing method or device or electronic equipment of the application offer can be used for various with touch display
In the terminal device of equipment, such as mobile communication terminal (mobile phone), flat board, PDA, PC, server, transaction processing system etc. are real
Based on the default control action of certain on user's touch-screen, (such as user's on the touchscreen certain slides hand under existing multiwindow pattern
Gesture) data communication in display device between different application is touched setting up, the service interaction between different application is realized, lifted
User touches the manipulation experience of display device.Therefore, the application also provides a kind of touch display device, and Figure 18 is herein described
A kind of a kind of touch structural representation of embodiment of display device, as shown in figure 18, the touch display device can be included extremely
Include a touch-screen and a processor less,
The touch-screen, the interface information that can be used for application widget shows and behaviour of the induction effect on the touch-screen
Control behavior, and the corresponding manipulation instruction that the manipulation behavior is produced is sent to processor;
The processor, is configured to, and can be used for identifying that user manipulates track according to the manipulation instruction, and true
Fixed user's manipulation track meets the communication that the first application is sent when the preset trigger condition of the second application is pointed in the first application
Set up request;Can be also used for after the described second application receives the connection setup request, judge second application
Whether state is interface display in the multiwindow pattern on the touch-screen foreground;Can be also used for when the result for judging is yes
When, set up the data link of first application and the described second application.
In some terminal devices using android system version, the API that can be provided by android system
(Application Programming Interface, API, application programming interface) is judging current certain application
It is no in multiwindow pattern, and whether before screen platform shows.In a kind of implementation method, the first described application should with second
With may belong to same processing system, in other implementation methods, first application can also belong to not with the second application
Same processing system.
In a kind of embodiment for touching display device, user can be realized by slip gesture on the touchscreen
The communication link set up between different application.Therefore, in a kind of another embodiment of touch display device that the application is provided,
The preset trigger condition that the second application is pointed in first application can include:
The user's manipulation track identified is the cunning of the window interface that the second application is slided to by the window interface of the first application
Dynamic behavior.
In a kind of another embodiment of touch display device that the application is provided, the side that the processor is broadcasted with message
Formula sends the connection setup request of the first application;
Accordingly, it is described set up it is described first application with described second application data link include:
The second communication for being applied to first application is set up after the described second application receives the connection setup request
Link, and return to response message to the described first application;
First is set up after being applied to receive the described second response message applied described first be applied to the second application
Point-to-point communication link.
In android system, can set using A, using B and start backward android system registration
BroadcastReceiver (radio receiver), so, note in advance can be just adjusted back when android system receives Broadcast
Volume BroadcastReceiver come notify application.Such as a kind of conventional register method is static registration, and static registration is usual
Refer to define receiver inside the application of AndroidManifest.xml and set the action to be received (to hold
Passerby or executive process, such as com.apptest.message.request and com.apptest.message.response).
When the double fingers of user touch the touch-screen on mobile phone, now time T1 and two refers to the coordinate C1 for touching to record, sliding
Time and coordinate data can be always recorded during dynamic.After the completion of slip, the time T2 when slip according to record is completed
Judge whether the time interval T that user slides is less than threshold value 1500ms;And two coordinates for referring to are averaged during by starting and termination,
Threshold value sliding distance=L300 pixels whether are exceeded apart from L by the way that starting is sliding straight with termination coordinate calculating.Then pass through
Android system provide API judge current application A be in multiwindow pattern, and if court verdict be satisfied by it is above-mentioned
The time interval of slip and the triggering requirement of sliding distance, then can determine that user's slip behavior on the touchscreen triggers finger
To the manipulation event of Another Application.
In a specific example, such as in mobile phone A ndroid systems, can be sent using A and carry oneself bag name
Request broadcasts the message.After request broadcast is received using B, can first decide whether the request that response application A sends.If
The now untreated emergency of system or the application of exclusive process or in other busy states etc., then can agree to using A's
Request, sets up the one-way communication link of B to A.It is then possible to judge whether current application B locates by the API that Android is provided
In multiwindow pattern, and whether before screen platform shows.After judgement passes through, an available network is monitored at random using B
Socket ports, such as 8080, response broadcast is sent according to the request for receiving application, and carry using the bag of B oneself
Name and the port monitored.Network Socket ports 8080 are monitored using B, waits port to be connected.A applications are received using B's
After response broadcast, if agreement is connected with this using B, the Socket ports 8080 that actively connection application B is monitored.Connection
The point-to-point communication link with application B using A is then established after success.
The touch display device that the above embodiments of the present application are provided, when determining that user needs to enter between different applications
The communication that row information can quickly be set up between application when interacting, it is possible to achieve user is intuitively by simply and intuitively sliding
Gesture can just allow be simultaneously displayed on screen at least two applications to set up communication link.Touching display device can be using this
Applying for the communication link set up of technical scheme that provides and Another Application carries out the interaction of service level, and specific interactive mode/
Response contents can be designed by business development personnel according to different scenes, and such as one-key sharing, a key pay, push-to-listen
Song etc..Obviously, the application embodiment applies multiwindow in more and more supports such as PC terminals, Android/iOS system terminals
Terminal device in can significantly simplify user and share, search for etc. without the interactive operation between application, meet user's request, and
Interactive mode between this application can also greatly improve user terminal manipulation experience, improve consumer products and use perceptibility.
The data communication processing method or device or electronic equipment of the application offer can be used for another aobvious with touching
In showing the terminal device of equipment, such as mobile communication terminal (mobile phone), flat board, PDA, PC, server, transaction processing system etc.,
Realize certain default control action (such as user's certain slip on the touchscreen being based on user's touch-screen under multiwindow pattern
Gesture) information exchange in display device between different business is touched setting up, quickly realize same application or different application
Traffic item between operation, lifting user touch display device manipulation experience.Therefore, the application also provides another touch
Display device, Figure 19 is a kind of a kind of herein described touch structural representation of embodiment of display device, as shown in figure 19, institute
Stating touch display device can include at least including a touch-screen and a processor,
The touch-screen, the interface information that can be used for application widget shows and behaviour of the induction effect on the touch-screen
Control behavior, and the corresponding manipulation instruction that the manipulation behavior is produced is sent to processor;
The processor, is configured to, and can be used for judging whether user's manipulation track meets the first traffic item of hair
Point to the preset trigger condition of the second traffic item;Can be also used for when the judged result is to be, using second business
The response mode of item processes the Business Processing request of first traffic item.
In a kind of another embodiment of touch display device that the application is provided, first traffic item points to the second industry
The preset trigger condition of business item includes:
The user's manipulation track identified is by the first traffic item in the application widget interface that platform shows in front of the touch screen
Window interface slides to the window interface of the second traffic item.
Above-mentioned the first described traffic item and the second traffic item for interacting treatment may belong in same application
Different business, or the traffic item in different application.A kind of another kind of touch display device that the application is provided is real
In applying example, first traffic item and the second traffic item are using any one implementation method in following:
First traffic item and the second traffic item belong to the traffic item in same application;
First traffic item belongs to different applications from least one traffic item in the second traffic item.
Another touch display device China that the embodiment of the present application is provided, it is possible to achieve the different industry in application widget interface
The interaction process between trans-sectoral business is realized in slip manipulation between business item.Can be by the hand on touch-screen between different business
Gesture slides the quick interaction process performed between different business such as manipulation, improves user's operating experience.
The application purpose is to provide a kind of data communication processing method, device and electronic equipment, touch display device, profit
The characteristics of can showing multiple application widgets simultaneously with multiwindow pattern sub-screen, realizes by the simply and intuitively behaviour of user
Control gesture behaviour can allow be simultaneously displayed on screen at least two applications to set up communication link, realize quick, easily terminal
Using interaction between different application in equipment, user's operation is reduced, improve user's operation and experience.The application embodiment
Can significantly simplify use in more and more terminal devices for supporting application multiwindow such as PC terminals, Android/iOS system terminals
Family is shared, searches for etc. without the interactive operation between application, and the interactive mode met between user's request, and this application may be used also
To greatly improve user terminal manipulation experience, improve consumer products and use perceptibility.
Although mentioning interacting message mode, the touch of double fingers or the limbs of message broadcast or point-to-point communication in teachings herein
Sensing every the empty control mode for touching, click on or it is long by or user's manipulation track, continuously or discontinuously for sliding or drawing a circle etc.
User's manipulation track definition, many information interaction approach of the application in windows display mode with screen or split screen or the like,
The description of user gesture identification, multiwindow foreground display real-time scene etc., but, the application is not limited to meet row
Situation described by industry communication standard, information input from touch screen identification, sliding trace definition or embodiment.Some professional standards or
Person can also realize above-mentioned reality using embodiment amended slightly in self-defined mode or the practice processes of embodiment description
Apply example it is identical, equivalent or close or deformation after it is anticipated that implementation result.Using these modification or deformation after data acquisition,
The embodiment of the acquisitions such as storage, judgement, processing mode, within the scope of still may belong to the optional embodiment of the application.
Although this application provides the method operating procedure as described in embodiment or flow chart, based on conventional or noninvasive
The means of the property made can include more or less operating procedures.The step of being enumerated in embodiment order is only numerous steps
A kind of mode in execution sequence, unique execution sequence is not represented.When device in practice or end product are performed, can be with
Performed or executed in parallel (such as parallel processor or multiple threads according to embodiment or method shown in the drawings order
Environment, even distributed data processing environment).Term " including ", "comprising" or its any other variant be intended to
Nonexcludability is included, so that process, method, product or equipment including a series of key elements not only will including those
Element, but also other key elements including being not expressly set out, or also include being this process, method, product or equipment
Intrinsic key element.In the absence of more restrictions, be not precluded from the process including the key element, method, product or
Also there are other identical or equivalent elements in person's equipment.
Unit, device or module that above-described embodiment is illustrated etc., can specifically be realized by computer chip or entity, or
Realized by the product with certain function.For convenience of description, describe to be divided into various modules point with function during apparatus above
Do not describe.Certainly, can the function of each module is real in same or multiple softwares and/or hardware when the application is implemented
It is existing, it is also possible to will to realize that the module of same function is realized etc. by the combination of multiple submodule or subelement.Dress described above
It is only schematical to put embodiment, for example, the division of the unit, only a kind of division of logic function, when actually realizing
There can be other dividing mode, such as multiple units or component can combine or be desirably integrated into another system, or one
A little features can be ignored, or not perform.It is another, shown or discussed coupling or direct-coupling or communication link each other
Connecing can be that the INDIRECT COUPLING or communication connection of device or unit can be electrical, mechanical or other shapes by some interfaces
Formula.
It is also known in the art that in addition to realizing controller in pure computer readable program code mode, it is complete
Entirely can by by method and step carry out programming in logic come cause controller with gate, switch, application specific integrated circuit, may be programmed
Logic controller realizes identical function with the form of embedded microcontroller etc..Therefore this controller is considered one kind
Hardware component, and the device for realizing various functions included to its inside can also be considered as the structure in hardware component.Or
Person even, can be used to realizing that the device of various functions is considered as not only being the software module of implementation method but also can be hardware
Structure in part.
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure, class etc..The application can also be in a distributed computing environment put into practice, in these DCEs,
Task is performed by the remote processing devices connected by communication network.In a distributed computing environment, program module can
With in the local and remote computer-readable storage medium including including storage device.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
Realized by the mode of software plus required general hardware platform.Based on such understanding, the technical scheme essence of the application
On the part that is contributed to prior art in other words can be embodied in the form of software product, the computer software product
Can store in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used to so that a computer equipment
(can be personal computer, mobile terminal, server, or network equipment etc.) performs each embodiment of the application or implementation
Method described in some parts of example.
Each embodiment in this specification is described by the way of progressive, same or analogous portion between each embodiment
Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.The application can be used for crowd
In more general or special purpose computing system environments or configuration.For example:Personal computer, server computer, handheld device or
Portable set, laptop device, multicomputer system, the system based on microprocessor, set top box, programmable electronics set
Standby, network PC, minicom, mainframe computer, the DCE including any of the above system or equipment etc..
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application have it is many deformation and
Change is without deviating from spirit herein, it is desirable to which appended claim includes these deformations and changes without deviating from the application's
Spirit.