CN111124706A - Application program sharing method and electronic equipment - Google Patents

Application program sharing method and electronic equipment Download PDF

Info

Publication number
CN111124706A
CN111124706A CN201911236994.6A CN201911236994A CN111124706A CN 111124706 A CN111124706 A CN 111124706A CN 201911236994 A CN201911236994 A CN 201911236994A CN 111124706 A CN111124706 A CN 111124706A
Authority
CN
China
Prior art keywords
notification
electronic device
application program
received
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911236994.6A
Other languages
Chinese (zh)
Inventor
罗振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911236994.6A priority Critical patent/CN111124706A/en
Publication of CN111124706A publication Critical patent/CN111124706A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Abstract

The invention provides an application program sharing method and related equipment, wherein the method comprises the following steps: receiving a first notification sent by second electronic equipment, wherein the first notification is a notification which is sent by the second electronic equipment in a standby state and is received through a first application program; displaying a prompt message corresponding to the first notification; sending a request message to a target electronic device under the condition that a first input aiming at the prompt message is received, wherein the target electronic device is an electronic device in the second electronic device; and displaying the running interface of a second application program under the condition that the running interface of the second application program shared by the target electronic equipment responding to the request message is received, wherein the second application program is an application program in the first application program. The embodiment of the invention improves the flexibility of sharing the application program.

Description

Application program sharing method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an application sharing method and a related device.
Background
With the rapid development of computer technology, the functions of electronic devices are more and more abundant, and the function sharing requirements among different electronic devices are more and more strong, for example, application sharing is a common sharing requirement.
At present, based on the most common mode of application sharing among electronic devices, remote control is performed through remote control software, that is, connection between two electronic devices can be achieved through remote control application, one device controls a desktop of the other device, and at the moment, applications and the like on the desktop can be checked and used, so that the applications in the one device can be shared to the other device for use. However, the sharing mode of the application program is single, and the flexibility is poor.
Disclosure of Invention
The embodiment of the invention provides an application program sharing method and related equipment, and aims to solve the problem that the sharing flexibility of application programs is poor.
In order to solve the technical problem, the invention is realized as follows: in a first aspect, an embodiment of the present invention provides an application sharing method, including:
receiving a first notification sent by second electronic equipment, wherein the first notification is a notification which is sent by the second electronic equipment in a standby state and is received through a first application program;
displaying a prompt message corresponding to the first notification;
sending a request message to a target electronic device under the condition that a first input aiming at the prompt message is received, wherein the target electronic device is an electronic device in the second electronic device;
and displaying the running interface of a second application program under the condition that the running interface of the second application program shared by the target electronic equipment responding to the request message is received, wherein the second application program is an application program in the first application program.
In a second aspect, an embodiment of the present invention provides an application sharing method, including:
under the condition that the second electronic equipment is in a standby state and a first notification is received through a first application program, the first notification is sent to first electronic equipment, and the first electronic equipment is in a running state;
displaying an operation interface of the first application program in a virtual screen under the condition that a request message sent by the first electronic equipment is received, wherein the request message is generated by the first electronic equipment after first input aiming at a prompt message corresponding to the first notification is received;
sharing the running interface of the first application program displayed in the virtual screen to the first electronic device.
In a third aspect, an embodiment of the present invention provides a first electronic device, including:
the first notification is that the second electronic equipment is in a standby state and is received by a first program;
the first display module is used for displaying a prompt message corresponding to the first notification;
a first sending module, configured to send a request message to a target electronic device when a first input for the prompt message is received, where the target electronic device is an electronic device in the second electronic device;
and the second display module is configured to display an operation interface of a second application program when receiving the operation 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.
In a fourth aspect, an embodiment of the present invention provides a second electronic device, including:
the second sending module is used for sending the first notification to the first electronic equipment under the condition that the second electronic equipment is in a standby state and the first notification is received through the first application program, and the first electronic equipment is in a running state;
the third display module is used for displaying the running interface of the first application program in a virtual screen under the condition that a request message sent by the first electronic equipment is received, wherein the request message is generated by the first electronic equipment after first input aiming at a prompt message corresponding to the first notification is received;
the second sending module is further configured to share the running interface of the first application program displayed in the virtual screen to the first electronic device.
In a fifth aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the application sharing method described above.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the application sharing method described above.
The embodiment of the invention receives a first notification sent by second electronic equipment, wherein the first notification is a notification which is received by a first application program and is in a standby state of the second electronic equipment; displaying a prompt message corresponding to the first notification; sending a request message to a target electronic device under the condition that a first input aiming at the prompt message is received, wherein the target electronic device is an electronic device in the second electronic device; and displaying the running interface of a second application program under the condition that the running interface of the second application program shared by the target electronic equipment responding to the request message is received, wherein the second application program is an application program in the first application program. The first electronic device can share the designated application program aiming at the first notification sent by the second electronic device, so that the flexibility of application program sharing is improved. In addition, when the second electronic device is in a standby state, the first electronic device can process the first notification in an application sharing mode, so that important notifications can be effectively prevented from being missed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of an application sharing method according to an embodiment of the present invention;
fig. 2 is one of interface diagrams of a receiving end in the application sharing method according to the embodiment of the present invention;
fig. 3 is a second interface diagram of a receiving end in the application sharing method according to the embodiment of the present invention;
fig. 4 is a third interface diagram of a receiving end in the application sharing method according to the embodiment of the present invention;
fig. 5 is a fourth interface diagram of a receiving end in the application sharing method according to the embodiment of the present invention;
fig. 6 is a fifth interface diagram of a receiving end in the application sharing method according to the embodiment of the present invention;
fig. 7 is a second flowchart of an application sharing method according to an embodiment of the present invention;
FIG. 8 is a block diagram of a first electronic device provided by an embodiment of the invention;
FIG. 9 is a block diagram of a second electronic device provided by an embodiment of the invention;
fig. 10 is a block diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to better understand the implementation of the present invention, the following describes in detail the sharing implementation of the application program in the embodiment of the present invention.
When the second electronic device shares the application program with the first electronic device, the second electronic device can be understood as a sending end for sharing the application program, and the first electronic device can be understood as a receiving end for sharing the application program. The second electronic equipment can run the target application program and display a running interface of the target application in the virtual screen; and sharing the running interface of the target application displayed in the virtual screen to the first electronic equipment under the condition that the second electronic equipment is connected with the first electronic equipment.
It should be understood that the sharing of the running interface of the target application displayed in the virtual screen by the second electronic device to the first electronic device may be understood as: and the second electronic equipment records the virtual screen and the audio in the virtual screen to obtain target data, and shares the target data to the first electronic equipment, wherein the target data comprises a display picture sequence and an audio sequence of the virtual screen.
Furthermore, the first electronic device may display the received operation interface, and send a corresponding operation instruction to the second electronic device after receiving an operation of the user based on the displayed operation interface, so as to control the target application program to execute an operation corresponding to the operation instruction, thereby implementing sharing of the application program between the second electronic device and the first electronic device.
Referring to fig. 1, fig. 1 is a flowchart of an application sharing method according to an embodiment of the present invention, where the method is applied to a first electronic device, and as shown in fig. 1, the method includes the following steps:
step 101, receiving a first notification sent by a second electronic device, wherein the first notification is a notification that the second electronic device is in a standby state and is received through a first application program;
in the embodiment of the invention, the first electronic device and the second electronic device can log in the same or different device accounts, when the first electronic device and the second electronic device log in the same device account, application sharing can be performed between the first electronic device and the second electronic device by default, and when the first electronic device and the second electronic device log in different device accounts, application sharing authorization operation can be performed in advance, so that application sharing can be performed between the first electronic device and the second electronic device. The device account may be understood as an account for binding the electronic device, e.g. as an iCloud account number.
Optionally, when receiving the first notification, the first application of the second electronic device may first determine whether the second electronic device is currently in a standby state (the standby state may be understood as being in an inactive state, and the non-standby state may be understood as being in an active state or an operating state, for example, in an optional embodiment, after the electronic device performs an unlocking operation in the standby state, both the electronic device and the electronic device may be understood as being in an operating state), and if the first application of the second electronic device receives the first notification, forward the received first notification to the first electronic device. Optionally, the second electronic device may obtain a working state of the electronic device that can be shared with the second electronic device by an application program, where the working state includes a standby state and an operating state; determining a first electronic device for receiving the first notification in the electronic devices in the operating state. The first electronic device may receive a first notification sent from one or more different second electronic devices.
The first application program may be a system program of the second electronic device, or may be a third-party application program installed in the second electronic device by the user, and the first notification may be understood as a system message pushed by a server of the application program, or may be an interactive message sent by other users, for example, when the application program is a WeChat, the first notification may be a voice message or a text message sent by a WeChat friend.
102, displaying a prompt message corresponding to the first notification;
in the embodiment of the present invention, after receiving the first notification sent by the second electronic device, the first electronic device may display a prompt message corresponding to the first notification, and 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 an operation of a user. 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 an embodiment, after receiving a certain first notification, the 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, or the user does not process the displayed prompt message when handling other things, and stores the first notification, and when the user needs to process the first notification, the user can display the prompt message corresponding to the stored first notification by inputting a corresponding operation.
It should be understood that the display form of the prompt message may be set according to actual needs, and may include, for example, a device identifier, an 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 may be "voice message sent by user a", and when the first notification is a text message in the wechat application, the preview information may be "user a + message content".
103, sending a request message to a target electronic device under the condition of receiving a first input aiming at the prompt message, wherein the target electronic device is an electronic device in the second electronic device;
in an embodiment of the present invention, the first input may be a click operation, a slide operation, or a voice input, 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 a target prompt message in all prompt messages to realize the first input for the target prompt message, or the user may slide the target prompt message to realize the first input for the target prompt message.
It should be understood that, in the case that 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 of the N second electronic devices, where M is greater than or equal to 1, and M is less than or equal to N.
It should be understood that the request message is used to request the target electronic device to share the second application program. Specifically, the second application program can be directly shared when the target electronic device is connected to the first electronic device; in the case that the target electronic device is not connected to the first electronic device, the connection between the target electronic device and the first electronic device may be established first based on the request message, and then the second application program may be shared. Specifically, sharing the second application may be understood as: the target electronic equipment firstly runs the second application program, displays the running interface of the second application program in the virtual screen, and finally shares the running interface of the second application program to the first electronic equipment.
And 104, displaying the running interface of a second application program under the condition that the target electronic equipment receives the running interface of the second application program shared by the target electronic equipment in response to the request message, wherein the second application program is the application program of the target electronic equipment.
It should be understood that, in the case that 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 previous first application.
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 of the N second electronic devices, where M is greater than or equal to 1, and M is less than or equal to N. It is understood that the number of corresponding first applications is K. The second application program is L application programs in the K first application programs, L is larger than or equal to 1, and L is smaller than or equal to K.
After receiving the running interface of the second application program, the first electronic device displays the running interface of the second application program, so that the purpose of sharing the application programs is achieved. In this way, the user can process the first notification received by the second application program of the target electronic device based on the running interface displayed by the first electronic device, so that the timeliness of notification processing is improved.
The embodiment of the invention receives a first notification sent by second electronic equipment, wherein the first notification is a notification which is received by an application program and is in a standby state of the second electronic equipment; displaying a prompt message corresponding to the first notification; sending a request message to a target electronic device under the condition that a first input aiming at the prompt message is received, wherein the target electronic device is an electronic device in the second electronic device; and displaying the running interface of a second application program under the condition that the running interface of the second application program shared by the target electronic equipment responding to the request message is received, wherein the second application program is an application program in the first application program. The first electronic device can share the designated application program aiming at the first notification sent by the second electronic device, so that the flexibility of application program sharing is improved. In addition, when the second electronic device is in a standby state, the first electronic device can process the first notification in an application sharing mode, so that important notifications can be effectively prevented from being missed.
Optionally, in an embodiment, the step 102 includes:
and displaying a first prompt message corresponding to the first notification under the condition of receiving the first notification sent by the second electronic equipment.
In the embodiment of the invention, the first electronic device displays the prompt message corresponding to the first notification every time the first electronic device receives the first notification sent by the second electronic device. It should be appreciated that each first notification corresponds to a first prompting message. In the event that a plurality of first notifications are received within a period of time, a plurality of first prompting messages will be displayed.
For example, the second electronic device is the electronic device a, and the first electronic device is the electronic device B. When the electronic device a receives a notification from the application P in the standby state, the electronic device a sends the notification to the electronic device B, as shown in fig. 2, a first prompt message is displayed on the electronic device B, where the first prompt message may be represented as: a notification is received from the application P of the electronic device a.
At this time, when the user needs to process the notification of the application P of the electronic device a, a first input may be performed on the first prompt message (for example, click the first prompt message), and when the electronic device B receives the first input, a request message is sent to the electronic device a. If the electronic device a and the electronic device B are not connected at this time, the connection with the electronic device a is triggered, the electronic device a runs the application P, and the running interface of the application P is shared with the electronic device B. As shown in fig. 3, after receiving the operation interface of the application P, the electronic device B displays the operation interface of the application P. For the user to perform the relevant operation of the application P on the electronic device B. Optionally, the user quits the application after performing the relevant processing on the application P on the electronic device B, and the 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, and the user is prevented from missing an important message.
Optionally, in another embodiment, the step 102 includes: and under the condition that a second input aiming at the target control is received, displaying a second prompt message corresponding to a second notification, wherein the second notification comprises part or all of the first notification sent by the second electronic equipment.
In an embodiment of the invention, the second input may be a touch input or a voice input, and the like, which is not further limited herein. Optionally, in the first electronic device, information related to the received first notification may be stored, and the second notification may be understood as the first notification (i.e., the first notification for processing) stored by the first electronic device. And the second input triggers the first electronic equipment to display a second prompt message corresponding to the second notification.
The target control may be associated with all unprocessed first notifications, or may be associated with all unprocessed first notifications in the first notifications sent by the same second electronic device, and the following embodiments will describe in detail by taking the target control as an example to be associated with all unprocessed first notifications.
Specifically, the association manner may be set according to actual needs, for example, in an optional embodiment, the target control stores (or bears the first notification), and the following description is given by taking the target control as an application drawer, as shown in fig. 4, after the electronic device B receives the first notification sent by the electronic device a, the application drawer may be created on a preset path (such as a desktop) to store the related information of the first notification. In the embodiment of the invention, the first notification is stored through the target control, so that the first notification can be delayed, and the current operation of the user B does not need to be interrupted (for example, the first electronic device is in a call state or a game state, and the notification cannot be processed in time). Therefore, the application range of the application program sharing based on the notification is widened, and the practicability of the application program sharing is improved.
Optionally, the user may implement a second input through operations such as voice or touch, and trigger the electronic device to display a second prompt message corresponding to a 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 preview information corresponding to the second notification, and in a case that the second input for the target control is received, displaying the second prompt message corresponding to the second notification includes:
under the condition that a fourth input aiming at the target control is received, displaying identification information corresponding to the second notification, wherein the identification information comprises an application program identification and an equipment identification;
and displaying a notification preview list under the condition that a fifth input aiming at a target identifier is received, wherein the target identifier is an application identifier of the second application program or a device identifier of the target electronic device, and the preview list comprises preview information corresponding to a second notification received by the second application program of the target electronic device.
The application identifier may be an application icon, and the device identifier may be a device name of the second electronic device (which may be a name defined by the electronic device B for the electronic device a, or may be a default name of the electronic device a). Further, the number of notifications sent by the application program corresponding to the application program icon can be displayed on the application icon through a corner mark. As shown in fig. 4, the number of notifications sent by the application P from the electronic device a is 3, the number of notifications sent by the application L from the electronic device B is 2, the number of notifications sent by the application I from the electronic device C is 4, and the number of notifications sent by the application J from the electronic device D is 5.
The user can view the second prompt message corresponding to the notification of each application program through the fifth input, where the fifth input may be touch input or voice input, as shown in fig. 5, and when the user clicks the application icon of the application P, the interface shown in fig. 6 may be displayed, that is, a notification preview list corresponding to all notifications sent by the application P of the electronic device a is displayed. The user can click any one of the notifications to send corresponding preview information, and the electronic device B is triggered to send a request message to the electronic device a. It should be understood that the corresponding operation interfaces may be the same or different for different notifications, and are not further limited herein. For example, in an optional embodiment, the request message may carry an identifier of target preview information associated with the fifth input, where the identifier may represent a target notification corresponding to the target preview information, and the electronic device a may determine, based on the identifier carried in the request message, the target notification to be preferentially processed by the user, and control the application P to run to a running interface for processing the target notification. This may simplify the operation of the user on the electronic device B.
Further, when the association relationship between the target control and the first notification is established, the first prompt message may be displayed or not, and the setting may be specifically performed according to actual needs. For example, in an optional embodiment, before displaying a second prompt message corresponding to the second notification in the case of receiving the second input for the target control, the method further includes:
and when a first notification is received and a third notification is included in the second notification associated with the target control, directly associating the first notification with the target control without displaying a first prompt message, wherein the third notification and the first notification are sent by the same second electronic equipment and are notifications of the same application program.
In the embodiment of the present invention, when receiving a notification of an application 1 of a second electronic device 1 for the first time (at this time, a target control does not exist in a first electronic device or a second notification associated with the target control does not include a notification of the application 1 of the second electronic device 1), a first prompt message corresponding to the notification may be displayed, and if a preset condition is satisfied, an association relationship between the notification and the target control is established, and if a target control does not exist in a preset position, the target control is created first, and then the association relationship between the target control and the notification is established; and if the target control exists, directly establishing the association relationship between the target control and the notification. The preset condition may include any one of:
condition 1, operation aiming at the first prompt message is not received within a preset time length;
and 2, receiving a third input aiming at the first prompt message, wherein the third input can be understood as canceling the display operation of the first prompt message.
The third input may be a slide input, for example, a sliding operation of the first prompt message to a boundary of the display area of the electronic device, or may be an input hiding the first prompt message. In an optional embodiment, an operation control may be further disposed on the display interface of the first prompt message, so as to cancel or hide the display of the first prompt message, and the user may click the operation control to trigger storing the first notification to the target control.
Further, when the notification of the application 1 of the second electronic device 1 is received again (at this time, the first electronic device has the target control and the drawer contains the notification of the application 1 of the second electronic device 1), the first prompt message corresponding to the notification may not be displayed. Therefore, the operation of the user can be reduced, and the intelligent degree of the electronic equipment is improved.
With respect to the above condition 2, it may be understood that, after the first prompt message corresponding to the first notification is displayed when the first notification sent by the second electronic device is received, the method further includes:
and under the condition that third input aiming at the first prompt message is received, establishing the incidence relation between the first notice and the target control.
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately, and the embodiments of the present invention are not limited thereto.
Further, referring to fig. 7, an embodiment of the present invention further provides an application sharing method applied to a second electronic device for sharing an application, where the method includes:
step 701, when the second electronic device is in a standby state and a first notification is received through a first application program, sending the first notification to a first electronic device, where the first electronic device is in an operating state;
step 702, displaying an operation interface of the first application program in a virtual screen when a request message sent by the first electronic device is received, wherein the request message is generated by the first electronic device when a first input for a prompt message corresponding to the first notification is received;
step 703, sharing the running interface of the first application program displayed in the virtual screen to the first electronic device.
Optionally, before the step 701, the method further includes:
acquiring a working state of the electronic equipment which can share an application program with the second electronic equipment, wherein the working state comprises a standby state and an operating state;
determining, in the electronic device in an operational state, the first electronic device for receiving the first notification.
The embodiments of the present invention provide various processes implemented by the second electronic device in the method embodiments of fig. 1 to fig. 6, and are not described herein again to avoid repetition.
Referring to fig. 8, fig. 8 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 8, an electronic device 800 is applied to a first electronic device for sharing an application, where the electronic device 800 includes:
a receiving module 801, configured to receive a first notification sent by a second electronic device, where the first notification is a notification that the second electronic device is in a standby state and is received through a first application;
a first display module 802, configured to display a prompt message corresponding to the first notification;
a first sending module 803, configured to send a request message to a target electronic device in the case that a first input for the prompt message is received, where the target electronic device is an electronic device in the second electronic device;
a second display module 804, configured to display an operation interface of a second application program when receiving the operation 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.
And 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 of the N second electronic devices, where M is greater than or equal to 1, and M is less than or equal to N.
If 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 previous first application.
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 of the N second electronic devices, where M is greater than or equal to 1, and M is less than or equal to N. It is understood that the number of corresponding first applications is K. The second application program is L application programs in the K first application programs, L is larger than or equal to 1, and L is smaller than or equal to K.
Optionally, the first display module 802 is specifically configured to perform any one of the following operations:
under the condition that the first notification is received, displaying a first prompt message corresponding to the first notification;
or, in the case that a second input for 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.
Optionally, the electronic device further includes:
and the processing module is used for establishing the association relation between the first notification and the target control under the condition that third input aiming at the first prompt message is received.
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 configured to:
under the condition that a fourth input aiming at the target control is received, displaying identification information corresponding to the second notification, wherein the identification information comprises an application program identification and an equipment identification;
and displaying a notification preview list under the condition that a fifth input aiming at a target identifier is received, wherein the target identifier is an application identifier of the second application program or a device identifier of the target electronic device, and the preview list comprises preview information corresponding to a second notification received by the second application program of the target electronic device.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the first electronic device in the method embodiments of fig. 1 to fig. 6, and details are not repeated here to avoid repetition.
Referring to fig. 9, fig. 9 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 9, the electronic device 900 is applied to a second electronic device for sharing an application, where the electronic device 900 includes:
a second sending module 901, configured to send a first notification to a first electronic device when the second electronic device is in a standby state and the first notification is received through a first application, where the first electronic device is in an operating state;
a third display module 902, configured to display, in a virtual screen, an operation interface of the first application program when receiving a request message sent by the first electronic device, where the request message is generated by the first electronic device when receiving a first input for a prompt message corresponding to the first notification;
the second sending module 901 is further configured to share the running interface of the first application program displayed in the virtual screen to the first electronic device.
Optionally, the second electronic device further includes:
the acquisition module is used for acquiring the working state of the electronic equipment which can share the application program with the second electronic equipment, wherein the working state comprises a standby state and an operating state;
a determining module for determining, in the electronic device in a running state, the first electronic device for receiving the first notification.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the second electronic device in the method embodiment of fig. 7, and is not described herein again to avoid repetition.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
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 the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The radio frequency unit 1001 receives a first notification sent by a second electronic device, where the first notification is a notification that the second electronic device is in a standby state and is received through a first application program;
a processor 1010, configured to display a prompt message corresponding to the first notification;
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, where the target electronic device is an electronic device in the second electronic device;
the processor 1010 is further configured to display an operation interface of a second application program when receiving an operation 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.
Alternatively, the first and second electrodes may be,
the radio frequency unit 1001 is configured to send a first notification to a first electronic device when the second electronic device is in a standby state and the first notification is received through a first application, where the first electronic device is in an operating state;
a processor 1010, configured to display an operation interface of the first application program in a virtual screen when a request message sent by the first electronic device is received, where the request message is generated by the first electronic device when a first input for a prompt message corresponding to the first notification is received;
the radio frequency unit 1001 is further configured to share the running interface of the first application program displayed in the virtual screen with the first electronic device.
According to the embodiment of the invention, the first electronic equipment can realize the sharing of the appointed application program aiming at the first notification sent by the second electronic equipment, so that the flexibility of the sharing of the application program is improved. In addition, when the second electronic device is in a standby state, the first electronic device can process the first notification in an application sharing mode, so that important notifications can be effectively prevented from being missed.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, 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, and the like. Further, the radio frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 1002, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output related to a specific function performed by the electronic apparatus 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, the Graphics processor 10041 Processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted 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 may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1001 in case of a phone call mode.
The electronic device 1000 also includes at least one sensor 1005, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 10061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 10061 and/or the backlight when the electronic device 1000 moves to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1005 may 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 in detail herein.
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, and the Display panel 10061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1007 may be used to receive input numeric or character information and generate key signal inputs 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 referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 1008 is an interface for connecting an external device to the electronic apparatus 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 having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1008 may be used to receive input from external devices (e.g., data information, power, etc.) 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 the external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1009 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1010 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 1009 and calling data stored in the memory 1009, thereby integrally monitoring the electronic device. Processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The electronic device 1000 may further include a power source 1011 (e.g., a battery) for supplying power to various components, and preferably, the power source 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the electronic device 1000 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program, when executed by the processor 1010, implements each process of the foregoing application program sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the application program sharing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. An application sharing method is applied to a first electronic device, and is characterized by comprising the following steps:
receiving a first notification sent by second electronic equipment, wherein the first notification is a notification which is sent by the second electronic equipment in a standby state and is received through a first application program;
displaying a prompt message corresponding to the first notification;
sending a request message to a target electronic device under the condition that a first input aiming at the prompt message is received, wherein the target electronic device is an electronic device in the second electronic device;
and displaying the running interface of a second application program under the condition that the running interface of the second application program shared by the target electronic equipment responding to the request message is received, wherein the second application program is an application program in the first application program.
2. The method of claim 1, wherein displaying the prompting message corresponding to the first notification comprises:
under the condition that the first notification is received, displaying a first prompt message corresponding to the first notification;
or, in the case that a second input for 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.
3. The method according to claim 2, wherein after the first prompt message corresponding to the first notification is displayed in the case of receiving the first notification sent by the second electronic device, the method further comprises:
and under the condition that third input aiming at the first prompt message is received, establishing the incidence relation between the first notice and the target control.
4. The method of claim 2, wherein the second prompt message corresponding to the second notification is preview information corresponding to the second notification, and wherein displaying the second prompt message corresponding to the second notification when the second input for the target control is received comprises:
under the condition that a fourth input aiming at the target control is received, displaying identification information corresponding to the second notification, wherein the identification information comprises an application program identification and an equipment identification;
and displaying a notification preview list under the condition that a fifth input aiming at a target identifier is received, wherein the target identifier is an application identifier of the second application program or a device identifier of the target electronic device, and the preview list comprises preview information corresponding to the second notification.
5. An application sharing method applied to a second electronic device includes:
under the condition that the second electronic equipment is in a standby state and a first notification is received through a first application program, the first notification is sent to first electronic equipment, and the first electronic equipment is in a running state;
displaying an operation interface of the first application program in a virtual screen under the condition that a request message sent by the first electronic equipment is received, wherein the request message is generated by the first electronic equipment after first input aiming at a prompt message corresponding to the first notification is received;
sharing the running interface of the first application program displayed in the virtual screen to the first electronic device.
6. A first electronic device, comprising:
the receiving module is used for receiving a first notification sent by second electronic equipment, wherein the first notification is a notification which is sent by the second electronic equipment in a standby state and is received through a first application program;
the first display module is used for displaying a prompt message corresponding to the first notification;
a first sending module, configured to send a request message to a target electronic device when a first input for the prompt message is received, where the target electronic device is an electronic device in the second electronic device;
and the second display module is configured to display an operation interface of a second application program when receiving the operation 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.
7. The first electronic device of claim 6, wherein the first display module is specifically configured to perform any one of the following operations:
under the condition that a first notification sent by the second electronic equipment is received, displaying a first prompt message corresponding to the first notification;
or, when a second input for the target control is received, 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.
8. The electronic device of claim 7, further comprising:
and the processing module is used for establishing the association relation between the first notification and the target control under the condition that third input aiming at the first prompt message is received.
9. The electronic device according to claim 7, wherein the second prompt message corresponding to the second notification is preview information corresponding to the second notification, and the first display module is specifically configured to:
under the condition that a fourth input aiming at the target control is received, displaying identification information corresponding to the second notification, wherein the identification information comprises an application program identification and an equipment identification;
and displaying a notification preview list under the condition that a fifth input aiming at a target identifier is received, wherein the target identifier is an application identifier of the second application program or a device identifier of the target electronic device, and the preview list comprises preview information corresponding to the second notification information.
10. A second electronic device, comprising:
the second sending module is used for sending the first notification to the first electronic equipment under the condition that the second electronic equipment is in a standby state and the first notification is received through the first application program, and the first electronic equipment is in a running state;
the third display module is used for displaying the running interface of the first application program in a virtual screen under the condition that a request message sent by the first electronic equipment is received, wherein the request message is generated by the first electronic equipment after first input aiming at a prompt message corresponding to the first notification is received;
the second sending module is further configured to share the running interface of the first application program displayed in the virtual screen to the first electronic device.
11. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the application sharing method according to any one of claims 1 to 5.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the application sharing method of any one of claims 1 to 5.
CN201911236994.6A 2019-12-05 2019-12-05 Application program sharing method and electronic equipment Pending CN111124706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911236994.6A CN111124706A (en) 2019-12-05 2019-12-05 Application program sharing method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911236994.6A CN111124706A (en) 2019-12-05 2019-12-05 Application program sharing method and electronic equipment
PCT/CN2020/132638 WO2021109959A1 (en) 2019-12-05 2020-11-30 Application sharing method and electronic device

