Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing the devices, modules or units, and are not used for limiting the devices, modules or units to be different devices, modules or units, and also for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
In the embodiment of the disclosure, the window is used for displaying screen projection information projected to the screen projection device by the screen projection source.
In the embodiment of the disclosure, a connection opening instruction and a window opening instruction are obtained, the connection opening instruction is used for indicating that the screen projection device is connected with the screen projection source, and the window opening instruction is used for indicating that a window on the screen projection device is opened.
In the embodiment of the present disclosure, the windowing instruction may be triggered locally by the user terminal, and the user terminal sends the windowing instruction to the screen projection device, where, for example, the user terminal may be an application program of the screen projection device, such as an APP client, or may be a remote control terminal for controlling the screen projection device; the connection opening instruction is triggered by a screen projection source, and the screen projection source can send the connection opening instruction to the screen projection equipment through the wireless local area network Wi-Fi. The window opening instruction and the connection opening instruction are respectively sent to the screen projection equipment by the user terminal and the screen projection source, so that misconnection caused by the fact that the user terminal sends the window opening instruction and the connection opening instruction at the same time can be avoided, and window opening error caused by the fact that the screen projection source sends the window opening instruction and the connection opening instruction at the same time can also be avoided.
In the embodiment of the disclosure, a window of the screen projection device may display tags of multiple screen projection sources, for example, in a switching manner, a displayed state of a tag of any one of the multiple screen projection sources may include any one of turning off, selecting, and lighting, and the displayed state of the tag may be used to indicate different connection states of the screen projection source and the screen projection device, for example, turning off indicates that the screen projection source is not connected, selecting indicates that the screen projection source is to be connected, and lighting indicates that the screen projection source is connected.
In the embodiment of the present disclosure, as shown in fig. 1, the tags of the three screen projection sources displayed on the toolbar 102 of one window 101 of the screen projection device are device 103, device 104, and device 105, respectively; the tab of the screen projection source may indicate different states between the screen projection device and the screen projection source with different display patterns. The tag of the screen projection source comprises three states, namely, extinguishing, lighting and selecting; if the label of the screen projection source displays gray, the screen projection source is turned off, that is, the screen projection device and the screen projection source are in a disconnected state, for example, the device 103 and the device 104; if the label of the screen projection source displays blue or white, the label is lighted, that is, after the screen projection device receives a connection opening instruction sent by the screen projection source, the screen projection device and the screen projection source are in a connection state, for example, the device 105; and selecting a label representing that the user clicks the screen projection source, namely selecting the screen projection source to project screen projection information to the screen projection equipment.
The embodiment of the present disclosure provides a screen projection method, a flow diagram of the method is shown in fig. 2, and the method includes:
s101, receiving a multi-window display instruction, and displaying screen projection information projected to screen projection equipment by a target screen projection source on at least two target windows, wherein the target window is one of at least two opened windows on the screen projection equipment, and the target screen projection source is one of at least one screen projection source connected with the screen projection equipment. In the embodiment of the present disclosure, the screen projection information includes various media information, a real-time operation screen, and the like.
In the embodiment of the disclosure, the multi-window display instruction is used for indicating that screen projection information projected to the screen projection device by the same screen projection source is displayed on at least two windows simultaneously. For example, three windows on the screen projection device are opened simultaneously, the screen projection device is in a connection state with one screen projection source, and the multi-window display instruction indicates that screen projection information projected to the screen projection device by the screen projection source is displayed on the three windows, that is, the three windows all display the same screen projection information at the same time.
In this embodiment of the disclosure, the step S101 of displaying the screen projection information projected by the target screen projection source to the screen projection device on the at least two target windows may include:
when the first number is larger than the second number, screen projection information projected to the screen projection equipment by the target screen projection source is displayed on at least two target windows;
the first number is the number of opened windows indicated by the windowing instruction, and the second number is the number of screen projection sources connected with the screen projection equipment indicated by the opening connection instruction.
For example, the screen projection device is connected to two screen projection sources, the second number is 2, and the two screen projection sources are a screen projection source a and a screen projection source B respectively. And opening three windows on the screen projection equipment, wherein the three windows are respectively an A window, a B window and a C window, namely the first number is 3. Screen projection information projected to the screen projection equipment by the screen projection source A is displayed on the window A; the screen projection information projected to the screen projection equipment by the screen projection source A or the screen projection source B is displayed on the window B; and displaying screen projection information projected to the screen projection equipment by the screen projection source B on the window C.
In the embodiment of the present disclosure, the first number may be the number of all windows on the screen projection device, and the second number may be 1.
In the embodiment of the present disclosure, after responding to the connection opening instruction, the screen projecting device is in a connection state with one screen projecting source, and the second number is 1. And after responding to the windowing instruction, opening three windows on the screen projection equipment, namely the first number is 3. And if a multi-window display instruction is received, displaying screen projection information projected to the screen projection equipment by the screen projection source on the opened three windows.
In the embodiment of the disclosure, the screen projection device is connected with one screen projection source, and three windows display the same screen projection information projected by the screen projection source. For example, a rectangular 100-inch LED screen is arranged in a conference room, three windows are respectively displayed in the left, middle and right positions of the LED screen side by side, and the 3 windows simultaneously display the same screen projection information projected by the same screen projection source; therefore, participants at different viewing angles in the conference room can see the same screen projection information.
In the embodiment of the disclosure, a connection closing instruction is obtained; and if the connection instruction indicates that the screen projection equipment is disconnected from the target screen projection source, and the target screen projection source is the only screen projection source connected with the screen projection equipment, closing all windows on the screen projection equipment.
For example, the screen projection device has three windows in total, the three windows are all opened, and if only one screen projection source connected with the screen projection device is actively or passively disconnected, the three windows are automatically closed; the tabs of the projected source are displayed in gray, indicating an extinction.
In the embodiment of the disclosure, a multi-window display instruction is received, and screen projection information projected from a target screen projection source to a screen projection device is displayed on at least two target windows, wherein the target window is one of at least two opened windows on the screen projection device, and the target screen projection source is one of at least one screen projection source connected with the screen projection device. Therefore, the multiple windows are opened on the same screen projection device, the multiple windows display the screen projection information projected to the screen projection device from the same screen projection source, users at different viewing angles can see the same screen projection information, and user experience is improved.
Another screen projection method is provided in the embodiment of the present disclosure, a flow chart of the method is shown in fig. 3, and the method includes:
s201, receiving a display switching instruction, and switching and displaying screen projection information projected to screen projection equipment by at least two target screen projection sources in a target window, wherein the target window is one of at least one opened window on the screen projection equipment, and the target screen projection source is one of at least two screen projection sources connected with the screen projection equipment.
In the embodiment of the disclosure, the display switching instruction is used for instructing the same window to switch from displaying screen projection information a to displaying screen projection information B, where the screen projection information a is screen projection information projected by one screen projection source to the screen projection device, and the screen projection information B is screen projection information projected by another screen projection source to the screen projection device.
For example, a window on the screen projection device is opened, the screen projection device is in a connection state with the screen projection source No. 1, the screen projection source No. 2, and the screen projection source No. 3, and the labels of the three screen projection sources on the window of the screen projection device are device 1, device 2, and device 3, respectively. The window displays screen projection information A, wherein the screen projection information A is screen projection information projected to screen projection equipment from a No. 1 screen projection source corresponding to the equipment 1; a user clicks the device 2, namely a display switching instruction is triggered, and the display switching instruction indicates that the window is switched from display screen projection information A to display screen projection information B, wherein the screen projection information B is screen projection information projected to the screen projection device by a No. 2 screen projection source corresponding to the device 2; and clicking the device 3 by the user, namely triggering a display switching instruction, wherein the display switching instruction indicates that the window is switched from the display screen projection information B to the display screen projection information C, and the screen projection information C is screen projection information projected to the screen projection device by a No. 3 screen projection source corresponding to the device 3.
In this embodiment of the disclosure, the "switching and displaying, in the target window, the screen projection information projected to the screen projection device by the at least two target screen projection sources" in step S201 may include:
when at least two different target windows exist, screen projection information projected to the screen projection equipment by at least two target screen projection sources is synchronously or asynchronously switched and displayed on the different target windows.
In the embodiment of the disclosure, the three screen projection sources are connected with the screen projection device, the three screen projection sources project screens wirelessly, three windows of the screen projection device are all opened, and each window can be used for switching and displaying screen projection information projected from the three screen projection sources to the screen projection device. The three windows can simultaneously display screen projection information projected to the screen projection equipment by the same screen projection source, and the three windows can also respectively display screen projection information projected to the screen projection equipment by the three screen projection sources.
In the embodiment of the disclosure, different screen projection sources are switched in the same window. For example, only one window is opened in the three windows, and the three screen projection sources are in wireless screen projection, so that the three screen projection sources can be not disconnected, and screen projection information projected to the screen projection equipment by the three screen projection sources can be switched and displayed in the window. Each of the three windows may correspond to three screen projection source tags, so that different screen projection sources may be switched in each window after the window is opened.
In the embodiment of the disclosure, a window closing instruction is obtained; if the window closing instruction indicates that at least one opened window is closed and all opened windows are not closed, the connection state between the screen projection equipment and each connected screen projection source is kept; if the window closing instruction indicates that all opened windows are closed, disconnecting the screen projection equipment from each connected screen projection source; the opened window is a window which is opened by the windowing instruction, and the connected screen projection source is a screen projection source which is connected by the opening connection instruction.
In the embodiment of the disclosure, when the connection opening instruction indicates that the screen projection device is connected with the plurality of screen projection sources, and the window opening instruction indicates that an A window on the screen projection device is opened, screen projection information projected to the screen projection device by one screen projection source in the plurality of screen projection sources is displayed on the A window, and when a B screen projection source in the plurality of screen projection sources is disconnected from the screen projection device, any screen projection source except the B screen projection source in the plurality of screen projection sources is displayed on the A window; or, displaying a screen projection source C which is connected with the screen projection equipment finally except the screen projection source B in the plurality of screen projection sources on the window A; therefore, after the B screen projection source is disconnected, other screen projection sources can be flexibly switched in the same window.
In the embodiment of the disclosure, three screen projection sources are connected with the screen projection device, the three screen projection sources are in wireless screen projection, and three windows of the screen projection device are all opened. The screen projection equipment acquires a window closing instruction; the window closing instruction indicates the screen projection equipment to close one or two of the three windows, and all three screen projection sources can not be disconnected with the screen projection equipment; when all three windows are closed, all three screen projection sources are disconnected from the screen projection device.
In the embodiment of the disclosure, A, B and C three screen projection sources are connected to a screen projection device, three windows of the screen projection device are all opened, the screen projection device receives a window closing instruction, the window closing instruction instructs to close two of the three windows, the screen projection device only opens 1 window to display a picture projected by the screen projection source a to the screen projection device, at this time, the screen projection source a is actively disconnected, the current window is not closed, the current window is automatically switched to the screen projection source B or the screen projection source C to project the picture projected by the screen projection device, and the screen projection source B or the screen projection source C is a device connected to the screen projection device from the last of the screen projection sources A, B and C.
In the embodiment of the disclosure, when two or three screen projection sources are connected with the screen projection equipment, the screen projection equipment only opens 1 window; the screen projection equipment acquires a window closing instruction; and the window closing instruction instructs the screen projection equipment to close the window, and a dialog box pops up before the window is closed, wherein the displayed content of the dialog box comprises: closing the application will disconnect all connections, if the current connection needs to be disconnected, please click the return key. Is all connections broken? Determine/return ".
In the embodiment of the disclosure, a display switching instruction is received, and screen projection information projected to a screen projection device by at least two target screen projection sources is switched and displayed on a target window, where the target window is one of at least one opened window on the screen projection device, and the target screen projection source is one of at least two screen projection sources connected with the screen projection device. Therefore, different screen projection sources can be switched for the same window, so that a user can see screen projection information projected to the screen projection equipment by the different screen projection sources through the same window, and user experience is improved.
Based on the same inventive concept, the embodiment of the present disclosure further provides a screen projection apparatus, which has a schematic structural diagram as shown in fig. 4, and the screen projection apparatus 60 includes a first processing module 601.
The first processing module 601 is configured to receive a multi-window display instruction, and display screen projection information projected to the screen projection device by a target screen projection source on at least two target windows, where a target window is one of at least two opened windows on the screen projection device, and a target screen projection source is one of at least one screen projection source that is connected to the screen projection device.
In the embodiment of the present disclosure, the first processing module 601 is further configured to obtain a connection opening instruction and a window opening instruction, where the connection opening instruction is used to instruct the screen projection device to connect with the screen projection source, and the window opening instruction is used to instruct to open a window on the screen projection device.
In the embodiment of the present disclosure, the first processing module 601 is specifically configured to display, on at least two target windows, screen projection information projected to the screen projection device by a target screen projection source when the first number is greater than the second number; the first number is the number of opened windows indicated by the windowing instruction, and the second number is the number of screen projection sources connected with the screen projection equipment indicated by the opening connection instruction.
In the embodiment of the present disclosure, the first number is the number of all windows on the screen projection device, and the second number is 1.
In the embodiment of the present disclosure, the first processing module 601 is further configured to obtain a connection instruction; the first processing module 601 is further configured to close all windows on the screen projection device if the connection instruction indicates that the screen projection device is disconnected from the target screen projection source, and the target screen projection source is the only screen projection source connected to the screen projection device.
The application of the embodiment of the disclosure has at least the following beneficial effects:
receiving a multi-window display instruction, and displaying screen projection information projected to the screen projection equipment by a target screen projection source on at least two target windows, wherein the target window is one of at least two opened windows on the screen projection equipment, and the target screen projection source is one of at least one screen projection source connected with the screen projection equipment. Therefore, the multiple windows are opened on the same screen projection device, the multiple windows display the screen projection information projected to the screen projection device from the same screen projection source, users at different viewing angles can see the same screen projection information, and user experience is improved.
Based on the same inventive concept, the disclosed embodiment further provides another screen projection device, which is schematically shown in fig. 5, and the screen projection device 70 includes a second processing module 701.
The second processing module 701 is configured to receive a display switching instruction, and switch and display screen projection information projected to the screen projection device by at least two target screen projection sources in a target window, where the target window is one of at least one opened window on the screen projection device, and the target screen projection source is one of at least two screen projection sources connected to the screen projection device.
In the embodiment of the present disclosure, the second processing module 701 is configured to obtain a connection opening instruction and a window opening instruction, where the connection opening instruction is used to instruct the screen projection device to connect with the screen projection source, and the window opening instruction is used to instruct to open a window on the screen projection device.
In the embodiment of the present disclosure, the second processing module 701 is specifically configured to, when at least two different target windows exist, switch and display screen projection information projected by at least two target screen projection sources to a screen projection device on the different target windows synchronously or asynchronously.
In the embodiment of the present disclosure, the second processing module 701 is further configured to obtain a window closing instruction; the second processing module 701 is further configured to, if the window closing instruction indicates that at least one opened window is closed and all opened windows are not closed, maintain a connection state between the screen projecting device and each connected screen projecting source; the second processing module 701 is further configured to disconnect the screen projecting device from each connected screen projecting source if the window closing instruction indicates to close all opened windows; the opened window is a window which is opened by the windowing instruction, and the connected screen projection source is a screen projection source which is connected by the opening connection instruction.
The application of the embodiment of the disclosure has at least the following beneficial effects:
receiving a display switching instruction, and switching and displaying screen projection information projected to the screen projection equipment by at least two target screen projection sources in a target window, wherein the target window is one of at least one opened window on the screen projection equipment, and the target screen projection source is one of at least two screen projection sources connected with the screen projection equipment. Therefore, different screen projection sources can be switched for the same window, so that a user can see screen projection information projected to the screen projection equipment by the different screen projection sources through the same window, and user experience is improved.
The content that is not described in detail in the screen projection device provided by the embodiment of the present disclosure may refer to the screen projection method provided by the above embodiment, and the beneficial effects that the screen projection device provided by the embodiment of the present disclosure can achieve are the same as the screen projection method provided by the above embodiment, and are not described again here.
Referring now to FIG. 6, a block diagram of an electronic device 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as the processing device 801 described below, and the memory may include at least one of a Read Only Memory (ROM)802, a Random Access Memory (RAM)803, and a storage device 808, as shown in fig. 6:
the electronic device 800 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 6 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a multi-window display instruction, and displaying screen projection information projected to the screen projection equipment by a target screen projection source on at least two target windows, wherein the target window is one of at least two opened windows on the screen projection equipment, and the target screen projection source is one of at least one screen projection source connected with the screen projection equipment.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a display switching instruction, and switching and displaying screen projection information projected to the screen projection equipment by at least two target screen projection sources in a target window, wherein the target window is one of at least one opened window on the screen projection equipment, and the target screen projection source is one of at least two screen projection sources connected with the screen projection equipment.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the designation of a module or unit does not in some cases constitute a limitation of the unit itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, an embodiment provides a screen projection method, including:
receiving a multi-window display instruction, and displaying screen projection information projected to the screen projection equipment by a target screen projection source on at least two target windows, wherein the target window is one of at least two opened windows on the screen projection equipment, and the target screen projection source is one of at least one screen projection source connected with the screen projection equipment.
In the embodiment of the disclosure, a connection opening instruction and a window opening instruction are obtained, the connection opening instruction is used for indicating that the screen projection device is connected with the screen projection source, and the window opening instruction is used for indicating that a window on the screen projection device is opened.
In the embodiment of the present disclosure, displaying, on at least two target windows, screen projection information projected by a target screen projection source to a screen projection device includes:
when the first number is larger than the second number, screen projection information projected to the screen projection equipment by the target screen projection source is displayed on at least two target windows;
the first number is the number of opened windows indicated by the windowing instruction, and the second number is the number of screen projection sources connected with the screen projection equipment indicated by the opening connection instruction.
In the embodiment of the present disclosure, the first number is the number of all windows on the screen projection device, and the second number is 1.
In the embodiment of the disclosure, a connection closing instruction is obtained; and if the connection instruction indicates that the screen projection equipment is disconnected from the target screen projection source, and the target screen projection source is the only screen projection source connected with the screen projection equipment, closing all windows on the screen projection equipment.
According to one or more embodiments of the present disclosure, there is provided another screen projection method, including:
receiving a display switching instruction, and switching and displaying screen projection information projected to the screen projection equipment by at least two target screen projection sources in a target window, wherein the target window is one of at least one opened window on the screen projection equipment, and the target screen projection source is one of at least two screen projection sources connected with the screen projection equipment.
In the embodiment of the present disclosure, switching and displaying screen projection information projected from at least two target screen projection sources to a screen projection device in a target window includes:
when at least two different target windows exist, screen projection information projected to the screen projection equipment by at least two target screen projection sources is synchronously or asynchronously switched and displayed on the different target windows.
In the embodiment of the disclosure, a window closing instruction is obtained; if the window closing instruction indicates that at least one opened window is closed and all opened windows are not closed, the connection state between the screen projection equipment and each connected screen projection source is kept; if the window closing instruction indicates that all opened windows are closed, disconnecting the screen projection equipment from each connected screen projection source; the opened window is a window which is opened by the windowing instruction, and the connected screen projection source is a screen projection source which is connected by the opening connection instruction.
According to one or more embodiments of the present disclosure, there is provided a screen projection apparatus including:
the first processing module is used for receiving a multi-window display instruction and displaying screen projection information projected to the screen projection equipment by a target screen projection source on at least two target windows, wherein the target window is one of at least two opened windows on the screen projection equipment, and the target screen projection source is one of at least one screen projection source connected with the screen projection equipment.
In the embodiment of the disclosure, the first processing module is further configured to obtain a connection opening instruction and a window opening instruction, where the connection opening instruction is used to instruct the screen projection device to connect with the screen projection source, and the window opening instruction is used to instruct the screen projection device to open a window.
In the embodiment of the disclosure, the first processing module is specifically configured to display screen projection information projected by the target screen projection source to the screen projection device on at least two target windows when the first number is greater than the second number; the first number is the number of opened windows indicated by the windowing instruction, and the second number is the number of screen projection sources connected with the screen projection equipment indicated by the opening connection instruction.
In the embodiment of the present disclosure, the first number is the number of all windows on the screen projection device, and the second number is 1.
In the embodiment of the disclosure, the first processing module is further configured to obtain a connection instruction; the first processing module is further used for closing all windows on the screen projection equipment if the connection instruction indicates that the screen projection equipment is disconnected from the target screen projection source, and the target screen projection source is the only screen projection source connected with the screen projection equipment.
According to one or more embodiments of the present disclosure, there is provided another screen projection apparatus including:
and the second processing module is used for receiving a display switching instruction and switching and displaying screen projection information projected to the screen projection equipment by at least two target screen projection sources in a target window, wherein the target window is one of at least one opened window on the screen projection equipment, and the target screen projection source is one of at least two screen projection sources connected with the screen projection equipment.
The second processing module is further used for obtaining a connection opening instruction and a window opening instruction, the connection opening instruction is used for indicating the screen projection equipment to be connected with the screen projection source, and the window opening instruction is used for indicating the opening of a window on the screen projection equipment.
In an embodiment of the disclosure, the second processing module is specifically configured to, when at least two different target windows exist, switch and display screen projection information projected by at least two target screen projection sources to the screen projection device on the different target windows synchronously or asynchronously.
In the embodiment of the disclosure, the second processing module is further configured to obtain a window closing instruction; the second processing module is further used for keeping the connection state between the screen projection equipment and each connected screen projection source if the window closing instruction indicates that at least one opened window is closed and all opened windows are not closed; the second processing module is further used for disconnecting the connection between the screen projection equipment and each connected screen projection source if the window closing instruction indicates that all opened windows are closed; the opened window is a window which is opened by the windowing instruction, and the connected screen projection source is a screen projection source which is connected by the opening connection instruction.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.