Electronic equipment and program running method thereof

By implementing the program operation method on the electronic device and forwarding operation instructions from the first system to the second system, the user experience splitting caused by different application interfaces of the same type in heterogeneous systems is solved, and a unified application interface and user experience is realized.

CN119917311APending Publication Date: 2025-05-02HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311431537.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-30
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

When using electronic devices that support heterogeneous systems, the application interfaces of the same type of applications in different systems are different, resulting in a split user experience.

Method used

By implementing a program operation method on the electronic device, an operation instruction of the user on the first system is detected and forwarded to the second system, the operation instruction is executed by the corresponding application of the second system, and the interactive information is sent back to the first system for display.

Benefits of technology

It realizes that the same type of application in different systems has a unified application interface and user experience, solving the problem that users need to adapt to different application interfaces when using electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917311A_ABST
    Figure CN119917311A_ABST
Patent Text Reader

Abstract

The invention relates to electronic equipment and a program running method thereof, a first system and a second system are installed on the electronic equipment, and the program running method comprises the steps that a first operation instruction for a first application program on the first system is forwarded to the second system in a first transmission mode; a second application program related to the first application program on the second system is called, the first operation instruction is executed, the first interaction information is sent back to the first system in a second transmission mode, a first interaction result corresponding to the first interaction information is displayed in the first system, and the first transmission mode is different from the second transmission mode. According to the method, the problem that when a user uses the same type of application programs in different systems running on the electronic equipment, the application interfaces of the application programs are different, so that the user experience is mutually separated is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software architecture of electronic devices, and more particularly to an electronic device and a program running method thereof. Background Art

[0002] With the advent of the intelligent world, heterogeneous system integration technology is increasingly being used. For example, an electronic device that supports heterogeneous systems can run a host system (Host OS) and a slave system (Guest OS, also called a secondary system), that is, on an electronic device with a host system installed, the slave system is run, and users can use applications on both the host system side and the slave system side at the same time.

[0003] Some applications installed on both the master system and the slave system are also called default applications, such as input method applications. When a user uses the input method applications of the master system and the slave system, if the input method applications are from different developers / versions in different systems, then when the user uses the master system and the slave system, the screen of the electronic device will display different default soft keyboard modes of the input method applications (such as different candidate word sorting, candidate word association, etc. are displayed in the respective application interfaces), so that the user needs to adapt to different application interfaces of the same type of application when using an electronic device, which reduces the user experience. Summary of the invention

[0004] This article provides an electronic device and a program running method thereof.

[0005] In a first aspect, this specification provides a program running method, which is applied to an electronic device, characterized in that a first system and a second system are installed on the electronic device, and the method includes:

[0006] detecting in the first system a first operation instruction associated with a first application on the first system;

[0007] forwarding the first operation instruction to the second system through the first transmission mode;

[0008] Invoking, in the second system, a second application program related to the first application program on the second system, executing a first operation instruction, and obtaining first interaction information;

[0009] sending the first interaction information back to the first system through a second transmission mode, wherein a transmission speed of the first transmission mode is lower than a transmission speed of the second transmission mode;

[0010] A first interaction result corresponding to the first interaction information is displayed in the first system.

[0011] In this specification, the first system and the second system here may be referred to as heterogeneous systems, wherein the first system may be a slave system and the second system may be a master system. The first application and the second application here may be applications of the same type and different developers / versions respectively configured in the first system and the second system, such as an input method application. The first operation instruction here may include an operation instruction to pop up / wake up the first application. The first interaction information may include an animation effect of an application interface of the second application, such as popping up the application interface of the second application. The first operation instruction and the first interaction information here may interact between the first system and the second system through different first transmission modes and second transmission modes, respectively.

[0012] Through the above-mentioned program running method, for an electronic device with multiple systems installed, when a user uses the first application of the first system, the operation instruction can be forwarded to the second system of the electronic device, and the second application corresponding to the second system executes the operation instruction, and the interaction information after the execution of the operation instruction is sent back to the first system, and the interaction result is displayed in the first system. In addition, the user's subsequent operation instructions for the application interface of the second application displayed in the first system can also be forwarded to the second system, and the second application of the second system responds to the operation instruction, and then the interaction information after the execution is sent back to the first system for display. This solves the problem that when users use the same type of applications in different systems running on electronic devices, the application interfaces of the applications are different, resulting in a fragmented user experience.

[0013] In a possible implementation of the first aspect, detecting in the first system a first operation instruction related to a first application on the first system includes:

[0014] A user's start-up operation on a first application is detected, and a first operation instruction is generated, wherein the first operation instruction is used to start the first application.

[0015] In this specification, the user's launch operation on the first application may include the user's operation of attempting to pop up / wake up the first application in the first system. For example, if the first application is an input method application, the user's launch operation on the first application may include the user's operation performed on the input control of the target application.

[0016] In a possible implementation of the first aspect, the first interaction information is a first application interface of a second application; and invoking a second application related to the first application on the second system in the second system and executing a first operation instruction to obtain the first interaction information includes:

[0017] In response to the first operation instruction, a second application on the second system is started, and a first application interface after the second application is started is obtained.

[0018] In this specification, for the first operation instruction of the startup operation, the first interaction information can be the first application interface of the second application, that is, starting the second application on the second system and obtaining the first application interface after the second application is started, that is, calling up / popping up the first application interface of the second application in the second system, such as: the input interface of the input method application of the second system.

[0019] In a possible implementation of the first aspect above, the first interaction result is a first application interface of a second application; and displaying the first interaction result corresponding to the first interaction information in the first system includes: displaying the first application interface of the second application in the first system.

[0020] In this specification, the first application interface of the second application program invoked / popped up by the second system is returned to the first system for display.

[0021] Through the above-mentioned program running method, the first system may not respond to the first operation instruction corresponding to the startup operation, but forward the first operation instruction to the second system of the electronic device, so that the second application responds to and executes the first operation instruction. For the operation instruction of popping up / awakening the application interface of the first application in the first system, the second application of the second system can respond, ensuring that the first application interface of the second application is displayed on the first system, avoiding different user interfaces of the same type of applications awakened / popped up in the first system and the second system.

[0022] In a possible implementation of the first aspect above, a first operation instruction related to a first application on the first system is detected in the first system, including: detecting a user's click operation on a first display element in a second application interface of a second application displayed in the first system, and generating the first operation instruction.

[0023] In this specification, the first display element here can be an application control in the second application interface, such as: a character control in the soft keyboard interface of the input method application, etc. The first operation instruction here includes an operation instruction corresponding to the user operation of the second application interface of the second application that has been displayed in the first system, such as: an operation instruction to display the input content. That is, the subsequent operation instructions of the user for the application interface of the second application displayed in the first system can also be forwarded to the second system, and the second application of the second system responds to the operation instruction.

