WO2021104232A1 - Display method and electronic device - Google Patents

Display method and electronic device Download PDF

Info

Publication number
WO2021104232A1
WO2021104232A1 PCT/CN2020/131034 CN2020131034W WO2021104232A1 WO 2021104232 A1 WO2021104232 A1 WO 2021104232A1 CN 2020131034 W CN2020131034 W CN 2020131034W WO 2021104232 A1 WO2021104232 A1 WO 2021104232A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
target
interface
input
target application
Prior art date
Application number
PCT/CN2020/131034
Other languages
French (fr)
Chinese (zh)
Inventor
张翰城
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021104232A1 publication Critical patent/WO2021104232A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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

Definitions

  • the present invention relates to the field of communication technology, in particular to a display method and electronic equipment.
  • screen projection technology has become a widely used sharing method in recent years.
  • the sharing terminal sends the content that needs to be shared to the shared terminal, and the shared terminal can display the projection content, so that users on the shared terminal can view and edit the projection content.
  • the existing screen projection technology can realize online editing of the same shared content by multiple users, but when multiple users edit the same shared content at the same time, it is difficult to communicate conveniently and quickly.
  • the embodiments of the present invention provide a display method and an electronic device to solve the problem that the existing screen projection technology is difficult to communicate conveniently and quickly when multiple users edit the same content at the same time.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a display method applied to a first electronic device, including:
  • a target interface is displayed, and the target interface includes content input by the second electronic device on the running interface.
  • an embodiment of the present invention provides a display method applied to a second electronic device, including:
  • the second electronic device and the first electronic device establish a shared connection for the target application, receiving the running interface of the target application sent by the first electronic device;
  • the second electronic device When the second electronic device triggers an input on the running interface, sending a message to the first electronic device, so that the first electronic device displays the target control corresponding to the second electronic device.
  • an embodiment of the present invention provides an electronic device.
  • the electronic device is a first electronic device and includes:
  • a sharing module configured to share the running interface of the target application to the second electronic device when the first electronic device and the second electronic device establish a shared connection for the target application
  • a receiving module for receiving the first input
  • the first display module is configured to display a target interface in response to the first input, and the target interface includes content input by the second electronic device on the running interface.
  • an embodiment of the present invention provides an electronic device, where the electronic device is a second electronic device and includes:
  • a receiving module configured to receive the running interface of the target application sent by the first electronic device when the second electronic device and the first electronic device establish a shared connection for the target application;
  • the sending module is configured to send a message to the first electronic device when the second electronic device triggers input on the running interface, so that the first electronic device displays that it corresponds to the second electronic device The target control.
  • an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor.
  • the steps of the display method as described in the first aspect are implemented; or, when the computer program is executed by the processor, the steps of the display method as described in the second aspect are implemented.
  • an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the display method as described in the first aspect are implemented; or When the computer program is executed by the processor, the steps of the display method as described in the second aspect are implemented.
  • the first electronic device and the second electronic device when the first electronic device and the second electronic device establish a shared connection for the target application, share the running interface of the target application to the second electronic device; receive the first input
  • a target interface is displayed, the target interface including the content input by the second electronic device on the running interface.
  • the user of the first electronic device can see the content entered by the user of the second electronic device on the running interface of the target application, without having to resort to other communication methods, and interactive communication can be realized through the shared running interface, which simplifies The operation process also brings a better electronic device experience to users.
  • FIG. 1 is a flowchart of a display method provided by an embodiment of the present invention
  • FIG. 1a is a schematic diagram of a display interface of an electronic device using the display method provided in FIG. 1;
  • FIG. 1b is another schematic diagram of a display interface of an electronic device using the display method provided in FIG. 1;
  • FIG. 1c is another schematic diagram of a display interface of an electronic device using the display method provided in FIG. 1;
  • FIG. 1d is another schematic diagram of a display interface of an electronic device using the display method provided in FIG. 1;
  • FIG. 2 is a flowchart of another display method provided by an embodiment of the present invention.
  • Figure 3 is a structural diagram of an electronic device provided by an embodiment of the present invention.
  • Figure 4 is a structural diagram of another electronic device provided by an embodiment of the present invention.
  • Fig. 5 is a structural diagram of another electronic device provided by an embodiment of the present invention.
  • FIG. 1 is a flowchart of a display method provided by an embodiment of the present invention. As shown in FIG. 1, the display method includes the following steps:
  • Step 101 In a case where the first electronic device and the second electronic device establish a shared connection for a target application, share the running interface of the target application to the second electronic device.
  • the display method provided by the embodiment of the present invention is applied to a first electronic device, and the first electronic device shares the running interface of the target application with the second electronic device.
  • Realize the sharing of the running interface of the target application with the second electronic device, and the shared content may include, but is not limited to, text content, video content, picture content, and the like.
  • the content displayed on the running interface of the target application is text content.
  • the first electronic device displays the text content, it can be determined by using a preset button such as a screen projection to determine the second electronic device sharing the text content.
  • the first electronic device in the embodiment of the present invention may also be the second electronic device in other scenarios.
  • the shared running interface of the first electronic device and the second electronic device will both display the text content, and the display interface at this time is also the running interface of the above-mentioned target application; and, the user of the first electronic device and the running interface of the second electronic device Users can edit the text content.
  • first electronic device and the second electronic device display text content at the same time, they can display different areas of the text content separately; for example, the text content includes 10 pages, and the first electronic device displays the second page.
  • the second electronic device may display the fifth page.
  • this step 101 specifically includes:
  • the first electronic device and the N second electronic devices establish a shared connection for the target application, sharing the running interface of the target application to the N second electronic devices.
  • the number of second electronic devices may be one or multiple.
  • the first electronic device may establish a sharing connection with one or more second electronic devices as needed, so that multiple users can share at the same time.
  • the running interface of the target application may be one or multiple.
  • Step 102 Receive a first input.
  • the user when the first electronic device and the second electronic device establish a shared connection for the target application, the user may perform the first input on the sharing interface to display the target interface.
  • Step 103 In response to the first input, display a target interface, the target interface including content input by the second electronic device on the running interface.
  • the first electronic device displays the target interface based on the first input
  • the content input by the second electronic device on the shared running interface is displayed on the target interface
  • the content input by the second electronic device on the running interface is simultaneously displayed in the first The operating interface shared by the first electronic device and the second electronic device.
  • the multimedia content is text content.
  • the running interface is the second page of the text content
  • the target interface displayed on the first electronic device
  • the content input by the second electronic device on the page is displayed on the second page.
  • the user of the first electronic device can see the content entered by the user of the second electronic device on the running interface of the target application, without having to resort to other communication methods, and interactive communication can be realized through the shared running interface, which simplifies The operation process also brings a better electronic device experience to users.
  • the method further includes the steps:
  • the target control is displayed.
  • the target control is mainly used to prompt the user of the first electronic device that there is input information from the second electronic device, so that the display of the content input by the second electronic device on the running interface can be triggered conveniently and quickly according to the target control.
  • step 102 specifically includes receiving a first input for the target control.
  • a prompt bubble is displayed on the first electronic device.
  • an electronic device receives a touch input for the prompt bubble, it displays a target interface, and the target interface includes at least the content input by the second electronic device on the shared running interface.
  • the foregoing display target control includes:
  • the first electronic device displays a target control corresponding to the second electronic device.
  • the number of second electronic devices may be one or more.
  • the displayed target control must be the target control corresponding to the second electronic device.
  • step 103 includes:
  • Target interface including the content input by the target electronic device in the running interface in the second electronic device
  • the target electronic device is an electronic device corresponding to the first input.
  • the target control corresponding to each second electronic device may be displayed to distinguish the content input by different second electronic devices.
  • the user name corresponding to each second electronic device can be displayed on the target control to display the target control corresponding to each second electronic device. For example, if you need to view the second corresponding to Zhang XX For the content entered on the electronic device, the first input is performed for the target control corresponding to Zhang XX. In this embodiment, it is specifically touching the prompt bubble corresponding to Zhang XX. At this time, the second electronic device corresponding to Zhang XX is selected The target electronic device, further, displays the content input on the second electronic device corresponding to Zhang XX.
  • the source of the content can be easily distinguished, and the convenience of communication can be improved.
  • the text content (such as word text, PDF text, etc.) displayed on the running interface shared by the first electronic device and the second electronic device is taken as an example for further explanation.
  • the first electronic device can display thumbnails in a preset area.
  • thumbnail 11 is displayed on the right side of the sharing interface.
  • the thumbnail 11 can display the entire text content in a smaller font, and the thumbnail 11 can highlight the part of the current display content of the sharing interface, so that the user can more intuitively know that the current display content is in the entire text content , It is convenient for users to search for the content they want to view.
  • a menu button 12 can be displayed in the upper right corner.
  • the user can trigger the menu button 12, and then display a drop-down menu 13, which displays all the second A list of electronic devices, which can be obtained by querying shared screencasting applications; the first input can refer to a trigger operation acting on the drop-down menu, for example, the user clicks "Li XX" in the drop-down menu, and then The second electronic device corresponding to Li XX is determined to be the target electronic device.
  • the content input by the target electronic device on the sharing interface can be determined through the shared screen application.
  • the first electronic device displays the sharing interface and the content input by the target electronic device, it also displays the identity information of the target electronic device. As shown in FIG. 1d, the user name "LiXX" is displayed. In this way, it is further ensured that the user of the first electronic device can determine the target electronic device for inputting the content.
  • the content input by the target electronic device can also be cancelled.
  • the first electronic device will no longer display the content input by the target electronic device after displaying the interactive information for 10 seconds.
  • the multimedia content display interface it is possible to prevent the multimedia content display interface from being messy when there is a lot of interactive information, prevent the interactive information display time course from causing interference to the user's viewing of the multimedia content, and ensure the aesthetics of the multimedia content display.
  • the first electronic device receives a first input acting on the sharing interface when displaying a multimedia content sharing interface; in response to the first input, determining the multimedia content Receive the interactive information input by the user, and display the interactive information in the area where the target content of the sharing interface is displayed; wherein the first electronic device and the second electronic device share the multimedia content ,
  • the interactive information is synchronously displayed in the area where the target content is displayed on the sharing interface of the second electronic device.
  • FIG. 2 is a flowchart of another display method provided by an embodiment of the present invention. As shown in FIG. 2, the display method includes the following steps:
  • Step 201 When the second electronic device and the first electronic device establish a shared connection for the target application, receive the running interface of the target application sent by the first electronic device.
  • the display method provided by the embodiment of the present invention is applied to a second electronic device, and the first electronic device is an electronic device that shares the multimedia content with the second electronic device.
  • the sharing interface may be the screen sharing of the first electronic device with the second electronic device through the initiation of, for example, sharing the screen, and then the second electronic device will simultaneously display the running interface of the target application currently displayed by the first electronic device.
  • the content displayed on the running interface can be text content, video content, picture content, etc. It is understandable that the second electronic device in the embodiment of the present invention is not specifically mentioned, and the second electronic device may also be the first electronic device in other scenarios.
  • Step 202 In the case that the second electronic device triggers input on the running interface, send a message to the first electronic device so that the first electronic device displays the target corresponding to the second electronic device Control.
  • a message is sent to the first electronic device, so that the first electronic device displays the target control corresponding to the second electronic device, so that the first electronic device can quickly learn
  • the second electronic device inputs content on the target application, which facilitates communication between the second electronic device and the first electronic device through the target application.
  • the specific manner for the first electronic device to display the target control may refer to the description in the embodiment shown in FIG. 1, which will not be repeated in the embodiment of the present invention.
  • the second electronic device when the second electronic device establishes a shared connection for the target application with the first electronic device, it receives the running interface of the target application sent by the first electronic device; In the case that the running interface triggers the input, a message is sent to the first electronic device, so that the first electronic device displays the target control corresponding to the second electronic device.
  • the second electronic device when electronic devices are sharing multimedia content, interactive communication can be realized through the multimedia content sharing interface without using other communication methods, which simplifies the operation process and brings users a better electronic device experience. .
  • FIG. 3 is a structural diagram of an electronic device according to an embodiment of the present invention, and the electronic device is a first electronic device.
  • the electronic device 300 includes:
  • the sharing module 301 is configured to share the running interface of the target application to the second electronic device when the first electronic device and the second electronic device establish a shared connection for the target application;
  • the receiving module 301 is configured to receive the first input
  • the first display module 303 is configured to display a target interface in response to the first input, and the target interface includes content input by the second electronic device on the running interface.
  • it also includes:
  • the second display module is used to display the target control
  • the receiving module 301 is specifically configured to:
  • the second display module is specifically configured to:
  • the first electronic device displays a target control corresponding to the second electronic device.
  • the sharing module 301 is specifically configured to:
  • the first display module 303 is specifically configured to:
  • Target interface including the content input by the target electronic device in the running interface in the second electronic device
  • the target electronic device is an electronic device corresponding to the first input.
  • the electronic device 300 can implement each process of the embodiment of the display method described in FIG. 1 and achieve the same technical effect. In order to avoid repetition, details are not repeated here.
  • the technical solutions provided by the embodiments of the present invention enable electronic devices to share multimedia content without resorting to other communication methods.
  • Interactive communication can be realized through the multimedia content sharing interface, which simplifies the operation process and brings better users. Experience of using electronic equipment.
  • FIG. 4 is a structural diagram of another electronic device according to an embodiment of the present invention, and the electronic device is a second electronic device.
  • the electronic device 400 includes:
  • the receiving module 401 is configured to receive the running interface of the target application sent by the first electronic device when the second electronic device and the first electronic device establish a shared connection for the target application;
  • the sending module 402 is configured to send a message to the first electronic device when the second electronic device triggers an input on the running interface, so that the first electronic device displays the same information as the second electronic device The corresponding target control.
  • the electronic device 400 can implement each process of the embodiment of the display method described in FIG. 2 and can achieve the same technical effect. To avoid repetition, details are not described herein again.
  • the technical solutions provided by the embodiments of the present invention enable electronic devices to share multimedia content without resorting to other communication methods.
  • Interactive communication can be realized through the multimedia content sharing interface, which simplifies the operation process and brings better users. Experience of using electronic equipment.
  • FIG. 5 is a structural diagram of another electronic device implementing an embodiment of the present invention.
  • the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, The processor 510, and the power supply 511 and other components.
  • a radio frequency unit 501 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, The processor 510, and the power supply 511 and other components.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals
  • the electronic device 500 can implement each process of the display method embodiment described in FIG. 1 and achieve the same technical effect.
  • the processor 510 is configured to:
  • a target interface is displayed, and the target interface includes content input by the second electronic device on the running interface.
  • the processor 510 is further configured to:
  • the processor 510 when executing the step of receiving the first input, is specifically configured to:
  • the processor 510 is configured to:
  • the first electronic device displays a target control corresponding to the second electronic device.
  • the processor 510 is configured to share the running interface of the target application to the second electronic device in the case where the shared connection for the target application is established between the first electronic device and the second electronic device.
  • step it is specifically used for:
  • first electronic device and the N second electronic devices establish a shared connection for the target application, sharing the running interface of the target application to the N second electronic devices;
  • the processor 510 when executing the step of displaying the target interface, the target interface including the content input by the second electronic device on the running interface, is specifically configured to:
  • Target interface including the content input by the target electronic device in the running interface in the second electronic device
  • the target electronic device is an electronic device corresponding to the first input.
  • the electronic device 500 can implement each process of the embodiment of the display method described in FIG. 2 and achieve the same technical effect.
  • the processor 510 is configured to:
  • the second electronic device and the first electronic device establish a shared connection for the target application, receiving the running interface of the target application sent by the first electronic device;
  • the second electronic device When the second electronic device triggers an input on the running interface, sending a message to the first electronic device, so that the first electronic device displays the target control corresponding to the second electronic device.
  • the radio frequency unit 501 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 510; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 501 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.
  • the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device 500 provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 503 can convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 504 is used to receive audio or video signals.
  • the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042.
  • the graphics processor 5041 is configured to monitor the still images or video images obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed.
  • the processed image frame may be displayed on the display unit 506.
  • the image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other computer-readable storage medium) or sent via the radio frequency unit 501 or the network module 502.
  • the microphone 5042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.
  • the electronic device 500 further includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 5051 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 5051 and the display panel 5051 when the electronic device 500 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 506 is used to display information input by the user or information provided to the user.
  • the display unit 506 may include a display panel 5051, and the display panel 5051 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 507 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the electronic device 500.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072.
  • the touch panel 5071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 5071 or near the touch panel 5071. operating).
  • the touch panel 5071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 510, the command sent by the processor 510 is received and executed.
  • the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 507 may also include other input devices 5072.
  • other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 5071 can cover the display panel 5051.
  • the touch panel 5071 detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 5051.
  • the touch panel 5071 and the display panel 5051 are used as two independent components to implement the input and output functions of the electronic device 500, in some embodiments, the touch panel 5071 and the display panel 5051 can be combined.
  • the input and output functions of the electronic device 500 are realized by integration, which is not specifically limited here.
  • the interface unit 508 is an interface for connecting an external device and the electronic device 500.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 508 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 500 or can be used to connect the electronic device 500 to an external device. Transfer data between devices.
  • the memory 509 can be used to store software programs and various data.
  • the memory 509 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 510 is the control center of the electronic device 500. It uses various interfaces and lines to connect the various parts of the entire electronic device 500, runs or executes the software programs and/or modules stored in the memory 509, and calls and stores them in the memory 509. , Execute various functions of the electronic device 500 and process data, so as to monitor the electronic device 500 as a whole.
  • the processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
  • the electronic device 500 may also include a power source 511 (such as a battery) for supplying power to various components.
  • a power source 511 such as a battery
  • the power source 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 500 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor.
  • the computer program is executed by the processor to implement the above display method.
  • Each process of the embodiment can achieve the same technical effect, and in order to avoid repetition, it will not be repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned display method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

