Application sharing method and electronic device
Through the notification of receiving and processing the second electronic device, the sharing and notification processing of applications is realized, and the problem of poor flexibility in applications in existing technologies has been solved, and the timeliness of notification processing is improved.
Patent Information
- Application Number
- CN201911236994.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-05
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2040-08-11
AI Technical Summary
In the prior art, the sharing method of applications is poor in flexibility and it is difficult to effectively handle notifications in standby state.
By receiving notifications sent by the second electronic device, the prompt message is displayed, and the request message is sent to the target electronic device after receiving the user input to achieve application sharing and notification processing.
Improving the flexibility of applications shared, ensuring that the second electronic device can handle notifications in time when the second electronic device is in standby, and avoid missing important information.
Smart Images

Figure CN111124706B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an application sharing method and related equipment. Background Art
[0002] With the rapid development of computer technology, the functions of electronic devices are becoming more and more abundant, and the demand for sharing functions between different electronic devices is becoming more and more urgent. For example, application sharing is a common sharing demand.
[0003] Currently, the most common way to share applications between electronic devices is to use remote control software for remote control, that is, two electronic devices can be connected through a remote control application, where one device controls the desktop of another device, and the application on the desktop can be viewed and used, thereby sharing the application in one device with the other device. However, this application sharing method is single and has poor flexibility. Summary of the invention
[0004] The embodiment of the present invention provides an application sharing method and related devices to solve the problem of poor flexibility in sharing of application programs.
[0005] In order to solve the above technical problems, the present invention is implemented as follows: In a first aspect, an embodiment of the present invention provides an application sharing method, comprising:
[0006] Receiving a first notification sent by a second electronic device, where the first notification is a notification received by the second electronic device in a standby state through a first application;
[0007] Displaying a prompt message corresponding to the first notification;
[0008] In case of receiving a first input for the prompt message, sending a request message to a target electronic device, the target electronic device being an electronic device in the second electronic device;
[0009] When the target electronic device receives a running interface of a second application shared in response to the request message, the running interface of the second application is displayed, where the second application is an application in the first application.
[0010] In a second aspect, an embodiment of the present invention provides an application sharing method, including:
[0011] When the second electronic device is in a standby state and receives a first notification through a first application, the first notification is sent to the first electronic device, and the first electronic device is in an operating state;
[0012] In the case of receiving a request message sent by the first electronic device, displaying the running interface of the first application on the virtual screen, wherein the request message is generated by the first electronic device after receiving a first input corresponding to the prompt message of the first notification;
[0013] The running interface of the first application displayed on the virtual screen is shared with the first electronic device.
[0014] In a third aspect, an embodiment of the present invention provides a first electronic device, including:
[0015] a receiving module, configured to receive a first notification sent by a second electronic device, wherein the first notification is a notification received by the second electronic device in a standby state through a first application;
[0016] A first display module, used to display a prompt message corresponding to the first notification;
[0017] A first sending module, configured to send a request message to a target electronic device when receiving a first input for the prompt message, wherein the target electronic device is an electronic device in the second electronic device;
[0018] The second display module is used to display the running interface of the second application program when receiving the running interface of the second application program shared by the target electronic device in response to the request message, where the second application program is an application program in the first application program.
[0019] In a fourth aspect, an embodiment of the present invention provides a second electronic device, including:
[0020] a second sending module, configured to send the first notification to the first electronic device when the second electronic device is in a standby state and receives the first notification through the first application, and the first electronic device is in an operating state;
[0021] a third display module, configured to display a running interface of the first application on a virtual screen upon receiving a request message sent by the first electronic device, wherein the request message is generated by the first electronic device upon receiving a first input corresponding to a prompt message of the first notification;
[0022] The second sending module is further used to share the running interface of the first application displayed on the virtual screen with the first electronic device.
[0023] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the above-mentioned application sharing method when executed by the processor.
[0024] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and the computer program, when executed by a processor, implements the steps of the above-mentioned application sharing method.
[0025] The embodiment of the present invention receives a first notification sent by a second electronic device, wherein the first notification is a notification received by the second electronic device in a standby state through a first application; displays a prompt message corresponding to the first notification; upon receiving a first input for the prompt message, sends a request message to a target electronic device, wherein the target electronic device is an electronic device in the second electronic device; upon receiving a running interface of a second application shared by the target electronic device in response to the request message, displays the running interface of the second application, wherein the second application is an application in the first application. Since the first electronic device can share a specified application in response to the first notification sent by the second electronic device, the flexibility of application sharing is improved. In addition, when the second electronic device is in a standby state, the first electronic device can process the first notification by application sharing, thereby effectively avoiding missing important notifications. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0027] Figure 1 This is one of the flow charts of the application sharing method provided by an embodiment of the present invention;
[0028] Figure 2 It is one of the interface diagrams of the receiving end in the application sharing method provided by the embodiment of the present invention;
[0029] Figure 3 This is the second interface diagram of the receiving end in the application sharing method provided by the embodiment of the present invention;
[0030] Figure 4 This is the third interface diagram of the receiving end in the application sharing method provided by the embodiment of the present invention;
[0031] Figure 5 This is the fourth interface diagram of the receiving end in the application sharing method provided by the embodiment of the present invention;
[0032] Figure 6 This is the fifth interface diagram of the receiving end in the application sharing method provided by the embodiment of the present invention;
[0033] Figure 7 This is the second flowchart of the application sharing method provided by the embodiment of the present invention;
[0034] Figure 8 is a structural diagram of a first electronic device provided by an embodiment of the present invention;
[0035] Fig. 9 is a structural diagram of a second electronic device provided by an embodiment of the present invention;
[0036] Fig.10 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] In order to better understand the implementation of the present invention, the sharing implementation of the application program in the embodiment of the present invention is described in detail below.
[0039] When the second electronic device shares an application with the first electronic device, the second electronic device can be understood as the sending end of the application sharing, and the first electronic device can be understood as the receiving end of the application sharing. The second electronic device can run the target application and display the running interface of the target application on the virtual screen; when the second electronic device and the first electronic device are connected, the running interface of the target application displayed on the virtual screen is shared with the first electronic device.
[0040] It should be understood that the second electronic device sharing the running interface of the target application displayed on the virtual screen with the first electronic device can be understood as: the second electronic device records the virtual screen and the audio in the virtual screen to obtain target data, and shares the target data with the first electronic device, wherein the target data includes the display image sequence and audio sequence of the virtual screen.
[0041] Furthermore, the first electronic device can display the received operation interface, and upon receiving the user's operation based on the displayed operation interface, send corresponding operation instructions to the second electronic device to control the target application to perform the operation corresponding to the operation instruction, thereby realizing the sharing of applications between the second electronic device and the first electronic device.
[0042] See also Figure 1 , Figure 1 is a flow chart of an application sharing method provided by an embodiment of the present invention, the method is applied to a first electronic device, such as Figure 1 As shown, the following steps are included:
[0043] Step 101, receiving a first notification sent by a second electronic device, where the first notification is a notification received by the second electronic device in a standby state through a first application;
[0044] In an embodiment of the present invention, the first electronic device and the second electronic device can log in to the same or different device accounts. When the first electronic device and the second electronic device log in to the same device account, it can be assumed that the first electronic device and the second electronic device can share applications. When the first electronic device and the second electronic device log in to different device accounts, an application sharing authorization operation can be performed in advance so that the first electronic device and the second electronic device can share applications. The device account can be understood as an account used to bind the electronic device, for example, it can be understood as an iCloud account.
[0045] Optionally, when the first application of the second electronic device receives the first notification, it can first determine whether the second electronic device is currently in a standby state (being in a standby state can be understood as being in an inactive state, and being in a non-standby state can be understood as being in an active state or a running state. For example, in an optional embodiment, after the electronic device is unlocked in the standby state, it can be understood as a running state). If it is in a standby state, the received first notification is forwarded to the first electronic device. Optionally, the second electronic device can obtain the working state of an electronic device that can share an application with the second electronic device, and the working state includes a standby state and a running state; determine the first electronic device for receiving the first notification in the electronic device in the running state. The first electronic device can receive the first notification sent from one or more different second electronic devices.
[0046] The above-mentioned first application can be a system program of the second electronic device, or it can be a third-party application installed by the user on the second electronic device. The above-mentioned first notification can be understood as a system message pushed by the application server, or it can be an interactive message sent by other users. For example, when the application is WeChat, the first notification can be a voice message or text message sent by WeChat friends.
[0047] Step 102, displaying a prompt message corresponding to the first notification;
[0048] In an embodiment of the present invention, after a first electronic device receives a first notification sent by a second electronic device, it may display a prompt message corresponding to the first notification. The specific display form may be set according to actual needs. For example, the prompt message may be directly output and displayed, or the prompt message may be displayed after receiving a user operation. Displaying the prompt message corresponding to the first notification may be understood as displaying the prompt message corresponding to the unprocessed first notification. For example, in one embodiment, after receiving a certain first notification, a prompt message is directly output, and the user processes the first notification based on the prompt message. In another embodiment, after receiving a certain first notification, the corresponding prompt message is not displayed, and the received first notification is directly stored. Alternatively, the user is processing other things and does not process the displayed prompt message, but stores the first notification. When the user needs to process the first notification, the prompt message corresponding to the stored first notification may be displayed by inputting the corresponding operation.
[0049] It should be understood that the display form of the prompt message can be set according to actual needs, for example, it can include the device identifier, application identifier and preview information of the first notification. Optionally, when the first notification is a voice message in the WeChat application, the preview information can be "voice message sent by user A", and when the first notification is a text message in the WeChat application, the preview information can be "user A + message content".
[0050] Step 103, when receiving a first input for the prompt message, sending a request message to a target electronic device, the target electronic device being an electronic device in the second electronic device;
[0051] In the embodiment of the present invention, the first input may be a click operation, a slide operation, or a voice input, etc., which is not further limited herein. The first input may be understood as an operation of processing the target first notification, for example, an operation of reading the target first notification. Optionally, the user may click on the target prompt message among all prompt messages to implement the first input for the target prompt message, or the user may slide the target prompt message to implement the first input for the target prompt message.
[0052] It should be understood that when the number of second electronic devices is N and N is 1, the target electronic device is the second electronic device. When the number of second electronic devices is N and N is greater than or equal to 2, the target electronic device may be M electronic devices among the N second electronic devices, M is greater than or equal to 1, and M is less than or equal to N.
[0053] It should be understood that the above request message is used to request the target electronic device to share the second application. Specifically, when the target electronic device is connected to the first electronic device, the second application can be shared directly; when the target electronic device is not connected to the first electronic device, the connection between the target electronic device and the first electronic device can be first established based on the request message, and then the second application can be shared. Specifically, sharing the second application can be understood as: the target electronic device first runs the second application, and displays the running interface of the second application on the virtual screen, and finally shares the running interface of the second application with the first electronic device.
[0054] Step 104 , when receiving the running interface of the second application shared by the target electronic device in response to the request message, displaying the running interface of the second application, where the second application is the application of the target electronic device.
[0055] It should be understood that when the number of the second electronic devices is N and N is 1, the target electronic device is the second electronic device, and the second application is the first application.
[0056] When the number of second electronic devices is N, and N is greater than or equal to 2, the target electronic device may be M electronic devices among the N second electronic devices, where M is greater than or equal to 1, and M is less than or equal to N. It can be understood that the number of corresponding first application programs is K. The second application programs are L application programs among the K first application programs, where L is greater than or equal to 1, and L is less than or equal to K.
[0057] After the first electronic device receives the running interface of the second application, it will display the running interface of the second application, thereby achieving the purpose of application sharing. In this way, the user can process the first notification received by the second application of the target electronic device based on the running interface displayed by the first electronic device, thereby improving the timeliness of notification processing.
[0058] The embodiment of the present invention receives a first notification sent by a second electronic device, wherein the first notification is a notification received by the second electronic device in a standby state through an application; displays a prompt message corresponding to the first notification; upon receiving a first input for the prompt message, sends a request message to a target electronic device, wherein the target electronic device is an electronic device in the second electronic device; upon receiving a running interface of a second application shared by the target electronic device in response to the request message, displays the running interface of the second application, wherein the second application is an application in the first application. Since the first electronic device can share a specified application in response to the first notification sent by the second electronic device, the flexibility of application sharing is improved. In addition, when the second electronic device is in a standby state, the first electronic device can process the first notification by means of application sharing, thereby effectively avoiding missing important notifications.
[0059] Optionally, in one embodiment, the step 102 includes:
[0060] When the first notification sent by the second electronic device is received, a first prompt message corresponding to the first notification is displayed.
[0061] In the embodiment of the present invention, each time the first electronic device receives a first notification sent by the second electronic device, it will display a prompt message corresponding to the first notification. It should be understood that each first notification corresponds to a first prompt message. When multiple first notifications are received within a period of time, multiple first prompt messages will be displayed.
[0062] For example, the second electronic device is electronic device A and the first electronic device is electronic device B. When electronic device A is in standby mode and receives a notification from application P, electronic device A will send the notification to electronic device B. Figure 2 As shown, at this time, the first prompt message will be displayed on the electronic device B, and the first prompt message can be expressed as: a notification from the application P of the electronic device A is received.
[0063] At this time, when the user needs to process the notification of application P of electronic device A, he can make a first input for the first prompt message (for example, click on the first prompt message). When electronic device B receives the first input, it will send a request message to electronic device A. If electronic device A and electronic device B are not connected at this time, it will trigger the establishment of a connection with electronic device A, and electronic device A will run application P and share the running interface of application P with electronic device B. Figure 3As shown, after electronic device B receives the running interface of application P, it will display the running interface of application P. This allows the user to perform related operations of application P on electronic device B. Optionally, after the user completes the related processing of application P on electronic device B, the user exits the application, and electronic device A ends the application sharing (i.e., ends the screen projection). In this embodiment, since the first prompt message is displayed when the first notification is received, the timeliness of notification processing can be improved to prevent users from missing important messages.
[0064] Optionally, in another embodiment, the above step 102 includes: when a second input to the target control is received, displaying a second prompt message corresponding to a second notification, wherein the second notification includes part or all of the first notification sent by the second electronic device.
[0065] In an embodiment of the present invention, the second input may be a touch input or a voice input, etc., which is not further limited here. Optionally, in the first electronic device, the relevant information of the received first notification may be stored, and the second notification may be understood as the first notification stored by the first electronic device (i.e., the first notification to be processed). The second input triggers the first electronic device to display a second prompt message corresponding to the second notification.
[0066] Among them, the above-mentioned target control can be associated with all unprocessed first notifications, and can also be associated with all unprocessed first notifications in the first notifications sent by the same second electronic device. The following embodiment takes the association of the target control with all unprocessed first notifications as an example for detailed description.
[0067] Specifically, the association method can be set according to actual needs. For example, in an optional embodiment, the target control is used to store (or carry) the first notification. The following is an example in which the target control is an application drawer. Figure 4 As shown, after electronic device B receives the first notification sent by electronic device A, it can also create an application drawer in a preset path (such as the desktop) to store the relevant information of the first notification. In the embodiment of the present invention, since the first notification is stored through the target control, the first notification can be processed later, so there is no need to interrupt the current operation of user B (for example, the first electronic device is in a call state or a game state and cannot process the notification in time). Therefore, the embodiment of the present invention improves the scope of application sharing based on notifications, thereby improving the practicality of application sharing.
[0068] Optionally, the user can implement the second input through voice or touch operation to trigger the electronic device to display the second prompt message corresponding to the second notification associated with the target control. For example, in an optional embodiment, the second input may include two inputs. Specifically, the second prompt message corresponding to the second notification is the preview information corresponding to the second notification. When the second input for the target control is received, the second prompt message corresponding to the second notification is displayed, including:
[0069] When a fourth input to the target control is received, identification information corresponding to the second notification is displayed, where the identification information includes an application identification and a device identification;
[0070] When a fifth input for a target identifier is received, a notification preview list is displayed, where the target identifier is the application identifier of the second application or the device identifier of the target electronic device, and the preview list includes preview information corresponding to the second notification received by the second application of the target electronic device.
[0071] The application identifier may be an application icon, and the device identifier may be the device name of the second electronic device (which may be a name defined by electronic device B for electronic device A, or a default name of electronic device A). Furthermore, the number of notifications sent by the application corresponding to the application icon may be displayed by a corner mark on the application icon. Figure 4 As shown, the number of notifications sent by application P from electronic device A is 3, the number of notifications sent by application L from electronic device B is 2, the number of notifications sent by application I from electronic device C is 4, and the number of notifications sent by application J from electronic device D is 5.
[0072] The user can view the second prompt message corresponding to the notification of each application through the fifth input, and the fifth input can be a touch input or a voice input, such as Figure 5 As shown, when the user clicks the application icon of the application P, the following may be displayed: Figure 6The interface shown is a notification preview list corresponding to all notifications sent by application P from electronic device A. The user can click on the preview information corresponding to any of the notifications to trigger electronic device B to send a request message to electronic device A. It should be understood that for different notifications, the corresponding operating interfaces may be the same or different, and no further limitation is made here. For example, in an optional embodiment, the above-mentioned request message may carry an identifier of the target preview information associated with the fifth input, and the identifier may represent the target notification corresponding to the target preview information. Electronic device A may determine the target notification that the user prioritizes based on the identifier carried by the request message, and control application P to run to the operating interface for processing the target notification. This can simplify the user's operations on electronic device B.
[0073] Further, when establishing the association relationship between the target control and the first notification, the first prompt message may be displayed or not, which can be set according to actual needs. For example, in an optional embodiment, when receiving the second input for the target control, before displaying the second prompt message corresponding to the second notification, the method further includes:
[0074] When a first notification is received and the second notification associated with the target control includes a third notification, the first prompt message is not displayed, and the first notification is directly associated with the target control. The third notification and the first notification are sent by the same second electronic device, and the third notification and the first notification are notifications of the same application.
[0075] In an embodiment of the present invention, when a notification from application 1 of second electronic device 1 is received for the first time (at this time, the target control does not exist on the first electronic device or the second notification associated with the target control does not include the notification from application 1 of second electronic device 1), a first prompt message corresponding to the notification can be displayed, and an association relationship between the notification and the target control will be established if a preset condition is met. If the target control does not exist at the preset position, the target control will be created first, and then an association relationship between the target control and the notification will be established; if the target control exists, an association relationship between the target control and the notification will be directly established. The preset condition may include any of the following:
[0076] Condition 1: No operation is received for the first prompt message within a preset time period;
[0077] Condition 2: A third input for the first prompt message is received, and the third input can be understood as canceling the display operation of the first prompt message.
[0078] The third input may be a sliding input, such as sliding the first prompt message toward the boundary of the display area of the electronic device, which may also be understood as an input for hiding the first prompt message. In an optional embodiment, an operation control may be provided on the display interface of the first prompt message to cancel or hide the display of the first prompt message, and the user may click the operation control to trigger the storage of the first notification to the target control.
[0079] Furthermore, when a notification from application 1 of the second electronic device 1 is received again (at this time, the first electronic device has a target control, and the user drawer contains a notification from application 1 of the second electronic device 1), the first prompt message corresponding to the notification may not be displayed. This can reduce user operations and improve the intelligence of electronic devices.
[0080] With respect to the above condition 2, it can be understood that, in the case of receiving the first notification sent by the second electronic device, after displaying the first prompt message corresponding to the first notification, the method further includes:
[0081] When a third input is received for the first prompt message, an association relationship between the first notification and the target control is established.
[0082] It should be noted that the various optional implementation modes introduced in the embodiments of the present invention may be implemented in combination with each other or may be implemented separately, and the embodiments of the present invention are not limited to this.
[0083] Further, see Figure 7 The embodiment of the present invention further provides an application sharing method, which is applied to a second electronic device for application sharing, comprising:
[0084] Step 701, when the second electronic device is in a standby state and receives a first notification through a first application, the first notification is sent to the first electronic device, and the first electronic device is in an operating state;
[0085] Step 702: displaying the running interface of the first application on a virtual screen upon receiving a request message sent by the first electronic device, wherein the request message is generated by the first electronic device upon receiving a first input corresponding to a prompt message of the first notification;
[0086] Step 703: Share the running interface of the first application displayed on the virtual screen with the first electronic device.
[0087] Optionally, before step 701, the method further includes:
[0088] Acquire a working state of an electronic device that can share an application with the second electronic device, where the working state includes a standby state and a running state;
[0089] The first electronic device for receiving the first notification is determined among the electronic devices in operation.
[0090] The embodiment of the present invention provides Figures 1 to 6 In order to avoid repetition, the various processes implemented by the second electronic device in the method embodiment are not described here.
[0091] See also Figure 8 , Figure 8 is a structural diagram of an electronic device provided by an embodiment of the present invention, such as Figure 8 As shown, the electronic device 800 is applied to a first electronic device for application sharing, and the electronic device 800 includes:
[0092] The receiving module 801 is configured to receive a first notification sent by a second electronic device, where the first notification is a notification received by the second electronic device in a standby state through a first application;
[0093] A first display module 802, configured to display a prompt message corresponding to the first notification;
[0094] A first sending module 803 is used to send a request message to a target electronic device when receiving a first input for the prompt message, where the target electronic device is an electronic device in the second electronic device;
[0095] The second display module 804 is used to display the running interface of the second application when receiving the running interface of the second application shared by the target electronic device in response to the request message, where the second application is an application in the first application.
[0096] When the number of the second electronic devices is N and N is 1, the target electronic device is the second electronic device. When the number of the second electronic devices is N and N is greater than or equal to 2, the target electronic device may be M electronic devices among the N second electronic devices, where M is greater than or equal to 1 and M is less than or equal to N.
[0097] The number of the second electronic devices is N, and when N is 1, the target electronic device is the second electronic device, and the second application is the first application.
[0098] When the number of second electronic devices is N, and N is greater than or equal to 2, the target electronic device may be M electronic devices among the N second electronic devices, where M is greater than or equal to 1, and M is less than or equal to N. It can be understood that the number of corresponding first application programs is K. The second application programs are L application programs among the K first application programs, where L is greater than or equal to 1, and L is less than or equal to K.
[0099] Optionally, the first display module 802 is specifically configured to perform any of the following operations:
[0100] When the first notification is received, displaying a first prompt message corresponding to the first notification;
[0101] Alternatively, when a second input to the target control is received, a second prompt message corresponding to a second notification is displayed, where the second notification includes part or all of the first notification.
[0102] Optionally, the electronic device further includes:
[0103] The processing module is used to establish an association relationship between the first notification and the target control when a third input is received for the first prompt message.
[0104] Optionally, the second prompt message corresponding to the second notification is preview information corresponding to the second notification, and the first display module 802 is specifically used to:
[0105] When a fourth input to the target control is received, identification information corresponding to the second notification is displayed, where the identification information includes an application identification and a device identification;
[0106] When a fifth input for a target identifier is received, a notification preview list is displayed, where the target identifier is the application identifier of the second application or the device identifier of the target electronic device, and the preview list includes preview information corresponding to the second notification received by the second application of the target electronic device.
[0107] The electronic device provided by the embodiment of the present invention can realize Figures 1 to 6 In order to avoid repetition, the various processes implemented by the first electronic device in the method embodiment are not described here.
[0108] See also Fig. 9 , Fig. 9 is a structural diagram of an electronic device provided by an embodiment of the present invention, such as Fig. 9 As shown, the electronic device 900 is applied to a second electronic device for application sharing, and the electronic device 900 includes:
[0109] The second sending module 901 is used to send the first notification to the first electronic device when the second electronic device is in a standby state and receives the first notification through the first application, and the first electronic device is in an operating state;
[0110] A third display module 902 is configured to display a running interface of the first application on a virtual screen when receiving a request message sent by the first electronic device, wherein the request message is generated by the first electronic device when receiving a first input corresponding to a prompt message of the first notification;
[0111] The second sending module 901 is further configured to share the running interface of the first application displayed on the virtual screen with the first electronic device.
[0112] Optionally, the second electronic device further includes:
[0113] An acquisition module, used to acquire a working state of an electronic device that can share an application with the second electronic device, wherein the working state includes a standby state and a running state;
[0114] A determination module is used to determine the first electronic device for receiving the first notification among the electronic devices in operation.
[0115] The electronic device provided by the embodiment of the present invention can realize Figure 7 In order to avoid repetition, the various processes implemented by the second electronic device in the method embodiment are not described here.
[0116] Fig.10 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0117] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that Fig.10 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0118] The radio frequency unit 1001 receives a first notification sent by a second electronic device, where the first notification is a notification received by the second electronic device in a standby state through a first application;
[0119] Processor 1010, configured to display a prompt message corresponding to the first notification;
[0120] The radio frequency unit 1001 is further configured to send a request message to a target electronic device when receiving a first input for the prompt message, wherein the target electronic device is an electronic device in the second electronic device;
[0121] The processor 1010 is further configured to display the running interface of the second application, which is an application in the first application, upon receiving the running interface of the second application shared by the target electronic device in response to the request message.
[0122] or,
[0123] The radio frequency unit 1001 is configured to send the first notification to the first electronic device when the second electronic device is in a standby state and receives the first notification through the first application, and the first electronic device is in an operating state;
[0124] Processor 1010, configured to display a running interface of the first application on a virtual screen when receiving a request message sent by the first electronic device, wherein the request message is generated by the first electronic device when receiving a first input corresponding to a prompt message of the first notification;
[0125] The radio frequency unit 1001 is further used to share the running interface of the first application displayed on the virtual screen with the first electronic device.
[0126] In the embodiment of the present invention, the first electronic device can share the specified application for the first notification sent by the second electronic device, thereby improving the flexibility of application sharing. In addition, when the second electronic device is in standby mode, the first electronic device can process the first notification by application sharing, thereby effectively avoiding missing important notifications.
[0127] It should be understood that in the embodiment of the present invention, the radio frequency unit 1001 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 1010 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 1001 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
[0128] The electronic device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0129] The audio output unit 1003 can convert the audio data received by the RF unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output it as sound. Moreover, the audio output unit 1003 can also provide audio output related to a specific function performed by the electronic device 1000 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, etc.
[0130] The input unit 1004 is used to receive audio or video signals. The input unit 1004 may include a graphics processor (GPU) 10041 and a microphone 10042. The graphics processor 10041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 1006. The image frame processed by the graphics processor 10041 can be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 1001 in the case of a telephone call mode.
[0131] The electronic device 1000 also includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 10061 and / or the backlight when the electronic device 1000 is moved to the ear. As a type of motion sensor, the 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, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 1005 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 repeated here.
[0132] The display unit 1006 is used to display information input by the user or information provided to the user. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0133] The user input unit 1007 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 10071 or near the touch panel 10071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 10071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the coordinates of the contact point, and then sends it to the processor 1010, receives the command sent by the processor 1010 and executes it. In addition, the touch panel 10071 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 10071, the user input unit 1007 may also include other input devices 10072. Specifically, other input devices 10072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
[0134] Furthermore, the touch panel 10071 may be overlaid on the display panel 10061. When the touch panel 10071 detects a touch operation on or near it, it is transmitted to the processor 1010 to determine the type of touch event. Then, the processor 1010 provides corresponding visual output on the display panel 10061 according to the type of touch event. Fig.10 In the figure, the touch panel 10071 and the display panel 10061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 10071 and the display panel 10061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.
[0135] The interface unit 1008 is an interface for connecting an external device to the electronic device 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1008 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 1000 or may be used to transmit data between the electronic device 1000 and an external device.
[0136] The memory 1009 can be used to store software programs and various data. The memory 1009 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1009 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0137] The processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1009 and calling data stored in the memory 1009, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1010.
[0138] The electronic device 1000 may also include a power supply 1011 (such as a battery) for supplying power to each component. Preferably, the power supply 1011 may be logically connected to the processor 1010 via a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
[0139] In addition, the electronic device 1000 includes some functional modules not shown, which will not be described in detail here.
[0140] Preferably, an embodiment of the present invention further provides an electronic device, including a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and executable on the processor 1010. When the computer program is executed by the processor 1010, each process of the above-mentioned application sharing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0141] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned application sharing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0142] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0144] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. An application sharing method, applied to a first electronic device, characterized in that: include: Receiving a first notification sent by a second electronic device, where the first notification is a notification received by the second electronic device in a standby state through a first application; Displaying a first prompt message corresponding to the first notification; When receiving a first input for the first prompt message, sending a request message to a target electronic device, the target electronic device being an electronic device in the second electronic device; The request message is used to request the target electronic device to share a second application; In case of receiving a running interface of a second application shared by the target electronic device in response to the request message, displaying the running interface of the second application, where the second application is an application in the first application; The displaying of the first prompt message corresponding to the first notification includes: In case of receiving a second input to the target control, displaying a second prompt message corresponding to a second notification, where the second notification includes part or all of the first notification; Wherein, the target control is an application drawer, the application drawer is created in a preset path after the first electronic device receives the first notification sent by the second electronic device, and the application drawer is used to store relevant information of the first notification; The second prompt message corresponding to the second notification is preview information corresponding to the second notification, and when a second input to the target control is received, displaying the second prompt message corresponding to the second notification includes: When a fourth input to the target control is received, identification information corresponding to the second notification is displayed, where the identification information includes an application identification and a device identification; When a fifth input for a target identifier is received, a notification preview list is displayed, where the target identifier is an application identifier of the second application or a device identifier of the target electronic device, and the preview list includes preview information corresponding to the second notification.
2. The method according to claim 1, characterized in that After receiving the first notification sent by the second electronic device and displaying the first prompt message corresponding to the first notification, the method further includes: When a third input is received for the first prompt message, an association relationship between the first notification and the target control is established.
3. An application sharing method, applied to a second electronic device, characterized in that: include: When the second electronic device is in a standby state and receives a first notification through a first application, the first notification is sent to the first electronic device, and the first electronic device is in an operating state; In the case of receiving a request message sent by the first electronic device, displaying the running interface of the first application on the virtual screen, wherein the request message is generated by the first electronic device after receiving a first input of a first prompt message corresponding to the first notification; The request message is used to request the target electronic device to share a second application; the second application is an application in the first application; the target electronic device is an electronic device in the second electronic device; Sharing the running interface of the first application displayed on the virtual screen with the first electronic device; Wherein, the first electronic device displays a first prompt message corresponding to the first notification; The displaying of the first prompt message corresponding to the first notification includes: In case of receiving a second input to the target control, displaying a second prompt message corresponding to a second notification, where the second notification includes part or all of the first notification; Wherein, the target control is an application drawer, the application drawer is created in a preset path after the first electronic device receives the first notification sent by the second electronic device, and the application drawer is used to store relevant information of the first notification; The second prompt message corresponding to the second notification is preview information corresponding to the second notification, and when a second input to the target control is received, displaying the second prompt message corresponding to the second notification includes: When a fourth input to the target control is received, identification information corresponding to the second notification is displayed, where the identification information includes an application identification and a device identification; When a fifth input for a target identifier is received, a notification preview list is displayed, where the target identifier is an application identifier of the second application or a device identifier of the target electronic device, and the preview list includes preview information corresponding to the second notification.
4. A first electronic device, characterized in that: include: A receiving module, configured to receive a first notification sent by a second electronic device, wherein the first notification is a notification received by the second electronic device when the second electronic device is in a standby state and through a first application; A first display module, used to display a first prompt message corresponding to the first notification; A first sending module, configured to send a request message to a target electronic device when receiving a first input for the first prompt message, wherein the target electronic device is an electronic device in the second electronic device; The request message is used to request the target electronic device to share a second application; A second display module is used to display the running interface of the second application program in the case of receiving the running interface of the second application program shared by the target electronic device in response to the request message, where the second application program is an application program in the first application program; The displaying of the first prompt message corresponding to the first notification includes: In case of receiving a second input to the target control, displaying a second prompt message corresponding to a second notification, where the second notification includes part or all of the first notification sent by the second electronic device; Wherein, the target control is an application drawer, the application drawer is created in a preset path after the first electronic device receives the first notification sent by the second electronic device, and the application drawer is used to store relevant information of the first notification; The second prompt message corresponding to the second notification is preview information corresponding to the second notification, and when a second input to the target control is received, displaying the second prompt message corresponding to the second notification includes: When a fourth input to the target control is received, identification information corresponding to the second notification is displayed, where the identification information includes an application identification and a device identification; When a fifth input for a target identifier is received, a notification preview list is displayed, where the target identifier is an application identifier of the second application or a device identifier of the target electronic device, and the preview list includes preview information corresponding to the second notification.
5. The first electronic device according to claim 4, characterized in that: The first electronic device further includes: A processing module is used to establish an association relationship between the first notification and the target control after displaying a first prompt message corresponding to the first notification when a first notification sent by the second electronic device is received and receiving a third input for the first prompt message.
6. A second electronic device, characterized in that: include: a second sending module, configured to send the first notification to the first electronic device when the second electronic device is in a standby state and receives the first notification through the first application, and the first electronic device is in an operating state; a third display module, configured to display a running interface of the first application on a virtual screen upon receiving a request message sent by the first electronic device, wherein the request message is generated by the first electronic device upon receiving a first input of a first prompt message corresponding to the first notification; The request message is used to request the target electronic device to share a second application; the second application is an application in the first application; the target electronic device is an electronic device in the second electronic device; The second sending module is further used to share the running interface of the first application displayed on the virtual screen with the first electronic device; Wherein, the first electronic device displays a first prompt message corresponding to the first notification; The displaying of the first prompt message corresponding to the first notification includes: In case of receiving a second input to the target control, displaying a second prompt message corresponding to a second notification, where the second notification includes part or all of the first notification; Wherein, the target control is an application drawer, the application drawer is created in a preset path after the first electronic device receives the first notification sent by the second electronic device, and the application drawer is used to store relevant information of the first notification; The second prompt message corresponding to the second notification is preview information corresponding to the second notification, and when a second input to the target control is received, displaying the second prompt message corresponding to the second notification includes: When a fourth input to the target control is received, identification information corresponding to the second notification is displayed, where the identification information includes an application identification and a device identification; When a fifth input for a target identifier is received, a notification preview list is displayed, where the target identifier is an application identifier of the second application or a device identifier of the target electronic device, and the preview list includes preview information corresponding to the second notification.
7. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the application sharing method as claimed in any one of claims 1 to 3 when executed by the processor.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the application sharing method described in any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Display control method and electronic equipment
CN107168661A
Display control method and device
CN110515576A