CN110851226A - Control method and electronic equipment - Google Patents

Control method and electronic equipment Download PDF

Info

Publication number
CN110851226A
CN110851226A CN201911107821.4A CN201911107821A CN110851226A CN 110851226 A CN110851226 A CN 110851226A CN 201911107821 A CN201911107821 A CN 201911107821A CN 110851226 A CN110851226 A CN 110851226A
Authority
CN
China
Prior art keywords
target application
electronic device
display data
operation instruction
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911107821.4A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201911107821.4A priority Critical patent/CN110851226A/en
Publication of CN110851226A publication Critical patent/CN110851226A/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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The disclosure discloses a control method and an electronic device, wherein the method comprises the following steps: acquiring an operation instruction generated by operating a target application, wherein the target application is at least one application installed in the first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment; determining that the operating instruction meets a condition; determining a target position based on the operation instruction; acquiring interface display data of a target application; and transmitting the interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment performs virtual display on the interface display data of the target application at the target position. The method and the device have the advantages that the interface display data of the target application in the first electronic equipment are virtually displayed at the target position through the second electronic equipment, so that the information that a user receives the information output by the electronic equipment at the same time is increased, and the user experience is improved.

Description

Control method and electronic equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a control method and an electronic device.
Background
With the continuous development of electronic technology, various electronic devices are also in operation. Most current electronic devices are limited by the physical screen size and the information that can be displayed to the user at the same time is limited.
Therefore, how to increase the amount of information that the user receives the output of the electronic device at the same time to improve the user experience is an urgent problem to be solved.
Disclosure of Invention
In view of this, the present disclosure provides the following technical solutions:
a control method is applied to a first electronic device, and comprises the following steps:
acquiring an operation instruction generated by operating a target application, wherein the target application is at least one application installed in the first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment;
determining that the operating instruction satisfies a condition;
determining a target position based on the operation instruction;
acquiring interface display data of the target application;
and transmitting the interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment performs virtual display on the interface display data of the target application at the target position.
Preferably, the obtaining of the operation instruction generated by the operation target application includes:
obtaining an operation instruction generated by dragging the target application, wherein the operation instruction represents a dragging track of the target application;
correspondingly, the determining that the operation instruction satisfies the condition includes:
determining a dragging end point position of the target application based on the dragging track of the target application;
judging whether the dragging end point position is in a preset area, if so, performing:
determining that the operation instruction meets a condition, wherein the preset area is in a display area of the second electronic device;
correspondingly, the determining the target position based on the operation instruction comprises:
and determining the drag end position as the target position.
Preferably, the obtaining of the operation instruction generated by the operation target application includes:
obtaining an operation instruction generated by clicking the target application, wherein the operation instruction represents the number of clicks on the target application;
correspondingly, the determining that the operation instruction satisfies the condition includes:
judging whether the click times meet preset times, if so, then:
determining that the operating instruction satisfies a condition;
correspondingly, the determining the target position based on the operation instruction comprises:
determining the target location based on the number of clicks.
Preferably, the method further comprises:
storing interface display data of the target application;
and when the first electronic device and the second electronic device establish communication connection again, transmitting the stored interface display data of the target application to the second electronic device, so that the second electronic device performs virtual display on the interface display data of the target application again.
Preferably, the acquiring interface display data of the target application includes:
and capturing the screen of the target application through a screen capture interface provided by the bottom layer of the first electronic equipment to obtain interface display data of the target application.
A control method is applied to a second electronic device, and comprises the following steps:
receiving interface display data of a target application transmitted by a first electronic device in communication connection with the second electronic device, wherein the target application is at least one application installed in the first electronic device, the target application is in an activated state and is displayed in a display device of the first electronic device, the interface display data of the target application is interface display data of the target application acquired when an operation instruction is determined to meet a condition, and the operation instruction is an operation instruction generated by operating the target application;
and virtually displaying the received interface display data of the target application at a target position, wherein the target position is determined based on the operation instruction.
Preferably, the virtually displaying, at the target location, the received interface display data of the target application includes:
creating a virtual display interface at the target position;
rendering interface display data of the target application to the virtual display interface;
and virtually displaying the interface display data of the target application through the virtual display interface.
Preferably, the method further comprises:
when the first electronic device and the second electronic device establish communication connection again, receiving the stored interface display data of the target application transmitted by the first electronic device;
and virtually displaying the received stored interface display data of the target application again.
An electronic device, comprising:
the first acquisition module is used for acquiring an operation instruction generated by operating a target application, wherein the target application is at least one application installed in the first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment;
the first determination module is used for determining that the operation instruction meets the condition;
the second determination module is used for determining a target position based on the operation instruction;
the second acquisition module is used for acquiring interface display data of the target application;
the communication module is used for transmitting the interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment can perform virtual display on the interface display data of the target application at the target position.
An electronic device, comprising:
the communication module is used for receiving interface display data of a target application transmitted by first electronic equipment in communication connection with the second electronic equipment, wherein the target application is at least one application installed in the first electronic equipment, the target application is in an activated state and is displayed in a display device of the first electronic equipment, the interface display data of the target application is interface display data of the target application acquired when an operation instruction is determined to meet a condition, and the operation instruction is an operation instruction generated by operating the target application;
and the virtual display module is used for virtually displaying the received interface display data of the target application at a target position, wherein the target position is determined based on the operation instruction. As can be seen from the foregoing technical solutions, a control method disclosed in the present disclosure is applied to a first electronic device, and first obtains an operation instruction generated by operating a target application, where the target application is at least one application installed in the first electronic device, and the target application is in an activated state and is displayed on a display device of the first electronic device, then determines that the operation instruction satisfies a condition, determines a target position based on the operation instruction, obtains interface display data of the target application, and transmits the interface display data of the target application to a second electronic device in communication connection with the first electronic device, so that the second electronic device performs virtual display on the interface display data of the target application at the target position. According to the method and the device, the interface display data of the target application in the first electronic equipment are virtually displayed at the target position through the second electronic equipment, the information that the user receives the output of the electronic equipment at the same time is increased, and the user experience is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a method flow diagram of an embodiment 1 of a control method of the present disclosure;
FIG. 2 is a method flow diagram of embodiment 2 of a control method of the present disclosure;
FIG. 3 is a method flow diagram of embodiment 3 of a control method of the present disclosure;
FIG. 4 is a method flow diagram of embodiment 4 of a control method of the present disclosure;
FIG. 5 is a method flow diagram of embodiment 5 of a control method of the present disclosure;
FIG. 6 is a method flow diagram of one control method embodiment 6 of the present disclosure;
FIG. 7 is a method flow diagram of embodiment 7 of a control method of the present disclosure;
FIG. 8 is a method flow diagram of one control method embodiment 8 of the present disclosure;
fig. 9 is a schematic structural diagram of a first electronic device embodiment 1 according to the present disclosure;
fig. 10 is a schematic structural diagram of a second electronic device embodiment 2 disclosed in the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure. The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
As shown in fig. 1, which is a flowchart of a method of embodiment 1 of a control method disclosed in the present disclosure, the method may be applied to a first electronic device, where the first electronic device may include: desktop computers, notebook computers, IPAD and other electronic equipment; the method may comprise the steps of:
s101, obtaining an operation instruction generated by operating a target application, wherein the target application is at least one application installed in first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment;
at least one target application is installed in the first electronic equipment, wherein the target application is capable of passing
The second electronic device performs an application of virtual display, such as a gadget application (clock application, weather application, calculator application, etc.) installed in the first electronic device, and the current target application is in an active state in the first electronic device and displayed in the display apparatus of the first electronic device. The second electronic device is an electronic device capable of implementing virtual display, such as: AR devices, etc.
When the target application needs to be virtually displayed through the second electronic device, the user can operate the target application needing to be virtually displayed, and when the user operates the target application, a corresponding operation instruction generated by operating the target application is obtained.
S102, determining that the operation instruction meets the condition;
after the operation instruction generated by the operation target application is acquired, the acquired operation instruction is further judged, and whether the operation instruction meets the condition or not is determined. The condition is a condition which enables the target application to be virtually displayed through the second electronic device.
S103, determining a target position based on the operation instruction;
after the obtained operation instruction is determined to meet the condition, the target position is further determined according to the obtained operation instruction; and the target position is a display position for the target application to perform virtual display.
S104, acquiring interface display data of the target application;
and then, acquiring interface display data of the target application. For example, the clock applies the display data of the current display interface.
And S105, transmitting the interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment can perform virtual display on the interface display data of the target application at the target position.
The first electronic equipment is in communication connection with the second electronic equipment, wherein the first electronic equipment and the second electronic equipment can be in communication connection directly through a data line; the first electronic device and the second electronic device can also be connected through Wi-Fi communication; the first electronic device and the second electronic device may also be connected via bluetooth communication.
After the interface display data of the target application is acquired, the interface display data of the target application can be transmitted to the second electronic device through the communication mode. And after receiving the interface display data of the target application, the second electronic equipment performs virtual display on the interface display data of the target application, wherein the virtual display position is the target position determined through the operation instruction. The method comprises the steps that a user can obtain information through a display device of first electronic equipment and can also obtain interface display data of a target application through a virtual display interface displayed by second electronic equipment; for example, the user may view a video played by the multimedia application through the display device of the first electronic device, and may also view weather, a clock, and the like through the virtual display interface.
In summary, in the above embodiment, first, an operation instruction generated by an operation target application is obtained, where the target application is at least one application installed in the first electronic device, and the target application is in an activated state and is displayed in a display apparatus of the first electronic device, then it is determined that the operation instruction satisfies a condition, a target position is determined based on the operation instruction, interface display data of the target application is obtained, and the interface display data of the target application is transmitted to a second electronic device in communication connection with the first electronic device, so that the second electronic device performs virtual display on the interface display data of the target application at the target position. The method and the device have the advantages that the interface display data of the target application in the first electronic equipment are virtually displayed at the target position through the second electronic equipment, so that the information that a user receives the information output by the electronic equipment at the same time is increased, and the user experience is improved.
As shown in fig. 2, which is a flowchart of a method of embodiment 2 of the control method disclosed in the present disclosure, the method may be applied to a first electronic device, where the first electronic device may include: desktop computers, notebook computers, IPAD and other electronic equipment; the method may comprise the steps of:
s201, obtaining an operation instruction generated by dragging a target application, wherein the operation instruction represents a dragging track of the target application, the target application is at least one application installed in first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment;
at least one target application is installed in the first electronic device, wherein the target application is an application capable of being virtually displayed by the second electronic device, such as a gadget application (clock application, weather application, calculator application, etc.) installed in the first electronic device, and the current target application is in an active state in the first electronic device and is displayed in a display device of the first electronic device. The second electronic device is an electronic device capable of implementing virtual display, such as: AR devices, etc.
When the target application needs to be virtually displayed through the second electronic device, the user may operate the target application that needs to be virtually displayed, for example, the user may drag the target application. The user can drag the target application through the mouse, and when the display device of the first electronic device is the touch screen, the user can also drag the target application through fingers. When a user drags a target application, a corresponding operation instruction generated by the dragged target application is obtained. And the generated operation instruction can represent a dragging track of the target application.
S202, determining a dragging end point position of the target application based on a dragging track of the target application;
after an operation instruction generated by dragging the target application is obtained, the dragging end point position of the target application is further determined according to the dragging track of the target application represented by the operation instruction. For example, during the dragging, the position where the mouse was last released may be determined as the dragging end position.
S203, judging whether the dragging end point position is in a preset area, if so, entering S204:
then, whether the drag end point position of the target application is in a display area capable of virtual display of the second electronic device is further judged.
S204, determining that the operation instruction meets the condition, wherein the preset area is in the display area of the second electronic equipment;
and when the dragging end point position of the target application is in a display area capable of performing virtual display on the second electronic equipment, determining that an operation instruction generated by dragging the target application meets a condition. The condition is a condition which enables the target application to be virtually displayed through the second electronic device.
S205, determining a dragging end point position as a target position;
and after the obtained operation instruction is determined to meet the condition, namely the dragging end point position is in the preset area, further determining the dragging end point position as the target position. And the target position is a display position for the target application to perform virtual display.
S206, acquiring interface display data of the target application;
and then, acquiring interface display data of the target application. For example, the clock applies the display data of the current display interface.
And S207, transmitting the interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment can perform virtual display on the interface display data of the target application at the target position.
The first electronic equipment is in communication connection with the second electronic equipment, wherein the first electronic equipment and the second electronic equipment can be in communication connection directly through a data line; the first electronic device and the second electronic device can also be connected through Wi-Fi communication; the first electronic device and the second electronic device may also be connected via bluetooth communication.
After the interface display data of the target application is acquired, the interface display data of the target application can be transmitted to the second electronic device through the communication mode. And after receiving the interface display data of the target application, the second electronic equipment performs virtual display on the interface display data of the target application, wherein the virtual display position is the target position determined through the operation instruction. The method comprises the steps that a user can obtain information through a display device of first electronic equipment and can also obtain interface display data of a target application through a virtual display interface displayed by second electronic equipment; for example, the user may view a video played by the multimedia application through the display device of the first electronic device, and may also view weather, a clock, and the like through the virtual display interface.
To sum up, the embodiment can determine the dragging end point position as the target position by dragging the target application when the dragging end point position is in the preset area, so as to achieve virtual display of the interface display data of the target application at the target position, increase the information that the user receives the electronic device output at the same time, and further improve the user experience.
As shown in fig. 3, which is a flowchart of a method of embodiment 3 of the control method of the present disclosure, the method may be applied to a first electronic device, where the first electronic device may include: desktop computers, notebook computers, IPAD and other electronic equipment; the method may comprise the steps of:
s301, obtaining an operation instruction generated by clicking a target application, wherein the operation instruction represents the number of clicks on the target application, the target application is at least one application installed in first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment;
at least one target application is installed in the first electronic device, wherein the target application is an application capable of being virtually displayed by the second electronic device, such as a gadget application (clock application, weather application, calculator application, etc.) installed in the first electronic device, and the current target application is in an active state in the first electronic device and is displayed in a display device of the first electronic device. The second electronic device is an electronic device capable of implementing virtual display, such as: AR devices, etc.
When the target application needs to be virtually displayed through the second electronic device, the user may operate the target application that needs to be virtually displayed, for example, the user may click the target application. The user can click the target application through the mouse, and when the display device of the first electronic device is a touch screen, the user can click the target application through fingers. When a user clicks a target application, a corresponding operation instruction generated by clicking the target application is obtained. And the generated operation instruction can represent the number of clicks of the target application.
S302, judging whether the click times meet preset times, if so, entering S303:
after the operation instruction generated by clicking the target application is obtained, whether the clicking times meet the preset times is further judged according to the clicking times of the target application represented by the operation instruction. The preset times can be flexibly set according to actual requirements, for example, the preset times can be set to 2 times, 3 times and the like.
S303, determining that the operation instruction meets the condition;
and when the number of times of clicking on the target application meets the preset number of times, determining that an operation instruction generated by clicking the target application meets the condition. The condition is a condition which enables the target application to be virtually displayed through the second electronic device.
S304, determining a target position based on the click times;
then, the target position is further determined according to the number of clicks. For example, when the number of clicks is 2, the target position is determined as a position around the display device of the first electronic device. And the target position is a display position for the target application to perform virtual display.
S305, acquiring interface display data of the target application;
and then, acquiring interface display data of the target application. For example, the clock applies the display data of the current display interface.
S306, transmitting the interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment can perform virtual display on the interface display data of the target application at the target position.
The first electronic equipment is in communication connection with the second electronic equipment, wherein the first electronic equipment and the second electronic equipment can be in communication connection directly through a data line; the first electronic device and the second electronic device can also be connected through Wi-Fi communication; the first electronic device and the second electronic device may also be connected via bluetooth communication.
After the interface display data of the target application is acquired, the interface display data of the target application can be transmitted to the second electronic device through the communication mode. And after receiving the interface display data of the target application, the second electronic equipment performs virtual display on the interface display data of the target application, wherein the virtual display position is the target position determined through the operation instruction. The method comprises the steps that a user can obtain information through a display device of first electronic equipment and can also obtain interface display data of a target application through a virtual display interface displayed by second electronic equipment; for example, the user may view a video played by the multimedia application through the display device of the first electronic device, and may also view weather, a clock, and the like through the virtual display interface.
To sum up, the above embodiment can determine the target position according to the number of clicks when the number of clicks satisfies the preset number of times by clicking the target application, thereby implementing virtual display of the interface display data of the target application at the target position, increasing the information that the user receives the output of the electronic device at the same time, and further improving the user experience.
As shown in fig. 4, which is a flowchart of a method of embodiment 4 of the control method disclosed in the present disclosure, the method may be applied to a first electronic device, where the first electronic device may include: desktop computers, notebook computers, IPAD and other electronic equipment; the method may comprise the steps of:
s401, acquiring an operation instruction generated by operating a target application, wherein the target application is at least one application installed in first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment;
at least one target application is installed in the first electronic device, wherein the target application is an application capable of being virtually displayed by the second electronic device, such as a gadget application (clock application, weather application, calculator application, etc.) installed in the first electronic device, and the current target application is in an active state in the first electronic device and is displayed in a display device of the first electronic device. The second electronic device is an electronic device capable of implementing virtual display, such as: AR devices, etc.
When the target application needs to be virtually displayed through the second electronic device, the user can operate the target application needing to be virtually displayed, and when the user operates the target application, a corresponding operation instruction generated by operating the target application is obtained.
S402, determining that the operation instruction meets the condition;
after the operation instruction generated by the operation target application is acquired, the acquired operation instruction is further judged, and whether the operation instruction meets the condition or not is determined. The condition is a condition which enables the target application to be virtually displayed through the second electronic device.
S403, determining a target position based on the operation instruction;
after the obtained operation instruction is determined to meet the condition, the target position is further determined according to the obtained operation instruction; and the target position is a display position for the target application to perform virtual display.
S404, acquiring interface display data of the target application;
and then, acquiring interface display data of the target application. For example, the clock applies the display data of the current display interface.
S405, transmitting interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment performs virtual display on the interface display data of the target application at a target position;
the first electronic equipment is in communication connection with the second electronic equipment, wherein the first electronic equipment and the second electronic equipment can be in communication connection directly through a data line; the first electronic device and the second electronic device can also be connected through Wi-Fi communication; the first electronic device and the second electronic device may also be connected via bluetooth communication.
After the interface display data of the target application is acquired, the interface display data of the target application can be transmitted to the second electronic device through the communication mode. And after receiving the interface display data of the target application, the second electronic equipment performs virtual display on the interface display data of the target application, wherein the virtual display position is the target position determined through the operation instruction. The method comprises the steps that a user can obtain information through a display device of first electronic equipment and can also obtain interface display data of a target application through a virtual display interface displayed by second electronic equipment; for example, the user may view a video played by the multimedia application through the display device of the first electronic device, and may also view weather, a clock, and the like through the virtual display interface.
S406, storing interface display data of the target application;
when the second electronic device performs virtual display on the interface display data of the target application at the target position, the first electronic device may further store the currently displayed interface display data of the target application. For example, display interface data for a weather application currently being virtually displayed is stored.
And S407, when the first electronic device and the second electronic device establish communication connection again, transmitting the stored interface display data of the target application to the second electronic device, so that the second electronic device performs virtual display on the interface display data of the target application again.
After the first electronic device is disconnected from the second electronic device, if the first electronic device and the second electronic device establish communication connection again, the interface display data of the target application stored when the first electronic device and the second electronic device are connected last time can be transmitted to the second electronic device, and the second electronic device performs virtual display on the interface display data of the target application again. For example, when the first electronic device and the second electronic device are in the last communication connection, the second electronic device performs virtual display on the weather application, and when the first electronic device and the second electronic device establish the communication connection again, the first electronic device can directly transmit the interface display data of the weather application to the second electronic device, and the second electronic device performs virtual display on the interface display data of the weather application again.
In summary, in this embodiment, on the basis of the above embodiment, the setting of the user can be further saved, and when the first electronic device is connected to the second electronic device again, the second electronic device can automatically and virtually display the state of the first electronic device when the second electronic device is disconnected from the first electronic device last time, so that the user experience is further improved.
As shown in fig. 5, which is a flowchart of a method of embodiment 5 of the control method disclosed in the present disclosure, the method may be applied to a first electronic device, where the first electronic device may include: desktop computers, notebook computers, IPAD and other electronic equipment; the method may comprise the steps of:
s501, obtaining an operation instruction generated by operating a target application, wherein the target application is at least one application installed in the first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment;
at least one target application is installed in the first electronic device, wherein the target application is an application capable of being virtually displayed by the second electronic device, such as a gadget application (clock application, weather application, calculator application, etc.) installed in the first electronic device, and the current target application is in an active state in the first electronic device and is displayed in a display device of the first electronic device. The second electronic device is an electronic device capable of implementing virtual display, such as: AR devices, etc.
When the target application needs to be virtually displayed through the second electronic device, the user can operate the target application needing to be virtually displayed, and when the user operates the target application, a corresponding operation instruction generated by operating the target application is obtained.
S502, determining that the operation instruction meets the condition;
after the operation instruction generated by the operation target application is acquired, the acquired operation instruction is further judged, and whether the operation instruction meets the condition or not is determined. The condition is a condition which enables the target application to be virtually displayed through the second electronic device.
S503, determining a target position based on the operation instruction;
after the obtained operation instruction is determined to meet the condition, the target position is further determined according to the obtained operation instruction; and the target position is a display position for the target application to perform virtual display.
S504, capturing a screen of the target application through a screen capture interface provided by a bottom layer of the first electronic device to obtain interface display data of the target application;
and then, acquiring interface display data of the target application. For example, the clock applies the display data of the current display interface. When the interface display data of the target application is acquired, the screen capture interface provided by the bottom layer of the first electronic device system can be used for acquiring the screen capture of the target application, that is, the interface display data of the target application is acquired through the screen capture.
And S505, transmitting the interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment performs virtual display on the interface display data of the target application at the target position.
The first electronic equipment is in communication connection with the second electronic equipment, wherein the first electronic equipment and the second electronic equipment can be in communication connection directly through a data line; the first electronic device and the second electronic device can also be connected through Wi-Fi communication; the first electronic device and the second electronic device may also be connected via bluetooth communication.
After the interface display data of the target application is acquired, the interface display data of the target application can be transmitted to the second electronic device through the communication mode. And after receiving the interface display data of the target application, the second electronic equipment performs virtual display on the interface display data of the target application, wherein the virtual display position is the target position determined through the operation instruction. The method comprises the steps that a user can obtain information through a display device of first electronic equipment and can also obtain interface display data of a target application through a virtual display interface displayed by second electronic equipment; for example, the user may view a video played by the multimedia application through the display device of the first electronic device, and may also view weather, a clock, and the like through the virtual display interface.
In summary, the interface display data of the target application can be simply and quickly captured through the screen capture interface provided at the bottom layer of the first electronic device system.
As shown in fig. 6, which is a flowchart of a method of embodiment 6 of the control method disclosed in the present disclosure, the method may be applied to a second electronic device, where the second electronic device may include: AR devices and the like capable of virtual display; the method may comprise the steps of:
s601, receiving interface display data of a target application transmitted by first electronic equipment in communication connection with second electronic equipment;
first, interface display data of a target application transmitted by first electronic equipment is received. Wherein:
at least one target application is installed in the first electronic device, wherein the target application is an application capable of being virtually displayed by the second electronic device, such as a gadget application (clock application, weather application, calculator application, etc.) installed in the first electronic device, and the current target application is in an active state in the first electronic device and is displayed in a display device of the first electronic device. The second electronic device is an electronic device capable of implementing virtual display, such as: AR devices, etc.
When the target application needs to be virtually displayed through the second electronic device, the user can operate the target application needing to be virtually displayed, and when the user operates the target application, a corresponding operation instruction generated by operating the target application is obtained.
After the operation instruction generated by the operation target application is acquired, the acquired operation instruction is further judged, and whether the operation instruction meets the condition or not is determined. The condition is a condition which enables the target application to be virtually displayed through the second electronic device.
After the obtained operation instruction is determined to meet the condition, the target position is further determined according to the obtained operation instruction; and the target position is a display position for the target application to perform virtual display.
Then, the first electronic device obtains interface display data of the target application. For example, the clock applies the display data of the current display interface.
The first electronic equipment is in communication connection with the second electronic equipment, wherein the first electronic equipment and the second electronic equipment can be in communication connection directly through a data line; the first electronic device and the second electronic device can also be connected through Wi-Fi communication; the first electronic device and the second electronic device may also be connected via bluetooth communication.
After the interface display data of the target application is acquired, the interface display data of the target application can be transmitted to the second electronic device through the communication mode.
S602, virtually displaying the received interface display data of the target application at the target position.
And after receiving the interface display data of the target application, the second electronic equipment performs virtual display on the interface display data of the target application, wherein the virtual display position is the target position determined through the operation instruction. The method comprises the steps that a user can obtain information through a display device of first electronic equipment and can also obtain interface display data of a target application through a virtual display interface displayed by second electronic equipment; for example, the user may view a video played by the multimedia application through the display device of the first electronic device, and may also view weather, a clock, and the like through the virtual display interface.
To sum up, the above embodiment realizes that the interface display data of the target application in the first electronic device is virtually displayed at the target position through the second electronic device, so that the information that the user receives the output of the electronic device at the same time is increased, and the user experience is further improved.
As shown in fig. 7, which is a flowchart of a method of embodiment 7 of the control method disclosed in the present disclosure, the method may be applied to a second electronic device, where the second electronic device may include: AR devices and the like capable of virtual display; the method may comprise the steps of:
s701, receiving interface display data of a target application transmitted by first electronic equipment in communication connection with second electronic equipment;
first, interface display data of a target application transmitted by first electronic equipment is received. Wherein:
at least one target application is installed in the first electronic device, wherein the target application is an application capable of being virtually displayed by the second electronic device, such as a gadget application (clock application, weather application, calculator application, etc.) installed in the first electronic device, and the current target application is in an active state in the first electronic device and is displayed in a display device of the first electronic device. The second electronic device is an electronic device capable of implementing virtual display, such as: AR devices, etc.
When the target application needs to be virtually displayed through the second electronic device, the user can operate the target application needing to be virtually displayed, and when the user operates the target application, a corresponding operation instruction generated by operating the target application is obtained.
After the operation instruction generated by the operation target application is acquired, the acquired operation instruction is further judged, and whether the operation instruction meets the condition or not is determined. The condition is a condition which enables the target application to be virtually displayed through the second electronic device.
After the obtained operation instruction is determined to meet the condition, the target position is further determined according to the obtained operation instruction; and the target position is a display position for the target application to perform virtual display.
Then, the first electronic device obtains interface display data of the target application. For example, the clock applies the display data of the current display interface.
The first electronic equipment is in communication connection with the second electronic equipment, wherein the first electronic equipment and the second electronic equipment can be in communication connection directly through a data line; the first electronic device and the second electronic device can also be connected through Wi-Fi communication; the first electronic device and the second electronic device may also be connected via bluetooth communication.
After the interface display data of the target application is acquired, the interface display data of the target application can be transmitted to the second electronic device through the communication mode.
S702, creating a virtual display interface at a target position;
and after receiving the interface display data of the target application, the second electronic equipment creates a virtual display interface at the target position determined by the operation instruction.
S703, rendering interface display data of the target application to a virtual display interface;
and then rendering the acquired interface display data of the target application to the created virtual display interface.
And S704, virtually displaying interface display data of the target application through a virtual display interface.
The interface display data of the target application are virtually displayed through the virtual display interface, and a user can acquire the interface display data of the target application through the virtual display interface displayed by the second electronic equipment while acquiring information through the display device of the first electronic equipment; for example, the user may view a video played by the multimedia application through the display device of the first electronic device, and may also view weather, a clock, and the like through the virtual display interface.
In summary, in the embodiment, the interface display data of the target application can be rendered to the virtual display interface by creating the virtual display interface at the target position, so that the interface display data of the target application is virtually displayed at the target position.
As shown in fig. 8, which is a flowchart of a method of embodiment 8 of the control method of the present disclosure, the method may be applied to a second electronic device, where the second electronic device may include: AR devices and the like capable of virtual display; the method may comprise the steps of:
801. receiving interface display data of a target application transmitted by first electronic equipment in communication connection with second electronic equipment;
first, interface display data of a target application transmitted by first electronic equipment is received. Wherein:
at least one target application is installed in the first electronic device, wherein the target application is an application capable of being virtually displayed by the second electronic device, such as a gadget application (clock application, weather application, calculator application, etc.) installed in the first electronic device, and the current target application is in an active state in the first electronic device and is displayed in a display device of the first electronic device. The second electronic device is an electronic device capable of implementing virtual display, such as: AR devices, etc.
When the target application needs to be virtually displayed through the second electronic device, the user can operate the target application needing to be virtually displayed, and when the user operates the target application, a corresponding operation instruction generated by operating the target application is obtained.
After the operation instruction generated by the operation target application is acquired, the acquired operation instruction is further judged, and whether the operation instruction meets the condition or not is determined. The condition is a condition which enables the target application to be virtually displayed through the second electronic device.
After the obtained operation instruction is determined to meet the condition, the target position is further determined according to the obtained operation instruction; and the target position is a display position for the target application to perform virtual display.
Then, the first electronic device obtains interface display data of the target application. For example, the clock applies the display data of the current display interface.
The first electronic equipment is in communication connection with the second electronic equipment, wherein the first electronic equipment and the second electronic equipment can be in communication connection directly through a data line; the first electronic device and the second electronic device can also be connected through Wi-Fi communication; the first electronic device and the second electronic device may also be connected via bluetooth communication.
After the interface display data of the target application is acquired, the interface display data of the target application can be transmitted to the second electronic device through the communication mode.
S802, virtually displaying the received interface display data of the target application at the target position;
and after receiving the interface display data of the target application, the second electronic equipment performs virtual display on the interface display data of the target application, wherein the virtual display position is the target position determined through the operation instruction. The method comprises the steps that a user can obtain information through a display device of first electronic equipment and can also obtain interface display data of a target application through a virtual display interface displayed by second electronic equipment; for example, the user may view a video played by the multimedia application through the display device of the first electronic device, and may also view weather, a clock, and the like through the virtual display interface.
S803, when the first electronic device and the second electronic device establish communication connection again, receiving stored interface display data of the target application transmitted by the first electronic device;
when the second electronic device performs virtual display on the interface display data of the target application at the target position, the first electronic device may further store the currently displayed interface display data of the target application. For example, display interface data for a weather application currently being virtually displayed is stored.
After the first electronic device is disconnected from the second electronic device, if the first electronic device and the second electronic device establish communication connection again, the interface display data of the target application stored when the first electronic device and the second electronic device are connected last time can be transmitted to the second electronic device.
And S804, virtually displaying the received and stored interface display data of the target application again.
And the second electronic equipment virtually displays the interface display data of the target application again. For example, when the first electronic device and the second electronic device are in the last communication connection, the second electronic device performs virtual display on the weather application, and when the first electronic device and the second electronic device establish the communication connection again, the first electronic device can directly transmit the interface display data of the weather application to the second electronic device, and the second electronic device performs virtual display on the interface display data of the weather application again.
In summary, in this embodiment, on the basis of the above embodiment, the setting of the user can be further saved, and when the first electronic device is connected to the second electronic device again, the second electronic device can automatically and virtually display the state of the first electronic device when the second electronic device is disconnected from the first electronic device last time, so that the user experience is further improved.
As shown in fig. 9, which is a schematic structural diagram of a first electronic device embodiment 1 disclosed in the present disclosure, wherein the first electronic device may include: desktop computers, notebook computers, IPAD and other electronic equipment; the electronic device may include:
a first obtaining module 901, configured to obtain an operation instruction generated by operating a target application, where the target application is at least one application installed in a first electronic device, and the target application is in an activated state and is displayed in a display apparatus of the first electronic device;
a first determining module 902, configured to determine that the operation instruction satisfies the condition;
a second determining module 903, configured to determine a target position based on the operation instruction;
a second obtaining module 904, configured to obtain interface display data of the target application;
the communication module 905 is configured to transmit the interface display data of the target application to a second electronic device in communication connection with the first electronic device, so that the second electronic device performs virtual display on the interface display data of the target application at the target position.
The working principle of the first electronic device disclosed in this embodiment is the same as that disclosed in fig. 1, and is not described herein again.
In addition, other operating principles of the first electronic device are the same as those disclosed in fig. 2 to 5, and are not described herein again.
As shown in fig. 10, which is a schematic structural diagram of a second electronic device embodiment 1 disclosed in the present disclosure, wherein the second electronic device may include: AR devices and the like capable of virtual display; the second electronic device may include:
the communication module 1001 is configured to receive interface display data of a target application transmitted by a first electronic device in communication connection with a second electronic device, where the target application is at least one application installed in the first electronic device, the target application is in an activated state and is displayed in a display device of the first electronic device, the interface display data of the target application is interface display data of the target application acquired when it is determined that an operation instruction meets a condition, and the operation instruction is an operation instruction generated by operating the target application;
the virtual display module 1002 is configured to perform virtual display on the received interface display data of the target application at a target location, where the target location is determined based on the operation instruction.
The working principle of the second electronic device disclosed in this embodiment is the same as that disclosed in fig. 6, and is not described herein again.
In addition, other operating principles of the second electronic device are the same as those disclosed in fig. 7 to 8, and are not described herein again.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device or system type embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A control method is applied to a first electronic device, and comprises the following steps:
acquiring an operation instruction generated by operating a target application, wherein the target application is at least one application installed in the first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment;
determining that the operating instruction satisfies a condition;
determining a target position based on the operation instruction;
acquiring interface display data of the target application;
and transmitting the interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment performs virtual display on the interface display data of the target application at the target position.
2. The method of claim 1, wherein the obtaining of the operation instruction generated by the operation target application comprises:
obtaining an operation instruction generated by dragging the target application, wherein the operation instruction represents a dragging track of the target application;
correspondingly, the determining that the operation instruction satisfies the condition includes:
determining a dragging end point position of the target application based on the dragging track of the target application;
judging whether the dragging end point position is in a preset area, if so, performing:
determining that the operation instruction meets a condition, wherein the preset area is in a display area of the second electronic device;
correspondingly, the determining the target position based on the operation instruction comprises:
and determining the drag end position as the target position.
3. The method of claim 1, wherein the obtaining of the operation instruction generated by the operation target application comprises:
obtaining an operation instruction generated by clicking the target application, wherein the operation instruction represents the number of clicks on the target application;
correspondingly, the determining that the operation instruction satisfies the condition includes:
judging whether the click times meet preset times, if so, then:
determining that the operating instruction satisfies a condition;
correspondingly, the determining the target position based on the operation instruction comprises:
determining the target location based on the number of clicks.
4. The method of claim 1, further comprising:
storing interface display data of the target application;
and when the first electronic device and the second electronic device establish communication connection again, transmitting the stored interface display data of the target application to the second electronic device, so that the second electronic device performs virtual display on the interface display data of the target application again.
5. The method of claim 1, the obtaining interface display data for the target application, comprising:
and capturing the screen of the target application through a screen capture interface provided by the bottom layer of the first electronic equipment to obtain interface display data of the target application.
6. A control method is applied to a second electronic device, and comprises the following steps:
receiving interface display data of a target application transmitted by a first electronic device in communication connection with the second electronic device, wherein the target application is at least one application installed in the first electronic device, the target application is in an activated state and is displayed in a display device of the first electronic device, the interface display data of the target application is interface display data of the target application acquired when an operation instruction is determined to meet a condition, and the operation instruction is an operation instruction generated by operating the target application;
and virtually displaying the received interface display data of the target application at a target position, wherein the target position is determined based on the operation instruction.
7. The method of claim 6, wherein virtually displaying, at a target location, the received interface display data for the target application comprises:
creating a virtual display interface at the target position;
rendering interface display data of the target application to the virtual display interface;
and virtually displaying the interface display data of the target application through the virtual display interface.
8. The method of claim 6, further comprising:
when the first electronic device and the second electronic device establish communication connection again, receiving the stored interface display data of the target application transmitted by the first electronic device;
and virtually displaying the received stored interface display data of the target application again.
9. An electronic device, comprising:
the first acquisition module is used for acquiring an operation instruction generated by operating a target application, wherein the target application is at least one application installed in the first electronic equipment, and the target application is in an activated state and is displayed in a display device of the first electronic equipment;
the first determination module is used for determining that the operation instruction meets the condition;
the second determination module is used for determining a target position based on the operation instruction;
the second acquisition module is used for acquiring interface display data of the target application;
the communication module is used for transmitting the interface display data of the target application to second electronic equipment in communication connection with the first electronic equipment, so that the second electronic equipment can perform virtual display on the interface display data of the target application at the target position.
10. An electronic device, comprising:
the communication module is used for receiving interface display data of a target application transmitted by first electronic equipment in communication connection with the second electronic equipment, wherein the target application is at least one application installed in the first electronic equipment, the target application is in an activated state and is displayed in a display device of the first electronic equipment, the interface display data of the target application is interface display data of the target application acquired when an operation instruction is determined to meet a condition, and the operation instruction is an operation instruction generated by operating the target application;
and the virtual display module is used for virtually displaying the received interface display data of the target application at a target position, wherein the target position is determined based on the operation instruction.
CN201911107821.4A 2019-11-13 2019-11-13 Control method and electronic equipment Pending CN110851226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911107821.4A CN110851226A (en) 2019-11-13 2019-11-13 Control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911107821.4A CN110851226A (en) 2019-11-13 2019-11-13 Control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110851226A true CN110851226A (en) 2020-02-28

Family

ID=69601787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911107821.4A Pending CN110851226A (en) 2019-11-13 2019-11-13 Control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110851226A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004610A (en) * 2010-12-02 2011-04-06 无敌科技(西安)有限公司 User interface, system and method for executing or ending programs by towing
CN104978104A (en) * 2014-04-14 2015-10-14 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
CN106055327A (en) * 2016-05-27 2016-10-26 联想(北京)有限公司 Display method and electronic device
CN107277242A (en) * 2017-06-14 2017-10-20 黄之 A kind of processing method of displaying information on screen, display methods and display system
WO2018126957A1 (en) * 2017-01-04 2018-07-12 北京极维科技有限公司 Method for displaying virtual reality screen and virtual reality device
CN108681424A (en) * 2010-10-01 2018-10-19 Z124 Gesture is dragged in user interface
CN109462692A (en) * 2018-10-29 2019-03-12 努比亚技术有限公司 Split screen display available operating method, mobile terminal and computer readable storage medium
CN109491631A (en) * 2018-10-30 2019-03-19 维沃移动通信有限公司 A kind of display control method and terminal
CN110221798A (en) * 2019-05-29 2019-09-10 华为技术有限公司 A kind of throwing screen method, system and relevant apparatus
CN110347305A (en) * 2019-05-30 2019-10-18 华为技术有限公司 A kind of VR multi-display method and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681424A (en) * 2010-10-01 2018-10-19 Z124 Gesture is dragged in user interface
CN102004610A (en) * 2010-12-02 2011-04-06 无敌科技(西安)有限公司 User interface, system and method for executing or ending programs by towing
CN104978104A (en) * 2014-04-14 2015-10-14 联想(北京)有限公司 Information processing method, information processing device and electronic equipment
CN106055327A (en) * 2016-05-27 2016-10-26 联想(北京)有限公司 Display method and electronic device
WO2018126957A1 (en) * 2017-01-04 2018-07-12 北京极维科技有限公司 Method for displaying virtual reality screen and virtual reality device
CN107277242A (en) * 2017-06-14 2017-10-20 黄之 A kind of processing method of displaying information on screen, display methods and display system
CN109462692A (en) * 2018-10-29 2019-03-12 努比亚技术有限公司 Split screen display available operating method, mobile terminal and computer readable storage medium
CN109491631A (en) * 2018-10-30 2019-03-19 维沃移动通信有限公司 A kind of display control method and terminal
CN110221798A (en) * 2019-05-29 2019-09-10 华为技术有限公司 A kind of throwing screen method, system and relevant apparatus
CN110347305A (en) * 2019-05-30 2019-10-18 华为技术有限公司 A kind of VR multi-display method and electronic equipment

Similar Documents

Publication Publication Date Title
CN108463799B (en) Flexible display of electronic device and operation method thereof
JP5343505B2 (en) Icon display device, icon display method and program
US20140267281A1 (en) Method for displaying a remote desktop on a portable touch screen device
US10474507B2 (en) Terminal application process management method and apparatus
WO2019184490A1 (en) Method for use in displaying icons of hosted applications, and device and storage medium
US20210149534A1 (en) Display Control Method and Terminal
US20160216929A1 (en) Processing application interface
US20140152583A1 (en) Optimistic placement of user interface elements on a touch screen
WO2021098878A1 (en) Method and device for predicting drawing point of stylus pen
CN115454233A (en) Multi-screen interaction method and device
CN109857298B (en) Application starting method, device, equipment and storage medium
CN104978135A (en) Icon display method and device, and mobile terminal
CN107835986B (en) Data operation method of electronic equipment and electronic equipment
CN106648281B (en) Screenshot method and device
CN105723314A (en) Two step content selection
US20160321173A1 (en) Automatic garbage collection thrashing monitoring
CN106250002B (en) Information processing method and information processing apparatus
CN110244889B (en) Picture scaling method, device, terminal and storage medium
CN111666023A (en) Interface display method and device, electronic equipment and readable storage medium
CN104866620B (en) The implementation method of background formula focus chart, apparatus and system
CN110851226A (en) Control method and electronic equipment
CN108874141B (en) Somatosensory browsing method and device
US9001146B2 (en) Automatically determining an object display mode to display objects
WO2022171058A1 (en) Application program processing method and apparatus, and electronic device
CN105393214A (en) Self-revealing symbolic gestures

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