WO2023024630A1 - Display device, terminal device, and content display method - Google Patents

Display device, terminal device, and content display method Download PDF

Info

Publication number
WO2023024630A1
WO2023024630A1 PCT/CN2022/096383 CN2022096383W WO2023024630A1 WO 2023024630 A1 WO2023024630 A1 WO 2023024630A1 CN 2022096383 W CN2022096383 W CN 2022096383W WO 2023024630 A1 WO2023024630 A1 WO 2023024630A1
Authority
WO
WIPO (PCT)
Prior art keywords
window
display
resource
display device
windows
Prior art date
Application number
PCT/CN2022/096383
Other languages
French (fr)
Chinese (zh)
Inventor
宋子全
庞秀娟
马晓燕
刘美玉
刘承龙
肖成创
Original Assignee
海信视像科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202110998018.5A external-priority patent/CN113703706A/en
Priority claimed from CN202110998023.6A external-priority patent/CN113965785A/en
Priority claimed from CN202110997833.XA external-priority patent/CN114401433A/en
Priority claimed from CN202111133007.7A external-priority patent/CN113766305A/en
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Priority to CN202280057404.7A priority Critical patent/CN117859331A/en
Publication of WO2023024630A1 publication Critical patent/WO2023024630A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display

Definitions

  • the present invention relates to the technical field of content display, in particular to a display device, a terminal device and a content display method.
  • a display device is a display product that can realize two-way human-computer interaction and integrate multiple functions such as audio-visual, entertainment, and data.
  • the display device is equipped with various applications such as screen projection, audio-visual, entertainment, etc., and interacts and exchanges information with users through the user interface.
  • users can initiate screen projection to display devices through terminals such as mobile phones and PCs, so as to push media resources such as images, audio, and video in small-screen terminals to display devices for large-screen playback.
  • the display device only supports media resources that are pushed and played in one-way projection.
  • the display device is currently displaying media resource A.
  • the display device must stop playing media resource A. Only then can media resource B be loaded and played.
  • a display device including:
  • a communicator for communicating with one or more terminal devices
  • a controller coupled to the display and communicator and configured to:
  • an update policy of the display is determined according to the current display state of the display, so as to play resources corresponding to the screen projection request.
  • a method for displaying content including:
  • an update policy of the display is determined according to the current display state of the display, so as to play resources corresponding to the screen projection request.
  • FIG. 1 is a usage scenario of a display device according to some embodiments
  • FIG. 2 is a block diagram of a hardware configuration of a control device 100 according to some embodiments.
  • FIG. 3 is a block diagram of a hardware configuration of a display device 200 according to some embodiments.
  • FIG. 4 is a software configuration diagram in a display device 200 according to some embodiments.
  • Fig. 5 is the UI schematic diagram that comprises multi-channel video window in playing interface
  • Fig. 6 is the UI diagram that comprises audio window in playing interface
  • Fig. 7 is the UI diagram that comprises image window in playing interface
  • Fig. 8 is a schematic diagram of UI update after a new video push is received by the display device when displaying the playback interface of Fig. 6;
  • Fig. 9 is a schematic diagram of displaying the display device currently displaying the playback interface of Fig. 6 and displaying the first prompt pop-up window when a new video push is received;
  • FIG. 10 is a schematic diagram of UI updating when the user selects the first replacement control in the first prompt pop-up window
  • Fig. 11 is a schematic diagram of a second prompt pop-up window displayed when the display device currently displays the playback interface of Fig. 5 when a new video push is received;
  • FIG. 12 is a schematic diagram of UI update when the user selects the second replacement control in the second prompt pop-up window
  • Fig. 13(a) is a schematic diagram of displaying a third prompt pop-up window when a new audio push is newly received when the display device is currently displaying two channels of video and one channel of image;
  • Fig. 13(b) is a schematic diagram of UI update when the user selects the second newly added control in the third prompt pop-up window shown in Fig. 13(a);
  • Fig. 13(c) is a schematic diagram of UI update when the user selects the third replacement control in the third prompt pop-up window shown in Fig. 13(a);
  • Fig. 14(a) is a schematic diagram of displaying a third prompt pop-up window when a new audio push is received when the display device currently displays three channels of video and one channel of image;
  • Fig. 14(b) is a schematic diagram of UI update when the user selects the third replacement control in the third prompt pop-up window shown in Fig. 14(a);
  • Fig. 15(a) is a schematic diagram of a scene when a new image is received when the display device displays one image and one image;
  • Fig. 15(b) is a UI schematic diagram after updating the playing interface shown in Fig. 15(a);
  • Figure 16(a) is a schematic diagram of displaying a third prompt pop-up window when a new image push is received when the display device is currently displaying one video and one audio;
  • Fig. 16(b) is a schematic diagram of UI update when the user selects the second newly added control in the third prompt pop-up window shown in Fig. 16(a);
  • Fig. 16(c) is a schematic diagram of UI update when the user selects the third replacement control in the third prompt pop-up window shown in Fig. 16(a);
  • Fig. 17(a) is a schematic diagram of displaying a third prompt pop-up window when a new image push is received when the display device is currently displaying four channels of video;
  • Fig. 17(b) is a schematic diagram of UI update when the user selects the third replacement control in the third prompt pop-up window shown in Fig. 17(a);
  • 18 is a schematic diagram of the playback interface after the user switches the window focus
  • Fig. 19 is a flow chart of a resource synchronous playback method
  • FIG. 20 is a flow chart of another resource synchronous playback method
  • Fig. 21 is a flowchart of a display method for multi-channel projection according to some embodiments.
  • Figure 22 is a schematic diagram of a first user interface according to some embodiments.
  • Figure 23 is a schematic diagram of a second user interface according to some embodiments.
  • Fig. 24 is a schematic diagram of yet another first user interface according to some embodiments.
  • Fig. 25 is a schematic diagram of yet another second user interface according to some embodiments.
  • Fig. 26 is a schematic diagram of yet another first user interface according to some embodiments.
  • Fig. 27 is a schematic diagram of yet another second user interface according to some embodiments.
  • Fig. 28 is a schematic diagram of yet another first user interface according to some embodiments.
  • Fig. 29 is a schematic diagram of yet another first user interface according to some embodiments.
  • Fig. 30 is a schematic diagram of yet another second user interface according to some embodiments.
  • Fig. 31 is a schematic diagram of yet another first user interface according to some embodiments.
  • Fig. 32 is a schematic diagram of yet another first user interface according to some embodiments.
  • Fig. 33 is a schematic diagram of yet another first user interface according to some embodiments.
  • Figure 34 is a schematic diagram of another second user interface according to some embodiments.
  • Figure 35 is a schematic diagram of another first user interface according to some embodiments.
  • Figure 36 is a schematic diagram of another second user interface according to some embodiments.
  • Fig. 37 is a schematic diagram of the display effect of mirroring and projecting the screen of the mobile device to the display device 200 according to some embodiments;
  • Fig. 38 is a schematic diagram of another display effect of mirroring a mobile device to a display device 200 according to some embodiments.
  • Fig. 39 is a schematic flowchart of a method for controlling audio output of mirroring screen projection according to some embodiments.
  • Fig. 40 is a schematic diagram of the display effect of mirroring and projecting screens from multiple mobile devices to the display device 200 according to some embodiments;
  • Fig. 41 is a timing diagram of a method for controlling audio output of screen mirroring according to some embodiments.
  • Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment.
  • the display device 200 also performs data communication with the server 400 , and the user can operate the display device 200 through the smart device 300 or the control device 100 .
  • control device 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, and the display device is controlled wirelessly or wiredly.
  • Device 200 The user can control the display device 200 by inputting user instructions through at least one of buttons on the remote control, voice input, and control panel input.
  • the smart device 300 may include any one of a mobile terminal, a tablet computer, a computer, a notebook computer, an AR/VR device, and the like.
  • the smart device 300 can also be used to control the display device 200 .
  • the display device 200 is controlled using an application program running on the smart device.
  • the smart device 300 and the display device may also be used for data communication.
  • the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300.
  • the module for acquiring voice commands configured inside the display device 200 can directly receive the user's voice command control , the user's voice command control can also be received through the voice control device provided outside the display device 200 .
  • the display device 200 also performs data communication with the server 400 .
  • the display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks.
  • the server 400 may provide various contents and interactions to the display device 200 .
  • FIG. 2 is a block diagram of a configuration of the control device 100 according to the exemplary embodiment.
  • the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply.
  • the control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
  • FIG. 3 is a block diagram showing a hardware configuration of a display device 200 according to an exemplary embodiment.
  • the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface. at least one.
  • the controller includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, the first interface to the nth interface for input/output.
  • the display 260 includes a display screen component for presenting a picture, and a drive component for driving image display, for receiving an image signal output from the controller, for displaying video content, image content and a menu control interface component, and a user control UI interface wait.
  • the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
  • the communicator 220 is a component for communicating with external devices or servers according to various communication protocol types.
  • the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module and other network communication protocol chips or near field communication protocol chips, and an infrared receiver.
  • the display device 200 can establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220 .
  • the user interface may be used to receive a control signal from the control device 100 (such as an infrared remote controller, etc.).
  • the external device interface 240 may include, but is not limited to, any of the following: high-definition multimedia interface (HDMI), analog or data high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. or multiple interfaces. It may also be a composite input/output interface formed by the above-mentioned multiple interfaces.
  • HDMI high-definition multimedia interface
  • component analog or data high-definition component input interface
  • CVBS composite video input interface
  • USB USB input interface
  • RGB port etc.
  • It may also be a composite input/output interface formed by the above-mentioned multiple interfaces.
  • the tuner-demodulator 210 receives broadcast TV signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or cable broadcast TV signals.
  • the controller 250 and the tuner-demodulator 210 may be located in different split devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box wait.
  • the user input interface 280 is an interface that can be used to receive control input (such as: a physical button on the display device body, or others).
  • the system is divided into four layers, from top to bottom are the application program (Applications) layer (abbreviated as “application layer”), application framework (Application Framework) layer (abbreviated as “framework layer”) "), Android runtime (Android runtime) and system library layer (referred to as “system runtime layer”), and the kernel layer.
  • Application layer application program
  • Application Framework Application Framework
  • Android runtime Android runtime
  • system library layer system library layer
  • the terminal device can push media data to the display device.
  • the user can project the media resources of interest to the display device for large-screen playback through some application programs with screen projection functions; or the terminal device and the display
  • the device establishes a screen projection connection through certain protocols, such as DLNA (Digital Living Network Alliance, Digital Living Network Alliance) protocol, etc.; or, the terminal device and the display device perform mirror projection to mirror the media data currently displayed by the terminal device Synchronously push to the display device side.
  • DLNA Digital Living Network Alliance, Digital Living Network Alliance
  • the user plays media data on the terminal device and selects screen projection push, he can select other devices for playing the media data from the device list, and the display device that supports the screen projection function will be recognized and automatically added to the device list
  • the media data can be projected from the terminal device to the display device for playback.
  • the terminal device and the display device generally need to be connected to the same Wifi network, and the method for the terminal to push media data to the display device is not limited.
  • the screen projection method can also be performed across networks. In this application, there is no limitation on the specific manner of screen projection.
  • the terminal device can push the media data to the display device only after the terminal device is successfully connected to the display device.
  • a general URI Uniform Resource Identifier, Uniform Resource Identifier
  • URI Uniform Resource Identifier
  • the terminal device may push the URI of the media data to be projected to the display device, and the display device may locate the resource after receiving the URI, and then download and play the corresponding media data.
  • the terminal device may be a mobile terminal such as a mobile phone, a tablet computer, a smart wearable device (such as a smart bracelet, etc.), a notebook computer, or a desktop computer, a TV, and other devices with screen projection and display functions.
  • a mobile terminal such as a mobile phone, a tablet computer, a smart wearable device (such as a smart bracelet, etc.), a notebook computer, or a desktop computer, a TV, and other devices with screen projection and display functions.
  • the terminal device may also push the URL (Uniform Resource Locator, Uniform Resource Locator) of the media data, that is, the network address of the media resource, to the display device, so that the display device accesses the URL and downloads the media data;
  • the terminal device can also directly synchronize images, video streams, audio streams, etc. to the display device in real time.
  • the terminal device can generate a stop instruction, and the screen projection request sent to the display device carries the stop instruction And the projection data such as URI/URL of the resource, after the display device receives the projection request and recognizes the stop command in the projection request, it will first stop playing the current broadcast resource to release the occupied playback resource, and then load the And play the projection data.
  • the terminal device does not generate a stop instruction, but directly pushes the screen projection data to the display device; when the display device receives the screen projection data, the controller of the display device generates a stop instruction, and sends the stop instruction to the The player of the broadcasting resource, so as to control the player of the broadcasting resource to close and stop playing the broadcasting resource.
  • the controller of the display device generates a stop instruction, and sends the stop instruction to the The player of the broadcasting resource, so as to control the player of the broadcasting resource to close and stop playing the broadcasting resource.
  • users can customize whether the display device has the ability to play multiple resources synchronously.
  • a playback capability setting page is added to the setting menu of the display device. In this page, the user can choose to enable Or turn off the ability to play multiple resources synchronously. If the user disables the multi-channel resource synchronous playback capability, that is, the display device only supports single-channel resource playback, the display device needs to close the player of the currently broadcast resource and release the occupied playback resources before starting to broadcast the projection data; If the user enables the synchronous playback capability of multiple resources, a new player can be created to load and play the projected data without stopping the playback of the currently broadcasting resources.
  • the multi-channel resource synchronous playback capability can be set to be enabled by default.
  • the display device can receive one or more media resources pushed by a single terminal device, and can also receive one or more media resources pushed by multiple terminal devices at the same time, so as to adapt to more Application scenarios.
  • the terminal device before sending a screen projection request, the terminal device needs to search for nearby display devices that can establish a screen projection connection. When a certain display device A is found, the terminal device can send a query command to the display device A, and the display device After receiving and responding to the query instruction, A queries and feeds back its own resource playback capability to the terminal device, so that the terminal device knows in advance whether the display device A supports simultaneous playback of multiple resources.
  • the terminal device when the terminal device sends a screen projection request to display device A, if it knows that display device A only supports playing a single-channel media resource, optionally, the terminal device generates a stop instruction and makes the screen projection request simultaneously Carry the data such as the stop command and the URI/URL of the screen projection resource.
  • the display device A receives the screen projection request, it parses the screen projection request and separates the stop command and the screen projection data.
  • the display device A currently has the broadcast resource. Then respond to the stop command first, close the player of the current broadcast resource, and re-create a new player, and then use the new player to load and play the projection data pushed by the terminal; if it is displayed that device A currently has no broadcast resource, then Create a player directly to load and play screencast data.
  • the terminal device when the terminal device sends a screen casting request to display device A, if it knows that display device A only supports playing a single-channel media resource, optionally, the terminal device may first generate a stop instruction, and send the stop instruction to Display device A; when display device A receives a stop instruction, it detects whether it currently has broadcast resources. If display device A currently has broadcast resources, it responds to the stop instruction, closes the player of the current broadcast resource, and sends a message to the terminal The device sends a stopped message; when the terminal device receives the stopped message, it sends the projection data to the display device A, and when the display device A receives the projection data, it creates a player to load and play the projection data.
  • display device A When display device A receives the stop instruction, if it detects that it has no resources currently on the air, it sends a screen projection data acquisition request to the terminal device, and terminal device A responds to the screen projection data acquisition request and sends the screen projection data to display device A , display device A uses the created player to load and play the projection data.
  • the terminal device When the terminal device sends a screen projection request to display device A, if it knows that display device A supports synchronous playback of multiple resources, it does not generate a stop command, but only sends screen projection data to display device A, and when display device A receives the projection data , it is allowed to create a new player to load and play the projection data, regardless of whether there are currently broadcast resources.
  • the terminal device can only send screen projection data to display device A without considering whether display device A supports synchronous playback of multiple resources, and display device A itself decides whether to stop broadcasting. resource.
  • display device A receives the screen projection data pushed by the terminal, it first inquires its own resource synchronous playback capability.
  • the controller can generate a stop command, and send the stop command to the player 1 corresponding to the broadcasting resource, so as to close the player 1, and then create a new player 2 to load and play the projection data; or, display If device A finds that it does not have the ability to play multi-channel resources synchronously (that is, only supports single-channel resource playback), and detects that there is no currently broadcast resource, it does not need to generate a stop command, and directly creates a new player to load and play the projected screen resource .
  • the display device A when the display device A receives the projection data pushed by the terminal, if it finds that it has the ability to play multiple resources synchronously, it can choose to create another player to load it regardless of whether it currently has resources that are being broadcast. And play the projection data.
  • the terminal device before the terminal device pushes the screen projection data to the display device, it can also actively access the display device to identify the current resource playback capability of the display device.
  • the display device can be in the relevant screen projection protocol/ Describe its resource playback capability in the service.
  • the target field is, for example, ⁇ modelDescription>multiplay ⁇ /modelDescription>.
  • the terminal device accesses the rendererdevicedesc.xml file and reads If the target field is found, it is known that the display device has the ability to play multiple resources synchronously, and the terminal device does not generate a stop command, but directly pushes the projection data; if the terminal device does not read the target field, it is equivalent to reading that the target field is empty , then it is known that the display device only has the ability to play single-channel media resources, then the terminal device can generate a stop command, and use the stop command to trigger the display device to stop playing the current broadcast resource.
  • the flag bit can also be set in the target field, and the terminal device can know the playback capability of the display device by accessing the target field and reading the value of the flag bit, for example, the value of the flag bit is set to When it is 1, it indicates that the display device has the ability to play multiple resources synchronously; if the value of the flag bit is set to 0, it indicates that the display device does not have the ability to play multi-channel resources synchronously, but only supports the playback of a single media resource.
  • the media resources pushed by the terminal device can be divided into video types, audio types, and image types according to resource types, and the display device can use video players, audio players, and image players, etc., so as to realize Play by category, and support different types of players to run at the same time.
  • multiple video players are created in order to realize multi-channel projection, and each video player can control video playback, including but not limited to video volume, resolution, speed, playback progress (such as pause , seek, fast forward, fast rewind) and other aspects of adjustment and control.
  • each video player can control video playback, including but not limited to video volume, resolution, speed, playback progress (such as pause , seek, fast forward, fast rewind) and other aspects of adjustment and control.
  • the playback interface on the display of the display device (hereinafter also referred to as the playback interface), create and display a plurality of windows for displaying videos or images, hereinafter referred to as playback windows, and each playback window displays A video frame output by a video player.
  • the play window in the embodiment of the present application can play dynamic video images, and can also display or present static images.
  • the display device since the display device generally only supports the output and playback of a single channel of audio, after all, outputting multiple channels of audio at the same time will cause sound mixing, making it impossible for the user to hear the sound of each audio resource, so no matter the display device is pushed How many channels of audio resources, the display device only runs one audio player, for example, the audio player is currently playing audio resource 1, if the display device receives the push of audio resource 2, the audio player needs to stop playing audio resource 1, but Replace it with starting audio resource 2 to avoid playback conflicts between audio resources.
  • the audio player can control audio playback, including but not limited to audio volume, double speed, sound effects, playback progress (such as pause, seek, forward, back), song switching, playback mode (single loop, random playback, sequential playback) and other aspects of regulation and control.
  • audio playback including but not limited to audio volume, double speed, sound effects, playback progress (such as pause, seek, forward, back), song switching, playback mode (single loop, random playback, sequential playback) and other aspects of regulation and control.
  • the playback window can display audio playback information
  • the audio playback information includes but is not limited to song title, singer, Lyrics, song duration, playback progress bar, pause/play controls, background images, etc. Audio-related content.
  • the audio player is an audio player program, which is equivalent to an application; while the power amplifier is a hardware level that provides a physical channel for outputting audio.
  • the power amplifier may include a built-in power amplifier And the external power amplifier, the built-in power amplifier is the speaker of the display device, and the external power amplifier is the external power amplifier device connected to the display device through Bluetooth, HDMI, etc., such as audio, headphones, etc.
  • the terminal device can store local images, or download and manage themed images through APPs such as wallpaper applications and photo album applications.
  • the local or image-related applications of the terminal device can save images in the form of albums.
  • the display device creates an image player, and the image player is used to display the images in the album, and to control the display of the album according to the specified display mode, the display mode Including but not limited to switching images forward, switching images backward, displaying images sequentially, displaying images in a loop, etc. Since the display device supports dynamic image switching, it is only necessary to create an image player to realize image display switching.
  • FIG. 7 A switching control is set in the window, referring to Fig. 7, which may specifically include a forward switching control and a backward switching control, and the user selects the forward switching control, then switches to display the previous image of the current image; if the user selects the backward switching control Switch the control to switch to display the next image of the current image.
  • the user can manually operate the switching control in the image window to switch images in a specified order (forward or backward), and if the user does not operate, the static display of the current image will be maintained; or, it can also be set to Album sorting automatically rotates images. For example, if an album includes image 1, image 2, and image 3, it will be displayed in the order of image 1 ⁇ image 2 ⁇ image 3 ⁇ image 1 ⁇ image 2 ⁇ ...; or, it can also be displayed in accordance with image 1 ⁇ Image 2 ⁇ Image 3 After traversing and displaying the images in the album for a round, the current image stays at the last image 3, and the user can switch images by operating the switch control.
  • a landscape image A is currently displayed in the image window of the display device.
  • the display device receives the family photo album B pushed by a certain terminal device, so there is no need to create a new image player and image window, and control the original
  • the image window stops displaying the landscape image A, and instead loads and displays the image in the newly received family album B.
  • the landscape image A and the family album B can be combined to obtain a screen-casting album.
  • the screen-casting albums are sorted such that the landscape image A is in the front, and the family album B is in sequence. In this way, the screen-casting album can be played in a loop or In the form of manual switching by the user, the user can also browse to the previously replaced landscape image A.
  • the display device can maintain a screen-casting album, and sort and store the screen-casting images according to the time order in which the images are pushed, and can automatically display the images in the screen-casting album in a loop after each newly pushed image is displayed. historical images to provide users with a better image browsing experience.
  • the image may be a static image, or may also be a dynamic image.
  • a segment of a certain duration can be intercepted from a video and made into a dynamic image; for another example, multiple consecutive frames of images can be dynamically spliced to obtain a dynamic image in a format such as gif.
  • an exit control can be set in the playback window to support the user to exit the playback of a certain channel of media resources at any time.
  • the video player corresponding to video 4 will be released, the playback of video 4 will be stopped, and the playback window 4 will be destroyed at the same time, and the playback interface
  • the total number of windows in the middle is changed from 4 to 3, and the window layout can be readjusted.
  • the original window layout in Figure 5 presents a "four-square grid" array of 4 playback windows.
  • the adjusted window layout is, for example, playback window 1 and playback window 2 are parallel on top, and the playback window 3 is centered on the bottom alone.
  • the number of windows in the playback interface will change accordingly every time a channel is added or exited. Therefore, a reasonable The position distribution of each window is set to provide an optimal window layout adapted to the screen and the current playing scene, which is not specifically limited in this embodiment.
  • the image player will be released, and the currently pushed image/album will be stopped from being displayed, and the playback window 3 will be displayed simultaneously. It will also be destroyed, causing the total number of windows in the playback interface to change from 3 to 2. It is also necessary to re-adjust the window layout, for example, adjust the playback window 1 and playback window 2 to be vertical/left-right. When the image data newly pushed by the terminal is subsequently received, the image player and the corresponding playback window need to be recreated.
  • the display device when playing a live sports event on CCTV5, and suddenly receives a movie 2 pushed by terminal device C, two play windows are created, play window 1 displays the live broadcast of CCTV5, and play window 2 displays The video stream of movie 2. Therefore, when creating a window, you can make the playback window 2 have an exit control, and the playback window 1 has no exit control. That is, the resource that the user initially watched cannot exit before accepting the projection.
  • the display device After playing, the display device automatically returns to the playback channel before the screen projection, or the display device automatically resumes playing the media resource that the user was watching before the screen projection.
  • the display device can monitor The playback process of each screen projection resource, when it is detected that the playback process of a certain screen projection resource has reached the end, that is, the broadcast duration is equal to the preset total duration, it means that the user has not voluntarily exited the playback of the projection screen resource during this period, and the projection If the screen resource is finished playing naturally, the video/audio player corresponding to the screen projection resource will be released, and the corresponding playback window will be destroyed at the same time, so as to completely exit the screen projection.
  • the preset total duration of a certain song is 4 minutes
  • the preset total duration of a certain movie is 90 minutes, etc.
  • the multi-channel media data received by the display device is assigned to be displayed in different play windows of the same play interface, for example, the display device is currently displaying video 1 and audio 1, that is, the current display state is obtained as having two Play window 1 corresponds to the video type, and play window 2 corresponds to the audio type.
  • the display device receives the projection push of video 2.
  • a new play window 3 can be added to display video 2, or the play window can be 1 or playing window 2 is replaced by displaying video 2; for another example, when the display device receives the push of audio 2, since playing window 2 is playing audio 1, and the sound power amplifier generally only supports playing single-channel audio data, playing window 2 can be stopped Play Audio 1, and is replaced by Play Audio 2.
  • both the resource type of the projection screen and the current display state of the display device will affect the final presentation of the playback interface, wherein the current display state includes the number of playback windows currently displayed on the display interface, and the resource type corresponding to each playback window,
  • the current display state of FIG. 6 is ⁇ window 1-video; window 2-audio ⁇ .
  • each time the display device receives a push it needs to detect the resource type and the current display state of the projected screen, so as to formulate an update strategy for the playback interface that adapts to the current playback scene, and the update strategy indicates
  • other content such as the number of windows and layout adjustments can also be involved, so as to avoid playback conflicts between media resources and support users to simultaneously browse through multiple windows. Push media resources to improve user experience.
  • the display device can receive multiple media resources pushed by a single terminal, or one or more media resources pushed by multiple terminals respectively, that is, theoretically display
  • this application provides a preset upper limit value, which is used to restrict the maximum number of playback windows allowed to be displayed in the playback interface.
  • the preset upper limit value is not as large as possible, but as large as possible. Considering the possibility of visual viewing, this application does not limit the value of the preset upper limit. For example, if the preset upper limit is 4, the display device has the ability to support simultaneous playback of 4 channels of media resources. On the basis of the preset upper limit constraints, the following will provide corresponding update strategies for different playback scenarios.
  • the data to be played pushed by the terminal device to the display device is a video type
  • the video can be played by creating an independently running video player and window, instead of sharing the same playback data such as audio or image types player and window, so it is detected whether the current number of playback windows on the playback interface is less than the preset upper limit.
  • an update strategy is configured as follows: when the display device receives a new video push, if the current number of playback windows is less than the preset upper limit, a new one can be created and added in the playback interface for The target playback window is used to display the newly received data to be played. The playback status of other playback windows remains unchanged, and then re-match the window layout of the playback interface according to the updated total number of playback windows.
  • the current playback interface includes a playback window 1 displaying video 1, and playing audio 1 (synchronously displaying audio 1 Audio playback information) playback window 2.
  • the display device receives the video 2 newly pushed by the terminal device D. Since the current number of windows does not reach the upper limit, as shown in Figure 8, a playback window 3 can be directly created and added (i.e. target playback window), and load and display video 2 in playback window 3, at this time the playback status of playback window 1 and playback window 2 remains unchanged, that is, playback window 1 still keeps playing video 1, and playback window 2 still keeps playing audio 1 .
  • the window layout needs to be readjusted.
  • the window layout changes so that playback window 1 and playback window 2 are side by side in the upper part of the interface along the horizontal direction, and playback window 3 is centered alone in the lower part of the interface.
  • the overall presentation is similar to the inverted "pin" layout. It should be noted that when the total number of playback windows changes, the window layout adjustment form is not limited.
  • layout templates corresponding to different numbers of playback windows can be preset. Taking the preset upper limit equal to 4 as an example, when the number of playback windows is 1, the layout template can be set as a single-window exclusive screen (i.e. full-screen display); When the number of playback windows is 2, the layout template is set to display double windows side by side or side by side; when the number of playback windows is 3, the layout template is set to a positive "pin” or inverted “pin” layout, for example, and the three windows are arranged in parallel.
  • the three windows are arranged in the same row, or Play Window 1 is located alone on the left of the interface, Play Window 2 and Play Window 3 are located side by side on the right of the interface, or Play Window 1 and Play Window 2 are located side by side on the left of the interface, and Play Window 3 is located alone The right part of the interface, etc.; when the number of playback windows is 4, the layout template, for example, is set in the form of a four-square grid. When the number of windows changes, the local template corresponding to the updated total number of playback windows is called, and each playback window is sorted and displayed according to the layout template, and the associated media data is displayed in each playback window.
  • the aforementioned sorting display is, for example, window sorting according to the time when each channel of media data is pushed/received by the display device; or, priority sorting is performed according to resource type, for example, the display device receives 4 channels of media data pushed by screen projection , where two channels are of video type, one channel is of image type, and the other channel is of audio type, then the sequence will be sorted according to the priority of video > audio > image, that is, playback window 1 and playback window 2 display two channels of video respectively, and playback window 3 displays audio, Among them, playback window 4 displays images, playback window 1 and playback window 2 belong to the same priority, and can be sorted internally at the same level according to the time when media data is pushed/received. There is only one window of each type for audio and image at most. It should be noted that the window sorting rules are not limited to the examples in this embodiment of the application.
  • an update strategy is configured as follows: when the display device receives a new video push, if the number of current playback windows is less than the preset upper limit, a first pop-up window pops up, and according to The user updates the playing interface accordingly through the operation of the first prompt pop-up window.
  • the first prompt pop-up window includes a new control and a first replacement control. If the user selects the new control, then create and add a playback window in the playback interface as the target playback window (ie, playback window 3), and load and display the newly received data to be played (video 2) in the target playback window,
  • the playback state of other playback windows i.e. playback window 1 and playback window 2 remains unchanged, and, according to the total number of playback windows after updating, re-match the window layout of the playback interface, that is, the update under the new mechanism of the aforementioned embodiment the same way.
  • the first replacement control is generated according to the current display state.
  • the current display state includes two playback windows, one is a video window and the other is an audio window, then
  • the generated first replacement control includes two sub-controls, namely "Replace Video Window” and "Replace Audio Window”. Users can choose which channel of media data to keep and which channel to replace according to their viewing tendency.
  • the playback window 2 is replaced with display video 2, and the playback status of playback window 1 remains unchanged.
  • the UI update after the replacement is shown in Figure 10, and the update shows that two videos are playing.
  • the number of windows in the playback interface does not change, only the media data displayed in one of the target playback windows is replaced, so there is no need to adjust the window layout.
  • On-broadcast resources are replaced with new push resources, providing more feasibility for window display in the playback interface, as well as adaptability to playback scenarios/user interests.
  • an update strategy is configured as follows: when the display device receives a new video push, if the number of current playback windows is equal to the preset upper limit, in this scenario, no new windows can be added on the playback interface. Then a second prompt pop-up window pops up, and the playback interface is updated accordingly according to the user's operation through the second prompt pop-up window.
  • the current display state of the display device includes 4 playback windows, respectively displaying video 1, video 2, video 3 and video 4, a total of four video channels, with a preset upper limit equal to 4 as an example, in this playback scenario, the display device receives the video 5 pushed by the terminal device E. Since the total number of playback windows has reached the upper limit, it can display the second prompt pop-up window as shown in Figure 11.
  • the second prompt pop-up window includes cancel control and a second replacement control. If the user selects the cancel control, the screen projection is automatically canceled, that is, the playback of the video 5 pushed by the terminal device E is cancelled, and the playback interface does not update.
  • the second replacement control is generated according to the current display state.
  • the current display state includes four video windows, and the corresponding generated
  • the second replacement control includes four sub-controls, which are "replace the first video window”, “replace the second video window”, “replace the third video window” and "replace the fourth video window”.
  • the playback window 3 stops playing the video 3, but is replaced by the playback status of the playback video 5, the playback window 1, the playback window 2 and the playback window 4 constant.
  • This embodiment can ensure that the total number of playback windows always meets the upper limit requirement, and through the replacement mechanism, the newly received projection screen resource can replace a certain channel of old media resources, avoiding the situation that the new resource is canceled before it starts playing.
  • the second prompt pop-up window is used to inquire whether to cancel screen projection or perform resource replacement.
  • an update strategy is also provided: when the display device receives a new video push, if the current number of playback windows is equal to the preset upper limit value, then according to the preset rules, from the current playback window Filter out the target playback window from all windows, and make the target playback window stop playing the original media data, and replace it with the newly received data to be played, and the playback status of other playback windows remains unchanged.
  • the second prompt pop-up window is not displayed to ask the user, but the target playback window for resource replacement is automatically screened out according to preset rules.
  • the preset rule is to replace the previous projection resource. Taking the playback scene in FIG. 5 as an example, for the currently pushed video 5, the previous push is video 4. The corresponding playback window 4 is selected as the target playback window, and the playback window 4 stops playing the original video 4, and is replaced by loading and starting video 5; for another example, the preset rule is to replace the current oldest media resource in the playback interface, That is, the resource that is pushed the earliest among the multi-channel resources is to replace the playback window 1 with the playback video 5; as another example, the preset rules can also be set from other angles, such as replacing the resource with the lowest playback volume/popularity, and replacing the video duration The shortest resources, replace resources that appear to freeze or even black screen, etc. Specifically, the preset rules may be set and adjusted according to actual application scenarios, which are not specifically limited in this application.
  • the terminal device if it is detected that the data to be played newly pushed by the terminal device belongs to the target type, it is further detected whether there is a target play window corresponding to the same target type in the playback interface. If there is a target playback window corresponding to the same target type in the playback interface, then stop playing the original media data currently played by the target playback window, and be replaced by the data to be played, and the playback status of other playback windows remains unchanged.
  • playback window 1 plays video 1
  • playback window 2 plays audio 1.
  • the display device receives audio 2 pushed by the terminal device.
  • Audio 2 belongs to the audio type in the target type, and in the playback interface If there is a playback window 2 corresponding to the audio type, then the playback window 2 is the target playback window, so that the playback window 2 stops playing audio 1, and is replaced by playing audio 2 and synchronously displaying the playback information of audio 2, and the playback window 1 keeps playing The status is unchanged.
  • if there is no target playback window corresponding to the same target type in the playback interface it is further detected whether the number of playback windows currently included in the playback interface is less than a preset upper limit. If the number of playback windows does not reach the upper limit, it is supported to update the playback interface with a new mechanism, that is, create and add a playback window in the playback interface as the target playback window, display the newly received media data in the target playback window, and other playback windows The playback status of the player remains unchanged, and, according to the updated total number of playback windows, re-match the window layout of the playback interface.
  • the playback window 1 displays video 1
  • the playback window 2 displays video 2
  • the playback window 3 displays images.
  • the display device receives the audio 1 pushed by the terminal device F, and in the playback interface There is currently no audio window, create and add a playback window 4, and display the playback information of the pushed audio 1 in the playback window 4, and control the power amplifier to start playing audio 1 synchronously.
  • a third prompt pop-up window is displayed.
  • the display device currently includes two channels of video and one channel of images, the playback window 1 plays video 1, the playback window 2 plays video 2, and the playback window 3 plays images.
  • the display device receives A channel of audio 1 is pushed, and the third prompt pop-up window displayed at this time includes the second new control and the third replacement control. If the user selects the second newly added control, as shown in the example in FIG. 13(b), create and add a playback window 4 for playing audio 1, and adjust the window layout to a four-square grid.
  • the third replacement control is generated according to the current display state, including three sub-controls of "replace the first video window", "replace the second video window” and "replace the image window”. 3.
  • Replace control Select a target playback window, replace the target playback window with Play Audio 1, and the playback status and window layout of other windows remain unchanged. For example, the user selects the "replace the first video window" sub-control, as shown in Figure 13(c), and the playback window 1 is selected as the target playback window, then the playback window 1 stops playing video 1 and is replaced by playing audio 1.
  • a third prompt pop-up window is displayed.
  • the display device currently includes three channels of video and one channel of images, the playback window 1 plays video 1, the playback window 2 plays video 2, the playback window 3 plays images, and the playback window 4 plays video 3, At this time, the display device receives a push of audio 1, and the third pop-up window displayed at this time includes a second cancel control and a third replacement control.
  • the third replacement control is generated according to the current display state, including four sub-controls of "replace the first video window”, “replace the second video window”, “replace the third video window” and "replace the image window”.
  • the user selects a target playback window through the third replacement control, and replaces the target playback window with Play Audio 1, and the playback status and window layout of other windows remain unchanged.
  • the user selects the "replace image window" sub-control, as shown in Figure 14(b), and the playback window 3 is selected as the target playback window, then the playback window 1 stops displaying images and is replaced by playing audio 1.
  • the third prompt pop-up window may not be displayed for inquiry, but the target playback window may be selected from the current playback interface according to the aforementioned preset rules.
  • the update policy of the playback interface is the same as when it receives an audio push.
  • the display device currently displays one video and one image, the playback window 1 plays video 1, and the playback window 2 displays image 1.
  • the display device receives image 2 pushed by the terminal device K, and it will play Window 2 is used as the target playback window, as shown in Figure 15(b), stop displaying image 1 in playback window 2, and load image 2 to replace display in playback window 2, and the playback status and window layout of playback window 1 remain unchanged.
  • the display device is currently broadcasting one video and one audio, the playback window 1 plays audio 1, and the playback window 2 plays video 1.
  • the display device receives image 1 pushed by terminal device A, and displays The third prompt pops up.
  • a playback window 3 for displaying image 1 is created and added, and the window layout is adjusted.
  • the third replacement control includes two sub-controls of "Replace Video Window” and "Replace Audio Window”. If the user selects the "Replace Audio Window” sub-control, the playback of Audio 1 will stop, and the playback window 1 will stop displaying the playback information of Audio 1.
  • the playback interface is updated to display image 1 in playback window 1, and display video 1 in playback window 2, and the window layout can remain unchanged.
  • the display device is currently broadcasting four channels of video, the playback window 1 displays video 1, the playback window 2 displays video 2, the playback window 3 displays video 3, and the playback window 4 displays video 4, at this time the display device
  • a third prompt pop-up window is displayed. If the user selects the second cancel control in the third prompt pop-up window, the display device cancels the display of image 1, and the playback interface maintains the status quo.
  • the third replacement control includes four sub-controls "replace the first video window", "replace the second video window”, "replace the third video window” and "replace the fourth video window".
  • the playback window 2 stops displaying video 2, and is replaced by loading and displaying image 1, playback of playback window 1, playback window 3, and playback window 4
  • the state as well as the window layout remain unchanged.
  • the playback window 1 displays video 1
  • the playback window 2 displays video 2
  • the playback window 3 displays video 3.
  • the playback window 4 displays the video 4.
  • the display device receives the URI of the video 5 pushed by a certain terminal. Referring to FIG. 11, the second prompt pop-up window is displayed.
  • the display device does not need to use the URI to obtain the video data of video 5; if the user selects the "replace the fourth video window" sub-control in the second prompt pop-up window, the display device stops obtaining and receiving the video stream of video 4, and passes The newly received URI locates the resource of video 5, and loads and displays the obtained video stream of video 5 in the playback window 4, thereby completing the resource replacement of the playback window 4.
  • the user can switch the window focus by operating the remote control.
  • the display device can highlight the focus window.
  • a rectangular focus frame is set on the focus window, and
  • the focus window can be scaled appropriately so that the user can intuitively distinguish where the focus is.
  • the playback window 3 has focus after the user operates.
  • Video resources can also be subdivided into pure video resources and audio and video resources. Pure video resources have only video images but no audio content. Audio and video resources have audio content synchronized with video images. For example, movie images have corresponding vocal lines.
  • resources are played in multi-window mode, for example, currently there are 3 video windows and 1 audio window, if at least one of the 3 video windows plays audio and video resources, it means that at least two playback windows can play sound. It involves the question of which channel the target power amplifier outputs.
  • the output of the target power amplifier can be determined by referring to the real-time window focus, and when the operation of switching the window focus is received, the window where the current focus is located (for ease of distinction and description, this application is named the first playback window) , and determine whether the media data currently played by the first playback window (for ease of distinction and description, this application is named the first media data) contains audio content.
  • the first playback window For audio and video resources, pure audio resources, images with background music and other types of media data, all contain audio content; for pure video resources, images without background music, plain text and other types of media data, audio content is not included .
  • the target power amplifier is controlled to output the audio content. If the first media data being played in the current focus window does not contain audio content, you can turn on the mute mode, or control the target power amplifier to jump to play the audio data associated with the second playback window, which is currently displaying audio playback information
  • the playback window that is, the only audio window shared by multiple audio resources, that is, when the focus window cannot output sound, it will remain silent or output the audio data currently played by the audio player.
  • play window 1 plays video 1
  • play window 2 plays video 2
  • play window 3 plays images
  • play window 4 plays audio 1, assuming that video 1 is a pure video resource
  • Video 2 is an audio and video resource.
  • the target power amplifier has no audio output (equivalent to a mute state), or, in order to avoid poor viewing experience caused by silent output, you can also Control the target power amplifier to output audio 1; if the current focus is on playback window 2, because video 2 is an audio and video resource, it has audio content, so control the target power amplifier to output the audio content contained in video 2; if the current focus is on playback window 3, because pure If the image has no audio content, the playback window 3 can continue to display the image, the target power amplifier is muted, or switched to output audio 1; if the current focus is on the playback window 4, since the playback window 4 is playing audio 1, the target power amplifier is controlled to output audio directly 1.
  • the target power amplifier only outputs the audio content of a window resource. For example, when the target power amplifier is outputting the audio content of video 2, it will stop outputting audio 1. If the user switches the focus to the playback window 4, the target power amplifier will switch To output audio 1, stop outputting the audio content of video 2, so as to avoid playback conflicts between audios.
  • audio output is not limited to the aforementioned focus control mode. For example, if there is currently an audio window in the playback interface, the audio data associated with the audio window will be output first; Output the audio content in the audio and video resources. When there are multiple audio and video resources, for example, the earliest audio and video resources can be output first, or the latest audio and video resources can be output first.
  • the audio output control mode in the scenario of synchronous playback of multiple resources is not limited to that described in the embodiments of the present application.
  • resource types may also be text, graphic, and so on.
  • a text window can be created for display, or in the form of floating subtitles, which can be scrolled and displayed on the upper layer of the playback interface;
  • graphic-type resources for example, a graphic window can be created for display.
  • the update strategy can refer to the aforementioned image type, which will not be repeated here.
  • a matching playback form can be adopted according to the characteristics of different types of resources.
  • preset upper limit value settings, user interaction operations, and various types of resources pushed by the terminal an adaptive update strategy is formulated, and the update strategy can be appropriately modified and extended to achieve more Feasibility in application scenarios.
  • the UIs involved in the drawings and embodiments of the present application are only exemplary, and the actual design and application shall prevail.
  • the present application provides a method for synchronously playing resources.
  • the method is executed by the controller 250 in the display device, and includes the following procedural steps:
  • Step S01 when receiving data to be broadcast pushed by a terminal device, determine an update strategy for the playback interface according to the resource type of the data to be broadcast and the current display state of the playback interface.
  • the current display state includes the number of playback windows currently included in the playback interface, and the resource type corresponding to each playback window.
  • Step S02 load and play the data to be played in the target play window indicated by the update policy.
  • the present application also provides another more detailed resource synchronous playback method, including the following procedural steps:
  • Step S101 when receiving the data to be broadcast pushed by the terminal device, detect the resource type of the data to be broadcast. If the to-be-broadcast data is of video type, branch line logic 1 is executed; if the to-be-broadcast data is of target type such as audio or image, branch line logic 2 is executed.
  • Branch line logic one including steps S102 to S106:
  • Step S102 judging whether the current number of playback windows is less than a preset upper limit. If the judgment result of step S102 is yes, then execute step S103 and step S104, otherwise, execute step S105 and step S106. That is, when the number of windows does not reach the upper limit, the window addition mechanism can be implemented; if the number of windows has reached the upper limit, the window replacement mechanism can be implemented, so as to ensure that the number of windows does not exceed the preset upper limit.
  • Step S103 adding a new playing window in the playing interface as a target playing window, loading and playing the data to be played in the target playing window, and keeping the playing states of other playing windows unchanged.
  • Step S104 re-matching the window layout of the playback interface according to the updated total number of playback windows.
  • Step S105 acquiring the target playback window selected by the user for resource replacement.
  • Step S106 stop playing the original media data before the target playback window is selected, make the target playback window display the data to be played, and keep the playback status and window layout of other playback windows unchanged.
  • Branch line logic two including step S107 to step S113:
  • Step S107 detecting whether there is an object playing window corresponding to the same object type in the playing interface. If the judgment result of step S107 is yes, then step S108 is executed, otherwise, step S109 is executed.
  • Step S108 stop playing the original media data currently played by the target play window, make the target play window display the data to be played, and keep the play status and window layout of other play windows unchanged.
  • Step S109 judging whether the current number of playback windows is less than a preset upper limit. If the judgment result of step S109 is yes, then execute step S110 and step S111 , otherwise, execute step S112 and step S113 . That is, when the number of windows does not reach the upper limit, the window addition mechanism can be implemented; if the number of windows has reached the upper limit, the window replacement mechanism can be implemented, so as to ensure that the number of windows does not exceed the preset upper limit.
  • Step S110 adding a new playback window in the playback interface as a target playback window, loading and playing the data to be played in the target playback window, and keeping the playback status of other playback windows unchanged.
  • Step S111 adjusting the window layout of the playback interface according to the updated total number of playback windows.
  • Step S112 acquiring the target playback window selected by the user for resource replacement.
  • Step S113 stop playing the original media data before the target playback window is selected, make the target playback window display the data to be played, and keep the playback status and window layout of other playback windows unchanged.
  • the user can project the content on the terminal to the display device, and watch the projected content through the display device, which can provide the user with a better viewing experience.
  • another terminal also wants to connect to the display device. In the related art, this is achieved by cutting off the connected terminal and displaying on the display interface the content of the latest terminal connected to the display device. . In this way, the connected terminal is suddenly disconnected, and the display content on the display device changes suddenly, which brings bad experience to the user.
  • the user interface of the display device mentioned is the first user interface
  • the user interface of the first terminal is the second user interface
  • the first terminal is a terminal newly connected to the display device
  • the second The terminal is a terminal already connected to the display device.
  • an embodiment of the present application provides a display method for multi-channel projection, which provides the user with selectable controls on the second user interface, so that the user can select the display mode corresponding to the control according to the needs , displaying the screen projection content of the first terminal on the first user interface according to the display manner.
  • the display method may include adding a screen display, or replacing a certain path of the second terminal screen display, and the like.
  • FIG. 21 is a flow chart of a multi-channel projection display method according to some embodiments, including:
  • the terminal can be a mobile terminal such as a mobile phone, a tablet computer, a smart wearable device (such as a smart bracelet, etc.), a notebook computer, or a device with screen projection and display functions such as a desktop computer and a smart TV.
  • a mobile terminal such as a mobile phone, a tablet computer, a smart wearable device (such as a smart bracelet, etc.), a notebook computer, or a device with screen projection and display functions such as a desktop computer and a smart TV.
  • the terminal receives user input for connecting to the display device, and sends a connection instruction to the display device.
  • the screen projection between the first terminal and the display device may refer to displaying on the display device a picture played in real time on the first terminal.
  • the screen projection can also refer to when the first terminal plays a certain audio and video, displaying the content of the audio and video on the display device, the first terminal sends the media asset address of the played audio and video to the display device, and the display device Play the audio and video according to the media asset address.
  • the screen projection includes recording the screen played in real time on the first terminal, the first terminal sends the recorded data to the display device, and the display device plays the data.
  • the screen projection control is called out through a user operation, and the user presses the screen projection control through the touch screen.
  • the first terminal searches for a screen-projecting device, displays the screen-projecting device in a list on the second user interface, and the user presses the screen-projecting device control, and if the screen-projecting device control corresponds to the display device, then The mobile terminal triggers the connection action and sends a connection instruction to the display device.
  • the user can press the mirroring screen projection control on the user interface of the mobile phone terminal, and the display device displays a device that can mirror the screen projection with the mobile phone terminal, and the user presses the device control.
  • the mobile phone triggers a connection action and sends a connection command to the display device.
  • the user can control the display of the screen projection control on the second user interface through related operations.
  • the user can touch the display screen, and functional controls will be displayed on the interface at this time, and the functional controls can include pause/play control, screen projection control, and/or, close / Turn on the barrage control, etc.
  • the user can touch the projection control set on the user interface, and the page jumps to display a list of connection terminals to be selected.
  • the list includes device controls that can correspond to the display device projection device. Select a device control and send a connection command to The device that the device control corresponds to.
  • the device may be a display device.
  • the user slides down/up the screen to call out the function menu of the terminal, and the function menu displays a screen mirroring control, that is, a screen mirroring control, etc., selects the screen mirroring control, and sends a connection command to the display equipment.
  • a screen mirroring control that is, a screen mirroring control, etc.
  • the display device When the display device receives the connection instruction sent by the first terminal, it acquires the number of second terminals currently connected to the display device.
  • the number of the second terminals may be multiple, and screen projection contents of multiple terminals may be simultaneously displayed on the display of the display device.
  • the number of the second terminals may be stored in the display device in the form of a list, the list records the information of the connected second terminals, and records the numbers of all the second terminals connected to the second terminals, when the When the display device is connected to a terminal, the number of the second terminal counted will be increased by one.
  • the screen projection content corresponding to the second terminal on the display device When the display device is disconnected from the second terminal, the screen projection content corresponding to the second terminal on the display device will no longer be displayed, and the list will be updated at the same time. Reduce the number of second terminals by one. When the process of the second terminal exits abnormally or is killed (kill), the display device disconnects the connection of the corresponding second terminal, and the screen projection content corresponding to the second terminal on the display device is no longer displayed, and the list will be updated while updating the list. The number of two terminals is reduced by one. In this embodiment, obtaining the number of second terminals may be implemented by calling the list and searching for the number of second terminals recorded in the list.
  • the display device sends indication information to the terminal, where the indication information is used to indicate the number of the second terminal to the first terminal, and trigger the first terminal to generate an interaction window according to the number of the second terminal, where the interaction window includes controls.
  • the indication information may be defined as MIRROR_PEERNUM:n.
  • the terminal receives the indication information sent by the display device, determines the control according to the number of the second terminal, and displays the control on the second user interface in the form of an interactive window.
  • the number of the second terminal can determine the controls displayed in the interactive window of the first terminal, and the user can select different controls to realize different display modes of the screen projection content of the first terminal on the display device , which can include adding a screen display, or replacing a terminal screen display of a certain channel, etc.
  • the first terminal determines that the control includes a new window control.
  • the second terminal number is 0.
  • the controls at this time include newly added window controls.
  • the screen projection content of the second terminal is not displayed on the first user interface
  • the display device sends instruction information to the first terminal
  • the first terminal receives the instruction information sent by the display device
  • the instruction information includes the second The number of terminals.
  • the control determined by the first terminal according to the number of the second terminal is a new window control.
  • selecting the new window control can make a new playback window on the first user interface for displaying Screencasting content of the first terminal.
  • the controls on the second user interface include a new window control 701, and the user selects the new window control 701 to realize the real-time display of the first terminal to the display device.
  • FIG. 23 the controls on the second user interface include a new window control 701, and the user selects the new window control 701 to realize the real-time display of the first terminal to the display device.
  • the user can see all content displayed on the interface with the first terminal.
  • the controls on the second user interface include a new window control 901.
  • the link address of the media asset data currently played by the first terminal is sent to A display device.
  • the display device finds the media asset data according to the link address, and plays the media asset data, as shown in FIG. 26 , which shows the same media asset data played by the first terminal.
  • the display device plays a local data resource or a data resource directly obtained from a server
  • the data resource is not the screen projection content sent by the second terminal
  • the number of the second terminals is the first preset number
  • the controls include new window controls and replacement controls.
  • the new window control is selected, a new window is added on the first user interface, and the playback window corresponding to the resource originally played by the device will be displayed, and displayed on the first user interface at the same time as the newly added playback window.
  • the first user interface displays the originally played resource and displays the projected screen content of the first terminal, which can be implemented in the following manner.
  • the playing window is canceled, and the screen projection content of the first terminal is displayed at the canceled playback window, or the playback window corresponding to the original playback resource is retained, and the screen projection content of the first terminal is displayed in the playback window.
  • the first terminal determines that the control includes a new window control and a replacement control corresponding to the second terminal.
  • the display device may limit the number of terminals connected to it, and the second preset number is The upper limit of the number of playing windows on the user interface, for example, the second preset number may be four.
  • the replacement control when the display device plays local data resources or data resources obtained directly from the server, the replacement control can also replace the originally played resources on the first user interface.
  • the original playback resources when ensuring that the playback windows on the first user interface are not larger than the second preset number, the original playback resources can be displayed on the newly added window while displaying the screen projection content of the first terminal. on the first user interface.
  • the screen projection content of the second terminal is displayed on the first user interface, and at this time, the user can be provided with the screen projection content of the first terminal on the display device
  • a variety of display methods one can be to add a new window on the display interface, and display the screen projection content of the first terminal in the newly added window; another method can display the screen projection content of the first terminal in an alternative way , specifically, the user can, according to his or her own wishes, replace the screen projection content that does not want to continue playing in the user interface.
  • when identifying replaceable screen projection content it can be identified by connecting the terminal to the display device in order .
  • the replacement control can be marked as replacing the first way, replacing the second way, and replacing the third way when naming.
  • the screen projection content of the first terminal connected to the display device will be replaced with the screen projection content of the first terminal.
  • the display device no longer displays the screen projection content of the terminal corresponding to the replacement control, and displays the screen projection content of the first terminal at the position where the screen projection content of the original connected terminal is displayed.
  • the display device sends instruction information to the first terminal, and the first terminal receives the instruction information. If the display device has a second terminal connected, as shown in Figure 26, the screen projection content of the second terminal is displayed on the first user interface At this time, the first terminal determines the controls according to the number of the second terminals. As shown in FIG. 27 , a new window control 1101 and a replacement first-way control 1102 are displayed on the second user interface. When the user selects the new control 1101, a new playback window is added on the first user interface. The newly added playback window is used to play the projected content, as shown in Figure 28. After the new playback window is added, the current first user interface There are two playback windows on the user interface, and the two playback windows are distributed on the user interface. The size of the two playback windows can be set to the same size, and the playback content of the original playback window does not change.
  • the size of the playback window can be manually adjusted by the user operating the control device, so that when the user is more interested in the screen projection content in a certain playback window, the playback window can be enlarged, and the corresponding playback window
  • the playback content can occupy a larger display interface, which is convenient for users to watch.
  • the screen projection content of the original connected terminal will no longer be played on the first user interface, but the screen projection content of the first terminal will be played, for example, as shown in Figure 29 shown.
  • the connection between the original terminal and the display device is disconnected.
  • the display device sends instruction information to the first terminal, and the first terminal receives the instruction information. If the display device has two second terminals connected, as shown in Figure 28, the screen projection contents of the two second terminals are displayed on the first terminal. On the user interface, the controls determined according to the number of the second terminals at this time, as shown in FIG. 30 , display a new window control 1401 , a replacement first control 1402 and a replacement second control 1403 on the second user interface. If the window control 1401 is selected, a playback window is added in the first user interface, as shown in FIG. 31 , there are currently three playback windows in FIG. 31 . Select and replace the first control 1402, and then the first user interface is shown in FIG. 32 .
  • the user can disconnect the originally connected second terminal from the display device by selecting a different replacement control, and display the projected screen content of the first terminal at the position where the original projected screen content is displayed.
  • the display device sends instruction information to the first terminal, and the first terminal receives the instruction information. If the display device has three second terminals connected, as shown in Figure 31, the content of the screen projection of the three second terminals is displayed on the first terminal. On the user interface, the controls determined according to the number of the second terminals at this time, as shown in FIG. Replace the third control 1804. After the above controls are selected, the first user interface can refer to the interface changes when two second terminals are connected, and will not be described in detail here.
  • the display device sends instruction information to the first terminal, and the first terminal receives the instruction information, and when the number of the second terminals is a second preset number, it is determined that the control includes the control of no longer projecting the screen, and the connected terminal The corresponding replacement control.
  • the second preset number is four. If there are 4 second terminals connected to the display device, as shown in Figure 35, the projection content of the four second terminals are all displayed on the first user interface.
  • the controls determined according to the number of the second terminals are as follows: As shown in FIG. 36 , the second user interface displays a no-screen projection control 2001 , a replacement first control 2002 , a second replacement control 2003 , a third replacement control 2004 and a fourth replacement control 2005 .
  • the first user interface can refer to the interface changes when two second terminals are connected, and will not be described in detail again.
  • the user selects the no-screen-casting control 2001, the first user interface does not change, and the first terminal and the display device do not perform the screen-casting operation.
  • the display device when the display device is connected to multiple terminals, there is no limit to the arrangement of the projection content of multiple terminals on the first display interface.
  • all the projection content of multiple terminals can be displayed horizontally.
  • All the projected content can also be displayed vertically, part of the projected content can be displayed horizontally, and part of the projected content can be displayed vertically.
  • the arrangement direction of the screen-casting content on the display interface of the first display device can be determined according to the display direction of the screen-casting content.
  • the screen-casting content can be The content is displayed horizontally on the first display interface, which is convenient for the user to watch the movie on the display interface of the display device.
  • the first terminal receives a user input for selecting a control on the interaction window, and sends an instruction generated according to the control to the display device.
  • a new window control when a new window control is selected, a new window command is generated correspondingly, when a replacement control is selected, a replacement command is correspondingly generated, and when a no screen projection control is selected, a no screen projection command is correspondingly generated.
  • the first receiving terminal sends an instruction generated according to selecting the control in the interaction window, and controls the display to display the projected screen content according to the instruction.
  • the first terminal only needs to ensure that the screen projection content is sent to the display device before the display device displays the projection content, and this application does not limit the timing of sending the screen projection content.
  • the display device After receiving the corresponding instruction from the first terminal based on the control, the display device adapts and displays the first user interface according to the user's selection. If the user selects a new window control, the first user interface and the second terminal screen Create a new playback window in the layout; if the user chooses to replace a certain control, the projection content corresponding to the replacement control will no longer be displayed, and will be displayed at the position where the original projection content connected to the second terminal is displayed. Screencasting content of the first terminal. If the user selects the no-screen-casting control, the screen-casting content of the first terminal will not be displayed on the first user interface.
  • the selected control can be implemented by the user pressing the position corresponding to the control on the touch screen of the first terminal. In other embodiments, the selected control can be realized after the user presses the position corresponding to the control on the touch screen of the first terminal, and then press the second The corresponding position of the control is determined on the touch screen of a terminal. As shown in FIG. 23, the selection of the new window control can be realized after the user presses the position corresponding to the new window control on the touch screen, and then presses the position corresponding to the control.
  • the instruction includes an instruction to add a new window
  • the step of controlling the display to display the projected screen content according to the instruction includes: adding a new playback window on the current user interface, and displaying the projected screen in the newly added playback window content.
  • the playback content in other playback windows on the first user interface remains unchanged.
  • the positions of other playback windows may change, so that when a new playback window is added, all playback windows are within the user's The layout on the interface is more reasonable.
  • the first user interface includes at least one play window, and the screen projection content of the terminal connected to the display device is played in the play window;
  • the instruction includes a replacement instruction, the replacement instruction includes replacement information, the replacement information is used to indicate the playback window information corresponding to the replaced second terminal, the playback window information can be the order of the playback window in all playback windows, and the replacement The information is determined by the replacement control selected by the user. Exemplarily, when the user selects to replace the first control, the replacement information is the playback window that is arranged first among all the playback windows.
  • the step of controlling the display to display the projected screen content according to the instruction includes: disconnecting the second terminal corresponding to the replacement information, creating a new play window at the play window where the original projected screen content is played, and converting the first The screencast content of the terminal is displayed in the newly created playback window.
  • the instruction includes an instruction not to cast the screen
  • the step of controlling the display to display the screen projection content according to the instruction includes: rejecting the connection with the first terminal, and maintaining the display state of the user interface unchanged.
  • the method further includes: judging whether the condition of not sending the indication information is met; if the condition is met, not sending the indication information; if the condition is not met, sending the indication information.
  • the condition for not sending the indication information includes that the upper limit value of the number of playing windows on the first user interface is a specific value.
  • the specific value is 0.
  • the display device only receives one terminal connection, at this time, the default is to replace the second terminal of the original connection, that is, the content of the second terminal of the original connection is no longer displayed,
  • the screen projection content of the first terminal is displayed at the position where the projection screen content originally connected to the second terminal is displayed, and no instruction information needs to be sent at this time.
  • the display device does not currently have a second terminal connected to it, a new window is directly created on the first user interface, and the screen projection content is displayed in the newly created window. In this solution, no instruction information is also sent.
  • displaying the screen projection content of the first terminal at the position where the screen projection content originally connected to the second terminal is displayed can be realized in various ways.
  • the connection of the second terminal currently corresponding to the display device is disconnected, and a playback window is created in its position for playing the screen-casting content of the first terminal.
  • the screen-casting content of the first terminal may be displayed by using an original play window connected to the screen-casting content of the second terminal.
  • the terminal sends an instruction generated by the control selected by the user to the display device, and the command may be defined as follows: "MIRROR_INDEX: m", where m represents replacement information corresponding to the control selected by the user. m is -1 and means no longer screen projection control, m is 0 means add window control, m is 1 means replace the first control, m is 2 means replace the second control, m is 3 means replace the third control , m is 4 means to replace the fourth control.
  • the above content is the solution described from the perspective of the first terminal as the main body, and the solution is briefly described from the perspective of the display device.
  • the display device receives the connection instruction of the first terminal, obtains the number of the second terminals, generates and sends indication information, the indication information is used to indicate the number of the second terminals to the first terminal, and triggers the first terminal to generate an interactive window according to the number of the second terminals receiving an instruction corresponding to the control generated according to the number of the second terminal selected by the user in the interaction window, and executing and controlling the display to display the screen projection content of the first terminal according to the instruction.
  • a multi-channel screen projection display method, display device and terminal in some embodiments of the present application, the user can select the display mode of the screen projection content on the display device according to needs, so as to improve the user experience.
  • the method includes: receiving a connection instruction from the first terminal, acquiring the number of the second terminal, wherein the second terminal is a terminal already connected to the display device; sending indication information, and the indication information is used to indicate the second terminal to the first terminal.
  • the interaction window includes controls, and the controls on the interaction window are determined according to the number of the second terminals; receiving the information sent by the first terminal according to selecting the The instruction generated by the control in the interactive window is used to control the display to display the screen projection content of the first terminal according to the instruction.
  • the user can project the content displayed on the mobile device to the display device 200 through mirroring, and display the screen content of the mobile device through the display device.
  • the mobile device may be the terminal device or terminal described in the above embodiments, for example, it may be the first terminal device or the second terminal device.
  • Screen mirroring is to cast the screen content of the mobile device to the display device 200 in real time.
  • Figure 37 and Figure 38 are schematic diagrams of the display effect of mirroring the screen of the mobile device to the display device 200 according to some embodiments, as shown in Figure 37 It is a schematic diagram of the display effect of the operation interface of the mobile device.
  • FIG. 38 is a schematic diagram of the display effect of the mobile device viewing media resources, such as videos in the mobile phone album.
  • the operating system installed on the mobile device is usually the Android system.
  • the mobile device records the screen in real time through the screen recording application, and transmits the recorded video stream to the display device to realize mirroring and projection.
  • the screen recording application is an application developed by a third party, that is, the screen recording application does not belong to the system level application, and can only allow the recording of the current display content of the operating system screen, but does not allow the operating system to record the currently playing audio data and system audio. Therefore, when the user mirrors the screen of the mobile device to the display device, the sound of the mobile device cannot be output through the display device. The corresponding audio is played through the display device 200, resulting in poor experience.
  • some embodiments of the present application provide a display device and an audio output control method for screen mirroring.
  • Fig. 39 is a schematic flowchart of a method for controlling audio output of screen mirroring according to some embodiments.
  • the present application provides a display device in some embodiments, the display device 200 includes a display 260, a speaker, and a controller 250, the controller 250 is connected to the display 260 and the speaker in communication, and the controller 250 is configured It is the process of implementing the audio output control of mirroring screen projection in FIG. 39 .
  • the audio output control process of the mirroring projection screen is as follows:
  • S701 In response to a screen projection request sent by a mobile device, control the display to display a playback interface, and control to start a Bluetooth protocol service of the display device, where the playback interface is used to display a screen projection interface of the mobile device.
  • the mobile device may send a screen projection request to the display device 200.
  • the display device 200 receives and responds to the screen projection request sent by the mobile device, and establishes a connection with the mobile device based on a network connection protocol. After the connection is established, the mobile device can record the screen in real time, record and compress the currently displayed content on the screen into a video stream and transmit it to the display device 200, where the video stream is the screen projection interface of the mobile device.
  • the display device 200 controls the display 260 to display the playback interface, and displays the screen projection interface of the mobile device on the playback interface.
  • both the mobile device and the display device 200 can download the same screen-casting application, the mobile device and the display device 200 establish a connection relationship based on the screen-casting application, and the mobile device sends a video stream to the display device 200 through the screen-casting application.
  • the screen casting application of the mobile device you can set the "Start Screen Casting" control.
  • the recording screen function will be triggered. While recording the screen in real time, the The recorded screen is compressed and transmitted to the display device 200 .
  • the display device 200 when the display device 200 establishes a connection with the mobile device through the network protocol, the display device 200 needs to detect whether the Bluetooth protocol service of the machine is enabled at the same time. If it detects that the Bluetooth protocol service has not been started, it needs to immediately control the Bluetooth The protocol service is started, so that the display device 200 responds to the audio transmission request of the mobile device based on the Bluetooth protocol service.
  • the display device controls the Bluetooth protocol service to connect with the mobile device through the Bluetooth A2DP (Advanced Audio Distribution Profile, Bluetooth audio transmission model agreement) protocol.
  • Bluetooth A2DP Advanced Audio Distribution Profile, Bluetooth audio transmission model agreement
  • the display device 200 may respond to screen projection requests from multiple mobile devices, that is, may receive screen projection connections from multiple mobile devices. If the mobile device includes a first mobile device and a second mobile device, when receiving a screen projection request from the second mobile device, the display device 200 controls the display and simultaneously displays the screen projection interface sent by the first mobile device And the screen casting interface sent by the first mobile device, wherein the time when the first mobile device sends the screen casting request to the display device is earlier than the time when the second mobile device sends the screen casting request to the display device.
  • Fig. 40 is a schematic diagram of a display effect of mirroring and projecting screens of multiple mobile devices to the display device 200 according to some embodiments. As shown in FIG. 40 , taking three mobile devices as an example, the first mobile device, the second mobile device and the third mobile device all project screens with the display device 200 , and the display device 200 displays three mobile devices on the same screen on the display 260 . The screen projection interface of the device.
  • both the first mobile device and the second mobile device send screen casting requests to the display device 200
  • the display device 200 receives the first mobile device and the second mobile device.
  • the screen projection request sent by the mobile device creates the same number of playback controls as the mobile device in the playback interface, wherein multiple playback controls belong to the same application.
  • multiple mobile devices and the display device 200 are installed with the same screen-casting application, and the display device 200 receives screen-casting requests from multiple mobile devices based on one application.
  • the display device 200 When the first mobile device establishes a connection with the display device 200, the display device 200 creates a first playback control on the playback interface, and controls the display 260 to display the first playback control in full screen.
  • the display device 200 When the display device 200 establishes a connection with the second mobile device again, the display device 200 creates a second play control on the playback interface; Create a third playback control.
  • the playback control is used to display the screen projection interface of the mobile device.
  • the display effect of the three playback controls may be as shown in FIG. 40 .
  • the display device 200 controls the playback controls to respectively acquire and display corresponding screen projection interfaces of the mobile device.
  • both the first mobile device and the second mobile device send screen casting requests to the display device 200, and the display device 200 receives the first mobile device and the second mobile device.
  • the screen projection request sent by the mobile device controls the user interface displayed on the display to display the same number of display windows as the mobile device, wherein the plurality of display windows respectively display the playback interface, and the plurality of display windows respectively belong to for different applications. For example, multiple mobile devices are installed with different screen projection applications.
  • the display device 200 Taking three mobile devices as an example, they are respectively installed with NFC (Near Field Communication, approach communication), Airplay (wireless screen projection technology), DLNA (DIGITAL LIVING NETWORK ALLIANCE, digital life network alliance) screen projection applications of three projection protocols, and the display device 200 also establishes network connections with each mobile device based on the projection applications supporting these three projection protocols.
  • the display device 200 respectively receives screen projection requests from corresponding mobile devices based on different applications.
  • the display device 200 starts the corresponding application, and controls the display 260 to display the first display window in full screen, and the screen projection interface of the first mobile device is displayed in the first display window .
  • the display device 200 When the display device 200 establishes a connection with the second mobile device again, the display device 200 starts a corresponding application, and controls the first display window to be placed on one side of the display 260, and displays the second mobile device on the other side of the display 260. A display window, where a screen projection interface of the second mobile device is displayed in the second display window. The display device 200 controls the display window to acquire and display corresponding screen projection interfaces of the mobile device.
  • S702 Receive an audio transmission request sent by the mobile device, and use the Bluetooth protocol service to establish a Bluetooth transmission channel with the mobile device.
  • the mobile device may send an audio transmission request to the display device 200, and notify the display device 200 that the transfer device will perform sound transmission through the audio transmission request.
  • the audio transmission request content may be as follows: MP_BLUEA2DP_CONNECT_REQUEST (based on Bluetooth A2DP connection request).
  • a "transmit sound" control can be set, and when the transfer device receives a user's click on the "transmit sound” control, the mobile device is triggered to send an audio transmission request to the display device 200 , the display device 200 responds to the audio transmission request, and establishes a connection with the mobile device using the Bluetooth protocol service.
  • the display device 200 when receiving an audio transmission request from the second mobile device, controls to stop receiving the audio transmission sent by the first mobile device. audio data, and receive the audio data sent by the second mobile device, so that the speaker stops the output of the audio data of the first mobile device, and controls the speaker to output the audio of the second mobile device data, wherein the time when the first mobile device sends the audio transmission request to the display device is earlier than the time when the second mobile device sends the audio transmission request to the display device. That is to say, when there are multiple mobile devices that send the screen projection request, the display device 200 responds to the last mobile device that sends the audio transmission request, and establishes a Bluetooth transmission channel with the last mobile device that sends the audio transmission request.
  • the mobile device includes a first mobile device and a second mobile device, the first mobile device sending the audio transmission request to the display device earlier than the second mobile device sending the audio transmission request to the display device time of request.
  • the display device 200 receives the audio transmission request sent by the second mobile device, and detects the current Bluetooth connection status of the display device 200 . If the display device 200 has established a Bluetooth transmission channel with the first mobile device, disconnect the Bluetooth transmission channel with the first mobile device.
  • the display device 200 needs to send an instruction to disconnect the Bluetooth connection to the first mobile device, and first disconnect the direct connection with the first mobile device, for example, The display device 200 sends MP_BLUEA2DP_DISCONNECT (to disconnect the Bluetooth A2DP connection) to the first mobile device.
  • the first mobile device updates the Bluetooth connection status of the mobile device after receiving the instruction sent by the display device 200 representing disconnection of the Bluetooth connection.
  • the second mobile device that subsequently sends an audio transmission request feeds back an instruction indicating that the Bluetooth connection is allowed, for example, the display device 200 sends an instruction to the second mobile device Send MP_BLUEA2DP_CONNECT_REQUEST_ACK (based on Bluetooth A2DP connection request confirmation).
  • the second mobile device resends an audio transmission request to the display device 200 after receiving the instruction for running the Bluetooth connection sent by the display device 200 .
  • the display device 200 receives the audio transmission request resent by the second mobile device according to the command indicating that the Bluetooth connection is allowed, and establishes a Bluetooth transmission channel with the second mobile device.
  • the display device 200 when detecting the current Bluetooth connection state of the display device 200, if the display device 200 has not established a Bluetooth transmission channel with the first mobile device, the display device 200 responds to the first mobile device.
  • the audio transmission request sent by the second mobile device directly establishes a Bluetooth transmission channel with the second mobile device.
  • the display device 200 uses a default PIN code to pair with the mobile device in the background, so that when the first connection is made, the display device 200 and the mobile device None of the mobile devices mentioned above will pop up the Bluetooth pairing dialog box. That is, when the mobile device and the display device 200 are connected via Bluetooth, they are paired in the background through a default PIN code, and a Bluetooth transmission channel is established after the pairing is completed. In this way, if the mobile device and the display device 200 are connected with Bluetooth for the first time, neither the mobile device nor the display device 200 will pop up a Bluetooth pairing dialog box, and the user does not need to operate the Bluetooth pairing process, so as to avoid disturbing the user to watch the screen projection interface and improve user experience. experience.
  • S703 Receive audio data sent by the mobile device through the Bluetooth transmission channel, and control the speaker to output the audio data.
  • the mobile device 200 may send audio data to the display device 200 through the Bluetooth transmission channel, so that the display device 200 outputs corresponding audio data through the speaker.
  • the screen content can be projected first, and then the audio data can be transmitted after the display device 200 establishes a Bluetooth connection channel with the mobile device.
  • the user displays the screen projection interface of the mobile device and then displays the device 200, he can first search for the content that needs to be screened, such as, if he finds a video recorded by himself in the album, when the user clicks on the video to play, Then trigger the mobile device to establish a Bluetooth connection channel with the display device 200 , and then send the corresponding audio data of the video to the display device 200 for playback.
  • the user can also trigger the mobile device to establish a Bluetooth connection channel with the display device 200 before playing the video.
  • Fig. 41 is a timing diagram of a method for controlling audio output of screen mirroring according to some embodiments.
  • the display device 200 is connected to the first mobile device and the second mobile device for screen projection, and the screen contents of the first mobile device and the second mobile device are displayed on the display 260 of the display device 200 .
  • the first mobile device first sends an audio transmission request to the display device 200, and after receiving the audio transmission request sent by the first mobile device, the display device 200 feeds back to the first mobile device an instruction indicating that Bluetooth connection is allowed. After receiving the instruction, the first mobile device and the display device are paired through the default PIN code.
  • the first mobile device and the display device 200 establish a Bluetooth connection channel, and the first mobile device sends audio data to the display device 200, and the display After receiving the audio data, the device 200 controls the speaker to play.
  • the second mobile device sends an audio transmission request to the display device 200, and the display device 200 detects the current Bluetooth connection status of the machine, and after detecting that it has been connected to the first mobile device with Bluetooth, it first sends an indication message to the first mobile device.
  • the instruction of opening the Bluetooth connection disconnects the Bluetooth connection with the first mobile device, and stops playing the audio data of the first mobile device.
  • the first mobile device updates its own Bluetooth connection status after receiving the instruction sent by the display device 200 representing disconnection of the Bluetooth connection.
  • the display device 200 After the display device 200 disconnects the Bluetooth connection with the first mobile device, it sends an instruction to the second mobile device indicating that the Bluetooth connection is allowed. After the second mobile device receives the instruction, both the second mobile device and the display device pass the default PIN code. After pairing, after the pairing is successful, the second mobile device establishes a Bluetooth connection channel with the display device 200, the second mobile device sends audio data to the display device 200, and the display device 200 controls the speaker to play after receiving the audio data.
  • the mobile device when the display device and the mobile device are mirroring the screen, the mobile device divides the screen projection interface and the corresponding audio data into two channels and transmits them to the display device.
  • the audio data of the mobile device is displayed through the Bluetooth transmission channel.
  • Device output greatly improves user experience.
  • Some embodiments of the present application also provide an audio output control method for screen mirroring, the method includes: the display device 200 responds to the screen projection request sent by the mobile device, controls the display 260 to display a playback interface, and controls to start the display device Bluetooth protocol service, wherein the playback interface is used to display the screen projection interface of the mobile device.
  • the display device 200 receives the audio transmission request sent by the mobile device, and uses the Bluetooth protocol service to establish a Bluetooth transmission channel with the mobile device.
  • the display device 200 receives the audio data sent by the mobile device through the Bluetooth transmission channel, and controls the speaker to output the audio data.
  • the display device 200 when there are multiple mobile devices that send screen casting requests, receives multiple screen casting requests sent by the mobile devices, and creates an image with the same data as the mobile device in the playback interface.
  • a playback control wherein multiple playback controls belong to the same application.
  • the display device 200 controls the playback controls to respectively acquire and display corresponding screen projection interfaces of the mobile device.
  • the display device 200 when there are multiple mobile devices that send the screen projection request, responds to the last mobile device that sends the audio transmission request, and establishes a Bluetooth transmission channel with the last mobile device that sends the audio transmission request.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

Disclosed are a display device and a terminal. A terminal device may establish a screen projection connection with the display device. Each time the display device receives a push, the display device must detect a resource type of a screen projection and a current display state, and formulate an update strategy adapted to a current scene for a display. The update strategy indicates in which target playback window to load and display newly received data to be played back, and other content such as the number of windows and layout adjustment may also be involved. According to the present application, a connection instruction of a first terminal is received, the number of second terminals is obtained, an interactive window is generated according to the number of second terminals, and according to an instruction generated by a control in the interactive window, the display is controlled to display screen projection content of the first terminal.

Description

显示设备、终端设备及内容显示方法Display device, terminal device and content display method
本申请要求于2021年8月27日提交的申请号为202110997833.X、于2021年8月27日提交的申请号为202110998023.6、于2021年8月27日提交的申请号为202110998018.5、以及于2021年9月27日提交的申请号为202111133007.7的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the application number 202110997833.X submitted on August 27, 2021, the application number 202110998023.6 submitted on August 27, 2021, the application number 202110998018.5 submitted on August 27, 2021, and the application number submitted on August 27, 2021. The priority of the Chinese patent application with application number 202111133007.7 filed on September 27, 2021, the entire content of which is incorporated in this application by reference.
技术领域technical field
本发明涉及内容显示技术领域,尤其涉及一种显示设备、终端设备及内容显示方法。The present invention relates to the technical field of content display, in particular to a display device, a terminal device and a content display method.
背景技术Background technique
显示设备是一种可实现双向人机交互功能,集影音、娱乐、数据等多种功能于一体的显示产品。为满足用户多样化的需求,显示设备安装有投屏、影音、娱乐等多种应用,通过用户界面与用户进行交互和信息交换。A display device is a display product that can realize two-way human-computer interaction and integrate multiple functions such as audio-visual, entertainment, and data. In order to meet the diverse needs of users, the display device is equipped with various applications such as screen projection, audio-visual, entertainment, etc., and interacts and exchanges information with users through the user interface.
在一些应用场景中,用户可以通过手机、PC等终端向显示设备发起投屏,从而将小屏终端中的图像、音频和视频等媒体资源推送到显示设备,实现大屏播放。目前显示设备仅支持被推送及播放单路投屏的媒体资源,例如显示设备当前正显示媒体资源A,此时若某手机向显示设备推送媒体资源B,则显示设备必须停止播放媒体资源A,然后才能加载并起播媒体资源B,这种方式虽能避免媒体资源间的显示冲突,但无法满足用户同步观看多个媒体资源的需求,应用场景受到局限。In some application scenarios, users can initiate screen projection to display devices through terminals such as mobile phones and PCs, so as to push media resources such as images, audio, and video in small-screen terminals to display devices for large-screen playback. Currently, the display device only supports media resources that are pushed and played in one-way projection. For example, the display device is currently displaying media resource A. At this time, if a mobile phone pushes media resource B to the display device, the display device must stop playing media resource A. Only then can media resource B be loaded and played. Although this method can avoid display conflicts between media resources, it cannot meet the needs of users to watch multiple media resources simultaneously, and the application scenarios are limited.
发明内容Contents of the invention
根据本申请一些实施方式提供了一种显示设备,包括:According to some embodiments of the present application, a display device is provided, including:
显示器,用于显示图像;a display for displaying images;
通信器,用于与一个或多个终端设备通信连接;a communicator for communicating with one or more terminal devices;
控制器,与所述显示器和通信器连接并且被配置为执行:a controller coupled to the display and communicator and configured to:
接收来自所述一个或多个终端设备中的第一终端设备的投屏请求,receiving a screen projection request from a first terminal device among the one or more terminal devices,
响应所述投屏请求,根据所述显示器的当前显示状态,确定所述显示器的更新策略,以播放与所述投屏请求对应的资源。In response to the screen projection request, an update policy of the display is determined according to the current display state of the display, so as to play resources corresponding to the screen projection request.
根据本申请一些实施例提供了一种内容显示方法,包括:According to some embodiments of the present application, a method for displaying content is provided, including:
接收来自所述一个或多个终端设备中的第一终端设备的投屏请求,receiving a screen projection request from a first terminal device among the one or more terminal devices,
响应所述投屏请求,根据显示器的当前显示状态,确定所述显示器的更新策略,以播放所述投屏请求对应的资源。In response to the screen projection request, an update policy of the display is determined according to the current display state of the display, so as to play resources corresponding to the screen projection request.
附图说明Description of drawings
图1为根据一些实施例的显示设备的使用场景;FIG. 1 is a usage scenario of a display device according to some embodiments;
图2为根据一些实施例的控制装置100的硬件配置框图;FIG. 2 is a block diagram of a hardware configuration of a control device 100 according to some embodiments;
图3为根据一些实施例的显示设备200的硬件配置框图;FIG. 3 is a block diagram of a hardware configuration of a display device 200 according to some embodiments;
图4为根据一些实施例的显示设备200中软件配置图;FIG. 4 is a software configuration diagram in a display device 200 according to some embodiments;
图5为播放界面中包括多路视频窗口的UI示意图;Fig. 5 is the UI schematic diagram that comprises multi-channel video window in playing interface;
图6为播放界面中包括音频窗口的UI示意图;Fig. 6 is the UI diagram that comprises audio window in playing interface;
图7为播放界面中包括图像窗口的UI示意图;Fig. 7 is the UI diagram that comprises image window in playing interface;
图8为显示设备在显示图6的播放界面时,新接收一路视频推送后UI更新示意图;Fig. 8 is a schematic diagram of UI update after a new video push is received by the display device when displaying the playback interface of Fig. 6;
图9为显示设备当前显示图6的播放界面,在新接收到一路视频推送时显示第一提示弹窗的示意图;Fig. 9 is a schematic diagram of displaying the display device currently displaying the playback interface of Fig. 6 and displaying the first prompt pop-up window when a new video push is received;
图10为用户选定第一提示弹窗中的第一替换控件时UI更新示意图;FIG. 10 is a schematic diagram of UI updating when the user selects the first replacement control in the first prompt pop-up window;
图11为显示设备当前显示图5的播放界面,在新接收到一路视频推送时显示第二提示弹窗的示意图;Fig. 11 is a schematic diagram of a second prompt pop-up window displayed when the display device currently displays the playback interface of Fig. 5 when a new video push is received;
图12为用户选定第二提示弹窗中的第二替换控件时UI更新示意图;12 is a schematic diagram of UI update when the user selects the second replacement control in the second prompt pop-up window;
图13(a)为显示设备当前显示两路视频、一路图像时,新接收一路音频推送时显示第三提示弹窗的示意图;Fig. 13(a) is a schematic diagram of displaying a third prompt pop-up window when a new audio push is newly received when the display device is currently displaying two channels of video and one channel of image;
图13(b)为用户选定图13(a)所示第三提示弹窗中的第二新增控件时UI更新示意图;Fig. 13(b) is a schematic diagram of UI update when the user selects the second newly added control in the third prompt pop-up window shown in Fig. 13(a);
图13(c)为用户选定图13(a)所示第三提示弹窗中的第三替换控件时UI更新示意图;Fig. 13(c) is a schematic diagram of UI update when the user selects the third replacement control in the third prompt pop-up window shown in Fig. 13(a);
图14(a)为显示设备当前显示三路视频、一路图像时,新接收一路音频推送时显示第三提示弹窗的示意图;Fig. 14(a) is a schematic diagram of displaying a third prompt pop-up window when a new audio push is received when the display device currently displays three channels of video and one channel of image;
图14(b)为用户选定图14(a)所示第三提示弹窗中的第三替换控件时UI更新示意图;Fig. 14(b) is a schematic diagram of UI update when the user selects the third replacement control in the third prompt pop-up window shown in Fig. 14(a);
图15(a)为显示设备显示一路视频、一路图像时,新接收一路图像时的场景示意图;Fig. 15(a) is a schematic diagram of a scene when a new image is received when the display device displays one image and one image;
图15(b)为对图15(a)所示的播放界面进行更新后的UI示意图;Fig. 15(b) is a UI schematic diagram after updating the playing interface shown in Fig. 15(a);
图16(a)为显示设备当前显示一路视频、一路音频时,新接收一路图像推送时显示第三提示弹窗的示意图;Figure 16(a) is a schematic diagram of displaying a third prompt pop-up window when a new image push is received when the display device is currently displaying one video and one audio;
图16(b)为用户选定图16(a)所示第三提示弹窗中的第二新增控件时UI更新示意图;Fig. 16(b) is a schematic diagram of UI update when the user selects the second newly added control in the third prompt pop-up window shown in Fig. 16(a);
图16(c)为用户选定图16(a)所示第三提示弹窗中的第三替换控件时UI更新示意图;Fig. 16(c) is a schematic diagram of UI update when the user selects the third replacement control in the third prompt pop-up window shown in Fig. 16(a);
图17(a)为显示设备当前显示四路视频时,新接收一路图像推送时显示第三提示弹窗的示意图;Fig. 17(a) is a schematic diagram of displaying a third prompt pop-up window when a new image push is received when the display device is currently displaying four channels of video;
图17(b)为用户选定图17(a)所示第三提示弹窗中的第三替换控件时UI更新示意图;Fig. 17(b) is a schematic diagram of UI update when the user selects the third replacement control in the third prompt pop-up window shown in Fig. 17(a);
图18为用户切换窗口焦点后的播放界面的示意图;18 is a schematic diagram of the playback interface after the user switches the window focus;
图19为一种资源同步播放方法的流程图;Fig. 19 is a flow chart of a resource synchronous playback method;
图20为另一种资源同步播放方法的流程图;FIG. 20 is a flow chart of another resource synchronous playback method;
图21为根据一些实施例的一种多路投屏的显示方法的流程图;Fig. 21 is a flowchart of a display method for multi-channel projection according to some embodiments;
图22为根据一些实施例的一种第一用户界面的示意图;Figure 22 is a schematic diagram of a first user interface according to some embodiments;
图23为根据一些实施例的一种第二用户界面的示意图;Figure 23 is a schematic diagram of a second user interface according to some embodiments;
图24为根据一些实施例的又一种第一用户界面的示意图;Fig. 24 is a schematic diagram of yet another first user interface according to some embodiments;
图25为根据一些实施例的又一种第二用户界面的示意图;Fig. 25 is a schematic diagram of yet another second user interface according to some embodiments;
图26为根据一些实施例的又一种第一用户界面的示意图;Fig. 26 is a schematic diagram of yet another first user interface according to some embodiments;
图27为根据一些实施例的又一种第二用户界面的示意图;Fig. 27 is a schematic diagram of yet another second user interface according to some embodiments;
图28为根据一些实施例的又一种第一用户界面的示意图;Fig. 28 is a schematic diagram of yet another first user interface according to some embodiments;
图29为根据一些实施例的又一种第一用户界面的示意图;Fig. 29 is a schematic diagram of yet another first user interface according to some embodiments;
图30为根据一些实施例的又一种第二用户界面的示意图;Fig. 30 is a schematic diagram of yet another second user interface according to some embodiments;
图31为根据一些实施例的又一种第一用户界面的示意图;Fig. 31 is a schematic diagram of yet another first user interface according to some embodiments;
图32为根据一些实施例的又一种第一用户界面的示意图;Fig. 32 is a schematic diagram of yet another first user interface according to some embodiments;
图33为根据一些实施例的又一种第一用户界面的示意图;Fig. 33 is a schematic diagram of yet another first user interface according to some embodiments;
图34为根据一些实施例的另一种第二用户界面的示意图;Figure 34 is a schematic diagram of another second user interface according to some embodiments;
图35为根据一些实施例的另一种第一用户界面的示意图;Figure 35 is a schematic diagram of another first user interface according to some embodiments;
图36为根据一些实施例的另一种第二用户界面的示意图;Figure 36 is a schematic diagram of another second user interface according to some embodiments;
图37为根据一些实施例的移动设备镜像投屏至显示设备200的显示效果示意图;Fig. 37 is a schematic diagram of the display effect of mirroring and projecting the screen of the mobile device to the display device 200 according to some embodiments;
图38为根据一些实施例的移动设备镜像投屏至显示设备200的另一显示效果示意图;Fig. 38 is a schematic diagram of another display effect of mirroring a mobile device to a display device 200 according to some embodiments;
图39为根据一些实施例的镜像投屏音频输出控制方法的流程示意图;Fig. 39 is a schematic flowchart of a method for controlling audio output of mirroring screen projection according to some embodiments;
图40为根据一些实施例的多移动设备镜像投屏至显示设备200的显示效果示意图;Fig. 40 is a schematic diagram of the display effect of mirroring and projecting screens from multiple mobile devices to the display device 200 according to some embodiments;
图41为根据一些实施例的镜像投屏音频输出控制方法的时序图。Fig. 41 is a timing diagram of a method for controlling audio output of screen mirroring according to some embodiments.
具体实施方式Detailed ways
下面将结合本申请示例性实施例中的附图,对本申请示例性实施方式进行描述,显然,描述的示例性实施例仅是本申请一部分实施例,而不是全部的实施例。The following will describe the exemplary embodiments of the present application with reference to the accompanying drawings in the exemplary embodiments of the present application. Apparently, the described exemplary embodiments are only some of the embodiments of the present application, but not all of the embodiments.
图1为根据实施例中显示设备的使用场景的示意图。如图1所示,显示设备200还与服务器400进行数据通信,用户可通过智能设备300或控制装置100操作显示设备200。Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in FIG. 1 , the display device 200 also performs data communication with the server 400 , and the user can operate the display device 200 through the smart device 300 or the control device 100 .
在一些实施方式中,控制装置100可以是遥控器,遥控器和显示设备的通信包括红外协议通信或蓝牙协议通信,及其他短距离通信方式中的至少一种,通过无线或有线方式来控制显示设备200。用户可以通过遥控器上按键、语音输入、控制面板输入等至少一种输入用户指令,来控制显示设备200。In some implementations, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of infrared protocol communication, Bluetooth protocol communication, and other short-distance communication methods, and the display device is controlled wirelessly or wiredly. Device 200. The user can control the display device 200 by inputting user instructions through at least one of buttons on the remote control, voice input, and control panel input.
在一些实施方式中,智能设备300可以包括移动终端、平板电脑、计算机、笔记本电脑,AR/VR设备等中的任意一种。In some embodiments, the smart device 300 may include any one of a mobile terminal, a tablet computer, a computer, a notebook computer, an AR/VR device, and the like.
在一些实施方式中,也可以使用智能设备300以控制显示设备200。例如,使用在智能设备上运行的应用程序控制显示设备200。In some implementations, the smart device 300 can also be used to control the display device 200 . For example, the display device 200 is controlled using an application program running on the smart device.
在一些实施方式中,也可使用智能设备300和显示设备进行数据的通信。In some implementation manners, the smart device 300 and the display device may also be used for data communication.
在一些实施方式中,显示设备200还可以采用除了控制装置100和智能设备300之外的方式进行控制,例如,可以通过显示设备200设备内部配置的获取语音指令的模块直接接收用户的语音指令控制,也可以通过显示设备200设备外部设置的语音控制装置来接收用户的语音指令控制。In some implementations, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the module for acquiring voice commands configured inside the display device 200 can directly receive the user's voice command control , the user's voice command control can also be received through the voice control device provided outside the display device 200 .
显示设备200还与服务器400进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器400可以向显示设备200提供各种内容和互动。The display device 200 also performs data communication with the server 400 . The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200 .
图2为根据示例性实施例中控制装置100的配置框图。如图2所示,控制装置100包括控制器110、通信接口130、用户输入/输出接口140、存储器、供电电源。控制装置100可接收用户的输入操作指令,且将操作指令转换为显示设备200可识别和响应的指令,起用用户与显示设备200之间交互中介作用。FIG. 2 is a block diagram of a configuration of the control device 100 according to the exemplary embodiment. As shown in FIG. 2 , the control device 100 includes a controller 110 , a communication interface 130 , a user input/output interface 140 , a memory, and a power supply. The control device 100 can receive the user's input operation instruction, and convert the operation instruction into an instruction that the display device 200 can recognize and respond to, and play an intermediary role between the user and the display device 200 .
图3为根据示例性实施例中显示设备200的硬件配置框图。FIG. 3 is a block diagram showing a hardware configuration of a display device 200 according to an exemplary embodiment.
在一些实施方式中,显示设备200包括调谐解调器210、通信器220、检测器230、外部装置接口240、控制器250、显示器260、音频输出接口270、存储器、供电电源、用户接口中的至少一种。In some embodiments, the display device 200 includes a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface. at least one.
控制器包括中央处理器,视频处理器,音频处理器,图形处理器,RAM,ROM,用于输入/输出的第 一接口至第n接口。The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, the first interface to the nth interface for input/output.
显示器260包括用于呈现画面的显示屏组件,以及驱动图像显示的驱动组件,用于接收源自控制器输出的图像信号,进行显示视频内容、图像内容以及菜单操控界面的组件以及用户操控UI界面等。The display 260 includes a display screen component for presenting a picture, and a drive component for driving image display, for receiving an image signal output from the controller, for displaying video content, image content and a menu control interface component, and a user control UI interface wait.
显示器260可为液晶显示器、OLED显示器、以及投影显示器中的至少一种,还可以为一种投影装置和投影屏幕。The display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
通信器220是用于根据各种通信协议类型与外部设备或服务器进行通信的组件。例如:通信器可以包括Wifi模块,蓝牙模块,有线以太网模块等其他网络通信协议芯片或近场通信协议芯片,以及红外接收器中的至少一种。显示设备200可以通过通信器220与控制装置100或服务器400建立控制信号和数据信号的发送和接收。The communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220 .
在一些实施例中,用户接口,可用于接收控制装置100(如:红外遥控器等)的控制信号。In some embodiments, the user interface may be used to receive a control signal from the control device 100 (such as an infrared remote controller, etc.).
外部装置接口240可以包括但不限于如下:高清多媒体接口接口(HDMI)、模拟或数据高清分量输入接口(分量)、复合视频输入接口(CVBS)、USB输入接口(USB)、RGB端口等任一个或多个接口。也可以是上述多个接口形成的复合性的输入/输出接口。The external device interface 240 may include, but is not limited to, any of the following: high-definition multimedia interface (HDMI), analog or data high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. or multiple interfaces. It may also be a composite input/output interface formed by the above-mentioned multiple interfaces.
在一些实施例中,调谐解调器210通过有线或无线接收方式接收广播电视信号,以及从多个无线或有线广播电视信号中解调出音视频信号,如以及EPG数据信号。In some embodiments, the tuner-demodulator 210 receives broadcast TV signals through wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or cable broadcast TV signals.
在一些实施方式中,控制器250和调谐解调器210可以位于不同的分体设备中,即调谐解调器210也可在控制器250所在的主体设备的外置设备中,如外置机顶盒等。In some implementations, the controller 250 and the tuner-demodulator 210 may be located in different split devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box wait.
用户输入接口280,为可用于接收控制输入的接口(如:显示设备本体上的实体按键,或其他等)。The user input interface 280 is an interface that can be used to receive control input (such as: a physical button on the display device body, or others).
参见图4,在一些实施方式中,将系统分为四层,从上至下分别为应用程序(Applications)层(简称“应用层”),应用程序框架(Application Framework)层(简称“框架层”),安卓运行时(Android runtime)和系统库层(简称“系统运行库层”),以及内核层。Referring to Fig. 4, in some embodiments, the system is divided into four layers, from top to bottom are the application program (Applications) layer (abbreviated as "application layer"), application framework (Application Framework) layer (abbreviated as "framework layer") "), Android runtime (Android runtime) and system library layer (referred to as "system runtime layer"), and the kernel layer.
以上实施例介绍了显示设备的硬件/软件架构以及功能实现等内容。在一些应用场景中,终端设备可以向显示设备推送媒体数据,例如用户通过某些具备投屏功能的应用程序,将感兴趣的媒体资源投射到显示设备上进行大屏播放;或者终端设备与显示设备通过某些协议建立投屏连接,比如DLNA(Digital Living Network Alliance,数字生活网络联盟)协议等;又或者,终端设备与显示设备进行镜像投屏,从而将终端设备当前正在显示的媒体数据镜像同步推送至显示设备端。The above embodiments introduce the hardware/software architecture and function realization of the display device. In some application scenarios, the terminal device can push media data to the display device. For example, the user can project the media resources of interest to the display device for large-screen playback through some application programs with screen projection functions; or the terminal device and the display The device establishes a screen projection connection through certain protocols, such as DLNA (Digital Living Network Alliance, Digital Living Network Alliance) protocol, etc.; or, the terminal device and the display device perform mirror projection to mirror the media data currently displayed by the terminal device Synchronously push to the display device side.
用户在终端设备中播放媒体数据时,选择投屏推送时,可以从设备列表中选择用于播放该媒体数据的其他设备,而支持投屏功能的显示设备会被识别并自动填加到设备列表中,用户从设备列表中选择显示设备后,即可将媒体数据由终端设备投射到显示设备端进行播放。采用投屏方式推送媒体数据时,一般需要终端设备与显示设备连接于同一Wifi网络,终端向显示设备推送媒体数据的方式不限定。当然,在另一些技术中,投屏方式还可以跨网进行。本申请中对投屏的具体方式不作限定。When the user plays media data on the terminal device and selects screen projection push, he can select other devices for playing the media data from the device list, and the display device that supports the screen projection function will be recognized and automatically added to the device list In , after the user selects the display device from the device list, the media data can be projected from the terminal device to the display device for playback. When using the projection method to push media data, the terminal device and the display device generally need to be connected to the same Wifi network, and the method for the terminal to push media data to the display device is not limited. Of course, in other technologies, the screen projection method can also be performed across networks. In this application, there is no limitation on the specific manner of screen projection.
在终端设备与显示设备投屏连接成功之后,终端设备才能将媒体数据推送到显示设备,对于Web上每一个可用的媒体资源,如HTML文档、图像、视频、音频和程序等,可由一个通用的URI(Uniform Resource Identifier,统一资源标志符)进行资源定位,即URI相当于提供了一个定位资源的地址。可选地,终端设备可将需要投屏的媒体数据的URI推送给显示设备,显示设备接收到URI后,即可定位资源,进而下载及播放相应的媒体数据。其中,所述终端设备可以是手机、平板电脑、智能穿戴设备(如智能手环等)、笔记本电脑等移动终端,也可是台式电脑、电视等具有投屏及显示功能的设备。The terminal device can push the media data to the display device only after the terminal device is successfully connected to the display device. For every media resource available on the Web, such as HTML documents, images, videos, audio and programs, etc., a general URI (Uniform Resource Identifier, Uniform Resource Identifier) performs resource location, that is, URI is equivalent to providing an address for locating resources. Optionally, the terminal device may push the URI of the media data to be projected to the display device, and the display device may locate the resource after receiving the URI, and then download and play the corresponding media data. Wherein, the terminal device may be a mobile terminal such as a mobile phone, a tablet computer, a smart wearable device (such as a smart bracelet, etc.), a notebook computer, or a desktop computer, a TV, and other devices with screen projection and display functions.
在其他示例性的实现方式中,终端设备也可将媒体数据的URL(Uniform Resource Locator,统一资源定位符),即媒体资源的网络地址推送给显示设备,以便显示设备访问URL并下载媒体数据;又或者,终端设备也可直接将图像、视频流、音频流等实时同步至显示设备端。In other exemplary implementations, the terminal device may also push the URL (Uniform Resource Locator, Uniform Resource Locator) of the media data, that is, the network address of the media resource, to the display device, so that the display device accesses the URL and downloads the media data; Alternatively, the terminal device can also directly synchronize images, video streams, audio streams, etc. to the display device in real time.
在一些实施方式中,显示设备若仅支持播放单路媒体资源,可选地,用户在发起投屏时,终端设备可生成一停止指令,向显示设备发送的投屏请求中携带有该停止指令以及资源的URI/URL等投屏数据,显示设备接收投屏请求后,识别到投屏请求中的停止指令,则先停止播放当前的在播资源,以释放被占用的播放资源,然后再加载及播放投屏数据。可选地,或者终端设备不生成停止指令,而是直接向显示设备推送投屏数据;显示设备接收到投屏数据时,由显示设备的控制器生成停止指令,并将该停止指令下发给在播资源的播放器,从而控制在播资源的播放器关闭,停止播放在播资源。对于仅支持单路资源播放的显示设备,若显示设备接收到终端推送的投屏数据时,自身具有在播资源,则将导致用户不得不中断正在观看的媒体资源,才能跳转到播放投屏资源,无法满足用户同步观看多个媒体资源的需求。In some implementations, if the display device only supports playing a single-channel media resource, optionally, when the user initiates screen projection, the terminal device can generate a stop instruction, and the screen projection request sent to the display device carries the stop instruction And the projection data such as URI/URL of the resource, after the display device receives the projection request and recognizes the stop command in the projection request, it will first stop playing the current broadcast resource to release the occupied playback resource, and then load the And play the projection data. Optionally, or the terminal device does not generate a stop instruction, but directly pushes the screen projection data to the display device; when the display device receives the screen projection data, the controller of the display device generates a stop instruction, and sends the stop instruction to the The player of the broadcasting resource, so as to control the player of the broadcasting resource to close and stop playing the broadcasting resource. For a display device that only supports single-channel resource playback, if the display device has on-broadcast resources when it receives the projection data pushed by the terminal, the user will have to interrupt the media resource being watched before jumping to the playback projection screen resources, which cannot meet the needs of users to watch multiple media resources synchronously.
在一些实施方式中,可支持用户自定义显示设备是否具备多路资源同步播放能力,可选地,例如在显示设备的设置菜单中增添一播放能力设置页面,在该页面中,用户可选择开启或关闭多路资源同步播放能力。若用户关闭多路资源同步播放能力,即设置显示设备仅支持单路资源播放,则显示设备需要在关闭当前在播资源的播放器,释放被占用的播放资源后,才能起播投屏数据;若用户开启多路资源同步播放能力,则可另行新建一播放器去加载及播放投屏数据,可无需停掉当前在播资源的播放。若用户始终未参与播放能力的定义和调整,可将多路资源同步播放能力默认设置为开启状态。显示设备在启用多路资源同步播放功能后,可以接收单独一个终端设备推送的一个或多个媒体资源,也可同时接收多个终端设备分别推送的一个或多个媒体资源,从而适应更多的应用场景。In some implementations, users can customize whether the display device has the ability to play multiple resources synchronously. Optionally, for example, a playback capability setting page is added to the setting menu of the display device. In this page, the user can choose to enable Or turn off the ability to play multiple resources synchronously. If the user disables the multi-channel resource synchronous playback capability, that is, the display device only supports single-channel resource playback, the display device needs to close the player of the currently broadcast resource and release the occupied playback resources before starting to broadcast the projection data; If the user enables the synchronous playback capability of multiple resources, a new player can be created to load and play the projected data without stopping the playback of the currently broadcasting resources. If the user has not participated in the definition and adjustment of the playback capability, the multi-channel resource synchronous playback capability can be set to be enabled by default. After enabling the multi-channel resource synchronous playback function, the display device can receive one or more media resources pushed by a single terminal device, and can also receive one or more media resources pushed by multiple terminal devices at the same time, so as to adapt to more Application scenarios.
在一些实施方式中,终端设备在发送投屏请求之前,需要搜索附近可建立投屏连接的显示设备,在搜索到某一显示设备A时,终端设备可向显示设备A发送查询指令,显示设备A接收并响应该查询指令后,查询并向终端设备反馈自身的资源播放能力,使终端设备提前获知显示设备A是否支持多路资源同 步播放。In some implementations, before sending a screen projection request, the terminal device needs to search for nearby display devices that can establish a screen projection connection. When a certain display device A is found, the terminal device can send a query command to the display device A, and the display device After receiving and responding to the query instruction, A queries and feeds back its own resource playback capability to the terminal device, so that the terminal device knows in advance whether the display device A supports simultaneous playback of multiple resources.
在一些实施方式中,终端设备在向显示设备A发送投屏请求时,若获知显示设备A仅支持播放单路媒体资源,可选地,由终端设备生成停止指令,并使投屏请求中同时携带停止指令以及投屏资源的URI/URL等数据,显示设备A接收到投屏请求时,对投屏请求进行解析,分离出停止指令和投屏数据,若显示设备A当前具有在播资源,则先响应停止指令,关闭当前在播资源的播放器,并重新创建新的播放器,然后利用新的播放器加载及播放终端推送的投屏数据;若显示设备A当前无在播资源,则直接创建播放器去加载及播放投屏数据。In some implementations, when the terminal device sends a screen projection request to display device A, if it knows that display device A only supports playing a single-channel media resource, optionally, the terminal device generates a stop instruction and makes the screen projection request simultaneously Carry the data such as the stop command and the URI/URL of the screen projection resource. When the display device A receives the screen projection request, it parses the screen projection request and separates the stop command and the screen projection data. If the display device A currently has the broadcast resource, Then respond to the stop command first, close the player of the current broadcast resource, and re-create a new player, and then use the new player to load and play the projection data pushed by the terminal; if it is displayed that device A currently has no broadcast resource, then Create a player directly to load and play screencast data.
在一些实施方式中,终端设备在向显示设备A发送投屏请求时,若获知显示设备A仅支持播放单路媒体资源,可选地,终端设备可先生成一停止指令,并将停止指令发送给显示设备A;显示设备A在接收到停止指令时,检测自身当前是否有在播资源,若显示设备A当前具有在播资源,则响应停止指令,关闭当前在播资源的播放器,并向终端设备发送已停止消息;终端设备在接收到已停止消息时,将投屏数据发送给显示设备A,显示设备A接收到投屏数据时,创建播放器去加载及播放该投屏数据。显示设备A在接收到停止指令时,若检测到自身当前无在播资源,则向终端设备发送投屏数据获取请求,终端设备A响应投屏数据获取请求,将投屏数据发送给显示设备A,显示设备A利用创建的播放器加载及播放投屏数据。In some implementations, when the terminal device sends a screen casting request to display device A, if it knows that display device A only supports playing a single-channel media resource, optionally, the terminal device may first generate a stop instruction, and send the stop instruction to Display device A; when display device A receives a stop instruction, it detects whether it currently has broadcast resources. If display device A currently has broadcast resources, it responds to the stop instruction, closes the player of the current broadcast resource, and sends a message to the terminal The device sends a stopped message; when the terminal device receives the stopped message, it sends the projection data to the display device A, and when the display device A receives the projection data, it creates a player to load and play the projection data. When display device A receives the stop instruction, if it detects that it has no resources currently on the air, it sends a screen projection data acquisition request to the terminal device, and terminal device A responds to the screen projection data acquisition request and sends the screen projection data to display device A , display device A uses the created player to load and play the projection data.
终端设备在向显示设备A发送投屏请求时,若获知显示设备A支持同步播放多路资源,则不生成停止指令,仅向显示设备A发送投屏数据,显示设备A接收到投屏数据时,无论当前是否具有在播资源,都允许另行新建一播放器去加载及播放投屏数据。When the terminal device sends a screen projection request to display device A, if it knows that display device A supports synchronous playback of multiple resources, it does not generate a stop command, but only sends screen projection data to display device A, and when display device A receives the projection data , it is allowed to create a new player to load and play the projection data, regardless of whether there are currently broadcast resources.
用户向显示设备A发起投屏请求后,终端设备端可以无需考虑显示设备A是否支持多路资源同步播放,而仅向显示设备A发送投屏数据,由显示设备A自身决策是否需要停止在播资源。显示设备A在接收到终端推送的投屏数据时,首先查询自身的资源同步播放能力,若查询到自身不具备多路资源同步播放能力(即仅支持单路资源播放),并且检测到当前具有在播资源,可由控制器生成停止指令,并将该停止指令下发给在播资源对应的播放器1,从而关闭播放器1,然后新建播放器2去加载及播放投屏数据;或者,显示设备A若查询到自身不具备多路资源同步播放能力(即仅支持单路资源播放),并且检测到当前无在播资源,则无需生成停止指令,直接新建播放器去加载及播放投屏资源。After the user initiates a screen casting request to display device A, the terminal device can only send screen projection data to display device A without considering whether display device A supports synchronous playback of multiple resources, and display device A itself decides whether to stop broadcasting. resource. When display device A receives the screen projection data pushed by the terminal, it first inquires its own resource synchronous playback capability. For broadcasting resources, the controller can generate a stop command, and send the stop command to the player 1 corresponding to the broadcasting resource, so as to close the player 1, and then create a new player 2 to load and play the projection data; or, display If device A finds that it does not have the ability to play multi-channel resources synchronously (that is, only supports single-channel resource playback), and detects that there is no currently broadcast resource, it does not need to generate a stop command, and directly creates a new player to load and play the projected screen resource .
在一些实施方式中,显示设备A在接收到终端推送的投屏数据时,若查询到自身具备多路资源同步播放能力,则无论当前是否具有在播资源,可选择另行新建一路播放器去加载及播放投屏数据。In some implementations, when the display device A receives the projection data pushed by the terminal, if it finds that it has the ability to play multiple resources synchronously, it can choose to create another player to load it regardless of whether it currently has resources that are being broadcast. And play the projection data.
在一些实施方式中,终端设备在向显示设备推送投屏数据之前,也可主动访问显示设备,去识别显示设备当前具备的资源播放能力,可选地,显示设备端可在相关投屏协议/服务内对其资源播放能力进行描述,作为一种示例,例如在rendererdevicedesc.xml文件中设置目标字段,目标字段例如为<modelDescription>multiplay</modelDescription>,若终端设备访问rendererdevicedesc.xml文件后读取到具有目标字段,则获知显示设备具备多路资源同步播放能力,则终端设备不生成停止指令,直接推送投屏数据;若终端设备未读取到目标字段,相当于读取到目标字段为空,则获知显示设备仅具备单路媒体资源播放能力,则终端设备端可生成停止指令,通过停止指令去触发显示设备端停止播放当前的在播资源。In some implementations, before the terminal device pushes the screen projection data to the display device, it can also actively access the display device to identify the current resource playback capability of the display device. Optionally, the display device can be in the relevant screen projection protocol/ Describe its resource playback capability in the service. As an example, for example, set the target field in the rendererdevicedesc.xml file. The target field is, for example, <modelDescription>multiplay</modelDescription>. If the terminal device accesses the rendererdevicedesc.xml file and reads If the target field is found, it is known that the display device has the ability to play multiple resources synchronously, and the terminal device does not generate a stop command, but directly pushes the projection data; if the terminal device does not read the target field, it is equivalent to reading that the target field is empty , then it is known that the display device only has the ability to play single-channel media resources, then the terminal device can generate a stop command, and use the stop command to trigger the display device to stop playing the current broadcast resource.
在一些实施方式中,也可在目标字段中设置标志位,终端设备通过访问目标字段并读取其中标志位的值,即可获知显示设备所具备的播放能力,例如标志位的值被置为1时,即指示显示设备具备多路资源同步播放能力;若标志位的值被置为0,即指示显示设备不具备多路资源同步播放能力,而仅支持单路媒体资源播放。In some implementations, the flag bit can also be set in the target field, and the terminal device can know the playback capability of the display device by accessing the target field and reading the value of the flag bit, for example, the value of the flag bit is set to When it is 1, it indicates that the display device has the ability to play multiple resources synchronously; if the value of the flag bit is set to 0, it indicates that the display device does not have the ability to play multi-channel resources synchronously, but only supports the playback of a single media resource.
在一些实施方式中,终端设备推送的媒体资源,按照资源类型可分为即视频类型、音频类型和图像类型等,显示设备端可以利用视频播放器、音频播放器和图像播放器等,从而实现按类播放,并且支持不同类型的播放器同时运行。In some implementations, the media resources pushed by the terminal device can be divided into video types, audio types, and image types according to resource types, and the display device can use video players, audio players, and image players, etc., so as to realize Play by category, and support different types of players to run at the same time.
在一些实施方式中,为实现多路投屏播放,创建多个视频播放器,每个视频播放器可以对视频进行播放控制,包括但不限于视频音量、分辨率、倍速、播放进度(例如暂停、seek、快进、快退)等方面的调节和控制。相应地,如图5的UI示例,在显示设备的显示器(以下也称作播放界面)上,创建并显示多个用于显示视频或图像的窗口,以下称为播放窗口,每个播放窗口显示一个视频播放器输出的视频画面。本申请实施方式的播放窗口能够播放动态的视频图像,还能够显示或呈现静态的图像。In some implementations, multiple video players are created in order to realize multi-channel projection, and each video player can control video playback, including but not limited to video volume, resolution, speed, playback progress (such as pause , seek, fast forward, fast rewind) and other aspects of adjustment and control. Correspondingly, as shown in the UI example of Figure 5, on the display of the display device (hereinafter also referred to as the playback interface), create and display a plurality of windows for displaying videos or images, hereinafter referred to as playback windows, and each playback window displays A video frame output by a video player. The play window in the embodiment of the present application can play dynamic video images, and can also display or present static images.
在一些实施方式中,由于显示设备一般仅支持单路音频的输出及播放,毕竟同时输出多路音频会导致声音混合现象,使用户无法听清每个音频资源的声音,因此无论显示设备被推送多少路音频资源,显示设备都仅运行一个音频播放器,例如音频播放器当前正在播放音频资源1,若显示设备接收到音频资源2的推送,则音频播放器需要停止播放音频资源1,而是替换为起播音频资源2,以避免音频资源间的播放冲突。音频播放器可以对音频进行播放控制,包括但不限于音频音量、倍速、音效、播放进度(例如暂停、seek、前进、后退)、歌曲切换、播放模式(单曲循环、随机播放、顺序播放)等方面的调节和控制。相应地,如图6的UI示例,在显示设备的播放界面上,仅创建一个对应于音频类型的播放窗口,该播放窗口可显示音频播放信息,音频播放信息包括但不限于歌名、歌手、歌词、歌曲时长、播放进度条、暂停/播放控件、背景图像等于音频有关的内容。当用户触发推送下一首歌曲的指令,则直接在显示设备上切换为下一首歌曲的信息,以及切换为播放下一首歌曲。In some implementations, since the display device generally only supports the output and playback of a single channel of audio, after all, outputting multiple channels of audio at the same time will cause sound mixing, making it impossible for the user to hear the sound of each audio resource, so no matter the display device is pushed How many channels of audio resources, the display device only runs one audio player, for example, the audio player is currently playing audio resource 1, if the display device receives the push of audio resource 2, the audio player needs to stop playing audio resource 1, but Replace it with starting audio resource 2 to avoid playback conflicts between audio resources. The audio player can control audio playback, including but not limited to audio volume, double speed, sound effects, playback progress (such as pause, seek, forward, back), song switching, playback mode (single loop, random playback, sequential playback) and other aspects of regulation and control. Correspondingly, as shown in the UI example in Figure 6, on the playback interface of the display device, only one playback window corresponding to the audio type is created, and the playback window can display audio playback information, and the audio playback information includes but is not limited to song title, singer, Lyrics, song duration, playback progress bar, pause/play controls, background images, etc. Audio-related content. When the user triggers an instruction to push the next song, the information of the next song will be directly displayed on the display device, and the next song will be played.
需要说明的是,这里所述的音频播放器与功放是不同的概念,音频播放器为音频播放程序,相当于一个应用;而功放是硬件层次,提供输出音频的物理通道,功放可包括内置功放和外部功放,内置功放 为显示设备的扬声器,外部功放是显示设备通过如蓝牙、HDMI等方式外接的功放设备,如音响、耳机等。It should be noted that the audio player and power amplifier mentioned here are different concepts. The audio player is an audio player program, which is equivalent to an application; while the power amplifier is a hardware level that provides a physical channel for outputting audio. The power amplifier may include a built-in power amplifier And the external power amplifier, the built-in power amplifier is the speaker of the display device, and the external power amplifier is the external power amplifier device connected to the display device through Bluetooth, HDMI, etc., such as audio, headphones, etc.
在一些实施方式中,终端设备可存储有本地图像,或者通过如壁纸应用、相册应用等APP下载及管理主题图像,可选地,终端设备本地或与图像有关的应用可以相册形式保存图像,相册中包括至少一张图像,终端设备将相册推送给显示设备后,显示设备创建图像播放器,图像播放器用于展示相册内的图像,以及按照指定的展示模式对相册进行展示控制,所述展示模式包括但不限于向前切换图像、向后切换图像、顺序展示图像、循环展示图像等。由于显示设备支持图像的动态切换,因此只需创建一个图像播放器,即可实现图像的显示切换。相应地,如图7的UI示例,在显示设备的播放界面上,仅创建一个对应于图像类型的播放窗口,该播放窗口与图像播放器关联,播放窗口中每次仅展示单张图像,播放窗口中设置有切换控件,参照图7,具体可包括向前切换控件和向后切换控件,用户选定向前切换控件,则切换为显示当前图像的前一张图像;若用户选定向后切换控件,则切换为显示当前图像的后一张图像,切换时可以按照相册中各图像的排序进行图像定位。In some embodiments, the terminal device can store local images, or download and manage themed images through APPs such as wallpaper applications and photo album applications. Optionally, the local or image-related applications of the terminal device can save images in the form of albums. Including at least one image, after the terminal device pushes the album to the display device, the display device creates an image player, and the image player is used to display the images in the album, and to control the display of the album according to the specified display mode, the display mode Including but not limited to switching images forward, switching images backward, displaying images sequentially, displaying images in a loop, etc. Since the display device supports dynamic image switching, it is only necessary to create an image player to realize image display switching. Correspondingly, as shown in the UI example in Figure 7, only one playback window corresponding to the image type is created on the playback interface of the display device, and the playback window is associated with the image player, and only a single image is displayed in the playback window at a time. A switching control is set in the window, referring to Fig. 7, which may specifically include a forward switching control and a backward switching control, and the user selects the forward switching control, then switches to display the previous image of the current image; if the user selects the backward switching control Switch the control to switch to display the next image of the current image. When switching, you can perform image positioning according to the order of the images in the album.
在一些实施方式中,用户可以手动操作图像窗口中的切换控件,按照指定的顺序(向前或向后)切换图像,若用户无操作,则保持当前图像的静态展示;或者,还可设置按照相册排序自动轮播图像,例如相册内包括图像1、图像2和图像3,则按照图像1→图像2→图像3→图像1→图像2→…的顺序循环展示;或者,还可按照图像1→图像2→图像3将相册内的图像遍历展示一轮后,当前图像停留在末序的图像3,用户可通过操作切换控件来切换图像。In some implementations, the user can manually operate the switching control in the image window to switch images in a specified order (forward or backward), and if the user does not operate, the static display of the current image will be maintained; or, it can also be set to Album sorting automatically rotates images. For example, if an album includes image 1, image 2, and image 3, it will be displayed in the order of image 1 → image 2 → image 3 → image 1 → image 2 → ...; or, it can also be displayed in accordance with image 1 →Image 2→Image 3 After traversing and displaying the images in the album for a round, the current image stays at the last image 3, and the user can switch images by operating the switch control.
在一些实施方式中,例如显示设备的图像窗口中当前展示一张风景图像A,此时显示设备接收到某终端设备推送的家庭相册B,则无需新建图像播放器和图像窗口,控制原有的图像窗口停止显示风景图像A,而替换为加载显示新接收的家庭相册B中的图像。可选地,可以将风景图像A与家庭相册B进行组合,得到投屏相册,投屏相册的排序为风景图像A在前,家庭相册B依序排后,这样通过投屏相册自循环播放或用户手动切换等形式,使用户还可浏览到之前被替换掉的风景图像A。In some embodiments, for example, a landscape image A is currently displayed in the image window of the display device. At this time, the display device receives the family photo album B pushed by a certain terminal device, so there is no need to create a new image player and image window, and control the original The image window stops displaying the landscape image A, and instead loads and displays the image in the newly received family album B. Optionally, the landscape image A and the family album B can be combined to obtain a screen-casting album. The screen-casting albums are sorted such that the landscape image A is in the front, and the family album B is in sequence. In this way, the screen-casting album can be played in a loop or In the form of manual switching by the user, the user can also browse to the previously replaced landscape image A.
在一些实施方式中,显示设备可以维护一个投屏相册,并按照图像被推送的时间顺序,排序并存储投屏图像,在每次新推送的图像展示完毕后,可以自动循环展示投屏相册中的历史图像,为用户提供更好的图像浏览体验。In some implementations, the display device can maintain a screen-casting album, and sort and store the screen-casting images according to the time order in which the images are pushed, and can automatically display the images in the screen-casting album in a loop after each newly pushed image is displayed. historical images to provide users with a better image browsing experience.
在一些实施方式中,所述图像可以为静态图像,或者也可为动态图像。例如,可以从视频中截取一定时长的片段,并制作为动态图像;又例如,将连续多帧图像进行动态拼接,得到如gif等格式的动图。In some embodiments, the image may be a static image, or may also be a dynamic image. For example, a segment of a certain duration can be intercepted from a video and made into a dynamic image; for another example, multiple consecutive frames of images can be dynamically spliced to obtain a dynamic image in a format such as gif.
在一些实施方式中,如图5~图7的示例,对于任意类型的播放窗口,播放窗口中都可设置退出控件,支持用户随时退出某一路媒体资源的播放。例如,参照图5,当用户选定视频4对应的播放窗口4中的退出控件,则视频4对应的视频播放器会被释放,视频4被停止播放,同时播放窗口4会被销毁,播放界面中窗口总数由原来的4个变更为3个,可以重新调整窗口布局,图5中原窗口布局为4个播放窗口呈现“四宫格”阵列,调整后的窗口布局例如为播放窗口1和播放窗口2并行在上,播放窗口3独自居中在下。In some implementations, as shown in Figures 5 to 7, for any type of playback window, an exit control can be set in the playback window to support the user to exit the playback of a certain channel of media resources at any time. For example, referring to Figure 5, when the user selects the exit control in the playback window 4 corresponding to video 4, the video player corresponding to video 4 will be released, the playback of video 4 will be stopped, and the playback window 4 will be destroyed at the same time, and the playback interface The total number of windows in the middle is changed from 4 to 3, and the window layout can be readjusted. The original window layout in Figure 5 presents a "four-square grid" array of 4 playback windows. The adjusted window layout is, for example, playback window 1 and playback window 2 are parallel on top, and the playback window 3 is centered on the bottom alone.
在一些实施方式中,每新增一路投屏或退出一路投屏时,播放界面中的窗口数量都会随之改变,因此可根据窗口数量、每个窗口的大小、屏幕分辨率等多重因素,合理设定每个窗口的位置分布,从而给出适配于屏幕及当前播放场景的最佳窗口布局,本实施例不作具体限定。In some implementations, the number of windows in the playback interface will change accordingly every time a channel is added or exited. Therefore, a reasonable The position distribution of each window is set to provide an optimal window layout adapted to the screen and the current playing scene, which is not specifically limited in this embodiment.
在一种示例中,参照图6,当用户选定音频对应的播放窗口2中的退出控件时,音频播放器会被释放,当前被推送的音频停止播放,同时播放窗口2会被销毁,播放界面中的窗口总数由2变1,仅余一个播放视频1的播放窗口1,此时可以将播放窗口1切换为全屏模式。当再次接收到终端推送的音频数据时,需重新创建音频播放器及对应的播放窗口。In one example, referring to Figure 6, when the user selects the exit control in the playback window 2 corresponding to the audio, the audio player will be released, the currently pushed audio will stop playing, and the playback window 2 will be destroyed at the same time, and the playback The total number of windows in the interface changes from 2 to 1, and there is only one playback window 1 that plays video 1. At this time, the playback window 1 can be switched to full-screen mode. When the audio data pushed by the terminal is received again, the audio player and the corresponding playback window need to be recreated.
在一种示例中,参照图7,若用户选定用于展示图像的播放窗口3中的退出控件,则图像播放器会被释放,当前被推送的图像/相册被停止展示,同时播放窗口3也会被销毁,导致播放界面中的窗口总数由3变2,同样需要重新调整窗口布局,例如调整为播放窗口1和播放窗口2呈上下/左右分布。后续接收到终端新推送的图像数据时,需要重新创建图像播放器及对应的播放窗口。In one example, referring to FIG. 7 , if the user selects the exit control in the playback window 3 for displaying images, the image player will be released, and the currently pushed image/album will be stopped from being displayed, and the playback window 3 will be displayed simultaneously. It will also be destroyed, causing the total number of windows in the playback interface to change from 3 to 2. It is also necessary to re-adjust the window layout, for example, adjust the playback window 1 and playback window 2 to be vertical/left-right. When the image data newly pushed by the terminal is subsequently received, the image player and the corresponding playback window need to be recreated.
在一些实施方式中,例如显示设备正在播放CCTV5直播的体育赛事,此时突然接收到终端设备C推送的电影2,则创建两个播放窗口,播放窗口1显示CCTV5的直播画面,播放窗口2显示电影2的视频流,因此在创建窗口时,可使播放窗口2具有退出控件,播放窗口1无退出控件,即接受投屏前,用户初始观看的资源无法退出,支持在用户退出各路投屏播放后,显示设备自动返回投屏前的播放频道,或者使显示设备自动续播投屏前用户正观看的媒体资源。In some embodiments, for example, if the display device is playing a live sports event on CCTV5, and suddenly receives a movie 2 pushed by terminal device C, two play windows are created, play window 1 displays the live broadcast of CCTV5, and play window 2 displays The video stream of movie 2. Therefore, when creating a window, you can make the playback window 2 have an exit control, and the playback window 1 has no exit control. That is, the resource that the user initially watched cannot exit before accepting the projection. After playing, the display device automatically returns to the playback channel before the screen projection, or the display device automatically resumes playing the media resource that the user was watching before the screen projection.
在一些实施方式中,由于终端推送的视频和音频都具有预设总时长的要求,例如某歌曲预设总时长为4分钟,某电影的预设总时长为90分钟等,因此显示设备可以监控每路投屏资源的播放进程,在检测到某一路投屏资源的播放进程达到终点,即已播时长等于预设总时长,说明在此期间用户未主动退出该投屏资源的播放,该投屏资源为自然播放结束,则将该投屏资源对应的视频/音频播放器释放,同时将其对应的播放窗口销毁,从而彻底退出该路投屏。In some implementations, since the video and audio pushed by the terminal have a preset total duration requirement, for example, the preset total duration of a certain song is 4 minutes, the preset total duration of a certain movie is 90 minutes, etc., so the display device can monitor The playback process of each screen projection resource, when it is detected that the playback process of a certain screen projection resource has reached the end, that is, the broadcast duration is equal to the preset total duration, it means that the user has not voluntarily exited the playback of the projection screen resource during this period, and the projection If the screen resource is finished playing naturally, the video/audio player corresponding to the screen projection resource will be released, and the corresponding playback window will be destroyed at the same time, so as to completely exit the screen projection.
在一些实施方式中,显示设备接收到的多路媒体数据被分配在同一播放界面的不同播放窗口中进行显示,例如显示设备当前正在显示视频1和音频1,即获取到当前显示状态为具有两个播放窗口,播放窗口1对应视频类型,播放窗口2对应音频类型,此时显示设备又接收到视频2的投屏推送,则例如可新增一个播放窗口3显示视频2,或者,将播放窗口1或播放窗口2替换为显示视频2;又例如,显示设备接收到音频2的推送,由于播放窗口2正在播放音频1,而声音功放一般仅支持播放单路音频数据, 则播放窗口2可以停止播放音频1,并被替换为播放音频2。In some implementations, the multi-channel media data received by the display device is assigned to be displayed in different play windows of the same play interface, for example, the display device is currently displaying video 1 and audio 1, that is, the current display state is obtained as having two Play window 1 corresponds to the video type, and play window 2 corresponds to the audio type. At this time, the display device receives the projection push of video 2. For example, a new play window 3 can be added to display video 2, or the play window can be 1 or playing window 2 is replaced by displaying video 2; for another example, when the display device receives the push of audio 2, since playing window 2 is playing audio 1, and the sound power amplifier generally only supports playing single-channel audio data, playing window 2 can be stopped Play Audio 1, and is replaced by Play Audio 2.
由此可见,投屏的资源类型和显示设备的当前显示状态都会影响播放界面的最终呈现,其中所述当前显示状态包括显示界面当前显示的播放窗口数量,以及每个播放窗口对应的资源类型,例如图6的当前显示状态为{窗口1-视频;窗口2-音频}。It can be seen that both the resource type of the projection screen and the current display state of the display device will affect the final presentation of the playback interface, wherein the current display state includes the number of playback windows currently displayed on the display interface, and the resource type corresponding to each playback window, For example, the current display state of FIG. 6 is {window 1-video; window 2-audio}.
在一些示例性的实施方式中,显示设备每接收到一次推送,都需要检测投屏的资源类型以及当前显示状态,从而为播放界面针对性地制定适配当前播放场景的更新策略,更新策略指示在哪一目标播放窗口加载显示新接收的待播数据,还可涉及其他如窗口数量及布局调整等内容,从而既能避免媒体资源间的播放冲突,还支持用户通过多窗口同步浏览多项被推送的媒体资源,提升用户体验。In some exemplary implementations, each time the display device receives a push, it needs to detect the resource type and the current display state of the projected screen, so as to formulate an update strategy for the playback interface that adapts to the current playback scene, and the update strategy indicates In which target playback window to load and display the newly received data to be played, other content such as the number of windows and layout adjustments can also be involved, so as to avoid playback conflicts between media resources and support users to simultaneously browse through multiple windows. Push media resources to improve user experience.
在一些实施方式中,在显示设备启用多路资源同步播放功能后,显示设备可接收单独一个终端推送的多个媒体资源,或多个终端分别推送的一个或多个媒体资源,即理论上显示设备的投屏路数无上限,但考虑到若要播放界面容纳较多的播放窗口,则必然要压缩每个窗口的尺寸,则窗口显示的视频、音频播放信息和图像会被同步压缩,压缩过度会用户无法看清楚媒体资源的内容和细节,观看体验差。对此,本申请提供一预设上限值,预设上限值用于约束播放界面内允许显示播放窗口的最大数量,预设上限值并不是越大越好,而是在取值尽量大的可能性下兼顾视觉观看效果,本申请对预设上限值的取值不作限定,例如若预设上限值为4,则显示设备具备支持4路媒体资源同步播放的能力。在具有预设上限值约束的基础上,下面将针对不同的播放场景,提供相应的更新策略。In some implementations, after the display device enables the multi-channel resource synchronous playback function, the display device can receive multiple media resources pushed by a single terminal, or one or more media resources pushed by multiple terminals respectively, that is, theoretically display There is no upper limit to the number of projection channels of the device, but considering that if the playback interface is to accommodate more playback windows, the size of each window must be compressed, and the video, audio playback information, and images displayed in the window will be compressed synchronously. If it is too much, the user cannot see the content and details of the media resource clearly, and the viewing experience is poor. In this regard, this application provides a preset upper limit value, which is used to restrict the maximum number of playback windows allowed to be displayed in the playback interface. The preset upper limit value is not as large as possible, but as large as possible. Considering the possibility of visual viewing, this application does not limit the value of the preset upper limit. For example, if the preset upper limit is 4, the display device has the ability to support simultaneous playback of 4 channels of media resources. On the basis of the preset upper limit constraints, the following will provide corresponding update strategies for different playback scenarios.
在一些实施方式中,若终端设备向显示设备推送的待播数据为视频类型,由于视频可以通过创建独立运行的视频播放器及窗口进行播放,而不是如音频类型或图像类型需要共享同一个播放器和窗口,因此检测播放界面当前的播放窗口数量是否小于预设上限值。In some implementations, if the data to be played pushed by the terminal device to the display device is a video type, since the video can be played by creating an independently running video player and window, instead of sharing the same playback data such as audio or image types player and window, so it is detected whether the current number of playback windows on the playback interface is less than the preset upper limit.
在一些实施方式中,一种更新策略被配置为:显示设备新接收到一路视频推送时,若当前的播放窗口数量小于预设上限值,则可在播放界面中创建并新增一个用于目标播放窗口,用以显示新接收的待播数据,其他播放窗口的播放状态保持不变,然后根据更新后的播放窗口总数,重新匹配播放界面的窗口布局。In some implementations, an update strategy is configured as follows: when the display device receives a new video push, if the current number of playback windows is less than the preset upper limit, a new one can be created and added in the playback interface for The target playback window is used to display the newly received data to be played. The playback status of other playback windows remains unchanged, and then re-match the window layout of the playback interface according to the updated total number of playback windows.
作为一种示例,以显示设备当前显示图6所示的播放界面,预设上限值等于4为例,当前播放界面包括显示视频1的播放窗口1,以及播放音频1(同步显示音频1的音频播放信息)的播放窗口2,此时显示设备接收到终端设备D新推送的视频2,由于当前窗口数量未达上限,如图8所示,可直接创建并新增一个播放窗口3(即目标播放窗口),并在播放窗口3中加载显示视频2,此时播放窗口1和播放窗口2的播放状态保持不变,即播放窗口1仍保持播放视频1,播放窗口2仍保持播放音频1。由于播放窗口总数由2更新为3,则需要重新调整窗口布局,在图8示例中,窗口布局变化为播放窗口1和播放窗口2沿横向并排位于界面上部,播放窗口3单独居中位于界面下部,整体呈现为类似于倒“品”字形布局。需要说明的是,在播放窗口总数发生改变时,窗口布局的调整形式不限定。As an example, take the display device currently displaying the playback interface shown in FIG. 6 and the preset upper limit value is equal to 4 as an example, the current playback interface includes a playback window 1 displaying video 1, and playing audio 1 (synchronously displaying audio 1 Audio playback information) playback window 2. At this time, the display device receives the video 2 newly pushed by the terminal device D. Since the current number of windows does not reach the upper limit, as shown in Figure 8, a playback window 3 can be directly created and added (i.e. target playback window), and load and display video 2 in playback window 3, at this time the playback status of playback window 1 and playback window 2 remains unchanged, that is, playback window 1 still keeps playing video 1, and playback window 2 still keeps playing audio 1 . Since the total number of playback windows is updated from 2 to 3, the window layout needs to be readjusted. In the example in Figure 8, the window layout changes so that playback window 1 and playback window 2 are side by side in the upper part of the interface along the horizontal direction, and playback window 3 is centered alone in the lower part of the interface. The overall presentation is similar to the inverted "pin" layout. It should be noted that when the total number of playback windows changes, the window layout adjustment form is not limited.
可选地,可以预先设定不同播放窗口数量对应的布局模板,以预设上限值等于4为例,播放窗口数量为1时,布局模板比如设置为单窗口独占屏幕(即全屏显示);播放窗口数量为2时,布局模板比如设置为双窗口并排或并列显示;播放窗口数量为3时,布局模板比如设置为正“品”或倒“品”字形布局,三个窗口同行排布,三个窗口同列排布,或者播放窗口1单独位于界面左部,播放窗口2和播放窗口3并列位于界面右部,又或者播放窗口1和播放窗口2并列位于界面左部,播放窗口3单独位于界面右部等;播放窗口数量为4时,布局模板比如设置为四宫格形式等。当窗口数量发生改变时,调用更新后的播放窗口总数对应的局部模板,并按照布局模板排序显示各个播放窗口,以及在各播放窗口中显示所关联的媒体数据。Optionally, layout templates corresponding to different numbers of playback windows can be preset. Taking the preset upper limit equal to 4 as an example, when the number of playback windows is 1, the layout template can be set as a single-window exclusive screen (i.e. full-screen display); When the number of playback windows is 2, the layout template is set to display double windows side by side or side by side; when the number of playback windows is 3, the layout template is set to a positive "pin" or inverted "pin" layout, for example, and the three windows are arranged in parallel. The three windows are arranged in the same row, or Play Window 1 is located alone on the left of the interface, Play Window 2 and Play Window 3 are located side by side on the right of the interface, or Play Window 1 and Play Window 2 are located side by side on the left of the interface, and Play Window 3 is located alone The right part of the interface, etc.; when the number of playback windows is 4, the layout template, for example, is set in the form of a four-square grid. When the number of windows changes, the local template corresponding to the updated total number of playback windows is called, and each playback window is sorted and displayed according to the layout template, and the associated media data is displayed in each playback window.
可选地,前述排序显示例如是按照各路媒体数据被推送/被显示设备接收的时间进行窗口排序;或者,按照资源类型进行优先级排序,例如显示设备接收到4路投屏推送的媒体数据,其中两路为视频类型,一路为图像类型,一路为音频类型,则按照视频>音频>图像的优先级排序,即播放窗口1和播放窗口2分别显示两路视频,播放窗口3显示音频,其中播放窗口4显示图像,播放窗口1和播放窗口2属同一优先级,可以按照媒体数据被推送/被接收的时间进行同级内部排序,音频和图像每种类型的窗口最多只有一个。需要说明的是,窗口排序规则不限于本申请实施例的示例。Optionally, the aforementioned sorting display is, for example, window sorting according to the time when each channel of media data is pushed/received by the display device; or, priority sorting is performed according to resource type, for example, the display device receives 4 channels of media data pushed by screen projection , where two channels are of video type, one channel is of image type, and the other channel is of audio type, then the sequence will be sorted according to the priority of video > audio > image, that is, playback window 1 and playback window 2 display two channels of video respectively, and playback window 3 displays audio, Among them, playback window 4 displays images, playback window 1 and playback window 2 belong to the same priority, and can be sorted internally at the same level according to the time when media data is pushed/received. There is only one window of each type for audio and image at most. It should be noted that the window sorting rules are not limited to the examples in this embodiment of the application.
前述实施例是在播放界面内窗口未达上限数量时,利用新增的窗口去加载显示新接收的视频数据。在其他示例性的实现方式中,一种更新策略被配置为:显示设备新接收到一路视频推送时,若当前的播放窗口数量小于预设上限值,则弹出第一提示弹窗,并根据用户通过第一提示弹窗的操作,对播放界面进行相应的更新。In the foregoing embodiments, when the number of windows in the playback interface does not reach the upper limit, the newly added windows are used to load and display newly received video data. In other exemplary implementations, an update strategy is configured as follows: when the display device receives a new video push, if the number of current playback windows is less than the preset upper limit, a first pop-up window pops up, and according to The user updates the playing interface accordingly through the operation of the first prompt pop-up window.
在一些实施方式中,参照图9的示例,第一提示弹窗中包括新增控件和第一替换控件。若用户选定新增控件,则在播放界面中创建并新增一个播放窗口作为目标播放窗口(即播放窗口3),并在目标播放窗口中加载显示新接收的待播数据(视频2),其他播放窗口(即播放窗口1和播放窗口2)的播放状态保持不变,以及,根据更新后的播放窗口总数,重新匹配播放界面的窗口布局,即与前述实施例的新增机制下的更新方式相同。In some implementations, referring to the example in FIG. 9 , the first prompt pop-up window includes a new control and a first replacement control. If the user selects the new control, then create and add a playback window in the playback interface as the target playback window (ie, playback window 3), and load and display the newly received data to be played (video 2) in the target playback window, The playback state of other playback windows (i.e. playback window 1 and playback window 2) remains unchanged, and, according to the total number of playback windows after updating, re-match the window layout of the playback interface, that is, the update under the new mechanism of the aforementioned embodiment the same way.
在一些实施方式中,所述第一替换控件是根据当前显示状态生成的,参照图6和图9的示例,当前显示状态为包括两个播放窗口,一个为视频窗口,一个为音频窗口,则生成的第一替换控件包括两个子控件,分别为“替换视频窗口”和“替换音频窗口”,用户可以根据观看倾向,选择保留哪一路媒体数据,替换哪一路媒体数据,例如播放窗口2中的音频1用户已收听完毕,并且不想再重复收听,则可以选定“替换音频窗口”,则被选中替换的播放窗口2即成为目标播放窗口,功放设备停止播放音频1, 播放窗口2停止显示音频播放信息,播放窗口2被替换为显示视频2,播放窗口1的播放状态保持不变,替换后的UI更新如图10所示,更新为两路视频在播。利用此替换机制更新播放界面时,播放界面内的窗口数量不发生改变,仅仅是其中一个目标播放窗口显示的媒体数据被替换,因此无需调整窗口布局,该更新策略支持用户将某路不感兴趣的在播资源替换为新推送资源,为播放界面内窗口显示提供更多可行性,以及对播放场景/用户兴趣意向的适应性。In some implementations, the first replacement control is generated according to the current display state. Referring to the examples in FIG. 6 and FIG. 9 , the current display state includes two playback windows, one is a video window and the other is an audio window, then The generated first replacement control includes two sub-controls, namely "Replace Video Window" and "Replace Audio Window". Users can choose which channel of media data to keep and which channel to replace according to their viewing tendency. For example, the If the user has finished listening to Audio 1 and does not want to listen to it again, he can select "Replace Audio Window", then the selected and replaced playback window 2 will become the target playback window, the power amplifier device will stop playing Audio 1, and the playback window 2 will stop displaying audio For playback information, playback window 2 is replaced with display video 2, and the playback status of playback window 1 remains unchanged. The UI update after the replacement is shown in Figure 10, and the update shows that two videos are playing. When using this replacement mechanism to update the playback interface, the number of windows in the playback interface does not change, only the media data displayed in one of the target playback windows is replaced, so there is no need to adjust the window layout. On-broadcast resources are replaced with new push resources, providing more feasibility for window display in the playback interface, as well as adaptability to playback scenarios/user interests.
在一些实施方式中,一种更新策略被配置为:显示设备新接收到一路视频推送时,若当前的播放窗口数量等于预设上限值,这种场景就无法在播放界面上新增窗口,则弹出第二提示弹窗,并根据用户通过第二提示弹窗的操作,对播放界面进行相应的更新。In some implementations, an update strategy is configured as follows: when the display device receives a new video push, if the number of current playback windows is equal to the preset upper limit, in this scenario, no new windows can be added on the playback interface. Then a second prompt pop-up window pops up, and the playback interface is updated accordingly according to the user's operation through the second prompt pop-up window.
在一些实施方式中,参照图5的示例,显示设备的当前显示状态为包括4个播放窗口,分别显示视频1、视频2、视频3和视频4共四路视频,以预设上限值等于4为例,在此播放场景下显示设备接收到终端设备E推送的视频5,由于播放窗口总数已达上限,可显示如图11示例的第二提示弹窗,第二提示弹窗中包括取消控件和第二替换控件。若用户选定取消控件,则自动取消本次投屏,即取消播放终端设备E推送的视频5,播放界面也不发生更新。In some implementations, referring to the example in FIG. 5 , the current display state of the display device includes 4 playback windows, respectively displaying video 1, video 2, video 3 and video 4, a total of four video channels, with a preset upper limit equal to 4 as an example, in this playback scenario, the display device receives the video 5 pushed by the terminal device E. Since the total number of playback windows has reached the upper limit, it can display the second prompt pop-up window as shown in Figure 11. The second prompt pop-up window includes cancel control and a second replacement control. If the user selects the cancel control, the screen projection is automatically canceled, that is, the playback of the video 5 pushed by the terminal device E is cancelled, and the playback interface does not update.
在一些实施方式中,所述第二替换控件是根据当前显示状态生成的,参照图5和图11的示例,当前显示状态为包括四个视频窗口,则根据多路视频窗口的排序,对应生成的第二替换控件包括四个子控件,分别为“替换第一路视频窗口”、“替换第二路视频窗口”、“替换第三路视频窗口”和“替换第四路视频窗口”,在播放窗口总数达到上限,并且用户不想取消播放当前新推送的媒体数据,则可以根据兴趣和意向,从四路视频窗口中择一作为目标播放窗口,例如用户不想继续观看第三路视频,即可选定“替换第三路视频窗口”子控件,则如图12所示,播放窗口3停止播放视频3,而是被替换为播放视频5,播放窗口1、播放窗口2和播放窗口4的播放状态保持不变。该实施例可保证播放窗口总数始终满足上限要求,通过替换机制,使新接收到的投屏资源替换某一路旧媒体资源,避免新资源尚未起播就被取消播放的情况。In some implementations, the second replacement control is generated according to the current display state. Referring to the examples in FIG. 5 and FIG. 11 , the current display state includes four video windows, and the corresponding generated The second replacement control includes four sub-controls, which are "replace the first video window", "replace the second video window", "replace the third video window" and "replace the fourth video window". When the total number of windows reaches the upper limit, and the user does not want to cancel the playback of the currently newly pushed media data, he can choose one of the four video windows as the target playback window according to his interests and intentions. For example, if the user does not want to continue watching the third video, he can choose If the "replace the third video window" sub-control is set, as shown in Figure 12, the playback window 3 stops playing the video 3, but is replaced by the playback status of the playback video 5, the playback window 1, the playback window 2 and the playback window 4 constant. This embodiment can ensure that the total number of playback windows always meets the upper limit requirement, and through the replacement mechanism, the newly received projection screen resource can replace a certain channel of old media resources, avoiding the situation that the new resource is canceled before it starts playing.
前述实施例在播放窗口总数达到上限时,通过第二提示弹窗询问是取消投屏或是进行资源置换。在其他示例性的实现方式中,还提供一种更新策略:显示设备新接收到一路视频推送时,若当前的播放窗口数量等于预设上限值,则按照预设规则,从播放界面当前的所有窗口中筛选出目标播放窗口,并使目标播放窗口停止播放原媒体数据,替换为显示新接收的待播数据,其他播放窗口的播放状态保持不变。该实施例中,当窗口数目达到上限时,不显示第二提示弹窗询问用户,而是根据预设规则自动筛选出进行资源置换的目标播放窗口。In the aforementioned embodiment, when the total number of playback windows reaches the upper limit, the second prompt pop-up window is used to inquire whether to cancel screen projection or perform resource replacement. In other exemplary implementations, an update strategy is also provided: when the display device receives a new video push, if the current number of playback windows is equal to the preset upper limit value, then according to the preset rules, from the current playback window Filter out the target playback window from all windows, and make the target playback window stop playing the original media data, and replace it with the newly received data to be played, and the playback status of other playback windows remains unchanged. In this embodiment, when the number of windows reaches the upper limit, the second prompt pop-up window is not displayed to ask the user, but the target playback window for resource replacement is automatically screened out according to preset rules.
在一些实施方式中,例如所述预设规则为替换前一路投屏资源,以图5的播放场景为例,对于当前推送的视频5,其前一路被推送的是视频4,因此将视频4对应的播放窗口4筛选为目标播放窗口,播放窗口4停止播放原视频4,被替换为加载并起播视频5;又例如,所述预设规则为替换播放界面中当前最旧的媒体资源,即多路资源中最早被推送的资源,即将播放窗口1替换为播放视频5;又例如,所述预设规则还可从其他角度进行设置,例如替换播放量/热度最低的资源,替换视频时长最短的资源,替换出现播放卡顿甚至黑屏的资源,等等。具体可根据实际应用场景对所述预设规则进行设置及调整,本申请不作具体限定。In some implementations, for example, the preset rule is to replace the previous projection resource. Taking the playback scene in FIG. 5 as an example, for the currently pushed video 5, the previous push is video 4. The corresponding playback window 4 is selected as the target playback window, and the playback window 4 stops playing the original video 4, and is replaced by loading and starting video 5; for another example, the preset rule is to replace the current oldest media resource in the playback interface, That is, the resource that is pushed the earliest among the multi-channel resources is to replace the playback window 1 with the playback video 5; as another example, the preset rules can also be set from other angles, such as replacing the resource with the lowest playback volume/popularity, and replacing the video duration The shortest resources, replace resources that appear to freeze or even black screen, etc. Specifically, the preset rules may be set and adjusted according to actual application scenarios, which are not specifically limited in this application.
在上文中提到了对于音频类型和图像类型的媒体数据,多路音频数据共享同一个音频播放器及音频窗口,多路图像数据共享同一个图像播放器及图像窗口,为便于概括及统一描述,本申请将多路同类媒体数据共享同一个播放器及窗口时对应的资源类型命名为目标类型,目标类型为音频类型或图像类型。当显示设备接收到终端设备新推送的目标类型的媒体资源时,更新策略与视频类型略有区别。As mentioned above, for media data of audio type and image type, multiple channels of audio data share the same audio player and audio window, and multiple channels of image data share the same image player and image window. For the convenience of generalization and unified description, This application names the corresponding resource type when multiple channels of the same type of media data share the same player and window as the target type, and the target type is audio type or image type. When the display device receives the media resource of the target type newly pushed by the terminal device, the update strategy is slightly different from the video type.
在一些实施方式中,若检测到终端设备新推送的待播数据属于目标类型,则进一步检测播放界面中是否具有对应于同一目标类型的目标播放窗口。若播放界面中具有对应于同一目标类型的目标播放窗口,则停止播放该目标播放窗口当前播放的原媒体数据,并被替换为播放待播数据,其他播放窗口的播放状态保持不变。以图6作为示例,播放界面中播放窗口1播放视频1,播放窗口2播放音频1,此时显示设备接收到终端设备推送的音频2,音频2属于目标类型中的音频类型,并且播放界面中具有对应于音频类型的播放窗口2,则播放窗口2即为目标播放窗口,使播放窗口2停止播放音频1,被替换为播放音频2及同步显示音频2的播放信息,播放窗口1保持其播放状态不变。In some embodiments, if it is detected that the data to be played newly pushed by the terminal device belongs to the target type, it is further detected whether there is a target play window corresponding to the same target type in the playback interface. If there is a target playback window corresponding to the same target type in the playback interface, then stop playing the original media data currently played by the target playback window, and be replaced by the data to be played, and the playback status of other playback windows remains unchanged. Taking Figure 6 as an example, in the playback interface, playback window 1 plays video 1, and playback window 2 plays audio 1. At this time, the display device receives audio 2 pushed by the terminal device. Audio 2 belongs to the audio type in the target type, and in the playback interface If there is a playback window 2 corresponding to the audio type, then the playback window 2 is the target playback window, so that the playback window 2 stops playing audio 1, and is replaced by playing audio 2 and synchronously displaying the playback information of audio 2, and the playback window 1 keeps playing The status is unchanged.
在一些实施方式中,若播放界面中无对应于同一目标类型的目标播放窗口,则进一步检测播放界面当前包括的播放窗口数量是否小于预设上限值。若播放窗口数量未达上限,则支持以新增机制更新播放界面,即在播放界面中创建并新增一个播放窗口作为目标播放窗口,在目标播放窗口中显示新接收的媒体数据,其他播放窗口的播放状态保持不变,以及,根据更新后的播放窗口总数,重新匹配播放界面的窗口布局。以图7作为示例,显示设备当前的播放界面中播放窗口1显示视频1,播放窗口2显示视频2,播放窗口3显示图像,此时显示设备接收到终端设备F推送的音频1,播放界面中当前无音频窗口,创建并新增播放窗口4,并在播放窗口4中显示被推送的音频1的播放信息,以及控制功放同步起播音频1。In some implementations, if there is no target playback window corresponding to the same target type in the playback interface, it is further detected whether the number of playback windows currently included in the playback interface is less than a preset upper limit. If the number of playback windows does not reach the upper limit, it is supported to update the playback interface with a new mechanism, that is, create and add a playback window in the playback interface as the target playback window, display the newly received media data in the target playback window, and other playback windows The playback status of the player remains unchanged, and, according to the updated total number of playback windows, re-match the window layout of the playback interface. Taking Figure 7 as an example, in the current playback interface of the display device, the playback window 1 displays video 1, the playback window 2 displays video 2, and the playback window 3 displays images. At this time, the display device receives the audio 1 pushed by the terminal device F, and in the playback interface There is currently no audio window, create and add a playback window 4, and display the playback information of the pushed audio 1 in the playback window 4, and control the power amplifier to start playing audio 1 synchronously.
在一些实施方式中,若播放界面中无对应于同一目标类型的目标播放窗口,并且播放窗口数量未达上限,则显示第三提示弹窗。参照图13(a)的示例,该示例中显示设备当前包括两路视频和一路图像,播放窗口1播放视频1、播放窗口2播放视频2,播放窗口3播放图像,此时显示设备端接收到一路音频1的推送,此时显示的第三提示弹窗包括第二新增控件和第三替换控件。若用户选定第二新增控件,如图13(b)的示例,则创建并新增用于播放音频1的播放窗口4,并调整窗口布局为四宫格形式。In some implementations, if there is no target playback window corresponding to the same target type in the playback interface, and the number of playback windows does not reach the upper limit, a third prompt pop-up window is displayed. Referring to the example in Fig. 13(a), in this example, the display device currently includes two channels of video and one channel of images, the playback window 1 plays video 1, the playback window 2 plays video 2, and the playback window 3 plays images. At this time, the display device receives A channel of audio 1 is pushed, and the third prompt pop-up window displayed at this time includes the second new control and the third replacement control. If the user selects the second newly added control, as shown in the example in FIG. 13(b), create and add a playback window 4 for playing audio 1, and adjust the window layout to a four-square grid.
在一种示例中,第三替换控件是根据当前显示状态生成的,包括“替换第一路视频窗口”、“替换第二路视频窗口”和“替换图像窗口”这三个子控件,用户通过第三替换控件择一目标播放窗口,将目标播放窗口替换为播放音频1,其他窗口的播放状态以及窗口布局保持不变。例如,用户选定“替换第一路视频窗口”子控件,如图13(c)的示例,播放窗口1被选为目标播放窗口,则播放窗口1停止播放视频1,并被替换为播放音频1。In one example, the third replacement control is generated according to the current display state, including three sub-controls of "replace the first video window", "replace the second video window" and "replace the image window". 3. Replace control Select a target playback window, replace the target playback window with Play Audio 1, and the playback status and window layout of other windows remain unchanged. For example, the user selects the "replace the first video window" sub-control, as shown in Figure 13(c), and the playback window 1 is selected as the target playback window, then the playback window 1 stops playing video 1 and is replaced by playing audio 1.
在一些实施方式中,若播放界面中无对应于同一目标类型的目标播放窗口,并且播放窗口数量达到上限(以预设上限值等于4为例),则显示第三提示弹窗。参照图14(a)的示例,该示例中显示设备当前包括三路视频和一路图像,播放窗口1播放视频1、播放窗口2播放视频2,播放窗口3播放图像,播放窗口4播放视频3,此时显示设备端接收到一路音频1的推送,此时显示的第三提示弹窗包括第二取消控件和第三替换控件。若用户选定第二取消控件,则取消加载及播放音频1,播放界面保持现状。第三替换控件是根据当前显示状态生成的,包括“替换第一路视频窗口”、“替换第二路视频窗口”、“替换第三路视频窗口”和“替换图像窗口”这四个子控件,用户通过第三替换控件择一目标播放窗口,将目标播放窗口替换为播放音频1,其他窗口的播放状态以及窗口布局保持不变。例如,用户选定“替换图像窗口”子控件,如图14(b)的示例,播放窗口3被选为目标播放窗口,则播放窗口1停止展示图像,并被替换为播放音频1。In some implementations, if there is no target playback window corresponding to the same target type in the playback interface, and the number of playback windows reaches the upper limit (take the preset upper limit equal to 4 as an example), a third prompt pop-up window is displayed. Referring to the example in Figure 14(a), in this example, the display device currently includes three channels of video and one channel of images, the playback window 1 plays video 1, the playback window 2 plays video 2, the playback window 3 plays images, and the playback window 4 plays video 3, At this time, the display device receives a push of audio 1, and the third pop-up window displayed at this time includes a second cancel control and a third replacement control. If the user selects the second cancel control, the loading and playing of audio 1 is canceled, and the playback interface remains the status quo. The third replacement control is generated according to the current display state, including four sub-controls of "replace the first video window", "replace the second video window", "replace the third video window" and "replace the image window". The user selects a target playback window through the third replacement control, and replaces the target playback window with Play Audio 1, and the playback status and window layout of other windows remain unchanged. For example, the user selects the "replace image window" sub-control, as shown in Figure 14(b), and the playback window 3 is selected as the target playback window, then the playback window 1 stops displaying images and is replaced by playing audio 1.
当然,当窗口数量达到上限时,也可不显示第三提示弹窗进行询问,而是按照前述预设规则,从当前播放界面中筛选出目标播放窗口,具体实现方式可参照前述视频类型部分的实施例,此处不再赘述。显示设备接收到图像推送时播放界面的更新策略与接收到音频推送时相同。Of course, when the number of windows reaches the upper limit, the third prompt pop-up window may not be displayed for inquiry, but the target playback window may be selected from the current playback interface according to the aforementioned preset rules. For specific implementation methods, please refer to the implementation of the aforementioned video type section example, which will not be repeated here. When the display device receives an image push, the update policy of the playback interface is the same as when it receives an audio push.
参照图15(a)的示例,显示设备当前显示一路视频和一路图像,播放窗口1播放视频1,播放窗口2展示图像1,此时显示设备接收到终端设备K推送的图像2,则将播放窗口2作为目标播放窗口,如图15(b)所示,使播放窗口2停止显示图像1,并加载图像2于播放窗口2替换显示,播放窗口1的播放状态以及窗口布局保持不变。Referring to the example in Figure 15(a), the display device currently displays one video and one image, the playback window 1 plays video 1, and the playback window 2 displays image 1. At this time, the display device receives image 2 pushed by the terminal device K, and it will play Window 2 is used as the target playback window, as shown in Figure 15(b), stop displaying image 1 in playback window 2, and load image 2 to replace display in playback window 2, and the playback status and window layout of playback window 1 remain unchanged.
参照图16(a)的示例,显示设备当前在播一路视频和一路音频,播放窗口1播放音频1,播放窗口2播放视频1,此时显示设备接收到终端设备A推送的图像1,则显示第三提示弹窗。用户若选定第三提示弹窗中的第二新增控件,则如图16(b)所示,创建并新增用于展示图像1的播放窗口3,以及对窗口布局进行调整。第三替换控件包括“替换视频窗口”和“替换音频窗口”两个子控件,若用户选定了“替换音频窗口”子控件,则停止播放音频1,播放窗口1停止显示音频1的播放信息,并被替换为显示图像1,如图16(c)所示,此时播放界面更新为播放窗口1显示图像1,播放窗口2显示视频1,窗口布局可保持不变。Referring to the example in Figure 16(a), the display device is currently broadcasting one video and one audio, the playback window 1 plays audio 1, and the playback window 2 plays video 1. At this time, the display device receives image 1 pushed by terminal device A, and displays The third prompt pops up. If the user selects the second added control in the third pop-up window, as shown in Figure 16(b), a playback window 3 for displaying image 1 is created and added, and the window layout is adjusted. The third replacement control includes two sub-controls of "Replace Video Window" and "Replace Audio Window". If the user selects the "Replace Audio Window" sub-control, the playback of Audio 1 will stop, and the playback window 1 will stop displaying the playback information of Audio 1. And be replaced by display image 1, as shown in Figure 16(c), at this time the playback interface is updated to display image 1 in playback window 1, and display video 1 in playback window 2, and the window layout can remain unchanged.
参照图17(a)的示例,显示设备当前在播四路视频,播放窗口1显示视频1,播放窗口2显示视频2,播放窗口3显示视频3,播放窗口4显示视频4,此时显示设备接收到终端设备B推送的图像1,显示第三提示弹窗。用户若选定第三提示弹窗中的第二取消控件,则显示设备取消显示图像1,播放界面保持现状。第三替换控件包括“替换第一路视频窗口”、“替换第二路视频窗口”、“替换第三路视频窗口”和“替换第四路视频窗口”四个子控件,若用户选定了“替换第二路视频窗口”子控件,则如图17(b)所示,播放窗口2停止显示视频2,而被替换为加载显示图像1,播放窗口1、播放窗口3和播放窗口4的播放状态以及窗口布局保持不变。Referring to the example in Figure 17(a), the display device is currently broadcasting four channels of video, the playback window 1 displays video 1, the playback window 2 displays video 2, the playback window 3 displays video 3, and the playback window 4 displays video 4, at this time the display device After receiving the image 1 pushed by the terminal device B, a third prompt pop-up window is displayed. If the user selects the second cancel control in the third prompt pop-up window, the display device cancels the display of image 1, and the playback interface maintains the status quo. The third replacement control includes four sub-controls "replace the first video window", "replace the second video window", "replace the third video window" and "replace the fourth video window". Replace the "Second Video Window" sub-control, as shown in Figure 17(b), the playback window 2 stops displaying video 2, and is replaced by loading and displaying image 1, playback of playback window 1, playback window 3, and playback window 4 The state as well as the window layout remain unchanged.
在一些实施例中,若显示设备通过终端推送的URI/URL来获取数据流,假设显示设备当前显示上限四路视频,播放窗口1显示视频1,播放窗口2显示视频2,播放窗口3显示视频3,播放窗口4显示视频4,此时显示设备接收到某终端推送的视频5的URI,则参照图11,显示第二提示弹窗,若用户选定第二提示弹窗中的取消控件,则显示设备无需利用URI来获取视频5的视频数据;若用户选定第二提示弹窗中的“替换第四路视频窗口”子控件,则显示设备停止获取并接收视频4的视频流,通过新接收到的URI定位视频5的资源,并将获取到的视频5的视频流加载显示于播放窗口4中,从而完成播放窗口4的资源替换。In some embodiments, if the display device obtains the data stream through the URI/URL pushed by the terminal, assuming that the display device currently displays the upper limit of four videos, the playback window 1 displays video 1, the playback window 2 displays video 2, and the playback window 3 displays video 3. The playback window 4 displays the video 4. At this time, the display device receives the URI of the video 5 pushed by a certain terminal. Referring to FIG. 11, the second prompt pop-up window is displayed. If the user selects the cancel control in the second prompt pop-up window, Then the display device does not need to use the URI to obtain the video data of video 5; if the user selects the "replace the fourth video window" sub-control in the second prompt pop-up window, the display device stops obtaining and receiving the video stream of video 4, and passes The newly received URI locates the resource of video 5, and loads and displays the obtained video stream of video 5 in the playback window 4, thereby completing the resource replacement of the playback window 4.
在一些示例性的实现方式中,用户可以通过操作遥控器来切换窗口焦点,可选地,显示设备可以对焦点窗口进行醒目显示,例如图18中是在焦点窗口上设置矩形的焦点框,又例如可以对焦点窗口进行适当缩放,使用户能直观分辨焦点所在,如图18所示,用户操作后播放窗口3具有焦点。In some exemplary implementations, the user can switch the window focus by operating the remote control. Optionally, the display device can highlight the focus window. For example, in FIG. 18, a rectangular focus frame is set on the focus window, and For example, the focus window can be scaled appropriately so that the user can intuitively distinguish where the focus is. As shown in FIG. 18 , the playback window 3 has focus after the user operates.
由于用户一般会从当前连接并可用的功放设备中选择一个目标功放来输出音频,因此显示设备一般仅支持单路音频播放。视频资源还可细分为纯视频资源和音视频资源,纯视频资源仅有视频画面而无音频内容,音视频资源具有与视频画面同步的音频内容,例如电影画面具有对应的人声台词,在多路资源以多窗口模式播放时,例如当前包括3个视频窗口和1个音频窗口,若3个视频窗口中至少有一个播放音视频资源,则相当于至少有两个播放窗口能播放声音,这就涉及到目标功放输出哪一路的问题。Since the user generally selects a target power amplifier to output audio from currently connected and available power amplifier devices, the display device generally only supports single-channel audio playback. Video resources can also be subdivided into pure video resources and audio and video resources. Pure video resources have only video images but no audio content. Audio and video resources have audio content synchronized with video images. For example, movie images have corresponding vocal lines. When resources are played in multi-window mode, for example, currently there are 3 video windows and 1 audio window, if at least one of the 3 video windows plays audio and video resources, it means that at least two playback windows can play sound. It involves the question of which channel the target power amplifier outputs.
在一些实施方式中,可参考实时窗口焦点来决策目标功放的输出,在接收到切换窗口焦点的操作时,获取当前焦点所在的窗口(为便于区分及描述,本申请命名为第一播放窗口),并确定第一播放窗口当前播放的媒体数据(为便于区分及描述,本申请命名为第一媒体数据)是否包含音频内容。对于音视频资源、纯音频资源、具有背景音乐的图像等类型的媒体数据,均包含音频内容;对于纯视频资源、不具有背景音乐的图像、纯文本等类型的媒体数据,则不包含音频内容。In some implementations, the output of the target power amplifier can be determined by referring to the real-time window focus, and when the operation of switching the window focus is received, the window where the current focus is located (for ease of distinction and description, this application is named the first playback window) , and determine whether the media data currently played by the first playback window (for ease of distinction and description, this application is named the first media data) contains audio content. For audio and video resources, pure audio resources, images with background music and other types of media data, all contain audio content; for pure video resources, images without background music, plain text and other types of media data, audio content is not included .
在一些实施方式中,若当前焦点窗口在播的第一媒体数据包含音频内容,则控制目标功放输出该音频内容。若当前焦点窗口在播的第一媒体数据不包含音频内容,则可以开启静音模式,或者控制目标功放跳转至播放第二播放窗口关联的音频数据,第二播放窗口为当前显示有音频播放信息的播放窗口,即 多路音频资源共享的、唯一的音频窗口,即焦点窗口无法输出声音时,则保持静音或者输出音频播放器当前播放的音频数据。In some implementation manners, if the first media data being played in the current focus window includes audio content, the target power amplifier is controlled to output the audio content. If the first media data being played in the current focus window does not contain audio content, you can turn on the mute mode, or control the target power amplifier to jump to play the audio data associated with the second playback window, which is currently displaying audio playback information The playback window, that is, the only audio window shared by multiple audio resources, that is, when the focus window cannot output sound, it will remain silent or output the audio data currently played by the audio player.
以图13(b)作为示例,更新后的播放界面中播放窗口1播放视频1、播放窗口2播放视频2,播放窗口3播放图像,播放窗口4播放音频1,假设其中视频1为纯视频资源,视频2为音视频资源。若当前焦点在播放窗口1,由于视频1无音频内容,则播放窗口1继续播放视频1,目标功放无音频输出(相当于静音状态),或者,为避免无声输出导致用户观看体验差,也可控制目标功放输出音频1;若当前焦点在播放窗口2,由于视频2为音视频资源,即具有音频内容,因此控制目标功放输出视频2包含的音频内容;若当前焦点在播放窗口3,由于纯图像无音频内容,可使播放窗口3继续显示图像,目标功放或静音,或切换为输出音频1;若当前焦点在播放窗口4,由于播放窗口4正在播放音频1,因此控制目标功放直接输出音频1。Taking Figure 13(b) as an example, in the updated playback interface, play window 1 plays video 1, play window 2 plays video 2, play window 3 plays images, and play window 4 plays audio 1, assuming that video 1 is a pure video resource , Video 2 is an audio and video resource. If the current focus is on playback window 1, since video 1 has no audio content, playback window 1 will continue to play video 1, and the target power amplifier has no audio output (equivalent to a mute state), or, in order to avoid poor viewing experience caused by silent output, you can also Control the target power amplifier to output audio 1; if the current focus is on playback window 2, because video 2 is an audio and video resource, it has audio content, so control the target power amplifier to output the audio content contained in video 2; if the current focus is on playback window 3, because pure If the image has no audio content, the playback window 3 can continue to display the image, the target power amplifier is muted, or switched to output audio 1; if the current focus is on the playback window 4, since the playback window 4 is playing audio 1, the target power amplifier is controlled to output audio directly 1.
在一些实施方式中,目标功放仅输出一个窗口资源具有的音频内容,例如目标功放正输出视频2的音频内容时,会停止输出音频1,若用户将焦点切换至播放窗口4,则目标功放切换为输出音频1,停止输出视频2的音频内容,从而避免音频间的播放冲突。In some implementations, the target power amplifier only outputs the audio content of a window resource. For example, when the target power amplifier is outputting the audio content of video 2, it will stop outputting audio 1. If the user switches the focus to the playback window 4, the target power amplifier will switch To output audio 1, stop outputting the audio content of video 2, so as to avoid playback conflicts between audios.
在其他示例性的实现方式中,音频输出不限于前述焦点控制模式,例如若播放界面当前存在音频窗口,则优先输出音频窗口关联的音频数据;又例如,若播放界面当前无音频窗口,则优先输出音视频资源中的音频内容,当具有多路音视频资源时,例如可优先输出最早被推送的一路音视频资源,或者优先输出最新一路的音视频资源。多路资源同步播放场景下的音频输出控制方式不限于本申请实施例所述。In other exemplary implementations, audio output is not limited to the aforementioned focus control mode. For example, if there is currently an audio window in the playback interface, the audio data associated with the audio window will be output first; Output the audio content in the audio and video resources. When there are multiple audio and video resources, for example, the earliest audio and video resources can be output first, or the latest audio and video resources can be output first. The audio output control mode in the scenario of synchronous playback of multiple resources is not limited to that described in the embodiments of the present application.
前述各项实施例及UI展示主要侧重于视频类型、音频类型和图像类型的资源,在其他播放场景中,资源类型还可以是文本类型、图文类型等。可选地,对于文本类型的资源,例如可以创建文本窗口进行展示,或者还可以浮层字幕的形式在播放界面的上层滚动展示;对于图文类型的资源,例如可创建图文窗口进行展示。对于文本类型和图文类型,若以窗口模式进行播放,则更新策略可以参照前述图像类型,这里不再赘述。The aforementioned embodiments and UI presentations mainly focus on resources of video, audio and image types. In other playback scenarios, resource types may also be text, graphic, and so on. Optionally, for text-type resources, for example, a text window can be created for display, or in the form of floating subtitles, which can be scrolled and displayed on the upper layer of the playback interface; for graphic-type resources, for example, a graphic window can be created for display. For the text type and graphic type, if the playback is performed in window mode, the update strategy can refer to the aforementioned image type, which will not be repeated here.
需要说明的是,对于本申请中未提到的资源类型,可以根据不同类型资源的特性,采用相匹配的播放形式。另外,根据不同的播放场景、预设上限值设置、用户交互操作、以及终端推送的类型多样的资源,制定适配的更新策略,并可对更新策略进行适当变型和扩展,以实现更多应用场景下的可行性。本申请附图及实施例中涉及的UI仅仅是示例性的,具体以实际设计和应用为准。It should be noted that, for resource types not mentioned in this application, a matching playback form can be adopted according to the characteristics of different types of resources. In addition, according to different playback scenarios, preset upper limit value settings, user interaction operations, and various types of resources pushed by the terminal, an adaptive update strategy is formulated, and the update strategy can be appropriately modified and extended to achieve more Feasibility in application scenarios. The UIs involved in the drawings and embodiments of the present application are only exemplary, and the actual design and application shall prevail.
参照前述各项实施例的说明,在一些实施方式中,参照图19,本申请提供一种资源同步播放方法,所述方法的执行主体为显示设备中的控制器250,包括如下程序步骤:Referring to the descriptions of the foregoing embodiments, in some implementations, referring to FIG. 19 , the present application provides a method for synchronously playing resources. The method is executed by the controller 250 in the display device, and includes the following procedural steps:
步骤S01,在接收到终端设备推送的待播数据时,根据所述待播数据的资源类型,以及播放界面的当前显示状态,确定所述播放界面的更新策略。其中,所述当前显示状态包括播放界面当前包括的播放窗口的数量,以及每个播放窗口对应的资源类型。Step S01, when receiving data to be broadcast pushed by a terminal device, determine an update strategy for the playback interface according to the resource type of the data to be broadcast and the current display state of the playback interface. Wherein, the current display state includes the number of playback windows currently included in the playback interface, and the resource type corresponding to each playback window.
步骤S02,在所述更新策略指示的目标播放窗口中加载播放所述待播数据。Step S02, load and play the data to be played in the target play window indicated by the update policy.
参照前述各项实施例的说明,在一些实施方式中,参照图20,本申请还提供另一种更为细化的资源同步播放方法,包括如下程序步骤:Referring to the descriptions of the foregoing embodiments, in some implementations, referring to FIG. 20 , the present application also provides another more detailed resource synchronous playback method, including the following procedural steps:
步骤S101,在接收到终端设备推送的待播数据时,检测所述待播数据的资源类型。若所述待播数据为视频类型,则执行支线逻辑一;若所述待播数据为音频或图像等目标类型,则执行支线逻辑二。Step S101, when receiving the data to be broadcast pushed by the terminal device, detect the resource type of the data to be broadcast. If the to-be-broadcast data is of video type, branch line logic 1 is executed; if the to-be-broadcast data is of target type such as audio or image, branch line logic 2 is executed.
支线逻辑一,包括步骤S102~步骤S106:Branch line logic one, including steps S102 to S106:
步骤S102,判断当前的播放窗口数量是否小于预设上限值。若步骤S102的判断结果为是,则执行步骤S103和步骤S104,反之则执行步骤S105和步骤S106。即窗口数量未达上限时,可执行窗口新增机制;若窗口数量已达上限,可执行窗口替换机制,从而保证窗口数量始终不超预设上限值。Step S102, judging whether the current number of playback windows is less than a preset upper limit. If the judgment result of step S102 is yes, then execute step S103 and step S104, otherwise, execute step S105 and step S106. That is, when the number of windows does not reach the upper limit, the window addition mechanism can be implemented; if the number of windows has reached the upper limit, the window replacement mechanism can be implemented, so as to ensure that the number of windows does not exceed the preset upper limit.
步骤S103,在所述播放界面中新增一个播放窗口作为目标播放窗口,在所述目标播放窗口中加载播放所述待播数据,其他播放窗口的播放状态保持不变。Step S103, adding a new playing window in the playing interface as a target playing window, loading and playing the data to be played in the target playing window, and keeping the playing states of other playing windows unchanged.
步骤S104,根据更新后的播放窗口总数,重新匹配所述播放界面的窗口布局。Step S104, re-matching the window layout of the playback interface according to the updated total number of playback windows.
步骤S105,获取用户选定的用于资源替换的目标播放窗口。Step S105, acquiring the target playback window selected by the user for resource replacement.
步骤S106,停止播放所述目标播放窗口被选定前的原媒体数据,使所述目标播放窗口显示所述待播数据,其他播放窗口的播放状态以及窗口布局保持不变。Step S106, stop playing the original media data before the target playback window is selected, make the target playback window display the data to be played, and keep the playback status and window layout of other playback windows unchanged.
支线逻辑二,包括步骤S107~步骤S113:Branch line logic two, including step S107 to step S113:
步骤S107,检测播放界面中是否具有对应于同一目标类型的目标播放窗口。若步骤S107的判断结果为是,则执行步骤S108,反之则执行步骤S109。Step S107, detecting whether there is an object playing window corresponding to the same object type in the playing interface. If the judgment result of step S107 is yes, then step S108 is executed, otherwise, step S109 is executed.
步骤S108,停止播放所述目标播放窗口当前播放的原媒体数据,使所述目标播放窗口显示所述待播数据,其他播放窗口的播放状态以及窗口布局保持不变。Step S108, stop playing the original media data currently played by the target play window, make the target play window display the data to be played, and keep the play status and window layout of other play windows unchanged.
步骤S109,判断当前的播放窗口数量是否小于预设上限值。若步骤S109的判断结果为是,则执行步骤S110和步骤S111,反之则执行步骤S112和步骤S113。即窗口数量未达上限时,可执行窗口新增机制;若窗口数量已达上限,可执行窗口替换机制,从而保证窗口数量始终不超预设上限值。Step S109, judging whether the current number of playback windows is less than a preset upper limit. If the judgment result of step S109 is yes, then execute step S110 and step S111 , otherwise, execute step S112 and step S113 . That is, when the number of windows does not reach the upper limit, the window addition mechanism can be implemented; if the number of windows has reached the upper limit, the window replacement mechanism can be implemented, so as to ensure that the number of windows does not exceed the preset upper limit.
步骤S110,在所述播放界面中新增一个播放窗口作为目标播放窗口,在所述目标播放窗口中加载播放所述待播数据,其他播放窗口的播放状态保持不变。Step S110, adding a new playback window in the playback interface as a target playback window, loading and playing the data to be played in the target playback window, and keeping the playback status of other playback windows unchanged.
步骤S111,根据更新后的播放窗口总数,调整所述播放界面的窗口布局。Step S111, adjusting the window layout of the playback interface according to the updated total number of playback windows.
步骤S112,获取用户选定的用于资源替换的目标播放窗口。Step S112, acquiring the target playback window selected by the user for resource replacement.
步骤S113,停止播放所述目标播放窗口被选定前的原媒体数据,使所述目标播放窗口显示所述待 播数据,其他播放窗口的播放状态以及窗口布局保持不变。Step S113, stop playing the original media data before the target playback window is selected, make the target playback window display the data to be played, and keep the playback status and window layout of other playback windows unchanged.
在图20和图19示例的方法中,针对窗口的新增或替换,可通过显示提示弹窗进行询问及支持用户选取资源替换的目标窗口,或者根据预设规则进行替换目标的筛选等。In the method illustrated in FIG. 20 and FIG. 19 , for adding or replacing a window, it is possible to query by displaying a prompt pop-up window and support the user to select a target window for resource replacement, or to filter the replacement target according to preset rules.
用户将终端上的内容投屏到显示设备上,通过显示设备观看投屏内容,可以为用户提供更好的观看体验。但是,当显示设备已经与一个终端连接后,另一个终端同样希望和显示设备连接时,相关技术中通过切断与已经连接的终端,在显示界面上显示最新与显示设备连接的终端上的内容实现。这样将已经连接的终端突然断开,显示设备上的显示内容突然发生变化,给用户带来不好的使用感受。The user can project the content on the terminal to the display device, and watch the projected content through the display device, which can provide the user with a better viewing experience. However, after the display device has been connected to one terminal, another terminal also wants to connect to the display device. In the related art, this is achieved by cutting off the connected terminal and displaying on the display interface the content of the latest terminal connected to the display device. . In this way, the connected terminal is suddenly disconnected, and the display content on the display device changes suddenly, which brings bad experience to the user.
为了便于说明,本申请实施例中,提到的显示设备的用户界面为第一用户界面,第一终端的用户界面为第二用户界面,第一终端为与显示设备新连接的终端,第二终端为已经与显示设备连接的终端。For ease of description, in this embodiment of the application, the user interface of the display device mentioned is the first user interface, the user interface of the first terminal is the second user interface, the first terminal is a terminal newly connected to the display device, and the second The terminal is a terminal already connected to the display device.
为了解决上述技术问题,本申请实施例提供一种多路投屏的显示方法,在第二用户界面上为用户提供可以选择的控件,以使用户根据需要,选择与所述控件对应的显示方式,根据该显示方式将第一终端的投屏内容显示在第一用户界面上。具体的,显示方式可以包括添加画面显示,或者替换某一路第二终端画面显示等。In order to solve the above-mentioned technical problems, an embodiment of the present application provides a display method for multi-channel projection, which provides the user with selectable controls on the second user interface, so that the user can select the display mode corresponding to the control according to the needs , displaying the screen projection content of the first terminal on the first user interface according to the display manner. Specifically, the display method may include adding a screen display, or replacing a certain path of the second terminal screen display, and the like.
如图21所示,图21为根据一些实施例的一种多路投屏的显示方法的流程图,包括:As shown in FIG. 21, FIG. 21 is a flow chart of a multi-channel projection display method according to some embodiments, including:
本申请实施例中,所述终端可以为手机、平板电脑、智能穿戴设备(如智能手环等)、笔记本电脑等移动终端,也可是台式电脑、智能电视等具有投屏及显示功能的设备。In the embodiment of the present application, the terminal can be a mobile terminal such as a mobile phone, a tablet computer, a smart wearable device (such as a smart bracelet, etc.), a notebook computer, or a device with screen projection and display functions such as a desktop computer and a smart TV.
终端接收连接显示设备的用户输入,发送连接指令到显示设备。The terminal receives user input for connecting to the display device, and sends a connection instruction to the display device.
本申请实施例中,所述第一终端和显示设备投屏可以指显示设备上显示第一终端上实时播放的画面。所述投屏还可以指当第一终端播放某一音视频时,将该音视频的内容显示在显示设备上,第一终端将播放的音视频的媒资地址发送到显示设备上,显示设备根据媒资地址播放该音视频。一些实施例中,所述投屏包括将第一终端上实时播放的画面进行录屏,第一终端将录屏后的数据发送到显示设备中,显示设备播放该数据。In this embodiment of the present application, the screen projection between the first terminal and the display device may refer to displaying on the display device a picture played in real time on the first terminal. The screen projection can also refer to when the first terminal plays a certain audio and video, displaying the content of the audio and video on the display device, the first terminal sends the media asset address of the played audio and video to the display device, and the display device Play the audio and video according to the media asset address. In some embodiments, the screen projection includes recording the screen played in real time on the first terminal, the first terminal sends the recorded data to the display device, and the display device plays the data.
在一示例中,当第一终端播放音视频时,通过用户操作调出投屏控件,用户通过触摸屏按压投屏控件。第一终端搜索得到可投屏设备,将可投屏设备以列表形式显示在第二用户界面,用户按压可投屏设备控件,如果该可投屏设备控件与所述显示设备对应,则此时手机端触发连接动作,向显示设备发送连接指令。In an example, when the first terminal is playing audio and video, the screen projection control is called out through a user operation, and the user presses the screen projection control through the touch screen. The first terminal searches for a screen-projecting device, displays the screen-projecting device in a list on the second user interface, and the user presses the screen-projecting device control, and if the screen-projecting device control corresponds to the display device, then The mobile terminal triggers the connection action and sends a connection instruction to the display device.
在一示例中,用户可以按压手机端的用户界面上的镜像投屏控件,显示设备上显示有可以与该手机端进行镜像投屏的设备,用户按压设备控件,如果该设备控件与所述显示设备对应,则此时手机端触发连接动作,向显示设备发送连接指令。In one example, the user can press the mirroring screen projection control on the user interface of the mobile phone terminal, and the display device displays a device that can mirror the screen projection with the mobile phone terminal, and the user presses the device control. Correspondingly, at this time, the mobile phone triggers a connection action and sends a connection command to the display device.
一些实施例中,用户通过相关操作可以控制第二用户界面上显示投屏控件。在一示例性中,终端上全屏播放媒资数据时,用户可以触摸显示屏,此时界面上会显示功能控件,所述功能控件可以包括暂停/播放控件,投屏控件,和/或,关闭/开启弹幕控件等。用户可以通过触摸用户界面上设置的投屏控件,页面跳转显示待选连接终端列表,该列表包括可以与显示设备投屏设备对应的设备控件,选中某一设备控件,此时发送连接指令到设备控件对应的设备。一些实施例中,设备可以为显示设备。在另一个示例性中,用户通过下滑/上滑屏幕,调出终端的功能菜单,该功能菜单上显示有屏幕镜像控件,即投屏控件等,选中所述屏幕镜像控件,发送连接指令到显示设备。In some embodiments, the user can control the display of the screen projection control on the second user interface through related operations. In one example, when media asset data is played in full screen on the terminal, the user can touch the display screen, and functional controls will be displayed on the interface at this time, and the functional controls can include pause/play control, screen projection control, and/or, close / Turn on the barrage control, etc. The user can touch the projection control set on the user interface, and the page jumps to display a list of connection terminals to be selected. The list includes device controls that can correspond to the display device projection device. Select a device control and send a connection command to The device that the device control corresponds to. In some embodiments, the device may be a display device. In another example, the user slides down/up the screen to call out the function menu of the terminal, and the function menu displays a screen mirroring control, that is, a screen mirroring control, etc., selects the screen mirroring control, and sends a connection command to the display equipment.
显示设备当接收到第一终端发送的连接指令时,获取当前显示设备已经连接的第二终端数量。一些实施例中,所述第二终端数量可以为多个,多个终端的投屏内容可以同时显示在显示设备的显示器上。一些实施例中,所述第二终端数量可以通过列表形式存储在显示设备中,该列表中记录有连接的第二终端的信息,并记录所有连接第二终端的第二终端数量,当所述显示设备每连接一个终端时,将统计的第二终端数量增加一个,当显示设备断开与第二终端的连接时,显示设备上第二终端对应的投屏内容不再显示,更新列表的同时将第二终端数量减少一个。当第二终端进程异常退出或者被杀死(kill)时,显示设备断开对应的第二终端的连接,显示设备上该第二终端对应的投屏内容不再显示,更新列表的同时将第二终端数量减少一个。在本实施例中,获取第二终端数量,可以通过调用该列表,并查找列表中记录的第二终端数量实现。When the display device receives the connection instruction sent by the first terminal, it acquires the number of second terminals currently connected to the display device. In some embodiments, the number of the second terminals may be multiple, and screen projection contents of multiple terminals may be simultaneously displayed on the display of the display device. In some embodiments, the number of the second terminals may be stored in the display device in the form of a list, the list records the information of the connected second terminals, and records the numbers of all the second terminals connected to the second terminals, when the When the display device is connected to a terminal, the number of the second terminal counted will be increased by one. When the display device is disconnected from the second terminal, the screen projection content corresponding to the second terminal on the display device will no longer be displayed, and the list will be updated at the same time. Reduce the number of second terminals by one. When the process of the second terminal exits abnormally or is killed (kill), the display device disconnects the connection of the corresponding second terminal, and the screen projection content corresponding to the second terminal on the display device is no longer displayed, and the list will be updated while updating the list. The number of two terminals is reduced by one. In this embodiment, obtaining the number of second terminals may be implemented by calling the list and searching for the number of second terminals recorded in the list.
显示设备发送指示信息到终端,所述指示信息用于向第一终端指示第二终端数量,并触发第一终端根据第二终端数量生成交互窗口,所述交互窗口包括控件。一些实施例中,假设所述第二终端数量为n,则指示信息可以定义为MIRROR_PEERNUM:n。The display device sends indication information to the terminal, where the indication information is used to indicate the number of the second terminal to the first terminal, and trigger the first terminal to generate an interaction window according to the number of the second terminal, where the interaction window includes controls. In some embodiments, assuming that the number of second terminals is n, the indication information may be defined as MIRROR_PEERNUM:n.
终端接收显示设备发送的指示信息,根据所述第二终端数量,确定控件,并将所述控件以交互窗口形式显示在第二用户界面上。The terminal receives the indication information sent by the display device, determines the control according to the number of the second terminal, and displays the control on the second user interface in the form of an interactive window.
本申请实施例中,所述第二终端数量可以确定显示在第一终端的交互窗口中的控件,用户可以通过选中不同的控件,实现第一终端的投屏内容在显示设备中不同的显示方式,可以包括添加画面显示,或者替换某一路终端画面显示等。In the embodiment of the present application, the number of the second terminal can determine the controls displayed in the interactive window of the first terminal, and the user can select different controls to realize different display modes of the screen projection content of the first terminal on the display device , which can include adding a screen display, or replacing a terminal screen display of a certain channel, etc.
当所述第二终端数量为第一预设数量时,第一终端确定所述控件包括新增窗口控件。示例性的,当第一预设数量为0时,所述第二终端数量为0,此时没有与显示设备连接的第二终端,为了使第一终端的投屏内容可以显示在第一用户界面上,此时所述控件包括新增窗口控件。When the number of the second terminal is the first preset number, the first terminal determines that the control includes a new window control. Exemplarily, when the first preset number is 0, the second terminal number is 0. At this time, there is no second terminal connected to the display device. On the interface, the controls at this time include newly added window controls.
如图22所示,第一用户界面上并未显示第二终端的投屏内容,显示设备发送指示信息到第一终端,第一终端接收显示设备发送的指示信息,所述指示信息包括第二终端数量,此时第一终端根据所述第二终端数量确定的控件为新增窗口控件,一些实施例中,选中新增窗口控件,可以使第一用户界面上新增 播放窗口,用于显示第一终端的投屏内容。如图23所示,在图23中,第二用户界面上的控件包括新增窗口控件701,用户选中新增窗口控件701可以实现将第一终端实时显示的画面,投屏到显示设备上,如图24所示,用户可以看到与第一终端界面上显示的全部内容。在另一示例中,如图25所示,第二用户界面上的控件包括新增窗口控件901,用户选中新增窗口控件901后,将第一终端当前播放的媒资数据的链接地址发送到显示设备,显示设备根据该链接地址查找到媒资数据,并播放该媒资数据,如图26所示,图26中显示有与第一终端播放的相同的媒资数据。As shown in Figure 22, the screen projection content of the second terminal is not displayed on the first user interface, the display device sends instruction information to the first terminal, and the first terminal receives the instruction information sent by the display device, the instruction information includes the second The number of terminals. At this time, the control determined by the first terminal according to the number of the second terminal is a new window control. In some embodiments, selecting the new window control can make a new playback window on the first user interface for displaying Screencasting content of the first terminal. As shown in FIG. 23 , in FIG. 23 , the controls on the second user interface include a new window control 701, and the user selects the new window control 701 to realize the real-time display of the first terminal to the display device. As shown in FIG. 24, the user can see all content displayed on the interface with the first terminal. In another example, as shown in FIG. 25, the controls on the second user interface include a new window control 901. After the user selects the new window control 901, the link address of the media asset data currently played by the first terminal is sent to A display device. The display device finds the media asset data according to the link address, and plays the media asset data, as shown in FIG. 26 , which shows the same media asset data played by the first terminal.
一些实施例中,当显示设备播放本地数据资源或者直接从服务器中获取的数据资源时,该数据资源并不是第二终端发送的投屏内容,当所述第二终端数量为第一预设数量时,确定控件包括新增窗口控件和替换控件。当选中新增窗口控件时,在第一用户界面上新增窗口,将显示设备原有播放的资源对应的播放窗口,与新增的播放窗口同时显示在第一用户界面上,此时用户界面上存在两个播放窗口,原有播放的资源和第一终端的投屏内容同时显示在第一用户界面上。当选中替换控件时,将第一用户界面上显示原有播放的资源处,显示第一终端的投屏内容,可以通过以下方式实现,示例性的,将第一用户界面上原有播放的资源对应的播放窗口撤销,在撤销的播放窗口处,显示第一终端的投屏内容,或者,保留原有播放的资源对应的播放窗口,将第一终端的投屏内容显示在该播放窗口中。In some embodiments, when the display device plays a local data resource or a data resource directly obtained from a server, the data resource is not the screen projection content sent by the second terminal, and when the number of the second terminals is the first preset number When , it is determined that the controls include new window controls and replacement controls. When the new window control is selected, a new window is added on the first user interface, and the playback window corresponding to the resource originally played by the device will be displayed, and displayed on the first user interface at the same time as the newly added playback window. There are two playback windows on the screen, and the original playback resources and the screen projection content of the first terminal are displayed on the first user interface at the same time. When the replacement control is selected, the first user interface displays the originally played resource and displays the projected screen content of the first terminal, which can be implemented in the following manner. The playing window is canceled, and the screen projection content of the first terminal is displayed at the canceled playback window, or the playback window corresponding to the original playback resource is retained, and the screen projection content of the first terminal is displayed in the playback window.
当所述第二终端数量大于第一预设数量,且小于第二预设数量时,第一终端确定所述控件包括新增窗口控件,以及与第二终端对应的替换控件。本申请实施例中,为了避免造成显示设备的运行压力过大或者为了用户可以看到清晰画面,提高用户体验,所述显示设备可以限制与其连接的终端的数量,所述第二预设数量为用户界面上播放窗口数量的上限值,示例性的,第二预设数量可以为四个。When the number of the second terminal is greater than the first preset number and less than the second preset number, the first terminal determines that the control includes a new window control and a replacement control corresponding to the second terminal. In the embodiment of the present application, in order to avoid excessive operating pressure of the display device or to allow users to see clear pictures and improve user experience, the display device may limit the number of terminals connected to it, and the second preset number is The upper limit of the number of playing windows on the user interface, for example, the second preset number may be four.
本申请实施例中,当显示设备播放本地数据资源或者直接从服务器中获取的数据资源时,所述替换控件还可以将第一用户界面上原有播放的资源替换。一些实施例中,在保证第一用户界面上的播放窗口不大于第二预设数量时,可以在在新增窗口显示第一终端的投屏内容的同时,将原有播放的资源同时显示在第一用户界面上。In the embodiment of the present application, when the display device plays local data resources or data resources obtained directly from the server, the replacement control can also replace the originally played resources on the first user interface. In some embodiments, when ensuring that the playback windows on the first user interface are not larger than the second preset number, the original playback resources can be displayed on the newly added window while displaying the screen projection content of the first terminal. on the first user interface.
一些实施例中,当存在至少一个第二终端与显示设备连接时,第一用户界面上显示有第二终端的投屏内容,此时可以为用户提供第一终端的投屏内容在显示设备上的多种显示方式,一种可以为在显示界面上新增窗口,在新增的窗口中显示第一终端的投屏内容;另一种方式可以采用替换的方式显示第一终端的投屏内容,具体的,用户可以根据自身意愿,将不希望继续播放在用户界面中的投屏内容替换,一些实施例中,标识可替换的投屏内容时,可以通过将终端与显示设备连接顺序进行标识。所述替换控件在命名时可以标注为替换第一路、替换第二路、以及替换第三路等。当选中替换第一路时,此时将替换第一个与显示设备连接终端的投屏内容为第一终端的投屏内容。一些实施例中,选中替换控件,显示设备不再显示该替换控件对应终端的投屏内容,在显示原有连接终端的投屏内容的位置上,显示第一终端的投屏内容。In some embodiments, when there is at least one second terminal connected to the display device, the screen projection content of the second terminal is displayed on the first user interface, and at this time, the user can be provided with the screen projection content of the first terminal on the display device A variety of display methods, one can be to add a new window on the display interface, and display the screen projection content of the first terminal in the newly added window; another method can display the screen projection content of the first terminal in an alternative way , specifically, the user can, according to his or her own wishes, replace the screen projection content that does not want to continue playing in the user interface. In some embodiments, when identifying replaceable screen projection content, it can be identified by connecting the terminal to the display device in order . The replacement control can be marked as replacing the first way, replacing the second way, and replacing the third way when naming. When the first channel is selected, the screen projection content of the first terminal connected to the display device will be replaced with the screen projection content of the first terminal. In some embodiments, when the replacement control is selected, the display device no longer displays the screen projection content of the terminal corresponding to the replacement control, and displays the screen projection content of the first terminal at the position where the screen projection content of the original connected terminal is displayed.
显示设备发送指示信息到第一终端,第一终端接收该指示信息,如果显示设备已经有1个第二终端连接,如图26所示,该第二终端的投屏内容显示在第一用户界面上,此时第一终端根据所述第二终端数量确定的控件,如图27所示,第二用户界面上显示有新增窗口控件1101和替换第一路控件1102。用户选中新增控件1101,则在第一用户界面上新增播放窗口,该新增的播放窗口用于播放投屏内容,如图28所示,在新增播放窗口后,当前第一用户界面上存在两个播放窗口,两个播放窗口分布在用户界面上,两个播放窗口的尺寸可以设置为相同尺寸,原有的播放窗口的播放内容不发生变化。The display device sends instruction information to the first terminal, and the first terminal receives the instruction information. If the display device has a second terminal connected, as shown in Figure 26, the screen projection content of the second terminal is displayed on the first user interface At this time, the first terminal determines the controls according to the number of the second terminals. As shown in FIG. 27 , a new window control 1101 and a replacement first-way control 1102 are displayed on the second user interface. When the user selects the new control 1101, a new playback window is added on the first user interface. The newly added playback window is used to play the projected content, as shown in Figure 28. After the new playback window is added, the current first user interface There are two playback windows on the user interface, and the two playback windows are distributed on the user interface. The size of the two playback windows can be set to the same size, and the playback content of the original playback window does not change.
一些实施例中,可以将播放窗口的尺寸可以通过用户操控控制装置手动调节,这样当用户对某一个播放窗口中的投屏内容更有兴趣时,可以将该播放窗口放大,相应的播放窗口中的播放内容可以占据更大的显示界面,方便用户观看。In some embodiments, the size of the playback window can be manually adjusted by the user operating the control device, so that when the user is more interested in the screen projection content in a certain playback window, the playback window can be enlarged, and the corresponding playback window The playback content can occupy a larger display interface, which is convenient for users to watch.
一些实施例中,用户选中替换第一路控件1102,则第一用户界面上不再播放原有连接终端的投屏内容,而是播放第一终端的投屏内容,示例性的,如图29所示。原有的终端与显示设备的连接断开。In some embodiments, if the user chooses to replace the first control 1102, the screen projection content of the original connected terminal will no longer be played on the first user interface, but the screen projection content of the first terminal will be played, for example, as shown in Figure 29 shown. The connection between the original terminal and the display device is disconnected.
显示设备发送指示信息到第一终端,第一终端接收该指示信息,如果显示设备已经有2个第二终端连接,如图28所示,两个第二终端的投屏内容均显示在第一用户界面上,此时根据所述第二终端数量确定的控件,如图30所示,第二用户界面上显示有新增窗口控件1401、替换第一路控件1402和替换第二路控件1403。选中新增窗口控件1401,则第一用户界面新增播放窗口,如图31所示,图31中当前存在三个播放窗口。选中替换第一路控件1402,则第一用户界面,如图32所示。选中替换第二路控件1403,则第一用户界面,如图33所示。本申请实施例中,用户可以通过选择不同的替换控件,将原有连接的不同第二终端与显示设备断开,在显示原有投屏内容的位置显示第一终端的投屏内容。The display device sends instruction information to the first terminal, and the first terminal receives the instruction information. If the display device has two second terminals connected, as shown in Figure 28, the screen projection contents of the two second terminals are displayed on the first terminal. On the user interface, the controls determined according to the number of the second terminals at this time, as shown in FIG. 30 , display a new window control 1401 , a replacement first control 1402 and a replacement second control 1403 on the second user interface. If the window control 1401 is selected, a playback window is added in the first user interface, as shown in FIG. 31 , there are currently three playback windows in FIG. 31 . Select and replace the first control 1402, and then the first user interface is shown in FIG. 32 . Select and replace the second-way control 1403, and then the first user interface is shown in FIG. 33 . In the embodiment of the present application, the user can disconnect the originally connected second terminal from the display device by selecting a different replacement control, and display the projected screen content of the first terminal at the position where the original projected screen content is displayed.
显示设备发送指示信息到第一终端,第一终端接收该指示信息,如果显示设备已经有3个第二终端连接,如图31所示,三个第二终端的投屏内容均显示在第一用户界面上,此时根据所述第二终端数量确定的控件,如图34所示,第二用户界面上显示有新增窗口控件1801、替换第一路控件1802、替换第二路控件1803和替换第三路控件1804。选中上述控件之后,第一用户界面可参考有两个第二终端连接时的界面变化,在此不再详细描述。The display device sends instruction information to the first terminal, and the first terminal receives the instruction information. If the display device has three second terminals connected, as shown in Figure 31, the content of the screen projection of the three second terminals is displayed on the first terminal. On the user interface, the controls determined according to the number of the second terminals at this time, as shown in FIG. Replace the third control 1804. After the above controls are selected, the first user interface can refer to the interface changes when two second terminals are connected, and will not be described in detail here.
显示设备发送指示信息到第一终端,第一终端接收该指示信息,当所述第二终端数量为第二预设数量时,确定所述控件包括不再投屏控件,以及与已经连接的终端对应的替换控件。示例性的,所述第二预设数量为4个。如果显示设备已经有4个第二终端连接,如图35所示,四个第二终端的投屏内容均显示在第一用户界面上,此时根据所述第二终端数量确定的控件,如图36所示,第二用户界面上显示有不再投屏控件2001,替换第一路控件2002、替换第二路控件2003、替换第三路控件2004和替换第 四路控件2005。选中替换控件之后,第一用户界面可参考有两个第二终端连接时的界面变化,再次不再详细描述。当用户选中不再投屏控件2001时,第一用户界面不发生变化,第一终端与显示设备不执行投屏操作。The display device sends instruction information to the first terminal, and the first terminal receives the instruction information, and when the number of the second terminals is a second preset number, it is determined that the control includes the control of no longer projecting the screen, and the connected terminal The corresponding replacement control. Exemplarily, the second preset number is four. If there are 4 second terminals connected to the display device, as shown in Figure 35, the projection content of the four second terminals are all displayed on the first user interface. At this time, the controls determined according to the number of the second terminals are as follows: As shown in FIG. 36 , the second user interface displays a no-screen projection control 2001 , a replacement first control 2002 , a second replacement control 2003 , a third replacement control 2004 and a fourth replacement control 2005 . After the replacement control is selected, the first user interface can refer to the interface changes when two second terminals are connected, and will not be described in detail again. When the user selects the no-screen-casting control 2001, the first user interface does not change, and the first terminal and the display device do not perform the screen-casting operation.
本申请实施例中,当显示设备连接多个终端时,多个终端的投屏内容在第一显示界面上的排布不做限制,示例性的,多个投屏内容可以全部横向显示,多个投屏内容也可以全部竖向显示,还可以部分投屏内容横向显示,部分投屏内容纵向显示。In this embodiment of the present application, when the display device is connected to multiple terminals, there is no limit to the arrangement of the projection content of multiple terminals on the first display interface. For example, all the projection content of multiple terminals can be displayed horizontally. All the projected content can also be displayed vertically, part of the projected content can be displayed horizontally, and part of the projected content can be displayed vertically.
一些实施例中,可以根据投屏内容的显示方向,确定该投屏内容在第一显示设备的显示界面的排布方向,示例性的,当投屏内容为电影,此时可以将该投屏内容在第一显示界面上横向显示,这样可以便于用户在显示设备的显示界面观看该电影。In some embodiments, the arrangement direction of the screen-casting content on the display interface of the first display device can be determined according to the display direction of the screen-casting content. For example, when the screen-casting content is a movie, the screen-casting content can be The content is displayed horizontally on the first display interface, which is convenient for the user to watch the movie on the display interface of the display device.
第一终端接收选中所述交互窗口上控件的用户输入,发送根据所述控件生成的指令到显示设备。本申请实施例中,当选中新增窗口控件时对应的生成新增窗口指令,当选中替换控件时对应的生成替换指令,当选中不再投屏控件时对应生成不再投屏指令。The first terminal receives a user input for selecting a control on the interaction window, and sends an instruction generated according to the control to the display device. In the embodiment of the present application, when a new window control is selected, a new window command is generated correspondingly, when a replacement control is selected, a replacement command is correspondingly generated, and when a no screen projection control is selected, a no screen projection command is correspondingly generated.
第一接收终端发送的根据选中所述交互窗口中控件生成的指令,控制显示器根据所述指令显示投屏内容。本申请实施例中,第一终端只要保证在显示设备显示投屏内容之前,将投屏内容发送到显示设备即可,本申请不对发送投屏内容的时机作限制。The first receiving terminal sends an instruction generated according to selecting the control in the interaction window, and controls the display to display the projected screen content according to the instruction. In this embodiment of the application, the first terminal only needs to ensure that the screen projection content is sent to the display device before the display device displays the projection content, and this application does not limit the timing of sending the screen projection content.
显示设备接收到第一终端的根据控件形成对应的指令后,根据用户的选择,适配显示第一用户界面,如果用户选中的是新增窗口控件,在第一用户界面上和第二终端画面布局中新创建一个播放窗口;如果用户选中的是选择的替换某一路控件,替换某一路控件对应的投屏内容不再显示,在显示原有连接第二终端的投屏内容的位置上,显示第一终端的投屏内容。如果用户选中的是不再投屏控件,则第一终端的投屏内容不会显示在第一用户界面上。After receiving the corresponding instruction from the first terminal based on the control, the display device adapts and displays the first user interface according to the user's selection. If the user selects a new window control, the first user interface and the second terminal screen Create a new playback window in the layout; if the user chooses to replace a certain control, the projection content corresponding to the replacement control will no longer be displayed, and will be displayed at the position where the original projection content connected to the second terminal is displayed. Screencasting content of the first terminal. If the user selects the no-screen-casting control, the screen-casting content of the first terminal will not be displayed on the first user interface.
一些实施例中,选中控件可以为用户按压第一终端的触摸屏上控件对应的位置实现,另一些实施例中,选中控件可以为用户按压第一终端的触摸屏上控件对应的位置后,再按压第一终端的触摸屏上确定控件对应的位置实现,如图23所示,选中新增窗口控件可以为用户按压触摸屏上新增窗口控件对应的位置后,在按压确定控件对应的位置实现。In some embodiments, the selected control can be implemented by the user pressing the position corresponding to the control on the touch screen of the first terminal. In other embodiments, the selected control can be realized after the user presses the position corresponding to the control on the touch screen of the first terminal, and then press the second The corresponding position of the control is determined on the touch screen of a terminal. As shown in FIG. 23, the selection of the new window control can be realized after the user presses the position corresponding to the new window control on the touch screen, and then presses the position corresponding to the control.
一些实施例中,所述指令包括新增窗口指令,所述控制显示器根据所述指令显示投屏内容的步骤包括:在当前用户界面上新增播放窗口,在新增的播放窗口中显示投屏内容。第一用户界面上的其他播放窗口中的播放内容不变,为了保证屏幕区域分配的合理性,其他播放窗口的位置可能会发生变化,以使在新增播放窗口时使所有的播放窗口在用户界面上的布局更加合理。In some embodiments, the instruction includes an instruction to add a new window, and the step of controlling the display to display the projected screen content according to the instruction includes: adding a new playback window on the current user interface, and displaying the projected screen in the newly added playback window content. The playback content in other playback windows on the first user interface remains unchanged. In order to ensure the rationality of screen area allocation, the positions of other playback windows may change, so that when a new playback window is added, all playback windows are within the user's The layout on the interface is more reasonable.
一些实施例中,所述第一用户界面上至少包括一个播放窗口,在所述播放窗口内播放与显示设备连接终端的投屏内容;In some embodiments, the first user interface includes at least one play window, and the screen projection content of the terminal connected to the display device is played in the play window;
所述指令包括替换指令,所述替换指令包括替换信息,所述替换信息用于指示被替换第二终端对应的播放窗口信息,播放窗口信息可以为所有播放窗口中该播放窗口的排列次序,替换信息是通过用户选中的替换控件确定的,示例性的,当用户选中替换第一路控件,此时替换信息为位于所有播放窗口中排列为第一个的播放窗口。所述控制显示器根据所述指令显示投屏内容的步骤包括:断开与所述替换信息对应的第二终端的连接,在播放原有的投屏内容的播放窗口处新建播放窗口,将第一终端的投屏内容显示在新建的播放窗口中。The instruction includes a replacement instruction, the replacement instruction includes replacement information, the replacement information is used to indicate the playback window information corresponding to the replaced second terminal, the playback window information can be the order of the playback window in all playback windows, and the replacement The information is determined by the replacement control selected by the user. Exemplarily, when the user selects to replace the first control, the replacement information is the playback window that is arranged first among all the playback windows. The step of controlling the display to display the projected screen content according to the instruction includes: disconnecting the second terminal corresponding to the replacement information, creating a new play window at the play window where the original projected screen content is played, and converting the first The screencast content of the terminal is displayed in the newly created playback window.
一些实施例中,所述指令包括不再投屏指令,所述控制显示器显示根据所述指令显示投屏内容的步骤包括:拒绝与所述第一终端连接,维持用户界面的显示状态不变。In some embodiments, the instruction includes an instruction not to cast the screen, and the step of controlling the display to display the screen projection content according to the instruction includes: rejecting the connection with the first terminal, and maintaining the display state of the user interface unchanged.
一些实施例中,所述方法还包括:判断是否符合不发送指示信息的条件;如果符合所述条件,则不发送指示信息;如果不符合所述条件,则发送指示信息。In some embodiments, the method further includes: judging whether the condition of not sending the indication information is met; if the condition is met, not sending the indication information; if the condition is not met, sending the indication information.
一些实施例中,所述不发送指示信息的条件包括第一用户界面上播放窗口数量的上限值为特定值。示例性的,所述特定值为0。在一示例中,当所述特定值为0时,显示设备只接收一路终端连接,此时默认为将原有连接的第二终端替换,即原有连接的第二终端的内容不再显示,在显示原有连接第二终端的投屏内容的位置上,显示第一终端的投屏内容,此时不需要发送指示信息。另外,如果显示设备当前没有与其连接的第二终端,则直接在第一用户界面上新建窗口,在新建的窗口中显示投屏内容,在这一方案中同样也不发送指示信息。In some embodiments, the condition for not sending the indication information includes that the upper limit value of the number of playing windows on the first user interface is a specific value. Exemplarily, the specific value is 0. In an example, when the specific value is 0, the display device only receives one terminal connection, at this time, the default is to replace the second terminal of the original connection, that is, the content of the second terminal of the original connection is no longer displayed, The screen projection content of the first terminal is displayed at the position where the projection screen content originally connected to the second terminal is displayed, and no instruction information needs to be sent at this time. In addition, if the display device does not currently have a second terminal connected to it, a new window is directly created on the first user interface, and the screen projection content is displayed in the newly created window. In this solution, no instruction information is also sent.
本申请实施例中,在显示原有连接第二终端的投屏内容的位置上,显示第一终端的投屏内容,可以通过多种方式实现。一些实施例中,把显示设备当前对应的第二终端的连接断开,在其位置新建一个播放窗口,用于播放第一终端的投屏内容。一些实施例中,可以利用原有连接第二终端的投屏内容的播放窗口,显示第一终端的投屏内容。In the embodiment of the present application, displaying the screen projection content of the first terminal at the position where the screen projection content originally connected to the second terminal is displayed can be realized in various ways. In some embodiments, the connection of the second terminal currently corresponding to the display device is disconnected, and a playback window is created in its position for playing the screen-casting content of the first terminal. In some embodiments, the screen-casting content of the first terminal may be displayed by using an original play window connected to the screen-casting content of the second terminal.
一些实施例中,终端将用户选择的控件生成的指令发送到显示设备,该命令可以定义如下:“MIRROR_INDEX:m”,m表示用户所选择的控件对应的替换信息。m为-1与表示不再投屏控件,m为0表示新增窗口控件,m为1表示替换第一路控件,m为2表示替换第二路控件,m为3表示替换第三路控件,m为4表示替换第四路控件。In some embodiments, the terminal sends an instruction generated by the control selected by the user to the display device, and the command may be defined as follows: "MIRROR_INDEX: m", where m represents replacement information corresponding to the control selected by the user. m is -1 and means no longer screen projection control, m is 0 means add window control, m is 1 means replace the first control, m is 2 means replace the second control, m is 3 means replace the third control , m is 4 means to replace the fourth control.
以上内容为以第一终端为主体的角度描述的方案,现以显示设备的角度简单描述本方案。显示设备接收第一终端的连接指令,获取第二终端数量,生成并发送指示信息,该指示信息用于向第一终端指示第二终端数量,并触发第一终端根据第二终端数量生成交互窗口,接收用户选中交互窗口中根据第二终端数量生成的控件对应的指令,根据该指令执行控制显示器显示第一终端的投屏内容。The above content is the solution described from the perspective of the first terminal as the main body, and the solution is briefly described from the perspective of the display device. The display device receives the connection instruction of the first terminal, obtains the number of the second terminals, generates and sends indication information, the indication information is used to indicate the number of the second terminals to the first terminal, and triggers the first terminal to generate an interactive window according to the number of the second terminals receiving an instruction corresponding to the control generated according to the number of the second terminal selected by the user in the interaction window, and executing and controlling the display to display the screen projection content of the first terminal according to the instruction.
上述实施例中,一种多路投屏的显示方法、显示设备及终端,本申请一些实施例用户根据需要,选 择投屏内容在显示设备上的显示方式,提高用户的使用体验。该方法包括:接收第一终端的连接指令,获取第二终端数量,其中所述第二终端为已经与显示设备连接的终端;发送指示信息,所述指示信息用于向第一终端指示第二终端数量,并触发第一终端根据第二终端数量生成交互窗口,所述交互窗口包括控件,所述交互窗口上的控件根据所述第二终端数量确定;接收第一终端发送的根据选中所述交互窗口中控件生成的指令,控制显示器根据所述指令显示第一终端的投屏内容。In the above embodiments, a multi-channel screen projection display method, display device and terminal, in some embodiments of the present application, the user can select the display mode of the screen projection content on the display device according to needs, so as to improve the user experience. The method includes: receiving a connection instruction from the first terminal, acquiring the number of the second terminal, wherein the second terminal is a terminal already connected to the display device; sending indication information, and the indication information is used to indicate the second terminal to the first terminal. the number of terminals, and trigger the first terminal to generate an interaction window according to the number of the second terminal, the interaction window includes controls, and the controls on the interaction window are determined according to the number of the second terminals; receiving the information sent by the first terminal according to selecting the The instruction generated by the control in the interactive window is used to control the display to display the screen projection content of the first terminal according to the instruction.
基于上述显示设备200,用户可将移动设备上所显示的内容通过镜像投屏至显示设备200,通过显示设备展示出移动设备的屏幕内容。其中,所述移动设备可以是上述实施例中的所述的终端设备或终端,例如可以是第一终端设备或第二终端设备。镜像投屏即为实时地将移动设备屏幕内容投屏到显示设备200,图37和图38分别为根据一些实施例的移动设备镜像投屏至显示设备200的显示效果示意图,图37中所示即为移动设备操作界面的显示效果示意图,图38中所示即为移动设备观看媒资资源的显示效果示意图,如手机相册内的视频等。Based on the above display device 200, the user can project the content displayed on the mobile device to the display device 200 through mirroring, and display the screen content of the mobile device through the display device. Wherein, the mobile device may be the terminal device or terminal described in the above embodiments, for example, it may be the first terminal device or the second terminal device. Screen mirroring is to cast the screen content of the mobile device to the display device 200 in real time. Figure 37 and Figure 38 are schematic diagrams of the display effect of mirroring the screen of the mobile device to the display device 200 according to some embodiments, as shown in Figure 37 It is a schematic diagram of the display effect of the operation interface of the mobile device. FIG. 38 is a schematic diagram of the display effect of the mobile device viewing media resources, such as videos in the mobile phone album.
目前,移动设备安装的操作系统通常是安卓系统,移动设备通过录屏应用实时录屏,并将录制的视频流传输至显示设备,以实现镜像投屏。但是,录屏应用作为第三方开发的应用,即录屏应用不属于系统级别应用,仅可以允许录制操作系统屏幕当前显示内容,却不允许操作系统录制当前播放的音频数据及系统音频。因此,在用户通过移动设备镜像投屏至显示设备时,无法通过显示设备输出移动设备的声音,例如,用户将手机相册内的视频投屏至显示设备200观看,只能看到视频内容,无法通过显示设备200播放相应的音频,导致体验效果不佳。为了提高用户的体验效果,本申请一些实施例中提供了一种显示设备及镜像投屏音频输出控制方法。At present, the operating system installed on the mobile device is usually the Android system. The mobile device records the screen in real time through the screen recording application, and transmits the recorded video stream to the display device to realize mirroring and projection. However, the screen recording application is an application developed by a third party, that is, the screen recording application does not belong to the system level application, and can only allow the recording of the current display content of the operating system screen, but does not allow the operating system to record the currently playing audio data and system audio. Therefore, when the user mirrors the screen of the mobile device to the display device, the sound of the mobile device cannot be output through the display device. The corresponding audio is played through the display device 200, resulting in poor experience. In order to improve user experience, some embodiments of the present application provide a display device and an audio output control method for screen mirroring.
下面结合附图,来介绍本申请一些实施例提供的镜像投屏音频输出控制的过程。The audio output control process of mirroring screen projection provided by some embodiments of the present application is described below with reference to the accompanying drawings.
图39为根据一些实施例的镜像投屏音频输出控制方法的流程示意图。本申请在一些实施例中提供了一种显示设备,该显示设备200包括显示器260、扬声器和控制器250,所述控制器250与所述显示器260和扬声器通信连接,所述控制器250被配置为执行图39中的镜像投屏音频输出控制的过程。结合图39,该镜像投屏音频输出控制的过程如下:Fig. 39 is a schematic flowchart of a method for controlling audio output of screen mirroring according to some embodiments. The present application provides a display device in some embodiments, the display device 200 includes a display 260, a speaker, and a controller 250, the controller 250 is connected to the display 260 and the speaker in communication, and the controller 250 is configured It is the process of implementing the audio output control of mirroring screen projection in FIG. 39 . With reference to Figure 39, the audio output control process of the mirroring projection screen is as follows:
S701:响应于移动设备发送的投屏请求,控制所述显示器显示播放界面,并控制启动所述显示设备的蓝牙协议服务,其中,所述播放界面用于显示所述移动设备的投屏界面。S701: In response to a screen projection request sent by a mobile device, control the display to display a playback interface, and control to start a Bluetooth protocol service of the display device, where the playback interface is used to display a screen projection interface of the mobile device.
在一些实施例中,在用户需要将移动设备上所展示的屏幕内容镜像投屏至显示设备200时,可通过移动设备向显示设备200发送投屏请求。显示设备200接收并响应移动设备所发送的投屏请求,与移动设备基于网络连接协议建立连接。建立连接后,移动设备可以实时录屏,将屏幕当前展示内容录制并压缩为视频流传输至显示设备200,此处,视频流即为移动设备的投屏界面。显示设备200控制显示器260显示出播放界面,并将移动设备的投屏界面显示于播放界面上。In some embodiments, when the user needs to mirror and project the screen content displayed on the mobile device to the display device 200, the mobile device may send a screen projection request to the display device 200. The display device 200 receives and responds to the screen projection request sent by the mobile device, and establishes a connection with the mobile device based on a network connection protocol. After the connection is established, the mobile device can record the screen in real time, record and compress the currently displayed content on the screen into a video stream and transmit it to the display device 200, where the video stream is the screen projection interface of the mobile device. The display device 200 controls the display 260 to display the playback interface, and displays the screen projection interface of the mobile device on the playback interface.
在一些实施例中,移动设备和显示设备200均可下载同一投屏应用,移动设备和显示设备200基于投屏应用建立连接关系,移动设备通过投屏应用向显示设备200发送视频流。这里,在移动设备的投屏应用中,可以设置“开始投屏”控件,在移送设备接收到用户对“开始投屏”控件的点击是,触发录制屏幕功能,在实时录制屏幕的同时,将录制的屏幕压缩并传输至显示设备200。In some embodiments, both the mobile device and the display device 200 can download the same screen-casting application, the mobile device and the display device 200 establish a connection relationship based on the screen-casting application, and the mobile device sends a video stream to the display device 200 through the screen-casting application. Here, in the screen casting application of the mobile device, you can set the "Start Screen Casting" control. When the mobile device receives the user's click on the "Start Screen Casting" control, the recording screen function will be triggered. While recording the screen in real time, the The recorded screen is compressed and transmitted to the display device 200 .
在一些实施例中,在显示设备200与移动设备通过网络协议建立连接时,显示设备200同时需要检测本机的蓝牙协议服务是否开启,若是检测到蓝牙协议服务还未启动,则需要立即控制蓝牙协议服务启动,以使显示设备200基于蓝牙协议服务响应于移动设备的音频传输请求。In some embodiments, when the display device 200 establishes a connection with the mobile device through the network protocol, the display device 200 needs to detect whether the Bluetooth protocol service of the machine is enabled at the same time. If it detects that the Bluetooth protocol service has not been started, it needs to immediately control the Bluetooth The protocol service is started, so that the display device 200 responds to the audio transmission request of the mobile device based on the Bluetooth protocol service.
在一些实施例中,显示设备控制蓝牙协议服务通过蓝牙A2DP(Advanced Audio Distribution Profile,蓝牙音频传输模型协定)协议与移动设备进行连接。In some embodiments, the display device controls the Bluetooth protocol service to connect with the mobile device through the Bluetooth A2DP (Advanced Audio Distribution Profile, Bluetooth audio transmission model agreement) protocol.
在一些实施例中,显示设备200可以响应多个移动设备的投屏请求,也就是可以接收多个移动设备的投屏连接。若所述移动设备包含第一移动设备和第二移动设备,在接收到第二移动设备的投屏请求时,显示设备200控制所述显示器同时展示所述第一移动设备所发送的投屏界面以及所述第一移动设备所发送的投屏界面,其中,所述第一移动设备向显示设备发送投屏请求的时间早于所述第二移动设备向显示设备发送投屏请求的时间。图40为根据一些实施例的多移动设备镜像投屏至显示设备200的显示效果示意图。如图40所示,以三个移动设备为例,第一移动设备、第二移动设备以及第三移动设备均与显示设备200投屏,显示设备200在显示器260上同屏展示出三个移动设备的投屏界面。In some embodiments, the display device 200 may respond to screen projection requests from multiple mobile devices, that is, may receive screen projection connections from multiple mobile devices. If the mobile device includes a first mobile device and a second mobile device, when receiving a screen projection request from the second mobile device, the display device 200 controls the display and simultaneously displays the screen projection interface sent by the first mobile device And the screen casting interface sent by the first mobile device, wherein the time when the first mobile device sends the screen casting request to the display device is earlier than the time when the second mobile device sends the screen casting request to the display device. Fig. 40 is a schematic diagram of a display effect of mirroring and projecting screens of multiple mobile devices to the display device 200 according to some embodiments. As shown in FIG. 40 , taking three mobile devices as an example, the first mobile device, the second mobile device and the third mobile device all project screens with the display device 200 , and the display device 200 displays three mobile devices on the same screen on the display 260 . The screen projection interface of the device.
在一些实施例中,在发送投屏请求的移动设备存在多个时,如,第一移动设备和第二移动设备均向显示设备200发送投屏请求,显示设备200接收第一移动设备和第二移动设备发送的投屏请求,在所述播放界面内创建与移动设备相同数量的播放控件,其中,多个所述播放控件隶属于同一应用。例如,多个移动设备与显示设备200均安装由同一投屏应用,显示设备200基于一个应用接收多个移动设备的投屏请求。在第一个移动设备与显示设备200建立连接时,显示设备200在播放界面上创建第一播放控件,并控制显示器260全屏展示第一播放控件。当显示设备200再与第二个移动设备建立连接时,显示设备200在播放界面上创建第二播放控件,当显示设备200再与第三个移动设备建立连接时,显示设备200在播放界面上创建第三播放控件。其中,播放控件用于显示移动设备的投屏界面。三个播放控件的显示效果可以如图40所示。显示设备200控制所述播放控件分别获取相应的所述移动设备的投屏界面进行展示。In some embodiments, when there are multiple mobile devices that send screen casting requests, for example, both the first mobile device and the second mobile device send screen casting requests to the display device 200, and the display device 200 receives the first mobile device and the second mobile device. 2. The screen projection request sent by the mobile device creates the same number of playback controls as the mobile device in the playback interface, wherein multiple playback controls belong to the same application. For example, multiple mobile devices and the display device 200 are installed with the same screen-casting application, and the display device 200 receives screen-casting requests from multiple mobile devices based on one application. When the first mobile device establishes a connection with the display device 200, the display device 200 creates a first playback control on the playback interface, and controls the display 260 to display the first playback control in full screen. When the display device 200 establishes a connection with the second mobile device again, the display device 200 creates a second play control on the playback interface; Create a third playback control. Wherein, the playback control is used to display the screen projection interface of the mobile device. The display effect of the three playback controls may be as shown in FIG. 40 . The display device 200 controls the playback controls to respectively acquire and display corresponding screen projection interfaces of the mobile device.
在一些实施例中,在发送投屏请求的移动设备存在多个时,如,第一移动设备和第二移动设备均向显示设备200发送投屏请求,显示设备200接收第一移动设备和第二移动设备发送的投屏请求,控制所述显示器所显示的用户界面显示出与移动设备相同数量的显示窗口,其中,多个所述显示窗口分别显示 播放界面,多个所述显示窗口分别隶属于不同的应用。例如,多个移动设备分别安装有不同的投屏应用,以三个移动设备为例,分别安装有支持NFC(Near Field Communication,进场通信)、Airplay(无线投屏技术)、DLNA(DIGITAL LIVING NETWORK ALLIANCE,数字生活网络联盟)三种投屏协议的投屏应用,显示设备200也分别基于支持这三种投屏协议的投屏应用与各个移动设备建立网络连接。显示设备200基于不同的应用分别接收相应移动设备的投屏请求。在第一个移动设备与显示设备200建立连接时,显示设备200启动相应的应用,并控制显示器260全屏展示第一显示窗口,在第一显示窗口内显示有第一个移动设备的投屏界面。当显示设备200再与第二个移动设备建立连接时,显示设备200在启动一个与其相应的应用,并控制第一显示窗口置于显示器260的一侧,于显示器260的另一侧展示第二显示窗口,在第二显示窗口内显示有第二个移动设备的投屏界面。显示设备200控制所述显示窗口分别获取相应的所述移动设备的投屏界面进行展示。In some embodiments, when there are multiple mobile devices that send screen casting requests, for example, both the first mobile device and the second mobile device send screen casting requests to the display device 200, and the display device 200 receives the first mobile device and the second mobile device. 2. The screen projection request sent by the mobile device controls the user interface displayed on the display to display the same number of display windows as the mobile device, wherein the plurality of display windows respectively display the playback interface, and the plurality of display windows respectively belong to for different applications. For example, multiple mobile devices are installed with different screen projection applications. Taking three mobile devices as an example, they are respectively installed with NFC (Near Field Communication, approach communication), Airplay (wireless screen projection technology), DLNA (DIGITAL LIVING NETWORK ALLIANCE, digital life network alliance) screen projection applications of three projection protocols, and the display device 200 also establishes network connections with each mobile device based on the projection applications supporting these three projection protocols. The display device 200 respectively receives screen projection requests from corresponding mobile devices based on different applications. When the first mobile device establishes a connection with the display device 200, the display device 200 starts the corresponding application, and controls the display 260 to display the first display window in full screen, and the screen projection interface of the first mobile device is displayed in the first display window . When the display device 200 establishes a connection with the second mobile device again, the display device 200 starts a corresponding application, and controls the first display window to be placed on one side of the display 260, and displays the second mobile device on the other side of the display 260. A display window, where a screen projection interface of the second mobile device is displayed in the second display window. The display device 200 controls the display window to acquire and display corresponding screen projection interfaces of the mobile device.
S702:接收所述移动设备发送的音频传输请求,利用所述蓝牙协议服务与所述移动设备建立蓝牙传输通道。S702: Receive an audio transmission request sent by the mobile device, and use the Bluetooth protocol service to establish a Bluetooth transmission channel with the mobile device.
在一些实施例中,在显示设备200与移动设备基于网络连接协议建立连接后,移动设备可向显示设备200发送音频传输请求,通过音频传输请求告知显示设备200本移送设备要进行声音传输。音频传输请求内容可以如下:MP_BLUEA2DP_CONNECT_REQUEST(基于蓝牙A2DP连接请求)。In some embodiments, after the display device 200 establishes a connection with the mobile device based on the network connection protocol, the mobile device may send an audio transmission request to the display device 200, and notify the display device 200 that the transfer device will perform sound transmission through the audio transmission request. The audio transmission request content may be as follows: MP_BLUEA2DP_CONNECT_REQUEST (based on Bluetooth A2DP connection request).
在一些实施例中,在移动设备的投屏应用中,可以设置“传输声音”控件,在移送设备接收到用户对“传输声音”控件的点击时,触发移动设备向显示设备200发送音频传输请求,显示设备200响应于该音频传输请求,利用蓝牙协议服务与移动设备建立来连接。In some embodiments, in the screen-casting application of the mobile device, a "transmit sound" control can be set, and when the transfer device receives a user's click on the "transmit sound" control, the mobile device is triggered to send an audio transmission request to the display device 200 , the display device 200 responds to the audio transmission request, and establishes a connection with the mobile device using the Bluetooth protocol service.
在一些实施例中,若所述移动设备包含第一移动设备和第二移动设备,在接收到第二移动设备的音频传输请求时,显示设备200控制停止接收所述第一移动设备所发送的音频数据,并接收所述第二移动设备所发送的音频数据,以使所述扬声器停止所述第一以移动设备的音频数据的输出,并控制所述扬声器输出所述第二移动设备的音频数据,其中,所述第一移动设备向显示设备发送音频传输请求的时间早于所述第二移动设备向显示设备发送音频传输请求的时间。也就是说,在发送投屏请求的移动设备存在多个时,显示设备200响应于最后一个发送音频传输请求的移动设备,与最后一个发送音频传输请求的移动设备建立蓝牙传输通道。In some embodiments, if the mobile device includes a first mobile device and a second mobile device, when receiving an audio transmission request from the second mobile device, the display device 200 controls to stop receiving the audio transmission sent by the first mobile device. audio data, and receive the audio data sent by the second mobile device, so that the speaker stops the output of the audio data of the first mobile device, and controls the speaker to output the audio of the second mobile device data, wherein the time when the first mobile device sends the audio transmission request to the display device is earlier than the time when the second mobile device sends the audio transmission request to the display device. That is to say, when there are multiple mobile devices that send the screen projection request, the display device 200 responds to the last mobile device that sends the audio transmission request, and establishes a Bluetooth transmission channel with the last mobile device that sends the audio transmission request.
在一些实施例中,所述移动设备包含第一移动设备和第二移动设备,所述第一移动设备向显示设备发送音频传输请求的时间早于所述第二移动设备向显示设备发送音频传输请求的时间。显示设备200接收所述第二移动设备发送的音频传输请求,检测所述显示设备200当前的蓝牙连接状态。若所述显示设备200已与第一移动设备建立蓝牙传输通道,则断开与第一移动设备之间的蓝牙传输通道。也就是说,在显示设备200已经与第一移动设备建立了蓝牙连接,则需要显示设备200向第一移动设备发送断开蓝牙连接指令,先断开与第一移动设备直接的连接,例如,显示设备200向第一移动设备发送MP_BLUEA2DP_DISCONNECT(断开蓝牙A2DP连接)。In some embodiments, the mobile device includes a first mobile device and a second mobile device, the first mobile device sending the audio transmission request to the display device earlier than the second mobile device sending the audio transmission request to the display device time of request. The display device 200 receives the audio transmission request sent by the second mobile device, and detects the current Bluetooth connection status of the display device 200 . If the display device 200 has established a Bluetooth transmission channel with the first mobile device, disconnect the Bluetooth transmission channel with the first mobile device. That is to say, after the display device 200 has established a Bluetooth connection with the first mobile device, the display device 200 needs to send an instruction to disconnect the Bluetooth connection to the first mobile device, and first disconnect the direct connection with the first mobile device, for example, The display device 200 sends MP_BLUEA2DP_DISCONNECT (to disconnect the Bluetooth A2DP connection) to the first mobile device.
在一些实施例中,第一移动设备接收到显示设备200发送的表征断开蓝牙连接的指令之后,更新本移动设备的蓝牙连接状态。In some embodiments, the first mobile device updates the Bluetooth connection status of the mobile device after receiving the instruction sent by the display device 200 representing disconnection of the Bluetooth connection.
在一些实施例中,在显示设备200与第一移动设备断开蓝牙连接后,向后来发送音频传输请求的第二移动设备反馈表征允许蓝牙连接的指令,例如,显示设备200向第二移动设备发送MP_BLUEA2DP_CONNECT_REQUEST_ACK(基于蓝牙A2DP连接请求确认)。第二移动设备在接收到显示设备200发送的运行蓝牙连接的指令后,重新向显示设备200发送音频传输请求。In some embodiments, after the display device 200 disconnects the Bluetooth connection with the first mobile device, the second mobile device that subsequently sends an audio transmission request feeds back an instruction indicating that the Bluetooth connection is allowed, for example, the display device 200 sends an instruction to the second mobile device Send MP_BLUEA2DP_CONNECT_REQUEST_ACK (based on Bluetooth A2DP connection request confirmation). The second mobile device resends an audio transmission request to the display device 200 after receiving the instruction for running the Bluetooth connection sent by the display device 200 .
在一些实施例中,显示设备200接收所述第二移动设备根据表征允许蓝牙连接的命令重新发送的音频传输请求,与所述第二移动设备建立蓝牙传输通道。In some embodiments, the display device 200 receives the audio transmission request resent by the second mobile device according to the command indicating that the Bluetooth connection is allowed, and establishes a Bluetooth transmission channel with the second mobile device.
在一些实施例中,在所述检测所述显示设备200当前的蓝牙连接状态时,若所述显示设备200未与所述第一移动设备建立蓝牙传输通道,则显示设备200响应于所述第二移动设备发送的音频传输请求,直接与所述第二移动设备建立蓝牙传输通道。In some embodiments, when detecting the current Bluetooth connection state of the display device 200, if the display device 200 has not established a Bluetooth transmission channel with the first mobile device, the display device 200 responds to the first mobile device. The audio transmission request sent by the second mobile device directly establishes a Bluetooth transmission channel with the second mobile device.
在一些实施例中,在接收所述移动设备发送的音频传输请求,显示设备200利用默认PIN码与所述移动设备在后台进行配对,以使第一次连接时,所述显示设备200和所述移动设备均不弹出蓝牙配对对话框。即移动设备和显示设备200在进行蓝牙连接时,均在后台通过默认的PIN码进行配对,配对完成后建立起蓝牙传输通道。这样,如果移动设备与显示设备200是第一次进行蓝牙连接时,移动设备与显示设备200都不会弹出蓝牙配对对话框,无需用户操作蓝牙配对过程,避免打扰用户观看投屏界面,提升用户体验。In some embodiments, after receiving the audio transmission request sent by the mobile device, the display device 200 uses a default PIN code to pair with the mobile device in the background, so that when the first connection is made, the display device 200 and the mobile device None of the mobile devices mentioned above will pop up the Bluetooth pairing dialog box. That is, when the mobile device and the display device 200 are connected via Bluetooth, they are paired in the background through a default PIN code, and a Bluetooth transmission channel is established after the pairing is completed. In this way, if the mobile device and the display device 200 are connected with Bluetooth for the first time, neither the mobile device nor the display device 200 will pop up a Bluetooth pairing dialog box, and the user does not need to operate the Bluetooth pairing process, so as to avoid disturbing the user to watch the screen projection interface and improve user experience. experience.
S703:接收所述移动设备通过所述蓝牙传输通道发送的音频数据,控制所述扬声器输出所述音频数据。S703: Receive audio data sent by the mobile device through the Bluetooth transmission channel, and control the speaker to output the audio data.
在一些实施例中,在显示设备200与移动设备建立蓝牙传输通道之后,移动设备200可以将音频数据通过蓝牙传输通道发送至显示设备200,以使显示设备200通过扬声器输出相应的音频数据。In some embodiments, after the display device 200 establishes a Bluetooth transmission channel with the mobile device, the mobile device 200 may send audio data to the display device 200 through the Bluetooth transmission channel, so that the display device 200 outputs corresponding audio data through the speaker.
在一些实施例中,若是显示设备200与移动设备通过网络连接协议建立连接后,可先进行屏幕内容的投屏,在显示设备200与移动设备建立蓝牙连接通道之后,再进行音频数据的传输。例如,若是用户将移动设备的投屏界面显示再显示设备200之后,可先翻找需要投屏的内容,如,翻找到相册中的某一自己录制的视频,用户在点击视频进行播放时,再触发移动设备与显示设备200建立蓝牙连接通道,进而发送该视频相应的音频数据至显示设备200播放。当然,用户也可在播放视频之前,先触发移动设备与显示设备200建立蓝牙连接通道。In some embodiments, if the display device 200 establishes a connection with the mobile device through the network connection protocol, the screen content can be projected first, and then the audio data can be transmitted after the display device 200 establishes a Bluetooth connection channel with the mobile device. For example, if the user displays the screen projection interface of the mobile device and then displays the device 200, he can first search for the content that needs to be screened, such as, if he finds a video recorded by himself in the album, when the user clicks on the video to play, Then trigger the mobile device to establish a Bluetooth connection channel with the display device 200 , and then send the corresponding audio data of the video to the display device 200 for playback. Of course, the user can also trigger the mobile device to establish a Bluetooth connection channel with the display device 200 before playing the video.
下面结合附图,进一步描述本申请一些实施例中镜像投屏音频输出控制的过程。The audio output control process of mirroring screen projection in some embodiments of the present application will be further described below with reference to the accompanying drawings.
图41为根据一些实施例的镜像投屏音频输出控制方法的时序图。如图41所示,显示设备200与第一移动设备和第二移动设备投屏连接,第一移动设备和第二移动设备的屏幕内容均显示在显示设备200的显示器260上。第一移动设备先向显示设备200发送音频传输请求,显示设备200在接收到第一移动设备发送的音频传输请求后,向第一移动设备反馈表征允许蓝牙连接的指令,在第一移动设备接收到该指令后,第一移动设备和显示设备均通过默认PIN码进行配对,配对成功后,第一移动设备与显示设备200建立蓝牙连接通道,第一移动设备向显示设备200发送音频数据,显示设备200在接收到音频数据后控制扬声器播放。此时,第二移动设备再向显示设备200发送音频传输请求,显示设备200检测本机当前蓝牙连接状态,在检测到已与第一移动设备蓝牙连接后,先向第一移动设备发送表征断开蓝牙连接的指令,与第一移动设备断开蓝牙连接,停止第一移动设备音频数据的播放。第一移动设备在接收到显示设备200发送表征断开蓝牙连接的指令之后更新自身的蓝牙连接状态。显示设备200与第一移动设备断开蓝牙连接之后,向第二移动设备发送表征允许蓝牙连接的指令,在第二移动设备接收到该指令后,第二移动设备和显示设备均通过默认PIN码进行配对,配对成功后,第二移动设备与显示设备200建立蓝牙连接通道,第二移动设备向显示设备200发送音频数据,显示设备200在接收到音频数据后控制扬声器播放。Fig. 41 is a timing diagram of a method for controlling audio output of screen mirroring according to some embodiments. As shown in FIG. 41 , the display device 200 is connected to the first mobile device and the second mobile device for screen projection, and the screen contents of the first mobile device and the second mobile device are displayed on the display 260 of the display device 200 . The first mobile device first sends an audio transmission request to the display device 200, and after receiving the audio transmission request sent by the first mobile device, the display device 200 feeds back to the first mobile device an instruction indicating that Bluetooth connection is allowed. After receiving the instruction, the first mobile device and the display device are paired through the default PIN code. After the pairing is successful, the first mobile device and the display device 200 establish a Bluetooth connection channel, and the first mobile device sends audio data to the display device 200, and the display After receiving the audio data, the device 200 controls the speaker to play. At this time, the second mobile device sends an audio transmission request to the display device 200, and the display device 200 detects the current Bluetooth connection status of the machine, and after detecting that it has been connected to the first mobile device with Bluetooth, it first sends an indication message to the first mobile device. The instruction of opening the Bluetooth connection disconnects the Bluetooth connection with the first mobile device, and stops playing the audio data of the first mobile device. The first mobile device updates its own Bluetooth connection status after receiving the instruction sent by the display device 200 representing disconnection of the Bluetooth connection. After the display device 200 disconnects the Bluetooth connection with the first mobile device, it sends an instruction to the second mobile device indicating that the Bluetooth connection is allowed. After the second mobile device receives the instruction, both the second mobile device and the display device pass the default PIN code. After pairing, after the pairing is successful, the second mobile device establishes a Bluetooth connection channel with the display device 200, the second mobile device sends audio data to the display device 200, and the display device 200 controls the speaker to play after receiving the audio data.
本申请中,显示设备与移动设备在进行镜像投屏时,移动设备将投屏界面与相应的音频数据分成两路传输至显示设备,其中,通过蓝牙传输通道实现了移动设备的音频数据通过显示设备输出,极大的提升了用户体验。In this application, when the display device and the mobile device are mirroring the screen, the mobile device divides the screen projection interface and the corresponding audio data into two channels and transmits them to the display device. The audio data of the mobile device is displayed through the Bluetooth transmission channel. Device output greatly improves user experience.
本申请一些实施例还提供了一种镜像投屏音频输出控制方法,所述方法包括:显示设备200响应于移动设备发送的投屏请求,控制显示器260显示播放界面,并控制启动所述显示设备的蓝牙协议服务,其中,所述播放界面用于显示所述移动设备的投屏界面。显示设备200接收所述移动设备发送的音频传输请求,利用所述蓝牙协议服务与所述移动设备建立蓝牙传输通道。显示设备200接收所述移动设备通过所述蓝牙传输通道发送的音频数据,控制扬声器输出所述音频数据。Some embodiments of the present application also provide an audio output control method for screen mirroring, the method includes: the display device 200 responds to the screen projection request sent by the mobile device, controls the display 260 to display a playback interface, and controls to start the display device Bluetooth protocol service, wherein the playback interface is used to display the screen projection interface of the mobile device. The display device 200 receives the audio transmission request sent by the mobile device, and uses the Bluetooth protocol service to establish a Bluetooth transmission channel with the mobile device. The display device 200 receives the audio data sent by the mobile device through the Bluetooth transmission channel, and controls the speaker to output the audio data.
在一些实施例中,在发送投屏请求的移动设备存在多个时,显示设备200接收多个所述移动设备发送的投屏请求,在所述播放界面内创建与所述移动设备相同数据的播放控件,其中,多个所述播放控件隶属于同一应用。显示设备200控制所述播放控件分别获取相应的所述移动设备的投屏界面进行展示。In some embodiments, when there are multiple mobile devices that send screen casting requests, the display device 200 receives multiple screen casting requests sent by the mobile devices, and creates an image with the same data as the mobile device in the playback interface. A playback control, wherein multiple playback controls belong to the same application. The display device 200 controls the playback controls to respectively acquire and display corresponding screen projection interfaces of the mobile device.
在一些实施例中,在发送投屏请求的移动设备存在多个时,显示设备200响应于最后一个发送音频传输请求的移动设备,与最后一个发送音频传输请求的移动设备建立蓝牙传输通道。In some embodiments, when there are multiple mobile devices that send the screen projection request, the display device 200 responds to the last mobile device that sends the audio transmission request, and establishes a Bluetooth transmission channel with the last mobile device that sends the audio transmission request.
上述示例性的讨论不是意图穷尽或者将实施方式限定到上述公开的具体形式。根据上述的教导,可以得到多种修改和变形。上述实施方式的选择和描述是为了更好的解释原理以及实际的应用,从而使得本领域技术人员更好的使用所述实施方式以及适于具体使用考虑的各种不同的变形的实施方式。The above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teachings. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various modified embodiments suitable for specific use considerations.

Claims (28)

  1. 一种显示设备,包括:A display device comprising:
    显示器,用于显示图像;a display for displaying images;
    通信器,用于与一个或多个终端设备通信连接;a communicator for communicating with one or more terminal devices;
    控制器,与所述显示器和通信器连接并且被配置为执行:a controller coupled to the display and communicator and configured to:
    接收来自所述一个或多个终端设备中的第一终端设备的投屏请求,receiving a screen projection request from a first terminal device among the one or more terminal devices,
    响应所述投屏请求,根据所述显示器的当前显示状态,确定所述显示器的更新策略,以播放与所述投屏请求对应的资源。In response to the screen projection request, an update policy of the display is determined according to the current display state of the display, so as to play resources corresponding to the screen projection request.
  2. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述控制器进一步配置为:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the controller is further configured to:
    响应于所述一个或多个窗口的数量小于预设上限值,且所述投屏请求对应的资源的资源类型为视频,则创建目标窗口作为播放所述投屏请求对应资源的窗口,并保持所述一个或多个窗口的状态不变;以及In response to the number of the one or more windows being less than the preset upper limit, and the resource type of the resource corresponding to the screen projection request is video, creating a target window as a window for playing the resource corresponding to the screen projection request, and maintaining the state of the one or more windows; and
    根据更新后的窗口总数,重新布局所述一个或多个窗口和所述目标窗口在所述显示器的显示区域的展示。According to the updated total number of windows, re-layout the display of the one or more windows and the target window in the display area of the display.
  3. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述控制器进一步配置为:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the controller is further configured to:
    响应所述一个或多个窗口的数量小于预设上限值,且所述投屏请求对应的资源的资源类型为视频,则控制显示器弹出第一提示弹窗,其中所述第一提示弹窗包括第一新增控件;以及In response to the number of the one or more windows being less than the preset upper limit, and the resource type of the resource corresponding to the screen projection request is video, control the display to pop up a first prompt pop-up window, wherein the first prompt pop-up window including the first added control; and
    响应于对所述第一新增控件的选定操作,创建目标窗口作为播放所述投屏请求对应的资源的窗口,并保持所述一个或多个窗口的状态不变,以及,根据更新后的窗口总数,重新布局所述一个或多个窗口和所述目标窗口在所述显示器的显示区域的展示。In response to the selection operation of the first newly added control, create a target window as a window for playing the resource corresponding to the screen projection request, and keep the state of the one or more windows unchanged, and, according to the updated The total number of windows, rearranging the display of the one or more windows and the target window in the display area of the display.
  4. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述控制器进一步配置为:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the controller is further configured to:
    响应所述一个或多个窗口的数量小于预设上限值,且投屏请求对应的资源的资源类型为视频,则控制显示器弹出第一提示弹窗,其中所述第一提示弹窗包括第一替换控件,响应于对所述第一替换控件的选定操作,将通过所述第一替换控件选择的窗口作为用于播放所述投屏请求对应的资源的目标窗口,停止播放所述目标窗口被选定前的原媒体数据,使选定的目标窗口显示所述投屏请求对应的资源,其他窗口的播放状态保持不变。In response to the number of the one or more windows being less than the preset upper limit, and the resource type of the resource corresponding to the screen projection request is video, control the display to pop up a first prompt pop-up window, wherein the first prompt pop-up window includes the first A replacement control, in response to a selection operation on the first replacement control, use the window selected by the first replacement control as a target window for playing the resource corresponding to the screen projection request, and stop playing the target The original media data before the window is selected, so that the selected target window displays the resources corresponding to the screen projection request, and the playback status of other windows remains unchanged.
  5. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述控制器进一步配置为:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the controller is further configured to:
    响应于所述一个或多个窗口的数量等于预设上限值,且所述投屏请求对应的资源的资源类型为视频,则控制显示器弹出第二提示弹窗,其中所述第二提示弹窗包括取消控件;以及In response to the number of the one or more windows being equal to the preset upper limit, and the resource type of the resource corresponding to the screen casting request is video, control the display to pop up a second prompt pop-up window, wherein the second prompt pop-up window includes a cancel control; and
    响应于对所述取消控件的选定操作,取消播放所述投屏请求对应的资源,不更新所述显示器。In response to the selection operation of the cancel control, the playing of the resource corresponding to the screen projection request is cancelled, and the display is not updated.
  6. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述控制器进一步配置为:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the controller is further configured to:
    响应所述一个或多个窗口的数量等于预设上限值,且所述投屏请求对应的资源的资源类型为视频,则控制显示器弹出第二提示弹窗,其中所述第二提示弹窗包括第二替换控件,响应于对所述第二替换控件的选定操作,将通过所述第二替换控件选择的窗口作为用于播放所述投屏请求对应的资源的目标窗口,停止播放所述目标窗口被选定前的原媒体数据,使选定的目标窗口显示所述投屏请求对应的资源,其他窗口的播放状态保持不变。In response to the number of the one or more windows being equal to the preset upper limit, and the resource type of the resource corresponding to the screen projection request is video, then control the display to pop up a second prompt pop-up window, wherein the second prompt pop-up window A second replacement control is included, and in response to a selection operation on the second replacement control, the window selected through the second replacement control is used as the target window for playing the resource corresponding to the screen projection request, and the playback of the resource corresponding to the screen projection request is stopped. The original media data before the target window is selected, so that the selected target window displays the resources corresponding to the screen projection request, and the playback status of other windows remains unchanged.
  7. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述控制器被进一步配置为:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, the controller is further configured to:
    响应于所述一个或多个窗口的数量等于预设上限值,且所述投屏请求对应的资源的资源类型为视频,按照预设规则,从所述显示器当前的所述一个或多个窗口中筛选出作为用于播放所述投屏请求对应的资源的目标窗口;以及In response to the number of the one or more windows being equal to the preset upper limit, and the resource type of the resource corresponding to the screen casting request is video, according to the preset rules, the current one or more windows from the display Screen out the target window as the resource corresponding to the screen projection request for playing; and
    停止播放所述目标窗口被选定前的原媒体数据,使选定的目标窗口显示所述投屏请求对应的资源,其他窗口的播放状态保持不变。Stop playing the original media data before the target window is selected, make the selected target window display the resource corresponding to the screen projection request, and keep the playback status of other windows unchanged.
  8. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述控制器进一步配置为:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the controller is further configured to:
    响应于所述投屏请求对应的资源的资源类型为目标类型,检测所述一个或多个窗口中是否具有对应于同一目标类型的目标窗口,其中所述目标类型为音频或图像;In response to the resource type of the resource corresponding to the screen casting request being a target type, detecting whether there is a target window corresponding to the same target type in the one or more windows, wherein the target type is audio or image;
    响应于所述一个或多个窗口中具有对应于同一目标类型的目标窗口,停止播放所述目标窗口当前播放的原媒体数据,使所述目标窗口显示所述投屏请求对应的资源,其他窗口的播放状态保持不变。In response to the target window corresponding to the same target type in the one or more windows, stop playing the original media data currently played by the target window, make the target window display the resource corresponding to the screen projection request, and other windows The playback state of the .
  9. 根据权利要求8所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述控制器进一步配置为:The display device according to claim 8, wherein the current display state of the display includes displaying one or more windows for displaying images, and the controller is further configured to:
    响应于所述一个或多个窗口中无对应于同一目标类型的目标窗口,检测所述一个或多个窗口 的数量是否小于预设上限值;In response to no object window corresponding to the same object type in the one or more windows, detecting whether the number of the one or more windows is less than a preset upper limit;
    响应于所述一个或多个窗口的数量小于预设上限值,创建目标窗口作为播放所述投屏请求对应资源的窗口,并保持所述一个或多个窗口的状态不变,以及,根据更新后的窗口总数,重新布局所述一个或多个窗口和所述目标窗口在所述显示器的显示区域的展示。In response to the number of the one or more windows being less than a preset upper limit, creating a target window as a window for playing resources corresponding to the screen projection request, and keeping the state of the one or more windows unchanged, and, according to After updating the total number of windows, rearrange the display of the one or more windows and the target window in the display area of the display.
  10. 根据权利要求8所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述控制器进一步配置为:The display device according to claim 8, wherein the current display state of the display includes displaying one or more windows for displaying images, and the controller is further configured to:
    响应于所述一个或多个窗口中无对应于同一目标类型的目标窗口,检测所述一个或多个窗口的数量是否小于预设上限值;In response to no object window corresponding to the same object type among the one or more windows, detecting whether the number of the one or more windows is less than a preset upper limit;
    响应于所述一个或多个窗口的数量等于预设上限值,则控制显示器弹出第三提示弹窗,所述第三提示弹窗包括第三替换控件;响应于对所述第三替换控件的选定操作,将通过所述第三替换控件选择的窗口作为用于播放所述投屏请求对应的资源的目标窗口,停止播放所述目标窗口被选定前的原媒体数据,使选定的目标窗口播放所述投屏请求对应的资源,其他窗口的播放状态保持不变。In response to the number of the one or more windows being equal to the preset upper limit, control the display to pop up a third prompt pop-up window, the third prompt pop-up window includes a third replacement control; in response to the third replacement control The selected operation is to use the window selected by the third replacement control as the target window for playing the resource corresponding to the screen projection request, stop playing the original media data before the target window is selected, and make the selected The target window plays the resource corresponding to the screen projection request, and the playback status of other windows remains unchanged.
  11. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述显示设备还包括内置功放或用于连接外部功放的接口,所述控制器进一步配置为执行:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the display device further includes a built-in power amplifier or an interface for connecting to an external power amplifier, so The above controller is further configured to execute:
    响应于所述投屏请求对应的资源的资源类型为音频,在作为播放所述投屏请求对应的资源的窗口的目标窗口中显示音频播放信息,以及,控制内置功放或外部功放同步播放音频数据;In response to the resource type of the resource corresponding to the screen projection request being audio, display audio playback information in a target window that is a window for playing the resource corresponding to the screen projection request, and control the built-in power amplifier or external power amplifier to play audio data synchronously ;
  12. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述显示设备还包括内置功放或用于连接外部功放的接口,所述控制器进一步配置为执行:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the display device further includes a built-in power amplifier or an interface for connecting to an external power amplifier, so The above controller is further configured to execute:
    响应切换窗口焦点的操作,获取所述一个或多个窗口中的当前焦点所在的第一窗口,并确定所述第一窗口当前播放的第一媒体数据是否包含音频内容;In response to the operation of switching window focus, obtain the first window where the current focus of the one or more windows is located, and determine whether the first media data currently played by the first window contains audio content;
    响应于所述第一媒体数据包含音频内容,控制内置功放或外部功放播放所述音频内容。In response to the first media data including audio content, control a built-in power amplifier or an external power amplifier to play the audio content.
  13. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述显示设备还包括内置功放或用于连接外部功放的接口,所述控制器进一步配置为执行:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the display device further includes a built-in power amplifier or an interface for connecting to an external power amplifier, so The above controller is further configured to execute:
    响应切换窗口焦点的操作,获取所述一个或多个窗口中的当前焦点所在的第一窗口,并确定所述第一窗口当前播放的第一媒体数据是否包含音频内容;In response to the operation of switching window focus, obtain the first window where the current focus of the one or more windows is located, and determine whether the first media data currently played by the first window contains audio content;
    响应于所述第一媒体数据中不包含音频内容,则开启静音模式,或者,控制内置功放或外部功放跳转至播放第二窗口关联的音频数据,其中所述第二窗口为所述一个或多个窗口中当前显示有音频播放信息的窗口。In response to the fact that the first media data does not contain audio content, turn on the silent mode, or control the built-in power amplifier or external power amplifier to jump to play the audio data associated with the second window, wherein the second window is the one or A window that currently displays audio playback information among multiple windows.
  14. 根据权利要求1所述的显示设备,其中,所述显示器的当前显示状态包括展示用于显示图像的一个或多个窗口,所述显示设备还包括内置功放或用于连接外部功放的接口,所述控制器进一步配置为执行:The display device according to claim 1, wherein the current display state of the display includes displaying one or more windows for displaying images, and the display device further includes a built-in power amplifier or an interface for connecting to an external power amplifier, so The above controller is further configured to execute:
    响应切换窗口焦点的操作,获取所述一个或多个窗口中的当前焦点所在的第一窗口,并确定所述第一窗口当前播放的第一媒体数据是否包含音频内容;In response to the operation of switching window focus, obtain the first window where the current focus of the one or more windows is located, and determine whether the first media data currently played by the first window contains audio content;
    响应于所述第一媒体数据中不包含音频内容,控制内置功放或外部功放跳转至播放第二窗口关联的音频数据,其中所述第二窗口为所述一个或多个窗口中当前显示有音频播放信息的窗口。In response to the fact that the first media data does not contain audio content, control the built-in power amplifier or the external power amplifier to jump to play the audio data associated with the second window, wherein the second window is currently displayed in the one or more windows Window for audio playback information.
  15. 根据权利要求1所述的显示设备,其中,所述控制器进一步配置为执行:The display device according to claim 1, wherein the controller is further configured to:
    在接收终端设备推送的资源之前,根据用户定义的多路资源同步播放能力,对应设置目标字段;Before receiving the resources pushed by the terminal device, set the target field correspondingly according to the user-defined multi-channel resource synchronous playback capability;
    其中,所述目标字段用于使终端设备:在推送资源之前,通过读取所述目标字段来查询显示设备是否具备多路资源同步播放能力;Wherein, the target field is used to enable the terminal device to query whether the display device has the ability to play multiple resources synchronously by reading the target field before pushing the resource;
    所述目标字段还用于使终端设备:在查询到显示设备具备多路资源同步播放能力时,将所述投屏请求对应的资源推送给显示设备;The target field is also used to enable the terminal device to push the resources corresponding to the screen projection request to the display device when it is found that the display device has the capability of synchronously playing multiple resources;
    所述目标字段还用于使终端设备:在查询到显示设备不具备多路资源同步播放能力时,向显示设备发送停止指令,所述停止命令用于指示显示设备停止播放当前的媒体数据,以及,在接收到显示设备响应所述停止指令后反馈的已完成信息时,向显示设备推送所述投屏请求对应的资源。The target field is also used to enable the terminal device to send a stop command to the display device when it is found that the display device does not have the ability to play multiple resources synchronously, the stop command is used to instruct the display device to stop playing the current media data, and After receiving the completion information fed back by the display device in response to the stop instruction, push the resources corresponding to the screen projection request to the display device.
  16. 根据权利要求1所述的显示设备,所述投屏请求包括第一资源推送请求和第二资源推送请求,其中,所述第一资源和所述第二资源的媒体类型不同,或者,所述第一资源和所述第二资源的媒体类型均为视频类型,其中所述控制器被配置为按照如下方式确定所述显示器的更新策略:The display device according to claim 1, wherein the screen casting request includes a first resource push request and a second resource push request, wherein the media types of the first resource and the second resource are different, or, the The media types of the first resource and the second resource are video types, wherein the controller is configured to determine an update policy of the display in the following manner:
    响应于所述第一资源推送请求,在显示器显示第一窗口,以播放与所述第一资源推送请求对应的第一资源;In response to the first resource push request, displaying a first window on the display to play the first resource corresponding to the first resource push request;
    响应于所述第二资源推送请求,在显示器新增第二窗口,以在所述第二窗口播放与第二资源推送请求对应的第二资源,并保持所述第一窗口中播放所述第一资源。In response to the second resource push request, add a second window on the display to play the second resource corresponding to the second resource push request in the second window, and keep playing the first resource in the first window. a resource.
  17. 根据权利要求16所述的显示设备,其中,所述显示设备还包括音频输出接口,以及The display device according to claim 16, wherein the display device further comprises an audio output interface, and
    所述控制器被配置为:The controller is configured as:
    响应于所述第二资源推送请求,从所述音频输出接口输出所述第二资源对应的声音数据。In response to the second resource push request, output the sound data corresponding to the second resource from the audio output interface.
  18. 根据权利要求1所述的显示设备,其中,所述投屏请求包括第一资源推送请求和第二资源推送请求,其中,所述第一资源和所述第二资源的媒体类型均为音频类型或者图像类型,所述控制器被配置为按照如下方式确定所述显示器的更新策略:The display device according to claim 1, wherein the screen projection request includes a first resource push request and a second resource push request, wherein the media types of the first resource and the second resource are both audio types or an image type, the controller is configured to determine an update strategy for the display as follows:
    响应于所述第一资源推送请求,在显示器显示第一窗口,以播放所述第一资源推送请求对应的第一资源;In response to the first resource push request, displaying a first window on the display to play the first resource corresponding to the first resource push request;
    响应于所述第二资源推送请求,不新建第二窗口,而在所述第一窗口中将播放第一资源切换为播放所述第二资源。In response to the second resource push request, instead of creating a second window, switch from playing the first resource to playing the second resource in the first window.
  19. 根据权利要求16所述的显示设备,其中,所述第一资源具有第一播放时长,所述第二资源具有第二播放时长,所述控制器进一步配置为执行:The display device according to claim 16, wherein the first resource has a first playback duration, the second resource has a second playback duration, and the controller is further configured to execute:
    检测到任一所述第一资源和第二资源的播放时长达到预设播放时长,将其对应的窗口销毁,保留其余窗口正常播放。When it is detected that the playback duration of any one of the first resource and the second resource reaches the preset playback duration, the corresponding window is destroyed, and the remaining windows are kept for normal playback.
  20. 根据权利要求19所述的显示设备,其中,所述一个窗口对应一个媒体播放器,所述控制器进一步配置为执行:The display device according to claim 19, wherein the one window corresponds to one media player, and the controller is further configured to perform:
    检测到任一所述第一资源和第二资源的播放时长达到预设播放时长,则将该资源对应的媒体播放器释放,同时将其对应的窗口销毁,保留其余窗口正常播放。When it is detected that the playback duration of any one of the first resource and the second resource reaches the preset playback duration, the media player corresponding to the resource is released, and the corresponding window is destroyed at the same time, and the remaining windows are reserved for normal playback.
  21. 根据权利要求1所述的显示设备,所述投屏请求包括连接指令,其中,所述控制器被配置为按照如下方式确定所述显示器的更新策略:The display device according to claim 1, wherein the screen projection request includes a connection instruction, wherein the controller is configured to determine an update policy of the display in the following manner:
    响应于第一终端设备的连接指令,获取第二终端设备数量,其中所述第二终端设备为已经与显示设备连接的终端设备;Acquiring the number of second terminal devices in response to a connection instruction of the first terminal device, where the second terminal device is a terminal device that has been connected to the display device;
    向第一终端设备发送指示信息,所述指示信息用于指示第二终端设备数量,并触发第一终端设备根据第二终端设备数量生成交互窗口,所述交互窗口包括控件,所述交互窗口上的控件根据所述第二终端设备数量确定;sending indication information to the first terminal device, where the indication information is used to indicate the quantity of the second terminal equipment, and trigger the first terminal equipment to generate an interaction window according to the quantity of the second terminal equipment, the interaction window includes controls, and the interaction window The control is determined according to the quantity of the second terminal device;
    接收第一终端设备根据选中所述交互窗口中控件而生成并发送的指令,控制显示器根据所述指令播放与所述投屏请求对应的资源。receiving an instruction generated and sent by the first terminal device according to selecting the control in the interaction window, and controlling the display to play the resource corresponding to the screen projection request according to the instruction.
  22. 根据权利要求21所述的显示设备,其中,所述指令包括新增窗口指令,所述控制器被配置为按照下述步骤执行控制显示器根据所述指令播放与所述投屏请求对应的资源:在第一用户界面上新增窗口,在新增的窗口中播放与所述投屏请求对应的资源。The display device according to claim 21, wherein the instruction includes a new window instruction, and the controller is configured to perform the following steps to control the display to play the resource corresponding to the screen projection request according to the instruction: A new window is added on the first user interface, and the resource corresponding to the screen projection request is played in the newly added window.
  23. 根据权利要求21所述的显示设备,其中,所述第一用户界面上至少包括一个窗口,在所述窗口内播放第二终端设备的资源;The display device according to claim 21, wherein the first user interface includes at least one window, and the resources of the second terminal device are played in the window;
    所述指令包括替换指令,所述替换指令包括替换信息,所述替换信息用于指示被替换资源对应的第二终端设备的窗口信息;所述控制器被配置为按照下述步骤执行控制显示器根据所述指令播放与所述投屏请求对应的资源:断开与所述替换信息对应的第二终端设备的连接,撤销第二终端设备的窗口,在第二终端设备的窗口处新建窗口,将第一终端设备的资源显示在新建的窗口中。The instruction includes a replacement instruction, the replacement instruction includes replacement information, and the replacement information is used to indicate the window information of the second terminal device corresponding to the resource to be replaced; the controller is configured to perform the following steps to control the display according to The instruction plays the resource corresponding to the screen projection request: disconnecting the second terminal device corresponding to the replacement information, canceling the window of the second terminal device, creating a new window at the window of the second terminal device, and The resources of the first terminal device are displayed in a newly created window.
  24. 根据权利要求21所述的显示设备,其中,所述指令包括不再投屏指令,所述控制器被配置为按照下述步骤执行控制显示器显示根据所述指令播放与所述投屏请求对应的资源:拒绝与所述第一终端设备连接,维持用户界面的显示状态不变。The display device according to claim 21, wherein the instruction includes an instruction not to project the screen, and the controller is configured to perform the following steps to control the display to display the video corresponding to the screen projection request according to the instruction: Resource: refuse to connect with the first terminal device, and keep the display state of the user interface unchanged.
  25. 根据权利要求21所述的显示设备,其中,所述控制器,还用于执行:The display device according to claim 21, wherein the controller is further configured to:
    判断是否符合不发送指示信息的条件;Judging whether the conditions for not sending instruction information are met;
    响应于符合所述条件,则不发送指示信息;In response to meeting the condition, not sending indication information;
    响应于不符合所述条件,则发送指示信息。In response to not meeting the condition, send indication information.
  26. 根据权利要求25所述的显示设备,其中,所述不发送指示信息的条件包括第一用户界面上窗口数量的上限值为特定值。The display device according to claim 25, wherein the condition for not sending the indication information includes that an upper limit value of the number of windows on the first user interface is a specific value.
  27. 一种内容显示方法,包括:A content display method, comprising:
    接收来自所述一个或多个终端设备中的第一终端设备的投屏请求,receiving a screen projection request from a first terminal device among the one or more terminal devices,
    响应所述投屏请求,根据显示器的当前显示状态,确定所述显示器的更新策略,以播放所述投屏请求对应的资源。In response to the screen projection request, an update policy of the display is determined according to the current display state of the display, so as to play resources corresponding to the screen projection request.
  28. 根据权利要求27所述的方法,所述投屏请求包括第一资源推送请求和第二资源推送请求,其中,所述第一资源和所述第二资源的媒体类型不同,或者,所述第一资源和所述第二资源的媒体类型均为视频类型,其中确定所述显示器的更新策略包括:According to the method according to claim 27, the screen casting request includes a first resource push request and a second resource push request, wherein the media types of the first resource and the second resource are different, or, the second resource The media types of the first resource and the second resource are both video types, wherein determining the update policy of the display includes:
    响应于所述第一资源推送请求,在显示器显示第一窗口,以播放与所述第一资源推送请求对应的第一资源;In response to the first resource push request, displaying a first window on the display to play the first resource corresponding to the first resource push request;
    响应于所述第二资源推送请求,在显示器新增第二窗口,以在所述第二窗口播放与第二资源推送请求对应的第二资源,并保持所述第一窗口中播放所述第一资源。In response to the second resource push request, add a second window on the display to play the second resource corresponding to the second resource push request in the second window, and keep playing the first resource in the first window. a resource.
PCT/CN2022/096383 2021-08-27 2022-05-31 Display device, terminal device, and content display method WO2023024630A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202280057404.7A CN117859331A (en) 2021-08-27 2022-05-31 Display device, terminal device and content display method

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
CN202110997833.X 2021-08-27
CN202110998023.6 2021-08-27
CN202110998018.5A CN113703706A (en) 2021-08-27 2021-08-27 Display method, display device and terminal for multi-path screen projection
CN202110998018.5 2021-08-27
CN202110998023.6A CN113965785A (en) 2021-08-27 2021-08-27 Resource synchronous playing method and display equipment
CN202110997833.XA CN114401433A (en) 2021-08-27 2021-08-27 Resource synchronous playing method and display equipment
CN202111133007.7A CN113766305A (en) 2021-09-27 2021-09-27 Display device and mirror image screen projection audio output control method
CN202111133007.7 2021-09-27

Publications (1)

Publication Number Publication Date
WO2023024630A1 true WO2023024630A1 (en) 2023-03-02

Family

ID=85322419

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/096383 WO2023024630A1 (en) 2021-08-27 2022-05-31 Display device, terminal device, and content display method

Country Status (2)

Country Link
CN (1) CN117859331A (en)
WO (1) WO2023024630A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116347145A (en) * 2023-03-27 2023-06-27 广州南翼信息科技有限公司 Multi-device screen sharing method, screen throwing device, display device and sharing system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2682859A2 (en) * 2012-07-06 2014-01-08 LG Electronics, Inc. Mobile terminal, image display device and user interface provision method using the same
CN105812910A (en) * 2014-12-29 2016-07-27 中国移动通信集团公司 Method and device for establishing many-to-one wireless one-screen session
KR101729858B1 (en) * 2015-10-26 2017-04-24 광운대학교 산학협력단 Apparatus and method for TV mirroring
CN110381197A (en) * 2019-06-27 2019-10-25 华为技术有限公司 Many-one throws the processing method of screen sound intermediate frequency data, apparatus and system
CN111552450A (en) * 2020-04-30 2020-08-18 深圳市鸿合创新信息技术有限责任公司 Screen projection method and device
CN112019896A (en) * 2020-08-27 2020-12-01 北京字节跳动网络技术有限公司 Screen projection method and device, electronic equipment and computer readable medium
CN112394892A (en) * 2019-08-15 2021-02-23 北京字节跳动网络技术有限公司 Screen projection method, screen projection equipment, mobile terminal and storage medium
CN112788255A (en) * 2021-01-27 2021-05-11 北京小米移动软件有限公司 Wireless screen projection method and device and screen projection host
CN113282260A (en) * 2021-06-09 2021-08-20 深圳康佳电子科技有限公司 Screen projection control method and device, intelligent terminal and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2682859A2 (en) * 2012-07-06 2014-01-08 LG Electronics, Inc. Mobile terminal, image display device and user interface provision method using the same
CN105812910A (en) * 2014-12-29 2016-07-27 中国移动通信集团公司 Method and device for establishing many-to-one wireless one-screen session
KR101729858B1 (en) * 2015-10-26 2017-04-24 광운대학교 산학협력단 Apparatus and method for TV mirroring
CN110381197A (en) * 2019-06-27 2019-10-25 华为技术有限公司 Many-one throws the processing method of screen sound intermediate frequency data, apparatus and system
CN112394892A (en) * 2019-08-15 2021-02-23 北京字节跳动网络技术有限公司 Screen projection method, screen projection equipment, mobile terminal and storage medium
CN111552450A (en) * 2020-04-30 2020-08-18 深圳市鸿合创新信息技术有限责任公司 Screen projection method and device
CN112019896A (en) * 2020-08-27 2020-12-01 北京字节跳动网络技术有限公司 Screen projection method and device, electronic equipment and computer readable medium
CN112788255A (en) * 2021-01-27 2021-05-11 北京小米移动软件有限公司 Wireless screen projection method and device and screen projection host
CN113282260A (en) * 2021-06-09 2021-08-20 深圳康佳电子科技有限公司 Screen projection control method and device, intelligent terminal and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116347145A (en) * 2023-03-27 2023-06-27 广州南翼信息科技有限公司 Multi-device screen sharing method, screen throwing device, display device and sharing system
CN116347145B (en) * 2023-03-27 2023-10-31 广州南翼信息科技有限公司 Multi-device screen sharing method, screen throwing device, display device and sharing system

Also Published As

Publication number Publication date
CN117859331A (en) 2024-04-09

Similar Documents

Publication Publication Date Title
WO2022028561A1 (en) Video mirroring method and apparatus, and electronic device and storage medium
WO2022228572A1 (en) Display device and user interface control method
CN102325144B (en) Method and system for interconnection between media equipment and multimedia equipment
US11330033B2 (en) Streaming and nonstreaming media transfer between devices
US11606596B2 (en) Methods, systems, and media for synchronizing audio and video content on multiple media devices
JP6492227B2 (en) Method for content projection and mobile terminal
JP2013251890A (en) Method and system for reproducing video stream
JPWO2008117586A1 (en) Content reproduction system, content reproduction / control apparatus, and computer program
CN114401433A (en) Resource synchronous playing method and display equipment
WO2023011058A1 (en) Display device, communication terminal, and projected-screen image dynamic display method
WO2023024630A1 (en) Display device, terminal device, and content display method
CN113965785A (en) Resource synchronous playing method and display equipment
US20230262286A1 (en) Display device and audio data processing method
WO2024108905A1 (en) Server, intelligent device, and intelligent device control method
WO2023284498A1 (en) Video playing method and apparatus, and storage medium
WO2022088899A1 (en) Display device, communication method between display device and external loudspeaker, and audio output method for external loudspeaker
WO2022242328A1 (en) Method for playback in split screen and display device
CN114615536B (en) Display device and sound effect processing method
CN114615529A (en) Display device, external device and audio playing method
KR20150117212A (en) Display apparatus and control method thereof
WO2023193643A1 (en) Display device, and processing method for display device
US11659229B2 (en) System and method for management and presentation of alternate media
WO2023160100A1 (en) Display device, external device, and audio playing and sound effect processing method
WO2022001424A1 (en) Display device
WO2024212539A1 (en) Electronic device, and method for adjusting position of screen-mirroring picture

Legal Events

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

Ref document number: 22859977

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202280057404.7

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22859977

Country of ref document: EP

Kind code of ref document: A1