Search

CN-121986319-A - Application program presentation method, electronic device and external device

CN121986319ACN 121986319 ACN121986319 ACN 121986319ACN-121986319-A

Abstract

The embodiment of the application relates to the technical field of electronic equipment, and discloses an application program presentation method, electronic equipment and external equipment. The method comprises the steps of responding to starting operation received by a cooperative application program, controlling the cooperative application program to send an application list request to an external device, controlling the cooperative application program to present a desktop editing window, responding to editing operation input to a candidate application program in the desktop editing window, generating target application information, and controlling the cooperative application program to transmit the target application information to a desktop starter so that the desktop starter presents the target application program. The embodiment can complete tasks of the cross-system presentation application program based on the cooperative application program, and the mode is simple and quick, and does not need to manually switch back and forth among multiple operating systems. Secondly, the collaborative application provided in this embodiment actively requests the application information of the application program from the second operating system, and the first operating system is not required to work in the listening state at any time, so that the computing power resources can be saved.

Inventors

  • SHI SHAOXIAN

Assignees

  • 广州视源电子科技股份有限公司
  • 广州视琨电子科技有限公司

Dates

Publication Date
20260505
Application Date
20240115

Claims (17)

  1. The method for presenting the application program is characterized by being applied to electronic equipment, wherein the electronic equipment is used for being in communication connection with external equipment, the electronic equipment runs a first operating system, the external equipment runs a second operating system, the second operating system is different from the first operating system, and the first operating system is provided with a cooperative application program and a desktop starter, and the method comprises the following steps: Responding to the starting operation received by the cooperative application program, controlling the cooperative application program to send an application list request to the external device so that the external device returns application list information according to the application list request, wherein the application list information comprises application information of at least one candidate application program, and the at least one candidate application program is an application program running in the second operating system; Controlling the cooperative application program to present a desktop editing window, wherein the desktop editing window comprises application information of at least one candidate application program; Responding to the editing operation input to the candidate application program in the desktop editing window, and generating target application information, wherein the target application information comprises application information of at least one target application program, and the target application program is the candidate application program selected to be displayed; and controlling the cooperative application program to transmit the target application information to the desktop initiator so that the desktop initiator presents the target application program on a desktop of the first operating system.
  2. The method of claim 1, wherein generating target application information in response to an edit operation entered into the candidate application in the desktop editing window comprises: If the editing operation includes an adding operation, generating target application information according to application information of the candidate application in response to the adding operation input to the candidate application in the desktop editing window, or, And if the editing operation comprises a cancel operation, responding to the cancel operation input to the candidate application program in the desktop editing window, and eliminating the candidate application program.
  3. The method of claim 1, wherein the target application information further comprises a preset icon corresponding to each of the target applications, wherein controlling the collaborative application to transmit the target application information to the desktop initiator to cause the desktop initiator to present the target application on a desktop of the first operating system comprises: And controlling the cooperative application program to transmit the target application information to the desktop initiator so that the desktop initiator presents a preset icon of the target application program on a desktop of the first operating system.
  4. The method as recited in claim 1, further comprising: Sending an icon acquisition request to the external device based on the cooperative application program, so that the external device returns a target application icon corresponding to each target application program according to the icon acquisition request; Updating the target application information according to the target application icon to obtain updated target application information; and controlling the cooperative application program to transmit the updated target application information to the desktop starter so that the desktop starter executes refreshing operation to replace a preset icon of the target application program with the target application icon.
  5. The method as recited in claim 1, further comprising: The method comprises the steps that an application opening request sent by a desktop starter is responded, the cooperative application program is started, the application opening request is used for requesting the second operating system to open a preset application program, icons of the preset application program are displayed on a desktop of the first operating system, and the preset application program is installed on the second operating system; Controlling the cooperative application program to send an application starting request to the external device so that the external device starts a preset application program according to the application starting request; And controlling the application interface of the cooperative application program to present the application interface of the preset application program.
  6. The method of claim 5, wherein the first operating system is provided with a middle tier application program, the middle tier application program is capable of performing data transmission with the second operating system, and the controlling the application interface of the collaboration application program to present the application interface of the preset application program comprises: Controlling the cooperative application program to call application data acquired by the middle layer application program, wherein the application data is the data of the preset application program; And controlling the cooperative application program to load the application data so as to present the application interface of the preset application program on the application interface of the cooperative application program.
  7. The method of claim 5, further comprising, prior to sending the application launch request: Responding to an application opening request sent by the desktop starter, and acquiring desktop data of the second operating system based on the cooperative application program; And controlling an application interface of the cooperative application program to present the desktop of the second operating system according to the desktop data.
  8. The method of claim 7, wherein the first operating system is provided with a middle tier application program, the middle tier application program is capable of performing data transmission with the second operating system, and the responding to the application opening request sent by the desktop initiator, and the obtaining desktop data of the second operating system based on the collaboration application program comprises: And responding to an application opening request sent by the desktop starter, and controlling the cooperative application program to call the desktop data of the second operating system acquired by the middle layer application program.
  9. The method of any one of claims 1 to 8, wherein the first operating system configures a shear plate, the method further comprising: Acquiring copy data sent by the external device based on the cooperative application program; And transmitting the copy data to the first operating system so that the first operating system updates the copy data to the clipboard.
  10. The method for presenting the application program is characterized by being applied to an external device, wherein the external device is used for being in communication connection with an electronic device, the electronic device runs a first operating system, the external device runs a second operating system, the second operating system is different from the first operating system, and the first operating system is provided with a cooperative application program and a desktop starter, and the method comprises the following steps: Acquiring an application list request sent by the cooperative application program, wherein the application list information comprises application information of at least one candidate application program, and the at least one candidate application program is an application program running in the second operating system; And responding to the application list request, sending the application list information to the cooperative application program, wherein the cooperative application program can present a desktop editing window, the desktop editing window comprises application information corresponding to the candidate application program, the cooperative application program responds to editing operation input to the candidate application program in the desktop editing window and transmits target application information to the desktop initiator, the target application information comprises application information of at least one target application program, the target application program is the candidate application program selected to be displayed in the desktop editing window, and the desktop initiator presents the target application program on a desktop of the first operating system according to the target application information.
  11. The method as recited in claim 10, further comprising: acquiring an icon acquisition request sent by the collaboration application; And sending a target application icon corresponding to each target application program to the cooperative application program according to the icon acquisition request, so that the cooperative application program updates target application information according to the target application icons, and the desktop starter executes refreshing operation according to the updated target application information to replace preset icons of the target application programs with the target application icons.
  12. The method of claim 10, wherein the first operating system has a middle tier application installed, the middle tier application being data-transmittable with the second operating system, the method further comprising: acquiring a data acquisition request sent by the middle layer application program; And responding to the data acquisition request, and sending application data to the middle layer application program so that the cooperative application program presents an application interface of a preset application program on the application interface of the cooperative application program according to the application data, wherein the application data is the data of the preset application program.
  13. The method of claim 10, wherein the first operating system has a middle tier application installed, the middle tier application being data-transmittable with the second operating system, the method further comprising: acquiring a desktop acquisition request sent by the middle layer application program; And responding to the desktop acquisition request, and sending desktop data of the second operating system to the middle layer application program so that the cooperative application program calls the desktop data to present the desktop of the second operating system on an application interface of the cooperative application program.
  14. The method according to any one of claims 10 to 13, further comprising: and sending replication data to the cooperative application program so that the cooperative application program can transmit the replication data to the first operating system, and the first operating system can update the replication data to the clipboard.
  15. An electronic device comprising a memory and a processor, the memory being connected to the processor, the processor being configured to execute one or more computer programs stored in the memory, the processor, when executing the one or more computer programs, causing the electronic device to implement the method of any of claims 1-9.
  16. An external device comprising a memory and a processor, the memory being connected to the processor, the processor being configured to execute one or more computer programs stored in the memory, the processor, when executing the one or more computer programs, causing the external device to implement the method of any of claims 10-14.
  17. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1-9 or the method of any one of claims 10-14.

