CN111158929B - Application processing method and electronic equipment - Google Patents

Application processing method and electronic equipment Download PDF

Info

Publication number
CN111158929B
CN111158929B CN201911340971.XA CN201911340971A CN111158929B CN 111158929 B CN111158929 B CN 111158929B CN 201911340971 A CN201911340971 A CN 201911340971A CN 111158929 B CN111158929 B CN 111158929B
Authority
CN
China
Prior art keywords
electronic device
target application
virtual screen
request
information
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.)
Active
Application number
CN201911340971.XA
Other languages
Chinese (zh)
Other versions
CN111158929A (en
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/CN111158929B/en
Publication of CN111158929A publication Critical patent/CN111158929A/en
Application granted granted Critical
Publication of CN111158929B publication Critical patent/CN111158929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an application processing method and electronic equipment, wherein the application processing method comprises the following steps: establishing a sharing connection for a target application between a first electronic device and a second electronic device, and sending a first request 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 device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application or second information fed back by the second electronic device for the first request is not received; or if the 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 forbidden to stop running, continuing to run the target application at the first electronic device. The scheme can well solve the problem that the application processing scheme in the prior art is not intelligent enough.

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 development of technology, electronic devices have more and more functions, and functional sharing requirements between electronic devices have more and more intense. Currently, sharing among electronic devices in the form of source files is a major concern in widespread use. The recently emerging application sharing method enables the same application to be operated on different electronic devices in real time and in a sharing way, and the problem of complicated operation modes of the sharing method based on the source file is solved greatly.
However, when the application sharing is performed, if any one of the sharing end and the receiving end executes the operation of cleaning the application by mistake, the shared application is cleaned, and the application sharing is interrupted; if the application sharing is still wanted to be continued, the connection needs to be carried out again, so that the operation is complicated, and the experience of a user in use is reduced.
That is, the existing application processing scheme has a problem of insufficient intelligence.
Disclosure of Invention
The invention aims to provide an application processing method and electronic equipment, which are used for solving the problem that an application processing scheme in the prior art is not intelligent enough.
In order to solve the technical problems, 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:
Under the condition that a sharing connection for a target application is established between the first electronic device and the second electronic device and a first input for indicating to clear the application is received, responding to the first input and sending a first request to the second electronic device;
Stopping running the target application at the first electronic device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application, or second information fed back by the second electronic device for the first request is not received; or alternatively
And continuing to run the target application at the first electronic device under the condition 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 forbidden to stop running.
In a second aspect, an embodiment of the present invention further provides an application processing method, which is applied to a second electronic device, including:
Receiving a first request sent by the 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 for a target application is established between the 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.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device, including:
The first sending module is used for establishing a sharing connection for a target application between the first electronic device and the second electronic device, and responding to the first input to send a first request to the second electronic device when receiving the first input for indicating to clear the application;
The first processing module is used for stopping running the target application at the first electronic equipment under the condition that first information fed back by the second electronic equipment aiming at 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 aiming at the first request is not received; or alternatively
And continuing to run the target application at the first electronic device under the condition 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 forbidden to stop running.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a second electronic device, including:
The first receiving module is used for receiving a first request sent by the first electronic device under the condition that the first input for indicating to clear the application is received under the condition that the sharing connection for the target application is established between the second electronic device and the first electronic device;
a second receiving module for receiving a second input for the first request;
And the second sending module is used for responding to the second input and 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, and the third information indicates that the target application is forbidden to stop 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 the electronic device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where in the case where the electronic device is the first electronic device, the computer program is executed by the processor to implement the steps of the application processing method on the first electronic device side; or alternatively
And 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 being 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, where the computer program when executed by a processor 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 sharing connection for 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 for indicating to clear the application under the condition that the first input is received; stopping running the target application at the first electronic device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application, or second information fed back by the second electronic device for the first request is not received; or if 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 forbidden to stop running, continuing to run the target application on the first electronic device; any one of the sharing end and the receiving end can send a request to the other party when the shared application is to be cleared, and whether the clearing operation is executed or not is controlled according to a returned request result, so that unexpected termination of application sharing caused by incorrect clearing operation is avoided, a certain fool-proof effect is achieved, and the scheme intelligence and user experience are improved; the problem that the application processing scheme is not intelligent enough in the prior art is well solved.
Drawings
FIG. 1 is a flowchart of an application processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a second embodiment of an application processing method according to the present invention;
FIG. 3 is a schematic diagram of a sharing end for a shared application according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a receiving end for a shared application according to an embodiment of the present invention;
FIG. 5 is a first request transmission diagram according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an electronic device according to an embodiment of the invention;
fig. 7 is a schematic diagram of an electronic device according to a second embodiment of the present invention;
Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present invention;
Fig. 9 is a schematic diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides an application processing method, which is applied to a first electronic device, aiming at the problem that an application processing scheme in the prior art is not intelligent enough, as shown in fig. 1, and comprises the following steps:
Step 11: and under the condition that the sharing connection for the target application is established between the first electronic device and the second electronic device and a first input for indicating to clear the application is received, responding to the first input, and sending a first request to the second electronic device.
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 may 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, etc., which is not limited herein.
Step 12: stopping running the target application at the first electronic device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application, or second information fed back by the second electronic device for the first request is not received; or if 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 forbidden to stop running, continuing to run the target application at the first electronic device.
It may also be understood that, according to a request result fed back by the second electronic device for the first request, whether to execute a cleaning operation for the target application is determined, and a corresponding processing operation is executed.
Wherein, regarding determining whether the first information, the second information or the third information is received, it may specifically be: and monitoring whether the first information, the second information or the third information is received in a preset time period. Therefore, the first electronic equipment side can be prevented from always processing the waiting state, energy is saved, and the processing flow is advanced.
According to the application processing method provided by the embodiment of the invention, under the condition that sharing connection aiming at a target application is established between the first electronic device and the second electronic device and a first input for indicating to clear the application is received, a first request is sent to the second electronic device in response to the first input; stopping running the target application at the first electronic device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application, or second information fed back by the second electronic device for the first request is not received; or if 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 forbidden to stop running, continuing to run the target application on 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 other party (namely the second electronic device) when the shared application is to be cleared, and whether the clearing operation is executed or not is controlled according to a feedback request result, so that unexpected termination of application sharing caused by incorrect clearing operation is avoided, a certain fool-proof effect is achieved, and the scheme intelligence and user experience are improved; the problem that the application processing scheme is not intelligent enough in the prior art 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 of a running interface of the first electronic device, wherein the running interface is used for displaying the target application.
Thus, related resources can be released, and the waste of the resources is avoided.
Specifically, the continuing to run the target application at the first electronic device includes: maintaining the sharing connection, and continuously displaying an operation interface of the target application on a second virtual screen; the second virtual screen is a virtual screen of the running interface of the target application, which is used for displaying the target application on the first electronic device.
Therefore, normal implementation of the scheme can be ensured, and the target application can be eliminated by avoiding independent operation of the first electronic equipment side, so that unnecessary trouble caused by eliminating the target application under the condition of misoperation of the first electronic equipment side is avoided.
In this case, after receiving the third information, it 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 the following steps: and closing the second virtual screen and the target application under the condition that the sharing connection is disconnected.
Thus, related resources can be released, and the waste of the resources is avoided.
Still further, the method further comprises: disconnecting the sharing connection if 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 of the running interface of the target application, which is used for displaying the target application on the second electronic device.
This enables the first electronic device side to release related resources normally in certain cases where necessary, such as: the second electronic equipment side maliciously does not finish sharing.
The embodiment of the invention also provides an application processing method applied to the second electronic device, as shown in fig. 2, comprising the following steps:
Step 21: and under the condition that the sharing connection for the target application is established between the second electronic device and the first electronic device, receiving a first request sent by the first electronic device under the condition that a first input for indicating to clear the application is received.
In the embodiment of the invention, the second electronic equipment side can pop up the corresponding request in the form of a popup frame aiming at the received first request, prompt the user of the second electronic equipment to confirm whether to agree to clear the target application, and provide 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 may also be understood that the second electronic device may be a receiving end or a sharing end.
Step 22: a second input is received for the first request.
In the embodiment of the invention, the second input may be obtained through the option button. Of course, the second input may be obtained by obtaining a preset sliding track, a click operation, or other input operation, 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., which is not limited herein.
Step 23: 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.
That is, the request result for the first request may be to allow purging, or to prohibit purging. This can facilitate the first electronic device determining whether to perform a clear operation for the target application and performing a corresponding processing operation based on the request result.
According to the application processing method provided by the embodiment of the invention, under the condition that sharing connection aiming at a target application is established between the second electronic device and the first electronic device, a first request sent by the first electronic device under the condition that a first input for indicating to clear the application is received; 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; any one of the sharing end and the receiving end (namely the first electronic equipment) can be supported to send a request to the other party (namely the second electronic equipment) when the shared application is to be cleared, and whether the clearing operation is executed or not is controlled according to a feedback request result, so that unexpected termination of the application sharing caused by the false clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of the scheme and the experience of a user are improved; the problem that the application processing scheme is not intelligent enough in the prior art is well solved.
Further, after sending the first information to the first electronic device, the method further includes: stopping running the target application at the second electronic device; or after sending the third information to the first electronic device, further comprising: 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 of the running interface of the target application, which is used for displaying the target application on the second electronic device.
In this way, 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; and continuing to normally share the target application under the condition that the user of the second electronic equipment does not agree with the target application, ensuring the normal implementation of the scheme, avoiding that the target application can be cleared by the independent operation of the first electronic equipment side, and further avoiding unnecessary trouble caused by the target application clearing under the condition of misoperation of the first electronic equipment side.
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 if it is detected that the third virtual screen is closed or that a second virtual screen on the first electronic device is closed; the second virtual screen is a virtual screen of the running interface of the target application, which is used for displaying the target application on the first electronic device.
This enables the second electronic device side to release related resources normally in certain cases where necessary, such as: the first electronic equipment side maliciously does not finish sharing.
In the 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.
Thus, 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.
Aiming at the technical problems, the embodiment of the invention provides an application processing method, which can be specifically realized as a method for avoiding application from being cleared in sharing: the application shared on any one of the sharing end and the receiving end sends a request to the other party when the application is to be cleared, and whether the clearing operation is executed is controlled according to the returned request result, so that the unexpected termination of the application sharing caused by the false clearing operation is avoided, and a certain fool-proof effect is achieved; and the experience of the user is improved.
In other words, the embodiment of the invention specifically provides a method for avoiding unexpected termination of application sharing caused by a cleaning operation in the application sharing process. The following description will take the sharing end to initiate the clearing operation (i.e. take the first electronic device as the sharing end and the second electronic device as the receiving end as the example for description); the method specifically comprises the following operations:
Operation 1: the sharing end and the receiving end search for the other side equipment and connect, and the sharing end and the receiving end can connect and transmit data in a Bluetooth mode, a wifi mode, a near field communication mode or a network server mode.
Operation 2: after the connection of the two ends is successful, the sharing end selects a certain application A, the application A is shared to the receiving end, and the receiving end confirms to receive the shared application A. The sharing end and the receiving end will display the application a in respective virtual screens (for example, the sharing end corresponds to the first virtual screen, and the receiving end corresponds to the third virtual screen), as shown in fig. 3 and fig. 4.
Operation 3: if the sharing end initiates the application clearing operation (i.e. 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 to the receiving end (i.e. send the first request) 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 simultaneously, the sharing end starts timing and waits for receiving the feedback request result.
Operation 4: after the receiving end receives the request (i.e. the first request), the receiving end may prompt in the third virtual screen whether the user of the receiving end agrees to end the sharing, as shown in fig. 5 (the receiving end receives the request to perform the box prompt). The user at the receiving end can choose whether to agree to end the sharing. If the user at the receiving end selects to end the approval, the receiving end is triggered to send a request result (i.e. the first information) to the sharing end, so as to inform the sharing end of the approval to end the sharing. If the user at the receiving end selects to disagree to finish, the receiving end is triggered to send a request result (namely the third information) to the sharing end, so as to inform the sharing end that the sharing is not finished at this time, and meanwhile, the third virtual screen at the receiving end is not cleared.
Operation 5: if the sharing end receives the request result sent by the receiving end within the preset time period (i.e. within the preset time period) and the request result (i.e. the first information) indicates that the sharing is agreed to be finished (i.e. the target application is allowed to stop running), the first virtual screen is cleared (can be understood as being closed) at the sharing end and the sharing is finished; if the sharing end receives the request result (i.e., the third information) sent by the receiving end within the preset time period (i.e., the preset time period) of the timing, but the request result indicates that the sharing is not finished at all (i.e., the target application is prohibited from stopping running), the sharing end locks the second virtual screen (which may be specifically the same virtual screen as the first virtual screen) and continues to display, and jumps to operation 6. In addition, if the sharing end does not receive the request result (i.e., the second information) returned by the receiving end within the preset time period (i.e., the preset time period), the sharing end may remove the first virtual screen and end the sharing.
Operation 6: the sharing end and the receiving end respectively detect whether the respective virtual screen is closed, and if any one end closes the corresponding virtual screen, the sharing is ended.
Specifically, the sharing end detects whether the first virtual screen and/or the second virtual screen are 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, the implementation of the scheme for the receiving end to initiate the clearing operation (i.e., the case where the first electronic device is the receiving end and the second electronic device is the sharing end) is similar to that described above, and will not be repeated here.
As can be seen from the above, the scheme provided by the embodiment of the invention avoids the interruption of application sharing caused by the removal of the application by the sharing end and the receiving end when the application is shared; the scheme has a certain foolproof effect, avoids reconnection, and improves the experience of the user.
The embodiment of the invention also provides an electronic device, which is a first electronic device, as shown in fig. 6, including:
a first sending module 61, configured to, when a sharing connection for a target application is established between the first electronic device and a second electronic device and a first input for indicating to clear the application is received, respond to the first input and send a first request to the second electronic device;
A first processing module 62, configured to, 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, stop running the target application at the first electronic device; or alternatively
And continuing to run the target application at the first electronic device under the condition 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 forbidden to stop running.
The electronic equipment provided by the embodiment of the invention establishes sharing connection for a target application between the first electronic equipment and the second electronic equipment, and responds to the first input under the condition that the first input for indicating to clear the application is received, and sends a first request to the second electronic equipment; stopping running the target application at the first electronic device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application, or second information fed back by the second electronic device for the first request is not received; or if 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 forbidden to stop running, continuing to run the target application on 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 other party (namely the second electronic device) when the shared application is to be cleared, and whether the clearing operation is executed or not is controlled according to a feedback request result, so that unexpected termination of application sharing caused by incorrect clearing operation is avoided, a certain fool-proof effect is achieved, and the scheme intelligence and user experience are improved; the problem that the application processing scheme is not intelligent enough in the prior art is well solved.
Further, the electronic device further includes: the second processing module is used for closing a 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 of a running interface of the first electronic device, wherein the running interface is used for displaying the target application.
Specifically, the continuing to run the target application at the first electronic device includes: maintaining the sharing connection, and continuously displaying an operation interface of the target application on a second virtual screen; the second virtual screen is a virtual screen of the running interface of the target application, which is used for displaying 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.
Still further, 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 closed or a third virtual screen on the second electronic device is closed; the third virtual screen is a virtual screen of the running interface of the target application, which is used for displaying 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 embodiment of fig. 1 to 5, and in order to avoid repetition, a description is omitted here.
The embodiment of the invention also provides an electronic device, which is a second electronic device, as shown in fig. 7, including:
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 the first electronic device, receive a first request sent by the first electronic device in a case where a first input for instructing to clear the application is received;
A second receiving module 72 for receiving 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 the first electronic device under the condition that the first input for indicating to clear the application is received under the condition that the sharing connection for the target application is established between the 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; any one of the sharing end and the receiving end (namely the first electronic equipment) can be supported to send a request to the other party (namely the second electronic equipment) when the shared application is to be cleared, and whether the clearing operation is executed or not is controlled according to a feedback request result, so that unexpected termination of the application sharing caused by the false clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of the scheme and the experience of a user are improved; the problem that the application processing scheme is not intelligent enough in the prior art is well solved.
Further, the electronic device further includes: a fifth processing module, configured to stop running the target application at a second electronic device after sending the first information to the first electronic device; or after sending third information to the first electronic device, maintaining the sharing connection, and continuing to display an operation interface of the target application on a third virtual screen; the third virtual screen is a virtual screen of the running interface of the target application, which is used for displaying the target application on the second electronic device.
Still further, the electronic device further includes: a sixth processing module, configured to disconnect the sharing connection when it is detected that the third virtual screen is closed or that the second virtual screen on the first electronic device is closed after the sharing connection is maintained and the running interface of the target application is continuously displayed on the third virtual screen; the second virtual screen is a virtual screen of the running interface of the target application, which is used for displaying 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 embodiment of fig. 1 to 5, and in order to avoid repetition, a description is omitted here.
Fig. 8 is a schematic hardware structure of an electronic device 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. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 8 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, 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, when a sharing connection for a target application is established between the first electronic device and a second electronic device and a first input for indicating to clear the application is received, respond to the first input and send a first request to the second electronic device; stopping running the target application at the first electronic device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application, or second information fed back by the second electronic device for the first request is not received; or if 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 forbidden to stop running, continuing to run the target application at the first electronic device.
In the embodiment of the invention, a sharing connection for 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 for indicating to clear the application under the condition that the first input is received; stopping running the target application at the first electronic device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application, or second information fed back by the second electronic device for the first request is not received; or if 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 forbidden to stop running, continuing to run the target application on the first electronic device; any one of the sharing end and the receiving end can send a request to the other party when the shared application is to be cleared, and whether the clearing operation is executed or not is controlled according to a returned request result, so that unexpected termination of application sharing caused by incorrect clearing operation is avoided, a certain fool-proof effect is achieved, and the scheme intelligence and user experience are improved; the problem that the application processing scheme is not intelligent enough in the prior art is well solved.
Optionally, the processor 810 is further configured to close a first virtual screen and disconnect the sharing connection after the first electronic device stops running the target application; the first virtual screen is a virtual screen of a running interface of the first electronic device, wherein the running interface is used for displaying the target application.
Optionally, the processor 810 is specifically configured to maintain the sharing connection, and continue displaying the running interface of the target application on the second virtual screen; the second virtual screen is a virtual screen of the running interface of the target application, which is used for displaying 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 in a case where the sharing connection is disconnected.
Optionally, the processor 810 is further configured to disconnect the sharing connection if 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 of the running interface of the target application, which is used for displaying 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 transmitting signals during the process of receiving and transmitting information or communication, specifically, receiving downlink data from a base station, and then processing the received downlink data by the processor 810; and, the uplink data is transmitted to the base station. Typically, 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 may also communicate with networks 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 helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
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 (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 80. The audio output unit 83 includes a speaker, a buzzer, a receiver, and the like.
The input unit 84 is for receiving an audio or video signal. The input unit 84 may include a graphics processor (Graphics Processing Unit, GPU) 841 and a microphone 842, and the graphics processor 841 processes image data of still pictures or video 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 be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 81 in the case of a telephone call mode.
The electronic device 80 also includes at least one sensor 85, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 861 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 861 and/or the backlight when the electronic device 80 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 85 may further 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 herein.
The display unit 86 is used to display information input by a 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 (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 to 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. Touch panel 871, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 871 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 871 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts it into touch point coordinates, sends the touch point coordinates to the processor 810, and receives and executes commands sent from the processor 810. In addition, the touch panel 871 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 87 may include other input devices 872 in addition to the touch panel 871. In particular, other input devices 872 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 871 may be overlaid on the display panel 861, and when the touch panel 871 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 810 to determine the type of touch event, and then the processor 810 provides a corresponding visual output on the display panel 861 according to the type of touch event. Although in fig. 8, the touch panel 871 and the display panel 861 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 871 may be integrated with the display panel 861 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 devices may include a wired or wireless headset port, an external power (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 an 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 that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 89 may include high-speed random access memory, but 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, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 89, and invoking data stored in the memory 89, thereby performing overall monitoring of the electronic device. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 810.
The electronic device 80 may also include a power supply 811 (e.g., a battery) for powering the various components, and the power supply 811 may preferably be logically coupled to the processor 810 through a power management system that provides for managing charge, discharge, and power consumption.
In addition, the electronic device 80 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device, and the electronic device includes a processor 810, a memory 89, and a computer program stored in the memory 89 and capable of running on the processor 810, where the computer program when executed by the processor 810 implements each process of the application processing method embodiment on the first electronic device side, and the process can achieve the same technical effect, so that repetition is avoided and no further description is given here.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the application processing method embodiment of the first electronic device side, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here. The computer readable storage medium is, for example, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk or an optical disk.
Fig. 9 is a schematic 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: a radio frequency unit 91, a network module 92, an audio output unit 93, an input unit 94, a sensor 95, a display unit 96, a user input unit 97, an interface unit 98, a memory 99, a processor 910, and a power supply 911. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, 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.
Wherein, the processor 910 is configured to, in a case where a sharing connection for a target application is established between the second electronic device and the first electronic device, receive a first request sent by the first electronic device in a case where a first input for indicating to clear the application is received; 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.
In the embodiment of the invention, under the condition that the sharing connection for the target application is established between the second electronic equipment and the first electronic equipment, a first request sent by the first electronic equipment under the condition that a first input for indicating to clear the application is received; 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; any one of the sharing end and the receiving end (namely the first electronic equipment) can be supported to send a request to the other party (namely the second electronic equipment) when the shared application is to be cleared, and whether the clearing operation is executed or not is controlled according to a feedback request result, so that unexpected termination of the application sharing caused by the false clearing operation is avoided, a certain fool-proof effect is achieved, and the intelligence of the scheme and the experience of a user are improved; the problem that the application processing scheme is not intelligent enough in the prior art 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 sending the third information to the first electronic device, further comprising: 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 of the running interface of the target application, which is used for displaying the target application on the second electronic device.
Optionally, the processor 910 is further configured to disconnect the sharing connection after maintaining the sharing connection and continuing to display the running interface of the target application on a third virtual screen, where the third virtual screen is detected to be closed or a second virtual screen on the first electronic device is detected to be closed; the second virtual screen is a virtual screen of the running interface of the target application, which is used for displaying 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 transmitting signals during the process of receiving and transmitting information or communication, specifically, receiving downlink data from the base station and then processing the received downlink data by the processor 910; and, 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. In addition, the radio frequency unit 91 may also communicate with networks 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 helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
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 (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 90. 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 processor (Graphics Processing Unit, GPU) 941 and a microphone 942, the graphics processor 941 processing image data of still pictures or video obtained by an image capturing device (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 96. The image frames processed by the graphics processor 941 may be stored in memory 99 (or other storage medium) or transmitted via the radio frequency unit 91 or the network module 92. 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 that can be transmitted to the mobile communication base station via the radio frequency unit 91 in the case of a telephone call mode.
The electronic device 90 also includes at least one sensor 95, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 961 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 961 and/or the backlight when the electronic device 90 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 95 may further 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 herein.
The display unit 96 is used to display information input by a 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 (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 to 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. The touch panel 971, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 971 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 971 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 910, and receives and executes commands sent by the processor 910. In addition, the touch panel 971 may be implemented in various types of resistive, capacitive, infrared, surface acoustic wave, and the like. 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 thereon or thereabout, the touch operation is transmitted to the processor 910 to determine a type of touch event, and the processor 910 then provides a corresponding visual output on the display panel 961 according to the type of touch event. Although in fig. 9, the touch panel 971 and the display panel 961 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 971 may be integrated with the display panel 961 to implement the input and output functions of the electronic device, which 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 devices may include a wired or wireless headset port, an external power (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 apparatus 90 or may be used to transmit data between the electronic apparatus 90 and an 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 that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, 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 entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 99, and invoking 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 that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 910.
The electronic device 90 may also include a power supply 911 (e.g., a battery) for powering the various components, and the power supply 911 may preferably be logically connected to the processor 910 by a power management system, such as to perform charge, discharge, and power consumption management functions.
In addition, the electronic device 90 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the 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, where the computer program when executed by the processor 910 implements each process of the application processing method embodiment on the second electronic device side, and the process can achieve the same technical effect, so that repetition is avoided and no further description is given here.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the application processing method embodiment of the second electronic device side, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here. The computer readable storage medium is, for example, a Read-Only Memory (ROM), a random access Memory (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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising several instructions for causing an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (8)

1. An application processing method applied to a first electronic device, comprising:
When a sharing connection for a target application is established between the first electronic device and the second electronic device and the first electronic device receives a first input for indicating to clear the application, responding to the first input and sending a first request to the second electronic device;
Monitoring whether first information, second information or third information fed back by the second electronic equipment aiming at the first request is received in a preset time period;
Stopping running the target application at the first electronic device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application, or second information fed back by the second electronic device for the first request is not received; or alternatively
If 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 forbidden to stop running, continuing to run the target application on the first electronic device; prompting a user to inhibit the removal of the target application according to the third information;
wherein after the first electronic device stops running the target application, the method further comprises:
Closing the first virtual screen and disconnecting the sharing connection;
the first virtual screen is a virtual screen of an operation interface used for displaying the target application on the first electronic equipment;
and continuing to run the target application at the first electronic device, including:
maintaining the sharing connection, and continuously displaying an operation interface of the target application on a first virtual screen;
The method further comprises the following steps:
Disconnecting the sharing connection if it is detected that the first virtual screen is closed or a third virtual screen on the second electronic device is closed;
the third virtual screen is a virtual screen of the running interface of the target application, which is used for displaying the target application on the second electronic device.
2. The method as recited in claim 1, further comprising:
and closing the first virtual screen and the target application under the condition that the sharing connection is disconnected.
3. An application processing method applied to a second electronic device, comprising:
Under the condition that a sharing connection for a target application is established between the second electronic device and the first electronic device, the second electronic device receives a first request sent by the first electronic device under the condition that a first input for indicating to clear the application is received; ejecting a corresponding request in the form of a popup frame aiming at the first request, wherein the request is used for prompting a user of the second electronic equipment to confirm whether to agree to clear the target application; and displaying the corresponding option buttons;
receiving, by the option button, a second input for the first request;
in a preset time period, 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, and the third information indicates that the target application is forbidden to stop running;
After sending the first information to the first electronic device, further comprising:
Stopping running the target application at the second electronic device; or alternatively
After sending the third information to the first electronic device, further comprising:
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 of the running interface of the target application, which is used for displaying the target application, on the second electronic device;
After maintaining the sharing connection and continuing to display the running interface of the target application on the third virtual screen, the method further comprises:
Disconnecting the sharing connection if it is detected that the third virtual screen is closed or that the first virtual screen on the first electronic device is closed;
The first virtual screen is a virtual screen of a running interface of the first electronic device, wherein the running interface is used for displaying the target application.
4. An electronic device, the electronic device being a first electronic device, comprising:
the first sending module is used for establishing a sharing connection for a target application between the first electronic device and the second electronic device, and responding to the first input to send a first request to the second electronic device when the first electronic device receives the first input for indicating to clear the application;
The first processing module is used for monitoring whether first information, second information or third information fed back by the second electronic equipment aiming at the first request is received in a preset time period;
Stopping running the target application at the first electronic device under the condition that first information fed back by the second electronic device for the first request is received and the first information indicates permission of stopping running the target application, or second information fed back by the second electronic device for the first request is not received; or alternatively
If 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 forbidden to stop running, continuing to run the target application on the first electronic device; prompting a user to inhibit the removal of the target application according to the third information;
the electronic device further comprises:
The second processing module is used for closing a 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 of an operation interface used for displaying the target application on the first electronic equipment;
and continuing to run the target application at the first electronic device, including:
maintaining the sharing connection, and continuously displaying an operation interface of the target application on a first virtual screen;
the electronic device further comprises:
the fourth processing module is used for disconnecting the sharing connection under the condition that the first virtual screen is closed or a third virtual screen on the second electronic device is closed;
the third virtual screen is a virtual screen of the running interface of the target application, which is used for displaying the target application on the second electronic device.
5. The electronic device of claim 4, further comprising:
And the third processing module is used for closing the first virtual screen and the target application under the condition that the sharing connection is disconnected.
6. An electronic device, the electronic device being a second electronic device, comprising:
A first receiving module, 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 receiving a first input for indicating to clear the application; ejecting a corresponding request in the form of a popup frame aiming at the first request, wherein the request is used for prompting a user of the second electronic equipment to confirm whether to agree to clear the target application; and displaying the corresponding option buttons;
A second receiving module for receiving a second input for the first request through the option button;
The second sending module is used for responding to the second input and sending first information to the first electronic equipment in a preset time period, wherein the first information indicates that the target application is allowed to stop running, or sending third information to the first electronic equipment, and the third information indicates that the target application is forbidden to stop running;
the electronic device further comprises:
a fifth processing module, configured to stop running the target application at a second electronic device after sending the first information to the first electronic device; or alternatively
After third information is sent to the first electronic equipment, maintaining the sharing connection, and continuing to display an operation interface of the target application on a third virtual screen;
The third virtual screen is a virtual screen of the running interface of the target application, which is used for displaying the target application, on the second electronic device;
the electronic device further comprises:
A sixth processing module, configured to disconnect the sharing connection when it is detected that the third virtual screen is closed or that the first virtual screen on the first electronic device is closed after the sharing connection is maintained and the running interface of the target application is continuously displayed on the third virtual screen;
The first virtual screen is a virtual screen of a running interface of the first electronic device, wherein the running interface is used for displaying the target application.
7. An electronic device being a first electronic device or a second electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program implementing the steps of the application processing method according to any one of claims 1 to 2 when being executed by the processor in case of the electronic device being a first electronic device; or alternatively
In the case of the electronic device being a second electronic device, the computer program realizes the steps of the application processing method according to claim 3 when being executed by the processor.
8. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the application processing method according to any one of claims 1 to 3.
CN201911340971.XA 2019-12-23 2019-12-23 Application processing method and electronic equipment Active CN111158929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911340971.XA CN111158929B (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 CN111158929B (en) 2019-12-23 2019-12-23 Application processing method and electronic equipment

Publications (2)

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

Family

ID=70558076

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN111158929B (en)

Families Citing this family (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 (3)

* 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
CN110536015A (en) * 2019-08-30 2019-12-03 维沃移动通信有限公司 A kind of application sharing method and terminal device

Patent Citations (3)

* 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
CN110536015A (en) * 2019-08-30 2019-12-03 维沃移动通信有限公司 A kind of application sharing method and terminal device

Also Published As

Publication number Publication date
CN111158929A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
WO2019196707A1 (en) Mobile terminal control method and mobile terminal
CN110972334B (en) Bluetooth pairing connection method, device and readable storage medium
CN111007995B (en) Data processing method and electronic equipment
CN108880631B (en) Information receiving and transmitting switching method and terminal
CN109639863B (en) Voice processing method and device
CN111124339A (en) Interface sharing method and electronic equipment
CN108282759B (en) Service processing method and mobile communication terminal
CN110471559B (en) False touch prevention method and mobile terminal
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
CN109684825B (en) Authority management method and terminal equipment
CN117440454A (en) Switching method and terminal
WO2022083620A1 (en) Signal transmission method and apparatus, and terminal device, smart device, and electronic device
CN111061404A (en) Control method and first electronic device
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN109788114B (en) Call processing method and terminal
CN109639738B (en) Voice data transmission method and terminal equipment
CN111093289A (en) Service transmission method and electronic equipment
CN109005297B (en) Display method of navigation application and mobile terminal
CN111526248B (en) Audio output mode switching method and electronic equipment
CN111343591B (en) Session information processing method and electronic equipment
CN111209072B (en) Application sharing method, first electronic device and readable storage medium
CN111158929B (en) Application processing method and electronic equipment
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
CN109614827B (en) Control method of mobile terminal and mobile terminal
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
GR01 Patent grant
GR01 Patent grant