Application sharing method, electronic device and computer-readable storage medium

The creation of a virtual screen on the first electronic device for sharing applications while allowing independent operation addresses the low device utilization issue, enabling simultaneous use and synchronized sharing across devices.

JP7728258B2Active Publication Date: 2025-08-22VIVO MOBILE COMM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022532619
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-12-02
Filing Date
2020-11-27
Publication Date
2025-08-22
Estimated Expiration
2040-11-27

AI Technical Summary

Technical Problem

Existing application sharing methods result in low device utilization as the device sharing the application is controlled by another device and cannot be operated on during the sharing process.

Method used

A method and system that creates a virtual screen on the first electronic device to display and share the target application's interface while allowing the user to continue operating the device independently, using virtual screen technology, audio separation, touch detection, and data transmission to synchronize the shared application across devices.

Benefits of technology

Enables simultaneous use of the shared application on a second device while allowing the user to perform other operations on the first device, improving device utilization and providing a visually accurate result without affecting the first device's functionality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007728258000001
    Figure 0007728258000001
  • Figure 0007728258000002
    Figure 0007728258000002
  • Figure 0007728258000003
    Figure 0007728258000003
Patent Text Reader

Abstract

The present application provides an application sharing method, an electronic device, and a computer-readable storage medium, which includes: when the first electronic device is connected to a second electronic device, displaying a navigation interface of a target application on a virtual screen; and sharing the navigation interface of the target application displayed on the virtual screen with the second electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] (CROSS-REFERENCE TO RELATED APPLICATIONS) This application claims priority from Chinese Patent Application No. 201911211016.6, filed in China on December 2, 2019, the entire contents of which are incorporated herein by reference. The present application relates to the field of communication technology, and in particular to an application sharing method, an electronic device, and a computer-readable storage medium. [Background technology]

[0002] With the rapid development of computer technology, electronic devices have become more and more functional, and the demand for sharing functions between different electronic devices is becoming stronger and stronger, for example, application sharing is a common sharing demand.

[0003] Currently, application sharing between electronic devices is the most common method. Remote control software, i.e., a remote control application, can be used to connect two electronic devices. One device controls the desktop of the other device, allowing the other device to view and use applications on the desktop. However, during this sharing, the device sharing the application is controlled by the other device and cannot be operated on that device, resulting in relatively low device utilization. Summary of the Invention [Problem to be solved by the invention]

[0004] SUMMARY OF THE INVENTION The embodiments of the present application provide an application sharing method, an electronic device, and a computer-readable storage medium for solving the problem of the prior art that device utilization is relatively low during application sharing. [Means for solving the problem]

[0005] In order to solve the above technical problems, the present application is realized as follows.

[0006] According to a first aspect, an embodiment of the present application provides an application sharing method for use in a first electronic device, the method comprising: When the first electronic device is connected to the second electronic device, displaying a running interface of the target application on a virtual screen; and sharing the operating interface of the target application displayed on the virtual screen with the second electronic device.

[0007] According to a second aspect, an embodiment of the present application further provides a first electronic device, the first electronic device comprising: a control module for displaying a target application running interface on a virtual screen when the first electronic device is connected to a second electronic device; and a sharing module for sharing the running interface of the target application displayed on the virtual screen with the second electronic device.

[0008] According to a third aspect, the embodiments of the present application further provide an electronic device, which includes a memory in which a computer program is stored and a processor, and when the processor executes the computer program, the electronic device realizes the steps of the application sharing method of each embodiment of the present application.

[0009] According to a fourth aspect, the embodiments of the present application further provide a computer-readable storage medium having a computer program stored therein, which, when executed by a processor, performs the steps of the application sharing method of each embodiment of the present application. [Effects of the Invention]