[0024] In a possible implementation of the first aspect above, the first interaction information is a third application interface of a second application; and a second application related to the first application on the second system is called in the second system, and a first operation instruction is executed to obtain the first interaction information, including: in response to the first operation instruction, performing related operations corresponding to the first display element to obtain the third application interface.

[0025] In this specification, compared with the second application interface, the display content of the third application interface here can change. For example, in response to the user operation corresponding to the operation instruction of the character control of the soft keyboard interface, the third application interface can display the candidate word ranking, candidate word association, etc.

[0026] In a possible implementation of the first aspect above, the first interaction result is a third application interface of the second application; and displaying the first interaction result corresponding to the first interaction information in the first system includes: displaying the third application interface of the second application in the first system.

[0027] Through the above-mentioned program running method, for the operation instructions of the second application interface of the second application displayed on the first system, the second application of the second system can respond to it to obtain the third application interface of the second application. The display content of the third application interface is different from that of the second application interface, ensuring that the third application interface of the second application is synchronously displayed on the first system, so that the second application can respond to the operation instructions in time.

[0028] In a possible implementation of the first aspect above, the first display element includes at least one of a close control or a minimize control; and a second application related to the first application on the second system is called in the second system, and a first operation instruction is executed to obtain first interaction information, including: closing or hiding the second application interface in the second system, and generating an animation effect corresponding to closing or hiding the second application interface.

[0029] In this specification, the first display element here may also include a close / hide / minimize control, etc. The first operation instruction here includes an operation instruction of a user for closing / hiding / minimizing a control.

[0030] In a possible implementation of the first aspect above, the first interaction result is an animation effect corresponding to closing or hiding the second application interface, and the first interaction result corresponding to the first interaction information is displayed in the first system, including: closing or hiding the second application interface of the second application in the first system.

[0031] Through the above-mentioned program running method, the second application of the second system can also respond to the user's closing / hiding / minimizing operation performed by the user on the second application displayed by the first system, ensuring that the animation effect of the second application is synchronously displayed on the first system, so that the second application can respond to the operation instructions in a timely manner.

[0032] In a possible implementation of the first aspect above, detecting a first operation instruction related to a first application on the first system in the first system includes: detecting a user's dragging operation on a second application interface of a second application displayed in the first system, and generating the first operation instruction.

[0033] In this specification, the first operation instruction may be a drag instruction for a drag operation.

[0034] In a possible implementation of the first aspect above, the first interaction result is a position change animation effect of a second application interface; and a second application related to the first application on the second system is called in the second system, and the first operation instruction is executed to obtain first interaction information: the second application interface is moved in the second system corresponding to the drag operation, and position change information of the second application interface during the movement is generated.

[0035] In a possible implementation of the first aspect above, displaying the first interaction result corresponding to the first interaction information in the first system includes: based on the position change information, displaying a position change animation effect of the second application interface corresponding to the drag operation in the first system.

[0036] Through the above-mentioned program running method, the second application of the second system can also respond to the user operation performed by the user to change the position of the application interface of the second application displayed by the first system, ensuring that the position change animation effect of the second application is synchronously displayed on the first system, such as: moving left and right, up and down.

[0037] In a possible implementation of the first aspect above, the first application is an application called by the third application, and the fourth display interface of the first application is displayed in the fifth application interface of the third application; and a first operation instruction related to the first application on the first system is detected in the first system, including: detecting the input operation performed by the user through the fifth application interface in the first input edit box of the fourth display interface, and generating the first operation instruction.

[0038] In this specification, the third application may be a target application, such as an instant messaging application. The fifth application interface is a chat interface of the instant messaging application, the first application may be an input method application, and the fourth display interface may be a soft keyboard interface of the input method application, that is, the soft keyboard interface of the input method application is popped up / evoked in the application interface of the instant messaging application.

[0039] In a possible implementation of the first aspect above, the first interaction information and the first interaction result are input information generated by the second application corresponding to the input operation; and the first interaction result corresponding to the first interaction information is displayed in the first system, including: displaying the input information in the first input edit box of the fourth display interface.

[0040] Through the above program running method, when the instant messaging application of the first system uses the input method application of the second system, the second system can respond to the user operation in a timely manner to ensure that the user can experience all functions of the input method application of the second system.

[0041] In a possible implementation of the first aspect above, the first application and the second application are input method applications.

[0042] In a possible implementation of the first aspect above, the second application is of the same type as the first application but has a different developer / version.

[0043] In this specification, the first system and the second system may be configured with input method applications from different developers / versions.

[0044] In a possible implementation of the first aspect above, the transmission speed includes at least one of data volume and transmission delay.

[0045] In this specification, the first transmission mode and the second transmission mode may be implemented by means of sockets, message queues, and shared memory, etc. The first transmission mode and the second transmission mode may be configured according to the amount of data transmitted and the transmission delay, respectively, and the first transmission mode and the second transmission mode may be set as a general communication channel and a dedicated communication channel, the first transmission mode is used to transmit information with a low amount of data and / or a low transmission delay, such as: operation instructions; and the second transmission mode is used to transmit information with a high amount of data and / or a high transmission delay, such as: animation effects of application interfaces.

[0046] In a possible implementation of the first aspect above, the first system is a slave system running on the electronic device, and the second system is a master system running on the electronic device.

[0047] In a second aspect, this specification provides an electronic device, including:

[0048] a memory for storing instructions to be executed by one or more processors of the electronic device, and

[0049] The processor is one of the processors of the electronic device and is used to execute the program running method of the first aspect.

[0050] In a third aspect, the present specification provides a computer program product, comprising: a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium containing a computer program code for executing the program running method of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1(a) to Figure 1(d) A schematic diagram showing a scenario in which a screen of an electronic device installed with a heterogeneous system presents an application interface of an application program of the same type;

[0052] Figure 2 A schematic diagram of the architecture of an electronic device is shown;

[0053] Figure 3 A schematic diagram showing an interactive system architecture of electronic devices supporting heterogeneous systems is shown;

[0054] 4(a) and 4(b) are schematic diagrams showing an interactive system architecture applicable to an electronic device;

[0055] FIG5(a) and FIG5(b) show schematic diagrams of the structure of an IPC channel;

[0056] FIG6( a ) shows a schematic diagram of a method flow of a program running method;

[0057] Figure 6(b) and Figure 6(c) show schematic diagrams of the structure of heterogeneous systems interacting through IPC channels;

[0058] Figure 7(a) to Figure 7(d) A schematic diagram showing a scenario in which a screen of an electronic device installed with a heterogeneous system presents an application interface of an application program of the same type;

[0059] Figure 8 A schematic structural diagram of an electronic device is shown. DETAILED DESCRIPTION

[0060] The technical solutions in this specification will be described clearly and in detail below in conjunction with the accompanying drawings.

[0061] It can be understood that the technical solutions in this specification are applicable to various electronic devices that can install various operating systems and support heterogeneous systems, including terminal devices such as mobile phones, tablet computers, laptops, wearable devices, etc. The heterogeneous system supported by this specification can be an electronic device installed with dual systems (two operating systems) or multiple systems (multiple operating systems) running dual systems or multiple systems at the same time, where one system can be the main system and the other systems can be slave systems. The above-mentioned system may include a variety of operating systems suitable for electronic devices, such as wearable systems, car systems, smart home systems, etc. It can be understood that the operating systems of the main system and the slave system can be the same or different. For the sake of convenience, the following description takes the electronic device as a mobile phone as an example.

[0062] Figure 1(a) to Figure 1(d) The schematic diagram of a scenario in which the screen of a mobile phone 100 with a heterogeneous system installed presents the application interface of the same type of application program is exemplarily shown. Specifically, the SMS application running on the first system side of the mobile phone 100 displays the application interface 101 as shown in FIG1(a). Among them, the application interface 101 includes multiple SMS messages and a content input control 1011. The user can perform a user operation on the content input control 1011, such as a click operation. In response to the user operation, as shown in FIG1(b), the application interface 101 of the SMS application on the screen of the mobile phone 100 displays the application interface 102 of the first input method application. It can be seen that on the first system side, the default soft keyboard mode of the first input method application is the Chinese full keyboard.

[0063] The SMS application running on the second system side of the mobile phone 100 displays the application interface 103 as shown in FIG1(c). The application interface 103 of the SMS application includes a content input control 1031. The user can perform a user operation on the content input control 1031, such as a click operation. In response to the user operation, as shown in FIG1(d), the application interface 103 of the SMS application on the screen of the mobile phone 100 displays the application interface 104 of the second input method application. It can be seen that on the second system side, the default soft keyboard mode of the second input method application is the Chinese nine-square soft keyboard. The first input method application and the second input method application here can be referred to as default applications.

[0064] Based on the above Figure 1(a) to Figure 1(d)It can be seen that the default soft keyboard modes of the application interface 102 of the first input method application and the application interface 104 of the second input method application are different. That is, when the user uses the mobile phone 100 supporting heterogeneous systems (such as the first system and the second system), due to the different developers / versions of the first input method application and the second input method application installed by the first system and the second system, when the first input method application and the second input method application are called by the application programs running in the first system and the second system, the default soft keyboard modes of the pop-up / evoked input method applications are also different, that is, the application interfaces of the input method applications are different.

[0065] Below through Figure 2 The schematic diagram of the architecture of the mobile phone 100 is described, and the reasons why the default soft keyboard mode (application interface) of the input method application is different after the input method application is popped up / called up by the main system and the slave system of the mobile phone 100 are further explained through the schematic diagram of the architecture. Figure 2 As shown, the mobile phone 100 includes a software side 201 and a hardware side 202. The software side 201 includes: a main system 2011 and a slave system 2012. The hardware side 202 includes: a kernel 2021 and physical hardware 2022. Among them, the main system 2011 includes: a third-party application 20111, a system application 20112, an input method application 20113, a system framework 20114, a system service 20115 and a system library 20116. Relatively speaking, the slave system 2012 includes: a third-party application 20121, a system application 20122, an input method application 20123, a system framework 20124, a system service 20125 and a system library 20126. The main system 2011, the kernel 2021 and the physical hardware 2022 can also be called a system base.

[0066] The kernel 2021 may include display drivers, event drivers, sensor drivers, etc., for implementing the interaction between the operating system and the physical hardware. The physical hardware 2022 may include cameras, speakers, microphones, etc., for implementing the application functions of the application. The third-party applications 20111 may include third-party applications installed and run by the main system 2011 or third-party services subscribed by the main system 2011, such as: life, video, reading, shopping, gallery, calendar, call, navigation, music and other applications.

[0067] System applications 20112 may include applications configured by default in the main system 2011, such as system settings, text messages, calls, and other applications, which are used to implement basic functions of the operating system.

[0068] The input method application 20113 is used to implement text or voice input. The input method application 20113 may belong to a third-party application 20111 or a system application 20112.

[0069] The system framework 20114, the system service 20115 and the system library 20116 may include: layout service, window management service, event input service, call processing service and the like. Among them, the layout service and the window management service are used to display the application interface of the application on the screen of the electronic device. The event input service is used to respond to the user operation performed by the user on the electronic device. The call processing service is used to transmit the incoming call message to the call application and to establish the hang-up monitoring corresponding to the hang-up state corresponding to the hang-up message. The three-party application 20121, the system application 20122, the input method application 20123, the system framework 20124, the system service 20125 and the system library 20126 in the slave system 2012 are similar to those of the main system 2011 and will not be repeated here.

[0070] Combination Figure 2 The typical heterogeneous operating system compatibility framework described can be seen that heterogeneous systems (i.e., Figure 2 The slave system 2012) runs as a whole on the system base of the entire framework (i.e., Figure 2 For input method applications, the input method applications of the two systems (i.e., the input method application 20113 of the main system 2011 and the input method application 20123 of the slave system 2012) are independent of each other, and the overall user experience is fragmented. In other words, when the user uses the input method application of the slave system / main system respectively, the user will clearly perceive in the user interface (UI) of the input method application that the pop-up / evoked input method soft keyboard is completely different. Secondly, for other input method features / functions of the input method application, such as: the input method's candidate word sorting, candidate word association, voice input and other high-level capabilities, the user will also clearly perceive different experiences, resulting in a user experience with fragmented usage experience.

[0071] In order to solve the above problems, this specification proposes a program running method suitable for electronic devices with heterogeneous systems installed. In this method, for electronic devices with multiple systems installed, when a user uses the first system to perform a user operation on an application (hereinafter referred to as the source application), the operation instruction corresponding to the user operation is not responded to, but the operation instruction is forwarded to the second system of the electronic device, and the application corresponding to the second system (hereinafter referred to as the execution application) executes the operation instruction, and the application interface corresponding to the execution application after the operation is completed is sent back to the first system for display in the first system. In addition, the operation instruction corresponding to the subsequent interactive operation of the user in the application interface of the execution application displayed in the first system can also be forwarded to the second system, and the execution application of the second system responds to the operation instruction and executes it, and then the changes in the application interface after the execution (hereinafter referred to as the animation effect of the application interface) are sent back to the first system for display. In this way, when the user uses the same type of application in different systems running on the electronic device, the application interface of the application is different, resulting in a problem of the user experience being separated from each other. Here, the source application and the execution application are of the same type, but the developer / version is different, that is, the default application installed by both the first system and the second system, such as: input method application.

[0072] It can be seen that the program running method proposed in this specification mainly solves the problem of ensuring that the user experience of users using input method applications across operating systems can be integrated when the electronic device supports the coexistence of heterogeneous operating systems, so that the basic capabilities of the input method application (such as: input method soft keyboard pop-up window) and high-level capabilities are unified, reducing the overall development and maintenance costs for heterogeneous operating systems.

[0073] In this specification, in addition to the operation instructions and animation effects of the application interface described above, the interactive information that can be exchanged between the first system and the second system also includes: key data and input results. Among them, the key data may include: the location information and size information of the source application running in the first system on the screen of the electronic device, which is used to determine the location of the application interface of the execution application of the second system in the first system; when the application is an input method application, the input result may represent the input result corresponding to the input operation performed by the user on the application running in the second system (such as text input, voice input, etc.).

[0074] This specification can also separate the interactive information with low transmission data volume and / or low transmission delay, such as input results, location information, etc., from the information with high transmission data volume and / or high transmission delay, such as animation effects of the application interface, etc., through different communication channels to reduce the transmission delay of the interactive information according to the transmission data volume and transmission delay of the interactive information. For operation instructions, both of the above communication channels can transmit operation instructions.

[0075] It can be understood that the scheme of this article is explained by taking the example of the first system forwarding the operation instructions and key data for the default application to the second system (that is, the slave system to the master system), and the second system sending back the input results to the first system. In some embodiments, the second system can also forward the operation instructions and key data for the default application to the first system (that is, the master system to the slave system), and the first system sends back the input results to the second system, so that the first system executes the above-mentioned operation instructions and other steps, and returns the corresponding application interface to the second system. That is, the above-mentioned first system can also execute the functions of the second system mentioned in this article, and the second system can execute the functions of the first system mentioned in this article, so as to solve the problem of different application interfaces mentioned above.

[0076] In order to implement the program operation method of this manual, this manual Figure 3 Also shown is an interactive system architecture of a mobile phone 100 supporting heterogeneous systems. Figure 3 In the interactive system architecture diagram shown, in addition to running the main system 2011 (i.e., the basic system base, the second system) on the same set of physical hardware 2022 and kernel 2021 of the mobile phone 100, multiple heterogeneous operating systems can also be configured, and each operating system independent of the main system 2011 has its own compatible operating environment, such as: Figure 3 The slave system 2012 (i.e., the first system) described. Taking the input method application as an example, a proxy input method application terminal 20127 (i.e., the proxy application terminal) based on the open framework of the operating system corresponding to the slave system 2012 can be deployed on the slave system 2012 side, and a unified fusion proxy input method client 20117 (i.e., the fusion proxy application client) can be deployed on the main system 2011 side. Interaction information is transmitted through the communication channel between the proxy input method application terminal 20127 and the fusion proxy input method client 20117. Based on the interaction information, the operation instructions corresponding to the key events such as display, hiding, text on the screen, and cursor position return included in the interaction information are executed on the main system 2011 side; the animation effects of the application interface such as display, hiding, text on the screen, and cursor position return of the input method application are realized on the slave system 2012 side, that is, the input method application on the main system 2011 side is realized on the slave system 2012 side. Figure 3The system framework, system services, system libraries, third-party applications, system applications, etc. Figure 2 The same as shown, no further description is given here.

[0077] It can be seen that in Figure 3 In the interactive system architecture of the described mobile phone 100, the slave system and the master system need to frequently transmit interactive information through the communication channel. This specification can also set the communication channel as a general communication channel and a dedicated communication channel according to the amount of transmitted data and the transmission delay, wherein the general communication channel is used to transmit information with a low data volume and / or a low transmission delay, such as: operation instructions of key events, input results of input method applications, location information of input method applications, etc., while the dedicated communication channel transmits information with a high data volume and / or a high transmission delay, such as: operation instructions of key events, display results corresponding to the operation instructions, etc.

[0078] This specification uses a communication channel between a proxy application terminal deployed on the slave system side and a fusion proxy application client deployed on the master system side, that is, deploys a direct channel for the default application between the slave system side and the master system side, so as to complete the proxy and forwarding of the interactive information for the default application between the slave system side and the master system side, thereby ensuring that the default applications of electronic devices under heterogeneous systems can be used uniformly and avoiding the situation where the user experience of the default application is mutually separated; at the same time, by configuring different direct channels, it can also ensure that the interactive information can be efficiently and quickly transmitted between the slave system side and the master system side, ensuring that the time delay for popping up / awakening the application interface of the default application on the slave system side and obtaining the input result for the default application can be greatly reduced, so that the overall time delay in the transmission process can be greatly reduced, and the different animation effects and application functions of the default application in the fusion scenario corresponding to the heterogeneous system are optimized, and the jamming problem of the application interface of the default application when it is first awakened is ensured, so as to ensure that the animation effects and application functions of the default application used on the slave system side are consistent with those in the master system, and ensure that the end-to-end performance experience meets the standards. The program running method and interactive system architecture proposed in this specification can be applied to various target applications installed in the system that need to use default applications (such as input method applications), including commonly used programs (such as instant messaging applications) and uncommon programs (such as personal tax declaration applications).

[0079] It can be seen that in Figure 3In the interactive system architecture of the mobile phone 100 supporting heterogeneous systems shown in this specification, there is no invasive modification to the main system 2011 and the slave system 2012 of the mobile phone 100, but under the condition that the services and / or architecture at the native operating system level on both sides are not modified, three functional modules or functional components are added to implement the program running method, and the functional modules include: a proxy application terminal deployed on the slave system 2012 side, a fusion proxy application client deployed on the main system 2011 side, and an inter-process communication channel (Inter Process Communication, IPC) across heterogeneous operating systems connecting these two parts, that is, an IPC channel. The IPC channel here can realize the mutual transmission of information between heterogeneous operating systems. Establishing an IPC channel can include: sockets, message queues, and shared memory. In this specification, sockets can be used to establish network connections between different systems to realize information exchange between different systems. Message queues can be used to create message queues on different systems, one system can send information through the message queue, and another system can receive information in the message queue to realize information transmission between systems. Shared memory is used to create shared memory areas on different systems. The system can directly read and write shared memory to achieve information sharing.

[0080] Taking the default application as an input method application as an example, the functional modules of these three parts are introduced in turn through FIG. 4( a ).

[0081] In the interactive system architecture of the mobile phone 100 supporting heterogeneous systems shown in FIG4(a), the mobile phone 100 can run a main system 2011 and at least one slave system 2012, and a fusion proxy input method client 20117 can be configured on the main system 2011 side. The fusion proxy input method client 20117 here can be an application or service supported by the system, and the fusion proxy input method client 20117 can be configured in the application layer or framework layer of the main system 2011. The fusion proxy input method client 20117 can be an application or service that comes with the main system 2011, or an application or service that is installed / registered / subscribed to in the main system 2011 through the cloud service center. A proxy input method application terminal 20127 can be configured on the slave system 2012 side. Similarly, the proxy input method application terminal 20127 here can also be an application or service configured in the slave system 2012. IPC channels 20131 and 20132 can be set between the fusion proxy input method client 20117 and the proxy input method application terminal 20127. Here, the IPC channel 20131 and the IPC channel 20132 may be automatically established between the fusion proxy input method client 20117 and the proxy input method application terminal 20127, or may be manually configured by the user between the fusion proxy input method client 20117 and the proxy input method application terminal 20127. The fusion proxy input method client 20117, the proxy input method application terminal 20127, the IPC channel 20131 and the IPC channel 20132 may be referred to as an input method fusion module 2013.

[0082] The fusion proxy input method client 20117 is used to receive the operation instructions for the key events corresponding to the input method client 20129 (input method application) installed in the slave system 2012, and convert the operation instructions into operation instructions adapted to the input method application 2119 through the input method service framework 20118 on the main system 2011 side. The input method application 2119 is called in the role of the fusion proxy input method client 20117, and the operation instructions are executed to obtain the display results (capabilities) corresponding to the input method application 20119, such as: displaying and hiding the application interface of the input method application 20119 on the main system 2011 side. The display results of the input method application 20119 are sent back to the slave system 2012 side. The fused proxy input method client 20117 is also used to send the input results (text on the screen) of the input method application 20119 (input method application) on the main system 2011 side back to the proxy input method application terminal 20127 on the system 2012 side, so that the input results can be obtained synchronously from the system 2012 side, that is, the text on the screen and display actions are completed.

[0083] The proxy input method application terminal 20127 is used to determine the location information of the application interface of the input method client 20129 (input method application) installed from the system 2012 (such as the ability of the input method soft keyboard to occupy the place), and forward the location information to the fusion proxy input method client 20117. The fusion proxy input method client 20117 determines the size and position of the application interface of the input method application 20119 on the main system 2011 side based on the location information, and completes the action of pushing up the application interface (input method soft keyboard) of the input method application 20119, ensuring that the application interface of the input method application 20119 will not block the input edit box and other controls of the target application that calls the input method client 20129 from the system 2012 side. The proxy input method application terminal 20127 is used to forward the operation instructions of key events corresponding to the input method client 20129 installed from the system 2012 to the fused proxy input method client 20117, that is, it has the capability to forward the operation instructions of key events corresponding to the input method client 20129 on the system 2012 side, such as: forwarding the display, hiding, binding, unbinding, cursor position and other operation instructions of the input method client 20129 to the fused proxy input method client 20117.

[0084] IPC channel 20131 can be called a general IPC channel, which is used to transmit information with low data volume and / or low transmission delay between the fusion proxy input method client 20117 and the proxy input method application terminal 20127, such as: operation instructions, input results of the input method application, location information of the input method application, etc. Therefore, IPC channel 20131 can also be called a general IPC channel for delay-insensitive scenarios. IPC channel 20132 can be called a dedicated IPC channel, which is used to transmit information with high data volume and / or high transmission delay between the fusion proxy input method client 20117 and the proxy input method application terminal 20127, such as: operation instructions for key events corresponding to the input method application installed from the system 2012 and the display results corresponding to the operation instructions (that is, the animation effects of the application interface of the input method application), etc. IPC channel 20132 can also be called a dedicated IPC channel (delay-sensitive channel) for delay-sensitive scenarios, that is, IPC channel 20132 can be used to transmit corresponding information when the application interface of the default application is first called up and the animation effects of the application interface are displayed.

[0085] FIG4(b) further illustrates the interactive system architecture of the mobile phone 100 supporting heterogeneous systems involved in this specification shown in FIG4(a). In FIG4(b), the input method service framework 20128 of the slave system 2012 side can be called (InputMethod Manage Service, IMMS) input method management service, the input method client 20129 can be called (InputMethod Manage, IMM) input method manager, and the proxy input method application end 20127 can be represented as (InputMethod Service, IMS) proxy input method service. The main system 2011 side includes the input method service framework 20118 (InputMethod Service Architecture, IMSA) input method service framework, the input method application 20119 (InputMethod Application, IMA) and the fusion proxy input method client 20117, that is, (Input MethodService-Broker, IMS-Broker) proxy input method client. Continuing to refer to Figure 4(b), it can be seen that in the interactive system architecture shown in Figure 4(b), the input method fusion module 2013 can include: a proxy input method application terminal 20127, an input method service framework 20128, a fused proxy input method client 20117, an input method service framework 20118, and IPC channels 20131 and 20132.

[0086] It can be seen that for the mobile phone 100 configured with the interactive system architecture shown in FIG. 4(a) and FIG. 4(b), after the user performs a user operation on the input edit box of the target application running from the system 2012, the proxy input method application terminal 20127 obtains the location information of the application interface of the input method client 2129 installed from the system 2012 through the input method service framework 20128, and forwards the location information to the fusion proxy input method client 20117 based on the IPC channel 20131. At the same time, the proxy input method application terminal 20127 also forwards the operation instruction of the user operation to the fusion proxy input method client 20117. The fusion proxy input method client 20117 determines the size and position of the application interface of the input method application 2119 on the main system 2011 side based on the location information, and returns the application interface of the input method application 2119 to the proxy input method application terminal 20127 based on the IPC channel 20132, and completes the display of the application interface of the input method application 2119 of the main system 2011 in the application interface of the target application. That is, the same input method application can be called up / popped up in the application interface of the target application of the slave system and the master system. In the application interface of the target application on the slave system side, according to the location information of the input method application sent from the slave system to the master system, the application interface of the input method application on the master system side can be ensured not to block the input edit box of the target application and the animation effect of the input method application displayed on the slave system side is consistent with that on the master system side.

[0087] After describing the various functional modules in the interactive system architecture of the mobile phone 100 supporting heterogeneous systems involved in this specification through Figures 4(a) and 4(b), the IPC channel 20131 and the IPC channel 20132 shown in Figures 4(a) and 4(b) are further described below through Figures 5(a) and 5(b).

[0088] As shown in FIG. 5( a ), the master system 2011 can configure the IPC channel 20131 by means of a socket. For example, the socket port of the inter-process communication protocol (UNIX Domain Socket, UDS) involved in the master system 2011 maps the master system 2011 to the slave system 2012, that is, a communication connection is established between the master system 2011 and the slave system 2012, where the communication connection can be based on the Transmission Control Protocol / Internet Protocol TCP / IP (Transmission Control Protocol / Internet Protocol, TCP / IP Transmission Control Protocol / Internet Protocol) or the User Datagram Protocol (UDP, User Datagram Protocol). The socket nodes 201111 and 201211 of the master system 2011 and the slave system 2012, respectively, can be regarded as the same socket node, and the master system 2011 and the slave system 2012 can realize information transmission through the socket nodes 201111 and 201211. The proxy input method application end (IMS) 20127 can forward the operation instructions in the interactive information (data), such as the operation instructions of the key events corresponding to the input method client (input method application) of the slave system 2012, as service handles (control flow) and key data (data flow) to the fusion proxy input method client (IMS-Broker) 20117 through the socket node based on the proxy (commen-proxy) 201210 (UDS communication). The fusion proxy input method client 20117 receives the interactive information through the socket node based on the proxy (commen-broker) 201110, such as: after identifying the operation instructions of the key events according to the service handle in the interactive information sent by the proxy input method application end 20127, the operation instructions are distributed to the input method application of the main system 2011 for processing. Similarly, the forwarding of interactive information between the main system 2011 and the slave system 2012 is also the same. The service handle here represents the unique identifier of a service object (operation instruction), corresponds to the object one by one, and can be uniquely determined through the service handle. In this specification, IPC channel 20131 can be used to transmit operation instructions, key data and input results.

[0089] As shown in FIG. 5( b ), after the two functional modules of the fusion proxy input method client 20117 and the proxy input method application terminal 20127 are started, the fusion proxy input method client 20117 and the proxy input method application terminal 20127 can register their respective service handles in the system service 20115 and the system service 20125 (system service management module) of the main system 2011 and the slave system 2012. The fusion proxy input method client 20117 and the proxy input method application terminal 20127 can obtain the service handle of the other end through the system service 20115 and the system service 20125 respectively. When the proxy input method application terminal 20127 on the slave system 2012 side and the proxy input method application terminal 20127 on the main system 2011 side communicate based on the service handle, a dedicated shared memory channel can be established between the two, and the memory copy delay can be reduced when transmitting interactive information. The shared memory channel here is the IPC channel 20132, which can also be called the input method application session (Input Method Session, IMS).

[0090] That is to say, between the main system 2011 and the slave system 2012, the direct input method application session constructed by the fusion proxy input method client 20117 and the proxy input method application terminal 20127 on both sides, the original IMM-IMMS-IMS on the slave system 2012 side, that is, the input method client-input method service framework-proxy input method application terminal, is integrated with the IMA-IMSA-IMS on the main system 2011 side, that is, the input method application-input method service framework-fusion proxy input method client, and the IMM-IMS-IMS-IMA connectivity is realized. That is, the input method application of the input method client-input method service framework-input method service framework-fusion proxy input method client. In this input method fusion module, the fusion proxy input method client 20117 and the proxy input method application terminal 20127 can communicate directly through the input method application session to complete the interaction of the interactive information corresponding to the input method application (complete the interaction of key events, key data, animation effects of the application interface, etc.).

[0091] It can be seen that in the interactive system architecture of the mobile phone 100 involved in this specification, at least two communication channels with different transmission speeds (transmission data volume and transmission delay) are configured between heterogeneous systems, that is, the IPC channel 20131 and the IPC channel 20132 described in Figures 5(a) and 5(b) above. Among them, the IPC channel 20131 can be used to transmit information with a low data volume and / or a low transmission delay, while the IPC channel 20132 can be used to transmit interactive information with a high data volume and / or a high transmission delay. It is ensured that different types of interactive information can be efficiently and quickly transmitted between heterogeneous systems, and it is further ensured that interactive information with a high transmission data volume and / or a high transmission delay, such as the animation effects of the input method application, can be transmitted in a timely manner, and the consistency of the animation effects and application functions used by the default application on the slave system side and in the master system is ensured.

[0092] The program running method provided in this specification is described in detail below based on the method flow chart shown in Figure 6(a).

[0093] Referring to FIG. 6( a ), the program running method may include the following steps:

[0094] S601: The first system detects a first operation instruction for a first input method on the first system.

[0095] Exemplarily, the first input method here can be the input method client 20129 installed from the system 2012 as shown in FIG4(b). For the first operation instruction, when the user clicks the input edit box of the target application, the first operation instruction generated is the display instruction of the application interface of the first input method (the soft keyboard of the first input method); or, when the application interface of the second input method has been displayed on the first system side, when the user clicks the close / hide / minimize control in the application interface of the second input method or the area in the application interface of the target application except the application interface of the second input method, the first operation instruction generated is the close / hide / minimize instruction of the application interface of the first input method.

[0096] S602: The first system forwards the first operation instruction to the second system.

[0097] Exemplarily, the first system may forward the first operation instruction to the second system via the IPC channel 20131 or the IPC channel 20132 as shown in FIG. 4( b ).

[0098] S603: The second system performs corresponding operation processing on the second input method on the second system according to the first operation instruction to obtain a first interaction result.

[0099] Exemplarily, the second input method is subjected to corresponding operation processing according to the first operation instruction, that is, the second system controls / calls the second input method according to the first operation instruction. The second input method here may be an input method application 20119 installed by the main system 2011 as shown in FIG4(b). If the first operation instruction for the first input method is a display instruction of the application interface, the animation effect of displaying the application interface of the second input method is obtained, or, if the first operation instruction for the first input method is a closing instruction of the application interface, the animation effect of closing the application interface of the second input method is obtained. For the display instruction, the first interaction result here may be a soft keyboard that displays the second input method; for the closing instruction, the first interaction result here may be a soft keyboard that closes the second input method.

[0100] As shown in FIG6(b), in this specification, when the target application in the slave system 2012 needs to display the soft keyboard of the input method client 20129, the display instruction is sent to the input method service framework 20128 through the input method client 20129. After receiving the display instruction, the input method service framework 20128 searches for the input method service currently associated with the input method service framework 20128, that is, searches for the proxy input method application terminal 20127 through the service handle registered in the system service 20115 of the slave system 2012, and sends the display instruction to the proxy input method application terminal 20127. After receiving the display instruction, the proxy input method application terminal 20127 preferentially forwards the display instruction to the fusion proxy input method client 20117 of the master system 2011 through the IPC channel 20132 (delay-sensitive channel) or through the IPC channel 20131 (non-delay-sensitive channel). The fused proxy input method client 20117 sends the display instruction to the input method service framework 20118. The input method service framework 20118 searches for the input method application 20119 bound to the main system 2011, and controls the animation effects of the soft keyboard of the input method client 20129 displayed on the slave system 2012 side and the soft keyboard of the input method application 20119 on the main system 2011 side to be synchronized according to the display strategy corresponding to the display instruction.

[0101] The display strategy here may include: in the scenario where the soft keyboard of the slave system 2012 and the real soft keyboard on the main system 2011 side pop up at the same time, due to the delay in forwarding the display command through the IPC channel 20132, the pop-up speed of the two windows is inconsistent, affecting the user experience. Therefore, before the placeholder soft keyboard pops up, the display strategy is transmitted to the main system 2011 side, and only after receiving the anchor point position returned by the real soft keyboard on the main system 2011 side, that is, the position information of the soft keyboard of the input method application 20119 on the main system 2011 side, can the pop-up window of the next anchor point position be continued.

[0102] S604: The second system sends the first interaction result back to the first system.

[0103] Exemplarily, the second system may also send the first interaction result back to the first system via the IPC channel 20132 as shown in FIG. 4( b ).

[0104] S605: The first system presents a first interaction result.

[0105] Exemplarily, the first system may display the first interaction result through the screen of the mobile phone 100. For example, the application interface of the soft keyboard of the input method application 20119 on the main system 2011 side may be displayed.

[0106] S606: The first system receives a second operation instruction for the second input method.

[0107] Exemplarily, the second operation instruction here is an operation instruction executed by the user on the second input method displayed in the first system. For the second operation instruction, when the user completes the input information using the application interface of the second input method and clicks the send key on the application interface, the second operation instruction generated is a submission instruction for the input information of the second input method. Alternatively, when the user clicks the delete control on the application interface of the second input method, the second operation instruction is a delete instruction for the input information existing on the application interface of the second input method. Alternatively, when the user presses and holds the application interface of the second input method to perform a drag operation, the second operation instruction is a drag instruction for the application interface of the second input method.

[0108] S607: The first system forwards the second operation instruction to the second system.

[0109] Exemplarily, the first system may forward the first operation instruction to the second system via the IPC channel 20131 or the IPC channel 20132 as shown in FIG. 4( b ).

[0110] S608: The second system performs corresponding operation processing on the second input method according to the second operation instruction to obtain a second interaction result.

[0111] Exemplarily, if the second operation instruction for the second input method is an instruction to submit input information, the second interaction result is to display the input information completed using the application interface of the second input method in the application interface of the first input method; or, if the second operation instruction for the second input method is an instruction to delete input information, the second interaction result is to delete the input information displayed on the application interface of the first input method.

[0112] S609: The second system sends the second interaction result back to the first system.

[0113] Exemplarily, the second system may also send the first interaction result back to the first system via the IPC channel 20131 as shown in FIG. 4( b ).

[0114] S610: The first system presents a second interaction result.

[0115] As shown in FIG. 6( c ), in this specification, after the input method application 20119 on the main system 2011 side collects the input information input by the user and identifies the input method client 20129 of the slave system 2012, the input information is submitted to the fusion proxy input method client 20117. The fusion proxy input method client 20117 sends the input information back to the proxy input method application end 20127 of the slave system 2012 through the IPC channel 20131 (non-delay-sensitive channel). After the proxy input method application end 20127 receives the user's input information, it can further obtain the communication handle of calling the target application of the input method client 20129 of the slave system 2012 through the method (getCurrentInputConnect) provided by the input method service framework 20128. The user's input information is input into the input edit box of the target application through the input edit box control (commitText) provided by the target application, and the input information (text) corresponding to the target application on the slave system 2012 side is put on the screen. That is, when the user completes inputting information in the input edit box of the target application, the second input method of the second system generates input information and sends the input information back to the first system, and the input edit box of the target application of the first system displays the input information.

[0116] Through the interactive system architecture and program operation method of this specification, by building a system service communication channel between the slave system and the main system, the service fusion of the slave system and the main system is completed, and the animation effect and application function experience of the same application between heterogeneous systems are consistent. Build an IPC channel for exclusive services, use shared memory to reduce the number of memory copies, and improve communication performance. Taking the input method application as an example, by configuring the above display strategy, the pop-up window timing of the placeholder soft keyboard of the input method application on the slave system side and the real soft keyboard of the input method application on the main system side can be efficiently synchronized, as well as the synchronization of candidate word sorting, candidate word association, etc., to ensure the consistency of the animation effect and application function of the input method application between the slave system and the main system, avoid the occurrence of fragmented use results, and improve the user experience. When the user uses the input method application on the slave system side, the full functions of the input method application on the main system side can be experienced without making any modifications to the input method application on the slave system side. When using the input method application of an electronic device that supports heterogeneous systems, by configuring the input method fusion module, it is ensured that the performance experience between the slave system and the main system, that is, end-to-end, meets the standards.

[0117] Figure 7(a) to Figure 7(d) The schematic diagram of the scenario in which the screen of the mobile phone 100 with heterogeneous systems installed presents the application interface of the same type of application is exemplarily shown. It can be seen that on the application interface 701 of the SMS application running on the first system side of the mobile phone 100, after detecting the user operation performed on the content input control 7011, the default soft keyboard mode of the application interface 702 of the displayed input method application is the Chinese nine-square soft keyboard. Similarly, on the application interface 703 of the SMS application running on the second system side of the mobile phone 100, after detecting the user operation performed on the content input control 7031, the default soft keyboard mode of the application interface 704 of the displayed input method application is also the Chinese nine-square soft keyboard. The uniformity of calling the default application on the slave system and the main system of the mobile phone 100 with heterogeneous systems installed is achieved.

[0118] Figure 8 This is a schematic diagram of the structure of an electronic device provided in this specification. Figure 8 As shown, the electronic device may include: a processor 810, an internal memory 820, a mobile communication module 830, an antenna, a charging management module 840, a power management module 841, a battery 842, an audio module 850, a microphone 850A, a display screen 860, a sensor module 870, etc.

[0119] The processor 810 may include one or more processing units, for example, the processor 810 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), etc. Among them, different processing units may be independent devices or integrated into one or more processors. In this specification, the processor 810 user executes the program running method to transmit interactive information between multiple systems supported by the electronic device.

[0120] The internal memory 820 can be used to store computer executable program codes and functional modules. The processor 810 controls the functional modules to implement the program running method of this specification by running the executable program codes stored in the internal memory 820.

[0121] The mobile communication module 830 can enable the electronic device to access a wireless network through an antenna.

[0122] The charging management module 840 , the power management module 841 , and the battery 842 may be used to supply power to other components of the electronic device.

[0123] The audio module 850 may receive a voice input performed by a user on the electronic device through the microphone 850A.

[0124] The display screen 860 is used to display images, videos, etc. The display screen 860 can receive text input performed by the user on the electronic device.

[0125] The sensor module 870 may include sensors such as a distance sensor, a proximity light sensor, a touch sensor, and an ambient light sensor, for receiving user operations performed by a user on the electronic device.

[0126] It is understood that the structure illustrated in this specification does not constitute a specific limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0127] It should be understood that although the terms "first", "second", etc. may be used herein to describe various features, these features should not be limited by these terms. The use of these terms is only for the purpose of distinction and cannot be understood as indicating or implying relative importance. For example, without departing from the scope of this specification, a first feature may be referred to as a second feature, and similarly a second feature may be referred to as a first feature.

[0128] Unless the context dictates otherwise, the terms "comprising," "having," and "including" are synonymous. The phrase "A / B" means "A or B." The phrase "A and / or B" means "(A), (B), or (A and B)."

[0129] As used herein, the term "module" may refer to, be part of, or include: a memory (shared, dedicated, or group) for running one or more software or firmware programs, an application-specific integrated circuit (ASIC), an electronic circuit and / or processor (shared, dedicated, or group), a combinational logic circuit, and / or other suitable components that provide the described functionality.

[0130] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or ordering is not necessary. These features can be described in a manner and / or order different from that shown in the illustrative drawings.

[0131] The above is a detailed description of the specification in conjunction with the drawings, but the use of the technical solution of the specification is not limited to the various applications mentioned in the specification. Various structures and modifications can be easily implemented with reference to the technical solution of the specification to achieve the various beneficial effects mentioned in this article. Various changes made within the knowledge of ordinary technicians in the field without departing from the purpose of the specification should be included in the scope of the specification.

Claims

1. A program running method, applied to an electronic device, characterized in that: The electronic device has a first system and a second system installed thereon, and the method includes: detecting, in the first system, a first operation instruction associated with a first application on the first system; forwarding the first operation instruction to the second system through a first transmission mode; Invoking, in the second system, a second application program related to the first application program on the second system, executing the first operation instruction, and obtaining first interaction information; sending the first interaction information back to the first system through a second transmission mode, wherein a transmission speed of the first transmission mode is lower than a transmission speed of the second transmission mode; A first interaction result corresponding to the first interaction information is displayed in the first system.

2. The method according to claim 1, characterized in that The detecting in the first system a first operation instruction related to a first application on the first system includes: A user's start-up operation on the first application is detected, and the first operation instruction is generated, wherein the first operation instruction is used to start the first application.

3. The method according to claim 2, characterized in that The first interaction information is a first application interface of the second application; and The calling, in the second system, a second application program related to the first application program on the second system, executing the first operation instruction, and obtaining first interaction information includes: In response to the first operating instruction, the second application on the second system is started, and a first application interface after the second application is started is obtained.

4. The method according to claim 3, characterized in that The first interaction result is a first application interface of the second application; and The displaying, in the first system, a first interaction result corresponding to the first interaction information includes: The first application interface of the second application is displayed on the first system.

5. The method according to claim 1, characterized in that The detecting in the first system a first operation instruction related to a first application on the first system includes: A click operation of a user on a first display element in a second application interface of the second application displayed in the first system is detected, and the first operation instruction is generated.

6. The method according to claim 5, characterized in that The first interaction information is a third application interface of the second application; and The calling, in the second system, a second application program related to the first application program on the second system, executing the first operation instruction, and obtaining first interaction information includes: In response to the first operation instruction, a related operation corresponding to the first display element is performed to obtain the third application interface.

7. The method according to claim 6, characterized in that The first interaction result is a third application interface of the second application; and The displaying, in the first system, a first interaction result corresponding to the first interaction information includes: A third application interface of the second application is displayed on the first system.

8. The method according to claim 5, characterized in that The first display element includes at least one of a close control or a minimize control; and The calling, in the second system, a second application program related to the first application program on the second system, executing the first operation instruction, and obtaining first interaction information includes: The second application interface is closed or hidden in the second system, and an animation effect corresponding to the closing or hiding of the second application interface is generated.

9. The method according to claim 8, characterized in that The first interaction result is an animation effect corresponding to closing or hiding the second application interface, and The displaying, in the first system, a first interaction result corresponding to the first interaction information includes: The second application interface of the second application is closed or hidden in the first system.

10. The method according to claim 1, characterized in that The detecting in the first system a first operation instruction related to a first application on the first system includes: A dragging operation of a user on a second application interface of the second application displayed in the first system is detected, and the first operation instruction is generated.

11. The method according to claim 10, characterized in that The first interaction result is a position change animation effect of the second application interface; and Invoke, in the second system, a second application program related to the first application program on the second system, execute the first operation instruction, and obtain first interaction information: In the second system, the second application interface is moved in response to the drag operation, and position change information of the second application interface during the movement is generated.

12. The method according to claim 11, characterized in that Displaying, in the first system, a first interaction result corresponding to the first interaction information includes: Based on the position change information, a position change animation effect of the second application interface corresponding to the drag operation is displayed in the first system.

13. The method according to claim 1, characterized in that The first application is an application called by a third application, and the fourth display interface of the first application is displayed in the fifth application interface of the third application; and The detecting in the first system a first operation instruction related to a first application on the first system includes: An input operation performed by a user in a first input edit box of the fourth display interface through the fifth application interface is detected, and the first operation instruction is generated.

14. The method according to claim 13, characterized in that The first interaction information and the first interaction result are input information generated by the second application program in response to the input operation; and The displaying, in the first system, a first interaction result corresponding to the first interaction information includes: The input information is displayed in the first input editing box of the fourth display interface.

15. The method according to claim 14, characterized in that The first application and the second application are input method applications.

16. The method according to any one of claims 1 to 15, characterized in that The second application is of the same type as the first application but of a different developer / version.

17. The method according to any one of claims 1 to 15, characterized in that The transmission speed includes at least one of data volume and transmission delay.

18. The method according to any one of claims 1 to 15, characterized in that The first system is a slave system running on the electronic device and the second system is a master system running on the electronic device.

19. An electronic device, characterized in that: include: a memory for storing instructions to be executed by one or more processors of the electronic device, and The processor is one of the processors of an electronic device, and is used to execute the program running method described in any one of claims 1-18.

20. A computer program product, characterized in that include: A non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium contains computer program code for executing the program running method according to any one of claims 1 to 18.

21. A computer-readable storage medium, characterized in that: Contains computer program code for executing the program running method according to any one of claims 1 to 18.