A display method and an electronic device; when applied in a first electronic device, the display method comprises: when a first electronic device and a second electronic device establish a shared connection for a target application, sharing an operation interface of the target application to the second electronic device (101); receiving a first input (102); and in response to the first input, displaying a target interface, the target interface comprising content inputted by the second electronic device in the operation interface (103).

Description

显示方法及电子设备Display method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年11月29日在中国提交的中国专利申请号No.201911203492.3的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911203492.3 filed in China on November 29, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种显示方法及电子设备。The present invention relates to the field of communication technology, in particular to a display method and electronic equipment.
背景技术Background technique
随着互联网技术的快速发展,投屏技术已经成为近年来一种应用较为广泛的分享方式。在投屏过程中,由分享端将需要分享的内容发送至被分享端,进而被分享端能够对投屏内容进行展示,以便于被分享端的用户对该投屏内容进行查看和编辑。但是,现有的投屏技术可以实现多个用户对同一分享内容的在线编辑,但是多个用户同时对同一分享内容进行编辑时,难以方便快捷的进行沟通。With the rapid development of Internet technology, screen projection technology has become a widely used sharing method in recent years. During the screen projection process, the sharing terminal sends the content that needs to be shared to the shared terminal, and the shared terminal can display the projection content, so that users on the shared terminal can view and edit the projection content. However, the existing screen projection technology can realize online editing of the same shared content by multiple users, but when multiple users edit the same shared content at the same time, it is difficult to communicate conveniently and quickly.
发明内容Summary of the invention
本发明实施例提供一种显示方法及电子设备,以解决现有的投屏技术在多个用户同时对同一内容进行编辑时,难以方便快捷的进行沟通的问题。The embodiments of the present invention provide a display method and an electronic device to solve the problem that the existing screen projection technology is difficult to communicate conveniently and quickly when multiple users edit the same content at the same time.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
第一方面,本发明实施例提供了一种显示方法,应用于第一电子设备,包括:In the first aspect, an embodiment of the present invention provides a display method applied to a first electronic device, including:
在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备;Sharing the running interface of the target application to the second electronic device when the first electronic device and the second electronic device establish a shared connection for the target application;
接收第一输入;Receive the first input;
响应于所述第一输入,显示目标界面,所述目标界面包括所述第二电子设备在所述运行界面输入的内容。In response to the first input, a target interface is displayed, and the target interface includes content input by the second electronic device on the running interface.
第二方面,本发明实施例提供了一种显示方法,应用于第二电子设备, 包括:In a second aspect, an embodiment of the present invention provides a display method applied to a second electronic device, including:
在所述第二电子设备和第一电子设备建立针对目标应用的共享连接的情况下,接收所述第一电子设备发送的所述目标应用的运行界面;In the case that the second electronic device and the first electronic device establish a shared connection for the target application, receiving the running interface of the target application sent by the first electronic device;
在所述第二电子设备在所述运行界面触发输入的情况下,发送消息至所述第一电子设备,以使所述第一电子设备显示与所述第二电子设备对应的目标控件。When the second electronic device triggers an input on the running interface, sending a message to the first electronic device, so that the first electronic device displays the target control corresponding to the second electronic device.
第三方面,本发明实施例提供了一种电子设备,所述电子设备为第一电子设备,包括:In a third aspect, an embodiment of the present invention provides an electronic device. The electronic device is a first electronic device and includes:
分享模块,用于在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备;A sharing module, configured to share the running interface of the target application to the second electronic device when the first electronic device and the second electronic device establish a shared connection for the target application;
接收模块,用于接收第一输入;A receiving module for receiving the first input;
第一显示模块,用于响应于所述第一输入,显示目标界面,所述目标界面包括所述第二电子设备在所述运行界面输入的内容。The first display module is configured to display a target interface in response to the first input, and the target interface includes content input by the second electronic device on the running interface.
第四方面,本发明实施例提供了一种电子设备,所述电子设备为第二电子设备,包括:In a fourth aspect, an embodiment of the present invention provides an electronic device, where the electronic device is a second electronic device and includes:
接收模块,用于在所述第二电子设备和第一电子设备建立针对目标应用的共享连接的情况下,接收所述第一电子设备发送的所述目标应用的运行界面;A receiving module, configured to receive the running interface of the target application sent by the first electronic device when the second electronic device and the first electronic device establish a shared connection for the target application;
发送模块,用于在所述第二电子设备在所述运行界面触发输入的情况下,发送消息至所述第一电子设备,以使所述第一电子设备显示与所述第二电子设备对应的目标控件。The sending module is configured to send a message to the first electronic device when the second electronic device triggers input on the running interface, so that the first electronic device displays that it corresponds to the second electronic device The target control.
第五方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面中所述的显示方法的步骤;或者,所述计算机程序被所述处理器执行时实现如第二方面中所述的显示方法的步骤。In a fifth aspect, an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor. When executed, the steps of the display method as described in the first aspect are implemented; or, when the computer program is executed by the processor, the steps of the display method as described in the second aspect are implemented.
第六方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面中所述的显示方法的步骤;或者,所述计算机程序被所述处理器执行时实现如第二方面 中所述的显示方法的步骤。In a sixth aspect, an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the display method as described in the first aspect are implemented; or When the computer program is executed by the processor, the steps of the display method as described in the second aspect are implemented.
本发明实施例中,在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备;接收第一输入;响应于所述第一输入,显示目标界面,所述目标界面包括所述第二电子设备在所述运行界面输入的内容。这样,也就使得第一电子设备的用户能够看到第二电子设备用户在目标应用的运行界面上输入的内容,无需借助其他的交流方式,通过共享的运行界面即能实现互动交流,简化了操作流程,也给用户带来更好的电子设备使用体验。In the embodiment of the present invention, when the first electronic device and the second electronic device establish a shared connection for the target application, share the running interface of the target application to the second electronic device; receive the first input In response to the first input, a target interface is displayed, the target interface including the content input by the second electronic device on the running interface. In this way, the user of the first electronic device can see the content entered by the user of the second electronic device on the running interface of the target application, without having to resort to other communication methods, and interactive communication can be realized through the shared running interface, which simplifies The operation process also brings a better electronic device experience to users.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the accompanying drawings used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1是本发明实施例提供的一种显示方法的流程图;FIG. 1 is a flowchart of a display method provided by an embodiment of the present invention;
图1a是应用图1提供的显示方法的电子设备显示界面的一种示意图;FIG. 1a is a schematic diagram of a display interface of an electronic device using the display method provided in FIG. 1;
图1b是应用图1提供的显示方法的电子设备显示界面的另一种示意图;FIG. 1b is another schematic diagram of a display interface of an electronic device using the display method provided in FIG. 1;
图1c是应用图1提供的显示方法的电子设备显示界面的另一种示意图;FIG. 1c is another schematic diagram of a display interface of an electronic device using the display method provided in FIG. 1;
图1d是应用图1提供的显示方法的电子设备显示界面的另一种示意图;FIG. 1d is another schematic diagram of a display interface of an electronic device using the display method provided in FIG. 1;
图2是本发明实施例提供的另一种显示方法的流程图;FIG. 2 is a flowchart of another display method provided by an embodiment of the present invention;
图3是本发明实施例提供的一种电子设备的结构图;Figure 3 is a structural diagram of an electronic device provided by an embodiment of the present invention;
图4是本发明实施例提供的另一种电子设备的结构图;Figure 4 is a structural diagram of another electronic device provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种电子设备的结构图。Fig. 5 is a structural diagram of another electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
请参见图1,图1是本发明实施例提供的一种显示方法的流程图,如图1所示,所述显示方法包括以下步骤:Please refer to FIG. 1. FIG. 1 is a flowchart of a display method provided by an embodiment of the present invention. As shown in FIG. 1, the display method includes the following steps:
步骤101、在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备。Step 101: In a case where the first electronic device and the second electronic device establish a shared connection for a target application, share the running interface of the target application to the second electronic device.
需要说明地,本发明实施例提供的显示方法应用于第一电子设备,所述第一电子设备与第二电子设备共享目标应用的运行界面,第一电子设备可以是通过如共享投屏的方式与第二电子设备实现对目标应用的运行界面的共享,所共享的内容可以是包括但不限于文本内容、视频内容、图片内容等。It should be noted that the display method provided by the embodiment of the present invention is applied to a first electronic device, and the first electronic device shares the running interface of the target application with the second electronic device. Realize the sharing of the running interface of the target application with the second electronic device, and the shared content may include, but is not limited to, text content, video content, picture content, and the like.
例如,目标应用的运行界面显示的内容为文本内容,当第一电子设备在显示该文本内容时,可以是通过预设的如投屏按钮,确定共享该文本内容的第二电子设备。For example, the content displayed on the running interface of the target application is text content. When the first electronic device displays the text content, it can be determined by using a preset button such as a screen projection to determine the second electronic device sharing the text content.
可以理解地,本发明实施例中的第一电子设备在其他场景下,也可以是第二电子设备。这样,第一电子设备和第二电子设备的分享的运行界面都会显示该文本内容,此时的显示界面也就是上述目标应用的运行界面;并且,第一电子设备的用户和第二电子设备的用户都可以对该文本内容进行编辑。Understandably, the first electronic device in the embodiment of the present invention may also be the second electronic device in other scenarios. In this way, the shared running interface of the first electronic device and the second electronic device will both display the text content, and the display interface at this time is also the running interface of the above-mentioned target application; and, the user of the first electronic device and the running interface of the second electronic device Users can edit the text content.
需要说明地,第一电子设备和第二电子设备虽然同时显示文本内容,但是可以是分别显示文本内容中的不同区域;例如,所述文本内容包括10页,第一电子设备显示第2页,第二电子设备可以是显示第5页。It should be noted that although the first electronic device and the second electronic device display text content at the same time, they can display different areas of the text content separately; for example, the text content includes 10 pages, and the first electronic device displays the second page. The second electronic device may display the fifth page.
可选地,在一个具体实施方式中,该步骤101具体包括:Optionally, in a specific implementation, this step 101 specifically includes:
在所述第一电子设备和N个第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述N个第二电子设备。In the case that the first electronic device and the N second electronic devices establish a shared connection for the target application, sharing the running interface of the target application to the N second electronic devices.
应当理解的是,第二电子设备的数量可能为一个,也可能为多个,实施时,第一电子设备可以根据需要与一个或多个第二电子设备建立共享连接,以便多个用户同时分享目标应用的运行界面。It should be understood that the number of second electronic devices may be one or multiple. During implementation, the first electronic device may establish a sharing connection with one or more second electronic devices as needed, so that multiple users can share at the same time. The running interface of the target application.
步骤102、接收第一输入。Step 102: Receive a first input.
本发明实施例中,在第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,用户可以在所述共享界面上执行第一输入,以显示目标界面。In the embodiment of the present invention, when the first electronic device and the second electronic device establish a shared connection for the target application, the user may perform the first input on the sharing interface to display the target interface.
步骤103、响应于所述第一输入,显示目标界面,所述目标界面包括所 述第二电子设备在所述运行界面输入的内容。Step 103: In response to the first input, display a target interface, the target interface including content input by the second electronic device on the running interface.
可以理解地,第一电子设备基于第一输入显示目标界面后,则在目标界面显示第二电子设备在所分享的运行界面输入的内容,第二电子设备在运行界面输入的内容同步显示在第一电电子设备和第二电子设备所分享的运行界面。Understandably, after the first electronic device displays the target interface based on the first input, the content input by the second electronic device on the shared running interface is displayed on the target interface, and the content input by the second electronic device on the running interface is simultaneously displayed in the first The operating interface shared by the first electronic device and the second electronic device.
例如,所述多媒体内容为文本内容,当用户通过第二电子设备在文本内容的第2页输入信息,即上述运行界面为文本内容的第2页,则在第一电子设备显示的目标界面中显示文本内容的第2页时,会在该第2页显示第二电子设备在该页输入的内容。For example, the multimedia content is text content. When the user inputs information on the second page of the text content through the second electronic device, that is, the running interface is the second page of the text content, then the target interface displayed on the first electronic device When the second page of the text content is displayed, the content input by the second electronic device on the page is displayed on the second page.
这样,也就使得第一电子设备的用户能够看到第二电子设备用户在目标应用的运行界面上输入的内容,无需借助其他的交流方式,通过共享的运行界面即能实现互动交流,简化了操作流程,也给用户带来更好的电子设备使用体验。In this way, the user of the first electronic device can see the content entered by the user of the second electronic device on the running interface of the target application, without having to resort to other communication methods, and interactive communication can be realized through the shared running interface, which simplifies The operation process also brings a better electronic device experience to users.
可选地,该方法还包括步骤:Optionally, the method further includes the steps:
显示目标控件。The target control is displayed.
该目标控件主要用于提示第一电子设备的用户,存在来自第二电子设备的输入信息,以便能够根据该目标控件方便快捷的触发对于第二电子设备在运行界面输入的内容的显示。The target control is mainly used to prompt the user of the first electronic device that there is input information from the second electronic device, so that the display of the content input by the second electronic device on the running interface can be triggered conveniently and quickly according to the target control.
相应的,上述步骤102具体包括,接收针对所述目标控件的第一输入。Correspondingly, the foregoing step 102 specifically includes receiving a first input for the target control.
以该第一输入为触控输入、目标控件为一个提示气泡为例说明,当存在第二电子设备在共享的运行界面上输入的内容时,在第一电子设备上显示一个提示气泡,当第一电子设备接收到针对该提示气泡的触控输入时,则显示目标界面,目标界面至少包括上述第二电子设备在共享的运行界面上输入的内容。Taking the first input as touch input and the target control as a prompt bubble as an example, when there is content input by the second electronic device on the shared running interface, a prompt bubble is displayed on the first electronic device. When an electronic device receives a touch input for the prompt bubble, it displays a target interface, and the target interface includes at least the content input by the second electronic device on the shared running interface.
可选地,上述显示目标控件,包括:Optionally, the foregoing display target control includes:
在所述第二电子设备在所述运行界面触发输入的情况下,在所述第一电子设备显示与所述第二电子设备对应的目标控件。When the second electronic device triggers an input on the running interface, the first electronic device displays a target control corresponding to the second electronic device.
应当理解的是,第二电子设备的数量可能为一个,也可能为多个。在第二电子设备为一个的情况下,显然,所显示的目标控件必然为与该第二电子 设备相对应的目标控件。It should be understood that the number of second electronic devices may be one or more. In the case of one second electronic device, obviously, the displayed target control must be the target control corresponding to the second electronic device.
相应的,在一个可选地具体实施方式中,上述步骤103包括:Correspondingly, in an optional specific implementation manner, the foregoing step 103 includes:
显示目标界面,所述目标界面包括所述第二电子设备中目标电子设备在所述运行界面输入的内容;Displaying a target interface, the target interface including the content input by the target electronic device in the running interface in the second electronic device;
其中,所述目标电子设备为与所述第一输入对应的电子设备。Wherein, the target electronic device is an electronic device corresponding to the first input.
在第二电子设备的数量为多个的情况下,可以显示与每一第二电子设备相对应的目标控件,以区分不同的第二电子设备输入的内容。In the case where there are multiple second electronic devices, the target control corresponding to each second electronic device may be displayed to distinguish the content input by different second electronic devices.
具体的,可以通过在目标控件上显示与每一第二电子设备相对应的用户名的方式,显示与每一第二电子设备相对应的目标控件,例如,如果需要查看张XX对应的第二电子设备上输入的内容,则针对张XX对应的目标控件执行第一输入,本实施例中具体为触控张XX对应的提示气泡,此时,张XX对应的第二电子设备则为选中的目标电子设备,进一步的,显示张XX对应的第二电子设备上输入的内容。Specifically, the user name corresponding to each second electronic device can be displayed on the target control to display the target control corresponding to each second electronic device. For example, if you need to view the second corresponding to Zhang XX For the content entered on the electronic device, the first input is performed for the target control corresponding to Zhang XX. In this embodiment, it is specifically touching the prompt bubble corresponding to Zhang XX. At this time, the second electronic device corresponding to Zhang XX is selected The target electronic device, further, displays the content input on the second electronic device corresponding to Zhang XX.
这样,通过显示目标电子设备对应的目标控件,能够便于区分内容的来源,提高沟通的便利程度。In this way, by displaying the target control corresponding to the target electronic device, the source of the content can be easily distinguished, and the convenience of communication can be improved.
下面,以第一电子设备和第二电子设备分享的运行界面上显示文本内容(如word文本、PDF文本等)为例做进一步说明。In the following, the text content (such as word text, PDF text, etc.) displayed on the running interface shared by the first electronic device and the second electronic device is taken as an example for further explanation.
如图1a所示,当接收到文本内容进行滑动操作(如图1a所示),第一电子设备能够在预设区域显示缩略图,图1a中以在共享界面的右侧显示缩略图11为例说明,缩略图11可以是将整个文本内容以较小字体显示,缩略图11中可以对共享界面当前显示内容的部分突出显示,以方便用户能够更加直观地获知当前显示内容在整个文本内容中的位置,方便用户搜寻想要查看的内容。As shown in Figure 1a, when the text content is received for a sliding operation (as shown in Figure 1a), the first electronic device can display thumbnails in a preset area. In Figure 1a, thumbnail 11 is displayed on the right side of the sharing interface. For example, the thumbnail 11 can display the entire text content in a smaller font, and the thumbnail 11 can highlight the part of the current display content of the sharing interface, so that the user can more intuitively know that the current display content is in the entire text content , It is convenient for users to search for the content they want to view.
接下来,如图1b和图1c所示,可以在右上角显示菜单按钮12,用户可以是触发该菜单按钮12,进而显示下拉菜单13,该下拉菜单13显示当前共享该多媒体内容的所有第二电子设备名单,该名单可以是通过共享投屏应用程序查询获得;第一输入可以是指作用在该下拉菜单上的触发操作,例如用户单击下拉菜单中的“李XX”,进而也就将李XX对应的第二电子设备确定为目标电子设备。Next, as shown in Figure 1b and Figure 1c, a menu button 12 can be displayed in the upper right corner. The user can trigger the menu button 12, and then display a drop-down menu 13, which displays all the second A list of electronic devices, which can be obtained by querying shared screencasting applications; the first input can refer to a trigger operation acting on the drop-down menu, for example, the user clicks "Li XX" in the drop-down menu, and then The second electronic device corresponding to Li XX is determined to be the target electronic device.
并且,在确定目标电子设备后,可以通过共享投屏应用程序确定目标电子设备在共享界面输入的内容。Moreover, after the target electronic device is determined, the content input by the target electronic device on the sharing interface can be determined through the shared screen application.
可选地,第一电子设备在显示共享界面以及目标电子设备输入的内容时,同时显示目标电子设备的身份信息,如图1d所示,显示用户名称“李XX”。这样,也就进一步保障第一电子设备用户能够确定输入该内容的目标电子设备。Optionally, when the first electronic device displays the sharing interface and the content input by the target electronic device, it also displays the identity information of the target electronic device. As shown in FIG. 1d, the user name "LiXX" is displayed. In this way, it is further ensured that the user of the first electronic device can determine the target electronic device for inputting the content.
进一步的,在预设时间后,还可以取消显示该目标电子设备输入的内容。Further, after a preset time, the content input by the target electronic device can also be cancelled.
例如,所述预设时间为10秒,那么第一电子设备在显示互动信息10秒后,则不会再显示该目标电子设备输入的内容。这样,能够避免因互动信息较多时导致多媒体内容显示界面出现杂乱无章的情况,防止互动信息显示时间过程而对用户阅览多媒体内容造成干扰,确保多媒体内容显示的美观性。For example, if the preset time is 10 seconds, the first electronic device will no longer display the content input by the target electronic device after displaying the interactive information for 10 seconds. In this way, it is possible to prevent the multimedia content display interface from being messy when there is a lot of interactive information, prevent the interactive information display time course from causing interference to the user's viewing of the multimedia content, and ensure the aesthetics of the multimedia content display.
本发明实施例提供的技术方案,第一电子设备在显示多媒体内容的共享界面的情况下,接收作用在所述共享界面上的第一输入;响应于所述第一输入,确定所述多媒体内容中的目标内容;接收用户输入的互动信息,并在所述共享界面的显示所述目标内容的区域显示所述互动信息;其中,所述第一电子设备与第二电子设备共享所述多媒体内容,所述互动信息同步显示在所述第二电子设备共享界面的显示所述目标内容的区域。这样,也就使得电子设备在进行多媒体内容共享时,无需借助其他的交流方式,通过多媒体内容的共享界面即能实现互动交流,简化了操作流程,也给用户带来更好的电子设备使用体验。According to the technical solution provided by the embodiment of the present invention, the first electronic device receives a first input acting on the sharing interface when displaying a multimedia content sharing interface; in response to the first input, determining the multimedia content Receive the interactive information input by the user, and display the interactive information in the area where the target content of the sharing interface is displayed; wherein the first electronic device and the second electronic device share the multimedia content , The interactive information is synchronously displayed in the area where the target content is displayed on the sharing interface of the second electronic device. In this way, when electronic devices are sharing multimedia content, interactive communication can be realized through the multimedia content sharing interface without using other communication methods, which simplifies the operation process and brings users a better electronic device experience. .
请参见图2,图2是本发明实施例提供的另一种显示方法的流程图,如图2所示,所述显示方法包括以下步骤:Please refer to FIG. 2. FIG. 2 is a flowchart of another display method provided by an embodiment of the present invention. As shown in FIG. 2, the display method includes the following steps:
步骤201、在所述第二电子设备和第一电子设备建立针对目标应用的共享连接的情况下,接收所述第一电子设备发送的所述目标应用的运行界面。Step 201: When the second electronic device and the first electronic device establish a shared connection for the target application, receive the running interface of the target application sent by the first electronic device.
需要说明地,本发明实施例提供的显示方法应用于第二电子设备,第一电子设备为与第二电子设备共享显示所述多媒体内容的电子设备。It should be noted that the display method provided by the embodiment of the present invention is applied to a second electronic device, and the first electronic device is an electronic device that shares the multimedia content with the second electronic device.
共享界面可以是第一电子设备通过如共享投屏的发起与第二电子设备的投屏共享,进而第二电子设备会同时显示第一电子设备当前显示的目标应用的运行界面。The sharing interface may be the screen sharing of the first electronic device with the second electronic device through the initiation of, for example, sharing the screen, and then the second electronic device will simultaneously display the running interface of the target application currently displayed by the first electronic device.
运行界面上显示的内容可以是文本内容、视频内容、图片内容等。可以理解地,本发明实施例中的第二电子设备并非特指,第二电子设备在其他场景下也可以是第一电子设备。The content displayed on the running interface can be text content, video content, picture content, etc. It is understandable that the second electronic device in the embodiment of the present invention is not specifically mentioned, and the second electronic device may also be the first electronic device in other scenarios.
步骤202、在所述第二电子设备在所述运行界面触发输入的情况下,发送消息至所述第一电子设备,以使所述第一电子设备显示与所述第二电子设备对应的目标控件。Step 202: In the case that the second electronic device triggers input on the running interface, send a message to the first electronic device so that the first electronic device displays the target corresponding to the second electronic device Control.
本步骤中,在所述运行界面触发输入的情况下,向第一电子设备发送消息,进而以使第一电子设备显示与第二电子设备对应的目标控件,以使得第一电子设备能够快速获知第二电子设备在目标应用上输入了内容,方便第二电子设备与第一电子设备通过目标应用进行交流。In this step, when the input is triggered by the running interface, a message is sent to the first electronic device, so that the first electronic device displays the target control corresponding to the second electronic device, so that the first electronic device can quickly learn The second electronic device inputs content on the target application, which facilitates communication between the second electronic device and the first electronic device through the target application.
第一电子设备显示目标控件的具体方式可以是参考图1所述实施例中的描述,本发明实施例对此不再赘述。The specific manner for the first electronic device to display the target control may refer to the description in the embodiment shown in FIG. 1, which will not be repeated in the embodiment of the present invention.
本发明实施例中,第二电子设备在与第一电子设备建立针对目标应用的共享连接的情况下,接收第一电子设备发送的所述目标应用的运行界面;在所述第二电子设备在所述运行界面触发输入的情况下,发送消息至所述第一电子设备,以使所述第一电子设备显示与所述第二电子设备对应的目标控件。这样,也就使得电子设备在进行多媒体内容共享时,无需借助其他的交流方式,通过多媒体内容的共享界面即能实现互动交流,简化了操作流程,也给用户带来更好的电子设备使用体验。In the embodiment of the present invention, when the second electronic device establishes a shared connection for the target application with the first electronic device, it receives the running interface of the target application sent by the first electronic device; In the case that the running interface triggers the input, a message is sent to the first electronic device, so that the first electronic device displays the target control corresponding to the second electronic device. In this way, when electronic devices are sharing multimedia content, interactive communication can be realized through the multimedia content sharing interface without using other communication methods, which simplifies the operation process and brings users a better electronic device experience. .
请参见图3,图3是本发明实施例提供的一种电子设备的结构图,所述电子设备为第一电子设备。Please refer to FIG. 3, which is a structural diagram of an electronic device according to an embodiment of the present invention, and the electronic device is a first electronic device.
如图3所示,所述电子设备300包括:As shown in FIG. 3, the electronic device 300 includes:
分享模块301,用于在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备;The sharing module 301 is configured to share the running interface of the target application to the second electronic device when the first electronic device and the second electronic device establish a shared connection for the target application;
接收模块301,用于接收第一输入;The receiving module 301 is configured to receive the first input;
第一显示模块303,用于响应于所述第一输入,显示目标界面,所述目标界面包括所述第二电子设备在所述运行界面输入的内容。The first display module 303 is configured to display a target interface in response to the first input, and the target interface includes content input by the second electronic device on the running interface.
可选地,还包括:Optionally, it also includes:
第二显示模块,用于显示目标控件;The second display module is used to display the target control;
所述接收模块301具体用于:The receiving module 301 is specifically configured to:
接收针对所述目标控件的第一输入。Receive a first input for the target control.
可选地,所述第二显示模块具体用于:Optionally, the second display module is specifically configured to:
在所述第二电子设备在所述运行界面触发输入的情况下,在所述第一电子设备显示与所述第二电子设备对应的目标控件。When the second electronic device triggers an input on the running interface, the first electronic device displays a target control corresponding to the second electronic device.
可选地,在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,所述分享模块301具体用于:Optionally, when the first electronic device and the second electronic device establish a shared connection for the target application, the sharing module 301 is specifically configured to:
在所述第一电子设备和N个第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述N个第二电子设备;Sharing the running interface of the target application to the N second electronic devices when the first electronic device and the N second electronic devices establish a shared connection for the target application;
可选地,所述第一显示模块303具体用于:Optionally, the first display module 303 is specifically configured to:
显示目标界面,所述目标界面包括所述第二电子设备中目标电子设备在所述运行界面输入的内容;Displaying a target interface, the target interface including the content input by the target electronic device in the running interface in the second electronic device;
其中,所述目标电子设备为与所述第一输入对应的电子设备。Wherein, the target electronic device is an electronic device corresponding to the first input.
需要说明的是,电子设备300能够实现图1所述的显示方法实施例的各个过程,并能达到相同的技术效果,为避免重复,这里不再赘述。It should be noted that the electronic device 300 can implement each process of the embodiment of the display method described in FIG. 1 and achieve the same technical effect. In order to avoid repetition, details are not repeated here.
本发明实施例提供的技术方案,使得电子设备在进行多媒体内容共享时,无需借助其他的交流方式,通过多媒体内容的共享界面即能实现互动交流,简化了操作流程,也给用户带来更好的电子设备使用体验。The technical solutions provided by the embodiments of the present invention enable electronic devices to share multimedia content without resorting to other communication methods. Interactive communication can be realized through the multimedia content sharing interface, which simplifies the operation process and brings better users. Experience of using electronic equipment.
请参见图4,图4是本发明实施例提供的另一种电子设备的结构图,所述电子设备为第二电子设备。如图4所示,所述电子设备400包括:Please refer to FIG. 4, which is a structural diagram of another electronic device according to an embodiment of the present invention, and the electronic device is a second electronic device. As shown in FIG. 4, the electronic device 400 includes:
接收模块401,用于在所述第二电子设备和第一电子设备建立针对目标应用的共享连接的情况下,接收所述第一电子设备发送的所述目标应用的运行界面;The receiving module 401 is configured to receive the running interface of the target application sent by the first electronic device when the second electronic device and the first electronic device establish a shared connection for the target application;
发送模块402,用于在所述第二电子设备在所述运行界面触发输入的情况下,发送消息至所述第一电子设备,以使所述第一电子设备显示与所述第二电子设备对应的目标控件。The sending module 402 is configured to send a message to the first electronic device when the second electronic device triggers an input on the running interface, so that the first electronic device displays the same information as the second electronic device The corresponding target control.
需要说明的是,电子设备400能够实现图2所述的显示方法实施例的各个过程,并能达到相同的技术效果,为避免重复,这里不再赘述。It should be noted that the electronic device 400 can implement each process of the embodiment of the display method described in FIG. 2 and can achieve the same technical effect. To avoid repetition, details are not described herein again.
本发明实施例提供的技术方案,使得电子设备在进行多媒体内容共享时,无需借助其他的交流方式,通过多媒体内容的共享界面即能实现互动交流,简化了操作流程,也给用户带来更好的电子设备使用体验。The technical solutions provided by the embodiments of the present invention enable electronic devices to share multimedia content without resorting to other communication methods. Interactive communication can be realized through the multimedia content sharing interface, which simplifies the operation process and brings better users. Experience of using electronic equipment.
请参照图5,图5为实现本发明实施例的另一种电子设备的结构图。如图5所示,电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Please refer to FIG. 5, which is a structural diagram of another electronic device implementing an embodiment of the present invention. As shown in FIG. 5, the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, The processor 510, and the power supply 511 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiment of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
在本实施例的一种实施方式中,电子设备500能够实现图1所述的显示方法实施例的各个过程,并能达到相同的技术效果。In an implementation of this embodiment, the electronic device 500 can implement each process of the display method embodiment described in FIG. 1 and achieve the same technical effect.
该实施方式中,处理器510,用于:In this implementation manner, the processor 510 is configured to:
在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备;Sharing the running interface of the target application to the second electronic device when the first electronic device and the second electronic device establish a shared connection for the target application;
接收第一输入;Receive the first input;
响应于所述第一输入,显示目标界面,所述目标界面包括所述第二电子设备在所述运行界面输入的内容。可选地,处理器510,还用于:In response to the first input, a target interface is displayed, and the target interface includes content input by the second electronic device on the running interface. Optionally, the processor 510 is further configured to:
显示目标控件;Show target control;
处理器510,在执行所述接收第一输入的步骤时,具体用于:The processor 510, when executing the step of receiving the first input, is specifically configured to:
接收针对所述目标控件的第一输入。Receive a first input for the target control.
可选地,处理器510,用于:Optionally, the processor 510 is configured to:
在所述第二电子设备在所述运行界面触发输入的情况下,在所述第一电子设备显示与所述第二电子设备对应的目标控件。When the second electronic device triggers an input on the running interface, the first electronic device displays a target control corresponding to the second electronic device.
可选地,处理器510,在执行在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备的步骤时,具体用于:Optionally, the processor 510 is configured to share the running interface of the target application to the second electronic device in the case where the shared connection for the target application is established between the first electronic device and the second electronic device. When step, it is specifically used for:
在所述第一电子设备和N个第二电子设备建立针对目标应用的共享连接 的情况下,将所述目标应用的运行界面分享至所述N个第二电子设备;In the case that the first electronic device and the N second electronic devices establish a shared connection for the target application, sharing the running interface of the target application to the N second electronic devices;
可选地,处理器510,在执行所述显示目标界面,所述目标界面包括所述第二电子设备在所述运行界面输入的内容的步骤时,具体用于:Optionally, the processor 510, when executing the step of displaying the target interface, the target interface including the content input by the second electronic device on the running interface, is specifically configured to:
显示目标界面,所述目标界面包括所述第二电子设备中目标电子设备在所述运行界面输入的内容;Displaying a target interface, the target interface including the content input by the target electronic device in the running interface in the second electronic device;
其中,所述目标电子设备为与所述第一输入对应的电子设备。Wherein, the target electronic device is an electronic device corresponding to the first input.
在本发明实施例的另一种实施方式中,电子设备500能够实现图2所述的显示方法实施例的各个过程,并能达到相同的技术效果。In another implementation manner of the embodiment of the present invention, the electronic device 500 can implement each process of the embodiment of the display method described in FIG. 2 and achieve the same technical effect.
本实施方式中,处理器510,用于:In this embodiment, the processor 510 is configured to:
在所述第二电子设备和第一电子设备建立针对目标应用的共享连接的情况下,接收所述第一电子设备发送的所述目标应用的运行界面;In the case that the second electronic device and the first electronic device establish a shared connection for the target application, receiving the running interface of the target application sent by the first electronic device;
在所述第二电子设备在所述运行界面触发输入的情况下,发送消息至所述第一电子设备,以使所述第一电子设备显示与所述第二电子设备对应的目标控件。When the second electronic device triggers an input on the running interface, sending a message to the first electronic device, so that the first electronic device displays the target control corresponding to the second electronic device.
应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 can be used to receive and send signals during information transmission or communication. Specifically, the downlink data from the base station is received and processed by the processor 510; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 501 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 501 can also communicate with the network and other devices through a wireless communication system.
电子设备500通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device 500 provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The audio output unit 503 can convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静 态图像或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它计算机可读存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used to receive audio or video signals. The input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042. The graphics processor 5041 is configured to monitor the still images or video images obtained by an image capture device (such as a camera) in the video capture mode or the image capture mode. Data is processed. The processed image frame may be displayed on the display unit 506. The image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other computer-readable storage medium) or sent via the radio frequency unit 501 or the network module 502. The microphone 5042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.
电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5051的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5051和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 500 further includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 5051 according to the brightness of the ambient light. The proximity sensor can close the display panel 5051 and the display panel 5051 when the electronic device 500 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5051,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5051。The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5051, and the display panel 5051 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备500的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可 以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 507 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the electronic device 500. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 5071 or near the touch panel 5071. operating). The touch panel 5071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 510, the command sent by the processor 510 is received and executed. In addition, the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may also include other input devices 5072. Specifically, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板5071可覆盖在显示面板5051上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5051上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5051是作为两个独立的部件来实现电子设备500的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5051集成而实现电子设备500的输入和输出功能,具体此处不做限定。Further, the touch panel 5071 can cover the display panel 5051. When the touch panel 5071 detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 5051. Although in FIG. 5, the touch panel 5071 and the display panel 5051 are used as two independent components to implement the input and output functions of the electronic device 500, in some embodiments, the touch panel 5071 and the display panel 5051 can be combined. The input and output functions of the electronic device 500 are realized by integration, which is not specifically limited here.
接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device and the electronic device 500. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 508 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 500 or can be used to connect the electronic device 500 to an external device. Transfer data between devices.
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 can be used to store software programs and various data. The memory 509 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 509 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器510是电子设备500的控制中心,利用各种接口和线路连接整个电子设备500的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备500的各种功能和处理数据,从而对电子设备500进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理 器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 is the control center of the electronic device 500. It uses various interfaces and lines to connect the various parts of the entire electronic device 500, runs or executes the software programs and/or modules stored in the memory 509, and calls and stores them in the memory 509. , Execute various functions of the electronic device 500 and process data, so as to monitor the electronic device 500 as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 500 may also include a power source 511 (such as a battery) for supplying power to various components. Preferably, the power source 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备500包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 500 includes some functional modules not shown, which will not be repeated here.
可选地,本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor. The computer program is executed by the processor to implement the above display method. Each process of the embodiment can achieve the same technical effect, and in order to avoid repetition, it will not be repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned display method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. It should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (16)

  1. 一种显示方法,应用于第一电子设备,包括:A display method, applied to a first electronic device, includes:
    在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备;Sharing the running interface of the target application to the second electronic device when the first electronic device and the second electronic device establish a shared connection for the target application;
    接收第一输入;Receive the first input;
    响应于所述第一输入,显示目标界面,所述目标界面包括所述第二电子设备在所述运行界面输入的内容。In response to the first input, a target interface is displayed, and the target interface includes content input by the second electronic device on the running interface.
  2. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    显示目标控件;Show target control;
    所述接收第一输入,包括:The receiving the first input includes:
    接收针对所述目标控件的第一输入。Receive a first input for the target control.
  3. 根据权利要求2所述的方法,其中,所述显示目标控件,包括:The method according to claim 2, wherein said displaying the target control comprises:
    在所述第二电子设备在所述运行界面触发输入的情况下,在所述第一电子设备显示与所述第二电子设备对应的目标控件。When the second electronic device triggers an input on the running interface, the first electronic device displays a target control corresponding to the second electronic device.
  4. 根据权利要求1所述的方法,其中,在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备,包括:The method according to claim 1, wherein, in the case that the first electronic device and the second electronic device establish a shared connection for the target application, sharing the running interface of the target application to the second electronic device ,include:
    在所述第一电子设备和N个第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述N个第二电子设备;Sharing the running interface of the target application to the N second electronic devices when the first electronic device and the N second electronic devices establish a shared connection for the target application;
  5. 根据权利要求4所述的方法,其中,所述显示目标界面,所述目标界面包括所述第二电子设备在所述运行界面输入的内容,包括:The method according to claim 4, wherein the displaying the target interface, the target interface including content input by the second electronic device on the running interface, comprises:
    显示目标界面,所述目标界面包括所述第二电子设备中目标电子设备在所述运行界面输入的内容;Displaying a target interface, the target interface including the content input by the target electronic device in the running interface in the second electronic device;
    其中,所述目标电子设备为与所述第一输入对应的电子设备。Wherein, the target electronic device is an electronic device corresponding to the first input.
  6. 一种显示方法,应用于第二电子设备,包括:A display method, applied to a second electronic device, includes:
    在所述第二电子设备和第一电子设备建立针对目标应用的共享连接的情况下,接收所述第一电子设备发送的所述目标应用的运行界面;In the case that the second electronic device and the first electronic device establish a shared connection for the target application, receiving the running interface of the target application sent by the first electronic device;
    在所述第二电子设备在所述运行界面触发输入的情况下,发送消息至所 述第一电子设备,以使所述第一电子设备显示与所述第二电子设备对应的目标控件。In the case that the second electronic device triggers an input on the running interface, a message is sent to the first electronic device, so that the first electronic device displays the target control corresponding to the second electronic device.
  7. 一种电子设备,所述电子设备为第一电子设备,包括:An electronic device, the electronic device being a first electronic device, comprising:
    分享模块,用于在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述第二电子设备;A sharing module, configured to share the running interface of the target application to the second electronic device when the first electronic device and the second electronic device establish a shared connection for the target application;
    接收模块,用于接收第一输入;A receiving module for receiving the first input;
    第一显示模块,用于响应于所述第一输入,显示目标界面,所述目标界面包括所述第二电子设备在所述运行界面输入的内容。The first display module is configured to display a target interface in response to the first input, and the target interface includes content input by the second electronic device on the running interface.
  8. 根据权利要求7所述的电子设备,还包括:The electronic device according to claim 7, further comprising:
    第二显示模块,用于显示目标控件;The second display module is used to display the target control;
    所述接收模块还用于:The receiving module is also used for:
    接收针对所述目标控件的第一输入。Receive a first input for the target control.
  9. 根据权利要求8所述的电子设备,其中,所述第二显示模块还用于:The electronic device according to claim 8, wherein the second display module is further used for:
    在所述第二电子设备在所述运行界面触发输入的情况下,在所述第一电子设备显示与所述第二电子设备对应的目标控件。When the second electronic device triggers an input on the running interface, the first electronic device displays a target control corresponding to the second electronic device.
  10. 根据权利要求7所述的电子设备,其中,在所述第一电子设备和第二电子设备建立针对目标应用的共享连接的情况下,所述分享模块还用于:8. The electronic device according to claim 7, wherein, in the case that the first electronic device and the second electronic device establish a shared connection for the target application, the sharing module is further configured to:
    在所述第一电子设备和N个第二电子设备建立针对目标应用的共享连接的情况下,将所述目标应用的运行界面分享至所述N个第二电子设备;Sharing the running interface of the target application to the N second electronic devices when the first electronic device and the N second electronic devices establish a shared connection for the target application;
  11. 根据权利要求10所述的电子设备,其中,所述第一显示模块还用于:The electronic device according to claim 10, wherein the first display module is further used for:
    显示目标界面,所述目标界面包括所述第二电子设备中目标电子设备在所述运行界面输入的内容;Displaying a target interface, the target interface including the content input by the target electronic device in the running interface in the second electronic device;
    其中,所述目标电子设备为与所述第一输入对应的电子设备。Wherein, the target electronic device is an electronic device corresponding to the first input.
  12. 一种电子设备,所述电子设备为第二电子设备,包括:An electronic device, the electronic device being a second electronic device, including:
    接收模块,用于在所述第二电子设备和第一电子设备建立针对目标应用的共享连接的情况下,接收所述第一电子设备发送的所述目标应用的运行界面;A receiving module, configured to receive the running interface of the target application sent by the first electronic device when the second electronic device and the first electronic device establish a shared connection for the target application;
    发送模块,用于在所述第二电子设备在所述运行界面触发输入的情况下,发送消息至所述第一电子设备,以使所述第一电子设备显示与所述第二电子 设备对应的目标控件。The sending module is configured to send a message to the first electronic device when the second electronic device triggers input on the running interface, so that the first electronic device displays that it corresponds to the second electronic device The target control.
  13. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的显示方法的步骤;或者,所述计算机程序被所述处理器执行时实现如权利要求6所述的显示方法的步骤。An electronic device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement any of claims 1 to 5 One of the steps of the display method; or, when the computer program is executed by the processor, the steps of the display method according to claim 6 are implemented.
  14. 一种计算机可读存储介质,其上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的显示方法的步骤,或者,如权利要求6所述的显示方法的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the display method according to any one of claims 1 to 5 are realized, or, as described in claim 6 Show the steps of the method.
  15. 一种电子设备,其中,所述电子设备用于执行如权利要求1-5任一项所述的显示方法的步骤,或者,如权利要求6所述的显示方法的步骤。An electronic device, wherein the electronic device is used to execute the steps of the display method according to any one of claims 1-5, or the steps of the display method according to claim 6.
  16. 一种计算机程序产品,其中,所述程序产品被至少一个处理器执行以实现如权利要求1-5任一项所述的显示方法的步骤,或者,如权利要求6所述的显示方法的步骤。A computer program product, wherein the program product is executed by at least one processor to implement the steps of the display method according to any one of claims 1 to 5, or the steps of the display method according to claim 6 .
PCT/CN2020/131034 2019-11-29 2020-11-24 Display method and electronic device WO2021104232A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911203492.3 2019-11-29
CN201911203492.3A CN111061446A (en) 2019-11-29 2019-11-29 Display method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021104232A1 true WO2021104232A1 (en) 2021-06-03

Family

ID=70299268

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/131034 WO2021104232A1 (en) 2019-11-29 2020-11-24 Display method and electronic device

Country Status (2)

Country Link
CN (1) CN111061446A (en)
WO (1) WO2021104232A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061446A (en) * 2019-11-29 2020-04-24 维沃移动通信有限公司 Display method and electronic equipment
CN113138786B (en) * 2021-04-25 2023-05-23 维沃移动通信有限公司 Application updating method and device
CN115396245A (en) * 2022-08-22 2022-11-25 维沃移动通信有限公司 Content sharing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150134737A1 (en) * 2013-11-13 2015-05-14 Microsoft Corporation Enhanced collaboration services
CN104965637A (en) * 2015-06-23 2015-10-07 百度在线网络技术(北京)有限公司 Interface operation implementing method and device
CN105579985A (en) * 2013-09-27 2016-05-11 三星电子株式会社 Method and device for sharing content
CN111061446A (en) * 2019-11-29 2020-04-24 维沃移动通信有限公司 Display method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075448A (en) * 2009-11-24 2011-05-25 英业达股份有限公司 Method for realizing instant messaging interface
KR101943987B1 (en) * 2011-12-06 2019-04-17 삼성전자주식회사 System and method for sharing page by device
CN103984579B (en) * 2014-05-30 2018-04-13 满金标 More equipment rooms share the method for current application program real-time running state
CN109918345B (en) * 2019-02-22 2023-11-03 腾讯科技(深圳)有限公司 Document processing method, device, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105579985A (en) * 2013-09-27 2016-05-11 三星电子株式会社 Method and device for sharing content
US20150134737A1 (en) * 2013-11-13 2015-05-14 Microsoft Corporation Enhanced collaboration services
CN104965637A (en) * 2015-06-23 2015-10-07 百度在线网络技术(北京)有限公司 Interface operation implementing method and device
CN111061446A (en) * 2019-11-29 2020-04-24 维沃移动通信有限公司 Display method and electronic equipment