[0010] In the application sharing method of the embodiment of the present application, a virtual screen is created in the background, and the application to be shared is launched and then runs on the background virtual screen. At this time, the user can still perform other operations on the first electronic device, such as operations related to other applications and other functional operations, and the user's operations on the first electronic device are not affected by the first application sharing, and the first application is the target application. It can be understood that during the process of the first electronic device sharing the application to be shared, the application to be shared runs on the virtual screen created in the background and other functions of the first electronic device are not affected, so the user can still perform operations on the first electronic device, thereby improving the utilization rate of the first electronic device.

[0011] In order to more clearly explain the technical solutions of the embodiments of the present application, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments of the present application. It is obvious that the accompanying drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other accompanying drawings based on these accompanying drawings without any creative efforts. [Brief explanation of the drawings]

[0012] [Figure 1] 1 is a flowchart of an application sharing method according to an embodiment of the present application; [Figure 2] FIG. 2 is one of interface diagrams of the first electronic device according to an embodiment of the present application. [Figure 3] FIG. 10 is a diagram illustrating an interface of a second electronic device according to an embodiment of the present application. [Figure 4] FIG. 2 is a second interface diagram of the first electronic device according to an embodiment of the present application. [Figure 5] FIG. 2 is a second interface diagram of the second electronic device according to an embodiment of the present application. [Figure 6]FIG. 3 is a third interface diagram of the first electronic device according to an embodiment of the present application. [Figure 7] FIG. 3 is a third interface diagram of the second electronic device according to an embodiment of the present application. [Figure 8] FIG. 4 is a fourth interface diagram of the first electronic device according to an embodiment of the present application. [Figure 9] FIG. 4 is a fourth interface diagram of the second electronic device according to an embodiment of the present application. [Figure 10] 1 is a schematic diagram of an electronic device according to an embodiment of the present application. [Figure 11] 1 is a hardware structure schematic diagram of an electronic device according to an embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION

[0013] The following clearly and completely describes the technical solutions in the embodiments of the present application, in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without any creative effort fall within the scope of protection of the present application.

[0014] 1, an embodiment provides an application sharing method for use in a first electronic device, the application sharing method including the following steps:

[0015] Step 101: When the first electronic device is connected to the second electronic device, display the operation interface of the target application on the virtual screen.

[0016] During sharing of the target application, it is shared with a second electronic device. Thus, a connection between the first electronic device and the second electronic device needs to be established. When the first electronic device is connected to the second electronic device, the running interface of the target application can be displayed on the virtual screen, and the target application is still running.

[0017] An application may be installed on the first electronic device. For example, several applications may be installed on the first electronic device, and during application sharing, each application may have corresponding identifier information, such as an application name. The application to be shared, i.e., the target application, may be determined by determining identifier information of the application to be shared, i.e., target application identifier information, from the application identifier information of the several installed applications. Furthermore, it is also necessary to determine device information of the target electronic device that will receive the application sharing, i.e., target device information, from device information of several electronic devices that can connect to the first electronic device. Furthermore, when an application running in the foreground is shared and the first electronic device is connected to the second electronic device, the operating interface of the target application running in the foreground may be displayed on the virtual screen.

[0018] In one example, the target electronic device may be determined by displaying device information of at least one second electronic device, receiving a second selection operation for target electronic device information among the device information of the at least one second electronic device, and determining the target electronic device that is the device corresponding to the target electronic device information.

[0019] The second electronic device is an electronic device that can connect to the first electronic device. The device information of at least one second electronic device can be displayed, allowing the user to view device information, such as device names, of the second electronic devices that can connect to the first electronic device. Then, one of the at least one second electronic devices may be selected as a recipient of the application sharing. The target electronic device may be one of the at least one second electronic devices selected by the user. Through the above process, target device information can be obtained, thereby determining the target electronic device to receive the application sharing for subsequent application sharing. In one example, the first electronic device may connect to the second electronic device via Bluetooth, Wi-Fi P2P, or a network server. In the case of proximity, the connection can be realized via Bluetooth, Wi-Fi P2P, etc., while in the case of remote connection, the connection can be realized via a network server, a history connection record, etc.

[0020] Step 102: The operation interface of the target application displayed on the virtual screen is shared with the second electronic device.

[0021] The virtual screen and the main screen are disconnected, and the operation interface of the first application is displayed on the virtual screen, and then the operation interface of the target application displayed on the virtual screen is shared with the target electronic device. Since the operation interface of the first application is displayed on the virtual screen, sharing of the first application is realized, and the first application is the target application. In one example, to ensure normal transmission, the operation interface of the target application can be encoded before being shared with the second electronic device, and the second electronic device can receive, decode, and then display it.

[0022] In the application sharing method of the embodiment of the present application, when a first electronic device is connected to a second electronic device, the operation interface of the target application can be displayed on a virtual screen. At this time, the user can still perform other operations on the first electronic device, such as operations related to other applications and other function operations, and the user's operations on the first electronic device are not affected by the target application sharing. It can be understood that during the process of the first electronic device sharing the target application, the operation interface of the target application is running on the virtual screen and other functions of the first electronic device are not affected, so the user can still perform operations on the first electronic device, thereby improving the utilization rate of the first electronic device.

[0023] In one embodiment, sharing the operational interface of the target application displayed on the virtual screen with the second electronic device includes: It includes creating a virtual screen and displaying the operation interface of the target application on the virtual screen.

[0024] When the first electronic device is connected to the second electronic device, a virtual screen can be created and the target application's operating interface can be placed on the virtual screen and run while the target application continues to run. At this time, the user can still perform other operations on the first electronic device, such as related operations and other functional operations for other applications, and the user's operations on the first electronic device are not affected by the target application sharing. In one example, the target application's operating interface can be switched from the foreground to the virtual screen and displayed. In this way, the foreground does not need to display the operating interface, thereby reducing power consumption.

[0025] In one embodiment, creating a virtual screen and displaying the navigation interface of the target application on the virtual screen includes creating a virtual screen in the background and displaying the navigation interface of the target application on the virtual screen.

[0026] When the first electronic device is connected to the target electronic device, a virtual screen may be created in the background, the virtual screen may run in the background, and the target application's operating interface may be displayed on the background virtual screen, while the target application is still running. Because the virtual screen is created in the background and the virtual screen runs in the background, the target application's operating interface may be displayed on the background virtual screen, and the operating interface may run in the background. At this time, the user can still perform other operations on the first electronic device, such as related operations for other applications and other function operations, and the user's operations on the first electronic device are not affected by the target application sharing.

[0027] In one embodiment, sharing the operational interface of the target application displayed on the virtual screen to the second electronic device includes recording the virtual screen, recording audio on the virtual screen, obtaining target data including a display screen sequence and an audio sequence of the virtual screen, and sharing the target data to the second electronic device.

[0028] During display content sharing, the virtual screen can be recorded. It can be understood that recording of the first application is achieved by displaying the operating interface of the first application on the virtual screen. In addition, audio recording can be performed, for example, by recording the audio on the virtual screen to obtain target data. The target data includes a display screen sequence of the virtual screen (which may be understood as an interface sequence obtained by recording the operating interface of the target application on the virtual screen, including a multi-frame display screen corresponding to the operating screen) and an audio sequence (which may be understood as audio related to the target application on the virtual screen, separated from the audio of the system itself). By performing both screen recording and audio recording, sharing of the target data of the first application is achieved, and the target electronic device plays the target data. In this way, the first application being used on the first electronic device can be shared with the target electronic device, allowing the user to view and use the first application on the target electronic device, with both progress synchronized and providing a visually accurate result. In one example, each frame of a display screen in a display screen sequence corresponds to one frame of audio, and the number of audio frames in the audio sequence and the number of frame display screen frames in the display screen sequence may be the same, thus ensuring synchronization between video and audio.

[0029] In one embodiment, after sharing the operation interface of the target application displayed on the virtual screen with the second electronic device, the method further includes receiving touch data transmitted by the second electronic device, the touch data being obtained based on a touch operation on the operation interface of the target application; performing a response operation to the touch data based on the touch data; and displaying the interface obtained by performing the response operation on the virtual screen.

[0030] The operating interface of the target application to be shared is displayed on the second electronic device, and touch operations can be performed on the operating interface displayed on the second electronic device, thereby realizing control of the target application on the first electronic device, achieving a visually accurate result, and allowing both parties to simultaneously view the shared content and synchronize the progress.

[0031] In one embodiment, the method further includes, after sharing the operating interface of the target application displayed on the virtual screen to the second electronic device, pausing the sharing of the operating interface of the target application displayed on the virtual screen when receiving a notification message sent by the second electronic device; The notification message is a message sent by the second electronic device when the second application is switched from the foreground to the background, and the second application is used to display the operating interface of the target application.

[0032] When the second application for displaying the target application's operating interface is switched to the background, a notification message is sent to the first electronic device, and when the first electronic device receives the notification message, the sharing can be paused, thereby reducing the power consumption of the device. In one example, the second application can play an audio sequence shared by the first electronic device.

[0033] In one embodiment, displaying the navigation interface of the target application on the virtual screen comprises: If the target application is not launched, launching the target application and displaying the running interface of the target application on the virtual screen; or If the target application is in the foreground running state, the running interface of the target application is displayed on the virtual screen.

[0034] The target application to be shared may be an application that is not running, or the target application may be first launched and the target application's operating interface may be displayed on the virtual screen. An application may be installed on the first electronic device. For example, several applications may be installed on the first electronic device, and during application sharing, the application to be shared, i.e., the target application, may be determined from the several installed applications. It may also be necessary to determine the target electronic device that will receive the application sharing from several electronic devices that can connect to the first electronic device. The target application to be shared may also be running in the foreground, and the target application's operating interface may be displayed on the virtual screen. Sharing can be achieved regardless of whether an application is running or not.

[0035] The application sharing process will be described in detail in the following in a specific embodiment, taking as an example a first electronic device as device A, a first application as application X, and a second electronic device as device B.

[0036] As shown in FIG. 2, device A is sharing application X, and the application X's interface is displayed on a virtual screen. The virtual screen is displayed, and the virtual screen is running in the foreground, and device A is in the process of sharing application X. The application X's interface displayed on the virtual screen is shared with device B, and as shown in FIG. 3, device B displays the application X's interface, and device B runs the application X's interface in the foreground. In addition, device B can display the application X's interface through a second application.

[0037] As shown in Figure 4, device A is sharing application X. The application X's operating interface is displayed on a virtual screen, which runs in the background while application X is being shared. The application X's operating interface displayed on the virtual screen is shared with device B, and as shown in Figure 5, device B displays the operating interface that received application X, and device B runs the application X's operating interface in the foreground.

[0038] As shown in FIG. 6, device A is sharing application X, and the application X's operating interface is displayed on a virtual screen. The virtual screen is displayed, the virtual screen is running in the foreground, and application X is currently being shared. The application X operating screen displayed on the virtual screen is shared with device B. As shown in FIG. 7, upon receiving the application X's operating interface, device B can display the application X's operating interface through a second application running in the background. Because the second application is running in the background, a notification message is sent to device A, causing device A to pause sharing.

[0039] As shown in FIG. 8, device A is sharing application X, and the application X's operating interface is displayed on a virtual screen. The virtual screen is running in the background while application X is being shared. The application X operating screen displayed on the virtual screen is shared with device B. As shown in FIG. 9, device B receives the displayed application X operating screen and can play the display screen using a second application. The second application is running in the background, and the application X operating interface is displayed by the second application running in the background. When the second application is running in the background, a notification message can be sent to device A, causing device A to pause sharing.

[0040] During sharing, both the first electronic device and the second electronic device place the shared content (e.g., the running interface of the target application) in the background, allowing time-shared use of the sharing and the main screen, without disconnecting the sharing, and the use of both main screens does not affect each other. (When the virtual screen is in the background, the first electronic device intercepts the activity pause event from the system, allowing the target application to continue running, and the second electronic device can display the shared content through a second application. When it is running in the background, the first electronic device pauses sharing. At this time, the second electronic device does not synchronize the content displayed on the first electronic device.)

[0041] The number of second electronic devices may be multiple, and the sharing process is achieved through virtual screen technology, audio separation technology, touch detection technology, screen multi-focus technology, device connection, and data transmission technology. One-to-many connection allows a first electronic device to simultaneously share the same application with different second electronic devices, or to simultaneously share different applications with different devices. A first electronic device may simultaneously share the operating interface of the same application with different second electronic devices, or to simultaneously share the operating interfaces of different applications with different second electronic devices. Cross-platform sharing is also possible (because the target application remains running locally), and the second electronic device only needs to install one second application for video decoding, monitoring input, and display, enabling application and function sharing between different platforms (e.g., Android and iOS). Audio separation technology allows the audio of a target application whose operating interface is displayed on the virtual screen of the first electronic device to be separated from the audio of non-target applications. In this way, the audio of a target application on the virtual screen can be independently recorded to obtain an audio sequence and transmit it to the second electronic device.

[0042] The application sharing method of the above embodiment allows a first electronic device to share the running interface of a target application with a second electronic device. Both devices can simultaneously view and use the application to be shared, with both processes synchronized and providing a visually accurate result. Furthermore, during sharing, the use of other applications on the devices is not affected, and the functions of other applications can be used without disconnecting from the sharing. The shared application can be brought back to the foreground and run at any time. This ensures a safe experience for the application recipient, does not affect other tasks being performed by the application sharer on the first electronic device, and is natural and efficient in terms of behavioral logic, improving device utilization.

[0043] In one example, the first electronic device and the second electronic device may both be, but are not limited to, a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), a mobile internet device (MID), or a wearable device.

[0044] Referring to Figure 10, an embodiment further provides a first electronic device 1100. The first electronic device 1100 includes: a control module 110 for displaying an operation interface of the target application on a virtual screen when the first electronic device is connected to the second electronic device; and a sharing module 120 for sharing the operational interface of the target application displayed on the virtual screen with a second electronic device.

[0045] In one embodiment, the sharing module is used to record the virtual screen, record audio on the virtual screen, obtain target data including a display screen sequence and an audio sequence of the virtual screen, and share the target data to the second electronic device.

[0046] In one embodiment, the first electronic device comprises: a touch data receiving module for receiving touch data transmitted by the second electronic device, the touch data being obtained based on a touch operation on a navigation interface of the target application; The touch screen further includes an execution module for executing a response operation to the touch data based on the touch data, and displaying an interface obtained by executing the response operation on the virtual screen.

[0047] In one embodiment, the first electronic device comprises: Further comprising a pause module for pausing the sharing of the running interface of the target application displayed on the virtual screen when receiving the notification message sent by the second electronic device; The notification message is a message sent by the second electronic device when the second application is switched from the foreground to the background, and the second application is used to display the operating interface of the target application.

[0048] In one embodiment, the control module launches the target application if the target application is not launched, and displays the running interface of the target application on the virtual screen; or When the target application is in the foreground running state, it is used to display the running interface of the target application on the virtual screen.

[0049] The technical features of the electronic device according to the embodiments of the present application correspond to the technical features of the application sharing method, and the electronic device can realize each step of the application sharing method and achieve the same effects. In order to avoid repetition, no further description will be given here.

[0050] FIG. 11 is a schematic diagram of the hardware structure of an electronic device for implementing embodiments of the present application. The electronic device 1100 includes, but is not limited to, components such as a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and a power supply 1111. As will be appreciated by those skilled in the art, the structure of the electronic device shown in FIG. 11 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than those shown in the figure, any combination of components, or a different arrangement of components. In embodiments of the present application, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a laptop computer, a palmtop computer, a mobile terminal, a wearable device, a pedometer, etc.

[0051] The processor 1110 displays a running interface of a target application on a virtual screen when the first electronic device is connected to a second electronic device; It is used to share the operation interface of the target application displayed on the virtual screen with the second electronic device.

[0052] During the process of the first electronic device sharing the application to be shared, the target application is running on the virtual screen and other functions of the first electronic device are not affected, so the user can still operate the first electronic device, thereby improving the utilization rate of the first electronic device.

[0053] It should be understood that in the embodiments of the present application, the radio frequency unit 1101 may be used to transmit and receive information or signals during a call. Downlink data may be received from a base station and then processed by the processor 1110. Uplink data may also be transmitted to the base station. Generally, the radio frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. The radio frequency unit 1101 may communicate with other devices via a wireless communication system or network.

[0054] The electronic device provides wireless broadband Internet access to the user through the network module 1102, helping the user, for example, to send and receive email, browse web pages, access streaming media, and the like.

[0055] The audio output unit 1103 can convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output it as audio. The audio output unit 1103 can also provide audio output (e.g., call notification tone, message notification tone, etc.) related to a specific function performed by the electronic device 1100. The audio output unit 1103 can include a speaker, a buzzer, a handset, etc.

[0056] The input unit 1104 is used to receive audio or video signals. The input unit 1104 may include a graphics processing unit (GPU) 11041 and a microphone 11042. The graphics processor 11041 processes image data of still or video images acquired by an image capture electronic device (e.g., a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 1106. The image frames processed by the graphics processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102. The microphone 11042 may receive voice and process such voice as audio data. The processed audio data may be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 1101 in a telephone call mode and then output.

[0057] The electronic device 1100 further includes at least one sensor 1105, such as a light sensor, a motion sensor, or other sensor. The light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 11061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 11061 and / or the backlight when the electronic device 1100 is moved close to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes) and can detect the magnitude and direction of gravity when stationary. This can be used to identify the electronic device's orientation (e.g., portrait / landscape screen switching, related games, magnetometer orientation calibration), vibration identification-related functions (e.g., pedometer, tap), etc. The sensor 1105 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described further herein.

[0058] The display unit 1106 is used to display information input by or provided to a user. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be arranged in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.

[0059] The user input unit 1107 may be used to receive input numeric or character information and generate key signal inputs related to user setup and function control of the electronic device. The user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also known as a touch screen, can collect user touch operations on or near the touch panel 11071 (e.g., operations performed on or near the touch panel 11071 by a user using any suitable object or accessory, such as a finger, a touch pen, or the like). The touch panel 11071 may include two parts: touch detection electronics and a touch controller. The touch detection electronics detects the user's touch direction, detects signals resulting from the touch operation, and transmits the signals to the touch controller. The touch controller receives touch information from the touch detection electronics, converts it into touch point coordinates, and then transmits them to the processor 1110. The touch controller receives and executes commands sent from the processor 1110. The touch panel 11071 may be implemented using various types of touch panels, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 11071, the user input unit 1107 may include other input devices 11072. The other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control buttons, switch buttons, etc.), a trackball, a mouse, and an operating lever, which will not be further described here.

[0060] Furthermore, the touch panel 11071 may be covered on the display panel 11061. When the touch panel 11071 detects a touch operation on or near it, it transmits the detected touch event to the processor 1110 to identify the type of touch event, and the processor 1110 then provides an appropriate visual output on the display panel 11061 according to the type of touch event. In FIG. 11 , the touch panel 11071 and the display panel 11061 are shown as two independent components that realize the input and output functions of the electronic device, but in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to realize the input and output functions of the electronic device. Specific examples are not limited herein.

[0061] The interface unit 1108 is an interface for connecting an external electronic device to the electronic device 1100. For example, the external electronic device may include a wired or wireless headphone port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting to an electronic device having an identification module, an audio input / output (I / O) port, a video I / O port, an earphone port, etc. The interface unit 1108 may be used to receive input (e.g., data information, power, etc.) from the external electronic device and transmit the received input to one or more elements within the electronic device 1100, or may be used to transmit data between the electronic device 1100 and the external electronic device.

[0062] The memory 1109 can be used to store software programs and various data. The memory 1109 may mainly include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (e.g., audio playback function, image playback function, etc.), and the storage data area can store data generated by use of the mobile phone (e.g., audio data, phone book, etc.). The memory 1109 may include high-speed random access memory, or may include non-volatile memory, such as at least one magnetic disk memory device, flash memory device, or other non-volatile solid-state memory device.

[0063] The processor 1110 is the control center of the electronic device and is connected to each part of the entire electronic device via various interfaces and lines. It monitors the entire electronic device by running or executing software programs and / or modules stored in the memory 1109, accessing data stored in the memory 1109, performing various functions of the electronic device, and processing data. The processor 1110 may include one or more processing units. Preferably, the processor 1110 may integrate an application processor and a modem processor. The application processor is primarily for processing the operating system, user interface, and application programs, while the modem processor is primarily for processing wireless communications. It may be understood that the modem processor does not have to be integrated into the processor 1110.

[0064] The electronic device 1100 may further include a power source 1111 (e.g., a battery) for supplying power to each component. Preferably, the power source 1111 may be logically connected to the processor 1110 by a power management system, so that the power management system can realize functions such as charge / discharge management and power consumption management.

[0065] The electronic device 1100 also includes several functional modules not shown, which will not be further described here.

[0066] An embodiment of the present application further provides an electronic device, including a processor 1110 and a memory 1109, wherein the memory 1109 stores a computer program that can run on the processor 1110, and when the computer program is executed by the processor 1110, it can realize each process of the above-mentioned embodiment of the application sharing method and achieve the same technical effect. To avoid repetition, further description will not be given here.

[0067] The embodiments of the present application further provide a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, realizes the processes of the above-mentioned application sharing method embodiments and achieves the same technical effects. To avoid repetition, further description will not be provided here. The computer-readable storage medium may be, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0068] It may be understood that the embodiments described in some embodiments of the present disclosure may be realized by hardware, software, firmware, middleware, microcode, or a combination thereof. When realized in hardware, a module, unit, sub-module, sub-unit, etc. may be realized by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSP Devices, DSPDs), Programmable Logic Devices (PLDs), Field-Programmable Gate Arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or a combination thereof.

[0069] It should be noted that, in this specification, the terms "comprises," "including," or any other variations thereof, are intended to cover the non-exclusive "comprises," such that a process, method, article, or electronic device that includes a set of elements not only includes those elements, but also other elements not specifically listed or that are inherent in such process, method, article, or electronic device. In the absence of further limitations, an element limited by the phrase "comprising one of..." does not exclude the presence of other identical elements in a process, method, article, or electronic device that includes that element.

[0070] As will be apparent to those skilled in the art from the above description of the embodiments, the methods of the above embodiments may be realized in the form of software and a necessary general-purpose hardware platform. Of course, they can also be realized in hardware, but in many cases the former is a preferred embodiment. Based on this understanding, the technical solution of the present application, in substance or in part contributing to the prior art, may be expressed in the form of a software product. This computer software product is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes some instructions for causing an electronic device (which may be a mobile phone, computer, server, air conditioner, network device, etc.) to execute the methods of each embodiment of the present application.