Publications (1)

Publication Number Publication Date
CN111124706A true CN111124706A (en) 2020-05-08

Family

ID=70497690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911236994.6A Pending CN111124706A (en) 2019-12-05 2019-12-05 Application program sharing method and electronic equipment

Country Status (2)

Country Link
CN (1) CN111124706A (en)
WO (1) WO2021109959A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021109959A1 (en) * 2019-12-05 2021-06-10 维沃移动通信有限公司 Application sharing method and electronic device
WO2021109925A1 (en) * 2019-12-02 2021-06-10 维沃移动通信有限公司 Method for sharing application, electronic apparatus, and computer readable storage medium
CN113434226A (en) * 2021-06-02 2021-09-24 维沃移动通信(杭州)有限公司 Communication method, communication device, electronic equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8516065B2 (en) * 2012-01-03 2013-08-20 International Business Machines Corporation Criterion-dependent email display agent
CN105204605B (en) * 2014-06-09 2018-06-26 联想(北京)有限公司 A kind of information processing method, the first electronic equipment and the second electronic equipment
CN107168661B (en) * 2017-03-27 2020-07-24 联想(北京)有限公司 Display control method and electronic equipment
CN108683793B (en) * 2018-03-26 2020-10-30 维沃移动通信有限公司 Display method of application icon and mobile terminal
CN111124706A (en) * 2019-12-05 2020-05-08 维沃移动通信有限公司 Application program sharing method and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021109925A1 (en) * 2019-12-02 2021-06-10 维沃移动通信有限公司 Method for sharing application, electronic apparatus, and computer readable storage medium
WO2021109959A1 (en) * 2019-12-05 2021-06-10 维沃移动通信有限公司 Application sharing method and electronic device
CN113434226A (en) * 2021-06-02 2021-09-24 维沃移动通信(杭州)有限公司 Communication method, communication device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2021109959A1 (en) 2021-06-10

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN107734175B (en) Notification message prompting method and mobile terminal
CN109085968B (en) Screen capturing method and terminal equipment
CN110062105B (en) Interface display method and terminal equipment
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN110837327B (en) Message viewing method and terminal
CN110096326B (en) Screen capturing method, terminal equipment and computer readable storage medium
CN109407948B (en) Interface display method and mobile terminal
CN111124706A (en) Application program sharing method and electronic equipment
CN110196667B (en) Notification message processing method and terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN111443968A (en) Screenshot method and electronic equipment
CN110213437B (en) Editing method and mobile terminal
CN111061404A (en) Control method and first electronic device
CN109597546B (en) Icon processing method and terminal equipment
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
WO2021115220A1 (en) Information sharing method, electronic device and computer-readable storage medium
CN111107223B (en) Message processing method and electronic equipment
CN111163227B (en) Sharing method and electronic equipment
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN110109593B (en) Screen capturing method and terminal equipment
CN109992192B (en) Interface display method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination