CN113766303A - Multi-screen interaction method, device, equipment and storage medium - Google Patents
Multi-screen interaction method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113766303A CN113766303A CN202110498240.9A CN202110498240A CN113766303A CN 113766303 A CN113766303 A CN 113766303A CN 202110498240 A CN202110498240 A CN 202110498240A CN 113766303 A CN113766303 A CN 113766303A
- Authority
- CN
- China
- Prior art keywords
- playing
- terminal
- target
- window
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000003993 interaction Effects 0.000 title claims abstract description 48
- 238000012545 processing Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the disclosure discloses a multi-screen interaction method, a multi-screen interaction device, multi-screen interaction equipment and a storage medium. The method comprises the following steps: acquiring a second terminal which is in the same local area network as a first terminal currently playing the live video; wherein the live video comprises at least one sub-play window; determining location information of the second terminal relative to the first terminal; determining a target terminal based on the location information; and dragging the target sub-playing window to the target terminal for playing. According to the multi-screen interaction method provided by the embodiment of the disclosure, the target sub-playing window in the live video is dragged to the target terminal to be played so as to realize multi-screen interaction of video streams, and a plurality of sub-playing windows contained in the live video can be played in different terminals respectively so as to improve the watching experience of a user.
Description
Technical Field
The embodiment of the disclosure relates to the technical field of multi-screen interaction, and in particular relates to a multi-screen interaction method, a multi-screen interaction device, multi-screen interaction equipment and a storage medium.
Background
With the continuous development and progress of internet technology, intelligent electronic products are more and more popular. Mobile internet is becoming mainstream, and the demand of customers is continuously diversified.
Currently, when a user uses a terminal device to perform a video call or watch a live video, the interface generally has a plurality of windows. In the prior art, a plurality of windows can only be displayed in the same terminal, which affects user experience.
Disclosure of Invention
The embodiment of the disclosure provides a multi-screen interaction method, a multi-screen interaction device and a storage medium, so as to realize multi-screen interaction of video streams and improve the watching experience of a user.
In a first aspect, an embodiment of the present disclosure provides a multi-screen interaction method, including:
acquiring a second terminal which is in the same local area network as a first terminal currently playing the live video; wherein the live video comprises at least one sub-play window;
determining location information of the second terminal relative to the first terminal;
determining a target terminal based on the location information;
and dragging the target sub-playing window to the target terminal for playing.
In a second aspect, an embodiment of the present disclosure further provides a multi-screen interaction method, including:
the second terminal receives a playing instruction sent by the first terminal; wherein, the playing instruction carries an identifier of the playing content of the target sub-playing window;
and acquiring the playing content of the target sub-playing window according to the playing instruction, and playing.
In a third aspect, an embodiment of the present disclosure further provides a multi-screen interaction device, including:
the target terminal acquisition module is used for acquiring a second terminal which is in the same local area network as a first terminal playing the live video at present; wherein the live video comprises at least one sub-play window;
a position information determining module, configured to determine position information of the second terminal relative to the first terminal;
the target terminal determining module is used for determining a target terminal based on the position information;
and the window dragging module is used for dragging the target sub-playing window to the target terminal for playing.
In a fourth aspect, an embodiment of the present disclosure discloses a multi-screen interaction device, including:
the playing instruction receiving module is arranged in the target terminal and used for receiving a playing instruction sent by the first terminal; the target terminal and the first terminal are in the same local area network, and the playing instruction carries an identifier of playing content of a target sub-playing window;
and the playing content acquisition module is used for acquiring the playing content of the target sub-playing window according to the playing instruction and playing the content.
In a fifth aspect, an embodiment of the present disclosure discloses an electronic device, including:
one or more processing devices;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processing devices, the one or more processing devices are enabled to implement the multi-screen interaction method according to the embodiment of the disclosure.
In a sixth aspect, the disclosed embodiment further discloses a computer readable medium, on which a computer program is stored, where the computer program, when executed by a processing device, implements the multi-screen interaction method according to the disclosed embodiment.
The embodiment of the disclosure discloses a multi-screen interaction method, a multi-screen interaction device, multi-screen interaction equipment and a storage medium. Acquiring a second terminal which is in the same local area network as a first terminal currently playing the live video; determining position information of a second terminal relative to a first terminal; determining a target terminal based on the location information; and dragging the target sub-playing window to a target terminal for playing. According to the multi-screen interaction method provided by the embodiment of the disclosure, the target sub-playing window in the live video is dragged to the target terminal to be played so as to realize multi-screen interaction of video streams, and a plurality of sub-playing windows contained in the live video can be played in different terminals respectively so as to improve the watching experience of a user.
Drawings
FIG. 1 is a flow chart of a multi-screen interaction method in an embodiment of the present disclosure;
fig. 2 is an exemplary diagram of dragging a target sub-play window to a target terminal in the embodiment of the present disclosure;
FIG. 3 is a flow chart of a multi-screen interaction method in an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of a multi-screen interaction device according to an embodiment of the disclosure;
FIG. 5 is a schematic structural diagram of a multi-screen interaction device according to an embodiment of the disclosure;
fig. 6 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure.
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 different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed 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.
Fig. 1 is a flowchart of a multi-screen interaction method according to an embodiment of the present disclosure, where the present embodiment is applicable to a multi-terminal video interaction situation, and the method may be executed by a multi-screen interaction device, where the device may be composed of hardware and/or software, and may be generally integrated in a device with a multi-screen interaction function, where the device may be an electronic device such as a server, a mobile terminal, or a server cluster. As shown in fig. 1, the method specifically includes the following steps:
and step 110, acquiring a second terminal which is in the same local area network as the first terminal playing the live video currently.
The live video comprises at least one sub-playing window. For example: the teaching live video usually comprises two sub-playing windows, wherein one of the two sub-playing windows plays the content of the blackboard writing, and the other one plays the image of a teacher. The local area network may be a wired local area network or a wireless local area network. In this embodiment, the first terminal logs in the live broadcast platform, enters the live broadcast room through the verification code, and pulls the live broadcast stream, and the live broadcast video is played at the first terminal, and the live broadcast video includes at least one sub-play window.
Specifically, the second terminal in the same local area network as the first terminal currently playing the live video is obtained in the following manner: determining a local area network where a first terminal playing live video currently is located; acquiring terminal equipment connected to a local area network; and determining the terminal equipment with the video playing function as a second terminal.
The terminal device with the video playing function can be understood as a device arranged on a display screen, such as a television play, a smart phone, a tablet or a smart desk lamp. If the terminal equipment is connected to the local area network, the terminal equipment is in a starting state and can work. In this embodiment, the first terminal determines the wireless local area network or the limited local area network through the currently connected network, then obtains the terminal device connected to the local area network, and finally selects the terminal device with the display screen as the second terminal.
Step 120, position information of the second terminal relative to the first terminal is determined.
The position information includes distance information and direction information, and the direction information can be understood as a deviation angle (e.g. 30 degrees north) of the second terminal relative to the first terminal. The first terminal and the second terminal can directly carry out data communication through a local area network or Bluetooth. In this embodiment, the manner of determining the position information of the second terminal relative to the first terminal may be to obtain a distance between the second terminal and the first terminal and a declination angle of the second terminal relative to the second terminal through a bluetooth positioning technology.
Step 130, determining the target terminal based on the position information.
Specifically, after the position information of the second terminal is obtained, the second terminal whose distance from the first terminal is smaller than the set threshold may be determined as the target terminal. Wherein, the set threshold value can be set to any value between 3-5 meters, for example: and if the distance is set to be 4 meters, determining a second terminal which is less than 4 meters away from the first terminal as a target terminal. This has the advantage of ensuring that the content played by the second terminal is within the current line of sight of the user.
And 140, dragging the target sub-playing window to a target terminal for playing.
If there is one target terminal, the user may select one sub-play window as the target sub-play window, and then drag the target sub-play window to the target terminal for playing. If the number of the target terminals is two or more, the user can select one target terminal, and then drag the target sub-playing window to the selected target terminal for playing. If the number of the target terminals is two or more, and the user selects two sub-playing windows as the target sub-playing windows, the user can select two of the target terminals, and drag the two target sub-playing windows to the selected two target terminals respectively for playing. In this embodiment, two or more target sub-playback windows may be dragged to one target terminal, or two or more target sub-playback windows may be dragged to different target terminals, respectively, and the number and manner of the dragged target sub-playback windows are not limited.
In this embodiment, the manner of dragging the target sub-play window to the target terminal for playing may be: and generating a dragging guide icon in a display interface of the first terminal according to the direction information so as to guide a user to drag the target sub-playing window to the target terminal for playing.
Wherein the drag guide icon may be in the form of an arrow, and the pointing direction of the arrow is determined by direction information of the second terminal with respect to the first terminal. Specifically, the display interface of the first terminal may be marked in a map marking manner of "north, up, down, south, left, west, right, and east", and then a drag guide icon corresponding to the direction information is generated. For example, fig. 2 is an exemplary diagram of dragging the target sub-play window to the target terminal in this embodiment, as shown in fig. 2, if the determined direction information of the target terminal relative to the first terminal is 20 degrees north-south, a 20-degree-north arrow is generated in the display interface of the first terminal to guide the user to drag the target sub-play window along the arrow, so as to drag the target sub-play window to the target terminal for playing.
Specifically, the method of dragging the target sub-play window to the target terminal for playing may be: when it is detected that a user drags a target sub-playing window along a dragging guide icon on a display interface of a first terminal and drags the target sub-playing window exceeding a set proportion out of the display interface, a playing instruction is generated; and sending the playing instruction to the target terminal, so that the target terminal plays the content in the target sub-playing window according to the playing instruction.
The playing instruction carries an identifier of the playing content of the target sub-playing window. The set proportion can be set to be any value between 50% and 70%, and the set proportion can be understood as the proportion of the target sub-playing window in the display interface of the first terminal. In this embodiment, if the user drags the target sub-play window along the drag guide icon on the display interface of the first terminal and stops dragging when the target sub-play window exceeding the set ratio is dragged out of the display interface, the target sub-play window still remains in the display interface of the first terminal for playing.
Optionally, the first terminal drags the target sub-play window to the target terminal, and forwards the live video stream to the target terminal, and the target terminal decodes only the content played by the target sub-play window in the live video stream according to the identifier of the content played by the target sub-play window, and plays the decoded video.
Optionally, the playing instruction also carries a stream address of the live video, after receiving the playing instruction, the target terminal pulls the live video stream according to the stream address of the live video, then decodes only the content played by the target sub-playing window in the live video stream according to the identifier of the content played by the target sub-playing window, and plays the decoded video.
Optionally, after the target sub-play window is dragged to the target terminal for playing, the method further includes the following steps: if the live video comprises a sub-playing window, closing the playing window in the first terminal; and if the live video comprises more than two sub-playing windows and the target sub-playing window is one, playing the contents in the rest sub-playing windows.
When the live video comprises one sub-playing window, the user is indicated to drag the current live video window to the target terminal for playing, namely the played terminal equipment is switched, and at the moment, the playing window of the first terminal is closed, so that system resources of the first terminal can be saved. When the live video comprises more than two sub-playing windows and the target sub-playing window is one, the sub-windows contained in the live video can be respectively played in the first terminal and the target terminal, the first terminal plays the contents in the rest sub-playing windows (namely the sub-playing windows which are not dragged away), and the target terminal plays the contents of the dragged sub-playing windows, so that the situation that the contents of a plurality of windows are blocked when the plurality of windows are played at the same terminal can be prevented, and the watching experience of a user is improved.
According to the technical scheme of the embodiment of the disclosure, a second terminal in the same local area network as a first terminal playing live video currently is obtained; determining position information of a second terminal relative to a first terminal; determining a target terminal based on the location information; and dragging the target sub-playing window to a target terminal for playing. According to the multi-screen interaction method provided by the embodiment of the disclosure, the target sub-playing window in the live video is dragged to the target terminal to be played so as to realize multi-screen interaction of video streams, and a plurality of sub-playing windows contained in the live video can be played in different terminals respectively so as to improve the watching experience of a user.
Fig. 3 is a flowchart of a multi-screen interaction method according to an embodiment of the disclosure, and as shown in fig. 3, the method includes:
step 210, the target terminal receives a play instruction sent by the first terminal.
The playing instruction carries an identifier of the playing content of the target sub-playing window. The target terminal and the first terminal are in the same local area network, the target terminal is the terminal which is in the same local area network with the first terminal and is less than a set threshold value away from the first terminal, and the target terminal is configured with a display screen.
In this embodiment, when it is detected that a user drags a target sub-play window along a drag guide icon on a display interface of a first terminal and drags the target sub-play window exceeding a set ratio out of the display interface, a play instruction is generated, and the first terminal sends the play instruction to the target terminal.
And step 220, acquiring the playing content of the target sub-playing window according to the playing instruction, and playing.
Optionally, the process of obtaining the playing content of the target sub-playing window according to the playing instruction may be: the first terminal drags the target sub-playing window to the target terminal and forwards the live video stream to the target terminal, and the target terminal only decodes the content played by the target sub-playing window in the live video stream according to the identifier of the content played by the target sub-playing window and plays the decoded video.
Optionally, the play instruction further carries a stream address of the live video. The process of obtaining the playing content of the target sub-playing window according to the playing instruction may be: and after receiving the playing instruction, the target terminal pulls the live video stream according to the stream address of the live video, then only decodes the content played by the target sub-playing window in the live video stream according to the identifier of the content played by the target sub-playing window, and plays the decoded video.
According to the technical scheme of the embodiment of the disclosure, a target terminal receives a playing instruction sent by a first terminal; and acquiring the playing content of the target sub-playing window according to the playing instruction, and playing. According to the multi-screen interaction method provided by the embodiment of the disclosure, the target sub-playing window in the live video is dragged to the target terminal to be played so as to realize multi-screen interaction of video streams, and a plurality of sub-playing windows contained in the live video can be played in different terminals respectively so as to improve the watching experience of a user.
Fig. 4 is a schematic structural diagram of a multi-screen interaction device according to an embodiment of the disclosure. As shown in fig. 4, the apparatus includes:
a second terminal obtaining module 410, configured to obtain a second terminal that is in the same local area network as the first terminal currently playing the live video; the live video comprises at least one sub-playing window;
a location information determining module 420 for determining location information of the second terminal relative to the first terminal;
a target terminal determining module 430, configured to determine a target terminal based on the location information;
and the window dragging module 440 is configured to drag the target sub-play window to the target terminal for playing.
Optionally, the second terminal obtaining module 410 is further configured to:
determining a local area network where a first terminal playing live video currently is located;
acquiring terminal equipment connected to a local area network;
and determining the terminal equipment with the video playing function as a second terminal.
Optionally, the location information includes distance information; the target terminal determining module 430 is further configured to:
and determining a second terminal with the distance from the first terminal being less than a set threshold value as a target terminal.
Optionally, the location information further includes direction information; the window dragging module 440 is further configured to:
and generating a dragging guide icon in a display interface of the first terminal according to the direction information so as to guide a user to drag the target sub-playing window to the target terminal for playing.
Optionally, the window dragging module 440 is further configured to:
when it is detected that a user drags a target sub-playing window along a dragging guide icon on a display interface of a first terminal and drags the target sub-playing window exceeding a set proportion out of the display interface, a playing instruction is generated; wherein, the playing instruction carries the identifier of the playing content of the target sub-playing window;
and sending the playing instruction to the target terminal, so that the target terminal plays the content in the target sub-playing window according to the playing instruction.
Optionally, the method further includes: a play module to:
if the live video comprises a sub-playing window, closing the playing window in the first terminal;
and if the live video comprises two or more than two sub-playing windows and the target sub-playing window is one, playing the contents in the rest sub-playing windows.
Fig. 5 is a schematic structural diagram of a multi-screen interaction device according to an embodiment of the disclosure, and as shown in fig. 5, the device includes:
a play instruction receiving module 510, disposed in the target terminal, for receiving a play instruction sent by the first terminal; the target terminal and the first terminal are in the same local area network, and the playing instruction carries an identifier of the playing content of the target sub-playing window;
and a playing content obtaining module 520, configured to obtain the playing content of the target sub-playing window according to the playing instruction, and play the playing content.
The device can execute the methods provided by all the embodiments of the disclosure, and has corresponding functional modules and beneficial effects for executing the methods. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the disclosure.
Referring now to FIG. 6, a block diagram of an electronic device 300 suitable for use in implementing embodiments of the present disclosure is shown. The electronic 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 fixed terminal such as a digital TV, a desktop computer, and the like, or various forms of servers such as a stand-alone server or a server cluster. 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.
As shown in fig. 6, electronic device 300 may include a processing means (e.g., central processing unit, graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a read-only memory device (ROM)302 or a program loaded from a storage device 305 into a random access memory device (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 6 illustrates an electronic device 300 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 embodied on a computer-readable medium, the computer program containing program code for performing a method for recommending words. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 305, or installed from the ROM 302. The computer program, when executed by the processing device 301, 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: acquiring a second terminal which is in the same local area network as a first terminal currently playing the live video; wherein the live video comprises at least one sub-play window; determining location information of the second terminal relative to the first terminal; determining a target terminal based on the location information; and dragging the target sub-playing window to the target terminal for playing. Or the target terminal receives a playing instruction sent by the first terminal; the target terminal and the first terminal are in the same local area network, and the playing instruction carries an identifier of playing content of a target sub-playing window; and acquiring the playing content of the target sub-playing window according to the playing instruction, and playing.
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 units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element 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 disclosed embodiments, the disclosed embodiments disclose a multi-screen interaction method, comprising:
acquiring a second terminal which is in the same local area network as a first terminal currently playing the live video; wherein the live video comprises at least one sub-play window;
determining location information of the second terminal relative to the first terminal;
determining a target terminal based on the location information;
and dragging the target sub-playing window to the target terminal for playing.
Further, acquiring a second terminal in the same local area network as the first terminal currently playing the live video, including:
determining a local area network where a first terminal playing live video currently is located;
acquiring terminal equipment connected to the local area network;
and determining the terminal equipment with the video playing function as a second terminal.
Further, the location information includes distance information; determining a target terminal based on the location information, comprising:
and determining a second terminal with the distance from the first terminal being less than a set threshold value as a target terminal.
Further, the position information further includes direction information; dragging the target sub-playing window to the target terminal for playing, wherein the method comprises the following steps:
and generating a dragging guide icon in a display interface of the first terminal according to the direction information so as to guide a user to drag a target sub-playing window to the target terminal for playing.
Further, dragging a target sub-play window to the target terminal for playing, including:
when it is detected that a user drags a target sub-playing window along the dragging guide icon on a display interface of the first terminal and drags the target sub-playing window exceeding a set proportion out of the display interface, a playing instruction is generated; wherein, the playing instruction carries an identifier of the playing content of the target sub-playing window;
and sending the playing instruction to a target terminal, so that the target terminal plays the content in the target sub-playing window according to the playing instruction.
Further, after dragging the target sub-play window to the target terminal for playing, the method further includes:
if the live video comprises a sub-playing window, closing the playing window in the first terminal;
and if the live video comprises more than two sub-playing windows and the target sub-playing window is one, playing the contents in the rest sub-playing windows.
The embodiment of the present disclosure further provides a multi-screen interaction method, including:
the target terminal receives a playing instruction sent by the first terminal; the target terminal and the first terminal are in the same local area network, and the playing instruction carries an identifier of playing content of a target sub-playing window;
and acquiring the playing content of the target sub-playing window according to the playing instruction, and playing.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present disclosure and the technical principles employed. Those skilled in the art will appreciate that the present disclosure is not limited to the particular embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the present disclosure. Therefore, although the present disclosure has been described in greater detail with reference to the above embodiments, the present disclosure is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present disclosure, the scope of which is determined by the scope of the appended claims.
Claims (11)
1. A multi-screen interaction method is characterized by comprising the following steps:
acquiring a second terminal which is in the same local area network as a first terminal currently playing the live video; wherein the live video comprises at least one sub-play window;
determining location information of the second terminal relative to the first terminal;
determining a target terminal based on the location information;
and dragging the target sub-playing window to the target terminal for playing.
2. The method of claim 1, wherein obtaining a second terminal in the same local area network as a first terminal currently playing the live video comprises:
determining a local area network where a first terminal playing live video currently is located;
acquiring terminal equipment connected to the local area network;
and determining the terminal equipment with the video playing function as a second terminal.
3. The method of claim 1, wherein the location information comprises distance information; determining a target terminal based on the location information, comprising:
and determining a second terminal with the distance from the first terminal being less than a set threshold value as a target terminal.
4. The method of claim 1, wherein the location information further comprises direction information; dragging the target sub-playing window to the target terminal for playing, wherein the method comprises the following steps:
and generating a dragging guide icon in a display interface of the first terminal according to the direction information so as to guide a user to drag a target sub-playing window to the target terminal for playing.
5. The method of claim 4, wherein dragging a target sub-play window to the target terminal for playing comprises:
when it is detected that a user drags a target sub-playing window along the dragging guide icon on a display interface of the first terminal and drags the target sub-playing window exceeding a set proportion out of the display interface, a playing instruction is generated; wherein, the playing instruction carries an identifier of the playing content of the target sub-playing window;
and sending the playing instruction to a target terminal, so that the target terminal plays the content in the target sub-playing window according to the playing instruction.
6. The method according to claim 1, wherein after dragging a target sub-play window to the target terminal for playing, further comprising:
if the live video comprises a sub-playing window, closing the playing window in the first terminal;
and if the live video comprises more than two sub-playing windows and the target sub-playing window is one, playing the contents in the rest sub-playing windows.
7. A multi-screen interaction method is characterized by comprising the following steps:
the target terminal receives a playing instruction sent by the first terminal; the target terminal and the first terminal are in the same local area network, and the playing instruction carries an identifier of playing content of a target sub-playing window;
and acquiring the playing content of the target sub-playing window according to the playing instruction, and playing.
8. A multi-screen interaction device, comprising:
the second terminal acquisition module is used for acquiring a second terminal which is in the same local area network as the first terminal playing the live video currently; wherein the live video comprises at least one sub-play window;
a position information determining module, configured to determine position information of the second terminal relative to the first terminal;
the target terminal determining module is used for determining a target terminal based on the position information;
and the window dragging module is used for dragging the target sub-playing window to the target terminal for playing.
9. A multi-screen interaction device, comprising:
the playing instruction receiving module is arranged in the target terminal and used for receiving a playing instruction sent by the first terminal; the target terminal and the first terminal are in the same local area network, and the playing instruction carries an identifier of playing content of a target sub-playing window;
and the playing content acquisition module is used for acquiring the playing content of the target sub-playing window according to the playing instruction and playing the content.
10. An electronic device, characterized in that the electronic device comprises:
one or more processing devices;
storage means for storing one or more programs;
when executed by the one or more processing devices, cause the one or more processing devices to implement the multi-screen interaction method of any one of claims 1-7.
11. A computer-readable medium on which a computer program is stored, the program, when executed by a processing device, implementing a multi-screen interaction method as recited in any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110498240.9A CN113766303B (en) | 2021-05-08 | 2021-05-08 | Multi-screen interaction method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110498240.9A CN113766303B (en) | 2021-05-08 | 2021-05-08 | Multi-screen interaction method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113766303A true CN113766303A (en) | 2021-12-07 |
CN113766303B CN113766303B (en) | 2023-04-28 |
Family
ID=78787092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110498240.9A Active CN113766303B (en) | 2021-05-08 | 2021-05-08 | Multi-screen interaction method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113766303B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114745561A (en) * | 2022-04-06 | 2022-07-12 | 珠海格力电器股份有限公司 | Live broadcast room interaction method and device, electronic equipment and storage medium |
CN115119031A (en) * | 2022-06-07 | 2022-09-27 | 深圳康佳电子科技有限公司 | Playing control method based on infinite screen window combination and related equipment |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802048A (en) * | 2012-08-24 | 2012-11-28 | 乐视网信息技术(北京)股份有限公司 | Multi-screen interaction system and method |
US20140240445A1 (en) * | 2013-02-26 | 2014-08-28 | Mersive Technologies, Inc. | System And Method For Multi-User Control And Media Streaming To A Shared Display |
CN105892851A (en) * | 2016-03-29 | 2016-08-24 | 北京金山安全软件有限公司 | Visual resource transmission method and device and electronic equipment |
CN106406789A (en) * | 2016-08-29 | 2017-02-15 | 武汉启目科技有限公司 | Method for realizing screen projection from single PC screen to multiple different device screens |
CN106572383A (en) * | 2015-10-12 | 2017-04-19 | 中国科学院声学研究所 | Video switching method and system based on multi-screen interaction |
US9667676B1 (en) * | 2016-01-29 | 2017-05-30 | Dropbox, Inc. | Real time collaboration and document editing by multiple participants in a content management system |
CN108235081A (en) * | 2018-01-08 | 2018-06-29 | 武汉斗鱼网络科技有限公司 | Multi-screen interaction method and device |
US20180352303A1 (en) * | 2016-12-29 | 2018-12-06 | Dressbot Inc. | System and method for multi-user digital interactive experience |
CN110719516A (en) * | 2019-10-21 | 2020-01-21 | 北京字节跳动网络技术有限公司 | Video synchronization method and device, terminal and storage medium |
CN110891193A (en) * | 2018-09-11 | 2020-03-17 | 广州虎牙信息科技有限公司 | Live video processing method and device, terminal and storage medium |
CN111294640A (en) * | 2018-12-07 | 2020-06-16 | 北京京东尚科信息技术有限公司 | Information display method, information selling method, information display device, information selling device, storage medium and electronic equipment |
CN111324327A (en) * | 2020-02-20 | 2020-06-23 | 华为技术有限公司 | Screen projection method and terminal equipment |
CN111666055A (en) * | 2020-04-24 | 2020-09-15 | 华为技术有限公司 | Data transmission method and device |
CN111787392A (en) * | 2020-08-06 | 2020-10-16 | 北京字节跳动网络技术有限公司 | Video screen projection method and device, electronic equipment and storage medium |
CN111984215A (en) * | 2020-08-19 | 2020-11-24 | Oppo广东移动通信有限公司 | Multimedia data playing method, terminal and storage medium |
-
2021
- 2021-05-08 CN CN202110498240.9A patent/CN113766303B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102802048A (en) * | 2012-08-24 | 2012-11-28 | 乐视网信息技术(北京)股份有限公司 | Multi-screen interaction system and method |
US20140240445A1 (en) * | 2013-02-26 | 2014-08-28 | Mersive Technologies, Inc. | System And Method For Multi-User Control And Media Streaming To A Shared Display |
CN106572383A (en) * | 2015-10-12 | 2017-04-19 | 中国科学院声学研究所 | Video switching method and system based on multi-screen interaction |
US9667676B1 (en) * | 2016-01-29 | 2017-05-30 | Dropbox, Inc. | Real time collaboration and document editing by multiple participants in a content management system |
CN105892851A (en) * | 2016-03-29 | 2016-08-24 | 北京金山安全软件有限公司 | Visual resource transmission method and device and electronic equipment |
CN106406789A (en) * | 2016-08-29 | 2017-02-15 | 武汉启目科技有限公司 | Method for realizing screen projection from single PC screen to multiple different device screens |
US20180352303A1 (en) * | 2016-12-29 | 2018-12-06 | Dressbot Inc. | System and method for multi-user digital interactive experience |
CN108235081A (en) * | 2018-01-08 | 2018-06-29 | 武汉斗鱼网络科技有限公司 | Multi-screen interaction method and device |
CN110891193A (en) * | 2018-09-11 | 2020-03-17 | 广州虎牙信息科技有限公司 | Live video processing method and device, terminal and storage medium |
CN111294640A (en) * | 2018-12-07 | 2020-06-16 | 北京京东尚科信息技术有限公司 | Information display method, information selling method, information display device, information selling device, storage medium and electronic equipment |
CN110719516A (en) * | 2019-10-21 | 2020-01-21 | 北京字节跳动网络技术有限公司 | Video synchronization method and device, terminal and storage medium |
CN111324327A (en) * | 2020-02-20 | 2020-06-23 | 华为技术有限公司 | Screen projection method and terminal equipment |
CN111666055A (en) * | 2020-04-24 | 2020-09-15 | 华为技术有限公司 | Data transmission method and device |
CN111787392A (en) * | 2020-08-06 | 2020-10-16 | 北京字节跳动网络技术有限公司 | Video screen projection method and device, electronic equipment and storage medium |
CN111984215A (en) * | 2020-08-19 | 2020-11-24 | Oppo广东移动通信有限公司 | Multimedia data playing method, terminal and storage medium |
Non-Patent Citations (1)
Title |
---|
张立占;: "多屏互动及用户体验改善在广电网络中的应用" * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114745561A (en) * | 2022-04-06 | 2022-07-12 | 珠海格力电器股份有限公司 | Live broadcast room interaction method and device, electronic equipment and storage medium |
CN114745561B (en) * | 2022-04-06 | 2023-05-30 | 珠海格力电器股份有限公司 | Live broadcast room interaction method and device, electronic equipment and storage medium |
CN115119031A (en) * | 2022-06-07 | 2022-09-27 | 深圳康佳电子科技有限公司 | Playing control method based on infinite screen window combination and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113766303B (en) | 2023-04-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112261459B (en) | Video processing method and device, electronic equipment and storage medium | |
CN111510760B (en) | Video information display method and device, storage medium and electronic equipment | |
CN111399956B (en) | Content display method and device applied to display equipment and electronic equipment | |
CN111580718A (en) | Page switching method and device of application program, electronic equipment and storage medium | |
CN110809189B (en) | Video playing method and device, electronic equipment and computer readable medium | |
US20230283858A1 (en) | Hotspot list display method, electronic device, and storage medium | |
US11936924B2 (en) | Live room setup method and apparatus, electronic device, and storage medium | |
US20230011395A1 (en) | Video page display method and apparatus, electronic device and computer-readable medium | |
CN114629882A (en) | Information display method and device, electronic equipment, storage medium and program product | |
CN111190520A (en) | Menu item selection method and device, readable medium and electronic equipment | |
CN114546565A (en) | Information display method and device, electronic equipment, storage medium and program product | |
CN112040330A (en) | Video file processing method and device, electronic equipment and computer storage medium | |
CN114077375A (en) | Interaction method and device, electronic equipment and storage medium | |
CN113766303B (en) | Multi-screen interaction method, device, equipment and storage medium | |
CN112235587B (en) | Live broadcast method and equipment | |
US20220408143A1 (en) | Control setting method and apparatus, electronic device and interaction system | |
CN111580922A (en) | Interactive message display method and device of application program and readable storage medium | |
CN112770159A (en) | Multi-screen interaction system, method, device, equipment and storage medium | |
CN112073821A (en) | Information prompting method and device, electronic equipment and computer readable medium | |
CN113721807A (en) | Information display method and device, electronic equipment and storage medium | |
CN113934349A (en) | Interaction method, interaction device, electronic equipment and storage medium | |
CN114760515A (en) | Method, device, equipment, storage medium and program product for displaying media content | |
CN114679628B (en) | Bullet screen adding method and device, electronic equipment and storage medium | |
CN115639934A (en) | Content sharing method, device, equipment, computer readable storage medium and product | |
CN114363686B (en) | Method, device, equipment and medium for publishing multimedia content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |