WO2024078514A1 - 投屏方法、装置、电子设备和存储介质 - Google Patents

投屏方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2024078514A1
WO2024078514A1 PCT/CN2023/123879 CN2023123879W WO2024078514A1 WO 2024078514 A1 WO2024078514 A1 WO 2024078514A1 CN 2023123879 W CN2023123879 W CN 2023123879W WO 2024078514 A1 WO2024078514 A1 WO 2024078514A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
display screen
display
screen
electronic device
Prior art date
Application number
PCT/CN2023/123879
Other languages
English (en)
French (fr)
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 WO2024078514A1 publication Critical patent/WO2024078514A1/zh

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Definitions

  • the present application belongs to the field of display technology, and specifically relates to a screen projection method, device, electronic device and storage medium.
  • the screen projection function in the related technology is to project all the display contents on the display screen of the electronic device to the target electronic device for display.
  • the display contents corresponding to the user operation will be synchronously projected to the target electronic device for display, which affects other people's viewing of the display contents projected on the target electronic device.
  • the purpose of the embodiments of the present application is to provide a screen projection method, device, electronic device and storage medium, which avoids the user's operation of the screen projection device during the screen projection process, which affects the display of the projection content on the target electronic device.
  • an embodiment of the present application provides a screen projection method, comprising: receiving a first input; in response to the first input, when the first information is displayed on the first display screen of the first electronic device, projecting the first information displayed on the first display screen to a projection window of a second electronic device for display; wherein the first electronic device includes at least two display screens, at least the two display screens include the first display screen, and the content that can be projected to the projection window of the second electronic device is the information displayed on the first display screen.
  • an embodiment of the present application provides a screen projection device, comprising: a receiving module, for receiving a first input; a screen projection module, for, in response to the first input, projecting the first information displayed on the first display screen to a screen projection window of a second electronic device for display when the first information is displayed on the first display screen of the first electronic device; wherein the first electronic device comprises at least two display screens, at least the two display screens include the first display screen, and the content that can be projected to the screen projection window of the second electronic device is the information displayed on the first display screen.
  • an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores The program or instruction running on the processor implements the steps of the method of the first aspect when the program or instruction is executed by the processor.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
  • an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method of the first aspect.
  • an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
  • the first electronic device can transmit the data corresponding to the first information to the second electronic device for display, and the second electronic device displays the first information in the projection window.
  • the screen when the first information is displayed in the projection window of the second electronic device is the same as the screen when the first electronic device displays the first information. That is, during the projection process, the first electronic device projects the first information displayed on the first display screen of the first electronic device, and other information displayed on at least two display screens other than the first display screen will not be projected to the second electronic device, so that the user can display the projection information that needs to be projected through the first display screen, and display other information that does not need to be projected on other display screens.
  • the user projects the screen through the first electronic device, he can also perform other operations through the first electronic device, and the other operations performed by the user will not affect the generation of the first information displayed on the projection screen to the second electronic device, thereby avoiding the user's operation of the projection device during the projection process through the projection device, which affects the display of the projection content on the target electronic device.
  • the first electronic device includes at least two display screens.
  • the information displayed in the projection window of the second electronic device is only the first information displayed in the first display screen, and the information displayed on other display screens except the first display screen among the at least two display screens will not be projected.
  • the user can operate other applications through the other display screens and display other information through the other display screens, and it will not affect the first information projected to the second electronic device.
  • FIG1 is a schematic diagram showing a flow chart of a screen projection method provided in some embodiments of the present application.
  • FIG2 is a schematic diagram showing a display interface of a first electronic device provided in some embodiments of the present application.
  • FIG3 shows a schematic structural diagram of a first electronic device provided in some embodiments of the present application.
  • FIG4 is a schematic diagram showing a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application;
  • FIG5 is a schematic diagram showing a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application;
  • FIG6 is a schematic diagram showing a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application;
  • FIG7 is a schematic diagram showing a second display screen of a first electronic device provided in some embodiments of the present application.
  • FIG8 is a schematic diagram of a second display screen of a first electronic device provided in some embodiments of the present application.
  • FIG9 is a schematic diagram showing a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application.
  • FIG10 is a schematic diagram showing a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application;
  • FIG11 is a schematic diagram showing a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application;
  • FIG12 is a schematic block diagram of a screen projection device provided in some embodiments of the present application.
  • FIG13 shows a structural block diagram of an electronic device provided in some embodiments of the present application.
  • FIG. 14 is a schematic diagram of the hardware structure of an electronic device provided to implement some embodiments of the present application.
  • first, second, etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
  • the first object can be one or more.
  • the character "/" in the specification generally indicates that the objects associated with each other are in an "or" relationship.
  • FIG1 shows a schematic flow chart of the screen projection method provided in some embodiments of the present application. As shown in FIG1 , the screen projection method includes:
  • Step 102 receiving a first input
  • the above-mentioned first input is used to control the first electronic device to enter the projection mode, and the first input can be a first operation.
  • the above-mentioned first input includes but is not limited to: the user's touch input to the first electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs, which can be determined according to actual use requirements, and the embodiments of the present application are not limited.
  • the specific gesture in the embodiment of the present application can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture;
  • the click input in the embodiment of the present application can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input.
  • the above-mentioned first input can be: the user's click input of the projection control displayed on the first display screen of the first electronic device or other display screens of at least two display screens, and can also be the user's folding input of the second display screen.
  • the first electronic device in the embodiment of the present application may be an electronic device having multiple display screens, including but not limited to a folding screen device and a double-sided screen device.
  • FIG2 shows a schematic diagram of a display interface of a first electronic device provided by some embodiments of the present application.
  • the reporting material is displayed on the second display screen 202 of the first electronic device 200.
  • the second display screen 202 is not the same display screen as the first display screen, that is, the second display screen 202 is the other display screen of at least two display screens except the first display screen.
  • the third button 208 After the user clicks the third button 208, it jumps to the screen projection device selection interface, and the device identification 210 of multiple second electronic devices is displayed on the screen projection device selection interface.
  • the "clicking the third button 208" and “clicking any device identification 210" executed by the user are the first inputs executed by the user on the first electronic device 200.
  • Step 104 in response to the first input, when the first display screen of the first electronic device displays the first information, projecting the first information displayed on the first display screen to the projection window of the second electronic device for display;
  • the first electronic device includes at least two display screens, including a first display screen, and the content displayed in the projection window projected to the second electronic device is the information displayed on the first display screen.
  • the first display screen is implemented as a display screen dedicated to screen projection, that is, the data source of the first information projected to the screen projection window of the second electronic device is only the first information displayed on the first display screen.
  • the information displayed on the other display screens except the first display screen among the at least two display screens will not be projected to the second electronic device.
  • the first electronic device In the screen projection window of the sub-device, that is, during the screen projection process, the first electronic device only obtains data from the first display screen and projects the data to the second electronic device.
  • the first information may be all the information in the entire display interface of the first display screen, or the first information may be the information in the interface of a certain application in the first display screen.
  • the first information may be the information in the interface of a certain application in the first display screen.
  • two different applications are run on the first display screen, and the display interfaces of two different applications are displayed on the first display screen.
  • the user may choose to project all the information displayed on the first display screen as the first information to the projection window of the second electronic device, wherein the first information includes not only the display interfaces of the two applications displayed on the first display screen, but also other information displayed on the first display screen.
  • the user may also choose to project the information in one of the display interfaces of the two applications displayed on the first display screen as the first information to the projection window of the second electronic device, wherein the first information only includes the information in the selected display interface, and does not include the rest of the information displayed on the first display screen.
  • the display screen serving as the screen projection data source may be one or more of the multiple display screens, and the user may customize which display screen among the multiple display screens serves as the screen projection data source.
  • the number of first display screens may also be defined by the user according to actual needs.
  • the mobile phone When the first electronic device is a double-sided screen mobile phone, the mobile phone includes two display screens, a front screen and a rear screen.
  • the user can define the front screen as the first display screen.
  • the mobile phone When projecting the screen to the TV through the mobile phone, the mobile phone only projects the information displayed on the front screen to the TV for display.
  • the user can also specify the rear screen as the display screen of the projection data source.
  • the mobile phone only projects the information displayed on the rear screen to the TV for display.
  • the tablet computer when the first electronic device is a tablet computer, the tablet computer includes four display screens, and the user can define two target display screens among the four display screens as the first display screen.
  • the types of projection files corresponding to the two target display screens are defined, and the user defines one of the two target display screens as the display screen for projecting work files, so that when the tablet computer projects work files such as slides, it projects through the target display screen.
  • the user defines the other of the two target display screens as the display screen for projecting entertainment files, so that when the tablet computer projects entertainment files such as movies, it projects through the target display screen.
  • the first information displayed on the first display screen includes but is not limited to: a program interface and a program file of any application of the first display screen.
  • the program interface may include a main interface of the program, a sub-interface, and a display interface for displaying any type of file, such as a playback interface for video files, a display interface for image files, a display interface for text files, and an interface of a certain tab in the main interface of the program.
  • the program file may include at least one of the following: a slide file, a video file, an audio file, a text document, etc.
  • the first electronic device Before the first electronic device starts to project the screen, the first electronic device needs to determine the first display of at least two display screens.
  • the first display screen can be defined by the user. After the user defines the first display screen among the at least two display screens, the first electronic device can record the identification of each display screen among the at least two display screens, so that the first electronic device can determine the first display screen among the at least two display screens before starting screen projection.
  • the first electronic device is able to obtain data corresponding to the first information displayed on the first display screen, and transmit the data corresponding to the first information to the second electronic device, so that the second electronic device can display the first information in the projection window.
  • the first electronic device when the first electronic device includes three display screens and the user defines display screen 2 as the first display screen, the three display screens are display screen 1, display screen 2, and display screen 3.
  • the first electronic device pre-stores the screen numbers p1, p2, and p3 of each display screen.
  • the operation can be performed on the projection data source setting interface.
  • the projection data source setting interface can display three options: "Display Screen 1", "Display Screen 2", and "Display Screen 3". After the user checks the "Display Screen 2" option, the number p2 can be stored as the number of the display screen corresponding to the projection data source.
  • the screen When the screen is subsequently projected, the number p2 is first obtained, and then the information displayed on the display screen 2 corresponding to p2 is obtained, and the subsequent projection process is executed.
  • the first electronic device projects the screen to the second electronic device, the data of the information displayed on the display screen 2 is obtained, and the data corresponding to the information is transmitted to the second electronic device.
  • the second electronic device can display the same information as the display screen 2 in the projection window according to the data.
  • the first electronic device can transmit the data corresponding to the first information to the second electronic device for display, and the second electronic device displays the first information in the projection window.
  • the screen when the first information is displayed in the projection window of the second electronic device is the same as the screen when the first electronic device displays the first information. That is, during the projection process, the first electronic device projects the first information displayed on the first display screen of the first electronic device, and other information displayed on at least two display screens other than the first display screen will not be projected to the second electronic device, so that the user can display the projection information that needs to be projected through the first display screen, and display other information that does not need to be projected on other display screens.
  • the user projects the screen through the first electronic device, he can also perform other operations through the first electronic device, and the other operations performed by the user will not affect the generation of the first information displayed on the projection screen to the second electronic device, thereby avoiding the user's operation of the projection device during the projection process through the projection device, which affects the display of the projection content on the target electronic device.
  • the user needs to project the slide file in the mobile phone to the large-screen device in the conference room for display.
  • the mobile phone is the first electronic device and the large-screen device is the second electronic device.
  • the user controls the mobile phone to establish a communication connection with the large-screen device, and projects the first information displayed on the first display screen of the mobile phone to the projection window of the large-screen device for display.
  • the user can operate the mobile phone to display the conversation interface on the second display screen, and can communicate with other
  • the conversation objects conduct an online conversation
  • the second display screen is the other display screen of at least two display screens except the first display screen.
  • the conversation interface is displayed on the second display screen, and the content in the second display screen will not be projected to the large-screen device for display, and the projection is maintained in the projection window of the large-screen device based on the information displayed on the first display screen, thereby avoiding the leakage of the private content of the user's online conversation.
  • the user needs to cast the video file in the mobile phone to the smart TV for viewing.
  • the mobile phone is the first electronic device and the smart TV is the second electronic device.
  • the user controls the mobile phone to establish a communication connection with the smart TV, and controls the first display screen of the mobile phone to play the video file, and the video file is cast on the smart TV for display.
  • the user can operate the mobile phone to make a video call, and the content of the video call is displayed on the second display screen.
  • the first display screen keeps playing the video file while keeping the screen cast to the smart electronic, that is, the screen cast will not be interrupted during the user's video call.
  • the second display screen is the other display screen except the first display screen among the at least two display screens.
  • the first display screen plays the video file silently, and the audio in the video file is output through the second electronic device.
  • the first electronic device includes at least two display screens, and when the first electronic device displays the first information on the first display screen by projecting the first electronic device to the projection window of the second electronic device, the information displayed in the projection window of the second electronic device is only the first information displayed on the first display screen, and the information displayed on other display screens other than the first display screen among the at least two display screens will not be projected, and the user can operate other applications through the other display screens, display other information through the other display screens, and it will not affect the first information projected to the second electronic device.
  • the at least two display screens include a second display screen, and the second display screen is a foldable screen.
  • FIG3 shows a schematic diagram of the structure of the first electronic device provided by some embodiments of the present application.
  • the first electronic device is a folding screen mobile phone 300
  • the outer screen 302 of the folding screen mobile phone 300 is a first display screen
  • the inner screen 304 of the folding screen mobile phone 300 is a second display screen.
  • the folding screen mobile phone 300 is in a folded state or an unfolded state
  • the outer screen 302 can always display the displayed content to the user.
  • the inner screen 304 is a folding screen.
  • the inner screen 304 is closed.
  • the folding screen mobile phone 300 is in a folded state, the inner screen 304 can be unfolded to display the displayed content to the user.
  • the method further includes:
  • the information content of the first information in the first display screen and the second display screen is updated in response to the second input, and the updated first information displayed in the first display screen is projected onto the projection window of the second electronic device for display.
  • the first angle range may be 90° to 180°, that is, the second display screen is in an unfolded state.
  • the mobile phone when a user is conducting an offline meeting, the mobile phone is used to project a slide file to a large-screen device.
  • the mobile phone is the first electronic device
  • the large-screen device is the second electronic device.
  • the external screen of the mobile phone is always on and keeps displaying the slide file.
  • the projection window of the large-screen device synchronously displays the slide file on the external screen of the mobile phone.
  • the external screen of the mobile phone is the first display screen of the first electronic device.
  • the user needs to edit and adjust the slide file displayed on the projection screen, the user unfolds the folding screen of the mobile phone to 180°, and the slide file being projected is displayed on the folding screen of the mobile phone.
  • the folding screen of the mobile phone is the second display screen of the first electronic device. The user can edit the slide file being projected by operating the slide file displayed on the folding screen of the mobile phone.
  • the first electronic device continuously detects the folding angle of the second display screen, and when it is detected that the folding angle of the second display screen is within the first angle range, the second display screen displays the first information displayed on the first display screen.
  • the first information displayed on the second display screen is the same as the first information displayed on the first display screen, and the first display screen and the second display screen may display the first information in different interfaces, or may display the first information in the same interface.
  • the user when a user needs to edit a video file in projection, the user needs to project the editing process of the video file, then the video files in the first display screen and the second display screen are displayed in the same editing interface, and the user operates the editing interface in the second display screen to edit the video files in the first display screen and the second display screen synchronously.
  • the video file in the first display screen is kept displayed in the playback interface, and the video file in the second display screen is displayed in the editing interface, the user operates the editing interface in the second display screen, and edits the video file in the second display screen synchronously, and the first display screen keeps playing the video file before editing, and does not affect the display of the projection window projected to the second electronic device.
  • the second input is an operation input for the user to edit the second display screen.
  • the first electronic device can edit the first information in the projection window of the first display screen, the second display screen, and the second electronic device in response to the second input.
  • the second input in the embodiment of the present application includes but is not limited to: insert operation input, delete operation input, modify operation input, etc.
  • the first information in the projection window of the first display screen, the second display screen, and the second electronic device can be updated synchronously or delayed, wherein the delayed update means that after the content of the second display screen is updated, the projection window of the first display screen and the second electronic device is updated according to the updated content of the second display screen.
  • the delayed update means that after the content of the second display screen is updated, the projection window of the first display screen and the second electronic device is updated according to the updated content of the second display screen. The contents of the screen window.
  • the first display screen, the second display screen, and the projection window of the second electronic device when the first information in the first display screen, the second display screen, and the projection window of the second electronic device is synchronously updated, the first display screen, the second display screen, and the second electronic device synchronously display the process of the user editing the first information.
  • the first information in the first display screen, the second display screen, and the projection window of the second electronic device is updated with a delay
  • the first electronic device edits the first information displayed in the second display screen in response to the second input of the user.
  • the first information displayed in the first display screen and the projection window of the second electronic device remains unchanged.
  • the first electronic device displays the updated first information in the first display screen to update the first information in the first display screen. Since the first information displayed in the projection window of the second electronic device is the first information displayed on the first display screen, the first information in the projection window of the second electronic device is updated along with the first information in the first display screen.
  • the first electronic device projects the first information displayed on the first display screen to the second electronic device.
  • the folding angle of the second display screen of the first electronic device is within the first angle range
  • the second display screen of the first electronic device displays the same first information as the first display screen, and the user can edit the displayed first information by operating the second display screen.
  • the first display screen of the first electronic device is used as a mirror screen for projection, that is, the projection window of the second electronic device is displayed based on the first information displayed on the first display screen, ensuring that the content displayed in the projection window of the second electronic device is the same as the content displayed on the first display screen of the first electronic device.
  • the folding angle of the second display screen is adjusted to be within the first folding angle, the first display screen and the second display screen are in a signal conduction state, and the second display screen synchronously displays the first information in the first display screen.
  • the first information displayed in the projection window of the second electronic device is the first information displayed in the first display screen.
  • the user can operate the first information in the second display screen, thereby updating the first information displayed in the first display screen and the first information in the projection window in the second electronic device.
  • FIG4 shows a schematic diagram of a first display screen and a second display screen provided in some embodiments of the present application.
  • the first electronic device 400 when the first electronic device 400 is in a projection state and the second display screen 404 is in a closed state, the first information in the first display screen 402 is projected to the projection window in the second electronic device for display, wherein the second display screen 404 is in a closed state when the folding angle of the second display screen 404 is not within the first angle range.
  • the first display screen 402 and the second display screen 404 both display the first information of the projection, and the user performs a second input on the second display screen 404 to update the content displayed on the first display screen 402 and the second display screen 404, wherein the second display screen 404 is in the expanded state when the second display screen 404 is within the first angle range.
  • the process before projecting the first information on the first display screen, the process also includes: receiving a fifth input; and in response to the fifth input, controlling the first electronic device to be in a preset projection mode.
  • the first electronic device only projects the first information displayed on the first display screen.
  • the information displayed on the second display screen will not be projected to the second electronic device for display.
  • the user needs to fold the second display screen to the first angle range and edit the first information on the first display screen by operating the second display screen.
  • the updated first information displayed on the first display screen is projected to the projection window of the second electronic device for display.
  • the first electronic device chooses to project only the first information in the first display screen to the second electronic device, and the second electronic device will not display other information displayed in the second display screen of the first electronic device.
  • the information displayed on the first display screen and the second display screen are isolated from each other.
  • the user needs to edit the first information projected from the first display screen to the second electronic device, the user only needs to fold the second display screen within the first angle range.
  • the user can update the projected first information by operating the second display screen, without the need for the user to manually switch the application corresponding to the first information between the background and foreground, thereby simplifying the user's operation steps.
  • the screen projection process is based on the information displayed on the first display screen, rather than the application corresponding to the first information
  • the data flow of the screen projection will not be interrupted, and the first information displayed in the screen projection window of the second electronic device will not be interrupted.
  • the embodiments of the present application reduce the number of operation steps for a user to edit the projection information during the screen projection process of an electronic device, thereby simplifying the operation of the user operating the electronic device to perform screen projection.
  • the information content of the first information in the first display screen and the second display screen is updated, and the updated first information in the first display screen is projected to the projection window of the second electronic device for display, including:
  • the information content of the first information displayed on the second display screen and the first display screen is synchronously updated, and the first information synchronously updated and displayed on the first display screen is projected into the projection window of the second electronic device for display.
  • the first display screen and the second display screen are controlled to synchronously display the first information, and when the first information displayed on either of the first display screen and the second display screen in the synchronous display state changes, the first information displayed on the other display screen changes synchronously.
  • the user can synchronously edit the first information and the second information on the second display screen by performing editing input on the first information displayed on the second display screen, and the editing operations include but are not limited to inserting operations, deleting operations, changing operations, etc.
  • the data corresponding to the information displayed on the first display screen and the data corresponding to the information displayed on the second display screen are in a data connection state, wherein the data connection state means that the data source of the first information displayed on the first display screen and the second display screen is the same, and the first information displayed on the first display screen and the second display screen are from the same application, and the data in the application are synchronously displayed on the first display screen and the second display screen.
  • the data connection state means that the data source of the first information displayed on the first display screen and the second display screen is the same, and the first information displayed on the first display screen and the second display screen are from the same application, and the data in the application are synchronously displayed on the first display screen and the second display screen.
  • the application can synchronously transmit the edited corresponding data to the first display screen and the second display screen, so that the first information displayed on the first display screen and the second display screen is synchronously updated.
  • the first information displayed in the projection window of the second electronic device is the first information displayed on the first display screen, so the first information displayed in the projection window of the second electronic device is also synchronously updated.
  • the first electronic device only transmits data corresponding to the first information in the first display screen to the second electronic device, that is, the first information displayed in the projection window of the second electronic device remains synchronized with the first information displayed on the first display screen.
  • FIG5 shows a schematic diagram of a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application.
  • a text document “October 11, 2008, sunny, north wind level 3” is synchronously displayed on a first display screen 502 and a second display screen 504 of a first electronic device 500.
  • the first electronic device receives a second input of the first information displayed on the second display screen
  • the user modifies the “sunny” in the text document to “cloudy” by executing a second input on the second display screen 504.
  • the first display screen 502 and the second display screen 504 display a process of modifying the text document.
  • the first display screen 502 and the second display screen 504 synchronously display the updated text document “October 11, 2008, cloudy, north wind level 3”.
  • the picture displayed on the first display screen 502 is synchronously projected to the projection windows of the second electronic device.
  • the first electronic device projects the first information displayed on the first display screen to the second electronic device.
  • the user can adjust the folding angle of the second display screen to within the first angle range so that the second display screen displays the first information.
  • the user implements the editing process of the first information displayed on the second display screen by performing a second input on the first information displayed on the second display screen and the projection window of the second device displays the first information.
  • the first electronic device synchronously updates the first information displayed on the first display screen and the second display screen.
  • the first information displayed in the projection window of the second electronic device is the first information in the first display screen
  • the first information displayed on the first display screen, the second display screen, and the projection window of the second electronic device are synchronously updated, satisfying the user's need to display the editing process of the first information on the projection screen.
  • the user needs to switch the data corresponding to the first information displayed on the first display screen and the second display screen in a data isolation state to a data connection state, wherein the data isolation state means that the data sources of the first information displayed on the first display screen and the second display screen are different, and the first information displayed on the first display screen and the second display screen come from different applications, or from different processes running on the same application.
  • the data corresponding to the first information displayed on the first display screen and the second display screen are in a data isolation state, when the user updates the first information on the second display screen, the first information displayed on the first display screen remains unchanged.
  • the data corresponding to the first information displayed on the first display screen and the second display screen is in a data isolation state
  • the application corresponding to the first information executes the first process and the second process
  • the first process is a process for editing the first information
  • the application transmits the data in the first process to the second display screen, so that the second display screen displays the editing interface of the first information
  • the second process is a process for displaying the first information
  • the application transmits the data in the second process to the first display screen, so that the first display screen displays the display interface of the first information.
  • the application updates the data in the second process according to the data in the first process, and transmits the updated data in the second process to the first display screen and the second display screen, so that the first display screen and the second display screen simultaneously display the edited first information in the display interface.
  • the second input includes a first sub-input and a second sub-input
  • the first sub-input is an input for editing the information content of the first information on the second display screen
  • the second sub-input is an input for triggering the update of the display content of the first display screen and the display content projected to the projection window of the second electronic device
  • the first information displayed on the first display screen is updated to the second information, and the second information displayed on the first display screen is projected to the projection window of the second electronic device for display.
  • the first electronic device when a user needs to edit the first information projected from the first display screen to the projection window of the second electronic device, and the user does not need to display the editing process of the first information, can edit the first information displayed on the second display screen in response to the user's first sub-input. After the user completes editing the first information on the second display screen, the first electronic device displays the edited first information on the first display screen in response to the user's second sub-input, and simultaneously projects the information to the projection window of the second electronic device.
  • the first electronic device will project the slide file displayed on the first display screen to the projection window of the second electronic device for display, and the slide file is the first information.
  • the slide file is played to page 3
  • the user needs to change the "start" on page 5 where the slide file is not played to "end", but does not want others to notice the modification process.
  • the user performs a first sub-input to modify the slide file displayed on the second display screen, and the second display screen displays the modifications made to the slide file by the user through the first sub-input.
  • the first information displayed on the first display screen and the projection window of the second electronic device does not change, and the content of page 3 of the slide continues to be displayed.
  • the user After the user completes the modification of the first information on the second display screen, the user performs a second sub-input on the first electronic device to update the slide file displayed on the first display screen and the projection window of the second electronic device to the modified slide file.
  • the first electronic device can update the content of the first display screen and the projection window of the second electronic device according to the updated content of the second display screen.
  • the user performs a second input on the second display screen to update the first information in the projection window of the first display screen, the second display screen, and the second electronic device, which includes at least two sub-inputs, the first sub-input and the second sub-input.
  • the first sub-input is the user's input for editing the first information displayed on the second display screen
  • the first sub-input includes input for deleting text, adding text, inserting pictures, deleting pictures, modifying the format of the slide file, adding or deleting pages in the slide file, inserting text or pictures into the slide file, etc.
  • the second sub-input is the user's input for synchronously displaying the updated first information displayed on the second display screen on the first display screen and the second electronic device.
  • the input in the projection window, the second sub-input includes the input of dragging the first information to the first display screen, the input of clicking the operation control in the second display screen, the input of folding the second display screen, etc.
  • the user when the second display screen displays the first information, the user performs a first sub-input on the second display screen, and the first electronic device edits the first information displayed on the second display screen in response to the first sub-input.
  • the first information on the first display screen remains unchanged and is not affected by the user's editing of the first information on the second display screen.
  • the user After the user completes editing the first information on the second display screen through the first sub-input, the user performs a second sub-input on the first electronic device, so that the first electronic device updates the first information on the first display screen according to the updated first information on the second display screen.
  • the first electronic device Since the first electronic device performs screen projection processing on the first information displayed on the first display screen, at this time, the first electronic device projects the updated first information on the first display screen to the second electronic device.
  • the projection windows of the first display screen and the second electronic device only display the first information before and after the update, and do not project the update process of the first information.
  • the first sub-input of the embodiment of the present application can be an operation input such as an insert operation, a delete operation, a modification operation, etc. performed through gesture input
  • the second sub-input can be a gesture input, a voice input, etc., and can also be an operation input for the user to adjust the posture of the first electronic device.
  • FIG6 shows a schematic diagram of a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application.
  • a slide file 606 is displayed on a first display screen 602 and a second display screen 604 of a first electronic device 600, and the slide file 606 includes three pages of slides.
  • the user performs a delete input on a page of slides in the slide file 606 on the second display screen, and the delete input is the first sub-input performed by the user on the first electronic device.
  • two pages of slides are displayed on the second display screen 604, and three pages of slides are still displayed on the first display screen 602.
  • the screen displayed on the first display screen 602 is synchronously projected to the projection window of the second electronic device, and the user clicking on the update control 608 is the second sub-input performed by the user on the first electronic device.
  • the data corresponding to the first information displayed on the second display screen and the first display screen are kept in a data isolation state.
  • the first electronic device can edit the first information on the second display screen in response to the first sub-input.
  • the user performs a second sub-input on the second display screen, thereby displaying the edited first information displayed on the second display screen on the first display screen.
  • the updated first information displayed on the first display screen is projected to the second electronic device and displayed in the projection window of the second electronic device.
  • the user can operate the second display screen to edit the first information displayed on the second display screen, and after the first information on the second display screen is edited, the first information on the first display screen and the projection window of the second electronic device are updated at one time, ensuring that the projection window of the second electronic device does not display the user's editing process of the first information.
  • the second display screen includes a first display window and a second display window; the first display window includes first information, and the second display window includes third information.
  • the screen projection method of the embodiment of the present application also includes: upon receiving a third input of third information, in response to the third input, updating the display content of the first display screen and the display content in the projection window projected to the second electronic device based on the third information.
  • the first electronic device when a user needs to update first information projected from a first display screen to a second electronic device based on third information, the first electronic device can respond to a third input performed by the user on the third information, update the first information in the first display window based on the third information, and after the update is completed, synchronously update the updated first information in the projection window of the first display screen and the second electronic device.
  • the second display screen can display the third information in the second display window while displaying the first information in the first display window.
  • the user controls the first electronic device to update the first information based on the third information by performing a third input on the third information. Since the first electronic device projects the first information displayed on the first display screen to the projection window of the second electronic device for display, after the first information is updated, the first information displayed on the first display screen and the first information displayed in the projection window of the second electronic device are also updated accordingly.
  • FIG7 shows a schematic diagram of a second display screen of a first electronic device provided in some embodiments of the present application. As shown in FIG7 , a first display window 702 and a second display window 704 may be displayed in a split-screen manner on a second display screen 700 .
  • Figure 8 shows a schematic diagram of the second display screen of the first electronic device provided in some embodiments of the present application. As shown in Figure 8, the first display window 802 is displayed in full screen on the second display screen 800, and the second display window 804 is displayed in the first display window 802 as a floating window.
  • the first information and the third information may be information of the same category.
  • both the first information and the third information are text files, and the content in the text file corresponding to the first information is modified based on the content in the text file corresponding to the third information.
  • the first information and the third information may be different types of information, for example, the first information is a slide file, and the third information is an image file. The image file is inserted into the slide file, thereby Information is updated.
  • the first electronic device projects the screen to the projection window of the second electronic device based on the first display window displaying the first information, or the first information in the first display screen, and the third information displayed in the second display window in the second display screen will not be displayed in the first display screen, nor will it be projected to the projection window of the second electronic device for display.
  • the third input includes a third sub-input and a fourth sub-input, the third sub-input being an input for updating the first information in the second display screen based on the third information, and the fourth sub-input being an input for triggering the update of the first display screen and the projection window of the second electronic device based on the first information in the second display screen.
  • the data corresponding to the first information in the first display screen and the second display screen is in a data isolation state, and the user controls the first electronic device to update the first information in the second display screen based on the third information by executing the third sub-input on the third information.
  • the user executes the fourth sub-input on the second display screen, and the first electronic device updates the first information in the first display screen based on the updated first information in the second display screen, and projects the updated first information to the second electronic device.
  • the update process of the first information in the first display screen and the projection window of the second electronic device only the first information before and after the update is displayed, and the editing process of the first information is not displayed.
  • the data corresponding to the first information on the first display screen and the second display screen are in a data connected state.
  • the first electronic device can update the first information based on the third information, and the first information in the first display screen and the first information in the projection window of the second electronic device are updated accordingly.
  • the second display screen of the first electronic device can display the first information and the third information at the same time, and the user can control the first electronic device to update the first information in the projection window of the first display screen and the second electronic device based on the third information by performing a third input on the third information.
  • the user needs to update the projection file based on other files, there is no need to open the two files alternately, nor to switch the two files between foreground and background operation, which further simplifies the operations required for the user to update the projection content during the projection process.
  • updating the display content of the first display screen and the display content projected to the projection window of the second electronic device includes:
  • the first information displayed on the first display screen is replaced with the third information, and the third information displayed on the first display screen is projected onto the projection window of the second electronic device for display.
  • the user when the first electronic device projects the first information displayed on the first display screen to the projection window of the second electronic device, and the user needs to replace the first information projected with the third information, the user can replace the first information in the first display window with the third information displayed in the second display window by performing a third input on the third information displayed in the second display window.
  • the first information in the first display screen is replaced with the third information
  • the first information in the first display screen is replaced with the third information.
  • the display content in the projection window of the second electronic device is synchronized with the display content in the first display screen, the display content in the second display window of the second display screen will not be displayed in the projection window, ensuring that only when the display content in the first display screen is updated, it will be synchronized to the second electronic device, thereby improving the accuracy of the projection content update.
  • the first electronic device replaces the entire first information displayed on the first display screen with the third information, and projects the third information displayed on the first display screen to the projection window of the second electronic device for display. That is, by performing a third input on the third information, the user can replace the display of the first information on the first display screen and the projection window of the second electronic device with the third information.
  • Fig. 9 shows a schematic diagram of a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application, wherein a document is displayed in a first display window 906 of the first display screen 902 and the second display screen 904, and the document is the first information, and a picture is displayed in a second display window 908 of the second display screen 904, and the picture is the third information.
  • the user drags the picture in the second display window 908 to the first display window 906, and the first display screen 902 switches from displaying the document to displaying the picture, and projects the picture displayed in the first display screen 902 to the projection window of the second electronic device for display, and the user drags the picture in the second display window 908 to the first display window 906 as the third input performed by the user on the first electronic device.
  • the first display window and the second display window of the second display screen respectively display the first information and the third information
  • the user can conveniently replace the first information projected to the second electronic device with the third information by performing a third input on the third information, thereby simplifying the operation steps for the user to switch the projected content and realizing the ability to switch the projected file without exiting the current projection state.
  • updating the display content of the first display screen and the display content projected to the projection window of the second electronic device includes:
  • the information content of the first information displayed on the first display screen is updated, and the updated first information displayed on the first display screen is projected onto the projection window of the second electronic device for display.
  • updating the display content of the first display screen and the display content projected to the projection window of the second electronic device includes at least one of the following:
  • Part of the first information is replaced by the third information.
  • the first electronic device edits the first information displayed on the first display screen based on the third information, and projects the edited first information to the projection window of the second electronic device for display. That is, by performing a third input on the third information, the user can update the first display screen and the first information in the projection window of the second electronic device through the third information.
  • a first electronic device projects the first information displayed on a first display screen to a projection window of a second electronic device
  • a user needs to replace part of the information in the projected first information with third information, or add the third information to the first information
  • the user can replace part of the first information in the first display window with the third information, or add the third information to the first information, by performing a third input on the third information displayed in the second display window.
  • the display content in the projection window of the second electronic device is synchronized with the display content in the first display screen, the display content in the second display screen will not be displayed in the projection window, ensuring that only when the display content in the first display screen is updated, it will be synchronized to the second electronic device, thereby improving the accuracy of updating the projection content.
  • the first information in the first display screen and the projection window of the second electronic device is updated based on the third information, including adding the content in the third information to the first information, that is, merging the third information and the first information.
  • the file types of the first information and the third information may be the same type, for example: the first information and the third information are both image files, and the first electronic device splices the image files corresponding to the first information and the third information to obtain the updated first information.
  • the file types of the first information and the third information may be different types.
  • the first information is a slide file and the third information is an image file.
  • the first electronic device inserts the image file corresponding to the third information into the slide file corresponding to the first information for display.
  • FIG10 shows a schematic diagram of a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application.
  • the first information displayed in the first display window 1006 of the first display screen 1002 and the second display screen 1004 is a slide file
  • the third information displayed in the second display window 1008 of the second display screen 1004 is a picture file.
  • the user clicks on the picture file click to select the slide file displayed in the first display window 1006, and the picture file is inserted into the slide file.
  • the picture file is inserted into the slide file displayed in the first display screen 1002, and the slide file with the picture file inserted in the first display screen 1002 is projected to the projection window of the second electronic device for display.
  • the first information in the projection window of the first display screen and the second electronic device is updated based on the third information, including replacing part of the first information with the third information, that is, updating the first information with the third information. Part of the first information.
  • the file types of the first information and the third information may be the same type, for example: the first information and the third information are both text documents, and the first electronic device replaces part of the characters in the text document corresponding to the first information with the characters in the text document corresponding to the third information.
  • the file types of the first information and the third information may be different types.
  • the first information is a slide file and the third information is an image file.
  • the first electronic device replaces a page in the slide file corresponding to the first information with an image file corresponding to the third information for display.
  • FIG11 shows a schematic diagram of a first display screen and a second display screen of a first electronic device provided by some embodiments of the present application.
  • the first information displayed in the first display window 1106 of the first display screen 1102 and the second display screen 1104 is a slide file
  • the third information displayed in the second display window 1108 of the second display screen 1104 is a picture file.
  • the user clicks on the picture file clicks to select the target page 1110 in the slide file displayed in the first display window 1106, and the target page 1110 in the slide file is replaced with the picture file.
  • the target page 1110 of the slide file displayed on the first display screen 1102 is replaced with the picture file, and the replaced slide file is projected to the projection window of the second electronic device.
  • the first electronic device when a first electronic device projects first information in a first display screen to a second electronic device and the folding angle of the second display screen is within a first angle range, the first information and the third information are displayed in a first display window and a second display window of the second display screen, respectively, and a user can control the first electronic device to edit the first information based on the third information by performing a third input on the third information, thereby simplifying the operation steps for the user to edit the projected content and enabling the editing of the currently projected file based on other files without exiting the current projection state.
  • the first display screen includes a first display window and a second display window; the first display window includes first information, the first information is information of a first program, and the second display window includes a program interface of a second program; the first program and the second program are different application programs;
  • Screen projection methods also include:
  • the target processing includes at least one of the following: recording audio, recording video, recording information, and replying to messages.
  • the second display screen can display the first information in the first display window and display the second information in the second display window.
  • the program interface of the second program different from the first program corresponding to the first information is displayed.
  • the first electronic device projects the screen to the projection window of the second electronic device based on the first display screen, and the program interface of the second program displayed in the second display window of the second display screen will not be displayed on the first display screen and the projection window of the second electronic device.
  • the second program corresponding to the program interface displayed in the second display window is a different program from the first program corresponding to the first information displayed in the first display window. Therefore, the displayed images of the first display window and the second display window do not affect each other. That is, when the user controls the second program to execute target processing through the second display window, it will not affect the first display window, the first display screen, and the first information displayed in the projection window of the second electronic device, thereby avoiding the program interface of the second program in the second display window from being projected and displayed in the projection window of the second electronic device.
  • the interface displayed in the second display window may be at least one of an audio recording interface of an audio recording program, a video recording interface of a video recording program, a document editing interface of a document program, and a chat interface of a social program.
  • a user projects a video file to a projection window of a second electronic device through a first display screen for display, and wishes to record audio or video of the meeting process.
  • the user opens the audio recording interface of an audio recording program or the video recording interface of a video recording program in the second display window to record the meeting process.
  • the user can also open the document editing interface of a document program in the second display window to record meeting minutes.
  • a pop-up window prompts the user in the second display window, and the user can display the chat interface in the second display window to reply to the message by clicking the pop-up window.
  • the user can control the second program to execute the target processing through the second display screen. Since the first program and the second program are different programs, the data source for displaying the first information is different from the data source of the program interface of the second program, and the first electronic device only casts the first information in the first display screen, it is ensured that the program interface displayed in the second display window will not be cast to the second electronic device for display, and the user can conveniently operate other applications during the casting process, and the operation of other applications will not affect the content displayed on the cast screen.
  • the second display screen when the folding angle of the second display screen is within a second angle range, the second display screen is controlled to turn off.
  • the second angle range may be 0° to 89°.
  • the second display screen when the second display screen is within the second angle range, it can be determined that the user does not need to update the first information through the second display screen, nor does the second display screen need to display other information, that is, the second display screen does not have content that must be displayed at this time, and the second display screen is controlled to turn off, which can effectively improve the first electronic The battery life of the device.
  • the first electronic device when it receives a real-time message, it controls the second display screen to switch from an off state to a bright state, and displays the real-time message to ensure that the user can view the message in time.
  • the screen projection method provided in the embodiment of the present application can be executed by a screen projection device.
  • the screen projection device provided in the embodiment of the present application is described by taking the screen projection method executed by the screen projection device as an example.
  • FIG. 12 shows a schematic block diagram of a screen projection device 1200 provided in some embodiments of the present application. As shown in FIG. 12 , the screen projection device 1200 includes:
  • the screen projection module 1204 is used for, in response to the first input, projecting the first information displayed on the first display screen of the first electronic device to the screen projection window of the second electronic device for display;
  • the first electronic device includes at least two display screens, including a first display screen, and the content displayed in the projection window projected to the second electronic device is the information displayed on the first display screen.
  • the first electronic device in the embodiment of the present application may be an electronic device having multiple display screens, including but not limited to a folding screen device and a double-sided screen device.
  • the first electronic device can transmit the data corresponding to the first information to the second electronic device for display, and the second electronic device displays the first information in the projection window.
  • the screen when the first information is displayed in the projection window of the second electronic device is the same as the screen when the first electronic device displays the first information. That is, during the projection process, the first electronic device projects the first information displayed on the first display screen of the first electronic device, and other information displayed on other display screens will not be projected to the second electronic device, so that the user can display the projection information that needs to be projected through the first display screen, and display other information that does not need to be projected on other display screens.
  • the user projects the screen through the first electronic device, he can also perform other operations through the first electronic device, and the other operations performed by the user will not affect the generation of the first information displayed on the screen projected to the second electronic device, thereby avoiding the user's operation of the projection device during the projection process through the projection device, which affects the display of the projection content on the target electronic device.
  • the first electronic device includes at least two display screens.
  • the information displayed in the projection window of the second electronic device is only the first information displayed in the first display screen, and the information displayed on other display screens except the first display screen among the at least two display screens will not be projected.
  • the user can operate other applications through the other display screens and display other information through the other display screens, and it will not affect the first information projected to the second electronic device.
  • At least two display screens include a second display screen, and the second display screen is a foldable screen.
  • the screen projection device also includes:
  • the display module is used to display the first information on the second display screen when the folding angle of the second display screen is within the first angle range;
  • a processing module configured to update information content of the first information in the first display screen and the second display screen in response to the second input when receiving a second input to the second display screen;
  • the screen projection module 1204 is also used to project the updated first information displayed on the first display screen to the screen projection window of the second electronic device for display in response to the second input.
  • the first electronic device chooses to project only the first information in the first display screen to the second electronic device, and the second electronic device will not display other information displayed in the second display screen of the first electronic device.
  • the information displayed on the first display screen and the second display screen are isolated from each other.
  • the user needs to edit the first information projected from the first display screen to the second electronic device, the user only needs to fold the second display screen within the first angle range.
  • the user can update the projected first information by operating the second display screen, without the need for the user to manually switch the application corresponding to the first information between the background and foreground, thereby simplifying the user's operation steps.
  • the screen projection process is based on the information displayed on the first display screen, rather than the application corresponding to the first information
  • the data flow of the screen projection will not be interrupted, and the first information displayed in the screen projection window of the second electronic device will not be interrupted.
  • the embodiments of the present application reduce the number of operation steps for a user to edit the projection information during the screen projection process of an electronic device, thereby simplifying the operation of the user operating the electronic device to perform screen projection.
  • the processing module is specifically used to: receive a second input of the first information displayed on the second display screen, the second input being an input for editing the information content of the first information on the second display screen; in response to the second input, synchronously update the information content of the first information displayed on the second display screen and the first display screen;
  • the screen projection module 1204 is specifically used to: in response to the second input, project the first information synchronously updated and displayed on the first display screen to the screen projection window of the second electronic device for display.
  • the user can adjust the folding angle of the second display screen to within the first angle range so that the second display screen displays the first information, and the user can implement the display of the first information on the projection window of the second device by performing a second input on the first information displayed on the second display screen.
  • the editing process of the first information displayed on the display screen The first electronic device synchronously updates the first information displayed on the first display screen and the second display screen.
  • the first information displayed in the projection window of the second electronic device is the first information in the first display screen
  • the first information displayed on the first display screen, the second display screen and the projection window of the second electronic device are synchronously updated, satisfying the user's need to display the editing process of the projected first information.
  • the second input includes a first sub-input and a second sub-input
  • the first sub-input is an input for editing the information content of the first information on the second display screen
  • the second sub-input is an input for triggering updating the display content of the first display screen and the display content projected to the projection window of the second electronic device
  • the receiving module 1202 is specifically configured to: receive a first sub-input of the first information displayed on the second display screen;
  • the processing module is specifically configured to: in response to the first sub-input, update the first information displayed on the second display screen to the second information;
  • the receiving module 1202 is used to: receive a second sub-input
  • the processing module is specifically configured to: in response to the second sub-input, update the first information displayed on the first display screen to the second information;
  • the screen projection module 1204 is specifically used to: in response to the second sub-input, project the second information displayed on the first display screen to the screen projection window of the second electronic device for display.
  • the data isolation between the second display screen and the first display screen is maintained.
  • the first electronic device can edit the first information in the second display screen in response to the first sub-input.
  • the user performs the second sub-input on the second display screen, thereby synchronously displaying the updated first information displayed in the second display screen in the first display screen, and projecting the updated first information displayed in the first display screen to the second electronic device, and displaying it in the projection window of the second electronic device.
  • the user operates the first information in the second display screen, and after the first information in the second display screen is completely updated, the first information on the first display screen and the projection window of the second electronic device are updated at one time, ensuring that the projection window of the second electronic device will not display the user's editing process of the first information.
  • the second display screen includes a first display window and a second display window; the first display window includes first information, and the second display window includes third information;
  • the processing module is specifically configured to: upon receiving a third input of the third information, update the display content of the first display screen in response to the third input and based on the third information;
  • the screen projection module 1204 is specifically configured to, in response to the third input, update the projection to the second electronic device based on the third information.
  • the displayed content in the projection window is specifically configured to, in response to the third input, update the projection to the second electronic device based on the third information.
  • the second display screen of the first electronic device can display the first information and the third information at the same time, and the user can control the first electronic device to update the first information in the projection window of the first display screen and the second electronic device based on the third information by performing a third input on the third information.
  • the user needs to update the projection file based on other files, there is no need to open the two files alternately, nor to switch the two files between foreground and background operation, which further simplifies the operations required for the user to update the projection content during the projection process.
  • the processing module is specifically used to: replace the first information displayed on the first display screen with the third information;
  • the screen projection module 1204 is specifically used to: project the third information displayed on the first display screen to the screen projection window of the second electronic device for display;
  • the processing module is specifically used to: update the information content of the first information displayed on the first display screen based on the third information
  • the screen projection module 1204 is specifically used to: project the updated first information displayed on the first display screen to the screen projection window of the second electronic device for display;
  • the screen projection module 1204 is used to update the information content of the first information displayed on the first display screen based on the third information, and is specifically used to perform at least one of the following:
  • Part of the first information is replaced by the third information.
  • the first electronic device when a first electronic device projects first information in a first display screen to a second electronic device and the folding angle of the second display screen is within a first angle range, the first information and the third information are displayed in a first display window and a second display window of the second display screen, respectively, and a user can control the first electronic device to edit the first information based on the third information by performing a third input on the third information, thereby simplifying the operation steps for the user to edit the projected content and enabling the editing of the currently projected file based on other files without exiting the current projection state.
  • the first display screen includes a first display window and a second display window; the first display window includes first information, the first information is information of a first program, and the second display window includes a program interface of a second program; the first program and the second program are different application programs;
  • the processing module is specifically configured to: upon receiving a fourth input to the program interface of the second program, control the second program to execute target processing in response to the fourth input;
  • the target processing includes at least one of the following: recording audio, recording video, recording information, and replying to messages.
  • the first electronic device projects a screen to the second electronic device through the first display screen.
  • the user can control the second program to execute the target processing through the second display screen. Since the first program and the second program are different programs, the data source for displaying the first information is different from the data source of the program interface of the second program, and the first electronic device only projects the first information on the first display screen, which ensures that the program interface displayed in the second display window will not be projected to the second electronic device for display, and enables the user to conveniently operate other applications during the projection process, and the operation of other applications will not affect the content displayed on the projection screen.
  • the processing module is further used to: control the second display screen to turn off when the folding angle of the second display screen is within a second angle range.
  • the second display screen when the second display screen is within the second angle range, it can be determined that the user does not need to update the first information through the second display screen, nor does the second display screen need to display other information, that is, there is no content that must be displayed on the second display screen at this time, and controlling the second display screen to turn off can effectively improve the battery life of the first electronic device.
  • the first electronic device when it receives a real-time message, it controls the second display screen to switch from an off state to a bright state, and displays the real-time message to ensure that the user can view the message in time.
  • the screen projection device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a terminal or other devices other than a terminal.
  • the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.
  • NAS Network Attached Storage
  • PC personal computer
  • TV television
  • teller machine a self-service machine
  • the screen projection device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the screen projection device provided in the embodiment of the present application can implement each process implemented in the above method embodiment. To avoid repetition, it will not be repeated here.
  • an embodiment of the present application further provides an electronic device, which includes a screen projection device as in any of the above embodiments, and thus has all the beneficial effects of the screen projection device in any of the embodiments, which will not be elaborated herein.
  • FIG13 shows an electronic device provided by some embodiments of the present application.
  • the electronic device 1300 includes a processor 1302, a memory 1304, and a program or instruction stored in the memory 1304 and executable on the processor 1302.
  • the program or instruction is executed by the processor 1302
  • each process of the above-mentioned screen projection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 14 is a schematic diagram of the hardware structure of an electronic device provided to implement some embodiments of the present application.
  • the electronic device 1400 includes but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, a processor 1410 and other components.
  • the electronic device 1400 can also include a power source (such as a battery) for powering each component, and the power source can be logically connected to the processor 1410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system.
  • a power source such as a battery
  • the electronic device structure shown in Figure 14 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
  • the user input unit 1407 is used to receive a first input;
  • the processor 1410 is configured to, in response to the first input, project the first information displayed on the first display screen of the first electronic device to a projection window of the second electronic device for display when the first information is displayed on the first display screen of the first electronic device;
  • the first electronic device includes at least two display screens, including a first display screen, and the content displayed in the projection window projected to the second electronic device is the information displayed on the first display screen.
  • the first electronic device can transmit the data corresponding to the first information to the second electronic device for display, and the second electronic device displays the first information in the projection window.
  • the screen when the first information is displayed in the projection window of the second electronic device is the same as the screen when the first electronic device displays the first information. That is, during the projection process, the first electronic device projects the first information displayed on the first display screen of the first electronic device, and other information displayed on at least two display screens other than the first display screen will not be projected to the second electronic device, so that the user can display the projection information that needs to be projected through the first display screen, and display other information that does not need to be projected on other display screens.
  • the user projects the screen through the first electronic device, he can also perform other operations through the first electronic device, and the other operations performed by the user will not affect the generation of the first information displayed on the projection screen to the second electronic device, thereby avoiding the user's operation of the projection device during the projection process through the projection device, which affects the display of the projection content on the target electronic device.
  • the first electronic device includes at least two display screens.
  • the information displayed in the projection window of the second electronic device is only the first information displayed in the first display screen, and the information displayed on other display screens except the first display screen among the at least two display screens will not be projected.
  • the user can operate other applications through the other display screens and display other information through the other display screens, and it will not affect the first information projected to the second electronic device.
  • the at least two display screens include a second display screen, and the second display screen is a foldable screen;
  • the display unit 1406 is configured to display first information on the second display screen when the folding angle of the second display screen is within a first angle range;
  • Processor 1410 configured to update information content of the first information in the first display screen and the second display screen in response to the second input when receiving the second input to the second display screen;
  • the updated first information displayed on the first display screen is projected onto the projection window of the second electronic device for display.
  • the first electronic device chooses to project only the first information in the first display screen to the second electronic device, and the second electronic device will not display other information displayed in the second display screen of the first electronic device.
  • the information displayed on the first display screen and the second display screen are isolated from each other.
  • the user needs to edit the first information projected from the first display screen to the second electronic device, the user only needs to fold the second display screen within the first angle range.
  • the user can update the projected first information by operating the second display screen, without the need for the user to manually switch the application corresponding to the first information between the background and foreground, thereby simplifying the user's operation steps.
  • the screen projection process is based on the information displayed on the first display screen, rather than the application corresponding to the first information
  • the data flow of the screen projection will not be interrupted, and the first information displayed in the screen projection window of the second electronic device will not be interrupted.
  • the embodiments of the present application reduce the number of operation steps for a user to edit the projection information during the screen projection process of an electronic device, thereby simplifying the operation of the user operating the electronic device to perform screen projection.
  • the processor 1410 is specifically configured to: receive a second input for the first information displayed on the second display screen, the second input being an input for editing the information content of the first information on the second display screen; and in response to the second input, synchronously update the information content of the first information displayed on the second display screen and the first display screen;
  • the first information synchronously updated and displayed on the first display screen is projected onto the projection window of the second electronic device for display.
  • the user when the first electronic device projects the first information displayed on the first display screen to the projection window of the second electronic device for display, and the user needs to edit the first information, and needs to synchronously display the editing process of the first information in the projection window of the second device, the user can adjust the folding angle of the second display screen to within the first angle range so that the second display screen displays the first information, and the user implements the editing process of the first information displayed on the second display screen by performing a second input on the first information displayed on the second display screen and the projection window of the second device.
  • the first electronic device synchronously updates the first information displayed on the first display screen and the second display screen.
  • the first information displayed in the projection window of the second electronic device is the first information in the first display screen
  • the first information displayed on the first display screen, the second display screen, and the projection window of the second electronic device are synchronously updated, satisfying the user's need to display the editing process of the projected first information.
  • the second input includes a first sub-input and a second sub-input
  • the first sub-input is an input for editing the information content of the first information in the second display screen
  • the second sub-input is an input for triggering the update of the display content of the first display screen and the display content projected to the projection window of the second electronic device
  • the user input unit 1407 is specifically used to: receive a first sub-input of the first information displayed on the second display screen;
  • the processor 1410 is specifically configured to: in response to the first sub-input, update the first information displayed on the second display screen to the second information;
  • the user input unit 1407 receives a second sub-input
  • the processor 1410 is specifically configured to: in response to the second sub-input, update the first information displayed on the first display screen to the second information;
  • the second information displayed on the first display screen is projected onto the projection window of the second electronic device for display.
  • the data isolation between the second display screen and the first display screen is maintained.
  • the first electronic device can edit the first information in the second display screen in response to the first sub-input.
  • the user performs the second sub-input on the second display screen, thereby synchronously displaying the updated first information displayed in the second display screen in the first display screen, and projecting the updated first information displayed in the first display screen to the second electronic device, and displaying it in the projection window of the second electronic device.
  • the user operates the first information in the second display screen, and after the first information in the second display screen is completely updated, the first information on the first display screen and the projection window of the second electronic device are updated at one time, ensuring that the projection window of the second electronic device will not display the user's editing process of the first information.
  • the second display screen includes a first display window and a second display window; the first display window includes first information, and the second display window includes third information;
  • the processor 1410 is specifically configured to: upon receiving a third input for the third information, update the display content of the first display screen in response to the third input and based on the third information;
  • Processor 1410 is specifically used to: in response to the third input, update the display content in the projection window projected to the second electronic device based on the third information.
  • the second display screen of the first electronic device can display the first information and the third information at the same time, and the user can control the first electronic device to update the first information in the projection window of the first display screen and the second electronic device based on the third information by performing a third input on the third information.
  • the user needs to update the projection file based on other files, there is no need to open the two files alternately, nor to switch the two files between foreground and background operation, which further simplifies the operations required for the user to update the projection content during the projection process.
  • the processor 1410 is specifically configured to: replace the first information displayed on the first display screen with the third information; and project the third information displayed on the first display screen into the projection window of the second electronic device for display;
  • the processor 1410 is specifically configured to: update the information content of the first information displayed on the first display screen based on the third information, and project the updated first information displayed on the first display screen into the projection window of the second electronic device for display;
  • the processor 1410 in the process of updating the information content of the first information displayed on the first display screen based on the third information, is specifically configured to perform at least one of the following:
  • Part of the first information is replaced by the third information.
  • the first electronic device when a first electronic device projects first information in a first display screen to a second electronic device and the folding angle of the second display screen is within a first angle range, the first information and the third information are displayed in a first display window and a second display window of the second display screen, respectively, and a user can control the first electronic device to edit the first information based on the third information by performing a third input on the third information, thereby simplifying the operation steps for the user to edit the projected content and enabling the editing of the currently projected file based on other files without exiting the current projection state.
  • the first display screen includes a first display window and a second display window; the first display window includes first information, the first information is information of a first program, and the second display window includes a program interface of a second program; the first program and the second program are different application programs;
  • the processor 1410 is specifically configured to: upon receiving a fourth input to the program interface of the second program, control the second program to execute a target process in response to the fourth input;
  • the target processing includes at least one of the following: recording audio, recording video, recording information, and replying to messages.
  • the user can control the second program to execute the target processing through the second display screen. Since the first program and the second program are different programs, the data source for displaying the first information is different from the data source of the program interface of the second program, and the first electronic device only casts the first information in the first display screen, it is ensured that the program interface displayed in the second display window will not be cast to the second electronic device for display, and the user can conveniently operate other applications during the casting process, and the operation of other applications will not affect the content displayed on the cast screen.
  • the processor 1410 is also used to control the second display screen to turn off when the folding angle of the second display screen is within a second angle range.
  • the second display screen when the second display screen is within the second angle range, it can be determined that the user does not need to update the first information through the second display screen, nor does the second display screen need to display other information, that is, there is no content that must be displayed on the second display screen at this time, and controlling the second display screen to turn off can effectively improve the battery life of the first electronic device.
  • the first electronic device when it receives a real-time message, it controls the second display screen to switch from an off state to a bright state, and displays the real-time message to ensure that the user can view the message in time.
  • the input unit 1404 may include a graphics processing unit (GPU) 14041 and a microphone 14042, and the graphics processor 14041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the user input unit 1407 includes a touch panel 14071 and at least one of other input devices 14072.
  • the touch panel 14071 is also called a touch screen.
  • the touch panel 14071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
  • the memory 1409 can be used to store software programs and various data.
  • the memory 1409 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.).
  • the memory 1409 can include a volatile memory or a non-volatile memory, or the memory 1409 can include a volatile and a non-volatile memory. Both volatile memory.
  • non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • ROM Read-Only Memory
  • PROM programmable read-only memory
  • Erasable PROM Erasable PROM
  • EPROM electrically erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM, SLDRAM synchronous connection dynamic random access memory
  • the processor 1410 may include one or more processing units; optionally, the processor 1410 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1410.
  • An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
  • the processor is the processor in the electronic device in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface.
  • the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned screen projection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • An embodiment of the present application provides a computer program product, which is stored in a storage medium.
  • the program product is executed by at least one processor to implement the various processes of the above-mentioned screen projection method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
  • a storage medium such as ROM/RAM, a disk, or an optical disk
  • a terminal which can be a mobile phone, a computer, a server, or a network device, etc.

Abstract

本申请公开了一种投屏方法、装置、电子设备和存储介质,属于投屏技术领域。投屏方法,包括:接收第一输入;响应于第一输入,在第一电子设备的第一显示屏显示第一信息的情况下,将第一显示屏中显示的第一信息投射至第二电子设备的投屏窗口中显示;其中,第一电子设备包括至少两个显示屏,至少两个显示屏包括第一显示屏,可投射至第二电子设备的投屏窗口中显示的内容为第一显示屏中显示的信息。

Description

投屏方法、装置、电子设备和存储介质
相关申请的交叉引用
本申请主张在2022年10月14日在中国提交的中国专利申请No.202211263041.0的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于显示技术领域,具体涉及一种投屏方法、装置、电子设备和存储介质。
背景技术
近年来,随着投屏技术发展迅速,投屏技术广泛应用于不同领域。相关技术中的投屏功能是将电子设备的显示屏中的全部显示内容投屏至目标电子设备进行显示,在用户操作电子设备中的其他应用程序时,会将用户操作对应的显示内容同步投屏至目标电子设备中进行显示,导致影响其他人观看投屏在目标电子设备中的显示内容。
发明内容
本申请实施例的目的是提供一种投屏方法、装置、电子设备和存储介质,避免了用户在通过投屏设备投屏过程中对投屏设备的操作,对目标电子设备显示投屏内容产生影响。
第一方面,本申请实施例提供了一种投屏方法,包括:接收第一输入;响应于第一输入,在第一电子设备的第一显示屏显示第一信息的情况下,将第一显示屏中显示的第一信息投射至第二电子设备的投屏窗口中显示;其中,第一电子设备包括至少两个显示屏,至少两个显示屏包括第一显示屏,可投射至第二电子设备的投屏窗口中显示的内容为第一显示屏中显示的信息。
第二方面,本申请实施例提供了一种投屏装置,包括:接收模块,用于接收第一输入;投屏模块,用于响应于第一输入,在第一电子设备的第一显示屏显示第一信息的情况下,将第一显示屏中显示的第一信息投射至第二电子设备的投屏窗口中显示;其中,第一电子设备包括至少两个显示屏,至少两个显示屏包括第一显示屏,可投射至第二电子设备的投屏窗口中显示的内容为第一显示屏中显示的信息。
第三方面,本申请实施例提供了一种电子设备,包括处理器和存储器,存储器存储可 在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现如第一方面的方法的步骤。
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现如第一方面的方法的步骤。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面的方法。
在本申请的一些实施例中,第一电子设备能够将第一信息对应的数据传输至第二电子设备进行显示,且第二电子设备在投屏窗口中显示该第一信息。第二电子设备的投屏窗口中显示第一信息时的画面与第一电子设备显示第一信息时的画面相同。即第一电子设备在进行投屏的过程中,将第一电子设备显示在第一显示屏中显示的第一信息进行投屏,至少两个显示屏中除第一显示屏外的其他显示屏显示的其他信息不会投屏至第二电子设备,使用户能够将需要投屏的投屏信息通过第一显示屏进行显示,将不需要投屏的其他信息在其他显示屏进行显示。用户在通过第一电子设备进行投屏,还能够通过第一电子设备执行其他操作,并且用户进行的其他操作不会影响投屏至第二电子设备投屏所显示的第一信息产生,避免了用户在通过投屏设备投屏过程中对投屏设备的操作,对目标电子设备显示投屏内容产生影响。
在本申请的一些实施例中,第一电子设备包括至少两个显示屏,在第一电子设备向第二电子设备的投屏窗口投屏显示第一显示屏中的第一信息时,投屏至第二电子设备的投屏窗口中显示的信息仅为第一显示屏中所显示的第一信息,不会对至少两个显示屏中除第一显示屏外的其他显示屏所显示的信息进行投屏,用户能够通过其他显示屏操作其他应用,通过其他显示屏显示其他信息,并且不会对投屏至第二电子设备的第一信息产生影响。
附图说明
图1示出了本申请的一些实施例提供的投屏方法的流程示意图;
图2示出了本申请的一些实施例提供的第一电子设备的显示界面示意图;
图3示出了本申请的一些实施例提供的第一电子设备的结构示意图;
图4示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图;
图5示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图;
图6示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图;
图7示出了本申请的一些实施例提供的第一电子设备的第二显示屏的示意图;
图8示出了本申请的一些实施例提供的第一电子设备的第二显示屏的示意图;
图9示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图;
图10示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图;
图11示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图;
图12示出了本申请的一些实施例提供的投屏装置的示意框图;
图13示出了本申请的一些实施例提供的电子设备的结构框图;
图14为实现本申请的一些实施例提供的电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书中的字符“/”一般表示前后关联对象是一种“或”的关系。
下面结合附图1至图14,通过具体的实施例及其应用场景对本申请实施例提供的投屏方法、投屏装置、电子设备和存储介质进行详细地说明。
在本申请的一些实施例中提供了一种投屏方法,图1示出了本申请的一些实施例提供的投屏方法的流程示意图。如图1所示,投屏方法包括:
步骤102,接收第一输入;
在在本申请的一些实施例中,上述第一输入用于控制第一电子设备进入投屏模式,第一输入可以为第一操作。示例性的地,上述第一输入包括但不限于:用户通过手指或者手写笔等触控装置对第一电子设备的触控输入,或者为用户输入的语音指令,或者为用户输入的特定手势,或者为其他可行性输入,具体的可以根据实际使用需求确定,本申请实施例不作限定。本申请实施例中的特定手势可以为单击手势、滑动手势、拖动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;本申请实施例中的点击输入可以为单击输入、双击输入或任意次数的点击输入等,还可以为长按输入或短按输入。例如,上述的第一输入可以为:用户对第一电子设备的第一显示屏或至少两个显示屏中其他显示屏上显示的投屏控件的点击输入,还可以为用户对第二显示屏的折叠输入。
本申请实施例中的第一电子设备可以为具有多个显示屏的电子设备,包括但不限于折叠屏设备、双面屏设备。
图2示出了本申请的一些实施例提供的第一电子设备的显示界面示意图,如图2所示,在步骤102之前,在第一电子设备200的第二显示屏202显示汇报材料,第二显示屏202与第一显示屏不是同一显示屏,即第二显示屏202为至少两个显示屏中除第一显示屏外的其他显示屏。用户点击第一按钮204,跳转至投屏模式选择界面,在投屏模式选择界面显示对应“常规投屏模式”的第二按钮206和“预设投屏模式”的第三按钮208。用户点击第三按钮208之后,跳转至投屏设备选择界面,在投屏设备选择界面显示多个第二电子设备的设备标识210,用户点击任一设备标识210,第一电子设备与该设备标识210对应的第二电子设备建立通信连接。并在第一显示屏212中汇报材料,并将第一显示屏212中显示的汇报材料投屏至第二电子设备进行显示。其中,用户执行的“点击第三按钮208”和“点击任一设备标识210”为用户对第一电子设备200所执行的第一输入。
步骤104,响应于第一输入,在第一电子设备的第一显示屏显示第一信息的情况下,将第一显示屏中显示的第一信息投射至第二电子设备的投屏窗口中显示;
其中,第一电子设备包括至少两个显示屏,至少两个显示屏中包括第一显示屏,可投射至第二电子设备的投屏窗口中显示的内容为第一显示屏中显示的信息。
在本申请的一些实施例中,通过执行第一显示屏为专用于投屏的显示屏,即投屏至第二电子设备的投屏窗口的第一信息的数据源只为第一显示屏中所显示的第一信息。在投屏过程中,至少两个显示屏中除第一显示屏外的其他显示屏中显示的信息不会投屏至第二电 子设备的投屏窗口中,即第一电子设备在投屏过程中,仅从第一显示屏获取数据向第二电子设备进行投屏。
第一信息可以为第一显示屏中整个显示界面中的全部信息,第一信息也可以为第一显示屏中某一应用的界面中的信息。示例性地,在第一显示屏运行两个不同的应用程序,且在第一显示屏中显示有两个不同的应用程序的显示界面。用户可以选择将第一显示屏中所显示的全部信息作为第一信息,投射至第二电子设备的投屏窗口,其中,第一信息不仅包括第一显示屏所显示的两个应用程序的显示界面,还包括第一显示屏所显示的其他信息。用户还可以选择将第一显示屏中所显示的两个应用程序的显示界面中的一个显示界面中的信息作为第一信息,投射至第二电子设备的投屏窗口,其中,第一信息中仅包括选中的显示界面中的信息,不包括第一显示屏中所显示的其余信息。
在本申请的一些实施例中,电子设备包括多个显示屏时,作为投屏数据源的显示屏可以为多个显示屏中的一个或者多个,用户能够对多个显示屏中哪个显示屏作为投屏数据源进行自定义。并且第一显示屏的数量也能够由用户根据实际需求进行定义。
示例性地:第一电子设备是双面屏手机的情况下,手机包括前屏和后屏两个显示屏,用户能够将前屏定义为第一显示屏,在通过手机向电视进行投屏时,手机仅将前屏中所显示的信息投屏至电视进行显示,或者用户也可以指定后屏作为投屏数据源的显示屏,在通过手机向电视进行投屏时,手机仅将后屏中所显示的信息投屏至电视进行显示。
示例性地,第一电子设备为平板电脑的情况下,平板电脑包括四个显示屏,用户能够将四个显示屏中两个目标显示屏定义为第一显示屏。并对两个目标显示屏对应的投屏文件的类型进行定义,用户将两个目标显示屏中的一个定义为对工作类文件进行投屏的显示屏,使平板电脑在对幻灯片等工作文件进行投屏时,通过该目标显示屏进行投屏。用户将两个目标显示屏中的另一个定义为对娱乐类文件进行投屏的显示屏,使平板电脑对电影等娱乐文件进行投屏时,通过该目标显示屏进行投屏。
在本申请的一些实施例中,第一显示屏显示的第一信息包括但不限于:第一显示屏的任一应用程序的程序界面、程序文件,具体地,程序界面可以包括程序的主界面、子界面、显示任意类型的文件的显示界面,例如视频文件的播放界面、图像文件的显示界面、文本文件的显示界面、程序主界面中某个选项卡的界面,程序文件可以包括以下至少一项:幻灯片文件、视频文件、音频文件、文字文档等。
在第一电子设备开始投屏之前,第一电子设备需要确定至少两个显示屏中的第一显示 屏,该第一显示屏可由用户进行定义。在用户定义至少两个显示屏中的第一显示屏后,第一电子设备能够记录至少两个显示屏中每个显示屏的标识,使第一电子设备在开始投屏之前,确定至少两个显示屏中的第一显示屏。
在本申请的一些实施例中,第一电子设备能够获取第一显示屏中所显示的第一信息对应的数据,并将第一信息对应的数据传输至第二电子设备,以供第二电子设备在投屏窗口显示该第一信息。
示例性地,在第一电子设备包括三个显示屏且用户定义显示屏2为第一显示屏的情况下,三个显示屏分别为显示屏1、显示屏2、显示屏3,例如,第一电子设备预先存储了每个显示屏的屏幕编号p1、p2、p3,在用户设置哪个显示屏作为投屏数据源时,可以在投屏数据源设置界面上进行操作,投屏数据源设置界面上可显示“显示屏1”、“显示屏2”和“显示屏3”3个选项,在用户勾选了“显示屏2”这个选项之后,可以将p2这个编号存储为投屏数据源对应的显示屏的编号,在后续投屏时,先获取p2这个编号,然后获取p2对应的显示屏2中显示的信息,执行后续的投屏流程。在第一电子设备向第二电子设备投屏时,获取显示屏2中显示的信息的数据,并将该信息对应的数据传输至第二电子设备,第二电子设备能够根据该数据在投屏窗口中,显示与显示屏2相同的信息。
在本申请的一些实施例中,第一电子设备能够将第一信息对应的数据传输至第二电子设备进行显示,且第二电子设备在投屏窗口中显示该第一信息。第二电子设备的投屏窗口中显示第一信息时的画面与第一电子设备显示第一信息时的画面相同。即第一电子设备在进行投屏的过程中,将第一电子设备显示在第一显示屏中显示的第一信息进行投屏,至少两个显示屏中除第一显示屏外的其他显示屏显示的其他信息不会投屏至第二电子设备,使用户能够将需要投屏的投屏信息通过第一显示屏进行显示,将不需要投屏的其他信息在其他显示屏进行显示。用户在通过第一电子设备进行投屏,还能够通过第一电子设备执行其他操作,并且用户进行的其他操作不会影响投屏至第二电子设备投屏所显示的第一信息产生,避免了用户在通过投屏设备投屏过程中对投屏设备的操作,对目标电子设备显示投屏内容产生影响。
示例性地,用户在进行线下会议的过程中,用户需要将手机中的幻灯片文件,投屏在会议室中的大屏设备进行显示,手机为第一电子设备,大屏设备为第二电子设备。用户控制手机与大屏设备建立通信连接,并将手机的第一显示屏中所显示的第一信息投屏至大屏设备的投屏窗口中显示。此时,用户可以操作手机,使第二显示屏显示会话界面,与其他 会话对象进行线上会话,第二显示屏为至少两个显示屏中除第一显示屏外的其他显示屏。在线上会话期间,会话界面显示在第二显示屏中,第二显示屏中的内容不会投屏到大屏设备中进行显示,且基于第一显示屏中显示的信息保持投屏在大屏设备的投屏窗口中,避免了用户进行线上会话的隐私内容泄露。
示例性地,用户居家场景下,用户需要将手机中的视频文件,投屏在智能电视中进行观看,手机为第一电子设备,智能电视为第二电子设备。用户控制手机与智能电视建立通信连接,并控制手机的第一显示屏播放视频文件,视频文件投屏在智能电视中进行显示。此时,用户可以操作手机进行视频通话,视频通话的内容显示在第二显示屏中,在用户视频通话过程中,第一显示屏保持对视频文件的播放,同时保持对智能电子的投屏,即投屏不会在用户视频通话期间中断,第二显示屏为至少两个显示屏中除第一显示屏外的其他显示屏。在投屏过程中,第一显示屏静音播放视频文件,视频文件中的音频通过第二电子设备输出。
在本申请的一些实施例中,第一电子设备包括至少两个显示屏,在第一电子设备向第二电子设备的投屏窗口投屏显示第一显示屏中的第一信息时,投屏至第二电子设备的投屏窗口中显示的信息仅为第一显示屏中所显示的第一信息,不会对至少两个显示屏中除第一显示屏外的其他显示屏所显示的信息进行投屏,用户能够通过其他显示屏操作其他应用,通过其他显示屏显示其他信息,并且不会对投屏至第二电子设备的第一信息产生影响。在本申请的一些实施例中,至少两个显示屏包括第二显示屏,第二显示屏为可折叠屏幕。
图3示出了本申请的一些实施例提供的第一电子设备的结构示意图,如图3所示,第一电子设备为折叠屏手机300,折叠屏手机300的外屏302为第一显示屏,折叠屏手机300的内屏304为第二显示屏。在折叠屏手机300处于折叠状态或展开状态下,外屏302始终能够向用户展示所显示的内容。内屏304为折叠屏,在折叠屏手机300处于折叠状态下,内屏304闭合,在折叠屏手机300处于折叠状态下,内屏304能够展开向用户展示所显示的内容。
将第一显示屏中显示的第一信息投射至第二电子设备的投屏窗口中显示之后,还包括:
在第二显示屏的折叠角度在第一角度范围内的情况下,在第二显示屏显示第一信息;
在接收到对第二显示屏的第二输入的情况下,响应于第二输入,更新第一显示屏和第二显示屏中第一信息的信息内容,并将第一显示屏中显示的更新后的第一信息投射至第二电子设备的投屏窗口中显示。
示例性地,第一角度范围可以为90°至180°,即第二显示屏处于展开状态。
示例性地,用户进行线下会议时通过手机向大屏设备投屏显示幻灯片文件,手机为第一电子设备,大屏设备为第二电子设备。在投屏过程中,手机的外屏处于常亮状态,且保持显示幻灯片文件,大屏设备的投屏窗口同步显示手机外屏中的幻灯片文件,手机的外屏为第一电子设备的第一显示屏。在用户需要对投屏显示的幻灯片文件进行编辑调整时,用户将手机的折叠屏展开至180°,手机的折叠屏中显示正在投屏的幻灯片文件,手机的折叠屏为第一电子设备的第二显示屏。用户通过操作手机折叠屏中显示的幻灯片文件,能够对正在投屏的幻灯片文件进行编辑。
在本申请的一些实施例中,在第一电子设备的第一显示屏的第一信息投射至第二电子设备的投屏窗口之后,第一电子设备持续检测第二显示屏的折叠角度,在检测到第二显示屏的折叠角度在第一角度范围内的情况下,则第二显示屏显示第一显示屏中所显示的第一信息。
在本申请的一些实施例中,第二显示屏所显示的第一信息与第一显示屏所显示的第一信息相同,第一显示屏和第二显示屏可将第一信息显示在不同的界面中,也可将第一信息显示在相同的界面中。示例性地,在用户需要对处于投屏的视频文件进行编辑时,用户需要将该视频文件的编辑过程进行投屏展示,则将第一显示屏和第二显示屏中的视频文件均显示在相同的编辑界面中,用户操作第二显示屏中的编辑界面,对第一显示屏和第二显示屏中的视频文件同步进行编辑。在用户仅需要对编辑后的视频文件进行展示时,则保持第一显示屏中视频文件显示在播放界面,而第二显示屏中的视频文件显示在编辑界面,用户操作第二显示屏中的编辑界面,对第二显示屏中的视频文件同步进行编辑,第一显示屏保持对编辑前的视频文件的播放,且不影响投屏至第二电子设备的投屏窗口的显示。
在本申请的一些实施例中,第二输入为用户对第二显示屏进行编辑的操作输入,在第二显示屏显示第一信息的情况下,第一电子设备能够响应于第二输入对第一显示屏、第二显示屏和第二电子设备的投屏窗口中的第一信息进行编辑。
本申请实施例的第二输入包括但不限于:插入操作输入、删除操作输入、修改操作输入等。
在本申请的一些实施例中,第一显示屏、第二显示屏和第二电子设备的投屏窗口中的第一信息可以同步进行更新,也可以延迟更新,其中,延迟更新是指在第二显示屏的内容更新完成之后,再根据第二显示屏中更新后的内容,更新第一显示屏和第二电子设备的投 屏窗口中的内容。
在本申请的一些实施例中,在第一显示屏、第二显示屏和第二电子设备的投屏窗口中的第一信息进行同步更新时,则第一显示屏、第二显示屏和第二电子设备同步显示用户对第一信息进行编辑的过程。
在本申请的一些实施例中,第一显示屏、第二显示屏和第二电子设备的投屏窗口中的第一信息进行延迟更新,第一电子设备响应于用户的第二输入对第二显示屏中显示的第一信息进行编辑。在第二显示屏中显示的第一信息编辑的过程中,第一显示屏和第二电子设备的投屏窗口中显示的第一信息保持不变。在用户完成对第二显示屏中显示的第一信息的更新之后,第一电子设备将更新后的第一信息显示在第一显示屏中,以对第一显示屏中的第一信息进行更新,由于第二电子设备的投屏窗口显示的第一信息为第一显示屏显示的第一信息,故第二电子设备的投屏窗口中的第一信息随第一显示屏中的第一信息更新。
在本申请的一些实施例中,在第一电子设备进行投屏的过程中,第一电子设备通过将第一显示屏中显示的第一信息投屏至第二电子设备。在第一电子设备的第二显示屏的折叠角度处于第一角度范围内,则第一电子设备的第二显示屏显示与第一显示屏中相同的第一信息,并且用户能够通过操作第二显示屏对显示的第一信息进行编辑。
在通过第一电子设备进行投屏的过程中,将第一电子设备的第一显示屏作为投屏的镜像屏幕,即第二电子设备的投屏窗口基于第一显示屏中显示的第一信息进行显示,保证第二电子设备的投屏窗口中所显示的内容与第一电子设备的第一显示屏中所显示的内容相同。
在用户需要对第一显示屏的投屏内容进行更新的情况下,调整第二显示屏的折叠角度处于第一折叠角度内,第一显示屏与第二显示屏处于信号导通状态,第二显示屏同步显示第一显示屏中的第一信息,此时第二电子设备的投屏窗口中所显示的第一信息为第一显示屏中显示的第一信息。
在本申请的一些实施例中,用户能够在第二显示屏中对第一信息进行操作,从而对第一显示屏中的所显示的第一信息,以及第二电子设备中的投屏窗口中的第一信息进行更新。
图4示出了本申请实施例的一些提供的第一显示屏和第二显示屏的示意图,如图4所示,在第一电子设备400处于投屏状态下,且第二显示屏404处于闭合状态,将第一显示屏402中的第一信息投射至第二电子设备中的投屏窗口中进行显示,其中,第二显示屏404处于闭合状态为第二显示屏404的折叠角度未处于第一角度范围内。当第二显示屏404 处于展开状态,第一显示屏402和第二显示屏404均显示投屏的第一信息,用户通过对第二显示屏404执行第二输入,以对第一显示屏402和第二显示屏404中所显示的内容进行更新,其中,第二显示屏404处于展开状态为第二显示屏404处于第一角度范围内。
需要说明的是,在对第一显示屏中的第一信息进行投屏之前,还包括:接收第五输入;响应于第五输入,控制第一电子设备处于预设投屏模式。
在预设投屏模式下,第一电子设备仅对第一显示屏中所显示的第一信息进行投屏。第二显示屏中显示的信息不会投射至第二电子设备进行显示。在用户需要对第一显示屏中显示的第一信息进行更新的情况下,需要用户折叠第二显示屏至第一角度范围内,并通过操作第二显示屏编辑第一显示屏中的第一信息,此时,再将第一显示屏中显示的更新后的第一信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在第一电子设备的投屏过程中,第一电子设备选择仅将第一显示屏中第一信息投屏至第二电子设备中,第二电子设备不会显示第一电子设备的第二显示屏中所显示的其他信息,在投屏过程中,使第一显示屏与第二显示屏的显示的信息相互隔离。在用户需要对第一显示屏投屏至第二电子设备中的第一信息进行编辑时,用户仅需要将第二显示屏折叠至第一角度范围内,此时,用户能够通过操作第二显示屏对投屏的第一信息进行更新,无需用户手动对第一信息相应的应用程序进行后台前台的切换,简化了用户的操作步骤。由于第一显示屏在投屏过程中处于常亮状态,并且投屏过程是基于第一显示屏中所显示的信息进行投屏,而不是基于第一信息对应的应用程序进行投屏,故用户在第二显示屏中编辑第一信息时,不会导致投屏的数据流中断,第二电子设备的投屏窗口所显示的第一信息也不会发生中断。
本申请实施例减少了电子设备在投屏过程中,用户对投屏信息进行编辑的操作步骤,从而简化了用户操作电子设备进行投屏的操作。
在本申请的一些实施例中,在接收到对第二显示屏的第二输入的情况下,响应于第二输入,更新第一显示屏和第二显示屏中第一信息的信息内容,并将第一显示屏中更新后的第一信息投射至第二电子设备的投屏窗口中显示,包括:
接收对第二显示屏中显示的第一信息的第二输入,第二输入为编辑第二显示屏中第一信息的信息内容的输入;
响应于第二输入,同步更新第二显示屏和第一显示屏中显示的第一信息的信息内容,以及将第一显示屏中同步更新显示的第一信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在用户需要对投屏至第二电子设备的投屏窗口的第一信息进行编辑,且需要展示编辑过程的情况下,控制第一显示屏和第二显示屏对第一信息进行同步显示,处于同步显示状态下的第一显示屏和第二显示屏中任一显示屏中所显示的第一信息发生变化,则另一个显示屏中所显示的第一信息同步发生变化。用户通过对第二显示屏中显示的第一信息执行编辑输入,能够对第二显示屏中的第一信息和第二信息进行同步编辑,编辑的操作包括但不限于插入操作、删除操作、更改操作等。
在本申请的一些实施例中,第一显示屏显示的信息对应的数据和第二显示屏显示的信息对应的数据处于数据连通状态,其中,数据连通状态是指第一显示屏和第二显示屏所显示的第一信息的数据源相同,第一显示屏和第二显示屏中所显示的第一信息均来自相同的应用程序,该应用程序中的数据同步显示在第一显示屏和第二显示屏中。用户通过第二显示屏对第一信息进行编辑时,直接对应用程序中第一信息相应的数据进行修改。第一显示屏和第二显示屏的数据源为同一个应用程序,用户通过对第二显示屏操作该应用程序对第一信息进行编辑时,该应用程序能够将编辑对应的数据同步传输至第一显示屏和第二显示屏,使第一显示屏和第二显示屏中所显示的第一信息同步更新。第二电子设备的投屏窗口中所显示的第一信息为第一显示屏所显示的第一信息,因此,第二电子设备的投屏窗口中显示的第一信息也同步进行更新。
在同步更新第一显示屏、第二显示屏以及第二电子设备的投屏窗口中所显示的第一信息的过程中,第一电子设备保持仅将第一显示屏中的第一信息相应的数据传输至第二电子设备,即第二电子设备的投屏窗口中显示的第一信息保持与第一显示屏中显示的第一信息同步。
图5示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图,如图5所示,在第一电子设备500的第一显示屏502和第二显示屏504中同步显示文本文档“2008年10月11日,天气晴,北风三级”。在上述第一电子设备接收第二显示屏中显示的第一信息的第二输入时,用户通过对第二显示屏504执行第二输入,将文本文档中的“天气晴”修改为“天气阴”。此时,第一显示屏502和第二显示屏504中通过显示修改文本文档的过程,在修改完成之后,第一显示屏502和第二显示屏504中同步显示更新后的文本文档“2008年10月11日,天气阴,北风三级”,在修改过程中,第一显示屏502中显示的画面同步投射至和第二电子设备的投屏窗口中。
在本申请的一些实施例中,在第一电子设备将第一显示屏中显示的第一信息投屏至第 二电子设备的投屏窗口进行显示的过程中,用户需要对第一信息进行编辑,并且需要对第一信息的编辑过程同步显示在第二设备的投屏窗口的情况下,用户能够通过调整第二显示屏的折叠角度至第一角度范围内,使第二显示屏显示第一信息,用户通过对第二显示屏中显示的第一信息执行第二输入的方式,实现第一显示屏和第二设备的投屏窗口显示第二显示屏中所显示的第一信息的编辑过程。第一电子设备对第一显示屏和第二显示屏中显示的第一信息同步更新,由于第二电子设备的投屏窗口中显示的第一信息为第一显示屏中的第一信息,故第一显示屏、第二显示屏和第二电子设备的投屏窗口中所显示的第一信息同步更新,满足了用户对投屏的第一信息的编辑过程进行展示的需求。
需要说明的是,在用户对第二显示屏中的第一信息执行第二输入之前,用户需要将处于数据隔离状态的第一显示屏和第二显示屏中所显示的第一信息对应的数据切换至处于数据连通状态,其中,数据隔离状态是指第一显示屏和第二显示屏所显示的第一信息的数据源不同,第一显示屏和第二显示屏所显示的第一信息来自不同的应用程序,或者来自同一应用程序运行的不同进程。在第一显示屏和第二显示屏中所显示的第一信息对应的数据处于数据隔离状态下,用户对第二显示屏中的第一信息进行更新时,第一显示屏中显示的第一信息保持不变。
示例性地,在第一显示屏和第二显示屏所显示的第一信息对应的数据处于数据隔离状态下,第一信息对应的应用程序执行第一进程和第二进程,第一进程为对第一信息进行编辑的进程,应用程序将该第一进程中的数据传输至第二显示屏,使第二显示屏在显示第一信息的编辑界面第二进程为对第一信息进行显示的进程,应用程序将该第二进程中数据传输至第一显示屏,使第一显示屏显示第一信息的显示界面。在第一显示屏和第二显示屏所显示的第一信息对应的数据处于数据隔离状态下,用户操作第二显示屏对编辑界面中的第一信息进行编辑时,不会影响到第一显示屏中显示界面对第一信息的显示。在第一显示屏和第二显示屏所显示的第一信息对应的数据由数据隔离状态切换至数据连通状态时,应用程序根据第一进程中的数据更新第二进程中的数据,且将更新后的第二进程中的数据传输至第一显示屏和第二显示屏,使第一显示屏和第二显示屏同时在显示界面中显示编辑后的第一信息。
在本申请的一些实施例中,第二输入包括第一子输入和第二子输入,第一子输入为编辑第二显示屏中第一信息的信息内容的输入;第二子输入为用于触发更新第一显示屏的显示内容和投射至第二电子设备的投屏窗口中的显示内容的输入;
在接收到对第二显示屏的第二输入的情况下,响应于第二输入,更新第一显示屏和第二显示屏中第一信息的信息内容,并将第一显示屏中更新后的第一信息投射至第二电子设备的投屏窗口中显示,包括:
接收对第二显示屏中显示的第一信息的第一子输入;
响应于第一子输入,将第二显示屏中显示的第一信息更新为第二信息;
接收第二子输入;
响应于第二子输入,将第一显示屏中显示的第一信息更新为第二信息,并将第一显示屏中显示的第二信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在用户需要对第一显示屏投屏至第二电子设备的投屏窗口中的第一信息进行编辑,且用户不需要对第一信息的编辑过程进行展示的情况下,第一电子设备能够响应于用户的第一子输入,对显示在第二显示屏中的第一信息进行编辑。在用户对第二显示屏中的第一信息编辑完成后,第一电子设备响应于用户的第二子输入,将编辑后的第一信息显示在第一显示屏,并同步投屏至第二电子设备的投屏窗口。
示例性地,第一电子设备将显示在第一显示屏中幻灯片文件投屏至第二电子设备的投屏窗口进行显示,幻灯片文件为第一信息。在幻灯片文件播放至第3页的时,用户需要在将未播放幻灯片文件的第5页中的“开始”修改为“结束”,但并不希望其他人注意到修改的过程。用户对第二显示屏显示的幻灯片文件执行第一子输入进行修改,第二显示屏显示用户通过第一子输入对幻灯片文件进行的修改,第一显示屏和第二电子设备的投屏窗口中所显示的第一信息不发生变化,继续保持显示幻灯片第3页的内容。在用户在第二显示屏中对第一信息修改完成后,用户对第一电子设备执行第二子输入,将显示在第一显示屏以及第二电子设备的投屏窗口中的幻灯片文件更新为修改后的幻灯片文件。
在在本申请的一些实施例中,第一电子设备能够在第二显示屏的内容更新完成之后,再根据第二显示屏中更新后的内容,更新第一显示屏和第二电子设备的投屏窗口中的内容。
用户对第二显示屏执行用于更新第一显示屏、第二显示屏和第二电子设备的投屏窗口中的第一信息的第二输入,至少包括第一子输入和第二子输入两个子输入。其中,第一子输入为用户对第二显示屏中显示的第一信息进行编辑的输入,第一子输入包括对删除文字输入、增加文字输入、插入图片输入、删除图片输入、修改幻灯片文件格式的输入、增加或删除幻灯片文件中页面的输入、对幻灯片文件插入文字或图片的输入等。第二子输入为用户将第二显示屏中显示的更新后的第一信息同步显示在第一显示屏和第二电子设备的 投屏窗口中的输入,第二子输入包括向第一显示屏拖动第一信息的输入、点击第二显示屏中操作控件的输入、折叠第二显示屏的输入等。
具体来说,在第二显示屏显示第一信息的情况下,用户通过对第二显示屏执行第一子输入,第一电子设备响应于第一子输入对第二显示屏中所显示的第一信息进行编辑。在第二显示屏中的第一信息编辑过程中,第一显示屏中的第一信息保持不变,不受用户对第二显示屏中的第一信息进行编辑的影响。在用户通过第一子输入对第二显示屏的第一信息完成编辑之后,用户通过对第一电子设备执行第二子输入,使第一电子设备根据第二显示屏中的更新完成的第一信息对第一显示屏中的第一信息进行更新。由于第一电子设备对第一显示屏所显示的第一信息进行投屏处理,此时,第一电子设备将第一显示屏中更新后的第一信息投屏至第二电子设备。在用户通过第二显示屏编辑第一信息的过程中,第一显示屏和第二电子设备的投屏窗口仅显示更新前和更新后的第一信息,并不会对第一信息的更新过程进行投屏显示。
本申请实施例的第一子输入可以为通过手势输入执行的插入操作、删除操作、修改操作等操作输入,第二子输入可以为手势输入、语音输入等,还可以为用户调整第一电子设备的姿态的操作输入。
图6示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图,如图6所示,在第一电子设备600的第一显示屏602、和第二显示屏604中显示幻灯片文件606,幻灯片文件606中包括三页幻灯片。用户通过对第二显示屏对输幻灯片文件606中的一页幻灯片执行删除输入,删除输入为用户对第一电子设备所执行第一子输入。此时,第二显示屏604中显示有两页幻灯片,第一显示屏602中保持显示有三页幻灯片。用户点击第二显示屏604中显示的更新控件608,此时,第一显示屏602显示剩余的两页幻灯片,在用户点击更新控件608之后,第一显示屏602中显示的画面同步投射至和第二电子设备的投屏窗口中,用户点击更新控件608为用户对第一电子设备执行的第二子输入。
在本申请的一些实施例中,在用户通过第二显示屏对第一信息进行编辑的过程中,保持第二显示屏与第一显示屏所显示的第一信息对应的数据处于的数据隔离状态。在用户对第二显示屏执行第一子输入的情况下,第一电子设备能够响应于第一子输入对第二显示屏中的第一信息进行编辑。在第二显示屏中第一信息完成编辑之后,用户通过对第二显示屏执行第二子输入,从而将第二显示屏中所显示的编辑完成的第一信息显示在第一显示屏中, 并将第一显示屏中所显示的更新后的第一信息投屏至第二电子设备,显示在第二电子设备的投屏窗口中。用户能够操作第二显示屏对第二显示屏所显示的第一信息进行编辑,并在第二显示屏中的第一信息编辑完成之后,一次性对第一显示屏和第二电子设备的投屏窗口中的第一信息进行更新,保证了第二电子设备的投屏窗口不会显示用户对第一信息的编辑过程。
在本申请的一些实施例中,第二显示屏包括第一显示窗口和第二显示窗口;第一显示窗口包括第一信息,第二显示窗口包括第三信息。
本申请实施例的投屏方法还包括:在接收到对第三信息的第三输入的情况下,响应于第三输入,基于第三信息,更新第一显示屏的显示内容和投射至第二电子设备的投屏窗口中的显示内容。
在本申请的一些实施例中,在用户需要根据第三信息对第一显示屏投屏至第二电子设备的第一信息进行更新时,第一电子设备能够响应于用户对第三信息执行的第三输入,根据第三信息对第一显示窗口中的第一信息进行更新,并在更新完成之后,将更新后的第一信息同步更新在第一显示屏和第二电子设备的投屏窗口中。
在本申请的一些实施例中,第二显示屏能够在第一显示窗口中显示第一信息时,同时在第二显示窗口中显示第三信息。用户通过对第三信息执行第三输入,控制第一电子设备基于第三信息对第一信息进行更新。由于第一电子设备将第一显示屏中显示的第一信息投屏至第二电子设备的投屏窗口中显示,在第一信息被更新后,则第一显示屏中显示的第一信息和第二电子设备的投屏窗口中的显示的第一信息也随之更新。
图7示出了本申请的一些实施例提供的第一电子设备的第二显示屏的示意图,如图7所示,第一显示窗口702和第二显示窗口704可分屏显示在第二显示屏700中。
图8示出了本申请的一些实施例提供的第一电子设备的第二显示屏的示意图,如图8所示,第一显示窗口802全屏显示在第二显示屏800中,第二显示窗口804以悬浮窗的形式显示在第一显示窗口802中。
在本申请的一些实施例中,第一信息和第三信息可以为相同类别的信息,例如:第一信息和第三信息均为文本文件,基于第三信息对应的文本文件中的内容,对第一信息对应的文本文件中的内容进行修改。
在本申请的一些实施例中,第一信息和第三信息可以为不同类别的信息,例如:第一信息为幻灯片文件,第三信息为图像文件。将图像文件插入至幻灯片文件中,从而对第一 信息进行更新。
需要说明的是,在第二显示屏中显示有第一显示窗口和第二显示窗口的情况下,第一电子设备基于显示第一信息的第一显示窗口,或第一显示屏中的第一信息向第二电子设备的投屏窗口进行投屏,第二显示屏中的第二显示窗口显示的第三信息不会显示在第一显示屏中,也不会投屏至第二电子设备的投屏窗口中进行显示。
示例性地,第三输入包括第三子输入和第四子输入,第三子输入为基于第三信息更新第二显示屏中的第一信息的输入,第四子输入为触发基于第二显示屏中的第一信息更新第一显示屏和第二电子设备的投屏窗口的输入。第一显示屏和第二显示屏中的第一信息对应的数据处于数据隔离状态,用户通过对第三信息执行第三子输入,控制第一电子设备基于第三信息对第二显示屏中的第一信息进行更新。在更新完成后,用户通过对第二显示屏执行第四子输入,第一电子设备基于第二显示屏中更新后的第一信息更新第一显示屏中的第一信息,并将更新后的第一信息投屏至第二电子设备。第一显示屏中和第二电子设备的投屏窗口中的第一信息在更新过程中,仅显示更新前和更新后的第一信息,不显示第一信息的编辑过程。
示例性地,第一显示屏和第二显示屏的第一信息对应的数据处于数据连通状态,用户通过对第三信息执行第三输入,第一电子设备能够基于第三信息更新第一信息,第一显示屏中的第一信息和第二电子设备的投屏窗口中的第一信息随之更新。
在本申请的一些实施例中,第一电子设备的第二显示屏能够同时显示第一信息和第三信息,用户通过对第三信息执行第三输入,能够控制第一电子设备基于第三信息对第一显示屏和第二电子设备的投屏窗口中的第一信息进行更新。在用户需要基于其他文件为投屏文件进行更新的情况下,无需交替打开两个文件,也无需对两个文件进行前台运行和后台运行之间的切换,进一步简化了用户在投屏过程中,对投屏内容进行更新所需的操作。
在本申请的一些实施例中,基于第三信息,更新第一显示屏的显示内容和投射至第二电子设备的投屏窗口中的显示内容,包括:
将第一显示屏中显示的第一信息替换为第三信息,并将第一显示屏中显示的第三信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在第一电子设备将显示在第一显示屏中的第一信息投屏至第二电子设备的投屏窗口,且用户需要将投屏的第一信息替换为第三信息的情况下,用户能够通过对显示在第二显示窗口的第三信息执行第三输入,将第一显示窗口中的第一信息 替换为第三信息,并将第一显示屏中的第一信息替换为第三信息。由于第二电子设备的投屏窗口中的显示内容与第一显示屏中的显示内容保持同步,第二显示屏中的第二显示窗口显示内容不会显示在投屏窗口中,确保了只有对第一显示屏中的显示内容更新时,才会同步至第二电子设备,提高了投屏内容更新的准确性。
在本申请的一些实施例中,在用户对第二显示屏中的第三信息执行第三输入后,第一电子设备将第一显示屏中所显示的第一信息整体替换为第三信息,并且将第一显示屏中所显示的第三信息,投射至第二电子设备的投屏窗口中进行显示,即用户通过对第三信息执行第三输入,能够通过第三信息对第一显示屏,以及第二电子设备投屏窗口中的第一信息进行替换显示。
图9示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图,在第一显示屏902和第二显示屏904的第一显示窗口906显示有文档,文档为第一信息,第二显示屏904的第二显示窗口908中显示有图片,图片为第三信息。用户将第二显示窗口908中的图片向第一显示窗口906拖动,第一显示屏902由显示文档切换至显示图片,并将第一显示屏902中显示的图片投射至第二电子设备的投屏窗口中进行显示,用户将第二显示窗口908中的图片向第一显示窗口906拖动为用户对第一电子设备执行的第三输入。
在本申请的一些实施例中,在第一电子设备将第一显示屏中的第一信息向第二电子设备进行投屏,且第二显示屏的折叠角度处于第一角度范围内的情况下,在第二显示屏的第一显示窗口和第二显示窗口分别显示第一信息和第三信息,用户能够通过对第三信息执行第三输入,便捷地将投屏至第二电子设备的第一信息替换为第三信息,简化了用户对投屏内容进行切换的操作步骤,实现了在无需退出当前投屏状态就能够切换投屏的文件。
在本申请的一些实施例中,基于第三信息,更新第一显示屏的显示内容和投射至第二电子设备的投屏窗口中的显示内容,包括:
基于第三信息,更新第一显示屏中显示的第一信息的信息内容,并将第一显示屏中显示的更新后的第一信息投射至第二电子设备的投屏窗口中显示。
基于第三信息,更新第一显示屏的显示内容和投射至第二电子设备的投屏窗口中的显示内容,包括以下至少一项:
将所述第三信息添加至所述第一信息中;
将所述第一信息的部分信息替换为所述第三信息。
在本申请的一些实施例中,在用户对第二显示屏中的第三信息执行第三输入后,第一电子设备基于第三信息对第一显示屏中所显示的第一信息进行编辑,并将编辑后的第一信息投射至第二电子设备的投屏窗口中进行显示,即用户通过对第三信息执行第三输入,能够通过第三信息对第一显示屏,以及第二电子设备投屏窗口中的第一信息进行更新。
在本申请的一些实施例中,在第一电子设备将显示在第一显示屏中的第一信息投屏至第二电子设备的投屏窗口,且用户需要将投屏的第一信息中的部分信息替换为第三信息,或将第三信息添加至第一信息中的情况下,用户能够通过对显示在第二显示窗口的第三信息执行第三输入,将第一显示窗口中的第一信息中的部分信息替换为第三信息,或将第三信息添加至第一信息中。由于第二电子设备的投屏窗口中的显示内容与第一显示屏中的显示内容保持同步,第二显示屏中的显示内容不会显示在投屏窗口中,确保了只有对第一显示屏中的显示内容更新时,才会同步至第二电子设备,提高了投屏内容更新的准确性。
在本申请的一些实施例中,基于第三信息对第一显示屏和第二电子设备的投屏窗口中的第一信息进行更新,包括将第三信息中的内容添加至第一信息中,即合并第三信息和第一信息。
在本申请的一些实施例中,第一信息和第三信息的文件类型可以为相同类型,例如:第一信息和第三信息均为图像文件,第一电子设备将第一信息和第三信息对应的图像文件进行拼接处理,得到更新后的第一信息。
在本申请的一些实施例中,第一信息和第三信息的文件类型可以为不同类型,例如:第一信息为幻灯片文件,第三信息为图像文件,第一电子设备将第三信息对应的图像文件插入到第一信息对应的幻灯片文件中进行显示。
图10示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图,如图10所示,第一显示屏1002、第二显示屏1004的第一显示窗口1006中所显示的第一信息为幻灯片文件第二显示屏1004的第二显示窗口1008中所显示的第三信息为图片文件。用户点击图片文件后,点击选择第一显示窗口1006中所显示的幻灯片文件,则将图片文件插入到幻灯片文件中。第一显示屏1002中显示的幻灯片文件中插入有图片文件,并将第一显示屏1002中插入有图片文件的幻灯片文件,投射至第二电子设备的投屏窗口中进行显示。
在本申请的一些实施例中,基于第三信息对第一显示屏和第二电子设备的投屏窗口中的第一信息进行更新,包括将第一信息的部分信息替换为第三信息,即通过第三信息更新 第一信息中的部分信息。
在本申请的一些实施例中,第一信息和第三信息的文件类型可以为相同类型,例如:第一信息和第三信息均为文本文档,第一电子设备将第一信息对应的文本文档中的部分字符,替换为第三信息对应的文本文档中的字符。
在本申请的一些实施例中,第一信息和第三信息的文件类型可以为不同类型,例如:第一信息为幻灯片文件,第三信息为图像文件,第一电子设备将第一信息对应的幻灯片文件中某一页替换为第三信息对应的图像文件进行显示。
图11示出了本申请的一些实施例提供的第一电子设备的第一显示屏和第二显示屏的示意图,如图11所示,第一显示屏1102和第二显示屏1104的第一显示窗口1106中所显示的第一信息为幻灯片文件,第二显示屏1104的第二显示窗口1108中所显示的第三信息为图片文件。用户点击图片文件后,点击选择第一显示窗口1106中所显示的幻灯片文件中的目标页面1110,则将幻灯片文件中的目标页面1110替换为图片文件。第一显示屏1102中显示的幻灯片文件的目标页面1110替换显示为图片文件,并将替换后的幻灯片文件投射至第二电子设备的投屏窗口。
在在本申请的一些实施例中,在第一电子设备将第一显示屏中的第一信息向第二电子设备进行投屏,且第二显示屏的折叠角度处于第一角度范围内的情况下,在第二显示屏的第一显示窗口和第二显示窗口分别显示第一信息和第三信息,用户能够通过对第三信息执行第三输入,控制第一电子设备基于第三信息对第一信息进行编辑,简化了用户对投屏内容进行编辑的操作步骤,实现了在无需退出当前投屏状态就能够基于其他文件对当前投屏的文件进行编辑。
在本申请的一些实施例中,第一显示屏包括第一显示窗口和第二显示窗口;第一显示窗口包括第一信息,第一信息为第一程序的信息,第二显示窗口包括第二程序的程序界面;第一程序和第二程序为不同的应用程序;
投屏方法还包括:
在接收到对第二程序的程序界面的第四输入的情况下,响应于第四输入,控制第二程序执行目标处理;
其中,目标处理包括以下至少一项:录制音频、录制视频、记录信息、回复消息。
在本申请的一些实施例中,在第一电子设备通过第一显示屏向第二电子设备的投屏窗口进行投屏的同时,第二显示屏能够在第一显示窗口显示第一信息,并在第二显示窗口显 示与第一信息对应的第一程序不同的第二程序的程序界面。此时,第一电子设备基于第一显示屏向第二电子设备的投屏窗口进行投屏,第二显示屏的第二显示窗口中所显示的第二程序的程序界面不会显示在第一显示屏和第二电子设备的投屏窗口中。
在本申请的一些实施例中,第二显示窗口中所显示的程序界面对应的第二程序,与第一显示窗口所显示的第一信息对应的第一程序为不同的程序,因此,第一显示窗口和第二显示窗口的显示的画面互不影响,即用户通过第二显示窗口控制第二程序执行目标处理时,不会影响第一显示窗口、第一显示屏和第二电子设备的投屏窗口所显示的第一信息,避免了第二显示窗口中第二程序的程序界面投屏显示在第二电子设备的投屏窗中。
示例性地,第一显示窗口中显示第一信息为视频文件,则第一程序为视频播放程序,第二显示窗口中显示的界面可以为音频录制程序的音频录制界面、视频录制程序的视频录制界面、文档程序的文档编辑界面、社交程序的聊天界面中的至少一项。
在本申请的一些实施例中,用户在会议过程中,通过第一显示屏将视频文件投屏至第二电子设备的投屏窗口进行显示,并希望对会议过程进行录制音频或录制视频的情况下,用户在第二显示窗口中开启音频录制程序的音频录制界面或视频录制程序的视频录制界面对会议过程进行记录。用户还能够在第二显示窗口中开启文档程序的文档编辑界面,记录会议纪要。在会议过程中,第一电子设备通过社交程序接收到聊天信息后,在第二显示窗口中弹窗提示用户,用户通过点击弹窗能够在第二显示窗口中显示聊天界面回复消息。
在本申请的一些实施例中,在第一电子设备通过第一显示屏向第二电子设备进行投屏的过程中,用户能够通过第二显示屏控制第二程序执行目标处理。由于第一程序与第二程序为不同程序,显示第一信息的数据源与第二程序的程序界面的数据源不同,且第一电子设备仅对第一显示屏中的第一信息进行投屏,保证了在第二显示窗口显示的程序界面不会投屏至第二电子设备中进行显示,实现了在投屏过程中,用户能够便捷地操作其他应用程序,且对其他应用程序的操作不会影响投屏显示的内容。
在本申请的一些实施例中,在第二显示屏的折叠角度在第二角度范围内的情况下,控制第二显示屏熄屏。
示例性地,第二角度范围可以为0°至89°。
在本申请的一些实施例中,在第二显示屏处于第二角度范围内的情况下,能够判定此时用户不需要通过第二显示屏对第一信息进行更新,也不需要第二显示屏显示其他信息,即第二显示屏此时不存在必须显示的内容,控制第二显示屏熄屏,能够有效提高第一电子 设备的续航。
需要说明的是,在第一电子设备接收到实时消息的情况下,控制第二显示屏从熄屏状态切换至亮屏状态,并显示该实时消息,保证用户能够及时查看该消息。
本申请实施例提供的投屏方法,执行主体可以为投屏装置。本申请实施例中以投屏装置执行投屏方法为例,说明本申请实施例提供的投屏装置。
在本申请的一些实施例中,提供了一种投屏装置。图12示出了本申请的一些实施例提供的投屏装置1200的示意框图,如图12所示,投屏装置1200包括:
接收模块1202,用于接收第一输入;
投屏模块1204,用于响应于第一输入,在第一电子设备的第一显示屏显示第一信息的情况下,将第一显示屏中显示的第一信息投射至第二电子设备的投屏窗口中显示;
其中,第一电子设备包括至少两个显示屏,至少两个显示屏中包括第一显示屏,可投射至第二电子设备的投屏窗口中显示的内容为第一显示屏中显示的信息。
本申请实施例中的第一电子设备可以为具有多个显示屏的电子设备,包括但不限于折叠屏设备、双面屏设备。
在本申请的一些实施例中,第一电子设备能够将第一信息对应的数据传输至第二电子设备进行显示,且第二电子设备在投屏窗口中显示该第一信息。第二电子设备的投屏窗口中显示第一信息时的画面与第一电子设备显示第一信息时的画面相同。即第一电子设备在进行投屏的过程中,将第一电子设备显示在第一显示屏中显示的第一信息进行投屏,其他显示屏显示的其他信息不会投屏至第二电子设备,使用户能够将需要投屏的投屏信息通过第一显示屏进行显示,将不需要投屏的其他信息在其他显示屏进行显示。用户在通过第一电子设备进行投屏,还能够通过第一电子设备执行其他操作,并且用户进行的其他操作不会影响投屏至第二电子设备投屏所显示的第一信息产生,避免了用户在通过投屏设备投屏过程中对投屏设备的操作,对目标电子设备显示投屏内容产生影响。
在本申请的一些实施例中,第一电子设备包括至少两个显示屏,在第一电子设备向第二电子设备的投屏窗口投屏显示第一显示屏中的第一信息时,投屏至第二电子设备的投屏窗口中显示的信息仅为第一显示屏中所显示的第一信息,不会对至少两个显示屏中除第一显示屏外的其他显示屏所显示的信息进行投屏,用户能够通过其他显示屏操作其他应用,通过其他显示屏显示其他信息,并且不会对投屏至第二电子设备的第一信息产生影响。
在本申请的一些实施例中,至少两个显示屏包括第二显示屏,第二显示屏为可折叠屏 幕,投屏装置还包括:
显示模块,用于在第二显示屏的折叠角度在第一角度范围内的情况下,在第二显示屏显示第一信息;
处理模块,用于在接收到对第二显示屏的第二输入的情况下,响应于第二输入,更新第一显示屏和第二显示屏中第一信息的信息内容;
投屏模块1204,还用于响应于第二输入,将第一显示屏中显示的更新后的第一信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在第一电子设备的投屏过程中,第一电子设备选择仅将第一显示屏中第一信息投屏至第二电子设备中,第二电子设备不会显示第一电子设备的第二显示屏中所显示的其他信息,在投屏过程中,使第一显示屏与第二显示屏的显示的信息相互隔离。在用户需要对第一显示屏投屏至第二电子设备中的第一信息进行编辑时,用户仅需要将第二显示屏折叠至第一角度范围内,此时,用户能够通过操作第二显示屏对投屏的第一信息进行更新,无需用户手动对第一信息相应的应用程序进行后台前台的切换,简化了用户的操作步骤。由于第一显示屏在投屏过程中处于常亮状态,并且投屏过程是基于第一显示屏中所显示的信息进行投屏,而不是基于第一信息对应的应用程序进行投屏,故用户在第二显示屏中编辑第一信息时,不会导致投屏的数据流中断,第二电子设备的投屏窗口所显示的第一信息也不会发生中断。
本申请实施例减少了电子设备在投屏过程中,用户对投屏信息进行编辑的操作步骤,从而简化了用户操作电子设备进行投屏的操作。
在本申请的一些实施例中,处理模块具体用于:接收对第二显示屏中显示的第一信息的第二输入,第二输入为编辑第二显示屏中第一信息的信息内容的输入;响应于第二输入,同步更新第二显示屏和第一显示屏中显示的第一信息的信息内容;
投屏模块1204具体用于:响应于第二输入,将第一显示屏中同步更新显示的第一信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在第一电子设备将第一显示屏中显示的第一信息,投屏至第二电子设备的投屏窗口进行显示的过程中,用户需要对第一信息进行编辑,并且需要对第一信息的编辑过程同步显示在第二设备的投屏窗口的情况下,用户能够通过调整第二显示屏的折叠角度至第一角度范围内,使第二显示屏显示第一信息,用户通过对第二显示屏中显示的第一信息执行第二输入的方式,实现第一显示屏和第二设备的投屏窗口显示第二 显示屏中所显示的第一信息的编辑过程。第一电子设备对第一显示屏和第二显示屏中显示的第一信息同步更新,由于第二电子设备的投屏窗口中显示的第一信息为第一显示屏中的第一信息,故第一显示屏、第二显示屏和第二电子设备的投屏窗口中所显示的第一信息同步更新,满足了用户对投屏的第一信息的编辑过程进行展示的需求。
在本申请的一些实施例中,第二输入包括第一子输入和第二子输入,第一子输入为编辑第二显示屏中第一信息的信息内容的输入,第二子输入为用于触发更新第一显示屏的显示内容和投射至第二电子设备的投屏窗口中的显示内容的输入;
接收模块1202具体用于:接收对第二显示屏中显示的第一信息的第一子输入;
处理模块具体用于:响应于第一子输入,将第二显示屏中显示的第一信息更新为第二信息;
接收模块1202用于:接收第二子输入;
处理模块具体用于:响应于第二子输入,将第一显示屏中显示的第一信息更新为第二信息;
投屏模块1204具体用于:响应于第二子输入,将第一显示屏中显示的第二信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在用户通过第二显示屏对第一信息进行编辑的过程中,保持第二显示屏与第一显示屏之间的数据隔离。在用户对第二显示屏执行第一子输入的情况下,第一电子设备能够响应于第一子输入对第二显示屏中的第一信息进行编辑。在第二显示屏中第一信息编辑之后,用户通过对第二显示屏执行第二子输入,从而将第二显示屏中所显示的更新后的第一信息同步显示在第一显示屏中,并将第一显示屏中所显示的更新后的第一信息投屏至第二电子设备,显示在第二电子设备的投屏窗口中。用户操作第二显示屏中的第一信息,并在第二显示屏中的第一信息全部更新完成之后,一次性对第一显示屏和第二电子设备的投屏窗口中的第一信息进行更新,保证了第二电子设备的投屏窗口不会显示用户对第一信息的编辑过程。
在本申请的一些实施例中,第二显示屏包括第一显示窗口和第二显示窗口;第一显示窗口包括第一信息,第二显示窗口包括第三信息;
处理模块具体用于:在接收到对第三信息的第三输入的情况下,响应于第三输入,基于第三信息,更新第一显示屏的显示内容;
投屏模块1204具体用于,响应于第三输入,基于第三信息更新投射至第二电子设备 的投屏窗口中的显示内容。
在本申请的一些实施例中,第一电子设备的第二显示屏能够同时显示第一信息和第三信息,用户通过对第三信息执行第三输入,能够控制第一电子设备基于第三信息对第一显示屏和第二电子设备的投屏窗口中的第一信息进行更新。在用户需要基于其他文件为投屏文件进行更新的情况下,无需交替打开两个文件,也无需对两个文件进行前台运行和后台运行之间的切换,进一步简化了用户在投屏过程中,对投屏内容进行更新所需的操作。
在本申请的一些实施例中,处理模块具体用于:将第一显示屏中显示的第一信息替换为第三信息;投屏模块1204具体用于:将第一显示屏中显示的第三信息投射至第二电子设备的投屏窗口中显示;
或者,处理模块具体用于:基于第三信息,更新第一显示屏中显示的第一信息的信息内容,投屏模块1204具体用于:将第一显示屏中显示的更新后的第一信息投射至第二电子设备的投屏窗口中显示;
其中,投屏模块1204在用于基于第三信息,更新第一显示屏中显示的第一信息的信息内容的过程中,具体用于执行以下至少一项:
将第三信息添加至第一信息中;
将第一信息的部分信息替换为第三信息。
在在本申请的一些实施例中,在第一电子设备将第一显示屏中的第一信息向第二电子设备进行投屏,且第二显示屏的折叠角度处于第一角度范围内的情况下,在第二显示屏的第一显示窗口和第二显示窗口分别显示第一信息和第三信息,用户能够通过对第三信息执行第三输入,控制第一电子设备基于第三信息对第一信息进行编辑,简化了用户对投屏内容进行编辑的操作步骤,实现了在无需退出当前投屏状态就能够基于其他文件对当前投屏的文件进行编辑。
在本申请的一些实施例中,第一显示屏包括第一显示窗口和第二显示窗口;第一显示窗口包括第一信息,第一信息为第一程序的信息,第二显示窗口包括第二程序的程序界面;第一程序和第二程序为不同的应用程序;
处理模块具体用于:在接收到对第二程序的程序界面的第四输入的情况下,响应于第四输入,控制第二程序执行目标处理;
其中,目标处理包括以下至少一项:录制音频、录制视频、记录信息、回复消息。
在本申请的一些实施例中,在第一电子设备通过第一显示屏向第二电子设备进行投屏 的过程中,用户能够通过第二显示屏控制第二程序执行目标处理。由于第一程序与第二程序为不同程序,显示第一信息的数据源与第二程序的程序界面的数据源不同,且第一电子设备仅对第一显示屏中的第一信息进行投屏,保证了在第二显示窗口显示的程序界面不会投屏至第二电子设备中进行显示,实现了在投屏过程中,用户能够便捷地操作其他应用程序,且对其他应用程序的操作不会影响投屏显示的内容。
在本申请的一些实施例中,处理模块还用于:在第二显示屏的折叠角度在第二角度范围内的情况下,控制第二显示屏熄屏。
在本申请的一些实施例中,在第二显示屏处于第二角度范围内的情况下,能够判定此时用户不需要通过第二显示屏对第一信息进行更新,也不需要第二显示屏显示其他信息,即第二显示屏此时不存在必须显示的内容,控制第二显示屏熄屏,能够有效提高第一电子设备的续航。
需要说明的是,在第一电子设备接收到实时消息的情况下,控制第二显示屏从熄屏状态切换至亮屏状态,并显示该实时消息,保证用户能够及时查看该消息。
本申请实施例中的投屏装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性地,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的投屏装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的投屏装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,本申请实施例还提供了一种电子设备,其中包括如上述任一实施例中的投屏装置,因而具有任一实施例中的投屏装置的全部有益效果,在此不再做过多赘述。
可选地,本申请实施例还提供一种电子设备,图13示出了本申请的一些实施例提供 的电子设备的结构框图,如图13所示,电子设备1300包括处理器1302,存储器1304,存储在存储器1304上并可在处理器1302上运行的程序或指令,该程序或指令被处理器1302执行时实现上述投屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
图14为实现本申请的一些实施例提供的电子设备的硬件结构示意图。
该电子设备1400包括但不限于:射频单元1401、网络模块1402、音频输出单元1403、输入单元1404、传感器1405、显示单元1406、用户输入单元1407、接口单元1408、存储器1409以及处理器1410等部件。
本领域技术人员可以理解,电子设备1400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图14中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。其中,用户输入单元1407,用于接收第一输入;
处理器1410,用于响应于第一输入,在第一电子设备的第一显示屏显示第一信息的情况下,将第一显示屏中显示的第一信息投射至第二电子设备的投屏窗口中显示;
其中,第一电子设备包括至少两个显示屏,至少两个显示屏中包括第一显示屏,可投射至第二电子设备的投屏窗口中显示的内容为第一显示屏中显示的信息。
在本申请的一些实施例中,第一电子设备能够将第一信息对应的数据传输至第二电子设备进行显示,且第二电子设备在投屏窗口中显示该第一信息。第二电子设备的投屏窗口中显示第一信息时的画面与第一电子设备显示第一信息时的画面相同。即第一电子设备在进行投屏的过程中,将第一电子设备显示在第一显示屏中显示的第一信息进行投屏,至少两个显示屏中除第一显示屏外的其他显示屏显示的其他信息不会投屏至第二电子设备,使用户能够将需要投屏的投屏信息通过第一显示屏进行显示,将不需要投屏的其他信息在其他显示屏进行显示。用户在通过第一电子设备进行投屏,还能够通过第一电子设备执行其他操作,并且用户进行的其他操作不会影响投屏至第二电子设备投屏所显示的第一信息产生,避免了用户在通过投屏设备投屏过程中对投屏设备的操作,对目标电子设备显示投屏内容产生影响。
在本申请的一些实施例中,第一电子设备包括至少两个显示屏,在第一电子设备向第二电子设备的投屏窗口投屏显示第一显示屏中的第一信息时,投屏至第二电子设备的投屏窗口中显示的信息仅为第一显示屏中所显示的第一信息,不会对至少两个显示屏中除第一显示屏外的其他显示屏所显示的信息进行投屏,用户能够通过其他显示屏操作其他应用,通过其他显示屏显示其他信息,并且不会对投屏至第二电子设备的第一信息产生影响。
进一步地,至少两个显示屏包括第二显示屏,第二显示屏为可折叠屏幕;
显示单元1406,用于在第二显示屏的折叠角度在第一角度范围内的情况下,在第二显示屏显示第一信息;
处理器1410,用于在接收到对第二显示屏的第二输入的情况下,响应于第二输入,更新第一显示屏和第二显示屏中第一信息的信息内容;
并响应于第二输入,将第一显示屏中显示的更新后的第一信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在第一电子设备的投屏过程中,第一电子设备选择仅将第一显示屏中第一信息投屏至第二电子设备中,第二电子设备不会显示第一电子设备的第二显示屏中所显示的其他信息,在投屏过程中,使第一显示屏与第二显示屏的显示的信息相互隔离。在用户需要对第一显示屏投屏至第二电子设备中的第一信息进行编辑时,用户仅需要将第二显示屏折叠至第一角度范围内,此时,用户能够通过操作第二显示屏对投屏的第一信息进行更新,无需用户手动对第一信息相应的应用程序进行后台前台的切换,简化了用户的操作步骤。由于第一显示屏在投屏过程中处于常亮状态,并且投屏过程是基于第一显示屏中所显示的信息进行投屏,而不是基于第一信息对应的应用程序进行投屏,故用户在第二显示屏中编辑第一信息时,不会导致投屏的数据流中断,第二电子设备的投屏窗口所显示的第一信息也不会发生中断。
本申请实施例减少了电子设备在投屏过程中,用户对投屏信息进行编辑的操作步骤,从而简化了用户操作电子设备进行投屏的操作。
进一步地,处理器1410具体用于:接收对第二显示屏中显示的第一信息的第二输入,第二输入为编辑第二显示屏中第一信息的信息内容的输入;响应于第二输入,同步更新第二显示屏和第一显示屏中显示的第一信息的信息内容;
并响应于第二输入,将第一显示屏中同步更新显示的第一信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在第一电子设备将第一显示屏中显示的第一信息,投屏至第二电子设备的投屏窗口进行显示的过程中,用户需要对第一信息进行编辑,并且需要对第一信息的编辑过程同步显示在第二设备的投屏窗口的情况下,用户能够通过调整第二显示屏的折叠角度至第一角度范围内,使第二显示屏显示第一信息,用户通过对第二显示屏中显示的第一信息执行第二输入的方式,实现第一显示屏和第二设备的投屏窗口显示第二显示屏中所显示的第一信息的编辑过程。第一电子设备对第一显示屏和第二显示屏中显示的第一信息同步更新,由于第二电子设备的投屏窗口中显示的第一信息为第一显示屏中的第一信息,故第一显示屏、第二显示屏和第二电子设备的投屏窗口中所显示的第一信息同步更新,满足了用户对投屏的第一信息的编辑过程进行展示的需求。
进一步地,第二输入包括第一子输入和第二子输入,第一子输入为编辑第二显示屏中第一信息的信息内容的输入,第二子输入为用于触发更新第一显示屏的显示内容和投射至第二电子设备的投屏窗口中的显示内容的输入;
用户输入单元1407具体用于:接收对第二显示屏中显示的第一信息的第一子输入;
处理器1410具体用于:响应于第一子输入,将第二显示屏中显示的第一信息更新为第二信息;
用户输入单元1407接收第二子输入;
处理器1410具体用于:响应于第二子输入,将第一显示屏中显示的第一信息更新为第二信息;
并响应于第二子输入,将第一显示屏中显示的第二信息投射至第二电子设备的投屏窗口中显示。
在本申请的一些实施例中,在用户通过第二显示屏对第一信息进行编辑的过程中,保持第二显示屏与第一显示屏之间的数据隔离。在用户对第二显示屏执行第一子输入的情况下,第一电子设备能够响应于第一子输入对第二显示屏中的第一信息进行编辑。在第二显示屏中第一信息编辑之后,用户通过对第二显示屏执行第二子输入,从而将第二显示屏中所显示的更新后的第一信息同步显示在第一显示屏中,并将第一显示屏中所显示的更新后的第一信息投屏至第二电子设备,显示在第二电子设备的投屏窗口中。用户操作第二显示屏中的第一信息,并在第二显示屏中的第一信息全部更新完成之后,一次性对第一显示屏和第二电子设备的投屏窗口中的第一信息进行更新,保证了第二电子设备的投屏窗口不会显示用户对第一信息的编辑过程。
进一步地,第二显示屏包括第一显示窗口和第二显示窗口;第一显示窗口包括第一信息,第二显示窗口包括第三信息;
处理器1410具体用于:在接收到对第三信息的第三输入的情况下,响应于第三输入,基于第三信息,更新第一显示屏的显示内容;
处理器1410具体用于:响应于第三输入,基于第三信息更新投射至第二电子设备的投屏窗口中的显示内容。
在本申请的一些实施例中,第一电子设备的第二显示屏能够同时显示第一信息和第三信息,用户通过对第三信息执行第三输入,能够控制第一电子设备基于第三信息对第一显示屏和第二电子设备的投屏窗口中的第一信息进行更新。在用户需要基于其他文件为投屏文件进行更新的情况下,无需交替打开两个文件,也无需对两个文件进行前台运行和后台运行之间的切换,进一步简化了用户在投屏过程中,对投屏内容进行更新所需的操作。
进一步地,处理器1410具体用于:将第一显示屏中显示的第一信息替换为第三信息;并将第一显示屏中显示的第三信息投射至第二电子设备的投屏窗口中显示;
或者,处理器1410具体用于:基于第三信息,更新第一显示屏中显示的第一信息的信息内容,并将第一显示屏中显示的更新后的第一信息投射至第二电子设备的投屏窗口中显示;
其中,处理器1410在用于基于第三信息,更新第一显示屏中显示的第一信息的信息内容的过程中,具体用于执行以下至少一项:
将第三信息添加至第一信息中;
将第一信息的部分信息替换为第三信息。
在在本申请的一些实施例中,在第一电子设备将第一显示屏中的第一信息向第二电子设备进行投屏,且第二显示屏的折叠角度处于第一角度范围内的情况下,在第二显示屏的第一显示窗口和第二显示窗口分别显示第一信息和第三信息,用户能够通过对第三信息执行第三输入,控制第一电子设备基于第三信息对第一信息进行编辑,简化了用户对投屏内容进行编辑的操作步骤,实现了在无需退出当前投屏状态就能够基于其他文件对当前投屏的文件进行编辑。
进一步地,第一显示屏包括第一显示窗口和第二显示窗口;第一显示窗口包括第一信息,第一信息为第一程序的信息,第二显示窗口包括第二程序的程序界面;第一程序和第二程序为不同的应用程序;
处理器1410具体用于:在接收到对第二程序的程序界面的第四输入的情况下,响应于第四输入,控制第二程序执行目标处理;
其中,目标处理包括以下至少一项:录制音频、录制视频、记录信息、回复消息。
在本申请的一些实施例中,在第一电子设备通过第一显示屏向第二电子设备进行投屏的过程中,用户能够通过第二显示屏控制第二程序执行目标处理。由于第一程序与第二程序为不同程序,显示第一信息的数据源与第二程序的程序界面的数据源不同,且第一电子设备仅对第一显示屏中的第一信息进行投屏,保证了在第二显示窗口显示的程序界面不会投屏至第二电子设备中进行显示,实现了在投屏过程中,用户能够便捷地操作其他应用程序,且对其他应用程序的操作不会影响投屏显示的内容。
进一步地,处理器1410还用于:在第二显示屏的折叠角度在第二角度范围内的情况下,控制第二显示屏熄屏。
在本申请的一些实施例中,在第二显示屏处于第二角度范围内的情况下,能够判定此时用户不需要通过第二显示屏对第一信息进行更新,也不需要第二显示屏显示其他信息,即第二显示屏此时不存在必须显示的内容,控制第二显示屏熄屏,能够有效提高第一电子设备的续航。
需要说明的是,在第一电子设备接收到实时消息的情况下,控制第二显示屏从熄屏状态切换至亮屏状态,并显示该实时消息,保证用户能够及时查看该消息。
应理解的是,在本申请的一些实施例中,输入单元1404可以包括图形处理器(Graphics Processing Unit,GPU)14041和麦克风14042,图形处理器14041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1406可包括显示面板14061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板14061。用户输入单元1407包括触控面板14071以及其他输入设备14072中的至少一种。触控面板14071,也称为触摸屏。触控面板14071可包括触摸检测装置和触摸控制器两个部分。其他输入设备14072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器1409可用于存储软件程序以及各种数据。存储器1409可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1409可以包括易失性存储器或非易失性存储器,或者,存储器1409可以包括易失性和非 易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1409包括但不限于这些和任意其它适合类型的存储器。
处理器1410可包括一个或多个处理单元;可选地,处理器1410集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1410中。
本申请实施例还提供一种可读存储介质,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,处理器为上述实施例中的电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述投屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述投屏方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素, 而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (20)

  1. 一种投屏方法,所述方法包括:
    接收第一输入;
    响应于所述第一输入,在第一电子设备的第一显示屏显示第一信息的情况下,将所述第一显示屏中显示的所述第一信息投射至第二电子设备的投屏窗口中显示;
    其中,所述第一电子设备包括至少两个显示屏,所述至少两个显示屏包括所述第一显示屏,可投射至所述第二电子设备的投屏窗口中显示的内容为所述第一显示屏中显示的信息。
  2. 根据权利要求1所述的投屏方法,其中,所述至少两个显示屏包括第二显示屏,所述第二显示屏为可折叠屏幕,所述将所述第一显示屏中显示的所述第一信息投射至第二电子设备的投屏窗口中显示之后,还包括:
    在所述第二显示屏的折叠角度在第一角度范围内的情况下,在所述第二显示屏显示所述第一信息;
    在接收到对所述第二显示屏的第二输入的情况下,响应于所述第二输入,更新所述第一显示屏和所述第二显示屏中所述第一信息的信息内容,并将所述第一显示屏中显示的更新后的所述第一信息投射至所述第二电子设备的投屏窗口中显示。
  3. 根据权利要求2所述的投屏方法,其中,所述在接收到对所述第二显示屏的第二输入的情况下,响应于所述第二输入,更新所述第一显示屏和所述第二显示屏中所述第一信息的信息内容,并将所述第一显示屏中显示的更新后的所述第一信息投射至所述第二电子设备的投屏窗口中显示,包括:
    接收对所述第二显示屏中显示的所述第一信息的第二输入,所述第二输入为编辑所述第二显示屏中所述第一信息的信息内容的输入;
    响应于所述第二输入,同步更新所述第二显示屏和所述第一显示屏中显示的所述第一信息的信息内容,以及将所述第一显示屏中同步更新显示的所述第一信息投射至所述第二电子设备的投屏窗口中显示。
  4. 根据权利要求2所述的投屏方法,其中,所述第二输入包括第一子输入和第二子输入,所述第一子输入为编辑所述第二显示屏中所述第一信息的信息内容的输入,所述第二子输入为用于触发更新所述第一显示屏的显示内容和投射至所述第二电子设备的投屏窗口中的显示内容的输入;
    所述在接收到对所述第二显示屏的第二输入的情况下,响应于所述第二输入,更新所述第一显示屏和所述第二显示屏中所述第一信息的信息内容,并将所述第一显示屏中显示的更新后的所述第一信息投射至所述第二电子设备的投屏窗口中显示,包括:
    接收对所述第二显示屏中显示的所述第一信息的第一子输入;
    响应于所述第一子输入,将所述第二显示屏中显示的所述第一信息更新为第二信息;
    接收第二子输入;
    响应于所述第二子输入,将所述第一显示屏中显示的所述第一信息更新为所述第二信息,并将所述第一显示屏中显示的所述第二信息投射至所述第二电子设备的投屏窗口中显示。
  5. 根据权利要求2所述的投屏方法,其中,所述第二显示屏包括第一显示窗口和第二显示窗口;所述第一显示窗口包括所述第一信息,所述第二显示窗口包括第三信息;
    所述方法还包括:
    在接收到对所述第三信息的第三输入的情况下,响应于所述第三输入,基于所述第三信息,更新所述第一显示屏的显示内容和投射至所述第二电子设备的投屏窗口中的显示内容。
  6. 根据权利要求5所述的投屏方法,其中,所述基于所述第三信息,更新所述第一显示屏的显示内容和投射至所述第二电子设备的投屏窗口中的显示内容,包括:
    将所述第一显示屏中显示的所述第一信息替换为所述第三信息,并将所述第一显示屏中显示的所述第三信息投射至所述第二电子设备的投屏窗口中显示;
    或者,基于所述第三信息,更新所述第一显示屏中显示的第一信息的信息内容,并将所述第一显示屏中显示的更新后的所述第一信息投射至所述第二电子设备的投屏窗口中显示;
    其中,所述基于所述第三信息,更新所述第一显示屏中显示的第一信息的信息内容,包括以下至少一项:
    将所述第三信息添加至所述第一信息中;
    将所述第一信息的部分信息替换为所述第三信息。
  7. 根据权利要求2所述的投屏方法,其中,所述第一显示屏包括第一显示窗口和第二显示窗口;所述第一显示窗口包括所述第一信息,所述第一信息为第一程序的信息,所述第二显示窗口包括第二程序的程序界面;所述第一程序和所述第二程序为不同的应用程序;
    所述方法还包括:
    在接收到对所述第二程序的程序界面的第四输入的情况下,响应于所述第四输入,控制所述第二程序执行目标处理;
    其中,所述目标处理包括以下至少一项:录制音频、录制视频、记录信息、回复消息。
  8. 根据权利要求2所述的投屏方法,其中,在所述第二显示屏的折叠角度在第二角度范围内的情况下,控制所述第二显示屏熄屏。
  9. 一种投屏装置,包括:
    接收模块,用于接收第一输入;
    投屏模块,用于响应于所述第一输入,在第一电子设备的第一显示屏显示第一信息的情况下,将所述第一显示屏中显示的所述第一信息投射至第二电子设备的投屏窗口中显示;
    其中,所述第一电子设备包括至少两个显示屏,所述至少两个显示屏包括所述第一显示屏,可投射至所述第二电子设备的投屏窗口中显示的内容为所述第一显示屏中显示的信息。
  10. 根据权利要求9所述的投屏装置,其中,所述至少两个显示屏包括第二显示屏,第二显示屏为可折叠屏幕;
    所述投屏装置还包括:
    显示模块,用于在所述第二显示屏的折叠角度在第一角度范围内的情况下,在所述第二显示屏显示所述第一信息;
    处理模块,用于在接收到对所述第二显示屏的第二输入的情况下,响应于所述第二输入,更新所述第一显示屏和所述第二显示屏中所述第一信息的信息内容;
    所述投屏模块,还用于响应于所述第二输入,将所述第一显示屏中显示的更新后的所述第一信息投射至所述第二电子设备的投屏窗口中显示。
  11. 根据权利要求10所述的投屏装置,其中,所述处理模块具体用于:接收对所述第二显示屏中显示的所述第一信息的第二输入,所述第二输入为编辑所述第二显示屏中所述第一信息的信息内容的输入;响应于所述第二输入,同步更新所述第二显示屏和所述第一显示屏中显示的所述第一信息的信息内容;
    所述投屏模块具体用于:响应于所述第二输入,将所述第一显示屏中同步更新显示的所述第一信息投射至所述第二电子设备的投屏窗口中显示。
  12. 根据权利要求10所述的投屏装置,其中,所述第二输入包括第一子输入和第二子输入,所述第一子输入为编辑所述第二显示屏中所述第一信息的信息内容的输入,所述第二子输入为用于触发更新所述第一显示屏的显示内容和投射至所述第二电子设备的投屏窗口中的显示内容的输入;
    所述处理模块具体用于:接收对所述第二显示屏中显示的所述第一信息的第一子输入;响应于所述第一子输入,将所述第二显示屏中显示的所述第一信息更新为第二信息;接收第二子输入;响应于所述第二子输入,将所述第一显示屏中显示的所述第一信息更新为所述第二信息;
    所述投屏模块具体用于:响应于所述第二子输入,将所述第一显示屏中显示的所述第二信息投射至所述第二电子设备的投屏窗口中显示。
  13. 根据权利要求10所述的投屏装置,其中,所述第二显示屏包括第一显示窗口和第二显示窗口;所述第一显示窗口包括所述第一信息,所述第二显示窗口包括第三信息;
    所述处理模块具体用于:在接收到对所述第三信息的第三输入的情况下,响应于所述第三输入,基于所述第三信息,更新所述第一显示屏的显示内容;
    所述投屏模块具体用于,响应于所述第三输入,基于所述第三信息更新投射至所述第二电子设备的投屏窗口中的显示内容。
  14. 根据权利要求13所述的投屏装置,其中,所述处理模块具体用于:将所述第一 显示屏中显示的所述第一信息替换为所述第三信息;所述投屏模块具体用于:将所述第一显示屏中显示的所述第三信息投射至所述第二电子设备的投屏窗口中显示;
    或者,所述处理模块具体用于:基于所述第三信息,更新所述第一显示屏中显示的第一信息的信息内容,所述投屏模块具体用于:将所述第一显示屏中显示的更新后的所述第一信息投射至所述第二电子设备的投屏窗口中显示;
    其中,所述投屏模块在用于基于所述第三信息,更新所述第一显示屏中显示的第一信息的信息内容的过程中,具体用于执行以下至少一项:
    将所述第三信息添加至所述第一信息中;
    将所述第一信息的部分信息替换为所述第三信息。
  15. 根据权利要求10所述的投屏装置,其中,所述第一显示屏包括第一显示窗口和第二显示窗口;所述第一显示窗口包括所述第一信息,所述第一信息为第一程序的信息,所述第二显示窗口包括第二程序的程序界面;所述第一程序和所述第二程序为不同的应用程序;
    所述处理模块具体用于:在接收到对所述第二程序的程序界面的第四输入的情况下,响应于所述第四输入,控制所述第二程序执行目标处理;
    其中,所述目标处理包括以下至少一项:录制音频、录制视频、记录信息、回复消息。
  16. 根据权利要求10所述的投屏装置,其中,所述处理模块还用于:在所述第二显示屏的折叠角度在第二角度范围内的情况下,控制所述第二显示屏熄屏。
  17. 一种电子设备,包括:
    存储器,其上存储有程序或指令;
    处理器,用于执行所述程序或指令时实现如权利要求1至8中任一项所述的投屏方法的步骤。
  18. 一种可读存储介质,其上存储有程序或指令,所述程序或指令被处理器执行时实现如权利要求1至8中任一项所述的投屏方法的步骤。
  19. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令时实现如权利要求1至8中任一项所述的投屏方法的步骤。
  20. 一种计算机程序产品,所述计算机程序产品被存储在存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至8中任一项所述的投屏方法的步骤。
PCT/CN2023/123879 2022-10-14 2023-10-11 投屏方法、装置、电子设备和存储介质 WO2024078514A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211263041.0A CN115665473A (zh) 2022-10-14 2022-10-14 投屏方法、装置、电子设备和存储介质
CN202211263041.0 2022-10-14

Publications (1)

Publication Number Publication Date
WO2024078514A1 true WO2024078514A1 (zh) 2024-04-18

Family

ID=84987610

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/123879 WO2024078514A1 (zh) 2022-10-14 2023-10-11 投屏方法、装置、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN115665473A (zh)
WO (1) WO2024078514A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115665473A (zh) * 2022-10-14 2023-01-31 维沃移动通信有限公司 投屏方法、装置、电子设备和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865783A (zh) * 2019-11-11 2020-03-06 深圳创维数字技术有限公司 投屏方法、设备、系统和存储介质
CN112394891A (zh) * 2019-07-31 2021-02-23 华为技术有限公司 一种投屏方法及电子设备
CN112968991A (zh) * 2019-06-20 2021-06-15 华为技术有限公司 一种输入方法、电子设备和投屏系统
CN113590059A (zh) * 2020-04-30 2021-11-02 青岛海信移动通信技术股份有限公司 一种投屏方法及移动终端
WO2022160940A1 (zh) * 2021-01-29 2022-08-04 Oppo广东移动通信有限公司 投屏显示方法、装置、移动终端、存储介质及程序产品
CN114895862A (zh) * 2022-05-05 2022-08-12 西安中诺通讯有限公司 一种智能终端的投屏方法、装置及设备
CN115665473A (zh) * 2022-10-14 2023-01-31 维沃移动通信有限公司 投屏方法、装置、电子设备和存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112968991A (zh) * 2019-06-20 2021-06-15 华为技术有限公司 一种输入方法、电子设备和投屏系统
CN112394891A (zh) * 2019-07-31 2021-02-23 华为技术有限公司 一种投屏方法及电子设备
CN110865783A (zh) * 2019-11-11 2020-03-06 深圳创维数字技术有限公司 投屏方法、设备、系统和存储介质
CN113590059A (zh) * 2020-04-30 2021-11-02 青岛海信移动通信技术股份有限公司 一种投屏方法及移动终端
WO2022160940A1 (zh) * 2021-01-29 2022-08-04 Oppo广东移动通信有限公司 投屏显示方法、装置、移动终端、存储介质及程序产品
CN114895862A (zh) * 2022-05-05 2022-08-12 西安中诺通讯有限公司 一种智能终端的投屏方法、装置及设备
CN115665473A (zh) * 2022-10-14 2023-01-31 维沃移动通信有限公司 投屏方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN115665473A (zh) 2023-01-31

Similar Documents

Publication Publication Date Title
US9992545B2 (en) Method for play synchronization and device using the same
WO2024078514A1 (zh) 投屏方法、装置、电子设备和存储介质
WO2022121877A1 (zh) 消息处理方法、装置和电子设备
WO2023160668A1 (zh) 会话消息收发方法及装置、电子设备、可读存储介质
CN113282424B (zh) 信息引用方法、装置和电子设备
WO2022063045A1 (zh) 消息显示方法、装置及电子设备
WO2023185817A1 (zh) 多设备协作方法、装置、电子设备及介质
EP4318238A1 (en) Image sharing methods and apparatuses, and electronic device
WO2022143525A1 (zh) 视频播放方法、装置及电子设备
CN112102841A (zh) 一种音频编辑方法、装置和用于音频编辑的装置
WO2022242515A1 (zh) 界面显示方法及装置
CN115357158A (zh) 消息处理方法、装置、电子设备及存储介质
WO2024083018A1 (zh) 信息处理方法、装置和电子设备
EP4224300A1 (en) Screen capture method and apparatus, and electronic device
WO2024078552A1 (zh) 后台应用的管理方法、装置、电子设备及介质
WO2024051522A1 (zh) 消息发送方法、装置、电子设备及存储介质
WO2024041514A1 (zh) 视频播放方法、装置和电子设备
WO2023197960A1 (zh) 一种消息处理方法及装置、电子设备和可读存储介质
WO2023174328A1 (zh) 屏幕控制方法、装置、电子设备及存储介质
WO2023131290A1 (zh) 信息交互方法、装置、电子设备及介质
WO2023169361A1 (zh) 信息推荐方法、装置和电子设备
CN112578977B (zh) 显示内容批注方法、装置及系统
WO2023185701A1 (zh) 一种显示方法及其装置、电子设备和可读存储介质
WO2023155858A1 (zh) 文档编辑方法及其装置
WO2023155809A1 (zh) 桌面变形器显示方法、装置、电子设备及存储介质