Also Published As

Publication number Publication date
CN111061446A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
WO2021098678A1 (en) Screencast control method and electronic device
EP3691235A1 (en) Display method and mobile terminal
WO2021088720A1 (en) Information sending method and electronic device
WO2021136159A1 (en) Screenshot method and electronic device
WO2020020126A1 (en) Information processing method and terminal
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
WO2021104232A1 (en) Display method and electronic device
WO2021098705A1 (en) Display method and electronic device
WO2020186964A1 (en) Audio signal outputting method and terminal device
WO2020238497A1 (en) Icon moving method and terminal device
US11354017B2 (en) Display method and mobile terminal
WO2020151513A1 (en) Information processing method and terminal device
WO2020220999A1 (en) Screenshot method and terminal device
WO2020259091A1 (en) Screen content display method and terminal
WO2019223569A1 (en) Information processing method and mobile terminal
WO2020156118A1 (en) Management method and terminal apparatus
WO2020156123A1 (en) Information processing method and terminal device
WO2021057290A1 (en) Information control method and electronic device
WO2020199986A1 (en) Video call method and terminal device
WO2019228296A1 (en) Display processing method and terminal device
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
WO2019154360A1 (en) Interface switching method and mobile terminal
WO2020020213A1 (en) Information input method and terminal
WO2021115220A1 (en) Information sharing method, electronic device and computer-readable storage medium
WO2021129818A1 (en) Video playback method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20891758

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20891758

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20.01.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20891758

Country of ref document: EP

Kind code of ref document: A1