[0071] The features of the above embodiments can be combined arbitrarily for the sake of brevity, and all possible combinations of the technical features in the above embodiments are not described, but as long as there is no contradiction in the combination of these technical features, they should be considered within the scope of the present specification.

[0072] Although the embodiments of the present application have been described above in conjunction with the accompanying drawings, the present application is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many modifications based on the teachings of the present application without departing from the spirit of the present application or the scope of protection of the claims, and all of them are within the scope of protection of the present application.

Claims

1. 1. An application sharing method executed by a first electronic device, comprising: When the first electronic device is connected to the second electronic device, displaying the operation interface of the target application on a virtual screen that is created and running in the background; sharing the operation interface of the target application displayed on the virtual screen with the second electronic device; Sharing the operation interface of the target application displayed on the virtual screen to the second electronic device includes: The application sharing method includes: recording the virtual screen; recording audio on the virtual screen; obtaining target data including a display screen sequence and an audio sequence of the virtual screen; and sharing the target data to the second electronic device.

2. After sharing the operation interface of the target application displayed on the virtual screen to the second electronic device, the application sharing method includes: receiving touch data transmitted by the second electronic device; The method of claim 1 , further comprising: performing a response operation to the touch data based on the touch data; and displaying an interface obtained by performing the response operation on the virtual screen.

3. After sharing the operation interface of the target application displayed on the virtual screen to the second electronic device, the application sharing method includes: Further comprising: pausing the sharing of the running interface of the target application displayed on the virtual screen when receiving the notification message sent by the second electronic device; The application sharing method according to claim 1 , wherein the notification message is used to indicate that the running interface of the target application of the second electronic device has switched from the foreground to the background.

4. Displaying the operation interface of the target application on the virtual screen comprises: If the target application is not launched, launching the target application and displaying a running interface of the target application on the virtual screen; or The method of claim 1 , further comprising: if the target application is running in the foreground, displaying a running interface of the target application on the virtual screen.

5. A first electronic device, a control module for displaying a target application running interface on a virtual screen that is created and running in the background when the first electronic device is connected to a second electronic device; a sharing module for sharing the operation interface of the target application displayed on the virtual screen with the second electronic device; The sharing module is used in the first electronic device to record the virtual screen, record audio on the virtual screen, obtain target data including a display screen sequence and an audio sequence of the virtual screen, and share the target data to the second electronic device.

6. A touch data receiving module for receiving touch data transmitted by the second electronic device; The first electronic device of claim 5 , further comprising: an execution module for executing a response operation to the touch data based on the touch data, and displaying an interface obtained by executing the response operation on the virtual screen.

7. further comprising a pause module for pausing the sharing of the running interface of the target application displayed on the virtual screen when receiving the notification message sent by the second electronic device; The first electronic device according to claim 5 , wherein the notification message is used to indicate that the running interface of the target application of the second electronic device has switched from the foreground to the background.

8. The control module starts the target application if the target application is not started, and displays an operating interface of the target application on the virtual screen; or The first electronic device according to claim 5 , wherein the first electronic device is used to display the running interface of the target application on the virtual screen when the target application is in a foreground running state.

9. An electronic device including a memory in which a computer program is stored and a processor, which, when the processor executes the computer program, realizes the application sharing method described in any one of claims 1 to 4.

10. A computer-readable storage medium having a computer program stored therein, the computer-readable storage medium realizing the application sharing method described in any one of claims 1 to 4 when the computer program is executed by a processor.

11. A computer program product, the computer program product being stored in a non-volatile storage medium, the computer program product being executed by at least one processor to realize the application sharing method described in any one of claims 1 to 4.

12. An electronic device configured to realize the application sharing method described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Screen projection method and device, terminal and storage medium

    CN110515579A

  • Image formation device, image formation device control method, image formation device control program, and image formation system

    JP2014138256A

  • Information processing apparatus and operation system

    JP2015133637A

  • Processing device, display system, and program

    JP2019114050A