WO2015176352A1 - Android system-based method and device for information exchange between applications - Google Patents
Android system-based method and device for information exchange between applications Download PDFInfo
- Publication number
- WO2015176352A1 WO2015176352A1 PCT/CN2014/081006 CN2014081006W WO2015176352A1 WO 2015176352 A1 WO2015176352 A1 WO 2015176352A1 CN 2014081006 W CN2014081006 W CN 2014081006W WO 2015176352 A1 WO2015176352 A1 WO 2015176352A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- receiving
- application
- notification message
- sending
- sub
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Definitions
- the present invention relates to the field of communications, and in particular, to an application method and apparatus for inter-application information exchange based on an Android system. Background technique
- the processing power and computing power are comparable to those of the personal PC, but the application management method provided by the Android system is essentially a single-task mechanism and cannot be implemented between different applications.
- Fast information interaction, in the process of use, users are increasingly hoping to exchange information between two applications of the Android system terminal efficiently and accurately, for example:
- embodiments of the present invention are directed to an application-to-application information interaction method and apparatus based on an Android system, which can implement fast and accurate interaction of information between applications of an Android system terminal.
- An embodiment of the present invention provides an inter-application information interaction method based on an Android system, including: receiving an information interaction instruction between a first application running in a first sub-window and a second application running in a second sub-window;
- the first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen.
- determining, according to the information interaction instruction, the information resource to be exchanged in the first application that is the sending end, and sending the receiving the notification message to the second application that is the receiving end the method includes: determining, in the first application, the pre-defined sending Whether the interface function can process the sending notification message, and output the first judgment result;
- the sending interface function can process the sending notification message, determine whether the pre-defined sending message processing function in the first application matches the sending notification message, and output a second determination result; And when the second determination result indicates that the sending message processing function matches the sending notification message, calling the sending message processing function to process the sending notification message to determine an information resource to be exchanged.
- the receiving the notification message includes a broadcast message sent by the application management service Activity Manager Service; and the sending the notification message includes a broadcast message sent by the application management service Activity Manager Service.
- processing, by the receiving end, the receiving notification message, determining the receiving location and the meaning of the receiving notification message include:
- the third determination result indicates that the receiving interface function is capable of processing the receiving notification message, determining whether the pre-defined receiving message processing function in the second application matches the receiving notification message, and outputting a fourth determination result;
- the receiving message processing function is called to process the receiving notification message, and determining a meaning and a receiving position of the receiving notification message.
- the method further includes: determining, by the parameter defined in the Menifest.xml description file of the second application, whether the second application supports the receiving function, Outputting a fifth judgment result;
- the method before the sending the notification message to the second application as the receiving end, the method further includes: determining, by the input reading tool, the UP message reported by the input reader after receiving the information interaction instruction, the information interaction target location;
- Determining, by the information interaction target location, the second application is a receiving end.
- the step of using the information resource to change the state of the second application specifically includes: copying the information resource to a receiving location in the second application;
- the method before receiving the information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window, the method further includes:
- the virtual device maintains at least one virtual device environment capable of providing an execution environment for foreground tasks running on the virtual device.
- the embodiment of the invention further provides an inter-application information interaction device based on the Android system, which comprises:
- the information interaction instruction receiving module is configured to receive an information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window;
- Receiving a notification message sending module configured to determine, according to the information interaction instruction, an information resource to be exchanged in a first application that is a sending end, and send a receiving notification message to a second application that is a receiving end;
- Receiving a notification message processing module configured to process the receiving notification message at the receiving end, determine a receiving location, and receive a meaning of the notification message;
- Receiving an execution module configured to apply the information resource to the second application according to the meaning of the received notification message and the receiving location;
- the first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen.
- the receiving notification message sending module includes:
- a first determining unit configured to determine whether the pre-defined sending interface function in the first application is capable of processing the sending notification message, and outputting the first determining result
- a second determining unit configured to determine, when the first determining result indicates that the sending interface function is capable of processing the sending notification message, determining whether a pre-defined sending message processing function in the first application matches the sending notification message , outputting a second judgment result;
- the information resource determining unit is configured to: when the second determining result indicates that the sending message processing function matches the sending notification message, invoking the sending message processing function to process the sending notification message to determine an information resource to be exchanged .
- the receiving the notification message includes a broadcast message sent by the application management service Activity Manager Service; and the sending the notification message includes a broadcast message sent by the application management service Activity Manager Service.
- the receiving the notification message processing module further includes:
- a third determining unit configured to determine whether the receiving interface function predefined in the second application is capable of processing the receiving notification message, and outputting a third determining result
- a fourth determining unit configured to determine, when the third determining result indicates that the receiving interface function is capable of processing the receiving notification message, determining whether a pre-defined receiving message processing function in the second application matches the receiving notification message , outputting a fourth judgment result;
- the receiving information acquiring unit is configured to: when the fourth determining result indicates that the receiving message processing function matches the receiving notification message, invoking the receiving message processing function to process the receiving notification message, determining a meaning of receiving the notification message And receiving location.
- the device further includes:
- a fifth determining module configured to determine whether the second application supports the receiving function by using a parameter predefined in the Menifest.xml description file of the second application, and outputting a fifth determining result; when the fifth determining result indicates When the second application supports the receiving function, triggering the receiving pass Know the message processing module.
- the device further includes:
- the information interaction target location determining module is configured to: determine, by using the input reading tool, the Reader, the UP message reported after receiving the information interaction instruction to determine the information interaction target location;
- the receiving end determining module is configured to determine, by the information interaction target location, that the second application is a receiving end.
- the state change module specifically includes:
- a copying unit configured to copy the information resource to a receiving location in the second application;
- the operation control unit configured to cause the second application to run the information resource.
- the device further includes:
- a sub-window mapping module configured to map the first sub-window and the second sub-window respectively to the corresponding virtual device
- Management virtual module configured to virtualally generate a management mechanism required to run the first application in the first sub-window, and virtually generate a management mechanism required to run the second application in the second sub-window;
- application startup module configuration Starting and running the first application in the first sub-window according to the first application startup instruction sent by the user; and starting and running the second application in the second sub-window according to the second application startup instruction sent by the user;
- the virtual device maintains at least one virtual device environment capable of providing an execution environment for foreground tasks running on the virtual device.
- the information interaction instruction receiving module the receiving notification message sending module, the receiving notification message processing module, the receiving and executing module, the first determining unit, the second determining unit, and the information resource determining unit
- the copy unit, the operation control unit, the sub-window mapping module, the management virtual module, and the application startup module The block can be implemented by a central processing unit (CPU), a digital signal processor (DSP), or a Field-Programmable Gate Array (FPGA).
- CPU central processing unit
- DSP digital signal processor
- FPGA Field-Programmable Gate Array
- the Android-based inter-application information interaction method and apparatus provided by the embodiments of the present invention can implement the application information interaction of the Android system terminal in a fast and accurate manner.
- the user can drag the information resource to be interacted to the second application by dragging.
- the information resource in the first application is loaded as the startup resource of the second application, and the information interaction between the first application and the second application is implemented.
- FIG. 1 is a flowchart of a method for inter-application information exchange based on an Android system according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of determining, in a first application, a information resource to be exchanged, and as a receiving end, A specific flowchart of the step of the second application transmitting and receiving the notification message
- FIG. 3 is a specific flowchart of the step of processing the receiving notification message at the receiving end to determine the receiving location and receiving the meaning of the notification message;
- FIG. 4 is a flowchart of creating a sub-window according to an embodiment of the present invention.
- 5A and 5B are schematic diagrams showing the first sub-window and the second sub-window of the two embodiments of the present invention.
- FIG. 6 is a flow chart of an inter-application information interaction method based on an Android system according to still another embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of an inter-application information interaction apparatus based on an Android system according to an embodiment of the present invention. detailed description
- the present invention provides an application-to-application information interaction method based on an Android system, including the following steps:
- the first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen.
- the Android-based inter-application information interaction method provided by the present invention realizes information interaction between the first application and the second application simultaneously presented on the Android system terminal screen, and the user only needs to send the information through a touch screen or other input device.
- the interactive instruction can apply the information resource to be interacted to the second application as the receiving end, thereby improving the speed and efficiency of information interaction.
- the first application and the second application are used to display the sub-window simultaneously displayed on the screen of the Android terminal, so that the transmitting end and the receiving end can be simultaneously presented on the same screen, so that the user can intuitively control the information interaction through the information interaction instruction. Improve the accuracy of information interaction.
- the method for inter-application information interaction based on the Android system includes the steps shown in FIG. 1 , specifically:
- Step 101 Receive an information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window.
- Step 102 Determine, according to the information interaction instruction, the information resource to be exchanged in the first application that is the sending end, and send the receiving notification message to the second application that is the receiving end.
- the sending notification message may be sent to the first application that is the sending end by using an Activity Manager Service.
- the information interaction instruction is an instruction sent by the user by touching the touch screen of the Android terminal
- the information resource to be interacted can be determined by the starting position pressed by the user.
- Step 103 Processing the receiving notification message at the receiving end to determine the meaning of the receiving location and the receiving notification message.
- the information resource to be exchanged may be determined by parsing the sending notification message by matching the behavior capability set in the message processing function to the manner in which the notification message is sent.
- Step 104 Apply the information resource to the second application according to the meaning of the receiving notification message and the receiving location.
- Applying the information resource to the second application process may include copying and pasting the information resource from the first application into the second application, and may further include the information resource in the second application Play and so on.
- the first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen.
- the step of determining, according to the information interaction instruction, the information resource to be exchanged in the first application as the transmitting end, and sending the receiving notification message to the second application as the receiving end specifically includes the method shown in FIG. 2 Steps:
- Step 1021 Determine whether the pre-defined transmission interface function in the first application can process the sending notification message, and output the first judgment result.
- the sending interface function If the sending interface function is unable to process the sent notification message, it indicates that the first application running in the first sub-window does not support inter-application interaction.
- Step 1022 When the first determination result indicates that the sending interface function can process the sending notification message, determine whether a pre-defined sending message processing function in the first application is The sending notification message is matched, and the second determination result is output.
- the pre-defined send message processing function in the first application does not match the send notification message, it indicates that the information interaction instruction does not select an information resource available for interaction in the first application.
- Step 1023 When the second determination result indicates that the sending message processing function matches the sending notification message, invoking the sending message processing function to process the sending notification message to determine an information resource to be interacted.
- the receiving the notification message includes a broadcast message sent by the application management service Activity Manager Service; the sending the notification message including a broadcast message sent by the application management service Activity Manager Service.
- the step of processing the receiving notification message at the receiving end, determining the receiving location, and receiving the meaning of the notification message specifically includes the steps shown in FIG. 3:
- Step 1031 Determine whether the pre-defined receiving interface function in the second application is capable of processing the receiving notification message, and outputting the third determining result.
- the receiving interface function If the receiving interface function is unable to process the receiving notification message, it indicates that the second application does not support information interaction between applications.
- Step 1032 When the third determination result indicates that the receiving interface function is capable of processing the receiving notification message, determining whether the pre-defined receiving message processing function in the second application matches the receiving notification message, and outputting the fourth critical result.
- the second application cannot apply the determined resource. information.
- Step 1033 When the fourth determination result indicates that the received message processing function matches the receiving notification message, the receiving message processing function is called to process the receiving notification message, and determining a meaning and a receiving location of the receiving notification message.
- the method before the receiving end processes the receiving the notification message, the method further includes: determining, by predefining a parameter in the Menifest.xml description file of the second application, whether the second application supports the receiving function. , outputting the fifth judgment result;
- the second application supports the receiving function if the Android terminal runs at least two applications at the same time. If supported, when the second application receives the receiving notification message, acquiring an application package name of the second application by using the application management service, and sending a receiving notification message to the second application, where the receiving end processes the extended message processing function Receive notification messages.
- the method before sending the notification message to the second application as the receiving end, the method further includes:
- the UP message determines the information interaction target location
- Determining, by the information interaction target location, the second application is a receiving end.
- the input reading tool reports an UP message, where the UP message carries the coordinate position data of the end of the touch command.
- the position of the receiving end can be determined by the coordinate position data.
- the information interaction target location is only within the scope of the first application interface, indicating that the information interaction instruction sent by the user is invalid.
- the step of using the information resource to change the state of the second application comprises: copying the information resource to a receiving location in the second application.
- the information resource is copied to the receiving location in the second application.
- the receiving location may be a location of the receiving point in the second application determined according to the information interaction instruction.
- the receiving location may be a location where the second application is located.
- the step of using the information resource to change the state of the second application specifically includes: causing the second application to run the information resource.
- reception notification message When the meaning of the reception notification message indicates the presentation of a file, such as display of a picture or playback of audio, a picture or audio as an information resource is opened in the second application.
- the first child before receiving the information interaction instruction between the first application running in the first child window and the second application running in the second child window, the first child may be implemented by using the method shown in FIG.
- the window and the second sub-window are simultaneously presented:
- Step 401 Map the first sub-window and the second sub-window respectively to the corresponding virtual device.
- Step 402 Virtually generate, in the first sub-window, a first management mechanism required to run the first application, and in the The second sub-window virtually generates a second management mechanism required for running the second application;
- Step 403 Start and run the first application in the first sub-window according to the first application startup instruction sent by the user; Applying a startup instruction, starting and running the second application in the second sub-window;
- the virtual device maintains at least one virtual device environment capable of providing an execution environment for foreground tasks running on the virtual device.
- the presentation interface of the first sub-window and the second sub-window in the Android system terminal may refer to FIG. 5A, and the Android terminal screen is horizontally divided into a first sub-window and a second sub-window, or may be as shown in FIG. 5B.
- the terminal screen is vertically divided to form a first sub-window and a second sub-window.
- the Android terminal screen can simultaneously present more than two child windows, with corresponding applications running in each of the child windows.
- the inter-application information interaction method based on the Android system includes the steps shown in FIG. 6: Step 601: Map the first sub-window and the second sub-window respectively to the corresponding virtual device. Step 602: Virtually generate a first management mechanism required to run the first application in the first sub-window, and virtually generate a second management mechanism required to run the second application in the second sub-window.
- Step 603 Start and run the first application in the first sub-window according to the first application startup instruction sent by the user, and start and run the second in the second sub-window according to the second application startup instruction sent by the user. application.
- Step 604 Receive an information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window.
- Step 605 Determine the information interaction target location by inputting the reading tool Input Reader after receiving the information interaction instruction.
- Step 606 Determine, by the information interaction target location, that the second application is a receiving end.
- Step 607 Determine, according to the information interaction instruction, the information resource to be exchanged, and send a notification message to the second application that is the receiving end.
- Step 608 Determine whether the second application supports the receiving function by predefining a parameter in the Menifest.xml description file of the second application, and if yes, proceed to step 609.
- Step 609 The receiving notification message is processed at the receiving end to determine the meaning of the receiving location and the receiving notification message.
- Step 610 Apply the information resource to the second application according to the meaning of the receiving notification message and the receiving location.
- the present invention provides an inter-application information interaction device based on an Android system.
- the structure is as shown in FIG. 7, and includes:
- the information interaction instruction receiving module 701 is configured to receive an information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window;
- the receiving notification message sending module 702 is configured to: determine, according to the information interaction instruction, the information resource to be exchanged in the first application as the sending end, and send the information resource to be the receiving end Send and receive notification messages;
- Receiving a notification message processing module 703 configured to process the received notification message at the receiving end, determine a receiving location, and receive a meaning of the notification message;
- Receiving execution module 704 configured to apply the information resource to the second application according to the meaning of the receiving notification message and the receiving location;
- the first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen.
- the Android-based inter-application information interaction device provided by the present invention allows the user to implement information interaction between the first application and the second application by sending information interaction instructions to the first application and the second application, without requiring the user to perform complicated operations.
- the information resource to be interacted can be applied to the second application as the receiving end, thereby enabling the user to implement the information interaction operation more efficiently.
- the first application and the second application are used to display the sub-window simultaneously displayed on the screen of the Android terminal, so that the transmitting end and the receiving end can be simultaneously presented on the same screen, so that the user can intuitively control the information interaction through the information interaction instruction. Improve the accuracy of information interaction.
- the receiving the notification message sending module specifically includes:
- a first determining unit configured to determine whether the pre-defined sending interface function in the first application is capable of processing the sending notification message, and outputting the first determining result
- a second determining unit configured to determine, when the first determining result indicates that the sending interface function is capable of processing the sending notification message, determining whether a pre-defined sending message processing function in the first application matches the sending notification message , outputting a second judgment result;
- the information resource determining unit is configured to: when the second determining result indicates that the sending message processing function matches the sending notification message, invoking the sending message processing function to process the sending notification message to determine an information resource to be exchanged .
- the receiving the notification message includes a broadcast message sent by the application management service Activity Manager Service; the sending the notification message including a broadcast message sent by the application management service Activity Manager Service.
- the receiving the notification message processing module further includes: a third determining unit: configured to determine whether the receiving interface function defined in the second application is capable of processing the receiving notification message, and outputting the third determining result;
- a fourth determining unit configured to determine, when the third determining result indicates that the receiving interface function is capable of processing the receiving notification message, determining whether a pre-defined receiving message processing function in the second application matches the receiving notification message , outputting a fourth judgment result;
- the receiving information acquiring unit is configured to: when the fourth determining result indicates that the receiving message processing function matches the receiving notification message, invoking the receiving message processing function to process the receiving notification message, determining a meaning of receiving the notification message And receiving location.
- the apparatus further includes:
- a fifth determining module configured to determine whether the second application supports the receiving function by using a parameter predefined in the Menifest.xml description file of the second application, and outputting a fifth determining result; when the fifth determining result indicates When the second application supports the receiving function, the receiving notification message processing module is triggered.
- the apparatus further includes:
- the information interaction target location determining module is configured to: determine, by using the input reading tool, the Reader, the UP message reported after receiving the information interaction instruction to determine the information interaction target location;
- the receiving end determining module is configured to determine, by the information interaction target location, that the second application is a receiving end.
- the state change module specifically includes:
- a copying unit configured to copy the information resource to a receiving location in the second application;
- the operation control unit configured to cause the second application to run the information resource.
- the apparatus further includes:
- a sub-window mapping module configured to map the first sub-window and the second sub-window respectively to the corresponding virtual device;
- Management virtual module configured to virtualally generate a management mechanism required to run the first application in the first sub-window, and virtually generate a management mechanism required to run the second application in the second sub-window;
- application startup module configuration Starting and running the first application in the first sub-window according to the first application startup instruction sent by the user; and starting and running the second application in the second sub-window according to the second application startup instruction sent by the user;
- the virtual device maintains at least one virtual device environment capable of providing an execution environment for foreground tasks running on the virtual device.
- the method and device for inter-application information exchange based on the Android system provided by the present invention and the embodiments thereof can realize the information interaction between applications of the Android system terminal in a fast and accurate manner.
- the user can drag the information resource to be interacted to the second application by dragging.
- the information resource in the first application is loaded as the startup resource of the second application, and the information interaction between the first application and the second application is implemented.
- the method and device for inter-application information interaction based on the Android system provided by the embodiment of the invention can realize the information interaction between applications of the Android system terminal in a fast and accurate manner.
- the user can drag the information resource to be interacted to the second by dragging.
- the information resource in the first application is loaded as the startup resource of the second application, and the information interaction between the first application and the second application is implemented.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
Description
一种基于安卓系统的应用间信息交互方法及装置 技术领域 Method and device for information interaction between applications based on Android system
本发明涉及通信领域, 尤其涉及一种基于安卓系统的应用间信息交互 方法及装置。 背景技术 The present invention relates to the field of communications, and in particular, to an application method and apparatus for inter-application information exchange based on an Android system. Background technique
随着装载有安卓 (Android ) 系统的智能终端的普及, 以及移动互联网 时代的到来, 手机终端和平板电脑越来越成为个人的信息中心和娱乐中心。 就安卓智能终端的发展趋势来看, 大屏幕、 高分辨率、 强劲的处理能力和 存储能力的 PC化终端越来越成为更多人群的喜爱, 这方面以大屏手机和平 板电脑为代表。 With the popularity of smart terminals loaded with Android (Android) systems and the advent of the mobile Internet era, mobile terminals and tablets are increasingly becoming personal information centers and entertainment centers. As far as the development trend of Android smart terminals is concerned, PC terminals with large screen, high resolution, strong processing power and storage capacity are becoming more and more popular among people. This is represented by large-screen mobile phones and flat-panel computers.
就目前手机的硬件配置水平而言, 处理能力和计算能力已经和个人 PC 不相上下, 但是安卓系统提供的应用程序管理方法, 从本质上说还是单任 务机制, 无法做到不同应用之间的快速信息交互, 在使用过程中, 用户越 来越多地希望高效准确地在安卓系统终端的两个应用之间进行信息交互, 具体例如: As far as the current hardware configuration level of the mobile phone is concerned, the processing power and computing power are comparable to those of the personal PC, but the application management method provided by the Android system is essentially a single-task mechanism and cannot be implemented between different applications. Fast information interaction, in the process of use, users are increasingly hoping to exchange information between two applications of the Android system terminal efficiently and accurately, for example:
在进行图库图片浏览的时候, 希望通过简单的操作即可将图片保存在 特定的文件夹中或准确复制到用户想要的位置; When browsing the gallery image, I hope that the image can be saved in a specific folder or accurately copied to the desired location by a simple operation;
在进行文件管理器浏览时, 需要启动音乐播放器或者视频播放器, 但 此时又不希望中止文件浏览; In the file manager browsing, you need to start the music player or video player, but you don't want to stop the file browsing at this time;
在短信应用和联系人应用同时分屏时, 希望能够在编辑的回复短信中 方便地插入联系人信息; When the SMS application and the contact application are split at the same time, it is desirable to be able to conveniently insert the contact information in the edited reply message;
在进行 WIFI dierct或者蓝牙连接成功后,希望能直接在文件管理中通过 拖动文件进行传输。 安卓系统目前的应用间信息交互方法, 往往需要记住文件名后进入文 件管理器, 通过复制粘贴将待交互的信息资源传输到指定的文件夹; 或者 在特定的应用中打开选择文件的界面, 采用该应用运行待交互的信息资源; 或先复制待交互的信息资源, 再将其粘贴到某一应用中。 现有技术的这种 方式, 不仅操作过程复杂, 而且出错概率很高。 发明内容 After successful WIFI dierct or Bluetooth connection, I hope to transfer files by dragging files directly in file management. In the current application interaction method of the Android system, it is often necessary to remember the file name and enter the file manager, and copy and paste the information resources to be exchanged to the specified folder; or open the interface for selecting the file in a specific application. The application is used to run the information resources to be exchanged; or the information resources to be exchanged are copied first, and then pasted into an application. In this way of the prior art, not only the operation process is complicated, but also the probability of error is high. Summary of the invention
有鉴于此, 本发明实施例希望提出一种基于安卓系统的应用间信息交 互方法及装置, 能够实现安卓系统终端的应用之间信息的快速准确交互。 In view of this, embodiments of the present invention are directed to an application-to-application information interaction method and apparatus based on an Android system, which can implement fast and accurate interaction of information between applications of an Android system terminal.
本发明实施例提供了一种基于安卓系统的应用间信息交互方法, 包括: 接收第一子窗口中运行的第一应用和第二子窗口中运行的第二应用之 间的信息交互指令; An embodiment of the present invention provides an inter-application information interaction method based on an Android system, including: receiving an information interaction instruction between a first application running in a first sub-window and a second application running in a second sub-window;
依据所述信息交互指令, 在作为发送端的第一应用中确定待交互的信 息资源, 并向作为接收端的第二应用发送接收通知消息; Determining, according to the information interaction instruction, the information resource to be exchanged in the first application as the sending end, and sending the receiving notification message to the second application as the receiving end;
在所述接收端处理所述接收通知消息, 确定接收位置以及接收通知消 息的含义; Processing the receiving notification message at the receiving end to determine a receiving location and a meaning of receiving the notification message;
根据所述接收通知消息的含义和接收位置, 将所述信息资源应用到所 述第二应用; And applying the information resource to the second application according to the meaning of the receiving notification message and the receiving location;
所述第一子窗口和第二子窗口为在安卓终端屏幕同时呈现的子窗口。 可选的, 依据所述信息交互指令, 在作为发送端的第一应用中确定待 交互的信息资源, 并向作为接收端的第二应用发送接收通知消息包括: 判断在第一应用中预先定义的发送接口函数是否能够处理发送通知消 息, 输出第一判断结果; The first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen. Optionally, determining, according to the information interaction instruction, the information resource to be exchanged in the first application that is the sending end, and sending the receiving the notification message to the second application that is the receiving end, the method includes: determining, in the first application, the pre-defined sending Whether the interface function can process the sending notification message, and output the first judgment result;
当所述第一判断结果指示所述发送接口函数能够处理所述发送通知消 息时, 判断在第一应用中预先定义的发送消息处理函数是否与所述发送通 知消息匹配, 输出第二判断结果; 当所述第二判断结果指示所述发送消息处理函数与所述发送通知消息 匹配时, 调用所述发送消息处理函数处理所述发送通知消息, 确定待交互 的信息资源。 When the first determination result indicates that the sending interface function can process the sending notification message, determine whether the pre-defined sending message processing function in the first application matches the sending notification message, and output a second determination result; And when the second determination result indicates that the sending message processing function matches the sending notification message, calling the sending message processing function to process the sending notification message to determine an information resource to be exchanged.
可选的, 所述接收通知消息包括通过应用管理服务 Activity Manager Service发送的广播消息; 所述发送通知消息包括通过应用管理服务 Activity Manager Service发送的广播消息。 Optionally, the receiving the notification message includes a broadcast message sent by the application management service Activity Manager Service; and the sending the notification message includes a broadcast message sent by the application management service Activity Manager Service.
可选的, 在所述接收端处理所述接收通知消息, 确定接收位置以及接 收通知消息的含义包括: Optionally, processing, by the receiving end, the receiving notification message, determining the receiving location and the meaning of the receiving notification message include:
判断在第二应用中预先定义的接收接口函数是否能够处理接收通知消 息, 输出第三判断结果; Determining whether a pre-defined receiving interface function in the second application is capable of processing the receiving notification message, and outputting a third determination result;
当所述第三判断结果指示所述接收接口函数能够处理所述接收通知消 息时, 判断在第二应用中预先定义的接收消息处理函数是否与所述接收通 知消息匹配, 输出第四判断结果; When the third determination result indicates that the receiving interface function is capable of processing the receiving notification message, determining whether the pre-defined receiving message processing function in the second application matches the receiving notification message, and outputting a fourth determination result;
当所述第四判断结果指示所述接收消息处理函数与所述接收通知消息 匹配时, 调用所述接收消息处理函数处理所述接收通知消息, 确定接收通 知消息的含义和接收位置。 And when the fourth judgment result indicates that the received message processing function matches the receiving notification message, the receiving message processing function is called to process the receiving notification message, and determining a meaning and a receiving position of the receiving notification message.
可选的于, 在所述接收端处理所述接收通知消息之前, 还包括: 通过预先定义在所述第二应用的 Menifest.xml描述文件中的参数判断所 述第二应用是否支持接收功能, 输出第五判断结果; Optionally, before the receiving end processes the receiving the notification message, the method further includes: determining, by the parameter defined in the Menifest.xml description file of the second application, whether the second application supports the receiving function, Outputting a fifth judgment result;
当所述第五判断结果指示所述第二应用支持接收功能时, 执行在所述 接收端处理所述接收通知消息。 And when the fifth determination result indicates that the second application supports the receiving function, performing the receiving notification message at the receiving end.
可选的, 向作为接收端的第二应用发送接收通知消息之前, 还包括: 通过输入阅读工具 Input Reader在接收到所述信息交互指令后上报的 UP消息确定信息交互目标位置; Optionally, before the sending the notification message to the second application as the receiving end, the method further includes: determining, by the input reading tool, the UP message reported by the input reader after receiving the information interaction instruction, the information interaction target location;
通过所述信息交互目标位置确定所述第二应用为接收端。 可选的, 利用所述信息资源变更所述第二应用的状态的步骤具体包括: 将所述信息资源复制到所述第二应用中的接收位置; Determining, by the information interaction target location, the second application is a receiving end. Optionally, the step of using the information resource to change the state of the second application specifically includes: copying the information resource to a receiving location in the second application;
或, 令所述第二应用运行所述信息资源。 Or, causing the second application to run the information resource.
可选的, 接收第一子窗口中运行的第一应用和第二子窗口中运行的第 二应用之间的信息交互指令之前, 还包括: Optionally, before receiving the information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window, the method further includes:
将第一子窗口和第二子窗口分别映射到对应虚拟设备上; Mapping the first sub-window and the second sub-window respectively to the corresponding virtual device;
在所述第一子窗口虚拟生成运行第一应用所需的第一管理机制, 并在 所述第二子窗口虚拟生成运行第二应用所需的第二管理机制; Generating a first management mechanism required to run the first application in the first sub-window, and virtually generating a second management mechanism required to run the second application in the second sub-window;
依据用户发送的第一应用启动指令, 在所述第一子窗口启动并运行第 一应用; 并依据用户发送的第二应用启动指令, 在所述第二子窗口启动并 运行第二应用; And starting, according to the first application startup instruction sent by the user, starting and running the first application in the first sub-window; and starting and running the second application in the second sub-window according to the second application startup instruction sent by the user;
所述虚拟设备维护至少一个能够为在该虚拟设备上运行的前台任务提 供执行环境的虚拟设备环境。 The virtual device maintains at least one virtual device environment capable of providing an execution environment for foreground tasks running on the virtual device.
本发明实施例还提供了一种基于安卓系统的应用间信息交互装置, 包 括: The embodiment of the invention further provides an inter-application information interaction device based on the Android system, which comprises:
信息交互指令接收模块: 配置为接收第一子窗口中运行的第一应用和 第二子窗口中运行的第二应用之间的信息交互指令; The information interaction instruction receiving module is configured to receive an information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window;
接收通知消息发送模块: 配置为依据所述信息交互指令, 在作为发送 端的第一应用中确定待交互的信息资源, 并向作为接收端的第二应用发送 接收通知消息; Receiving a notification message sending module: configured to determine, according to the information interaction instruction, an information resource to be exchanged in a first application that is a sending end, and send a receiving notification message to a second application that is a receiving end;
接收通知消息处理模块: 配置为在所述接收端处理所述接收通知消息, 确定接收位置以及接收通知消息的含义; Receiving a notification message processing module: configured to process the receiving notification message at the receiving end, determine a receiving location, and receive a meaning of the notification message;
接收执行模块: 配置为根据所述接收通知消息的含义和接收位置, 将 所述信息资源应用到所述第二应用; Receiving an execution module: configured to apply the information resource to the second application according to the meaning of the received notification message and the receiving location;
所述第一子窗口和第二子窗口为在安卓终端屏幕同时呈现的子窗口。 可选的, 所述接收通知消息发送模块包括: The first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen. Optionally, the receiving notification message sending module includes:
第一判断单元: 配置为判断在第一应用中预先定义的发送接口函数是 否能够处理发送通知消息, 输出第一判断结果; a first determining unit: configured to determine whether the pre-defined sending interface function in the first application is capable of processing the sending notification message, and outputting the first determining result;
第二判断单元: 配置为当所述第一判断结果指示所述发送接口函数能 够处理所述发送通知消息时, 判断在第一应用中预先定义的发送消息处理 函数是否与所述发送通知消息匹配, 输出第二判断结果; a second determining unit: configured to determine, when the first determining result indicates that the sending interface function is capable of processing the sending notification message, determining whether a pre-defined sending message processing function in the first application matches the sending notification message , outputting a second judgment result;
信息资源确定单元: 配置为当所述第二判断结果指示所述发送消息处 理函数与所述发送通知消息匹配时, 调用所述发送消息处理函数处理所述 发送通知消息, 确定待交互的信息资源。 The information resource determining unit is configured to: when the second determining result indicates that the sending message processing function matches the sending notification message, invoking the sending message processing function to process the sending notification message to determine an information resource to be exchanged .
可选的, 所述接收通知消息包括通过应用管理服务 Activity Manager Service发送的广播消息; 所述发送通知消息包括通过应用管理服务 Activity Manager Service发送的广播消息。 Optionally, the receiving the notification message includes a broadcast message sent by the application management service Activity Manager Service; and the sending the notification message includes a broadcast message sent by the application management service Activity Manager Service.
可选的, 所述接收通知消息处理模块, 还包括: Optionally, the receiving the notification message processing module further includes:
第三判断单元: 配置为判断在第二应用中预先定义的接收接口函数是 否能够处理接收通知消息, 输出第三判断结果; a third determining unit: configured to determine whether the receiving interface function predefined in the second application is capable of processing the receiving notification message, and outputting a third determining result;
第四判断单元: 配置为当所述第三判断结果指示所述接收接口函数能 够处理所述接收通知消息时, 判断在第二应用中预先定义的接收消息处理 函数是否与所述接收通知消息匹配, 输出第四判断结果; a fourth determining unit: configured to determine, when the third determining result indicates that the receiving interface function is capable of processing the receiving notification message, determining whether a pre-defined receiving message processing function in the second application matches the receiving notification message , outputting a fourth judgment result;
接收信息获取单元: 配置为当所述第四判断结果指示所述接收消息处 理函数与所述接收通知消息匹配时, 调用所述接收消息处理函数处理所述 接收通知消息, 确定接收通知消息的含义和接收位置。 The receiving information acquiring unit is configured to: when the fourth determining result indicates that the receiving message processing function matches the receiving notification message, invoking the receiving message processing function to process the receiving notification message, determining a meaning of receiving the notification message And receiving location.
可选的, 所述装置还包括: Optionally, the device further includes:
第五判断模块: 配置为通过预先定义在所述第二应用的 Menifest.xml描 述文件中的参数判断所述第二应用是否支持接收功能, 输出第五判断结果; 当所述第五判断结果指示所述第二应用支持接收功能时, 触发所述接收通 知消息处理模块。 a fifth determining module: configured to determine whether the second application supports the receiving function by using a parameter predefined in the Menifest.xml description file of the second application, and outputting a fifth determining result; when the fifth determining result indicates When the second application supports the receiving function, triggering the receiving pass Know the message processing module.
可选的, 所述装置还包括: Optionally, the device further includes:
信息交互目标位置确定模块: 配置为通过输入阅读工具 Input Reader在 接收到所述信息交互指令后上报的 UP消息确定信息交互目标位置; The information interaction target location determining module is configured to: determine, by using the input reading tool, the Reader, the UP message reported after receiving the information interaction instruction to determine the information interaction target location;
接收端确定模块: 配置为通过所述信息交互目标位置确定所述第二应 用为接收端。 The receiving end determining module is configured to determine, by the information interaction target location, that the second application is a receiving end.
可选的, 所述状态变更模块具体包括: Optionally, the state change module specifically includes:
复制单元: 配置为将所述信息资源复制到所述第二应用中的接收位置; 运行控制单元: 配置为令所述第二应用运行所述信息资源。 a copying unit: configured to copy the information resource to a receiving location in the second application; the operation control unit: configured to cause the second application to run the information resource.
可选的, 所述装置还包括: Optionally, the device further includes:
子窗口映射模块: 配置为将第一子窗口和第二子窗口分别映射到对应 虚拟设备上; a sub-window mapping module: configured to map the first sub-window and the second sub-window respectively to the corresponding virtual device;
管理虚拟模块: 配置为在所述第一子窗口虚拟生成运行第一应用所需 的管理机制, 并在所述第二子窗口虚拟生成运行第二应用所需的管理机制; 应用启动模块: 配置为依据用户发送的第一应用启动指令, 在所述第 一子窗口启动并运行第一应用; 并依据用户发送的第二应用启动指令, 在 所述第二子窗口启动并运行第二应用; Management virtual module: configured to virtualally generate a management mechanism required to run the first application in the first sub-window, and virtually generate a management mechanism required to run the second application in the second sub-window; application startup module: configuration Starting and running the first application in the first sub-window according to the first application startup instruction sent by the user; and starting and running the second application in the second sub-window according to the second application startup instruction sent by the user;
所述虚拟设备维护至少一个能够为在该虚拟设备上运行的前台任务提 供执行环境的虚拟设备环境。 The virtual device maintains at least one virtual device environment capable of providing an execution environment for foreground tasks running on the virtual device.
所述信息交互指令接收模块、 所述接收通知消息发送模块、 所述接收 通知消息处理模块、 所述接收执行模块、 所述第一判断单元、 所述第二判 断单元、 所述信息资源确定单元、 所述第三判断单元、 所述第四判断单元、 所述接收信息获取单元、 所述第五判断模块、 所述信息交互目标位置确定 模块、 所述接收端确定模块、 所述状态变更模块、 所述复制单元、 所述运 行控制单元、 所述子窗口映射模块、 所述管理虚拟模块、 所述应用启动模 块在执行处理时, 可以采用中央处理器 (CPU, Central Processing Unit ), 数字信号处理器( DSP, Digital Singnal Processor )或可编程逻辑阵列( FPGA, Field - Programmable Gate Array ) 实现。 The information interaction instruction receiving module, the receiving notification message sending module, the receiving notification message processing module, the receiving and executing module, the first determining unit, the second determining unit, and the information resource determining unit The third determining unit, the fourth determining unit, the receiving information acquiring unit, the fifth determining module, the information interaction target position determining module, the receiving end determining module, and the state changing module The copy unit, the operation control unit, the sub-window mapping module, the management virtual module, and the application startup module The block can be implemented by a central processing unit (CPU), a digital signal processor (DSP), or a Field-Programmable Gate Array (FPGA).
从上面所述可以看出, 本发明实施例提供的基于安卓系统的应用间信 息交互方法及其装置, 可以通过快速、 准确的方式实现安卓系统终端的应 用间信息交互。 此外, 在采用本发明实施例所提供的方法和装置同时呈现 第一子窗口和第二子窗口同时的场景下, 用户可通过拖动的方式将待交互 的信息资源拖动到第二应用中, 将第一应用中的信息资源作为第二应用的 启动资源进行加载, 实现了第一应用和第二应用之间的信息交互。 附图说明 As can be seen from the above, the Android-based inter-application information interaction method and apparatus provided by the embodiments of the present invention can implement the application information interaction of the Android system terminal in a fast and accurate manner. In addition, in the scenario that the first sub-window and the second sub-window are simultaneously displayed by using the method and the device provided by the embodiment of the present invention, the user can drag the information resource to be interacted to the second application by dragging. The information resource in the first application is loaded as the startup resource of the second application, and the information interaction between the first application and the second application is implemented. DRAWINGS
图 1为本发明实施例的基于安卓系统的应用间信息交互方法流程图; 图 2为一种具体实施例中, 在作为发送端的第一应用中确定待交互的信 息资源, 并向作为接收端的第二应用发送接收通知消息的步骤具体流程图; 图 3为一种具体实施例中, 在所述接收端处理所述接收通知消息, 确定 接收位置以及接收通知消息的含义的步骤具体流程图; FIG. 1 is a flowchart of a method for inter-application information exchange based on an Android system according to an embodiment of the present invention; FIG. 2 is a schematic diagram of determining, in a first application, a information resource to be exchanged, and as a receiving end, A specific flowchart of the step of the second application transmitting and receiving the notification message; FIG. 3 is a specific flowchart of the step of processing the receiving notification message at the receiving end to determine the receiving location and receiving the meaning of the notification message;
图 4为本发明一种实施例的子窗口创建流程图; 4 is a flowchart of creating a sub-window according to an embodiment of the present invention;
图 5A、 5B分别为本发明两种实施例的第一子窗口和第二子窗口呈现界 面示意图; 5A and 5B are schematic diagrams showing the first sub-window and the second sub-window of the two embodiments of the present invention;
图 6为本发明又一种实施例的基于安卓系统的应用间信息交互方法流 程图; 6 is a flow chart of an inter-application information interaction method based on an Android system according to still another embodiment of the present invention;
图 7为本发明实施例的基于安卓系统的应用间信息交互装置结构示意 图。 具体实施方式 FIG. 7 is a schematic structural diagram of an inter-application information interaction apparatus based on an Android system according to an embodiment of the present invention. detailed description
为了给出有效的实现方案, 本发明实施例提供了以下实施例, 以下结 合说明书附图对本发明的实施例进行说明。 In order to give an effective implementation, the embodiments of the present invention provide the following embodiments, the following Embodiments of the present invention will be described with reference to the accompanying drawings.
首先, 本发明提供一种基于安卓系统的应用间信息交互方法, 包括如 下步骤: First, the present invention provides an application-to-application information interaction method based on an Android system, including the following steps:
接收第一子窗口中运行的第一应用和第二子窗口中运行的第二应用之 间的信息交互指令; Receiving an information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window;
依据所述信息交互指令, 在作为发送端的第一应用中确定待交互的信 息资源, 并向作为接收端的第二应用发送接收通知消息; Determining, according to the information interaction instruction, the information resource to be exchanged in the first application as the sending end, and sending the receiving notification message to the second application as the receiving end;
在所述接收端处理所述接收通知消息, 确定接收位置以及接收通知消 息的含义; Processing the receiving notification message at the receiving end to determine a receiving location and a meaning of receiving the notification message;
根据所述接收通知消息的含义和接收位置, 将所述信息资源应用到所 述第二应用; And applying the information resource to the second application according to the meaning of the receiving notification message and the receiving location;
所述第一子窗口和第二子窗口为在安卓终端屏幕同时呈现的子窗口。 本发明所提供的基于安卓系统的应用间信息交互方法, 在安卓系统终 端屏幕同时呈现的第一应用和第二应用之间实现了信息交互, 用户仅需通 过触摸屏或其它输入装置发送所述信息交互指令, 就可将待交互的信息资 源应用到作为接收端的第二应用中, 提高了信息交互的速度和效率。 此外, 用于呈现第一应用和第二应用为在安卓终端屏幕同时呈现的子窗口, 这样, 发送端和接收端可在同一屏幕上同时呈现, 从而用户可通过信息交互指令 直观控制信息交互, 提高了信息交互的准确度。 The first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen. The Android-based inter-application information interaction method provided by the present invention realizes information interaction between the first application and the second application simultaneously presented on the Android system terminal screen, and the user only needs to send the information through a touch screen or other input device. The interactive instruction can apply the information resource to be interacted to the second application as the receiving end, thereby improving the speed and efficiency of information interaction. In addition, the first application and the second application are used to display the sub-window simultaneously displayed on the screen of the Android terminal, so that the transmitting end and the receiving end can be simultaneously presented on the same screen, so that the user can intuitively control the information interaction through the information interaction instruction. Improve the accuracy of information interaction.
在本发明的一些实施例中, 所述基于安卓系统的应用间信息交互方法 包括如图 1所示的步骤, 具体为: In some embodiments of the present invention, the method for inter-application information interaction based on the Android system includes the steps shown in FIG. 1 , specifically:
步骤 101 : 接收第一子窗口中运行的第一应用和第二子窗口中运行的第 二应用之间的信息交互指令。 Step 101: Receive an information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window.
用户可通过安卓系统终端的触摸屏发送所述信息交互指令, 也可通过 安卓系统终端的其它装置发送所述信息交互指令。 步骤 102: 依据所述信息交互指令, 在作为发送端的第一应用中确定待 交互的信息资源, 并向作为接收端的第二应用发送接收通知消息。 The user may send the information interaction instruction through a touch screen of the Android system terminal, or may send the information interaction instruction through other devices of the Android system terminal. Step 102: Determine, according to the information interaction instruction, the information resource to be exchanged in the first application that is the sending end, and send the receiving notification message to the second application that is the receiving end.
具体的, 所述发送通知消息可通过 Activity Manager Service (应用管理 服务) 向作为发送端的第一应用发送。 Specifically, the sending notification message may be sent to the first application that is the sending end by using an Activity Manager Service.
当所述信息交互指令为用户通过触摸安卓终端的触摸屏所发送的指令 时, 通过用户按压的起始位置即可确定待交互的信息资源。 When the information interaction instruction is an instruction sent by the user by touching the touch screen of the Android terminal, the information resource to be interacted can be determined by the starting position pressed by the user.
步骤 103: 在所述接收端处理所述接收通知消息, 确定接收位置以及接 收通知消息的含义。 Step 103: Processing the receiving notification message at the receiving end to determine the meaning of the receiving location and the receiving notification message.
可通过解析所述发送通知消息, 通过预先设置在消息处理函数中的行 为能力集匹配所述发送通知消息的方式, 确定待交互的信息资源。 The information resource to be exchanged may be determined by parsing the sending notification message by matching the behavior capability set in the message processing function to the manner in which the notification message is sent.
步骤 104: 根据所述接收通知消息的含义和接收位置, 将所述信息资源 应用到所述第二应用。 Step 104: Apply the information resource to the second application according to the meaning of the receiving notification message and the receiving location.
将所述信息资源应用到所述第二应用过程, 可以包括从所述第一应用 复制信息资源并将其粘贴到所述第二应用中, 也可以包括将信息资源在所 述第二应用中播放等。 Applying the information resource to the second application process may include copying and pasting the information resource from the first application into the second application, and may further include the information resource in the second application Play and so on.
所述第一子窗口和第二子窗口为在安卓终端屏幕同时呈现的子窗口。 在一些实施例中, 依据所述信息交互指令, 在作为发送端的第一应用 中确定待交互的信息资源, 并向作为接收端的第二应用发送接收通知消息 的步骤具体包括如图 2所示的步骤: The first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen. In some embodiments, the step of determining, according to the information interaction instruction, the information resource to be exchanged in the first application as the transmitting end, and sending the receiving notification message to the second application as the receiving end, specifically includes the method shown in FIG. 2 Steps:
步骤 1021 : 判断在第一应用中预先定义的发送接口函数是否能够处理 发送通知消息, 输出第一判断结果。 Step 1021: Determine whether the pre-defined transmission interface function in the first application can process the sending notification message, and output the first judgment result.
若所述发送接口函数不能够处理所送通知消息, 则表明在所述第一子 窗口中运行的第一应用不支持应用间交互。 If the sending interface function is unable to process the sent notification message, it indicates that the first application running in the first sub-window does not support inter-application interaction.
步骤 1022: 当所述第一判断结果指示所述发送接口函数能够处理所述 发送通知消息时, 判断在第一应用中预先定义的发送消息处理函数是否与 所述发送通知消息匹配, 输出第二判断结果。 Step 1022: When the first determination result indicates that the sending interface function can process the sending notification message, determine whether a pre-defined sending message processing function in the first application is The sending notification message is matched, and the second determination result is output.
如果在第一应用中预先定义的发送消息处理函数与发送通知消息不匹 配, 则表明所述信息交互指令未在所述第一应用中选择可用于交互的信息 资源。 If the pre-defined send message processing function in the first application does not match the send notification message, it indicates that the information interaction instruction does not select an information resource available for interaction in the first application.
步骤 1023 : 当所述第二判断结果指示所述发送消息处理函数与所述发 送通知消息匹配时, 调用所述发送消息处理函数处理所述发送通知消息, 确定待交互的信息资源。 Step 1023: When the second determination result indicates that the sending message processing function matches the sending notification message, invoking the sending message processing function to process the sending notification message to determine an information resource to be interacted.
在一些实施例中, 所述接收通知消息包括通过应用管理服务 Activity Manager Service发送的广播消息;所述发送通知消息包括通过应用管理服务 Activity Manager Service发送的广播消息。 In some embodiments, the receiving the notification message includes a broadcast message sent by the application management service Activity Manager Service; the sending the notification message including a broadcast message sent by the application management service Activity Manager Service.
在一些实施例中, 在所述接收端处理所述接收通知消息, 确定接收位 置以及接收通知消息的含义的步骤具体包括如图 3所示的步骤: In some embodiments, the step of processing the receiving notification message at the receiving end, determining the receiving location, and receiving the meaning of the notification message specifically includes the steps shown in FIG. 3:
步骤 1031 : 判断在第二应用中预先定义的接收接口函数是否能够处理 接收通知消息, 输出第三判断结果。 Step 1031: Determine whether the pre-defined receiving interface function in the second application is capable of processing the receiving notification message, and outputting the third determining result.
若所述接收接口函数不能够处理接收通知消息, 则表明所述第二应用 不支持应用间的信息交互。 If the receiving interface function is unable to process the receiving notification message, it indicates that the second application does not support information interaction between applications.
步骤 1032: 当所述第三判断结果指示所述接收接口函数能够处理所述 接收通知消息时, 判断在第二应用中预先定义的接收消息处理函数是否与 所述接收通知消息匹配, 输出第四判断结果。 Step 1032: When the third determination result indicates that the receiving interface function is capable of processing the receiving notification message, determining whether the pre-defined receiving message processing function in the second application matches the receiving notification message, and outputting the fourth critical result.
若所述接收消息处理函数中不存在预先定义的、 与所述接收通知消息 相匹配的行为变量, 即接收消息处理函数与接收通知消息不匹配, 则说明 第二应用不能够应用已确定的资源信息。 If there is no behavior variable defined in the received message processing function that matches the received notification message, that is, the received message processing function does not match the received notification message, the second application cannot apply the determined resource. information.
步骤 1033 : 当所述第四判断结果指示所述接收消息处理函数与所述接 收通知消息匹配时, 调用所述接收消息处理函数处理所述接收通知消息, 确定接收通知消息的含义和接收位置。 在一些实施例中, 在所述接收端处理所述接收通知消息之前, 还包括: 通过预先定义在所述第二应用的 Menifest.xml描述文件中的参数判断所 述第二应用是否支持接收功能, 输出第五判断结果; Step 1033: When the fourth determination result indicates that the received message processing function matches the receiving notification message, the receiving message processing function is called to process the receiving notification message, and determining a meaning and a receiving location of the receiving notification message. In some embodiments, before the receiving end processes the receiving the notification message, the method further includes: determining, by predefining a parameter in the Menifest.xml description file of the second application, whether the second application supports the receiving function. , outputting the fifth judgment result;
当所述第五判断结果指示所述第二应用支持接收功能时, 执行在所述 接收端处理所述接收通知消息的步骤。 And when the fifth determination result indicates that the second application supports the receiving function, performing the step of processing the receiving notification message at the receiving end.
作为一个实施例, 在第二应用的 Menifest.xml描述文件中, 定义了该第 二应用是否在安卓终端同时运行至少两个应用的情况下支持接收功能。 如 果支持, 当第二应用接收到所述接收通知消息时, 通过应用管理服务获取 第二应用的应用包名并向第二应用发送接收通知消息, 在接收端通过扩展 的消息处理函数处理所述接收通知消息。 As an embodiment, in the Menifest.xml description file of the second application, it is defined whether the second application supports the receiving function if the Android terminal runs at least two applications at the same time. If supported, when the second application receives the receiving notification message, acquiring an application package name of the second application by using the application management service, and sending a receiving notification message to the second application, where the receiving end processes the extended message processing function Receive notification messages.
在一些实施例中, 向作为接收端的第二应用发送接收通知消息之前, 还包括: In some embodiments, before sending the notification message to the second application as the receiving end, the method further includes:
通过输入阅读工具 Input Reader在接收到所述信息交互指令后上报的 By inputting the reading tool Input Reader, after receiving the information interaction instruction
UP消息确定信息交互目标位置; The UP message determines the information interaction target location;
通过所述信息交互目标位置确定所述第二应用为接收端。 Determining, by the information interaction target location, the second application is a receiving end.
当所述信息交互指令为用户通过安卓系统终端屏幕发送的触控指令 时, 当用户离开触摸屏, 输入阅读工具会上报 UP消息, 该 UP消息中携带具 体所述触控指令结束的坐标位置数据, 通过所述坐标位置数据即可确定接 收端所在的位置。 When the information interaction command is a touch command sent by the user through the terminal screen of the Android system, when the user leaves the touch screen, the input reading tool reports an UP message, where the UP message carries the coordinate position data of the end of the touch command. The position of the receiving end can be determined by the coordinate position data.
在一些实施例中, 所述信息交互目标位置仅在第一应用界面的范围内, 则说明用户本次发送的信息交互指令无效。 In some embodiments, the information interaction target location is only within the scope of the first application interface, indicating that the information interaction instruction sent by the user is invalid.
在一些实施例中, 利用所述信息资源变更所述第二应用的状态的步骤 具体包括: 将所述信息资源复制到所述第二应用中的接收位置。 In some embodiments, the step of using the information resource to change the state of the second application comprises: copying the information resource to a receiving location in the second application.
若接收通知消息的含义表示信息资源的复制, 如文件的复制、 文字的 复制等, 则将所述信息资源复制到所述第二应用中的接收位置。 当所述接收通知消息含义表示文字的复制时, 所述接收位置可以是根 据信息交互指令确定的第二应用中接收点的位置。 当所述接收通知消息含 义表示文件的复制时, 所述接收位置可以是第二应用所在的位置。 If the meaning of the notification message indicates the copying of the information resource, such as copying of the file, copying of the text, etc., the information resource is copied to the receiving location in the second application. When the receiving notification message indicates a copy of the text, the receiving location may be a location of the receiving point in the second application determined according to the information interaction instruction. When the receiving notification message indicates that the file is copied, the receiving location may be a location where the second application is located.
在一些实施例中, 利用所述信息资源变更所述第二应用的状态的步骤 具体包括: 令所述第二应用运行所述信息资源。 In some embodiments, the step of using the information resource to change the state of the second application specifically includes: causing the second application to run the information resource.
当所述接收通知消息的含义表示文件的呈现, 如图片的展示或音频的 播放, 则将作为信息资源的图片或音频在所述第二应用中打开。 When the meaning of the reception notification message indicates the presentation of a file, such as display of a picture or playback of audio, a picture or audio as an information resource is opened in the second application.
在一些实施例中, 接收第一子窗口中运行的第一应用和第二子窗口中 运行的第二应用之间的信息交互指令之前, 可采用图 4所示的方法实现所述 第一子窗口和所述第二子窗口的同时呈现: In some embodiments, before receiving the information interaction instruction between the first application running in the first child window and the second application running in the second child window, the first child may be implemented by using the method shown in FIG. The window and the second sub-window are simultaneously presented:
步骤 401: 将第一子窗口和第二子窗口分别映射到对应虚拟设备上; 步骤 402: 在所述第一子窗口虚拟生成运行第一应用所需的第一管理机 制, 并在所述第二子窗口虚拟生成运行第二应用所需的第二管理机制; 步骤 403: 依据用户发送的第一应用启动指令, 在所述第一子窗口启动 并运行第一应用; 并依据用户发送的第二应用启动指令, 在所述第二子窗 口启动并运行第二应用; Step 401: Map the first sub-window and the second sub-window respectively to the corresponding virtual device. Step 402: Virtually generate, in the first sub-window, a first management mechanism required to run the first application, and in the The second sub-window virtually generates a second management mechanism required for running the second application; Step 403: Start and run the first application in the first sub-window according to the first application startup instruction sent by the user; Applying a startup instruction, starting and running the second application in the second sub-window;
所述虚拟设备维护至少一个能够为在该虚拟设备上运行的前台任务提 供执行环境的虚拟设备环境。 The virtual device maintains at least one virtual device environment capable of providing an execution environment for foreground tasks running on the virtual device.
所述第一子窗口和第二子窗口在安卓系统终端的呈现界面可以参照图 5A, 将安卓终端屏幕横向分割形成第一子窗口和第二子窗口, 也可以入图 5B所示, 将安卓终端屏幕纵向分割形成第一子窗口和第二子窗口。 The presentation interface of the first sub-window and the second sub-window in the Android system terminal may refer to FIG. 5A, and the Android terminal screen is horizontally divided into a first sub-window and a second sub-window, or may be as shown in FIG. 5B. The terminal screen is vertically divided to form a first sub-window and a second sub-window.
在其它实施例中, 安卓终端屏幕可同时呈现两个以上的子窗口, 在每 个子窗口中运行有相应的应用。 In other embodiments, the Android terminal screen can simultaneously present more than two child windows, with corresponding applications running in each of the child windows.
在本发明的一种实施例中, 基于安卓系统的应用间信息交互方法包括 图 6所示的步骤: 步骤 601: 将第一子窗口和第二子窗口分别映射到对应虚拟设备上。 步骤 602: 在所述第一子窗口虚拟生成运行第一应用所需的第一管理机 制, 并在所述第二子窗口虚拟生成运行第二应用所需的第二管理机制。 In an embodiment of the present invention, the inter-application information interaction method based on the Android system includes the steps shown in FIG. 6: Step 601: Map the first sub-window and the second sub-window respectively to the corresponding virtual device. Step 602: Virtually generate a first management mechanism required to run the first application in the first sub-window, and virtually generate a second management mechanism required to run the second application in the second sub-window.
步骤 603: 依据用户发送的第一应用启动指令, 在所述第一子窗口启动 并运行第一应用; 并依据用户发送的第二应用启动指令, 在所述第二子窗 口启动并运行第二应用。 Step 603: Start and run the first application in the first sub-window according to the first application startup instruction sent by the user, and start and run the second in the second sub-window according to the second application startup instruction sent by the user. application.
步骤 604: 接收第一子窗口中运行的第一应用和第二子窗口中运行的第 二应用之间的信息交互指令。 Step 604: Receive an information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window.
步骤 605:通过输入阅读工具 Input Reader在接收到所述信息交互指令后 上艮的 UP消息确定信息交互目标位置。 Step 605: Determine the information interaction target location by inputting the reading tool Input Reader after receiving the information interaction instruction.
步骤 606: 通过所述信息交互目标位置确定所述第二应用为接收端。 步骤 607: 依据所述信息交互指令, 确定待交互的信息资源, 并向作为 接收端的第二应用发送接收通知消息。 Step 606: Determine, by the information interaction target location, that the second application is a receiving end. Step 607: Determine, according to the information interaction instruction, the information resource to be exchanged, and send a notification message to the second application that is the receiving end.
步骤 608:通过预先定义在所述第二应用的 Menifest.xml描述文件中的参 数判断所述第二应用是否支持接收功能, 若是, 则进入步骤 609。 Step 608: Determine whether the second application supports the receiving function by predefining a parameter in the Menifest.xml description file of the second application, and if yes, proceed to step 609.
步骤 609: 在所述接收端处理所述接收通知消息, 确定接收位置以及接 收通知消息的含义。 Step 609: The receiving notification message is processed at the receiving end to determine the meaning of the receiving location and the receiving notification message.
步骤 610: 根据所述接收通知消息的含义和接收位置, 将所述信息资源 应用到所述第二应用。 Step 610: Apply the information resource to the second application according to the meaning of the receiving notification message and the receiving location.
进一步, 本发明提供一种基于安卓系统的应用间信息交互装置, 结构 如图 7所示, 包括: Further, the present invention provides an inter-application information interaction device based on an Android system. The structure is as shown in FIG. 7, and includes:
信息交互指令接收模块 701 : 配置为接收第一子窗口中运行的第一应用 和第二子窗口中运行的第二应用之间的信息交互指令; The information interaction instruction receiving module 701 is configured to receive an information interaction instruction between the first application running in the first sub-window and the second application running in the second sub-window;
接收通知消息发送模块 702: 配置为依据所述信息交互指令, 在作为发 送端的第一应用中确定待交互的信息资源, 并向作为接收端的第二应用发 送接收通知消息; The receiving notification message sending module 702 is configured to: determine, according to the information interaction instruction, the information resource to be exchanged in the first application as the sending end, and send the information resource to be the receiving end Send and receive notification messages;
接收通知消息处理模块 703: 配置为在所述接收端处理所述接收通知消 息, 确定接收位置以及接收通知消息的含义; Receiving a notification message processing module 703: configured to process the received notification message at the receiving end, determine a receiving location, and receive a meaning of the notification message;
接收执行模块 704: 配置为根据所述接收通知消息的含义和接收位置, 将所述信息资源应用到所述第二应用; Receiving execution module 704: configured to apply the information resource to the second application according to the meaning of the receiving notification message and the receiving location;
所述第一子窗口和第二子窗口为在安卓终端屏幕同时呈现的子窗口。 本发明提供的基于安卓系统的应用间信息交互装置, 允许用户通过对 第一应用和第二应用发送信息交互指令实现第一应用和第二应用之间的信 息交互, 无需用户执行复杂的操作, 就可将待交互的信息资源应用到作为 接收端的第二应用中, 从而使得用户更高效地实现信息交互操作。 此外, 用于呈现第一应用和第二应用为在安卓终端屏幕同时呈现的子窗口, 这样, 发送端和接收端可在同一屏幕上同时呈现, 从而用户可通过信息交互指令 直观控制信息交互, 提高了信息交互的准确度。 The first sub-window and the second sub-window are sub-windows that are simultaneously presented on the Android terminal screen. The Android-based inter-application information interaction device provided by the present invention allows the user to implement information interaction between the first application and the second application by sending information interaction instructions to the first application and the second application, without requiring the user to perform complicated operations. The information resource to be interacted can be applied to the second application as the receiving end, thereby enabling the user to implement the information interaction operation more efficiently. In addition, the first application and the second application are used to display the sub-window simultaneously displayed on the screen of the Android terminal, so that the transmitting end and the receiving end can be simultaneously presented on the same screen, so that the user can intuitively control the information interaction through the information interaction instruction. Improve the accuracy of information interaction.
在一些实施例中, 所述接收通知消息发送模块具体包括: In some embodiments, the receiving the notification message sending module specifically includes:
第一判断单元: 配置为判断在第一应用中预先定义的发送接口函数是 否能够处理发送通知消息, 输出第一判断结果; a first determining unit: configured to determine whether the pre-defined sending interface function in the first application is capable of processing the sending notification message, and outputting the first determining result;
第二判断单元: 配置为当所述第一判断结果指示所述发送接口函数能 够处理所述发送通知消息时, 判断在第一应用中预先定义的发送消息处理 函数是否与所述发送通知消息匹配, 输出第二判断结果; a second determining unit: configured to determine, when the first determining result indicates that the sending interface function is capable of processing the sending notification message, determining whether a pre-defined sending message processing function in the first application matches the sending notification message , outputting a second judgment result;
信息资源确定单元: 配置为当所述第二判断结果指示所述发送消息处 理函数与所述发送通知消息匹配时, 调用所述发送消息处理函数处理所述 发送通知消息, 确定待交互的信息资源。 The information resource determining unit is configured to: when the second determining result indicates that the sending message processing function matches the sending notification message, invoking the sending message processing function to process the sending notification message to determine an information resource to be exchanged .
在一些实施例中, 所述接收通知消息包括通过应用管理服务 Activity Manager Service发送的广播消息;所述发送通知消息包括通过应用管理服务 Activity Manager Service发送的广播消息。 在一些实施例中, 所述接收通知消息处理模块进一步包括: 第三判断单元: 配置为判断在第二应用中预先定义的接收接口函数是 否能够处理接收通知消息, 输出第三判断结果; In some embodiments, the receiving the notification message includes a broadcast message sent by the application management service Activity Manager Service; the sending the notification message including a broadcast message sent by the application management service Activity Manager Service. In some embodiments, the receiving the notification message processing module further includes: a third determining unit: configured to determine whether the receiving interface function defined in the second application is capable of processing the receiving notification message, and outputting the third determining result;
第四判断单元: 配置为当所述第三判断结果指示所述接收接口函数能 够处理所述接收通知消息时, 判断在第二应用中预先定义的接收消息处理 函数是否与所述接收通知消息匹配, 输出第四判断结果; a fourth determining unit: configured to determine, when the third determining result indicates that the receiving interface function is capable of processing the receiving notification message, determining whether a pre-defined receiving message processing function in the second application matches the receiving notification message , outputting a fourth judgment result;
接收信息获取单元: 配置为当所述第四判断结果指示所述接收消息处 理函数与所述接收通知消息匹配时, 调用所述接收消息处理函数处理所述 接收通知消息, 确定接收通知消息的含义和接收位置。 The receiving information acquiring unit is configured to: when the fourth determining result indicates that the receiving message processing function matches the receiving notification message, invoking the receiving message processing function to process the receiving notification message, determining a meaning of receiving the notification message And receiving location.
在一些实施例中, 所述装置还包括: In some embodiments, the apparatus further includes:
第五判断模块: 配置为通过预先定义在所述第二应用的 Menifest.xml描 述文件中的参数判断所述第二应用是否支持接收功能, 输出第五判断结果; 当所述第五判断结果指示所述第二应用支持接收功能时, 触发所述接收通 知消息处理模块。 a fifth determining module: configured to determine whether the second application supports the receiving function by using a parameter predefined in the Menifest.xml description file of the second application, and outputting a fifth determining result; when the fifth determining result indicates When the second application supports the receiving function, the receiving notification message processing module is triggered.
在一些实施例中, 所述装置还包括: In some embodiments, the apparatus further includes:
信息交互目标位置确定模块: 配置为通过输入阅读工具 Input Reader在 接收到所述信息交互指令后上报的 UP消息确定信息交互目标位置; The information interaction target location determining module is configured to: determine, by using the input reading tool, the Reader, the UP message reported after receiving the information interaction instruction to determine the information interaction target location;
接收端确定模块: 配置为通过所述信息交互目标位置确定所述第二应 用为接收端端。 The receiving end determining module is configured to determine, by the information interaction target location, that the second application is a receiving end.
在一些实施例中, 所述状态变更模块具体包括: In some embodiments, the state change module specifically includes:
复制单元: 配置为将所述信息资源复制到所述第二应用中的接收位置; 运行控制单元: 配置为令所述第二应用运行所述信息资源。 a copying unit: configured to copy the information resource to a receiving location in the second application; the operation control unit: configured to cause the second application to run the information resource.
在一些实施例中, 所述装置还包括: In some embodiments, the apparatus further includes:
子窗口映射模块: 配置为将第一子窗口和第二子窗口分别映射到对应 虚拟设备上; 管理虚拟模块: 配置为在所述第一子窗口虚拟生成运行第一应用所需 的管理机制, 并在所述第二子窗口虚拟生成运行第二应用所需的管理机制; 应用启动模块: 配置为依据用户发送的第一应用启动指令, 在所述第 一子窗口启动并运行第一应用; 并依据用户发送的第二应用启动指令, 在 所述第二子窗口启动并运行第二应用; a sub-window mapping module: configured to map the first sub-window and the second sub-window respectively to the corresponding virtual device; Management virtual module: configured to virtualally generate a management mechanism required to run the first application in the first sub-window, and virtually generate a management mechanism required to run the second application in the second sub-window; application startup module: configuration Starting and running the first application in the first sub-window according to the first application startup instruction sent by the user; and starting and running the second application in the second sub-window according to the second application startup instruction sent by the user;
所述虚拟设备维护至少一个能够为在该虚拟设备上运行的前台任务提 供执行环境的虚拟设备环境。 The virtual device maintains at least one virtual device environment capable of providing an execution environment for foreground tasks running on the virtual device.
从上面所述可以看出, 本发明及其实施例提供的基于安卓系统的应用 间信息交互方法及其装置, 可以通过快速、 准确的方式实现安卓系统终端 的应用间信息交互。 此外, 在采用本发明实施例所提供的方法和装置同时 呈现第一子窗口和第二子窗口同时的场景下, 用户可通过拖动的方式将待 交互的信息资源拖动到第二应用中, 将第一应用中的信息资源作为第二应 用的启动资源进行加载, 实现了第一应用和第二应用之间的信息交互。 As can be seen from the above, the method and device for inter-application information exchange based on the Android system provided by the present invention and the embodiments thereof can realize the information interaction between applications of the Android system terminal in a fast and accurate manner. In addition, in the scenario that the first sub-window and the second sub-window are simultaneously displayed by using the method and the device provided by the embodiment of the present invention, the user can drag the information resource to be interacted to the second application by dragging. The information resource in the first application is loaded as the startup resource of the second application, and the information interaction between the first application and the second application is implemented.
应当理解, 本说明书所描述的多个实施例仅用于说明和解释本发明, 并不用于限定本发明。 并且在不冲突的情况下, 本申请中的实施例及实施 例中的特征可以相互组合。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。 工业实用性 It is to be understood that the various embodiments of the present invention are intended to illustrate and explain the invention. And in the case of no conflict, the features in the embodiments and the embodiments of the present application can be combined with each other. The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention Industrial applicability
本发明实施例提供的基于安卓系统的应用间信息交互方法及其装置, 可以通过快速、 准确的方式实现安卓系统终端的应用间信息交互。 此外, 在采用本发明实施例所提供的方法和装置同时呈现第一子窗口和第二子窗 口同时的场景下, 用户可通过拖动的方式将待交互的信息资源拖动到第二 应用中, 将第一应用中的信息资源作为第二应用的启动资源进行加载, 实 现了第一应用和第二应用之间的信息交互。 The method and device for inter-application information interaction based on the Android system provided by the embodiment of the invention can realize the information interaction between applications of the Android system terminal in a fast and accurate manner. In addition, in the scenario that the first sub-window and the second sub-window are simultaneously displayed by using the method and the device provided by the embodiment of the present invention, the user can drag the information resource to be interacted to the second by dragging. In the application, the information resource in the first application is loaded as the startup resource of the second application, and the information interaction between the first application and the second application is implemented.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410220210.1A CN104092815A (en) | 2014-05-22 | 2014-05-22 | A method and device for information interaction between applications based on Android system |
| CN201410220210.1 | 2014-05-22 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015176352A1 true WO2015176352A1 (en) | 2015-11-26 |
Family
ID=51640495
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/081006 Ceased WO2015176352A1 (en) | 2014-05-22 | 2014-06-27 | Android system-based method and device for information exchange between applications |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104092815A (en) |
| WO (1) | WO2015176352A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112667547A (en) * | 2020-12-31 | 2021-04-16 | 神思旭辉医疗信息技术有限责任公司 | Communication method and device between PC terminal and android terminal |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105989296B (en) * | 2015-01-27 | 2019-03-19 | 华为技术有限公司 | Method and apparatus for controlling application access |
| CN105204951A (en) * | 2015-10-10 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Method and device for communication between Activities in Android system |
| CN106850719B (en) * | 2015-12-04 | 2021-02-05 | 珠海金山办公软件有限公司 | Data transmission method and device |
| CN106484224B (en) | 2016-09-22 | 2019-11-08 | 北京字节跳动网络技术有限公司 | A kind of operating method and terminal |
| CN108011860B (en) * | 2016-10-28 | 2020-05-08 | 华为技术有限公司 | A method, device and terminal for processing broadcast messages |
| CN110488971B (en) * | 2019-07-16 | 2023-02-28 | 北京华捷艾米科技有限公司 | Method and system for realizing somatosensory application interaction of android system |
| CN110780969B (en) * | 2019-10-31 | 2022-12-30 | 抖音视界有限公司 | Method and device for operating electronic equipment, electronic equipment and storage medium |
| CN113778280B (en) * | 2021-09-13 | 2023-11-14 | 北京技德系统技术有限公司 | Linux compatible Android display message notification method and device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1650937A1 (en) * | 2004-10-19 | 2006-04-26 | Nokia Corporation | Notifying a user |
| CN101989215A (en) * | 2009-07-29 | 2011-03-23 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and method for calling windows process in same |
| CN102685303A (en) * | 2011-03-09 | 2012-09-19 | 腾讯科技(深圳)有限公司 | Communication method and device |
| CN102843458A (en) * | 2011-06-23 | 2012-12-26 | 腾讯科技(深圳)有限公司 | Method and device for calling business application during call |
| CN102932533A (en) * | 2012-10-15 | 2013-02-13 | 广东欧珀移动通信有限公司 | A method and device for a third-party application program to call contacts |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101627712B1 (en) * | 2010-05-31 | 2016-06-13 | 엘지전자 주식회사 | Mobile terminal and control method thereof |
| CN103581754A (en) * | 2012-07-20 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Data display method and intelligent equipment |
| CN103645897A (en) * | 2013-12-05 | 2014-03-19 | 深圳市中兴移动通信有限公司 | Mobile terminal and operation method thereof |
-
2014
- 2014-05-22 CN CN201410220210.1A patent/CN104092815A/en active Pending
- 2014-06-27 WO PCT/CN2014/081006 patent/WO2015176352A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1650937A1 (en) * | 2004-10-19 | 2006-04-26 | Nokia Corporation | Notifying a user |
| CN101989215A (en) * | 2009-07-29 | 2011-03-23 | 鸿富锦精密工业(深圳)有限公司 | Electronic device and method for calling windows process in same |
| CN102685303A (en) * | 2011-03-09 | 2012-09-19 | 腾讯科技(深圳)有限公司 | Communication method and device |
| CN102843458A (en) * | 2011-06-23 | 2012-12-26 | 腾讯科技(深圳)有限公司 | Method and device for calling business application during call |
| CN102932533A (en) * | 2012-10-15 | 2013-02-13 | 广东欧珀移动通信有限公司 | A method and device for a third-party application program to call contacts |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112667547A (en) * | 2020-12-31 | 2021-04-16 | 神思旭辉医疗信息技术有限责任公司 | Communication method and device between PC terminal and android terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104092815A (en) | 2014-10-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2015176352A1 (en) | Android system-based method and device for information exchange between applications | |
| JP2024009980A (en) | Touch event model programming interface | |
| EP2813931B1 (en) | Electronic apparatus and method for providing services thereof | |
| US12032820B2 (en) | Fast data copying method and electronic device | |
| CN110990075B (en) | Quick application startup method, device, equipment and storage medium | |
| US20220004316A1 (en) | Touch control method and apparatus | |
| US11204681B2 (en) | Program orchestration method and electronic device | |
| CN107943439A (en) | Interface Moving method, apparatus, intelligent terminal, server and operating system | |
| US10637804B2 (en) | User terminal apparatus, communication system, and method of controlling user terminal apparatus which support a messenger service with additional functionality | |
| JP7601478B2 (en) | Control method and apparatus, and electronic device | |
| EP3039523A1 (en) | Gesture-based content sharing between devices | |
| CN112925788B (en) | A data set management method, system, device, electronic device and storage medium | |
| CN106027631B (en) | Data transmission method and device | |
| CN110168496B (en) | Methods and systems for application rendering | |
| WO2022057677A1 (en) | Vibration control method and apparatus, and electronic device and computer-readable storage medium | |
| CN116126447A (en) | An information processing method, device, electronic device, and computer-readable medium | |
| EP2830264B1 (en) | Electronic device and method for transmitting data by using messenger application | |
| WO2024109786A1 (en) | Instant messaging session information processing method and apparatus, and electronic device | |
| CN114780049A (en) | Screen projection display method and device, electronic equipment and storage medium | |
| CN106909481A (en) | Interface test method, interface test device and electronic equipment | |
| CN115576458A (en) | Application window display method, device, equipment and medium | |
| US10846468B2 (en) | Apparatus and methods for creating and sending table information | |
| CN110868640A (en) | Resource transfer method, device, device and storage medium | |
| CN111381797B (en) | Processing method and device for realizing KTV function on client and user equipment | |
| CN119759488A (en) | Method and device for managing super aggregation host based on LIBVIRT |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14892490 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14892490 Country of ref document: EP Kind code of ref document: A1 |