CN111158929A - Application processing method and electronic equipment - Google Patents

Application processing method and electronic equipment Download PDF

Info

Publication number
CN111158929A
CN111158929A CN201911340971.XA CN201911340971A CN111158929A CN 111158929 A CN111158929 A CN 111158929A CN 201911340971 A CN201911340971 A CN 201911340971A CN 111158929 A CN111158929 A CN 111158929A
Authority
CN
China
Prior art keywords
electronic device
target application
virtual screen
electronic equipment
application
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
CN201911340971.XA
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 CN201911340971.XA priority Critical patent/CN111158929A/en
Publication of CN111158929A publication Critical patent/CN111158929A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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 OR 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/547Remote procedure calls [RPC]; Web services
    • G06F9/548Object oriented; Remote method invocation [RMI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui

Abstract

The invention provides an application processing method and electronic equipment, wherein the application processing method comprises the following steps: the method comprises the steps that a sharing connection aiming at a target application is established between first electronic equipment and second electronic equipment, and a first request is sent to the second electronic equipment in response to a first input under the condition that the first input for indicating to clear the application is received; under the condition that first information fed back by second electronic equipment for a first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic equipment for the first request is not received, stopping running the target application at the first electronic equipment; or, in the case that third information fed back by the second electronic device for the first request is received and the third information indicates that the target application is prohibited from stopping running, the target application continues to run at the first electronic device. The problem that the application processing scheme is not intelligent enough in the prior art can be well solved by the scheme.

Description

Application processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic devices, and in particular, to an application processing method and an electronic device.
Background
With the development of science and technology, the functions of electronic equipment are more and more abundant, and the function sharing requirement among the electronic equipment is more and more strong. At present, the main application of the method is to share the source files among electronic devices. The application sharing method which is recently developed enables the same application to be operated on different electronic devices in a real-time and sharing mode, and the problem that the operation mode of the sharing method based on the source file is complicated is greatly solved.
However, when the application sharing is performed, if any one of the sharing end and the receiving end performs the operation of removing the application by mistake, and the shared application is removed, the application sharing may be interrupted; if the user wants to continue to share the application, the user needs to reconnect the application, so that the operation is more complicated, and the experience of the user in use is reduced.
That is, the existing application processing scheme has the problem of not being intelligent enough.
Disclosure of Invention
The invention aims to provide an application processing method and electronic equipment, and aims to solve the problem that an application processing scheme in the prior art is not intelligent enough.
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 processing method, applied to a first electronic device, including:
the method comprises the steps that under the condition that a sharing connection aiming at a target application is established between first electronic equipment and second electronic equipment and first input for indicating application clearing is received, a first request is sent to the second electronic equipment in response to the first input;
stopping running the target application at the first electronic equipment under the condition that first information fed back by the second electronic equipment for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic equipment for the first request is not received; alternatively, the first and second electrodes may be,
and if third information fed back by the second electronic equipment for the first request is received and the third information indicates that the target application is prohibited from running, continuing running the target application on the first electronic equipment.
In a second aspect, an embodiment of the present invention further provides an application processing method, applied to a second electronic device, including:
receiving a first request sent by a first electronic device under the condition that a first input for indicating to clear an application is received under the condition that a sharing connection aiming at a target application is established between a second electronic device and the first electronic device;
receiving a second input for the first request;
and responding to the second input, sending first information to the first electronic equipment, wherein the first information indicates that the target application is allowed to stop running, or sending third information to the first electronic equipment, wherein the third information indicates that the target application is forbidden to stop running.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device, and the electronic device includes:
the first sending module is used for establishing a sharing connection aiming at a target application between the first electronic equipment and the second electronic equipment, and responding to a first input for indicating application removal under the condition that the first input is received, and sending a first request to the second electronic equipment;
a first processing module, configured to stop running the target application at the first electronic device when first information fed back by the second electronic device for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic device for the first request is not received; alternatively, the first and second electrodes may be,
and if third information fed back by the second electronic equipment for the first request is received and the third information indicates that the target application is prohibited from running, continuing running the target application on the first electronic equipment.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a second electronic device, and the electronic device includes:
the first receiving module is used for receiving a first request sent by first electronic equipment under the condition that first input for indicating application removal is received when sharing connection aiming at a target application is established between the second electronic equipment and the first electronic equipment;
a second receiving module for receiving a second input for the first request;
a second sending module, configured to send, in response to the second input, first information to the first electronic device, where the first information indicates that the target application is allowed to stop running, or send, to the first electronic device, third information, where the third information indicates that the target application is prohibited from stopping running.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device or a second electronic device, and includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where in a case where the electronic device is the first electronic device, the computer program is executed by the processor to implement the step of the application processing method on the first electronic device side; alternatively, the first and second electrodes may be,
when the electronic device is a second electronic device, the computer program realizes the steps of the application processing method on the second electronic device side when executed by the processor.
In a sixth aspect, an 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 executed by a processor, the computer program implements the steps of the application processing method on the first electronic device side or the second electronic device side.
In the embodiment of the invention, a first request is sent to a second electronic device in response to a first input for indicating application removal under the condition that a sharing connection aiming at a target application is established between the first electronic device and the second electronic device and the first input is received; stopping running the target application at the first electronic equipment under the condition that first information fed back by the second electronic equipment for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic equipment for the first request is not received; or, in the case that third information fed back by the second electronic device for the first request is received and the third information indicates that the target application is prohibited from running, continuing to run the target application at the first electronic device; any one of the sharing end and the receiving end can send a request to the other side when the shared application is cleared, and whether clearing operation is executed or not is controlled according to a feedback request result, so that accidental termination of application sharing caused by mistaken clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of a scheme and the experience of a user are improved; the problem that an application processing scheme in the prior art is not intelligent enough is well solved.
Drawings
FIG. 1 is a first flowchart illustrating an application processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a second exemplary embodiment of an application processing method;
fig. 3 is a schematic diagram illustrating a display of a sharing peer for a shared application according to an embodiment of the present invention;
fig. 4 is a schematic display diagram of a receiving end for a shared application according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a first request transmission according to an embodiment of the present invention;
FIG. 6 is a first schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 7 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
FIG. 8 is a third schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 9 is a fourth schematic structural diagram of an electronic device according to 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.
The present invention provides an application processing method, applied to a first electronic device, for solving the problem that an application processing scheme in the prior art is not intelligent enough, as shown in fig. 1, including:
step 11: the method includes the steps that a sharing connection for a target application is established between the first electronic device and a second electronic device, and a first request is sent to the second electronic device in response to a first input indicating that the application is cleared when the first input is received.
The target application is an application shared by the first electronic device to the second electronic device, or the target application is an application shared by the second electronic device to the first electronic device. It can also be understood that the first electronic device may be a sharing end or a receiving end.
The first input may be a preset voice input, a preset sliding track input, a preset click input, and the like, which is not limited herein.
Step 12: stopping running the target application at the first electronic equipment under the condition that first information fed back by the second electronic equipment for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic equipment for the first request is not received; or, when third information fed back by the second electronic device for the first request is received and the third information indicates that the target application is prohibited from running, continuing to run the target application at the first electronic device.
It can also be understood that, according to the request result fed back by the second electronic device for the first request, whether to execute the clearing operation for the target application is determined, and the corresponding processing operation is executed.
The determining whether the first information, the second information, or the third information is received may specifically be: and monitoring whether the first information, the second information or the third information is received within a preset time period. Thus, the waiting state can be prevented from being always processed by the first electronic device, energy is saved, and the processing flow is promoted.
The application processing method provided by the embodiment of the invention is characterized in that a sharing connection aiming at a target application is established between the first electronic device and the second electronic device, and a first request is sent to the second electronic device in response to a first input under the condition that the first input for indicating to clear the application is received; stopping running the target application at the first electronic equipment under the condition that first information fed back by the second electronic equipment for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic equipment for the first request is not received; or, in the case that third information fed back by the second electronic device for the first request is received and the third information indicates that the target application is prohibited from running, continuing to run the target application at the first electronic device; any one of the sharing end and the receiving end (namely, the first electronic device) can send a request to the opposite side (namely, the second electronic device) when the shared application is cleared, and whether clearing operation is executed or not is controlled according to a feedback request result, so that accidental termination of application sharing caused by mistaken clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of a scheme and the user experience are improved; the problem that an application processing scheme in the prior art is not intelligent enough is well solved.
Further, after the first electronic device stops running the target application, the method further includes: closing the first virtual screen and disconnecting the sharing connection; the first virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
Therefore, the related resources can be released, and the waste of the resources is avoided.
Specifically, the continuing to run the target application on the first electronic device includes: maintaining the sharing connection, and continuously displaying the running interface of the target application on a second virtual screen; the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
Therefore, normal implementation of the scheme can be guaranteed, the situation that the target application can be cleared by independent operation of the first electronic equipment side is avoided, and unnecessary troubles caused by clearing of the target application under the condition of misoperation of the first electronic equipment side are avoided.
In this case, after receiving the third information, the method may further include: and prompting the user to prohibit the target application from being cleared according to the third information.
Further, the method further comprises: and closing the second virtual screen and the target application under the condition that the sharing connection is disconnected.
Therefore, the related resources can be released, and the waste of the resources is avoided.
Further, the method further comprises: disconnecting the sharing connection in the case of detecting that the second virtual screen is closed or a third virtual screen on the second electronic device is closed; the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second electronic device.
This enables the first electronic device to release the relevant resources normally under certain necessary conditions, such as: and the second electronic equipment side maliciously does not finish sharing.
An embodiment of the present invention further provides an application processing method, applied to a second electronic device, as shown in fig. 2, including:
step 21: in a case where a sharing connection for a target application is established between the second electronic device and a first electronic device, receiving a first request sent by the first electronic device in a case where a first input indicating to clear the application is received.
In the embodiment of the invention, the second electronic device side can pop up a corresponding request in a bullet frame form for the received first request, prompts a user of the second electronic device to confirm whether to approve to clear the target application or not, and provides a corresponding option button.
The target application is an application shared by the first electronic device to the second electronic device, or the target application is an application shared by the second electronic device to the first electronic device. It is also understood that the second electronic device may be a receiving end or a sharing end.
Step 22: receiving a second input for the first request.
In the embodiment of the present invention, the second input may be acquired through the option button. Of course, the second input may be obtained by obtaining a preset input operation such as a sliding track, a click operation, and the like, which is not limited herein.
It is also understood that the second input may be a preset voice input, a preset sliding track input, a preset click input, etc., and is not limited herein.
Step 23: and responding to the second input, sending first information to the first electronic equipment, wherein the first information indicates that the target application is allowed to stop running, or sending third information to the first electronic equipment, wherein the third information indicates that the target application is forbidden to stop running.
That is, the request result for the first request may be to allow purging, or to prohibit purging. Therefore, the first electronic equipment can determine whether to execute the clearing operation aiming at the target application according to the request result, and execute the corresponding processing operation.
The application processing method provided by the embodiment of the invention receives a first request sent by first electronic equipment under the condition of receiving a first input for indicating to clear an application under the condition of establishing a sharing connection aiming at a target application between second electronic equipment and the first electronic equipment; receiving a second input for the first request; in response to the second input, sending first information to the first electronic device, the first information indicating that the target application is allowed to stop running, or sending third information to the first electronic device, the third information indicating that the target application is prohibited from stopping running; the method and the device have the advantages that the method and the device can support that when any one of the sharing end and the receiving end (namely, the first electronic equipment) is to clear the shared application, a request is sent to the opposite side (namely, the second electronic equipment), whether clearing operation is executed or not is controlled according to a fed back request result, accidental termination of application sharing caused by mistaken clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of a scheme and the experience of a user are improved; the problem that an application processing scheme in the prior art is not intelligent enough is well solved.
Further, after sending the first information to the first electronic device, the method further includes: stopping running the target application on the second electronic equipment; or, after the third information is sent to the first electronic device, the method further includes: maintaining the sharing connection, and continuously displaying the running interface of the target application on a third virtual screen; the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second electronic device.
Therefore, related resources can be released under the condition that the user of the second electronic equipment agrees to clear the target application, and the waste of the resources is avoided; the target application is continuously and normally shared under the condition that the user of the second electronic equipment does not agree to clear the target application, normal implementation of the scheme is guaranteed, the situation that the target application can be cleared by independent operation of the first electronic equipment side is avoided, and therefore unnecessary troubles caused by clearing the target application under the condition of misoperation of the first electronic equipment side are avoided.
Further, after maintaining the sharing connection and continuing to display the running interface of the target application on the third virtual screen, the method further includes: disconnecting the sharing connection in the case of detecting that the third virtual screen is closed or the second virtual screen on the first electronic device is closed; the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
This enables the second electronic device to release the relevant resources normally under certain necessary conditions, such as: and the first electronic equipment side maliciously does not finish sharing.
In this embodiment of the present invention, after the second electronic device stops running the target application, the method may further include: and closing the third virtual screen and disconnecting the sharing connection.
Therefore, the related resources can be released, and the waste of the resources is avoided.
The application processing method provided by the embodiment of the invention is further described below with reference to two sides of the first electronic device and the second electronic device.
In view of the foregoing technical problems, an embodiment of the present invention provides an application processing method, which can be specifically implemented as a method for avoiding an application being removed during sharing: the shared application on any one of the sharing end and the receiving end sends a request to the other end when the shared application is to be cleared, and whether clearing operation is executed or not is controlled according to the fed back request result, so that accidental termination of application sharing caused by mistaken clearing operation is avoided, and a certain fool-proof effect is achieved; the user experience is improved.
That is, the embodiment of the present invention specifically provides a method for avoiding an unexpected termination of application sharing due to a clearing operation in an application sharing process. The following description takes the sharing end initiating the clear operation as an example (that is, the first electronic device is taken as the sharing end, and the second electronic device is taken as the receiving end as an example); the method specifically comprises the following operations:
operation 1: the sharing end and the receiving end search for the opposite side device and are connected, and the sharing end and the receiving end can be connected and transmit data through the Bluetooth, the wifi, the near field communication or the network server.
Operation 2: after the two ends are successfully connected, the sharing end selects a certain application A, shares the application A to the receiving end, and the receiving end confirms to receive the shared application A. The sharing peer and the receiving peer will display the application a in their respective virtual screens (e.g., the sharing peer corresponds to the first virtual screen, and the receiving peer corresponds to the third virtual screen), as shown in fig. 3 and 4.
Operation 3: if the sharing end initiates an application clearing operation (namely, receives the first input), the sharing end sends a clearing instruction to the first virtual screen, and after the first virtual screen receives the clearing instruction, the sharing end is triggered to send a request (namely, send the first request) to the receiving end so as to inform that the third virtual screen target application of the receiving end is cleared at the sharing end, and the sharing is finished; and meanwhile, the sharing end starts timing and waits for receiving the request result fed back.
And operation 4: after the receiving end receives the request (i.e., the first request), it may pop up in a third virtual screen to prompt whether the user of the receiving end agrees to end the sharing, as shown in fig. 5 (the receiving end receives the request to pop up). The user at the receiving end can choose whether to agree to end the sharing. If the user at the receiving end selects to finish the agreement, the receiving end is triggered to send a request result (namely the first information) to the sharing end so as to inform the sharing end of agreeing to finish the sharing, and meanwhile, the receiving end can remove the third virtual screen and finish the sharing. If the user at the receiving end chooses not to agree with the end, the receiving end is triggered to send a request result (namely, the third information) to the sharing end, so that the sharing end is informed of not ending the sharing, and meanwhile, the third virtual screen at the receiving end cannot be cleared.
Operation 5: if the sharing end receives the request result sent by the receiving end within the timed preset time (i.e. within the preset time period), and the received request result (i.e. the first information) indicates that the sharing is allowed to end (i.e. indicates that the target application is allowed to stop running), the sharing end will clear (can also be understood as closing) the first virtual screen and end the sharing; if the sharing end receives the request result (i.e., the third information) sent by the receiving end within the timed preset duration (i.e., within the preset time period), but the request result indicates that the sharing is not finished (i.e., indicates that the target application is prohibited from stopping running), the sharing end locks the second virtual screen (which may be the same virtual screen as the first virtual screen) and continues to display the second virtual screen, and the operation 6 is skipped. In addition, if the sharing end does not receive the request result (i.e., the second information) returned by the receiving end within the timed preset time (i.e., within the preset time period), the sharing end can clear the first virtual screen and end the sharing.
Operation 6: the sharing end and the receiving end respectively detect whether the respective virtual screens are closed, and if any end closes the corresponding virtual screen, the sharing is finished.
Specifically, the sharing end detects whether the first virtual screen and/or the second virtual screen are/is closed, and the receiving end detects whether the third virtual screen is closed; if the sharing end closes the first virtual screen and/or the second virtual screen, and/or the receiving end closes the third virtual screen; the sharing is ended.
Here, implementation of a scheme that a receiving end initiates a clear operation (i.e., the first electronic device serves as the receiving end and the second electronic device serves as the sharing end) is similar to that described above, and details are not repeated herein.
Therefore, the scheme provided by the embodiment of the invention avoids application sharing interruption caused by clearing the application at the sharing end and the receiving end when the application is shared; this scheme has certain effect of preventing staying, has avoided carrying out the reconnection, has promoted user's experience and has felt.
An embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device, as shown in fig. 6, and the electronic device includes:
a first sending module 61, configured to, in a case where a sharing connection for a target application is established between the first electronic device and a second electronic device, and a first input indicating to clear the application is received, send a first request to the second electronic device in response to the first input;
a first processing module 62, configured to stop running the target application at the first electronic device if first information fed back by the second electronic device for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic device for the first request is not received; alternatively, the first and second electrodes may be,
and if third information fed back by the second electronic equipment for the first request is received and the third information indicates that the target application is prohibited from running, continuing running the target application on the first electronic equipment.
The electronic device provided by the embodiment of the invention responds to a first input by establishing a sharing connection for a target application between the first electronic device and a second electronic device and sending a first request to the second electronic device under the condition of receiving the first input for indicating to clear the application; stopping running the target application at the first electronic equipment under the condition that first information fed back by the second electronic equipment for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic equipment for the first request is not received; or, in the case that third information fed back by the second electronic device for the first request is received and the third information indicates that the target application is prohibited from running, continuing to run the target application at the first electronic device; any one of the sharing end and the receiving end (namely, the first electronic device) can send a request to the opposite side (namely, the second electronic device) when the shared application is cleared, and whether clearing operation is executed or not is controlled according to a feedback request result, so that accidental termination of application sharing caused by mistaken clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of a scheme and the user experience are improved; the problem that an application processing scheme in the prior art is not intelligent enough is well solved.
Further, the electronic device further includes: the second processing module is used for closing the first virtual screen and disconnecting the sharing connection after the first electronic device stops running the target application; the first virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
Specifically, the continuing to run the target application on the first electronic device includes: maintaining the sharing connection, and continuously displaying the running interface of the target application on a second virtual screen; the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
Further, the electronic device further includes: and the third processing module is used for closing the second virtual screen and the target application under the condition that the sharing connection is disconnected.
Furthermore, the electronic device further includes: the fourth processing module is used for disconnecting the sharing connection under the condition that the second virtual screen is detected to be closed or a third virtual screen on the second electronic equipment is detected to be closed; the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second 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. 5, and details are not repeated here to avoid repetition.
An embodiment of the present invention further provides an electronic device, where the electronic device is a second electronic device, as shown in fig. 7, and the electronic device includes:
a first receiving module 71, configured to, in a case where a sharing connection for a target application is established between the second electronic device and a first electronic device, receive a first request sent by the first electronic device when a first input indicating to clear the application is received;
a second receiving module 72, configured to receive a second input for the first request;
a second sending module 73, configured to send, in response to the second input, first information to the first electronic device, where the first information indicates that the target application is allowed to stop running, or send third information to the first electronic device, where the third information indicates that the target application is prohibited from stopping running.
The electronic device provided by the embodiment of the invention receives a first request sent by a first electronic device under the condition of receiving a first input for indicating to clear an application by establishing a sharing connection aiming at a target application between a second electronic device and the first electronic device; receiving a second input for the first request; in response to the second input, sending first information to the first electronic device, the first information indicating that the target application is allowed to stop running, or sending third information to the first electronic device, the third information indicating that the target application is prohibited from stopping running; the method and the device have the advantages that the method and the device can support that when any one of the sharing end and the receiving end (namely, the first electronic equipment) is to clear the shared application, a request is sent to the opposite side (namely, the second electronic equipment), whether clearing operation is executed or not is controlled according to a fed back request result, accidental termination of application sharing caused by mistaken clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of a scheme and the experience of a user are improved; the problem that an application processing scheme in the prior art is not intelligent enough is well solved.
Further, the electronic device further includes: the fifth processing module is used for stopping running the target application on the second electronic equipment after the first information is sent to the first electronic equipment; or after third information is sent to the first electronic device, maintaining the sharing connection, and continuously displaying the running interface of the target application on a third virtual screen; the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second electronic device.
Furthermore, the electronic device further includes: the sixth processing module is configured to, after maintaining the sharing connection and continuing to display the running interface of the target application on a third virtual screen, disconnect the sharing connection when detecting that the third virtual screen is closed or a second virtual screen on the first electronic device is closed; the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the second electronic device in the method embodiments of fig. 1 to fig. 5, and details are not repeated here to avoid repetition.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where the electronic device is a first electronic device, and the electronic device 80 includes but is not limited to: radio frequency unit 81, network module 82, audio output unit 83, input unit 84, sensor 85, display unit 86, user input unit 87, interface unit 88, memory 89, processor 810, and power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 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 processor 810 is configured to, in a case where a shared connection for a target application is established between the first electronic device and a second electronic device and a first input indicating that an application is cleared is received, send a first request to the second electronic device in response to the first input; stopping running the target application at the first electronic equipment under the condition that first information fed back by the second electronic equipment for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic equipment for the first request is not received; or, when third information fed back by the second electronic device for the first request is received and the third information indicates that the target application is prohibited from running, continuing to run the target application at the first electronic device.
In the embodiment of the invention, a first request is sent to a second electronic device in response to a first input for indicating application removal under the condition that a sharing connection aiming at a target application is established between the first electronic device and the second electronic device and the first input is received; stopping running the target application at the first electronic equipment under the condition that first information fed back by the second electronic equipment for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic equipment for the first request is not received; or, in the case that third information fed back by the second electronic device for the first request is received and the third information indicates that the target application is prohibited from running, continuing to run the target application at the first electronic device; any one of the sharing end and the receiving end can send a request to the other side when the shared application is cleared, and whether clearing operation is executed or not is controlled according to a feedback request result, so that accidental termination of application sharing caused by mistaken clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of a scheme and the experience of a user are improved; the problem that an application processing scheme in the prior art is not intelligent enough is well solved.
Optionally, the processor 810 is further configured to, after the first electronic device stops running the target application, close the first virtual screen and disconnect the sharing connection; the first virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
Optionally, the processor 810 is specifically configured to maintain the sharing connection, and continue to display the running interface of the target application on the second virtual screen; the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
Optionally, the processor 810 is further configured to close the second virtual screen and the target application when the sharing connection is disconnected.
Optionally, the processor 810 is further configured to disconnect the sharing connection in a case that it is detected that the second virtual screen is closed or a third virtual screen on the second electronic device is closed; the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second electronic device.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 81 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, the radio frequency unit 81 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. In addition, the radio frequency unit 81 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 82, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 83 may convert audio data received by the radio frequency unit 81 or the network module 82 or stored in the memory 89 into an audio signal and output as sound. Also, the audio output unit 83 may also provide audio output related to a specific function performed by the electronic apparatus 80 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 83 includes a speaker, a buzzer, a receiver, and the like.
The input unit 84 is used to receive audio or video signals. The input Unit 84 may include a Graphics Processing Unit (GPU) 841 and a microphone 842, the Graphics processor 841 Processing image data of still pictures or videos obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 86. The image frames processed by the graphic processor 841 may be stored in the memory 89 (or other storage medium) or transmitted via the radio frequency unit 81 or the network module 82. The microphone 842 may receive sound and may be capable of processing 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 81 in case of the phone call mode.
The electronic device 80 also includes at least one sensor 85, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 861 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 861 and/or the backlight when the electronic device 80 is moved 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 85 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 are not described in detail herein.
The display unit 86 is used to display information input by the user or information provided to the user. The Display unit 86 may include a Display panel 861, and the Display panel 861 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 87 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 87 includes a touch panel 871 and other input devices 872. The touch panel 871, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 871 (e.g., operations by a user on or near the touch panel 871 using a finger, a stylus, or any suitable object or accessory). The touch panel 871 may include two parts of 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 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 871 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 87 may include other input devices 872 in addition to the touch panel 871. Specifically, the other input devices 872 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 871 can be overlaid on the display panel 861, and when the touch panel 871 detects a touch operation on or near the touch panel 871, the touch panel 871 is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 861 according to the type of the touch event. Although the touch panel 871 and the display panel 861 are illustrated in fig. 8 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 871 and the display panel 861 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 88 is an interface for connecting an external device to the electronic apparatus 80. 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 88 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 apparatus 80 or may be used to transmit data between the electronic apparatus 80 and the external device.
The memory 89 may be used to store software programs as well as various data. The memory 89 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), 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 89 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 810 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 89 and calling data stored in the memory 89, thereby integrally monitoring the electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 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 810.
The electronic device 80 may further include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 80 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, where the electronic device is a first electronic device, and includes a processor 810, a memory 89, and a computer program stored in the memory 89 and capable of running on the processor 810, and when the computer program is executed by the processor 810, the computer program implements each process of the embodiment of the application processing method on the first electronic device side, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An 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 processing method on the first electronic device side, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention, where the electronic device is a second electronic device, and the electronic device 90 includes, but is not limited to: radio frequency unit 91, network module 92, audio output unit 93, input unit 94, sensor 95, display unit 96, user input unit 97, interface unit 98, memory 99, processor 910, and power supply 911. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 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 processor 910 is configured to, in a case where a shared connection for a target application is established between the second electronic device and a first electronic device, receive a first request sent by the first electronic device when a first input indicating that an application is cleared is received; receiving a second input for the first request; and responding to the second input, sending first information to the first electronic equipment, wherein the first information indicates that the target application is allowed to stop running, or sending third information to the first electronic equipment, wherein the third information indicates that the target application is forbidden to stop running.
In the embodiment of the invention, a first request sent by a first electronic device under the condition of receiving a first input for indicating to clear an application is received by establishing a sharing connection aiming at a target application between a second electronic device and the first electronic device; receiving a second input for the first request; in response to the second input, sending first information to the first electronic device, the first information indicating that the target application is allowed to stop running, or sending third information to the first electronic device, the third information indicating that the target application is prohibited from stopping running; the method and the device have the advantages that the method and the device can support that when any one of the sharing end and the receiving end (namely, the first electronic equipment) is to clear the shared application, a request is sent to the opposite side (namely, the second electronic equipment), whether clearing operation is executed or not is controlled according to a fed back request result, accidental termination of application sharing caused by mistaken clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of a scheme and the experience of a user are improved; the problem that an application processing scheme in the prior art is not intelligent enough is well solved.
Optionally, the processor 910 is further configured to stop running the target application at the second electronic device after sending the first information to the first electronic device; or, after the third information is sent to the first electronic device, the method further includes: maintaining the sharing connection, and continuously displaying the running interface of the target application on a third virtual screen; the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second electronic device.
Optionally, the processor 910 is further configured to, after maintaining the sharing connection and continuing to display the running interface of the target application on the third virtual screen, disconnect the sharing connection when detecting that the third virtual screen is closed or the second virtual screen on the first electronic device is closed; the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 91 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 910; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 91 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 91 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 via the network module 92, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 93 may convert audio data received by the radio frequency unit 91 or the network module 92 or stored in the memory 99 into an audio signal and output as sound. Also, the audio output unit 93 may also provide audio output related to a specific function performed by the electronic apparatus 90 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 93 includes a speaker, a buzzer, a receiver, and the like.
The input unit 94 is for receiving an audio or video signal. The input Unit 94 may include a Graphics Processing Unit (GPU) 941 and a microphone 942, and the Graphics processor 941 processes 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 96. The image frames processed by the graphic processor 941 may be stored in the memory 99 (or other storage medium) or transmitted via the radio frequency unit 91 or the network module 92. The microphone 942 may receive sound and may be capable of processing 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 91 in case of the phone call mode.
The electronic device 90 also includes at least one sensor 95, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 961 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 961 and/or the backlight when the electronic device 90 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 95 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 are not described in detail herein.
The display unit 96 is used to display information input by the user or information provided to the user. The Display unit 96 may include a Display panel 961, and the Display panel 961 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 97 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 97 includes a touch panel 971 and other input devices 972. Touch panel 971, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 971 (e.g., operations by a user on or near touch panel 971 using a finger, a stylus, or any other suitable object or attachment). The touch panel 971 may include two portions of 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 910, receives a command from the processor 910, and executes the command. In addition, the touch panel 971 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 971, the user input unit 97 may include other input devices 972. In particular, other input devices 972 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 971 may be overlaid on the display panel 961, and when the touch panel 971 detects a touch operation on or near the touch panel 971, the touch operation is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 provides a corresponding visual output on the display panel 961 according to the type of the touch event. Although the touch panel 971 and the display panel 961 are shown in fig. 9 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 971 and the display panel 961 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 98 is an interface for connecting an external device to the electronic apparatus 90. 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 98 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 equipment 90 or may be used to transmit data between the electronic equipment 90 and the external device.
The memory 99 may be used to store software programs as well as various data. The memory 99 may mainly include a storage program area and a storage data area, wherein the storage program 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, etc.), 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 99 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 910 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 99 and calling data stored in the memory 99, thereby performing overall monitoring of the electronic device. Processor 910 may include one or more processing units; preferably, the processor 910 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 is to be appreciated that the modem processor described above may not be integrated into processor 910.
The electronic device 90 may further include a power supply 911 (e.g., a battery) for supplying power to various components, and preferably, the power supply 911 may be logically connected to the processor 910 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 90 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, where the electronic device is a second electronic device, and the electronic device includes a processor 910, a memory 99, and a computer program stored in the memory 99 and capable of running on the processor 910, and when the computer program is executed by the processor 910, the processes of the embodiment of the application processing method on the second electronic device side are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
An 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 processing method on the second electronic device side, and can achieve the same technical effect, and is not described herein again to avoid repetition. 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 an electronic device (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 (18)

1. An application processing method applied to a first electronic device, comprising:
the method comprises the steps that under the condition that a sharing connection aiming at a target application is established between first electronic equipment and second electronic equipment and first input for indicating application clearing is received, a first request is sent to the second electronic equipment in response to the first input;
stopping running the target application at the first electronic equipment under the condition that first information fed back by the second electronic equipment for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic equipment for the first request is not received; alternatively, the first and second electrodes may be,
and if third information fed back by the second electronic equipment for the first request is received and the third information indicates that the target application is prohibited from running, continuing running the target application on the first electronic equipment.
2. The method of claim 1, wherein after the first electronic device stops running the target application, further comprising:
closing the first virtual screen and disconnecting the sharing connection;
the first virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
3. The method of claim 1, wherein the continuing to run the target application at the first electronic device comprises:
maintaining the sharing connection, and continuously displaying the running interface of the target application on a second virtual screen;
the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
4. The method of claim 3, further comprising:
and closing the second virtual screen and the target application under the condition that the sharing connection is disconnected.
5. The method of claim 3, further comprising:
disconnecting the sharing connection in the case of detecting that the second virtual screen is closed or a third virtual screen on the second electronic device is closed;
the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second electronic device.
6. An application processing method applied to a second electronic device, the method comprising:
receiving a first request sent by a first electronic device under the condition that a first input for indicating to clear an application is received under the condition that a sharing connection aiming at a target application is established between a second electronic device and the first electronic device;
receiving a second input for the first request;
and responding to the second input, sending first information to the first electronic equipment, wherein the first information indicates that the target application is allowed to stop running, or sending third information to the first electronic equipment, wherein the third information indicates that the target application is forbidden to stop running.
7. The method of claim 6, after sending the first information to the first electronic device, further comprising:
stopping running the target application on the second electronic equipment; alternatively, the first and second electrodes may be,
after sending the third information to the first electronic device, the method further includes:
maintaining the sharing connection, and continuously displaying the running interface of the target application on a third virtual screen;
the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second electronic device.
8. The method of claim 7, further comprising, after maintaining the shared connection and continuing to display the running interface of the target application on a third virtual screen:
disconnecting the sharing connection in the case of detecting that the third virtual screen is closed or the second virtual screen on the first electronic device is closed;
the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
9. An electronic device, the electronic device being a first electronic device, comprising:
the first sending module is used for establishing a sharing connection aiming at a target application between the first electronic equipment and the second electronic equipment, and responding to a first input for indicating application removal under the condition that the first input is received, and sending a first request to the second electronic equipment;
a first processing module, configured to stop running the target application at the first electronic device when first information fed back by the second electronic device for the first request is received and the first information indicates that the target application is allowed to stop running or second information fed back by the second electronic device for the first request is not received; alternatively, the first and second electrodes may be,
and if third information fed back by the second electronic equipment for the first request is received and the third information indicates that the target application is prohibited from running, continuing running the target application on the first electronic equipment.
10. The electronic device of claim 9, further comprising:
the second processing module is used for closing the first virtual screen and disconnecting the sharing connection after the first electronic device stops running the target application;
the first virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
11. The electronic device of claim 9, wherein the continuing to run the target application at the first electronic device comprises:
maintaining the sharing connection, and continuously displaying the running interface of the target application on a second virtual screen;
the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
12. The electronic device of claim 11, further comprising:
and the third processing module is used for closing the second virtual screen and the target application under the condition that the sharing connection is disconnected.
13. The electronic device of claim 11, further comprising:
the fourth processing module is used for disconnecting the sharing connection under the condition that the second virtual screen is detected to be closed or a third virtual screen on the second electronic equipment is detected to be closed;
the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second electronic device.
14. An electronic device, the electronic device being a second electronic device, comprising:
the first receiving module is used for receiving a first request sent by first electronic equipment under the condition that first input for indicating application removal is received when sharing connection aiming at a target application is established between the second electronic equipment and the first electronic equipment;
a second receiving module for receiving a second input for the first request;
a second sending module, configured to send, in response to the second input, first information to the first electronic device, where the first information indicates that the target application is allowed to stop running, or send, to the first electronic device, third information, where the third information indicates that the target application is prohibited from stopping running.
15. The electronic device of claim 14, further comprising:
the fifth processing module is used for stopping running the target application on the second electronic equipment after the first information is sent to the first electronic equipment; alternatively, the first and second electrodes may be,
after third information is sent to the first electronic device, maintaining the sharing connection, and continuously displaying an operation interface of the target application on a third virtual screen;
the third virtual screen is a virtual screen used for displaying an operation interface of the target application on the second electronic device.
16. The electronic device of claim 15, further comprising:
the sixth processing module is configured to, after maintaining the sharing connection and continuing to display the running interface of the target application on a third virtual screen, disconnect the sharing connection when detecting that the third virtual screen is closed or a second virtual screen on the first electronic device is closed;
the second virtual screen is a virtual screen used for displaying an operation interface of the target application on the first electronic device.
17. An electronic device, which is a first electronic device or a second electronic device, comprising a processor, a memory and a computer program stored on the memory and operable on the processor, wherein, in the case of the electronic device being the first electronic device, the computer program, when executed by the processor, implements the steps of the application processing method according to any one of claims 1 to 5; alternatively, the first and second electrodes may be,
in case the electronic device is a second electronic device, the computer program realizes the steps of the application processing method as claimed in any one of claims 6 to 8 when executed by the processor.
18. 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 processing method according to any one of claims 1 to 8.
CN201911340971.XA 2019-12-23 2019-12-23 Application processing method and electronic equipment Pending CN111158929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911340971.XA CN111158929A (en) 2019-12-23 2019-12-23 Application processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911340971.XA CN111158929A (en) 2019-12-23 2019-12-23 Application processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111158929A true CN111158929A (en) 2020-05-15

Family

ID=70558076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911340971.XA Pending CN111158929A (en) 2019-12-23 2019-12-23 Application processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111158929A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866446A (en) * 2022-04-15 2022-08-05 西安广和通无线通信有限公司 Data transmission rate testing method, system, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453538A (en) * 2016-09-29 2017-02-22 努比亚技术有限公司 Screen sharing apparatus and method
CN107894917A (en) * 2017-11-10 2018-04-10 深圳天珑无线科技有限公司 Terminal and its method for closing background application, storage device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453538A (en) * 2016-09-29 2017-02-22 努比亚技术有限公司 Screen sharing apparatus and method
CN107894917A (en) * 2017-11-10 2018-04-10 深圳天珑无线科技有限公司 Terminal and its method for closing background application, storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114866446A (en) * 2022-04-15 2022-08-05 西安广和通无线通信有限公司 Data transmission rate testing method, system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
CN111124339B (en) Interface sharing method and electronic equipment
US20220046502A1 (en) Handover method and terminal
CN109560591B (en) Charging method, device and terminal
CN107992342B (en) Application configuration changing method and mobile terminal
CN108282759B (en) Service processing method and mobile communication terminal
CN107728923B (en) Operation processing method and mobile terminal
CN111007995A (en) Data processing method and electronic equipment
CN111124706A (en) Application program sharing method and electronic equipment
CN110673725A (en) Wearable device control method, wearable device, and computer-readable storage medium
CN109788114B (en) Call processing method and terminal
WO2020063136A1 (en) Application program start-up method and terminal device
CN111061404A (en) Control method and first electronic device
CN109151741B (en) Multimedia message receiving method and terminal
CN109005297B (en) Display method of navigation application and mobile terminal
CN108089935B (en) Application program management method and mobile terminal
CN111526248B (en) Audio output mode switching method and electronic equipment
CN111131930B (en) Device resource control method, first electronic device, and computer-readable storage medium
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
CN110990029A (en) Application processing method and electronic equipment
CN111246528A (en) Network switching method and electronic equipment
CN111158929A (en) Application processing method and electronic equipment
CN110825709B (en) Interaction method and electronic equipment
CN111752449B (en) Screen control method and device

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