Description

Application program presentation method, electronic device and external device Technical Field The embodiment of the application relates to the technical field of electronic equipment, in particular to an application program presentation method, electronic equipment and external equipment. Background The dual-system device provided in the related art can be provided with dual operating systems, wherein the dual operating systems comprise a first operating system and a second operating system, and the first operating system and the second operating system can both install application programs. In some application scenarios, when the dual-system device currently runs the first operating system and people need to open an application program of the second operating system, people need to operate the dual-system device, exit the first operating system from the foreground operation, switch the second operating system to the foreground operation, and the desktop of the second operating system presents each application program of the user, and then the user searches for the application program needing to be opened on the desktop of the second operating system. Disclosure of Invention An object of the embodiment of the application is to provide a presentation method of an application program, an electronic device and an external device, so as to solve the technical problem that a process of presenting the application program across systems in related technologies is complicated. In a first aspect, an embodiment of the present application provides a method for presenting an application program, which is applied to an electronic device, where the electronic device is configured to be in communication with an external device, the electronic device runs a first operating system, the external device runs a second operating system, where the second operating system is different from the first operating system, and the first operating system is installed with a collaboration application program and a desktop starter, and the method includes: Responding to the starting operation received by the cooperative application program, controlling the cooperative application program to send an application list request to the external device so that the external device returns application list information according to the application list request, wherein the application list information comprises application information of at least one candidate application program, and the at least one candidate application program is an application program running in the second operating system; Controlling the cooperative application program to present a desktop editing window, wherein the desktop editing window comprises application information of at least one candidate application program; Responding to the editing operation input to the candidate application program in the desktop editing window, and generating target application information, wherein the target application information comprises application information of at least one target application program, and the target application program is the candidate application program selected to be displayed; and controlling the cooperative application program to transmit the target application information to the desktop initiator so that the desktop initiator presents the target application program on a desktop of the first operating system. Optionally, the generating the target application information in response to the editing operation input to the candidate application program in the desktop editing window includes: If the editing operation includes an adding operation, generating target application information according to application information of the candidate application in response to the adding operation input to the candidate application in the desktop editing window, or, And if the editing operation comprises a cancel operation, responding to the cancel operation input to the candidate application program in the desktop editing window, and eliminating the candidate application program. Optionally, the target application information further includes a preset icon corresponding to each target application program, and the controlling the collaborative application program to transmit the target application information to the desktop initiator, so that the desktop initiator presents the target application program on the desktop of the first operating system includes: And controlling the cooperative application program to transmit the target application information to the desktop initiator so that the desktop initiator presents a preset icon of the target application program on a desktop of the first operating system. Optionally, the method further comprises: Sending an icon acquisition request to the external device based on the cooperative application program, so that the external device returns a target application icon corresponding to each target application program according to the