CN106909297B - A data communication processing method, device and electronic device, touch display device - Google Patents
A data communication processing method, device and electronic device, touch display device Download PDFInfo
- Publication number
- CN106909297B CN106909297B CN201610694486.2A CN201610694486A CN106909297B CN 106909297 B CN106909297 B CN 106909297B CN 201610694486 A CN201610694486 A CN 201610694486A CN 106909297 B CN106909297 B CN 106909297B
- Authority
- CN
- China
- Prior art keywords
- application
- touch screen
- user
- window
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本申请属于数据通信技术领域,尤其涉及一种数据通信处理方法、装置及电子设备、触摸显示设备。The present application belongs to the technical field of data communication, and in particular, relates to a data communication processing method, device, electronic device, and touch display device.
背景技术Background technique
随着移动通信技术的迅速发展,各种终端设备如手机、平板、自助服务终端等上的应用已为人们日常生活带来了非常多的便利。如用户可以通过IM软件如QQ、微信、钉钉等实时地跟朋友、同事联系人聊天,也可以使用浏览器查询资料、阅读新闻,通过手机终端应用可以购买商品等,大大方便了人们的日常生活。With the rapid development of mobile communication technology, applications on various terminal devices such as mobile phones, tablets, and self-service terminals have brought a lot of convenience to people's daily life. For example, users can chat with friends and colleagues in real time through IM software such as QQ, WeChat, DingTalk, etc., can also use browsers to query information, read news, and purchase goods through mobile terminal applications, which greatly facilitates people's daily life. Life.
随着各种APP应用的爆发式增长,终端设备中尤其是移动终端中安装的应用越来越多。而现在用户也常常需要在不同的应用之间进行操作、交互。例如,目前很多应用具有内容分享功能,如用户使用新闻应用APP_NEWS阅读新闻时可以将新闻分享到通信应用APP_CHAT中,或将本地图库中的照片分享到社交软件的朋友圈/生活圈等。目前现有的跨应用内容分享通常需要用户执行多项繁琐的操作,而且不够直观、快速。例如,用户将新闻应用APP_NEWS中的新闻分享到通信应用APP_CHAT中时,通常需要执行打开新闻应用APP_NEWS的新闻页面,在页面菜单中找到分享按钮,选择分享按钮(此时通常会弹出另一个提示框让用户选择要分享到哪个应用中),选择通信应用APP_CHAT。然后跳转到通信应用APP_CHAT的窗口界面,选择分享给通信应用APP_CHAT中的目标对象(联系人或群组)。这样的分享功能需要用户操作多个步骤才能完成,而且不同的应用的分享流程还往往不同,更有甚者还会包含更多的或者指示性不够明确的分享操作,使得用户操作繁琐,降低用户体验。With the explosive growth of various APP applications, more and more applications are installed in terminal devices, especially mobile terminals. Now users often need to operate and interact between different applications. For example, many applications currently have a content sharing function. For example, when a user uses the news application APP_NEWS to read news, they can share the news to the communication application APP_CHAT, or share the photos in the local gallery to the circle of friends/life circle of social software. The current cross-application content sharing usually requires users to perform multiple cumbersome operations, and is not intuitive and fast enough. For example, when the user shares the news in the news application APP_NEWS to the communication application APP_CHAT, he usually needs to open the news page of the news application APP_NEWS, find the share button in the page menu, and select the share button (at this time, another prompt box usually pops up Let the user choose which app to share to), select the communication app APP_CHAT. Then jump to the window interface of the communication application APP_CHAT, and select to share with the target object (contact or group) in the communication application APP_CHAT. Such a sharing function requires users to operate multiple steps to complete, and the sharing processes of different applications are often different, and even more or less indicative sharing operations are included, which makes the user's operation cumbersome and reduces the user experience. experience.
现有技术中,用户使用终端设备进行跨应用进行内容分享的功能操作比较繁琐、操作不够直观,不能快速的将内容发送给其他应用。并且,这种内容分享是单向性的,用户将应用A的内容分享到应用B后想再将应用B的内容分享到应用A,则又要再重复上述繁琐的分享操作过程,降低了用于操作使用体验。In the prior art, the user uses a terminal device to perform content sharing across applications, which is cumbersome and not intuitive enough to quickly send content to other applications. Moreover, this kind of content sharing is one-way. After the user shares the content of application A to application B, if he wants to share the content of application B to application A, he has to repeat the above-mentioned tedious sharing operation process, which reduces the cost of use. for operating experience.
发明内容SUMMARY OF THE INVENTION
本申请目的在于提供一种数据通信处理方法、装置及电子设备、触摸显示设备,利用多窗口模式下屏幕可以同时显示多个应用窗口的特点,提供一种可以基于用户的简单手势操即可让同时显示在屏幕上的至少两个应用建立通信链路,实现快速、便捷的终端设备中不同应用之间应用交互,减少用户操作,提高用户操作和使用体验。The purpose of the present application is to provide a data communication processing method, device, electronic device, and touch display device. Using the feature that the screen can display multiple application windows at the same time in a multi-window mode, to provide a method that can be At least two applications displayed on the screen at the same time establish a communication link, realize fast and convenient application interaction between different applications in the terminal device, reduce user operations, and improve user operation and use experience.
本申请提供的一种数据通信处理方法、装置及电子设备、触摸显示设备是这样实现的:A data communication processing method, device, electronic device, and touch display device provided by this application are implemented as follows:
一种数据通信处理方法,所述方法包括:A data communication processing method, the method comprising:
监听作用在触摸屏上的操控行为产生的操控指令,识别出用户操控轨迹;Monitor the control instructions generated by the control behavior acting on the touch screen, and identify the user's control trajectory;
判断所述用户操控轨迹是否满足第一应用指向第二应用的预设触发条件;当满足所述预设触发条件时发送第一应用的通信建立请求;Judging whether the user manipulation trajectory satisfies a preset trigger condition for the first application to point to the second application; when the preset trigger condition is met, a communication establishment request for the first application is sent;
在所述第二应用接收到所述通信建立请求后,判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式;After the second application receives the communication establishment request, determine whether the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen;
当所述判断的结果为是时,建立所述第一应用与所述第二应用的数据通信链路。When the result of the judgment is yes, a data communication link between the first application and the second application is established.
一种数据通信处理方法,所述方法包括:A data communication processing method, the method comprising:
监听作用在触摸屏上的操控行为产生的操控指令,识别出用户操控轨迹;Monitor the control instructions generated by the control behavior acting on the touch screen, and identify the user's control trajectory;
判断所述用户操控轨迹是否满足第一业务项指向第二业务项的预设触发条件;以及当所述判断结果为是时,采用所述第二业务项的响应方式处理所述第一业务项的业务处理请求。Judging whether the user manipulation trajectory satisfies a preset trigger condition that the first service item points to the second service item; and when the judgment result is yes, processing the first service item by using the response mode of the second service item business processing requests.
一种数据通信处理装置,所述装置包括:A data communication processing device, the device comprising:
监听模块,用于监听作用在触摸屏上的操控行为产生的操控指令,识别出用户操控轨迹;The monitoring module is used to monitor the manipulation instructions generated by the manipulation behavior acting on the touch screen, and identify the user manipulation track;
轨迹处理模块,用于判断所述用户操控轨迹是否满足第一应用指向第二应用的预设触发条件;以及当满足所述预设触发条件时发送第一应用的通信建立请求;a trajectory processing module, configured to determine whether the user-controlled trajectory satisfies a preset trigger condition for the first application to point to the second application; and when the preset trigger condition is met, send a communication establishment request of the first application;
多窗口判断模块,用于在所述第二应用接收到所述通信建立请求后,判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式;A multi-window judgment module, configured to judge whether the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen after the second application receives the communication establishment request;
通信建立模块,用于当所述多窗口判断模块判断的结果为是时,建立所述第一应用与所述第二应用的数据通信链路。A communication establishment module, configured to establish a data communication link between the first application and the second application when the multi-window judging module determines that the result is yes.
一种数据通信处理装置,所述装置包括:A data communication processing device, the device comprising:
操控指令获取模块,用于监听触摸屏上的操控行为产生的操控指令,识别出用户操控轨迹;The manipulation instruction acquisition module is used to monitor the manipulation instruction generated by the manipulation behavior on the touch screen, and identify the user manipulation track;
业务处理模块,用于判断所述用户操控轨迹是否满足第一业务项指向第二业务项的预设触发条件;还用于当所述判断结果为是时,采用所述第二业务项的响应方式处理所述第一业务项的业务处理请求。A business processing module, configured to determine whether the user manipulation track satisfies the preset trigger condition that the first business item points to the second business item; and is also configured to use the response of the second business item when the judgment result is yes way to process the service processing request of the first service item.
一种电子设备,包括:An electronic device comprising:
事件监听单元,用于监听作用在触摸屏上的操控行为产生的操控指令,识别出用户操控轨迹;还用于判断所述用户操控轨迹是否满足第一应用指向第二应用的预设触发条件;an event monitoring unit, configured to monitor the manipulation instruction generated by the manipulation behavior acting on the touch screen, and identify the user manipulation track; and also used to judge whether the user manipulation track satisfies the preset trigger condition that the first application points to the second application;
窗口状态判断模块,用于在所述第二应用接收到第一应用的通信建立请求后,判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式;a window state judgment module, configured to judge whether the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen after the second application receives the communication establishment request of the first application;
通信链路建立模块,用于当判断所述用户操控轨迹满足第一应用指向第二应用的预设触发条件时,发送第一应用的通信建立请求;以及用于在判断所述第二应用的状态为界面显示于所述触摸屏前台的多窗口模式时,建立所述第一应用与所述第二应用的数据通信链路。A communication link establishment module, configured to send a communication establishment request of the first application when judging that the user manipulation trajectory satisfies a preset trigger condition that the first application points to the second application; When the state is a multi-window mode in which the interface is displayed in the foreground of the touch screen, a data communication link between the first application and the second application is established.
一种触摸显示设备,至少包括一个触摸屏和一个处理器,A touch display device, comprising at least a touch screen and a processor,
所述触摸屏,用于应用窗口的界面信息显示和感应作用在所述触摸屏上的操控行为,并将所述操控行为产生的相应的操控指令发送给处理器;The touch screen is used for displaying interface information of the application window and sensing the manipulation behavior acting on the touch screen, and sending corresponding manipulation instructions generated by the manipulation behavior to the processor;
所述处理器,被设置成,用于根据所述操控指令识别出用户操控轨迹,并在确定所述用户操控轨迹满足第一应用指向第二应用的预设触发条件时发送第一应用的通信建立请求;还用于在所述第二应用接收到所述通信建立请求后,判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式;还用于当所述判断的结果为是时,建立所述第一应用与所述第二应用的数据通信链路。The processor is configured to identify the user manipulation trajectory according to the manipulation instruction, and send the communication of the first application when it is determined that the user manipulation trajectory satisfies a preset trigger condition for the first application to point to the second application establishment request; also used for judging whether the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen after the second application receives the communication establishment request; also used for when the judgment When the result of is yes, establish a data communication link between the first application and the second application.
一种触摸显示设备,至少包括一个触摸屏和一个处理器,A touch display device, comprising at least a touch screen and a processor,
所述触摸屏,用于应用窗口的界面信息显示和感应作用在所述触摸屏上的操控行为,并将所述操控行为产生的相应的操控指令发送给处理器;The touch screen is used for displaying interface information of the application window and sensing the manipulation behavior acting on the touch screen, and sending corresponding manipulation instructions generated by the manipulation behavior to the processor;
所述处理器,被设置成,用于判断所述用户操控轨迹是否满足发第一业务项指向第二业务项的预设触发条件;还用于当所述判断结果为是时,采用所述第二业务项的响应方式处理所述第一业务项的业务处理请求。The processor is configured to judge whether the user manipulation trajectory satisfies the preset trigger condition for sending the first service item to point to the second service item; when the judgment result is yes, use the The response mode of the second service item processes the service processing request of the first service item.
本申请提供的一种数据通信处理方法、装置及电子设备、触摸显示设备,可以利用终端设备多窗口模式下屏幕可以同时显示多个应用窗口的特点,对用户在触摸屏上的操控行为进行判断。当确定出用户需要在不同的应用之间进行信息交互时建立应用之间的通信,实现用户可以直观地通过简单、直观的滑动手势就可以让同时显示在屏幕上的至少两个应用建立通信链路。应用可以利用本申请提供的技术方案所建立的通信链路和另一应用进行业务级的交互,具体的交互方式/响应内容可以由业务开发人员根据不同的场景进行设计,例如一键分享、一键支付、一键听歌等。显然,本申请实施方案在PC终端、Android/iOS系统终端等越来越多支持应用多窗口的终端设备中能大幅简化用户分享、搜索等不用应用之间的交互操作,满足用户需求,并且这种应用间的交互方式还可以大幅提高用户终端操控体验,提高用户产品使用感知度。A data communication processing method, device, electronic device, and touch display device provided by the present application can utilize the feature that the screen can display multiple application windows simultaneously in the multi-window mode of the terminal device, and judge the user's manipulation behavior on the touch screen. When it is determined that the user needs to perform information interaction between different applications, the communication between the applications is established, so that the user can intuitively establish a communication chain between at least two applications displayed on the screen at the same time through simple and intuitive sliding gestures. road. The application can use the communication link established by the technical solution provided in this application to perform business-level interaction with another application. The specific interaction method/response content can be designed by the business developer according to different scenarios, such as one-click sharing, One-click payment, one-click listening to songs, etc. Obviously, the implementation of the present application can greatly simplify user sharing, search, and other interactions between different applications in more and more terminal devices that support application multi-windows, such as PC terminals and Android/iOS system terminals, and meet user needs. The interaction between these applications can also greatly improve the user terminal control experience and improve the user's product usage perception.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments described in this application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请提供的一种数据通信处理方法一种实施例的方法流程图;1 is a method flowchart of an embodiment of a data communication processing method provided by the present application;
图2是本申请一种同屏多窗口模式下同时显示两个应用窗口界面的场景示意图;Fig. 2 is the scene schematic diagram of simultaneously displaying two application window interfaces under a same-screen multi-window mode of the present application;
图3是本申请一种用户操控轨迹覆盖多个应用的窗口界面的实施例应用场景;FIG. 3 is an example application scenario of a user-controlled track covering a window interface of multiple applications of the present application;
图4是本申请另一种用户操控轨迹覆盖多个应用的窗口界面的实施例应用场景示意图;4 is a schematic diagram of an application scenario of another embodiment of the present application in which a user manipulation track covers a window interface of multiple applications;
图5是本申请设置预设触发条件对应的一种预测用户操控行为的示意图;5 is a schematic diagram of a predicted user manipulation behavior corresponding to a preset trigger condition set by the present application;
图6是本申请所述的界面显示于触摸屏前台的多窗口模式一种实施例场景示意图;6 is a schematic diagram of an embodiment of the multi-window mode in which the interface is displayed in the foreground of the touch screen according to the present application;
图7是本申请所述的界面显示于触摸屏前台的多窗口模式另一种实施例场景示意图;7 is a schematic diagram of another embodiment of the multi-window mode in which the interface is displayed in the foreground of the touch screen according to the present application;
图8是本申请所述的界面显示于触摸屏前台的多窗口模式另一种实施例场景示意图;8 is a schematic diagram of another embodiment of the multi-window mode in which the interface is displayed in the foreground of the touch screen according to the present application;
图9是本申请所述一种用户通过手势滑动实现跨应用通信建立的场景示意图;9 is a schematic diagram of a scenario in which a user implements cross-application communication establishment through gesture sliding according to the present application;
图10是本申请提供的一种数据通信处理方法另一种实施例的方法流程图;10 is a method flowchart of another embodiment of a data communication processing method provided by the present application;
图11是本申请一种用户采用点击的操控行为实现多窗口模式下跨应用通信的场景示意图;11 is a schematic diagram of a scenario in the present application in which a user adopts a click manipulation behavior to realize cross-application communication in a multi-window mode;
图12-1是本申请另一种用户采用点击的操控行为实现多窗口模式下跨应用通信的场景示意图;12-1 is a schematic diagram of another scenario of the present application in which a user adopts a click manipulation behavior to realize cross-application communication in a multi-window mode;
图12-2是本申请一种通过用户滑动实现多窗口模式下跨应用通信的场景示意图;Figure 12-2 is a schematic diagram of a scenario of the present application for realizing cross-application communication in a multi-window mode through user sliding;
图13是本申请所述一种数据通信处理方法一种实施例场景的实施流程示意图;FIG. 13 is a schematic diagram of an implementation flow of an embodiment scenario of a data communication processing method described in the present application;
图14是本申请提供的一种数据通信处理方法另一种实施例的方法流程图;14 is a method flowchart of another embodiment of a data communication processing method provided by the present application;
图15是本申请提供的一种数据通信处理方法的另一种实施例应用场景的示意图;15 is a schematic diagram of an application scenario of another embodiment of a data communication processing method provided by the present application;
图16是本申请提供的一种数据通信处理装置的一种实施例的模块结构示意图;16 is a schematic diagram of a module structure of an embodiment of a data communication processing apparatus provided by the present application;
图17是本申请提供的一种数据通信处理装置的另一种实施例的模块结构示意图;17 is a schematic diagram of a module structure of another embodiment of a data communication processing apparatus provided by the present application;
图18是本申请所述一种触摸显示设备一种实施例的结构示意图;FIG. 18 is a schematic structural diagram of an embodiment of a touch display device described in the present application;
图19是本申请所述一种触摸显示设备一种实施例的结构示意图。FIG. 19 is a schematic structural diagram of an embodiment of a touch display device described in the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described The embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of this application.
图1是本申请所述一种数据通信处理方法一种实施例的方法流程图。虽然本申请提供了如下述实施例或附图所示的方法操作步骤或装置结构,但基于常规或者无需创造性的劳动在所述方法或装置中可以包括更多或者更少的操作步骤或模块单元。在逻辑性上不存在必要因果关系的步骤或结构中,这些步骤的执行顺序或装置的模块结构不限于本申请实施例或附图所示的执行顺序或模块结构。所述的方法或模块结构的在实际中的装置或终端产品应用时,可以按照实施例或者附图所示的方法或模块结构进行顺序执行或者并行执行(例如并行处理器或者多线程处理的环境、甚至包括分布式处理的实施环境)。FIG. 1 is a method flowchart of an embodiment of a data communication processing method described in the present application. Although the present application provides method operation steps or device structures as shown in the following embodiments or drawings, more or less operation steps or module units may be included in the method or device based on routine or without creative work. . In the steps or structures that logically do not have a necessary causal relationship, the execution order of these steps or the module structure of the device is not limited to the execution order or module structure shown in the embodiments of the present application or the accompanying drawings. When the described method or module structure is applied to an actual device or terminal product, it can be executed sequentially or in parallel according to the method or module structure shown in the embodiments or the accompanying drawings (for example, a parallel processor or a multi-threaded processing environment). , even including the implementation environment of distributed processing).
具体的一种实施应用场景如图1所述,本申请提供的一种数据通信处理方法的一种实施例可以包括:A specific implementation application scenario is shown in FIG. 1 , an embodiment of a data communication processing method provided by the present application may include:
S1:监听作用在触摸屏上的操控行为产生的操控指令,识别出用户操控轨迹。S1: Monitor the manipulation instruction generated by the manipulation behavior acting on the touch screen, and identify the user manipulation track.
本实施例的应用场景中,终端设备可以支持多窗口模式。如Android的某个系统版本的多窗口模式下屏幕可以同时显示两个应用窗口界面,如图2所示的同时显示搜索应用和新闻应用,图2是本申请一种同屏多窗口模式下同时显示两个应用窗口界面的场景示意图。当然,本申请其他的实施例中并不排除同一屏幕下同时显示两个以上应用窗口界面的实施方式,如某些平板电脑目前可以支持同屏幕下同时显示四个应用窗口界面的多窗口模式。一般的,所述的终端设备可以包括移动通信终端、平板电脑、PC、手持设备、PDA、自助服务终端、服务器、业务系统等等。所述的终端设备通常可以包括触摸屏(也可以称为触控屏或触控面板),本申请实施例所述的触摸屏包括可以接收输入信号并显示信息的装置,如一种可接收触控笔、人体肢体触摸、光线强弱感应等输入讯号的感应式液晶显示装置。一般的,所述触摸屏设置有一套透明的绝对定位系统,可以实现检测到作用在触摸屏上的触摸、滑动等,并根据坐标实现定位。In the application scenario of this embodiment, the terminal device may support a multi-window mode. For example, in the multi-window mode of a certain system version of Android, the screen can display two application window interfaces at the same time, as shown in FIG. 2, the search application and the news application are displayed at the same time. Scenario diagram showing two application window interfaces. Of course, other embodiments of the present application do not exclude implementations in which two or more application window interfaces are simultaneously displayed on the same screen. For example, some tablet computers currently support a multi-window mode in which four application window interfaces are simultaneously displayed on the same screen. Generally, the terminal device may include a mobile communication terminal, a tablet computer, a PC, a handheld device, a PDA, a self-service terminal, a server, a business system, and the like. The terminal device may generally include a touch screen (also referred to as a touch screen or a touch panel). The touch screen described in the embodiments of the present application includes a device that can receive an input signal and display information, such as a device that can receive a stylus, Inductive liquid crystal display device for input signals such as human body touch and light intensity sensing. Generally, the touch screen is provided with a set of transparent absolute positioning system, which can realize the detection of touch, sliding, etc. acting on the touch screen, and realize positioning according to the coordinates.
用户可以在终端设备的触摸屏上对应用进行一系列的操控行为,如点击、滑动、长按,或者多点触控等。这些作用在触摸屏上的操控行为可以产生相应的操控指令,以便处理单元可以识别用户的操控行为,进而做出相应的响应。本申请实施例中可以监听用户作用在所述触摸屏上的操控行为产生的操控指令,如用户使用终端设备中新闻应用时的进行的点击标题、滑动翻页等,终端设备可以监听到用户的这些操控产生的操控指令,然后识别出相应的用户操控轨迹。一般的,当用户在所述触摸屏上进行点击、滑动等操作时,其操作对象如某个新闻阅读应用、即时通信应用、图片查看应用、支付应用等应用的窗口界面是显示在所述触摸屏前台的。一种实施方式中也可以理解为用户当前时刻操控的应用的业务窗口界面是在所述触摸屏前台显示的,另一种实施例中也可以包括应用的缩略图窗口界面或者缩放图窗口界面是在所述触摸屏前台显示的。The user can perform a series of manipulation actions on the application on the touch screen of the terminal device, such as clicking, sliding, long pressing, or multi-touch. These manipulation behaviors acting on the touch screen can generate corresponding manipulation instructions, so that the processing unit can recognize the user's manipulation behavior, and then make a corresponding response. In this embodiment of the present application, the manipulation instructions generated by the manipulation behavior of the user acting on the touch screen can be monitored, such as the user's clicking on the title, sliding pages, etc. when using the news application in the terminal device, and the terminal device can monitor these user actions. The manipulation instruction generated by the manipulation, and then the corresponding user manipulation trajectory is identified. Generally, when the user performs operations such as clicking, sliding, etc. on the touch screen, the window interface of the operation object, such as a news reading application, instant messaging application, picture viewing application, payment application, etc., is displayed in the foreground of the touch screen. of. In one embodiment, it can also be understood that the service window interface of the application controlled by the user at the current moment is displayed in the foreground of the touch screen. The touch screen is displayed in the foreground.
图2所述的一种实施例应用场景中,所述作用在触摸屏上的操控行为可以包括如图2所示的通过用户肢体直接在所述触摸屏上进行滑动的操控行为。在本申请的其他的实施例中,所述的触控行为也可以包括用户使用触控装置,如触控笔、激光灯或其他辅助工具在所述触摸屏上进行的点击、滑动等操作。甚至,本申请不排除其他的实施方式中,用户肢体不直接接触触摸屏,而是利用光电感应、磁感应等识别出用户隔空间接的作用在所述触摸屏上的操控行为。因此,本申请所述一种数据通信处理方法的一种实施例中,所述作用在触摸屏上的操控行为包括下述中的至少一种实施方式:In the application scenario of the embodiment shown in FIG. 2 , the manipulation behavior acting on the touch screen may include the manipulation behavior of directly sliding on the touch screen through the user's limb as shown in FIG. 2 . In other embodiments of the present application, the touch behavior may also include operations such as clicking, sliding, and the like performed by the user on the touch screen using a touch device, such as a stylus, a laser light, or other auxiliary tools. Even, the present application does not exclude other embodiments in which the user's limb does not directly contact the touch screen, but uses photoelectric induction, magnetic induction, etc. to identify the manipulation behavior of the user's space connection on the touch screen. Therefore, in an embodiment of the data communication processing method described in this application, the manipulation behavior acting on the touch screen includes at least one of the following implementations:
S101:通过用户肢体触碰所述触摸屏的操控行为;S101: a manipulation behavior of touching the touch screen with a user's body;
S102:通过触控装置触碰所述触摸屏的操控行为;S102: a manipulation behavior of touching the touch screen by a touch device;
S103:通过肢体感应识别出的隔空间接作用在所述触摸屏上的操控行为。S103 : the manipulation behavior of the compartment contact identified by the body sensing on the touch screen.
具体的实施过程中,用户可以通过手指,甚至其他肢体如鼻子、脚趾、耳朵触碰所述触摸屏进行操作,如点击、滑动、长按等。或者,用户也可以使用触控笔(如电容笔)、激光笔(如发射光线到触摸屏进行滑动)、磁或光感应笔等装置与所述触摸屏接触,对终端设备中的应用进行操作。当然,本申请所述的作用在触摸屏上的操控行为在一些实施例中还可以包括用户隔空间接作用在所述屏幕上的操控行为,如识别出的用户的肢体感应动作。具体的例如用户在触摸屏上间隔一定距离做出的滑动手势,虽然用户手指此时没有直接触碰到触摸屏,但本申请实施例提供的数据通信方法应用场景中终端设备仍然可以识别出用户执行了滑动一段距离的操控行为,并将其翻译为一段用户操控轨迹。In a specific implementation process, the user can perform operations by touching the touch screen with fingers, or even other limbs such as nose, toes, and ears, such as clicking, sliding, long-pressing, and the like. Alternatively, the user can also use a stylus pen (such as a capacitive pen), a laser pen (such as emitting light to the touch screen for sliding), a magnetic or light-sensing pen and other devices to contact the touch screen to operate applications in the terminal device. Of course, in some embodiments, the manipulation behavior acting on the touch screen described in the present application may further include manipulation behavior acting on the screen by the user in a space-interval contact manner, such as a recognized user's body sensing action. Specifically, for example, the user makes a sliding gesture on the touch screen at a certain distance. Although the user's finger does not directly touch the touch screen at this time, the terminal device in the application scenario of the data communication method provided by the embodiment of the present application can still recognize that the user has executed The manipulation behavior of swiping a distance, and translates it into a user manipulation trajectory.
要说明的,上述实施例中所述的隔空间接可以包括操控行为的执行者(如手指或手掌)与触摸屏之间的间接介质为空气,但本实施例所述的隔空间接作用主要是指操控行为的执行者不与触摸屏直接接触而对终端设备的应用进行的操控动作。因此,本实施例中所述的隔空并非特质介质为空气的情况,在其他一些实施场景中操控行为的执行者与触摸屏之间也可以为其他介质,如水、油等,甚至是真空。It should be noted that the space connection described in the above embodiment may include that the indirect medium between the operator of the manipulation behavior (such as a finger or a palm) and the touch screen is air, but the space connection described in this embodiment mainly acts as a Refers to the manipulation action performed by the executor of the manipulation behavior on the application of the terminal device without direct contact with the touch screen. Therefore, the space described in this embodiment is not the case where the special medium is air. In other implementation scenarios, there may also be other media, such as water, oil, etc., or even a vacuum between the executor of the manipulation behavior and the touch screen.
另外,所述作用在触摸屏上的操控行为包括上述中已列举出的多种方式中的任意一种或多种组合的实施方式,当然,根据信息技术的发展还可以包括其他方式的操控行为。其他的实施例中不排除采用一种或者多种操作行为的实施方式,如用户一只手长按住触摸屏上某应用的一个位置区域,另一只手采用肢体感应方式隔空向触摸屏的一侧滑动一段距离,类似这样的实施场景仍然属于申请所述的作用在触摸屏上的操控行为。In addition, the manipulation behavior acting on the touch screen includes any one or a combination of the various manners listed above. Of course, other manners of manipulation behavior may also be included according to the development of information technology. In other embodiments, the implementation of one or more operation behaviors is not excluded. For example, the user presses and holds a position area of an application on the touch screen with one hand, and the other hand uses a limb sensing method to move to a position of the touch screen in the air. Swiping sideways for a certain distance, and similar implementation scenarios still belong to the manipulation behavior acting on the touch screen as described in the application.
本申请所述的数据通信处理方法的一种实施例中,可以监听包括直接或间接作用在触摸屏上的操控行为产生的操作指令,然后识别出相应的用户操控轨迹。所述操控轨迹可以是连续的,也可以为在一定时间段内的非连续轨迹,或者多点、多段以及组合的非连续轨迹等。In an embodiment of the data communication processing method described in this application, an operation instruction generated by a manipulation behavior directly or indirectly acting on a touch screen can be monitored, and then a corresponding user manipulation trajectory can be identified. The control trajectory may be continuous, or may be a discontinuous trajectory within a certain period of time, or a multi-point, multi-segment, and combined discontinuous trajectory, or the like.
S2:判断所述用户操控轨迹是否满足第一应用指向第二应用的预设触发条件;当满足所述预设触发条件时发送第一应用的通信建立请求。S2: Determine whether the user manipulation trajectory satisfies a preset trigger condition for the first application to point to the second application; when the preset trigger condition is met, send a communication establishment request of the first application.
如前述中所述,本申请的一种实施例中终端设备可以监听用户直接或间接作用在终端设备触摸上的操控行为,并可以获取得到相应的操控指令。所述的终端设备可以支持同屏的多窗口模式,具体的如在手机或平板电脑上可以同时展示两个或者多个应用的应用界面,如图2所示。本申请实施例中可以预先设置第一应用指向第二应用的预设触发条件,具体的可以包括用户作用在所述触摸屏上的各种操控手势,如按住应用中某个页面元素后向另一个应用滑动一段距离。此时,可以根据用户在所述触摸屏上的操控行为来判断是否触发第一应用指向第二应用的操控事件。所述的第一应用指向第二应用的预设触发条件可以预先根据场景或设计需要进行设定,以使终端设备或应用能识别出用户的操控行为是否符合设定的操控事件。As described above, in an embodiment of the present application, the terminal device can monitor the manipulation behavior of the user directly or indirectly acting on the touch of the terminal device, and can obtain corresponding manipulation instructions. The terminal device can support a multi-window mode on the same screen, specifically, an application interface of two or more applications can be displayed simultaneously on a mobile phone or a tablet computer, as shown in FIG. 2 . In the embodiment of the present application, a preset trigger condition for the first application to point to the second application may be preset, which may specifically include various manipulation gestures performed by the user on the touch screen, such as pressing and holding a certain page element in the application and then moving to another An app slides a certain distance. At this time, whether to trigger a manipulation event in which the first application points to the second application may be triggered according to the manipulation behavior of the user on the touch screen. The preset trigger condition for the first application to point to the second application may be set in advance according to the scene or design requirements, so that the terminal device or application can identify whether the user's manipulation behavior conforms to the set manipulation event.
一种实施例中,可以约定定义用户当前时刻正在操作(或当前激活的前端窗口)的应用为第一应用,需要与第一应用进行信息交互的应用定义为第二应用,如需要分享或搜索用户在第一应用执行的操控行为的应用。具体的实例如当前时刻T1手机屏幕前端展示以供用户阅读的新闻应用定义为第一应用,或者当前时刻T1用户当前点击、滑动、长按等操作的应用界面对应的应用为第一应用。该场景中,用户需要将信息应用A中的内容发送到此时同屏显示的搜索应用B中,相应的搜索应用B可以为本实施例定义的第二应用。如果另一时刻T2用户操作搜索应用B,需要将搜索应用B的某个搜索结果R发送到此时同屏显示的新闻应用A中,以便查看该新闻应用A在搜索应用B的搜索结果R的,此时搜索应用B为本实施例定义的第一应用,新闻应用A为对应的第二应用。In one embodiment, it can be agreed that the application that the user is currently operating (or the currently activated front-end window) is the first application, and the application that needs to interact with the first application is defined as the second application, such as sharing or searching if necessary. The application of the manipulation behavior performed by the user in the first application. A specific example is that the news application displayed on the front end of the mobile phone screen at the current time T1 for the user to read is defined as the first application, or the application corresponding to the application interface currently operated by the user at the current time T1 is the first application. In this scenario, the user needs to send the content in the information application A to the search application B displayed on the same screen at this time, and the corresponding search application B may be the second application defined in this embodiment. If the user operates the search application B at another time T2, it is necessary to send a certain search result R of the search application B to the news application A displayed on the same screen at this time, so as to check the search results R of the search application B by the news application A. , the search application B is the first application defined in this embodiment, and the news application A is the corresponding second application.
当然,本申请其他的一些实施例中,与所述第一应用对应的第二应用可以不限于一个应用。如图3所示,用户T1时刻以应用A中窗口界面某个起点开始,连续滑动经过应用C并在T2时刻停止于应用B的窗口界面,得到滑动轨迹S1=A-C-B,图3是本申请用户操控轨迹覆盖多个应用的窗口界面的实施例应用场景。用户的滑动轨迹为可以不规则的半圆、弧形或不规则线段等。那么此时可以定义T1时刻时应用A为第一应用,而S1轨迹经过的应用B和应用C均可以为应用A为第一应用时对应的第二应用。因此,本申请所述一种数据通信处理方法的另一种实施例中,Certainly, in some other embodiments of the present application, the second application corresponding to the first application may not be limited to one application. As shown in Figure 3, the user starts from a certain starting point of the window interface in application A at time T1, continuously slides through application C and stops at the window interface of application B at time T2, and obtains the sliding track S1=A-C-B. Figure 3 shows the user of the application The application scenario of the embodiment in which the manipulation track covers the window interfaces of multiple applications. The sliding track of the user can be irregular semicircle, arc or irregular line segment, etc. Then, application A at time T1 can be defined as the first application, and both application B and application C that the S1 track passes through can be the second application corresponding to when application A is the first application. Therefore, in another embodiment of the data communication processing method described in this application,
S201:所述第一应用包括在所述触摸屏连续滑动形成的用户操控轨迹中,所述用户操控轨迹的起始点所的在窗口界面对应的应用;S201: The first application is included in the user manipulation track formed by the continuous sliding of the touch screen, and the starting point of the user manipulation track is an application corresponding to the window interface;
相应的,所述第二应用包括除所述第一应用之外的关联应用,所述关联应用包括所述用户操控轨迹覆盖到的窗口界面显示于所述触摸屏前台的应用。Correspondingly, the second application includes an associated application other than the first application, and the associated application includes an application whose window interface covered by the user manipulation track is displayed in the foreground of the touch screen.
一般的,所述触摸屏设置有对应的坐标系统,通常为绝对坐标系统,使得触摸屏上的每个像素点均有相应的坐标信息。显示在触摸屏上的各种应用界面、窗口以及其他元素也对应着相应的坐标信息,所述连续滑动形成的用户操控轨迹数据中也可以包含轨迹中各个像素点的坐标信息。因此,本申请的一种实施方式中,可以根据用户的连续滑动轨迹以及应用窗口界面的坐标信息确定出连续滑动轨迹覆盖到当前显示于触摸屏前台的应用。在此需要说明的是,所述关联应用通常可以不包括所述滑动轨迹起始点对应的第一应用,如滑动轨迹起始点与终止点不在同一个应用窗口界面中的场景。但在一些应用场景中,用的操控使得滑动轨迹起始点与终止点在同一个应用的应用界面中,如滑动轨迹S2=A-B-C-A,如图4所示,图4是本申请用户操控轨迹覆盖多个应用的窗口界面的另一种实施例应用场景。那么此时可以判定滑动轨迹终端所在的应用不计入定义的第二应用,排除掉第二应用与第一应用相同的情况,即所述第二应用包括除所述第一应用之外的关联应用的一种实施方式中。在图4所示的应用场景中,本实施例中可以将应用A作为第一应用,应用B和应用C作为第二应用。当然,本申请并不排除一些实施例中第一应用与第二应用为同一应用的情况,此时可以根据设计设置一些相应的措施进行处理。Generally, the touch screen is provided with a corresponding coordinate system, usually an absolute coordinate system, so that each pixel on the touch screen has corresponding coordinate information. Various application interfaces, windows and other elements displayed on the touch screen also correspond to corresponding coordinate information, and the user manipulation trajectory data formed by the continuous sliding may also include coordinate information of each pixel in the trajectory. Therefore, in an embodiment of the present application, it can be determined that the continuous sliding track covers the application currently displayed in the foreground of the touch screen according to the user's continuous sliding track and the coordinate information of the application window interface. It should be noted here that the associated application may generally not include the first application corresponding to the starting point of the sliding track, such as a scenario where the starting point and the ending point of the sliding track are not in the same application window interface. However, in some application scenarios, the control used is such that the starting point and the ending point of the sliding track are in the application interface of the same application, for example, the sliding track S2=A-B-C-A, as shown in Figure 4, which shows the user's control track coverage in this application. Another embodiment application scenario of a window interface of an application. Then it can be determined that the application where the sliding track terminal is located is not included in the defined second application, excluding the situation where the second application is the same as the first application, that is, the second application includes associations other than the first application In one embodiment of the application. In the application scenario shown in FIG. 4 , in this embodiment, application A may be used as the first application, and application B and application C may be used as the second application. Of course, the present application does not exclude the situation that the first application and the second application are the same application in some embodiments, and in this case, some corresponding measures may be set according to the design for processing.
本申请的一种实施例中,所述数据通信处理方法可以预先设置一系列第一应用指向第二应用的操控事件。同时也可以预先设置这些操控事件对应的预设触发条件。当判断用户操作轨迹满足预设触发条件时即可以触发第一应用指向第二应用的操控事件。如在一个应用A的界面中通过手指滑向另一个应用A的界面。或者在应用A的界面500毫秒内点击三次,然后在另一个应用B的界面点击一次(也可以是多次,如三次)即确定触发第一应用A指向第二应用B的操控事件。当然,所述预设触发条件还可以包括其他预测的用户操控行为设定的条件,例如图5所示的一种预测的用户操控行为可以为,图5是本申请设置预设触发条件对应的一种预测用户操控行为的示意图,用户在触摸屏上单指画个圈,把A应用的某个元素(如News_2的新闻标题)“扔”到同屏并列显示的对面应用B中,即可以表示需要建立第一应用A至第二应用B的通信,以实现第二应用B对“扔”过来的第一应用的元素进行处理。具体的第一应用指向第二应用的预设触发条件可以根据用户体验或设计需求定义一个或者多个,在监测用户的操控指令时可以识别并确定用户的用户操控轨迹是否满足预设设置的第一应用指向第二应用的预设触发条件。如可以通过在Android系统注册并激活监听器来监听用户操作,由处理单元判断用户的滑动轨迹是否符合第一应用指向第二应用的预设触发条件。In an embodiment of the present application, the data communication processing method may preset a series of manipulation events directed by the first application to the second application. At the same time, preset trigger conditions corresponding to these manipulation events can also be preset. When it is determined that the user's operation trajectory satisfies the preset trigger condition, a manipulation event directed by the first application to the second application can be triggered. For example, in the interface of one application A, slide your finger to the interface of another application A. Or click three times on the interface of application A within 500 milliseconds, and then click once (or multiple times, such as three times) on the interface of another application B to determine to trigger the manipulation event of the first application A pointing to the second application B. Of course, the preset trigger conditions may also include conditions set by other predicted user manipulation behaviors. For example, a predicted user manipulation behavior shown in FIG. 5 may be, FIG. 5 is the corresponding preset trigger conditions set by this application. A schematic diagram for predicting the user's manipulation behavior. The user draws a circle with one finger on the touch screen, and "throws" an element of application A (such as the news title of News_2) into the opposite application B displayed side by side on the same screen, which can indicate the need Communication between the first application A and the second application B is established, so that the second application B can process the elements of the first application that are "thrown". One or more specific preset trigger conditions for the first application to point to the second application can be defined according to user experience or design requirements. When monitoring the user's manipulation instruction, it can identify and determine whether the user's user manipulation trajectory satisfies the preset first set of trigger conditions. An application points to a preset trigger condition of a second application. For example, the user operation can be monitored by registering and activating the listener in the Android system, and the processing unit determines whether the user's sliding track conforms to the preset triggering condition that the first application points to the second application.
本申请的一个实施例中,如果根据所述用户操控轨迹确定触发(如用户双指跨应用滑动)了第一应用指向第二应用的操控事件,处理器此时可以判断出用户在触摸屏上执行了由第一应用指向第二应用这一滑动行为,则可以表示用户需要将第一应用的内容/元素发送到第二应用中进行处理,如分享或查询或数据复制/迁移等。此时,可以发送第一应用的通信建立请求,具体的方式例如可以包括广播消息的方式发送,或者点对点方式的直接发送给第二应用。In an embodiment of the present application, if it is determined according to the user manipulation track that a manipulation event from the first application pointing to the second application is triggered (for example, the user slides two fingers across the application), the processor can determine that the user executes the manipulation event on the touch screen at this time. For example, the user needs to send the content/elements of the first application to the second application for processing, such as sharing or querying or data copying/migration. At this time, the communication establishment request of the first application may be sent, and the specific manner may include, for example, sending in a broadcast message manner, or directly sending it to the second application in a point-to-point manner.
S3:在所述第二应用接收到所述通信建立请求后,判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式。S3: After the second application receives the communication establishment request, determine whether the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen.
在所述第二应用接收到所述第一应用发送的通信建立请求后,可以判断所述第二应用窗口界面是否处于多窗口模式下,并显示在所述触摸屏前台窗口。具体执行判断逻辑的主体可以是由所述第二应用自己判断自己的当前窗口状态,也可以由第一应用与第二应用共同所在的同一个处理系统(如同一手机终端中的处理单元)来处理,或者第三方判断逻辑来执行等。After the second application receives the communication establishment request sent by the first application, it can determine whether the window interface of the second application is in a multi-window mode, and display it in the foreground window of the touch screen. The main body that specifically executes the judgment logic may be the second application itself judging its current window state, or the same processing system (such as a processing unit in the same mobile phone terminal) where the first application and the second application are located. processing, or third-party judgment logic to execute, etc.
一般的,所述窗口模式可以包括例如所述第一应用与第二应用的窗口界面在多窗口模式下处于同一个触摸屏中,如目前Android某个版本支持在手机终端显示屏中同时显示两个应用的窗口界面,或者一些平板电脑支持的同一个触摸屏最多同时显示四个应用的窗口界面。图6是本申请所述的界面显示于触摸屏前台的多窗口模式一种实施例场景示意图,图6中的应用A、B1、B2均为同一处理服务器1中的应用。但本申请所述的多窗口模式不排除多个应用窗口在不同的触摸屏中前台显示的实施方式,如第一应用与第二应用可以属于同一个处理系统并显示在不同的触摸屏终端,如同一个PC主机的多屏显示。所述的同一个处理系统可以是包含一个或者多个逻辑单元的处理单元、模块、装置,或多台服务器组成的处理系统,或者是同一个分布式系统。这种情况下,所述第一应用和第二应用的窗口界面可以处于同一个触摸屏中,也可以采用多屏显示的方式,分别或者部分显示在不同的触摸屏中。当然,多窗口多屏显示的第一应用和第二应用也可以为属于不同的处理系统。图7是本申请所述的界面显示于触摸屏前台的多窗口模式另一种实施例场景示意图,如图7所示,第一应用A为处理服务器1中的应用,第二应用B1、B2为处理服务器2中的应用。或者在另一种实施场景中,第一应用A、B1为处理服务器1中的应用,第二应用B2为处理服务器2中的应用。因此,本申请所述一种数据通信处理方法的另一个实施例中,所述判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式可以包括:Generally, the window mode may include, for example, that the window interfaces of the first application and the second application are on the same touch screen in the multi-window mode. The window interface of an application, or the window interface of up to four applications can be displayed simultaneously on the same touch screen supported by some tablet computers. FIG. 6 is a schematic diagram of an embodiment of the multi-window mode in which the interface is displayed in the foreground of the touch screen described in the present application. The applications A, B1 and B2 in FIG. 6 are all applications in the
S301:判断所述第二应用的窗口界面与第一应用的窗口界面是否同时前台显示在同一触摸屏中。S301: Determine whether the window interface of the second application and the window interface of the first application are simultaneously displayed in the foreground on the same touch screen.
假如第一应用与第二应用的窗口界面在当前时刻同时显示在触摸屏前台,则可以确定所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式。一般的,在对第一应用进行操控时,第一应用的窗口界面通常是在触摸屏中前台显示的,因此,此时可以判断第二窗口是否也是前台显示在触摸屏前台,如果是,则可以表示当前为第一应用与第二应用窗口界面同时在触摸屏前台显示的多窗口模式。If the window interfaces of the first application and the second application are simultaneously displayed in the foreground of the touch screen at the current moment, it can be determined whether the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen. Generally, when manipulating the first application, the window interface of the first application is usually displayed in the foreground on the touch screen. Therefore, at this time, it can be determined whether the second window is also displayed in the foreground of the touch screen. If so, it can indicate that Currently, it is a multi-window mode in which the first application and the second application window interface are displayed in the foreground of the touch screen at the same time.
当然,根据前述所述,本申请所述方法的另一种实施例中,在满足下述至少一种条件时确定第二应用的状态为界面显示于所述触摸屏前台的多窗口模式:Of course, according to the foregoing, in another embodiment of the method described in this application, when at least one of the following conditions is met, it is determined that the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen:
S302:第二应用的窗口界面与第一应用的窗口界面同时分别前台显示在不同的触摸屏中;S302: The window interface of the second application and the window interface of the first application are simultaneously displayed in the foreground on different touch screens;
S303:属于同一处理系统的第一应用与第二应用中,至少有一个应用的部分窗口界面当前时刻前台显示在不同的触摸屏中。S303: Among the first application and the second application belonging to the same processing system, at least part of the window interface of one application is displayed in the foreground at the current moment on different touch screens.
具体的判断实施方式可以根据不同的数据通信应用环境/系统选取相应的处理方式。例如在一些使用Android系统版本的终端设备中,可以通过Android系统提供的API(Application Programming Interface,API,应用程序编程接口)来判断当前某个应用是否处于多窗口模式,以及是否在屏幕前台显示。一种实施方式中,所述的第一应用与第二应用可以属于同一个处理系统,其他的实施方式中,所述第一应用与第二应用也可以属于不同的处理系统,如前述所述的图6和图7所示。因此,上述实施例中所述第一应用与第二应用采用下述中的任意一种实施方式:The specific judgment implementation mode may select corresponding processing modes according to different data communication application environments/systems. For example, in some terminal devices using the Android system version, whether an application is currently in multi-window mode and whether it is displayed in the foreground of the screen can be determined through the API (Application Programming Interface, API, application programming interface) provided by the Android system. In one implementation manner, the first application and the second application may belong to the same processing system, and in other implementation manners, the first application and the second application may also belong to different processing systems, as described above. are shown in Figures 6 and 7. Therefore, the first application and the second application described in the above embodiment adopt any one of the following implementations:
所述第一应用与第二应用属于同一处理系统;the first application and the second application belong to the same processing system;
所述第一应用与第二应用中至少有一个应用属于不同的处理系统。At least one of the first application and the second application belongs to a different processing system.
本申请所述的多窗口模式通常是指同一处理系中至少两个应用的窗口界面是前台显示于触摸屏中的,如手机显示屏上同时并排显示搜索应用和新闻应用。当然,本申请实施例所述的多窗口在一种实施方式中也可以为用户当前时刻操控的应用的业务窗口界面,其他的一种实施例中也可以包括应用的缩略图窗口界面或者缩放图窗口界面。具体的一种示例如图8所示,用户当前激活的第一应用A为较大的窗口界面,同时多窗口前台显示的应用B、应用C、应用D则在所述第一应用A窗口界面一侧,由于操控第一应用A时其他应用的窗口界面还处于未激活状态,因此,应用B、应用C、应用D可以以较小的缩放图显示在所述触摸屏最右侧。The multi-window mode described in this application generally means that the window interfaces of at least two applications in the same processing system are displayed on the touch screen in the foreground, for example, a search application and a news application are displayed side by side on the display screen of a mobile phone. Of course, the multi-window described in this embodiment of the present application may also be a business window interface of an application controlled by the user at the current moment in one embodiment, and may also include a thumbnail window interface or a zoomed image of an application in another embodiment. window interface. A specific example is shown in FIG. 8 , the first application A currently activated by the user is a larger window interface, and the application B, application C, and application D displayed in the foreground of multiple windows are displayed on the first application A window interface. On one side, since the window interfaces of other applications are still in an inactive state when the first application A is manipulated, application B, application C, and application D can be displayed on the far right of the touch screen in smaller zoomed images.
S4:当所述判断结果为是时,建立所述第一应用与所述第二应用的数据通信链路。S4: When the determination result is yes, establish a data communication link between the first application and the second application.
本申请实施例中所述第二应用接收到所述通信建立请求后,可以判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式。当所述判断结果为是,可以表示所述第二应用的窗口界面与所述第一应用的窗口界面为同时显示在触摸屏前台的多窗口模式场景。此时,所述用户操控轨迹满足第一应用指向第二应用的预设触发条件,可以表示用户期望在所述第一应用和第二应用之间实现某种操作需求,如用户在触摸屏第一应用和第二应用的窗口界面并排显示的多窗口模式下,需要将第一应用中的某个新闻分享到第二应用的朋友圈,或者将第一应用中的某个图片元素发送到第二应用的搜索框中进行商品搜索,或者将第一应用中选取的数据复制/转移到第二应用中等等。因此,本申请的一种实施例中,可以在至少两个应用前台显示的多窗口模式下判断出用户在触摸屏上的操控行为(如手势滑动)触发第一应用指向第二应用的操控事件时,建立所述第一应用与第二应用的数据通信链路,基于所述数据通信链路,所述第一应用可以实现与第二应用业务级数据通信。In the embodiment of the present application, after receiving the communication establishment request, the second application may determine whether the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen. When the determination result is yes, it may indicate that the window interface of the second application and the window interface of the first application are in a multi-window mode scene simultaneously displayed in the foreground of the touch screen. At this time, the user manipulation track satisfies the preset trigger condition for the first application to point to the second application, which may indicate that the user expects to achieve a certain operation requirement between the first application and the second application. In the multi-window mode in which the window interfaces of the application and the second application are displayed side by side, it is necessary to share a certain news in the first application to the Moments of the second application, or send a certain picture element in the first application to the second application. Search for goods in the search box of the application, or copy/transfer the data selected in the first application to the second application, and so on. Therefore, in an embodiment of the present application, in a multi-window mode in which at least two applications are displayed in the foreground, it can be determined that when the user's manipulation behavior (such as gesture sliding) on the touch screen triggers the manipulation event of the first application pointing to the second application , establishing a data communication link between the first application and the second application, and based on the data communication link, the first application can implement service-level data communication with the second application.
本实施例中所述建立的通信链路至少是第一应用至第二应用的通信连接,第一应用至少可以向第二应用传输数据。本申请实施例具体的实现时所述通信链路可以为双向通信链路,即一种实施方式中,第二应用也可以通过所述建立的通信链路向所述第一应用传输数据。The communication link established in this embodiment is at least a communication connection between the first application and the second application, and the first application can at least transmit data to the second application. When the embodiment of the present application is specifically implemented, the communication link may be a bidirectional communication link, that is, in an implementation manner, the second application may also transmit data to the first application through the established communication link.
本申请实施例利用多窗口模式下屏幕可以同时显示两个或者多个应用窗口界面的特点,通过识别用户在触摸屏上的操控轨迹,如两指由第一应用滑向第二应用一段距离等,就可以让同时显示在屏幕上的两个或者多个应用建立数据通信链路。而一旦建立了应用间的数据通信链路,即可以实现不同应用之间业务级上的交互,如一键/快速跨应用分享、支付、查询、数据转移等。这样,实现用户可以直观地通过一个手势实现快速分享、查询等不同应用之间的业务交互。显然,在PC终端、Android/iOS系统终端等越来越多支持应用多窗口的终端设备中能大幅简化用户在不用应用之间执行的分享、搜索等操作。并且这种应用间的交互方式还可以提升用户操作使用体验,提高用户产品使用感知。The embodiment of the present application utilizes the feature that the screen can display two or more application window interfaces at the same time in the multi-window mode. It allows two or more applications displayed on the screen at the same time to establish a data communication link. Once a data communication link between applications is established, business-level interaction between different applications can be realized, such as one-key/quick cross-application sharing, payment, query, and data transfer. In this way, users can intuitively realize business interaction between different applications such as quick sharing and querying through one gesture. Obviously, in the PC terminal, Android/iOS system terminal and more and more terminal devices that support application multi-window, it can greatly simplify the sharing, searching and other operations performed by users between different applications. In addition, this interaction between applications can also improve the user's operating experience and improve the user's perception of product use.
上述实施例中所述的用户操控事件可以包括多种预先设定的多窗口模式下第一应用指向第二应用的判断逻辑。一般的,在多数应用场景中,用户使用设置有触摸屏的终端设备时,如目前主流的智能手机、平板电脑、自助服务终端等,通常是使用手指、手掌等用户肢体在触摸屏上进行滑动操控以实现对应用的操作,当然也可以包括使用触控笔或者其他辅助设备。因此,本申请所述一种数据通信处理方法的一种实施例中,可以预先设置基于用户在触摸屏上的一些预期滑动行为的预设触发条件,因此本申请的一种实施例中,所述第一应用指向第二应用的预设触发条件包括:The user manipulation event described in the above-mentioned embodiment may include a variety of preset judgment logics for judging that the first application points to the second application in the multi-window mode. Generally, in most application scenarios, when a user uses a terminal device equipped with a touch screen, such as current mainstream smartphones, tablet computers, self-service terminals, etc., the user usually uses fingers, palms and other user limbs to slide on the touch screen to control the The operation of the application may of course also include using a stylus or other auxiliary devices. Therefore, in an embodiment of the data communication processing method described in the present application, preset trigger conditions based on some expected sliding behaviors of the user on the touch screen may be preset. Therefore, in an embodiment of the present application, the The preset trigger conditions for the first application to point to the second application include:
S111:识别出的用户操控轨迹为由第一应用的窗口界面滑向第二应用的窗口界面的滑动行。S111: The identified user manipulation track is a sliding row that slides from the window interface of the first application to the window interface of the second application.
所述的滑动行为可以包括通过用户肢体执行,也可以包括使用类似触控笔的辅助输入设备执行的滑动行为。所述的用户肢体可以包括手指,当然其他的实施例中所述的用户肢体也可以包括头、眼、颈、肘、臂、身、胯、足等人体肢体或器官。本实施例中所述的用户肢体触碰在所述触摸屏上进行的滑动行为可以包括用户在所述触摸屏上进行的连续滑动操控行为,用户可以由通过手指触碰触摸屏后滑向触摸屏的一侧一段距离,或者在所述触摸屏上画圈后滑向触摸屏另一侧,或者滑动的一段曲线等。The sliding behavior may include the sliding behavior performed by the user's limbs, and may also include the sliding behavior performed using an auxiliary input device such as a stylus. The user limbs may include fingers. Of course, the user limbs described in other embodiments may also include human limbs or organs such as head, eyes, neck, elbow, arm, body, hip, and foot. The sliding behavior performed by the user's body touching the touch screen in this embodiment may include a continuous sliding manipulation behavior performed by the user on the touch screen. The user may touch the touch screen with a finger and then slide to one side of the touch screen. A certain distance, or draw a circle on the touch screen and then slide to the other side of the touch screen, or slide a curve, etc.
本申请所述一种数据通信处理方法的一种实施例中,可以根据获取的用户操控产生的操控指令中的信息识别出用户的操控行为是否指向了另一个应用。具体的,本申请所述一种数据通信处理方法的一种实施例中,用户在所述触摸屏上进行滑动操作时,所述判断所述用户操控轨迹是否满足触发第一应用指向第二应用的预设触发条件可以包括:In an embodiment of the data communication processing method described in the present application, whether the user's manipulation behavior is directed to another application can be identified according to the acquired information in the manipulation instruction generated by the user manipulation. Specifically, in an embodiment of the data communication processing method described in the present application, when the user performs a sliding operation on the touch screen, the judgment is made as to whether the user's manipulation trajectory satisfies the requirement for triggering the first application to point to the second application. Preset trigger conditions can include:
S211:获取所述操控指令中的滑动记录信息,所述滑动记录信息包括记录的通过用户至少一个肢体在触摸屏上执行滑动行为时产生的数据信息;S211: Acquire sliding record information in the manipulation instruction, where the sliding record information includes recorded data information generated when the user performs sliding behavior on the touch screen through at least one limb of the user;
S212:根据所述记录信息计算出至少包括滑动方向、滑动距离、滑动时间、滑动速度中的至少一种行为指标数据;S212: Calculate at least one behavior index data including sliding direction, sliding distance, sliding time, and sliding speed according to the recorded information;
S213:将所述行为指标数据与对应的预设触发阈值相比较,根据所述比较的结果确定所述操控轨迹是否满足所述预设触发条件。S213: Compare the behavior index data with a corresponding preset trigger threshold, and determine whether the manipulation trajectory satisfies the preset trigger condition according to a result of the comparison.
一般的,在一些应用场景中,用户如果需要将第一应用的内容分享到第二应用中,可以使用手指先触碰第一应用的窗口界面,然后在所述触摸屏上向第二应用所在的位置方向滑动。用户在触摸屏上进行滑动时,处理系统可以记录下滑动产生的记录信息,如坐标信息、时间信息等,基于这些记录信息可以计算出用户的一些行为指标数据。这些行为指标数据可以用于作为是否触发第一应用指向第二应用的判断依据。本申请实施例可以根据包括滑动方向等的行为指标数据判断来识别出需要与第一应用建立通信的同屏多窗口前台显示的第二应用。具体的一个实例应用场景如图9所示,图9是本申请所述一种用户通过手势滑动实现跨应用通信建立的场景示意图。当前为终端设备两个应用的窗口界面同时横向并排显示在触摸屏中,当用户双指触摸所述触摸屏时记录此时触摸时刻T1和两指触碰的坐标C1。然后用户双指在触摸屏上滑动一段距离,在用户滑动完成后,记录所述滑动完成时的触碰时刻T2和两指触碰的坐标C2。然后根据T1、T2计算用户滑动的时间间隔是否小于阈值3000ms,如果小于,则此次滑动行为有效。另外,根据坐标C1和C2计算出此次用户滑动方向C1→C2为正西方向,并且滑动距离300像素超过了最小有效距离L=20像素,此次可以确定用户的滑动行为指向了在触摸屏中并排前台显示的另一个应用。因此,可以根据所述用户滑动操作的滑动时间、滑动距离和滑动方向可以确定用户的操控行为触发了预先设定第一应用指向第二应用的操控事件。当然,其他的实施例中,所述的操控指令还可以包括触碰触摸屏时的时间信息,所述的行为指标数据也可以包括滑动时间、滑动距离、滑动速度等,因此,所述的触发条件也可以设置多个逻辑条件,如通过滑动轨迹判断滑动方向为第一应用滑向第二应用,且滑动速度大于一定像素值。具体的可以根据用户体验和预先设置的判断用户需要不同应用之间建立通信的预设操控行为进行设置。所述的时间间隔、最小有效距等可以根据设计需要或预期用户操控行为预先定义设置。Generally, in some application scenarios, if the user needs to share the content of the first application to the second application, he can use his finger to touch the window interface of the first application, and then touch the touch screen to the location where the second application is located. Swipe for location. When the user slides on the touch screen, the processing system can record the recorded information generated by the sliding, such as coordinate information, time information, etc., and based on the recorded information, some behavior index data of the user can be calculated. These behavior index data can be used as a basis for judging whether to trigger the first application to point to the second application. In the embodiment of the present application, the second application displayed in the foreground with multiple windows on the same screen and which needs to establish communication with the first application can be identified according to the behavior index data including the sliding direction and the like. A specific example application scenario is shown in FIG. 9 , which is a schematic diagram of a scenario in which a user implements cross-application communication establishment through gesture swiping according to the present application. Currently, the window interfaces of the two applications of the terminal device are displayed side by side on the touch screen at the same time. When the user touches the touch screen with two fingers, the touch time T1 and the coordinates C1 of the touch are recorded. Then, the user slides two fingers on the touch screen for a certain distance, and after the user completes the sliding, the touch time T2 when the sliding is completed and the coordinates C2 of the two-finger touch are recorded. Then, according to T1 and T2, calculate whether the user sliding time interval is less than the threshold of 3000ms. If it is less than the threshold value, the sliding behavior is valid. In addition, according to the coordinates C1 and C2, it is calculated that the user's sliding direction C1→C2 is the due west direction, and the sliding distance of 300 pixels exceeds the minimum effective distance L=20 pixels. This time, it can be determined that the user's sliding behavior points to the touch screen. Another app shown in the foreground side by side. Therefore, according to the sliding time, sliding distance and sliding direction of the user's sliding operation, it can be determined that the user's manipulation behavior triggers the preset manipulation event of the first application pointing to the second application. Of course, in other embodiments, the manipulation instruction may also include time information when the touch screen is touched, and the behavior indicator data may also include sliding time, sliding distance, sliding speed, etc. Therefore, the trigger condition Multiple logical conditions can also be set, such as determining that the sliding direction is sliding from the first application to the second application through the sliding track, and the sliding speed is greater than a certain pixel value. Specifically, it can be set according to the user experience and the preset manipulation behavior that determines that the user needs to establish communication between different applications. The time interval, minimum effective distance, etc. can be pre-defined and set according to design requirements or expected user manipulation behavior.
上述实施例的实施方式,使得用户可以直观地通过一个手势就可以让同时显示在屏幕上的两个或多个应用建立通信链路,第一应用可以利用本实施例提供的技术方案所建立的通信链路和另一应用快速实现业务级交互。图10是本申请提供的一种数据通信处理方法另一种实施例的方法流程图,如图10所示,本申请所述数据通信处理方法进一步的实施例中,所述建立所述第一应用与所述第二应用的数据通信链路之后,所述方法还可以包括:The implementation of the above-mentioned embodiment enables the user to intuitively establish a communication link between two or more applications displayed on the screen at the same time through a gesture. The communication link and another application quickly enable business-level interaction. FIG. 10 is a method flowchart of another embodiment of a data communication processing method provided by the present application. As shown in FIG. 10 , in a further embodiment of the data communication processing method described in the present application, the establishment of the first After applying the data communication link with the second application, the method may further include:
S5:所述第一应用与所述第二应用基于所述建立的数据通信链路进行业务级的消息交互处理。S5: The first application and the second application perform service-level message interaction processing based on the established data communication link.
所述通信链路至少是第一应用至第二应用的通信连接,本申请实施例具体的实现时所述通信链路可以为双向通信链路。建立通信链路后,第一应用可以基于所述数据通信链路向第二应用发送分享内容或一键支付等业务级处理消息。这种基于用户滑动手势快速实现跨应用的分享、查询等多窗口模式的信息交互,操作更加直观,用户使用便捷,有效提升用户体验。本实施例中所述的第二应用响应所述业务级处理消息可以包括处理或者拒绝处理所述业务级处理消息,或者接收/处理所述业务级处理消息后返回给第一应用响应的处理结果等。所述的响应可以包括反馈或者不反馈给第一应用响应消息的情况。The communication link is at least a communication connection between the first application and the second application, and the communication link may be a bidirectional communication link when the embodiment of the present application is specifically implemented. After the communication link is established, the first application can send service-level processing messages such as content sharing or one-click payment to the second application based on the data communication link. This kind of information interaction in a multi-window mode such as sharing and querying across applications is quickly realized based on the user's sliding gesture. The operation is more intuitive, the user is convenient to use, and the user experience is effectively improved. The response of the second application to the service-level processing message in this embodiment may include processing or refusing to process the service-level processing message, or a processing result that is returned to the first application after receiving/processing the service-level processing message Wait. The response may include the case of feeding back or not feeding back the response message to the first application.
当然,其他的实施方式中,用户也可以采用点击的操控行为实现多窗口模式下建立跨应用之间的通信。或者,通过点击、滑动、长按等方式的组合。本申请所述一种数据通信处理方法的另一种实施例中,可以满足和方便一些用户跨应用作业时的操控习惯,具体的所述作所述第一应用指向第二应用的预设触发条件可以包括下述中的至少一种:Of course, in other implementation manners, the user may also use the manipulation behavior of clicking to establish communication between applications in a multi-window mode. Or, through a combination of taps, swipes, long presses, etc. In another embodiment of the data communication processing method described in this application, it can satisfy and facilitate the manipulation habits of some users when working across applications. Specifically, it is described as a preset trigger for the first application to point to the second application. Conditions can include at least one of the following:
S221:识别出的用户操控轨迹为,在预设有效周期内Ts,在第一应用的窗口界面点击次数符合第一要求M、在第二应用的窗口界面点击次数符合第二要求,M、N为预先设置的点击次数,Ts>0秒,M≥1,N≥1;S221: The identified user manipulation trajectory is, within the preset valid period Ts, the number of clicks on the window interface of the first application meets the first requirement M, and the number of clicks on the window interface of the second application meets the second requirement, M, N is the preset number of clicks, Ts>0 seconds, M≥1, N≥1;
S222:识别出的用户操控轨迹为,通识别出的用户操控轨迹为,通过在第一应用的窗口界面中滑动出预设图案,并从所述预设图案位置向第二应用窗口界面所在的位置方向滑动至少第一阈值距离;S222: The identified user manipulation track is, the identified user manipulation track is, by sliding out a preset pattern in the window interface of the first application, and moving from the preset pattern position to the location where the second application window interface is located The position direction slides at least the first threshold distance;
S223:识别出的用户操控轨迹为,在预设有效周期内Ts,在第一应用的窗口界面点击次数符合第一要求K,并从所述第一应用的窗口界面向第二应用窗口界面所在的位置方向滑动至少第二阈值距离,K为预先设置的点击次数,Ts为用户操控轨迹有效时间,Ts>0秒,K≥1;S223: The identified user manipulation trajectory is that, within the preset effective period Ts, the number of clicks on the window interface of the first application meets the first requirement K, and the number of clicks on the window interface of the first application meets the first requirement K, and the number of clicks from the window interface of the first application to the location where the window interface of the second application is located Slide at least the second threshold distance in the position direction, K is the preset number of clicks, Ts is the effective time of the user's control trajectory, Ts>0 seconds, K≥1;
S224:识别出的用户操控轨迹为,在预设有效周期内Ts,在第一应用的窗口界面中长按时间大于T毫秒,并从所述第一应用的窗口界面向第二应用窗口界面所在的位置方向滑动至少第三阈值距离,Ts>0,T>0秒。S224: The identified user manipulation trajectory is that within the preset valid period Ts, the long-press time in the window interface of the first application is longer than T milliseconds, and the user moves from the window interface of the first application to the location where the window interface of the second application is located. Sliding in the position direction of at least a third threshold distance, Ts>0, T>0 seconds.
图11是本申请一种用户采用点击的操控行为实现多窗口模式下跨应用通信的场景示意图。如图11所示,假如预先有效周期Ts为5秒,M为3,N为1。用户在新闻应用A的窗口界面中,如果判断出1000毫秒内用户连续三次点击一个图片元素P1,然后1500毫秒后又单击另一个购物应用B。则用户此次2500毫秒内在所述触摸屏上的点击行为符合第一应用指向第二应用的预设触发条件,因此,此时可以将第一应用中用户选取的图片元素P1输入到第二购物应用B中。然后购物应用B的搜索栏中出现图片元素P1。S222的实施方式中,所述的预设图案可以预设设置一个或者多,可以包括规则图案或不规则图案,如所述预设图案可以为“圆圈”、“三角形”“Z”形等。如根据用户操控轨迹识别出用户在第一应用中画了一个圈,然后向第二应用滑动了一段距离500像素,大于第一阈值距离300像素,则可以满足S222中所述的预设触发条件。当然,也可以采用S223或S224中所述的将点击或长按(可自定义设置长按时间)与滑动相结合的方式设置预设触发条件,以及基本上述实施例的其他变形、组合方式。FIG. 11 is a schematic diagram of a scenario in which a user implements cross-application communication in a multi-window mode by using a click manipulation behavior according to the present application. As shown in FIG. 11 , if the pre-valid period Ts is 5 seconds, M is 3, and N is 1. In the window interface of news application A, if the user determines that the user clicks a picture element P1 three times in a row within 1000 milliseconds, and then clicks another shopping application B after 1500 milliseconds. Then the user's click behavior on the touch screen within 2500 milliseconds this time complies with the preset trigger condition that the first application points to the second application. Therefore, at this time, the picture element P1 selected by the user in the first application can be input into the second shopping application. in B. Then the picture element P1 appears in the search bar of the shopping application B. In the embodiment of S222, one or more preset patterns may be preset, and may include regular patterns or irregular patterns, for example, the preset patterns may be "circle", "triangle", "Z" shape, etc. If it is recognized according to the user's manipulation trajectory that the user draws a circle in the first application, and then slides a distance of 500 pixels to the second application, which is greater than the first threshold distance of 300 pixels, the preset trigger condition described in S222 can be satisfied. . Of course, the preset trigger condition can also be set by combining clicking or long pressing (the long pressing time can be customized) and sliding as described in S223 or S224, as well as other modifications and combinations of the above-mentioned embodiments.
上述实施例所述的预设触发条件提供了若干用户方便、直观、快捷的实现不同应用之间信息交互的操控方式,可以简化用户操作,提高用户操控体验。另外,所述从所述第一应用的窗口界面向第二应用窗口界面所在的位置方向滑动可以包括通过用户肢体直接作用在触摸屏上的滑动,也可以包括通过触摸装置作用在触摸屏上的滑动,或者通过用户手势隔空执行的滑动等。所述的第一阈值、第二阈值、第三阈值等可以根据不同的使用终端、应用界面场景等进行设置。The preset trigger conditions described in the above embodiments provide a number of user-friendly, intuitive and fast manipulation methods for realizing information interaction between different applications, which can simplify user operations and improve user manipulation experience. In addition, the sliding from the window interface of the first application to the position where the window interface of the second application is located may include sliding directly acting on the touch screen through a user's limb, or may include sliding acting on the touch screen through a touch device. Or a swipe performed in the air by a user gesture, etc. The first threshold, the second threshold, the third threshold, etc. can be set according to different use terminals, application interface scenarios, and the like.
如前所述,本申请的一种实施方式中,发送第一应用的通信建立请求具体的方式例如可以包括广播消息的方式发送,或者点对点方式的直接发送给第二应用,第一应用与第二应用之间建立通信链路。例如应用A通过广播消息的方式发送通信建立请求request时开始监听端口,收到request的应用B可以直接与A建立连接。另一种实施方式中,第一应用可以广播消息的方式通信建立请求,所以收到广播消息的应用均可以响应第一应用的广播消息,返回response。而此时所述第一应用A可以自主选择需要与哪个应用建立连接,具体的连接对象的判断依据可以由开发人员根据不同的业务场景进行设定。因此,本申请提供的所述一种数据通信处理方法中,As mentioned above, in an embodiment of the present application, the specific manner of sending the communication establishment request of the first application may include, for example, sending a broadcast message, or directly sending it to the second application in a point-to-point manner, and the first application communicates with the second application. A communication link is established between the two applications. For example, when application A sends a communication establishment request through a broadcast message, it starts to monitor the port, and application B that receives the request can directly establish a connection with A. In another implementation manner, the first application may communicate the establishment request in the form of a broadcast message, so all applications that receive the broadcast message may respond to the broadcast message of the first application and return a response. At this time, the first application A can independently select which application to establish a connection with, and the specific judgment basis for the connection object can be set by the developer according to different business scenarios. Therefore, in the data communication processing method provided in this application,
S231:所述发送第一应用的通信建立请求包括以消息广播的方式发送第一应用的通信建立请求;S231: The sending the communication establishment request of the first application includes sending the communication establishment request of the first application by means of message broadcasting;
相应的,所述建立所述第一应用与所述第二应用的数据通信链路可以包括:Correspondingly, the establishing a data communication link between the first application and the second application may include:
在所述第二应用接收所述通信建立请求后建立第二应用到所述第一应用的通信链路,并向所述第一应用返回应答消息;After the second application receives the communication establishment request, establish a communication link between the second application and the first application, and return a response message to the first application;
在所述第一应用接收到所述第二应用的应答消息后建立第一应用到第二应用的点对点通信链路。After the first application receives the response message from the second application, a point-to-point communication link between the first application and the second application is established.
所述通信建立请求可以包括所述第一应用识别标识,所述第二应用可以基于所述第一应用标识向所述第一应用返回应答消息。相应的,所述应答消息中可以包括第二应用的第二应用标识,第一应用可以基于所述第二应用标识与第二应用建立通信连接。本申请实施例设计的前台显示的不同应用之间建立通信的方法可以采用第一应用广播发送通信建立消息,收到广播消息的多一个或者多个应用可以向第一应用反馈应答消息,然后第一应用可以根据收到的多个响应方的应答消息主动选择需要与哪一个应用建立通信链路。这种由第一应用主动选择通信链路建立对象的方式,尤其适用于至少三个前台显示在触摸屏中的多窗口模式应用场景。The communication establishment request may include the first application identification, and the second application may return a response message to the first application based on the first application identification. Correspondingly, the response message may include a second application identifier of the second application, and the first application may establish a communication connection with the second application based on the second application identifier. The method for establishing communication between different applications displayed in the foreground designed in the embodiment of the present application may use the first application to broadcast a communication establishment message, and one or more applications that receive the broadcast message may feed back a response message to the first application, and then the first application An application can actively select which application it needs to establish a communication link with according to the response messages received from multiple responders. This method of actively selecting an object for establishing a communication link by the first application is especially suitable for a multi-window mode application scenario in which at least three foregrounds are displayed on the touch screen.
当然,收到第一应用广播消息的所有应用均与第一应用建立通信链路的方式也可以适用于至少三个前台显示在触摸屏中的多窗口模式应用场景。如图12-1所示的,图12-1是本申请一种通过用户滑动实现多窗口模式下跨应用通信的场景示意图,用户在第一应用为搜索应用B中将某个搜索结果通过手势向右侧滑动一段距离后,发出通信建立请求的广播消息。前台显示的即时通信应用IM_1、IM_2、IM_3收到广播消息后均可以直接与搜索应用B建立双向通信。然后,搜索应用B可以将相应的业务级处理数据(某条搜索结果RE_1)发送到即时通信应用IM_1、IM_2、IM_3,即时通信应用IM_1、IM_2、IM_3可以分别进行相应的响应处理。而采用由第一应用选择与哪个响应方建立通信链路时,即时通信应用IM_1、IM_2、IM_3收到广播消息后均向搜索应用返回应答消息,搜索应用B可以根据滑动方向正对IM_2进而选择与IM_2建立通信链路。搜索应用B可以将相应的业务级处理数据(某条搜索结果RE_1)发送到即时通信应用IM_2,由即时通信应用IM_2进行相应的响应处理,如图12-2所示,图12-2是本申请一种通过用户滑动实现多窗口模式下跨应用通信的场景示意图。Of course, the manner in which all applications that receive the broadcast message of the first application establish a communication link with the first application may also be applicable to a multi-window mode application scenario in which at least three foregrounds are displayed on the touch screen. As shown in Figure 12-1, Figure 12-1 is a schematic diagram of a scenario in the present application for realizing cross-application communication in a multi-window mode through user sliding. In the first application, the user sends a certain search result through gestures in the search application B. After swiping a distance to the right, a broadcast message of a communication establishment request is sent. After receiving the broadcast message, the instant messaging applications IM_1, IM_2, and IM_3 displayed in the foreground can directly establish two-way communication with the search application B. Then, the search application B can send the corresponding service-level processing data (a certain search result RE_1) to the instant messaging applications IM_1, IM_2, and IM_3, and the instant messaging applications IM_1, IM_2, and IM_3 can respectively perform corresponding response processing. However, when the first application selects which responder to establish a communication link with, the instant messaging applications IM_1, IM_2, and IM_3 all return response messages to the search application after receiving the broadcast message, and the search application B can choose to face IM_2 according to the sliding direction. Establish a communication link with IM_2. The search application B can send the corresponding business-level processing data (a search result RE_1) to the instant messaging application IM_2, and the instant messaging application IM_2 performs corresponding response processing, as shown in Figure 12-2, which is the A schematic diagram of a scenario for realizing cross-application communication in a multi-window mode through user sliding is applied.
下面对利用本申请所述一种数据通信处理方法应用在一个具体实例的应用场景中实施过程说明。图13是本申请所述一种数据通信处理方法一种实施例场景的实施流程示意图。具体的一个实例应用场景中,如图13所示,在Android系统的手机终端中,可以预先约定应用A为建立通信的发起方,应用B为接收方。The following describes the implementation process of using the data communication processing method described in the present application in an application scenario of a specific example. FIG. 13 is a schematic diagram of an implementation flow of an embodiment scenario of a data communication processing method described in the present application. In a specific example application scenario, as shown in FIG. 13 , in the mobile phone terminal of the Android system, it may be pre-agreed that application A is the initiator of establishing communication, and application B is the receiver.
图13中的广播接收器指BroadcastReceiver,是Android系统提供的应用间一对多的信息传播机制。这里可以定义两个广播request和response的Action(执行者或执行进程)分别为com.apptest.message.request和com.apptest.message.response。应用A、应用B需要向系统注册这两个广播接收器。在Android系统中,可以设定应用A、应用B启动后向Android系统注册BroadcastReceiver(广播接收器),这样,当Android系统收到Broadcast时才会回调预先注册的BroadcastReceiver来通知应用。例如一种常用的注册方法为静态注册,静态注册通常是指在AndroidManifest.xml的application里面定义receiver并设置要接收的action(执行者或执行进程,如com.apptest.message.request和com.apptest.message.response)。The broadcast receiver in Figure 13 refers to BroadcastReceiver, which is a one-to-many information dissemination mechanism between applications provided by the Android system. Here you can define two Actions (executors or execution processes) that broadcast request and response as com.apptest.message.request and com.apptest.message.response respectively. Application A and Application B need to register these two broadcast receivers with the system. In the Android system, you can set the application A and application B to register the BroadcastReceiver (broadcast receiver) with the Android system after startup, so that when the Android system receives a Broadcast, it will call back the pre-registered BroadcastReceiver to notify the application. For example, a common registration method is static registration. Static registration usually refers to defining the receiver in the application of AndroidManifest.xml and setting the action to be received (executor or execution process, such as com.apptest.message.request and com.apptest .message.response).
当用户双指触摸到手机上的触摸屏时,记录此时时间T1和两指触摸的坐标C1,滑动过程中可以一直记录时间和坐标数据。在滑动完成后,根据记录的滑动完成时的时间T2判断用户滑动的时间间隔T是否小于阈值1500ms;并将起始和终止时两指的坐标求平均值,通过起始和终止坐标计算滑动直线距离L是否超过了阈值滑动距离=L300像素。然后通过Android系统提供的API判断当前应用A是处于多窗口模式,以及如果判决结果均满足上述滑动的时间间隔和滑动距离的触发要求,则可以确定用户在触摸屏上的滑动行为触发了指向了另一应用的操控事件。When the user touches the touch screen on the mobile phone with two fingers, the time T1 and the coordinates C1 touched by the two fingers are recorded, and the time and coordinate data can be recorded all the time during the sliding process. After the sliding is completed, according to the recorded time T2 when the sliding is completed, it is judged whether the time interval T of the user's sliding is less than the threshold value of 1500ms; the coordinates of the two fingers at the start and end are averaged, and the sliding line is calculated by the start and end coordinates. Whether the distance L exceeds the threshold sliding distance = L300 pixels. Then, it is judged through the API provided by the Android system that the current application A is in the multi-window mode, and if the judgment results meet the above-mentioned triggering requirements of the sliding time interval and sliding distance, it can be determined that the user's sliding behavior on the touch screen has triggered the user to point to another An application manipulation event.
此时,在手机Android系统中,应用A可以发送携带自己包名的request广播消息。这里所述的包名指package,是Android系统中应用的唯一标识。在Android系统中每一个应用都必须有一个唯一的package,一般在产品开发设计中可以使用这个package来区分不同的应用,例如应用A的package可以为com.eg.android.ApptestA,应用B的package可以为com.tencent.mm。At this time, in the Android system of the mobile phone, application A can send a request broadcast message carrying its own package name. The package name mentioned here refers to the package, which is the unique identifier of the application in the Android system. In the Android system, each application must have a unique package. Generally, this package can be used in product development and design to distinguish different applications. For example, the package of application A can be com.eg.android.ApptestA, and the package of application B can be com.eg.android.ApptestA. Can be com.tencent.mm.
当应用B收到request广播后,可以先决定是否响应应用A发来的请求。若此时系统未处理紧急事件或排他进程的应用或处于其他繁忙状态等,则可以同意应用A的请求,建立B到A的单向通信链接。然后,可以通过Android提供的API判断当前应用B是否处于多窗口模式,以及是否在屏幕前台显示。When application B receives the request broadcast, it can first decide whether to respond to the request sent by application A. If the system does not handle emergency events or applications of exclusive processes or is in other busy states at this time, the system can agree to the request of application A and establish a one-way communication link from B to A. Then, it can be judged whether the current application B is in the multi-window mode and whether it is displayed in the foreground of the screen through the API provided by Android.
判断通过后,应用B随机监听一个可用的网络Socket端口,如8080,根据接收到应用的request发送response广播,并携带应用B自己的包名和所监听的端口。应用B监听网络Socket端口8080,等待端口被连接。After the judgment is passed, application B randomly monitors an available network socket port, such as 8080, and sends a response broadcast according to the request received from the application, and carries the package name of application B and the monitored port. Application B listens on network socket port 8080, waiting for the port to be connected.
A应用收到应用B的response广播后,如果同意与该应用B连接,则主动连接应用B监听的Socket端口8080。连接成功后则建立了应用A与应用B的点对点通信链路。应用A、B可利用该Socket端口的通信链路进行高速的双向点对点通信。业务双方可以根据该链路进行多种业务交互,例如分享、支付。After application A receives the response broadcast of application B, if it agrees to connect with application B, it will actively connect to the Socket port 8080 monitored by application B. After the connection is successful, a point-to-point communication link between application A and application B is established. Applications A and B can use the communication link of the socket port to perform high-speed bidirectional point-to-point communication. Both sides of the business can perform various business interactions based on this link, such as sharing and payment.
本申请提供的数据通信处理方法或可以用于手机、平板、PC、服务器、PDA等多种终端设备中,用户可以直观地通过一个手势就可以让同时显示在屏幕上的两个应用建立双向通信链路。例如用户在任意一个应用中双指滑向另一个应用,这两款应用所在进程建立双向通信通道,可以根据不同的业务场景对用户的这个动作进行多样化的响应,例如分享A应用中的内容到B应用,可以有效提升终端设备的交互使用体验。The data communication processing method provided by this application may be used in various terminal devices such as mobile phones, tablets, PCs, servers, PDAs, etc. The user can intuitively use a gesture to establish two-way communication between two applications displayed on the screen at the same time link. For example, if a user slides two fingers in any one application to another application, the processes in which the two applications are located establish a two-way communication channel, which can respond to the user's action in a variety of ways according to different business scenarios, such as sharing the content in application A. To the B application, it can effectively improve the interactive experience of the terminal device.
基本申请思想,本申请还提供一种可以用于同一应用中不同业务项之间的数据通信处理方法,可以实现基于用户在应用窗口界面不同的业务项之间的滑动操控实现跨业务之间的交互处理。图14是本申请提供的一种数据通信处理方法另一种实施例的方法流程图,具体的如图14所示,本申请提供的一种数据通信处理方法的一种实施例中,所述方法可以包括:The basic application idea, this application also provides a data communication processing method that can be used between different business items in the same application, which can realize cross-service communication based on the user's sliding control between different business items in the application window interface. Interactive processing. FIG. 14 is a method flowchart of another embodiment of a data communication processing method provided by the present application. Specifically, as shown in FIG. 14 , in an embodiment of a data communication processing method provided by the present application, the Methods can include:
S1’:监听应用窗口界面上的操控行为产生的操控指令,识别出用户操控轨迹;S1': monitor the manipulation instructions generated by manipulation actions on the application window interface, and identify the user manipulation track;
S2’:判断所述用户操控轨迹是否满足触发第一业务项指向第二业务项的预设触发条件;以及当所述判断结果为是时,采用所述第二业务项的响应方式处理所述第一业务项的业务处理请求。S2': judging whether the user manipulation trajectory satisfies a preset trigger condition that triggers the first service item to point to the second service item; and when the judgment result is yes, use the response mode of the second service item to process the The business processing request of the first business item.
优选的实施方式中,所述第一业务项指向第二业务项的预设触发条件可以包括:In a preferred embodiment, the preset trigger condition for the first service item to point to the second service item may include:
S201’:识别出的用户操控轨迹为在触摸屏前台显示的应用窗口界面中由第一业务项的窗口界面滑向第二业务项的窗口界面。S201': The identified user manipulation track is the window interface sliding from the window interface of the first business item to the window interface of the second business item in the application window interface displayed in the foreground of the touch screen.
上述进行交互处理的所述的第一业务项与第二业务项可以属于同一个应用中的不同业务项,也可以为不同应用中的业务项。因此,本申请提供的既有用户操控轨迹可实现不同业务项之间信息交互的数据通信处理方法的另一种实施例中,所述第一业务项与第二业务项可以采用下述中的任意一种实施方式:The above-mentioned first service item and second service item for interactive processing may belong to different service items in the same application, or may be service items in different applications. Therefore, in another embodiment of the data communication processing method provided by the present application in which an existing user manipulates a trajectory and can realize information interaction between different service items, the first service item and the second service item may use the following Either way:
所述第一业务项与第二业务项属于同一应用中的业务项;The first business item and the second business item belong to business items in the same application;
所述第一业务项与第二业务项项中至少有一个业务项属于不同的应用。At least one of the first service item and the second service item belongs to a different application.
图15是本申请提供的一种数据通信处理方法的另一种实施例应用场景的示意图。如图15中所示,在某支付应用PAY中的二级窗口界面中包括若干个缴费支付业务项,如“话费充值”、“水电费”、“信用卡还款”等。同时该应用窗口界面下方还提供了三个用户可以用于支付的支付方式选项“余额支付”、“中国银行支付”、“招商信用卡支付”。假如预先设置按住某个支付选项后滑动到某个支付业务项即表示使用按住的支付选取付款滑动到的支付业务项。例如,图15中所示的,用户使用手指先触碰“余额支付”选项,然后手指滑动到“话费充值”,则该支付应用PAY可以直接启用“余额支付”的业务支付方式来给用户充值话费。当然,如果用户按住“中国银行支付”业务项的窗口界面,然后滑向“话费充值”,则支付应用PAY可以使用用户绑定的中国银行储蓄卡进行话费充值,或者点击“中国银行支付”后滑向“红包”业务项,则可以默认使用用户绑定的中国银行储蓄卡的资金进行发红包。这样,不同业务项之间可以通过触摸屏上的手势滑动操控等快速执行不同业务项之间的交互处理,提高用户操作体验。FIG. 15 is a schematic diagram of an application scenario of another embodiment of a data communication processing method provided by the present application. As shown in FIG. 15 , the secondary window interface in a payment application PAY includes several payment payment business items, such as “phone bill recharge”, “utility bill”, “credit card repayment” and so on. At the same time, the bottom of the application window interface also provides three payment method options that users can use for payment: "Balance Payment", "Bank of China Payment", and "China Merchants Credit Card Payment". If it is pre-set that you press and hold a payment option and then slide to a payment service item, it means that you use the pressed payment to select the payment service item to which the payment is swiped. For example, as shown in Figure 15, the user touches the "Balance Payment" option with his finger first, and then slides his finger to "Call Credit Recharge", then the payment application PAY can directly enable the "Balance Payment" service payment method to recharge the user call charges. Of course, if the user presses on the window interface of the "Bank of China Payment" business item, and then slides to "Call Charge", the payment application PAY can use the Bank of China savings card bound by the user to recharge the call charge, or click "Bank of China Pay" After sliding to the "red envelope" business item, you can use the funds of the user's bound Bank of China savings card to issue red envelopes by default. In this way, interaction processing between different business items can be quickly performed between different business items through gesture sliding manipulation on the touch screen, etc., thereby improving user operation experience.
基于本申请所述的数据通信处理方法,本申请还提供一种数据通信处理装置。所述数据通信处理装置可以用于包括移动通信终端、平板、PDA、PC等多种终端设备中,实现多窗口模式下基于用户触摸屏上的某种预设操控动作(如用户在触摸屏上的某种滑动手势)来建立不同应用之间的数据通信,实现不同应用之间的业务交互,提升用户操控体验。图16是本申请提供的一种数据通信处理装置的一种实施例的模块结构示意图,具体的,如图16所示,所述装置可以包括:Based on the data communication processing method described in the present application, the present application further provides a data communication processing apparatus. The data communication processing device can be used in a variety of terminal equipment including mobile communication terminals, tablets, PDAs, PCs, etc., to realize certain preset manipulation actions on the user's touch screen in the multi-window mode (such as a user's certain action on the touch screen). Sliding gestures) to establish data communication between different applications, realize business interaction between different applications, and improve user manipulation experience. FIG. 16 is a schematic diagram of a module structure of an embodiment of a data communication processing apparatus provided by the present application. Specifically, as shown in FIG. 16 , the apparatus may include:
监听模块101,可以用于监听作用在触摸屏上的操控行为产生的操控指令,识别出用户操控轨迹;The
轨迹处理模块102,可以用于判断所述用户操控轨迹是否满足第一应用指向第二应用的预设触发条件;以及当所述判断结果为是时发送第一应用的通信建立请求;The
多窗口判断模块103,可以在所述第二应用接收到所述通信建立请求后,判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式;The
通信建立模块104,可以用于当所述多窗口判断模块103判断的结果为是时,建立所述第一应用与所述第二应用的数据通信链路。The
本申请所述一种数据通信处理装置的另一种实施例中,所述第一应用指向第二应用的预设触发条件可以包括:In another embodiment of the data communication processing apparatus described in the present application, the preset trigger condition for the first application to point to the second application may include:
识别出的用户操控轨迹为由第一应用的窗口界面滑向第二应用的窗口界面的滑动行为。The identified user manipulation track is a sliding behavior of sliding from the window interface of the first application to the window interface of the second application.
本申请所述一种数据通信处理装置的另一种实施例中,所述发送第一应用的通信建立请求包括以消息广播的方式发送通信建立请求;In another embodiment of the data communication processing apparatus described in the present application, the sending the communication establishment request of the first application includes sending the communication establishment request by means of message broadcasting;
相应的,所述建立所述第一应用与所述第二应用的数据通信链路包括:Correspondingly, the establishing a data communication link between the first application and the second application includes:
在所述第二应用接收所述通信建立请求后建立第二应用到所述第一应用的通信链路,并向所述第一应用返回应答消息;After the second application receives the communication establishment request, establish a communication link between the second application and the first application, and return a response message to the first application;
在所述第一应用接收到所述第二应用的应答消息后建立第一应用到第二应用的点对点通信链路。After the first application receives the response message from the second application, a point-to-point communication link between the first application and the second application is established.
本申请所述装置中的第一应用指向第二应用的预设触发条件还可以根据用户点击、滑动、长按及其组合等设置其他触发条件。具体的上述实施例的实施方式以及建立第一应用与第二应用的通信链路方式可以参照上述方法相关实施例的描述及扩展的可实施方式,在此不做赘述。The preset trigger condition that the first application points to the second application in the device described in the present application may also set other trigger conditions according to the user's click, slide, long press, and combinations thereof. For the specific implementation manner of the foregoing embodiment and the manner of establishing the communication link between the first application and the second application, reference may be made to the description of the foregoing method-related embodiments and the extended implementation manner, which will not be repeated here.
本申请所述的数据通信处理装置可以用于基于Android系统平台并支持多窗口模式的多种终端设备中,如常用的移动通信终端。这样,用户在使用终端设备时可以通过在触摸屏上简单的手势操作,快速、直观的让同时显示在触摸屏上的两个或者多个应用建立通信链路。利用建立的通信链路,快速实现跨应用之间的业务级交互,如一键分享、滑动支付等等,大大提高用户操控使用体验。当然,所述作用在触摸屏上的操控行为可以包括通过用户肢体触碰在所述触摸屏上的滑动行为、进行的点击行为、长按及其组合的操控行为。The data communication processing apparatus described in this application can be used in various terminal devices based on the Android system platform and supporting a multi-window mode, such as a commonly used mobile communication terminal. In this way, the user can quickly and intuitively establish a communication link between two or more applications simultaneously displayed on the touch screen through a simple gesture operation on the touch screen when using the terminal device. Use the established communication link to quickly realize business-level interaction between applications, such as one-click sharing, sliding payment, etc., which greatly improves the user's control and use experience. Of course, the manipulation action acting on the touch screen may include a sliding action, a click action, a long press, and a combination thereof by the user's body touching the touch screen.
本申请还提供的另一种数据通信处理装置的实施例,可以实现基于用户在应用窗口界面不同的业务项之间的滑动操控实现跨业务之间的交互处理。图17是本申请提供的一种数据通信处理装置的另一种实施例的模块结构示意图,具体的如图17所示,本申请提供的一种数据通信处理装置一种实施例中所述装置可以包括:The present application also provides another embodiment of the data communication processing apparatus, which can realize interactive processing between different services based on the user's sliding control between different service items in the application window interface. FIG. 17 is a schematic diagram of a module structure of another embodiment of a data communication processing device provided by the present application. Specifically, as shown in FIG. 17 , the device described in an embodiment of a data communication processing device provided by the present application Can include:
操控指令获取模块201,可以用于监听触摸屏上的操控行为产生的操控指令,识别出用户操控轨迹;The manipulation
业务处理模块202,可以用于判断所述用户操控轨迹是否满足第一业务项指向第二业务项的预设触发条件;还可以用于当所述判断结果为是时,采用所述第二业务项的响应方式处理所述第一业务项的业务处理请求。The
本申请提供的所述一种数据通信处理装置另一种实施例中,所述第一业务项指向第二业务项的预设触发条件包括:In another embodiment of the data communication processing device provided by the present application, the preset trigger condition for the first service item to point to the second service item includes:
识别出的用户操控轨迹为在触摸屏前台显示的应用窗口界面中由第一业务项的窗口界面滑向第二业务项的窗口界面。The identified user manipulation track is that in the application window interface displayed in the foreground of the touch screen, the window interface of the first business item slides to the window interface of the second business item.
当然,如前所述,上述进行交互处理的所述的第一业务项与第二业务项可以属于同一个应用中的不同业务项,也可以为不同应用中的业务项。因此,本申请提供的所述一种数据通信处理装置另一种实施例中,所述第一业务项与第二业务项采用下述中的任意一种实施方式:Of course, as mentioned above, the first service item and the second service item in the above interactive processing may belong to different service items in the same application, or may be service items in different applications. Therefore, in another embodiment of the data communication processing device provided by the present application, the first service item and the second service item adopt any one of the following implementations:
所述第一业务项与第二业务项属于同一应用中的业务项;The first business item and the second business item belong to business items in the same application;
所述第一业务项与第二业务项项中至少有一个业务项属于不同的应用。At least one of the first service item and the second service item belongs to a different application.
上述中具体的所述第一业务项指向第二业务项的预设触发条件、滑动形成的用户操控轨迹等可以参照前述其他实施例的相关描述,在此不做赘述。For the specific preset trigger condition that the first service item points to the second service item, the user manipulation track formed by sliding, etc., reference may be made to the relevant descriptions of the other embodiments above, which will not be repeated here.
本申请实施例提供的数据通信处理装置利用多窗口模式下屏幕可以同时显示两个或者多个应用窗口界面的特点,通过识别用户在触摸屏上的操控轨迹,如两指由第一应用滑向第二应用一段距离等,就可以让同时显示在屏幕上的两个或者多个应用建立数据通信链路。而一旦建立了应用间的数据通信链路,即可以实现不同应用之间业务级上的交互,如一键/快速跨应用分享、支付、查询、数据转移等。这样,实现用户可以直观地通过一个手势实现快速分享、查询等不同应用之间的业务交互。显然,在PC终端、Android/iOS系统终端等越来越多支持应用多窗口的终端设备中能大幅简化用户在不用应用之间执行的分享、搜索等操作。并且这种应用间的交互方式还可以提升用户操作使用体验,提高用户产品使用感知。The data communication processing device provided by the embodiment of the present application utilizes the feature that the screen can simultaneously display two or more application window interfaces in the multi-window mode, and recognizes the user's control trajectory on the touch screen, such as sliding two fingers from the first application to the first application window interface. Two or more applications displayed on the screen at the same time can establish a data communication link. Once a data communication link between applications is established, business-level interaction between different applications can be realized, such as one-key/quick cross-application sharing, payment, query, and data transfer. In this way, users can intuitively realize business interaction between different applications such as quick sharing and querying through one gesture. Obviously, in the PC terminal, Android/iOS system terminal and more and more terminal devices that support application multi-window, it can greatly simplify the sharing, searching and other operations performed by users between different applications. In addition, this interaction between applications can also improve the user's operating experience and improve the user's perception of product use.
本申请提供的数据通信处理方法及装置可以用于多种终端设备中,如移动通信终端(手机等)、平板、PDA、PC、服务器、业务系统等,实现多窗口模式下基于用户触摸屏上的某种预设操控动作(如用户在触摸屏上的某种滑动手势)来建立不同应用之间的数据通信,实现不同应用之间的业务交互,提升用户操控体验。因此,本申请还提供一种电子设备,所述电子设备可以包括如上述手机、平板等包括触摸屏设备的终端设备。所述的电子设备在一些实施例中也可以为这些终端设备的部分组成,如终端设备的数据处理电子设备,触摸屏可以与所述的电子设备单独进行连接,组合后成为用户使用的终端。具体的,本申请的提供的一种电子设备的一种实施例中,可以包括:The data communication processing method and device provided in this application can be used in various terminal devices, such as mobile communication terminals (mobile phones, etc.), tablets, PDAs, PCs, servers, business systems, etc. A certain preset manipulation action (such as a certain sliding gesture of the user on the touch screen) is used to establish data communication between different applications, realize business interaction between different applications, and improve user manipulation experience. Therefore, the present application also provides an electronic device, and the electronic device may include a terminal device including a touch screen device such as the above-mentioned mobile phone, tablet, etc. In some embodiments, the electronic device may also be a part of these terminal devices, such as the data processing electronic device of the terminal device, and the touch screen can be connected with the electronic device separately, and combined into a terminal used by the user. Specifically, an embodiment of an electronic device provided by the present application may include:
事件监听单元,可以用于监听作用在触摸屏上的操控行为产生的操控指令,识别出用户操控轨迹;还可以用于判断所述用户操控轨迹是否满足第一应用指向第二应用的预设触发条件;The event monitoring unit can be used to monitor the manipulation instructions generated by the manipulation behavior acting on the touch screen, and identify the user manipulation track; it can also be used to judge whether the user manipulation track satisfies the preset trigger condition for the first application to point to the second application ;
窗口状态判断模块,可以用于在所述第二应用接收到第一应用的通信建立请求后,判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式;a window state judgment module, which can be used to judge whether the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen after the second application receives the communication establishment request of the first application;
通信链路建立模块,可以用于当判断所述用户操控轨迹满足第一应用指向第二应用的预设触发条件时,发送第一应用的通信建立请求;以及用于在判断所述第二应用的状态为界面显示于所述触摸屏前台的多窗口模式时,建立所述第一应用与所述第二应用的数据通信链路。a communication link establishment module, which can be used to send a communication establishment request of the first application when it is judged that the user manipulation trajectory satisfies a preset trigger condition that the first application points to the second application; and is used for judging the second application When the state is a multi-window mode in which the interface is displayed in the foreground of the touch screen, a data communication link between the first application and the second application is established.
一种实施例中,所述电子设备的通信链路建立模块303建立所述第一应用与所述第二应用的数据通信链路可以包括建立第一应用至第二应用的单向数据通信链路,第一应用可以向第二应用发送通信数据,第二应用接收通信数据。其他的实施例中,也可以包括建立第一应用与第二应用的双向数据通信链路,即一种实施方式中第一应用可以通过所述数据通信链路向第二应用发送通信数据,第二应用也可以通过所述数据通信连接向第一应用发送数据通信数据。本申请所述的电子设备,以及上述的数据通信处理方法、装置的一些实施例可以根据具体的应用环境设定处理方式。本申请提供一种优选的实施例,第一应用采用消息广播后,根据接收到的应答消息建立与第二应用的点对点通信。具体的,本申请所述一种电子设备的另一种实施例中,所述通信链路建立模块发送第一应用发送通信建立请求包括所述第一应用以消息广播的方式发送第一应用的通信建立请求;In an embodiment, establishing a data communication link between the first application and the second application by the communication link establishing module 303 of the electronic device may include establishing a unidirectional data communication link from the first application to the second application. The first application can send communication data to the second application, and the second application can receive the communication data. In other embodiments, it may also include establishing a bidirectional data communication link between the first application and the second application, that is, in an implementation manner, the first application may send communication data to the second application through the data communication link, and the first application may send communication data to the second application through the data communication link. The second application may also send data communication data to the first application through the data communication connection. Some embodiments of the electronic device described in the present application, and the above-mentioned data communication processing method and apparatus may set a processing manner according to a specific application environment. The present application provides a preferred embodiment. After the first application adopts message broadcast, it establishes point-to-point communication with the second application according to the received response message. Specifically, in another embodiment of the electronic device described in this application, the communication link establishment module sending the first application to send the communication establishment request includes that the first application sends the first application's information in the form of message broadcasting. communication establishment request;
相应的,所述建立所述第一应用与所述第二应用的数据通信链路包括:Correspondingly, the establishing a data communication link between the first application and the second application includes:
在所述第二应用接收所述通信建立请求后建立第二应用到所述第一应用的通信链路,并向所述第一应用返回应答消息;After the second application receives the communication establishment request, establish a communication link between the second application and the first application, and return a response message to the first application;
在所述第一应用接收到所述第二应用的应答消息后建立第一应用到第二应用的点对点通信链路。After the first application receives the response message from the second application, a point-to-point communication link between the first application and the second application is established.
所述作用在触摸屏上的操控行为可以包括通过用户肢体直接在所述触摸屏上进行滑动的操控行为。在本申请的其他的实施例中,所述的操控行为也可以包括用户使用触控装置,如触控笔、激光灯或其他辅助工具在所述触摸屏上进行的点击、滑动等操作。甚至,本申请不排除其他的实施方式中,用户肢体不直接接触触摸屏,而是利用光电感应、磁感应等识别出用户隔空间接的作用在所述触摸屏上的操控行为。如识别出的用户的肢体感应动作,具体的例如用户在触摸屏上间隔一定距离做出的滑动手势,虽然用户手指此时没有直接触碰到触摸屏,但本申请实施例提供的电子设备应用场景中仍然可以识别出用户执行了滑动一段距离的操控行为,并将其翻译为一段用户操控轨迹。因此,本申请所述一种电子设备的另一种实施例中,所述作用在触摸屏上的操控行为可以包括下述中的至少一种实施方式:The manipulation behavior acting on the touch screen may include a manipulation behavior of directly sliding on the touch screen through a user's limb. In other embodiments of the present application, the manipulation behavior may also include operations such as clicking, sliding, etc. performed by the user on the touch screen using a touch device, such as a stylus, a laser light, or other auxiliary tools. Even, the present application does not exclude other embodiments in which the user's limb does not directly contact the touch screen, but uses photoelectric induction, magnetic induction, etc. to identify the manipulation behavior of the user's space connection on the touch screen. For example, the user's body sensing motion is recognized, specifically, for example, the sliding gesture made by the user at a certain distance on the touch screen. Although the user's finger does not directly touch the touch screen at this time, in the application scenario of the electronic device provided by the embodiment of the present application It is still possible to recognize that the user performed a manipulation behavior of sliding a certain distance, and translate it into a user manipulation trajectory. Therefore, in another embodiment of the electronic device described in this application, the manipulation behavior acting on the touch screen may include at least one of the following implementations:
通过用户肢体触碰所述触摸屏的操控行为;The manipulation behavior of touching the touch screen by the user's body;
通过触控装置触碰所述触摸屏的操控行为;The manipulation behavior of touching the touch screen by the touch device;
通过肢体感应识别出的隔空间接作用在所述触摸屏上的操控行为。The manipulation behavior on the touch screen by the space contact identified by the body sensing.
一般的,所述窗口模式可以包括例如所述第一应用与第二应用的窗口界面在多窗口模式下处于同一个触摸屏中,如目前Android某个版本支持在手机终端显示屏中同时显示两个应用的窗口界面,或者一些平板电脑支持的同一个触摸屏最多同时显示四个应用的窗口界面。但本申请所述的多窗口模式不排除多个应用窗口在不同的触摸屏中前台显示的实施方式,如第一应用与第二应用可以属于同一个处理系统并显示在不同的触摸屏终端,如同一个PC主机的多屏显示。所述的同一个处理系统可以是包含一个或者多个逻辑单元的处理单元、模块、装置,或多台服务器组成的处理系统,或者是同一个分布式系统。这种情况下,所述第一应用和第二应用的窗口界面可以处于同一个触摸屏中,也可以采用多屏显示的方式,分别或者部分显示在不同的触摸屏中。当然,多窗口多屏显示的第一应用和第二应用也可以为属于不同的处理系统。因此,本申请所述一种电子设备的另一种实施例中,所述窗口状态判断模块在满足下述至少一种条件时确定所述第二应用的状态为界面显示于所述触摸屏前台的多窗口模式:Generally, the window mode may include, for example, that the window interfaces of the first application and the second application are on the same touch screen in the multi-window mode. The window interface of an application, or the window interface of up to four applications can be displayed simultaneously on the same touch screen supported by some tablet computers. However, the multi-window mode described in this application does not exclude the embodiment in which multiple application windows are displayed in the foreground on different touch screens. For example, the first application and the second application may belong to the same processing system and be displayed on different touch screen terminals, just like one Multi-screen display of PC host. The same processing system may be a processing unit, module, device including one or more logical units, or a processing system composed of multiple servers, or the same distributed system. In this case, the window interfaces of the first application and the second application may be located on the same touch screen, or may be displayed in a multi-screen display manner, respectively or partially displayed on different touch screens. Of course, the first application and the second application displayed on multiple windows and multiple screens may also belong to different processing systems. Therefore, in another embodiment of the electronic device described in this application, the window state determination module determines that the state of the second application is an interface displayed in the foreground of the touch screen when at least one of the following conditions is satisfied. Multi-window mode:
所述第二应用的窗口界面与第一应用的窗口界面同时前台显示在同一触摸屏中;The window interface of the second application and the window interface of the first application are simultaneously displayed in the foreground on the same touch screen;
第二应用的窗口界面与第一应用的窗口界面同时分别前台显示在不同的触摸屏中;The window interface of the second application and the window interface of the first application are simultaneously displayed in the foreground on different touch screens;
第一应用与第二应用中,至少有一个应用的部分窗口界面前台显示在不同的触摸屏中。In the first application and the second application, part of the window interface of at least one application is displayed in the foreground on different touch screens.
本申请所述电子设备的一种实施方式中,所述的第一应用与第二应用可以属于同一个处理系统,其他的实施方式中,所述第一应用与第二应用也可以属于不同的处理系统,如前述所述的图6和图7所示。因此,本申请所述一种电子设备的另一种实施例中,所述第一应用与第二应用采用下述中的任意一种实施方式:In one embodiment of the electronic device described in this application, the first application and the second application may belong to the same processing system, and in other embodiments, the first application and the second application may belong to different The processing system is shown in Figures 6 and 7 previously described. Therefore, in another embodiment of the electronic device described in this application, the first application and the second application adopt any one of the following implementations:
所述第一应用与第二应用属于同一处理系统;the first application and the second application belong to the same processing system;
所述第一应用与第二应用中至少有一个应用属于不同的处理系统。At least one of the first application and the second application belongs to a different processing system.
当然,本申请实施例所述的多窗口在一种实施方式中也可以为用户当前时刻操控的应用的业务窗口界面,其他的一种实施例中也可以包括应用的缩略图窗口界面或者缩放图窗口界面。Of course, the multi-window described in this embodiment of the present application may also be a business window interface of an application controlled by the user at the current moment in one embodiment, and may also include a thumbnail window interface or a zoomed image of an application in another embodiment. window interface.
其他的实施方式中,用户也可以采用点击的操控行为实现多窗口模式下建立跨应用之间的通信。或者,通过点击、滑动、长按等方式的组合。本申请所述一种电子设备的另一种实施例中,可以满足和方便一些用户跨应用作业时的操控习惯。具体的,本申请所述一种电子设备的另一种实施例中,所述作所述第一应用指向第二应用的预设触发条件包括下述中的至少一种:In other implementation manners, the user may also use the manipulation behavior of clicking to establish communication between applications in a multi-window mode. Or, through a combination of taps, swipes, long presses, etc. In another embodiment of the electronic device described in the present application, the control habits of some users when working across applications can be satisfied and facilitated. Specifically, in another embodiment of the electronic device described in this application, the preset trigger condition for directing the first application to the second application includes at least one of the following:
识别出的用户操控轨迹为,在预设有效周期内Ts,在第一应用的窗口界面点击次数符合第一要求M、在第二应用的窗口界面点击次数符合第二要求,M、N为预先设置的点击次数,Ts为用户操控轨迹有效时间,Ts≥0秒,M≥1,N≥1;The identified user manipulation trajectory is that, within the preset valid period Ts, the number of clicks on the window interface of the first application meets the first requirement M, and the number of clicks on the window interface of the second application meets the second requirement, where M and N are preset. Set the number of clicks, Ts is the effective time of the user's control track, Ts≥0 seconds, M≥1, N≥1;
识别出的用户操控轨迹为,通过在第一应用的窗口界面中滑动出预设图案来选中第一应用,并从所述预设图案位置向第二应用窗口界面所在的位置方向滑动至少第一阈值距离;The identified user manipulation trajectory is: selecting the first application by sliding out a preset pattern in the window interface of the first application, and sliding at least the first threshold distance;
识别出的用户操控轨迹为,在预设有效周期内Ts,在第一应用的窗口界面点击次数符合第一要求K,并从所述第一应用的窗口界面向第二应用窗口界面所在的位置方向滑动至少第二阈值距离,K为预先设置的点击次数,Ts为用户操控轨迹有效时间,Ts≥0秒,K≥1。The identified user manipulation trajectory is that within the preset valid period Ts, the number of clicks on the window interface of the first application meets the first requirement K, and the number of clicks from the window interface of the first application to the position where the window interface of the second application is located. The direction slides at least the second threshold distance, K is the preset number of clicks, Ts is the effective time of the user's control trajectory, Ts≥0 seconds, K≥1.
识别出的用户操控轨迹为,在预设有效周期内Ts,在第一应用的窗口界面中长按时间大于T毫秒,并从所述第一应用的窗口界面向第二应用窗口界面所在的位置方向滑动至少第三阈值距离,T≥0。The identified user manipulation trajectory is that, within the preset valid period Ts, the long-press time in the window interface of the first application is greater than T milliseconds, and the user moves from the window interface of the first application to the position where the window interface of the second application is located. The direction slides at least a third threshold distance, T≥0.
上述实施例所述的预设触发条件提供了若干用户方便、直观、快捷的实现不同应用之间信息交互的操控方式,可以简化用户操作,提高用户操控体验。另外,所述从所述第一应用的窗口界面向第二应用窗口界面所在的位置方向滑动可以包括通过用户肢体直接作用在触摸屏上的滑动,也可以包括通过触摸装置作用在触摸屏上的滑动,或者通过用户手势隔空执行的滑动等。所述的第一阈值、第二阈值、第三阈值等可以根据不同的使用终端、应用界面场景等进行设置。The preset trigger conditions described in the above embodiments provide a number of user-friendly, intuitive and fast manipulation methods for realizing information interaction between different applications, which can simplify user operations and improve user manipulation experience. In addition, the sliding from the window interface of the first application to the position where the window interface of the second application is located may include sliding directly acting on the touch screen through a user's limb, or may include sliding acting on the touch screen through a touch device. Or a swipe performed in the air by a user gesture, etc. The first threshold, the second threshold, the third threshold, etc. can be set according to different use terminals, application interface scenarios, and the like.
本申请所述一种电子设备的另一种实施例中,所述第一应用指向第二应用的预设触发条件可以包括:In another embodiment of the electronic device described in this application, the preset trigger condition for the first application to point to the second application may include:
识别出的用户操控轨迹为由第一应用的窗口界面滑向第二应用的窗口界面的滑动行为The identified user manipulation trajectory is a sliding behavior of sliding from the window interface of the first application to the window interface of the second application
如用户在第一应用为搜索应用B中将某个搜索结果通过手势向右侧滑动一段距离后,发出通信建立请求的广播消息。前台显示的即时通信应用IM_1、IM_2、IM_3收到广播消息后均可以直接与搜索应用B建立双向通信。然后,搜索应用B可以将相应的业务级处理数据(某条搜索结果RE_1)发送到即时通信应用IM_1、IM_2、IM_3,即时通信应用IM_1、IM_2、IM_3可以分别进行相应的响应处理。For example, after the user slides a certain search result to the right by a gesture in the first application, which is a search application B, a broadcast message of a communication establishment request is sent. After receiving the broadcast message, the instant messaging applications IM_1, IM_2, and IM_3 displayed in the foreground can directly establish two-way communication with the search application B. Then, the search application B can send the corresponding service-level processing data (a certain search result RE_1) to the instant messaging applications IM_1, IM_2, and IM_3, and the instant messaging applications IM_1, IM_2, and IM_3 can respectively perform corresponding response processing.
上述实施例的实施方式,使得用户可以直观地通过一个手势就可以让同时显示在屏幕上的两个或多个应用建立通信链路,第一应用可以利用本实施例提供的技术方案所建立的通信链路和另一应用快速实现业务级交互。因此,本申请所述一种电子设备的另一种实施例中,所述电子设备还可以包括:The implementation of the above-mentioned embodiment enables the user to intuitively establish a communication link between two or more applications displayed on the screen at the same time through a gesture. The communication link and another application quickly enable business-level interaction. Therefore, in another embodiment of the electronic device described in this application, the electronic device may further include:
业务处理单元,可以用于利用建立的所述数据通信链路实现所述第一应用与第二应用之间的业务级消息交互处理。The service processing unit may be configured to use the established data communication link to implement service-level message interaction processing between the first application and the second application.
所述通信链路至少是第一应用至第二应用的通信连接,本申请实施例具体的实现时所述通信链路可以为双向通信链路。建立通信链路后,第一应用可以基于所述数据通信链路向第二应用发送分享内容或一键支付等业务级处理消息。这种基于用户滑动手势快速实现跨应用的分享、查询等多窗口模式的信息交互,操作更加直观,用户使用便捷,有效提升用户体验。The communication link is at least a communication connection between the first application and the second application, and the communication link may be a bidirectional communication link when the embodiment of the present application is specifically implemented. After the communication link is established, the first application can send service-level processing messages such as content sharing or one-click payment to the second application based on the data communication link. This kind of information interaction in a multi-window mode such as sharing and querying across applications is quickly realized based on the user's sliding gesture. The operation is more intuitive, the user is convenient to use, and the user experience is effectively improved.
本申请提供的数据通信处理方法或装置或电子设备可以用于多种带有触摸显示设备的终端设备中,如移动通信终端(手机等)、平板、PDA、PC、服务器、业务处理系统等,实现多窗口模式下基于用户触摸屏上的某种预设操控动作(如用户在触摸屏上的某种滑动手势)来建立触摸显示设备中不同应用之间的数据通信,实现不同应用之间的业务交互,提升用户触摸显示设备的操控体验。因此,本申请还提供一种触摸显示设备,图18是本申请所述一种触摸显示设备一种实施例的结构示意图,如图18所示,所述触摸显示设备可以包括至少包括一个触摸屏和一个处理器,The data communication processing method or device or electronic device provided in this application can be used in a variety of terminal devices with touch display devices, such as mobile communication terminals (mobile phones, etc.), tablets, PDAs, PCs, servers, business processing systems, etc., Realize the establishment of data communication between different applications in the touch display device based on a certain preset manipulation action on the user's touch screen (such as a certain sliding gesture of the user on the touch screen) in the multi-window mode, and realize business interaction between different applications. , to improve the control experience of the user's touch display device. Therefore, the present application also provides a touch display device. FIG. 18 is a schematic structural diagram of an embodiment of the touch display device described in the present application. As shown in FIG. 18 , the touch display device may include at least one touch screen and a processor,
所述触摸屏,可以用于应用窗口的界面信息显示和感应作用在所述触摸屏上的操控行为,并将所述操控行为产生的相应的操控指令发送给处理器;The touch screen can be used to display interface information of an application window and sense manipulation actions acting on the touch screen, and send corresponding manipulation instructions generated by the manipulation actions to the processor;
所述处理器,被设置成,可以用于根据所述操控指令识别出用户操控轨迹,并在确定所述用户操控轨迹满足第一应用指向第二应用的预设触发条件时发送第一应用的通信建立请求;还可以用于在所述第二应用接收到所述通信建立请求后,判断所述第二应用的状态是否为界面显示于所述触摸屏前台的多窗口模式;还可以用于当所述判断的结果为是时,建立所述第一应用与所述第二应用的数据通信链路。The processor is configured to identify the user manipulation track according to the manipulation instruction, and send the first application's information when it is determined that the user manipulation track satisfies a preset trigger condition that the first application points to the second application. communication establishment request; can also be used to determine whether the state of the second application is a multi-window mode in which the interface is displayed in the foreground of the touch screen after the second application receives the communication establishment request; can also be used when When the result of the judgment is yes, a data communication link between the first application and the second application is established.
在一些使用Android系统版本的终端设备中,可以通过Android系统提供的API(Application Programming Interface,API,应用程序编程接口)来判断当前某个应用是否处于多窗口模式,以及是否在屏幕前台显示。一种实施方式中,所述的第一应用与第二应用可以属于同一个处理系统,其他的实施方式中,所述第一应用与第二应用也可以属于不同的处理系统。In some terminal devices using the Android system version, it can be judged whether an application is currently in a multi-window mode and whether it is displayed in the foreground of the screen through an API (Application Programming Interface, API, application programming interface) provided by the Android system. In one implementation manner, the first application and the second application may belong to the same processing system, and in other implementation manners, the first application and the second application may also belong to different processing systems.
所述触摸显示设备的一种实施例中,用户可以通过在触摸屏上的滑动手势来实现建立不同应用之间的通信链路。因此,本申请提供的一种触摸显示设备的另一种实施例中,所述第一应用指向第二应用的预设触发条件可以包括:In an embodiment of the touch display device, the user can establish a communication link between different applications through a sliding gesture on the touch screen. Therefore, in another embodiment of a touch display device provided by the present application, the preset trigger condition for the first application to point to the second application may include:
识别出的用户操控轨迹为由第一应用的窗口界面滑向第二应用的窗口界面的滑动行为。The identified user manipulation track is a sliding behavior of sliding from the window interface of the first application to the window interface of the second application.
本申请提供的一种触摸显示设备的另一种实施例中,所述处理器以消息广播的方式发送第一应用的通信建立请求;In another embodiment of the touch display device provided by the present application, the processor sends the communication establishment request of the first application by means of message broadcasting;
相应的,所述建立所述第一应用与所述第二应用的数据通信链路包括:Correspondingly, the establishing a data communication link between the first application and the second application includes:
在所述第二应用接收所述通信建立请求后建立第二应用到所述第一应用的通信链路,并向所述第一应用返回应答消息;After the second application receives the communication establishment request, establish a communication link between the second application and the first application, and return a response message to the first application;
在所述第一应用于接收所述第二应用的应答消息后建立第一应用到第二应用的点对点通信链路。A point-to-point communication link from the first application to the second application is established after the first application receives the reply message from the second application.
在Android系统中,可以设定应用A、应用B启动后向Android系统注册BroadcastReceiver(广播接收器),这样,当Android系统收到Broadcast时才会回调预先注册的BroadcastReceiver来通知应用。例如一种常用的注册方法为静态注册,静态注册通常是指在AndroidManifest.xml的application里面定义receiver并设置要接收的action(执行者或执行进程,如com.apptest.message.request和com.apptest.message.response)。In the Android system, you can set the application A and application B to register the BroadcastReceiver (broadcast receiver) with the Android system after startup, so that when the Android system receives a Broadcast, it will call back the pre-registered BroadcastReceiver to notify the application. For example, a common registration method is static registration. Static registration usually refers to defining the receiver in the application of AndroidManifest.xml and setting the action to be received (executor or execution process, such as com.apptest.message.request and com.apptest .message.response).
当用户双指触摸到手机上的触摸屏时,记录此时时间T1和两指触摸的坐标C1,滑动过程中可以一直记录时间和坐标数据。在滑动完成后,根据记录的滑动完成时的时间T2判断用户滑动的时间间隔T是否小于阈值1500ms;并将起始和终止时两指的坐标求平均值,通过起始和终止坐标计算滑动直线距离L是否超过了阈值滑动距离=L300像素。然后通过Android系统提供的API判断当前应用A是处于多窗口模式,以及如果判决结果均满足上述滑动的时间间隔和滑动距离的触发要求,则可以确定用户在触摸屏上的滑动行为触发了指向了另一应用的操控事件。When the user touches the touch screen on the mobile phone with two fingers, the time T1 and the coordinates C1 touched by the two fingers are recorded, and the time and coordinate data can be recorded all the time during the sliding process. After the sliding is completed, according to the recorded time T2 when the sliding is completed, it is judged whether the time interval T of the user's sliding is less than the threshold value of 1500ms; the coordinates of the two fingers at the start and end are averaged, and the sliding line is calculated by the start and end coordinates. Whether the distance L exceeds the threshold sliding distance = L300 pixels. Then, it is judged through the API provided by the Android system that the current application A is in the multi-window mode, and if the judgment results meet the above-mentioned triggering requirements of the sliding time interval and sliding distance, it can be determined that the user's sliding behavior on the touch screen has triggered the user to point to another An application manipulation event.
具体的一个实例中,如在手机Android系统中,应用A可以发送携带自己包名的request广播消息。当应用B收到request广播后,可以先决定是否响应应用A发来的请求。若此时系统未处理紧急事件或排他进程的应用或处于其他繁忙状态等,则可以同意应用A的请求,建立B到A的单向通信链接。然后,可以通过Android提供的API判断当前应用B是否处于多窗口模式,以及是否在屏幕前台显示。判断通过后,应用B随机监听一个可用的网络Socket端口,如8080,根据接收到应用的request发送response广播,并携带应用B自己的包名和所监听的端口。应用B监听网络Socket端口8080,等待端口被连接。A应用收到应用B的response广播后,如果同意与该应用B连接,则主动连接应用B监听的Socket端口8080。连接成功后则建立了应用A与应用B的点对点通信链路。In a specific example, such as in the mobile phone Android system, application A may send a request broadcast message carrying its own package name. When application B receives the request broadcast, it can first decide whether to respond to the request sent by application A. If the system does not handle emergency events or applications of exclusive processes or is in other busy states at this time, the system can agree to the request of application A and establish a one-way communication link from B to A. Then, it can be judged whether the current application B is in the multi-window mode and whether it is displayed in the foreground of the screen through the API provided by Android. After the judgment is passed, application B randomly monitors an available network socket port, such as 8080, and sends a response broadcast according to the request received from the application, and carries the package name of application B and the monitored port. Application B listens on network socket port 8080, waiting for the port to be connected. After application A receives the response broadcast of application B, if it agrees to connect with application B, it will actively connect to the Socket port 8080 monitored by application B. After the connection is successful, a point-to-point communication link between application A and application B is established.
本申请上述实施例提供的触摸显示设备,当确定出用户需要在不同的应用之间进行信息交互时可以快速建立应用之间的通信,可以实现用户直观地通过简单、直观的滑动手势就可以让同时显示在屏幕上的至少两个应用建立通信链路。触摸显示设备可以利用本申请提供的技术方案所建立的通信链路和另一应用进行业务级的交互,具体的交互方式/响应内容可以由业务开发人员根据不同的场景进行设计,例如一键分享、一键支付、一键听歌等。显然,本申请实施方案在PC终端、Android/iOS系统终端等越来越多支持应用多窗口的终端设备中能大幅简化用户分享、搜索等不用应用之间的交互操作,满足用户需求,并且这种应用间的交互方式还可以大幅提高用户终端操控体验,提高用户产品使用感知度。The touch display device provided by the above embodiments of the present application can quickly establish communication between applications when it is determined that the user needs to perform information interaction between different applications, so that the user can intuitively use a simple and intuitive sliding gesture to At least two applications simultaneously displayed on the screen establish a communication link. The touch display device can use the communication link established by the technical solution provided in this application to perform business-level interaction with another application. The specific interaction method/response content can be designed by the business developer according to different scenarios, such as one-click sharing. , one-click payment, one-click listening to songs, etc. Obviously, the implementation of the present application can greatly simplify user sharing, search, and other interactions between different applications in more and more terminal devices that support application multi-windows, such as PC terminals and Android/iOS system terminals, and meet user needs. The interaction between these applications can also greatly improve the user terminal control experience and improve the user's product usage perception.
本申请提供的数据通信处理方法或装置或电子设备可以用于另一种带有触摸显示设备的终端设备中,如移动通信终端(手机等)、平板、PDA、PC、服务器、业务处理系统等,实现多窗口模式下基于用户触摸屏上的某种预设操控动作(如用户在触摸屏上的某种滑动手势)来建立触摸显示设备中不同业务项之间的信息交互,快速实现相同应用或不同应用的业务项之间的操作,提升用户触摸显示设备的操控体验。因此,本申请还提供另一种触摸显示设备,图19是本申请所述一种触摸显示设备一种实施例的结构示意图,如图19所示,所述触摸显示设备可以包括至少包括一个触摸屏和一个处理器,The data communication processing method or device or electronic device provided in this application can be used in another terminal device with a touch display device, such as a mobile communication terminal (mobile phone, etc.), tablet, PDA, PC, server, business processing system, etc. , to realize the information interaction between different business items in the touch display device based on a certain preset manipulation action on the user's touch screen (such as a certain sliding gesture of the user on the touch screen) in the multi-window mode, and quickly realize the same application or different business items. The operation between the business items of the application improves the user's control experience of the touch display device. Therefore, the present application further provides another touch display device. FIG. 19 is a schematic structural diagram of an embodiment of the touch display device described in the present application. As shown in FIG. 19 , the touch display device may include at least one touch screen. and a processor,
所述触摸屏,可以用于应用窗口的界面信息显示和感应作用在所述触摸屏上的操控行为,并将所述操控行为产生的相应的操控指令发送给处理器;The touch screen can be used to display interface information of an application window and sense manipulation actions acting on the touch screen, and send corresponding manipulation instructions generated by the manipulation actions to the processor;
所述处理器,被设置成,可以用于判断所述用户操控轨迹是否满足发第一业务项指向第二业务项的预设触发条件;还可以用于当所述判断结果为是时,采用所述第二业务项的响应方式处理所述第一业务项的业务处理请求。The processor is configured to judge whether the user manipulation trajectory satisfies the preset trigger condition for sending the first service item to point to the second service item; it can also be used to, when the judgment result is yes, use The response mode of the second service item processes the service processing request of the first service item.
本申请提供的一种触摸显示设备的另一种实施例中,所述第一业务项指向第二业务项的预设触发条件包括:In another embodiment of the touch display device provided by the present application, the preset trigger condition for the first service item to point to the second service item includes:
识别出的用户操控轨迹为在触摸屏前台显示的应用窗口界面中由第一业务项的窗口界面滑向第二业务项的窗口界面。The identified user manipulation track is that in the application window interface displayed in the foreground of the touch screen, the window interface of the first business item slides to the window interface of the second business item.
上述进行交互处理的所述的第一业务项与第二业务项可以属于同一个应用中的不同业务项,也可以为不同应用中的业务项。本申请提供的一种触摸显示设备的另一种实施例中,所述第一业务项与第二业务项采用下述中的任意一种实施方式:The above-mentioned first service item and second service item for interactive processing may belong to different service items in the same application, or may be service items in different applications. In another embodiment of a touch display device provided by the present application, the first service item and the second service item adopt any one of the following implementations:
所述第一业务项与第二业务项属于同一应用中的业务项;The first business item and the second business item belong to business items in the same application;
所述第一业务项与第二业务项项中至少有一个业务项属于不同的应用。At least one of the first service item and the second service item belongs to a different application.
本申请实施例提供的另一种触摸显示设备中国,可以实现应用窗口界面不同的业务项之间的滑动操控实现跨业务之间的交互处理。不同业务项之间可以通过触摸屏上的手势滑动操控等快速执行不同业务项之间的交互处理,提高用户操作体验。Another touch display device provided by the embodiment of the present application, China, can realize the sliding control between different business items in the application window interface to realize the interactive processing between the cross-services. Different business items can quickly perform interactive processing between different business items through gesture sliding manipulation on the touch screen, thereby improving user operation experience.
本申请目的在于提供一种数据通信处理方法、装置及电子设备、触摸显示设备,利用多窗口模式下屏幕可以同时显示多个应用窗口的特点,实现通过用户的简单、直观的操控手势操即可让同时显示在屏幕上的至少两个应用建立通信链路,实现快速、便捷的终端设备中不同应用之间应用交互,减少用户操作,提高用户操作和使用体验。本申请实施方案在PC终端、Android/iOS系统终端等越来越多支持应用多窗口的终端设备中能大幅简化用户分享、搜索等不用应用之间的交互操作,满足用户需求,并且这种应用间的交互方式还可以大幅提高用户终端操控体验,提高用户产品使用感知度。The purpose of this application is to provide a data communication processing method, device, electronic device, and touch display device, which utilizes the feature that multiple application windows can be displayed simultaneously on the screen in a multi-window mode, and can be operated through simple and intuitive manipulation gestures by the user. Let at least two applications displayed on the screen at the same time establish a communication link, realize fast and convenient application interaction between different applications in the terminal device, reduce user operations, and improve user operation and use experience. The embodiments of the present application can greatly simplify the interaction between different applications such as user sharing and searching in PC terminals, Android/iOS system terminals and more and more terminal devices that support application multi-windows, so as to meet user needs. The interaction between the two can also greatly improve the user terminal control experience and improve the user's product usage perception.
尽管本申请内容中提到消息广播或点对点通信的消息交互方式、双指触摸或肢体感应的隔空触摸的操控方式、点击或长按或滑动或画圈等的用户操控轨迹、连续或非连续的用户操控轨迹定义、多应用处于同屏或分屏的多窗口显示方式等之类的信息交互方式、用户手势识别、多窗口前台显示实时场景等的描述,但是,本申请并不局限于必须是符合行业通信标准、触摸屏输入信息识别、滑动轨迹定义或实施例所描述的情况。某些行业标准或者使用自定义方式或实施例描述的实施基础上略加修改后的实施方案也可以实现上述实施例相同、等同或相近、或变形后可预料的实施效果。应用这些修改或变形后的数据获取、存储、判断、处理方式等获取的实施例,仍然可以属于本申请的可选实施方案范围之内。Although the content of this application mentions the message interaction method of message broadcasting or point-to-point communication, the control method of two-finger touch or body-sensing air-to-air touch, the user's control trajectory of clicking or long pressing or sliding or drawing a circle, continuous or discontinuous The description of user control trajectory definition, multi-window display mode with multiple applications on the same screen or split screen, etc., user gesture recognition, multi-window foreground display real-time scene, etc., but this application is not limited to the necessary It is in line with industry communication standards, touch screen input information recognition, sliding track definition or the situation described in the embodiments. Some industry standards or implementations described using custom methods or examples with slight modifications can also achieve the same, equivalent or similar, or predictable implementation effects after deformations of the above-mentioned examples. The modified or deformed data acquisition, storage, judgment, processing and other acquisition examples can still fall within the scope of optional embodiments of the present application.
虽然本申请提供了如实施例或流程图所述的方法操作步骤,但基于常规或者无创造性的手段可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的装置或终端产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行(例如并行处理器或者多线程处理的环境,甚至为分布式数据处理环境)。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、产品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、产品或者设备所固有的要素。在没有更多限制的情况下,并不排除在包括所述要素的过程、方法、产品或者设备中还存在另外的相同或等同要素。Although the present application provides method operation steps as described in the embodiments or flow charts, more or less operation steps may be included based on conventional or non-inventive means. The sequence of steps enumerated in the embodiments is only one of the execution sequences of many steps, and does not represent the only execution sequence. When an actual device or terminal product is executed, it can be executed sequentially or in parallel according to the methods shown in the embodiments or the drawings (eg, a parallel processor or multi-threaded processing environment, or even a distributed data processing environment). The terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, product or device comprising a list of elements includes not only those elements, but also others not expressly listed elements, or also include elements inherent to such a process, method, product or device. Without further limitation, it does not preclude the presence of additional identical or equivalent elements in a process, method, product or apparatus comprising the stated elements.
上述实施例阐明的单元、装置或模块等,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。为了描述的方便,描述以上装置时以功能分为各种模块分别描述。当然,在实施本申请时可以把各模块的功能在同一个或多个软件和/或硬件中实现,也可以将实现同一功能的模块由多个子模块或子单元的组合实现等。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。The units, devices or modules described in the above embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. For the convenience of description, when describing the above device, the functions are divided into various modules and described respectively. Of course, when implementing the present application, the functions of each module can be implemented in the same one or more software and/or hardware, and the modules that implement the same function can also be implemented by a combination of multiple sub-modules or sub-units. The apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内部包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。Those skilled in the art also know that, in addition to implementing the controller in the form of pure computer-readable program code, the controller can be implemented as logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded devices by logically programming the method steps. The same function can be realized in the form of a microcontroller, etc. Therefore, such a controller can be regarded as a hardware component, and the devices included therein for realizing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions can be regarded as both a software module implementing a method and a structure within a hardware component.
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构、类等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,移动终端,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in storage media, such as ROM/RAM, magnetic disks , CD, etc., including several instructions to make a computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) execute the methods described in various embodiments or some parts of the embodiments of the present application.
本说明书中的各个实施例采用递进的方式描述,各个实施例之间相同或相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。本申请可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. The present application may be used in numerous general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable electronics, network PCs, minicomputers, mainframe computers, including the above Distributed computing environment of any system or device, etc.
虽然通过实施例描绘了本申请,本领域普通技术人员知道,本申请有许多变形和变化而不脱离本申请的精神,希望所附的权利要求包括这些变形和变化而不脱离本申请的精神。Although the application has been described by way of examples, those of ordinary skill in the art will recognize that the application is subject to many modifications and changes without departing from the spirit of the application, and it is intended that the appended claims include such modifications and changes without departing from the spirit of the application.
Claims (23)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610694486.2A CN106909297B (en) | 2016-08-19 | 2016-08-19 | A data communication processing method, device and electronic device, touch display device |
CN202011636555.7A CN112596664B (en) | 2016-08-19 | 2016-08-19 | Data communication processing method and device, electronic equipment and touch display equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610694486.2A CN106909297B (en) | 2016-08-19 | 2016-08-19 | A data communication processing method, device and electronic device, touch display device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011636555.7A Division CN112596664B (en) | 2016-08-19 | 2016-08-19 | Data communication processing method and device, electronic equipment and touch display equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106909297A CN106909297A (en) | 2017-06-30 |
CN106909297B true CN106909297B (en) | 2020-11-20 |
Family
ID=59206623
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610694486.2A Active CN106909297B (en) | 2016-08-19 | 2016-08-19 | A data communication processing method, device and electronic device, touch display device |
CN202011636555.7A Active CN112596664B (en) | 2016-08-19 | 2016-08-19 | Data communication processing method and device, electronic equipment and touch display equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011636555.7A Active CN112596664B (en) | 2016-08-19 | 2016-08-19 | Data communication processing method and device, electronic equipment and touch display equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN106909297B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943364B (en) * | 2017-11-23 | 2019-11-26 | 武汉卓讯互动信息科技有限公司 | A kind of method and apparatus of parallel operation application interface |
EP3502835B1 (en) | 2017-12-20 | 2025-05-14 | Nokia Technologies Oy | Gesture control of a data processing apparatus |
CN110502957B (en) * | 2018-05-17 | 2023-03-10 | 上海耕岩智能科技有限公司 | Touch control assembly operation method and device for synchronously verifying fingerprint information |
CN108829528B (en) * | 2018-06-11 | 2021-06-25 | 腾讯科技(深圳)有限公司 | Content sharing method and device, and message processing method and device |
CN108984092B (en) * | 2018-06-27 | 2020-12-22 | Oppo广东移动通信有限公司 | Device control method, device, storage medium and electronic device |
CN109002245B (en) * | 2018-07-27 | 2020-06-19 | 维沃移动通信有限公司 | Application interface operation method and mobile terminal |
CN111124217A (en) * | 2018-10-31 | 2020-05-08 | 中兴通讯股份有限公司 | Information processing method, terminal and storage medium |
CN109614020A (en) * | 2019-01-31 | 2019-04-12 | 维沃移动通信有限公司 | A payment method and terminal |
CN111371950A (en) * | 2020-02-28 | 2020-07-03 | Oppo(重庆)智能科技有限公司 | Split screen response method and device, terminal and storage medium |
CN111651116B (en) * | 2020-06-04 | 2022-06-14 | 京东方科技集团股份有限公司 | Split screen interaction method, electronic equipment and computer storage medium |
CN111930425B (en) * | 2020-06-23 | 2022-06-10 | 联宝(合肥)电子科技有限公司 | Data control method and device and computer readable storage medium |
CN111753556B (en) * | 2020-06-24 | 2022-01-04 | 掌阅科技股份有限公司 | Bilingual comparison reading method, terminal and computer storage medium |
CN111831205B (en) * | 2020-07-09 | 2022-04-19 | Oppo广东移动通信有限公司 | Device control method, device, storage medium and electronic device |
CN112732160A (en) * | 2021-01-11 | 2021-04-30 | 微视显示器科技(深圳)有限公司 | Touch identification method of display system and display system |
CN113126874B (en) * | 2021-04-15 | 2022-07-15 | 杭州当贝网络科技有限公司 | Control method and control system of terminal equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103473027A (en) * | 2013-09-16 | 2013-12-25 | 张智锋 | Split-screen multi-task interaction method for communication terminal and communication terminal |
CN103558986A (en) * | 2013-01-26 | 2014-02-05 | 广州市沃希信息科技有限公司 | File transfer method and file transfer system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110014040A (en) * | 2009-08-04 | 2011-02-10 | 엘지전자 주식회사 | Mobile terminal and its icon collision control method |
KR101651128B1 (en) * | 2009-10-05 | 2016-08-25 | 엘지전자 주식회사 | Mobile terminal and method for controlling application execution thereof |
US20120289290A1 (en) * | 2011-05-12 | 2012-11-15 | KT Corporation, KT TECH INC. | Transferring objects between application windows displayed on mobile terminal |
CN103067569B (en) * | 2012-12-10 | 2015-01-14 | 广东欧珀移动通信有限公司 | Method and device of multi-window displaying of smart phone |
KR102085181B1 (en) * | 2013-10-23 | 2020-03-05 | 삼성전자주식회사 | Method and device for transmitting data and method and device for receiving data |
CN103870121B (en) * | 2014-02-24 | 2017-06-27 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
US9495064B2 (en) * | 2014-02-12 | 2016-11-15 | Beijing Lenovo Software Ltd. | Information processing method and electronic device |
CN105094551A (en) * | 2015-07-24 | 2015-11-25 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2016
- 2016-08-19 CN CN201610694486.2A patent/CN106909297B/en active Active
- 2016-08-19 CN CN202011636555.7A patent/CN112596664B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103558986A (en) * | 2013-01-26 | 2014-02-05 | 广州市沃希信息科技有限公司 | File transfer method and file transfer system |
CN103473027A (en) * | 2013-09-16 | 2013-12-25 | 张智锋 | Split-screen multi-task interaction method for communication terminal and communication terminal |
Also Published As
Publication number | Publication date |
---|---|
CN112596664B (en) | 2024-10-22 |
CN112596664A (en) | 2021-04-02 |
CN106909297A (en) | 2017-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106909297B (en) | A data communication processing method, device and electronic device, touch display device | |
CN114764298B (en) | Cross-device object dragging method and device | |
CN102855081B (en) | The apparatus and method that web browser interface using gesture is provided in a device | |
US8890818B2 (en) | Apparatus and method for proximity based input | |
US8593398B2 (en) | Apparatus and method for proximity based input | |
US8890825B2 (en) | Apparatus and method for determining the position of user input | |
KR101229699B1 (en) | Method of moving content between applications and apparatus for the same | |
CN106125984B (en) | A touch processing method for a mobile terminal and the mobile terminal | |
US20090102809A1 (en) | Coordinate Detecting Device and Operation Method Using a Touch Panel | |
CN104123024B (en) | A kind of terminal device and apparatus control method | |
CN107870723B (en) | A floating button display method and terminal device | |
CN102609130A (en) | Touch event anticipation in a computing device | |
JP2015153420A (en) | Multitask switching method and system and electronic equipment having the same system | |
WO2018086234A1 (en) | Method for processing object, and terminal | |
CN104063092B (en) | A kind of touch screen control method and device | |
CN102023735A (en) | Touch input equipment, electronic equipment and mobile phone | |
CN106708399A (en) | Touch method for electronic terminal with double-side curved surface screens and device | |
KR20140019530A (en) | Method for providing user's interaction using mutil touch finger gesture | |
CN105320265A (en) | Control method of electronic device | |
US20130044061A1 (en) | Method and apparatus for providing a no-tap zone for touch screen displays | |
CN104808810A (en) | Method and mobile terminal for performing mouse input | |
CN106155452A (en) | The implementation method of a kind of one-handed performance and terminal | |
US9870061B2 (en) | Input apparatus, input method and computer-executable program | |
CN104063142B (en) | Information processing method, device and electronic device | |
CN109413257B (en) | Electronic device and data sharing method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200925 Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Applicant after: Innovative advanced technology Co.,Ltd. Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Applicant before: Advanced innovation technology Co.,Ltd. Effective date of registration: 20200925 Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands Applicant after: Advanced innovation technology Co.,Ltd. Address before: Greater Cayman, British Cayman Islands Applicant before: Alibaba Group Holding Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |