WO2022135553A1 - Screen projection method capable of continuously playing videos, and apparatus and system - Google Patents

Screen projection method capable of continuously playing videos, and apparatus and system Download PDF

Info

Publication number
WO2022135553A1
WO2022135553A1 PCT/CN2021/141041 CN2021141041W WO2022135553A1 WO 2022135553 A1 WO2022135553 A1 WO 2022135553A1 CN 2021141041 W CN2021141041 W CN 2021141041W WO 2022135553 A1 WO2022135553 A1 WO 2022135553A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
electronic device
screen
videos
server
Prior art date
Application number
PCT/CN2021/141041
Other languages
French (fr)
Chinese (zh)
Inventor
刘晓鹏
包锐
Original Assignee
花瓣云科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 花瓣云科技有限公司 filed Critical 花瓣云科技有限公司
Publication of WO2022135553A1 publication Critical patent/WO2022135553A1/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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/41Structure of client; Structure of client peripherals
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • 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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Definitions

  • the embodiments of the present application relate to screen projection technologies, and in particular, to a screen projection method, device, and system for continuously playing videos.
  • the digital living network alliance (DLNA) protocol is one of the commonly used screen projection protocols.
  • the user After logging in a video application program that supports the DLAN function in the electronic device, the user searches for a large-screen device that can cast a screen and establishes a communication connection, so as to share the video and other media content on the electronic device to the large-screen device for playback.
  • DLNA digital living network alliance
  • the present application provides a screen projection method, device and system capable of continuously playing videos, which solves the problem that the large-screen device cannot play continuously after the communication connection between the electronic device and the large-screen device is disconnected after screen projection.
  • an embodiment of the present application provides a screen projection method that can continuously play videos.
  • the method is applied to a screen projection system, where the screen projection system includes an electronic device, a large-screen device, and a server.
  • the method includes: the electronic device Receive a first operation, and establish a communication connection with the large-screen device in response to the first operation; the electronic device sends first information to the large-screen device based on the communication connection, the first information indicating that multiple videos are in the large-screen device.
  • Implementing the method provided in the first aspect can realize that in the process of screen projection, after the large-screen device receives the first information from the electronic device, and before the large-screen device plays the video, the continuous work of multiple videos no longer depends on the real-time online of the electronic device. Control, even if the communication connection between the electronic device and the large-screen device is disconnected, the large-screen device can still play video continuously, improving the user's screen projection experience.
  • an embodiment of the present application provides a screen projection method that can play videos continuously.
  • the method is applied to a screen projection system, where the screen projection system includes an electronic device, a large-screen device, and a server, and the method includes: the electronic device Receive a first operation, and establish a communication connection with the large-screen device in response to the first operation; the electronic device sends first information to the large-screen device based on the communication connection, the first information indicating that multiple videos are in the large-screen device.
  • the storage location in the server; the large-screen device requests the server to obtain the multiple videos according to the first information; the server sends the multiple videos to the large-screen device; the large-screen device plays the video in the multiple videos For the first video, the communication connection between the electronic device and the large-screen device is disconnected; the large-screen device plays the second video among the plurality of videos.
  • Implementing the method provided in the second aspect can realize that in the process of screen projection, after each video on the large-screen device ends, the continuation of another video no longer depends on the real-time online control of the electronic device, which solves the problem of the large-screen device.
  • the communication connection between the electronic device and the large-screen device is disconnected, and the large-screen device can still play the video continuously, which improves the user's screen projection experience.
  • the method before the electronic device detects the first operation, the method further includes: the electronic device plays a third video; after the electronic device detects the first operation, the above-mentioned method further includes: The method further includes: the electronic device displays a video option; the electronic device receives a second operation, the second operation acts on the option of the fourth video in the video option; the electronic device sends the identification of the third video to the server , and, the identifier of the fourth video; the above-mentioned server sends second information to the electronic device, and the second information indicates the storage location of the third video and the fourth video in the server; wherein, the first information The plurality of videos in includes the third video and the fourth video.
  • the user can select a desired video from the videos recommended on the electronic device side for screencasting, so as to meet the user's personalized needs and improve the user's screencasting experience.
  • the method before the electronic device sends the first information to the large-screen device based on the communication connection, the method further includes: the electronic device sends the third video to the server identification; the server determines the fifth video, and sends second information to the electronic device, where the second information indicates the storage location of the third video and the fifth video in the server; wherein, in the first information
  • the plurality of videos includes the third video and the fifth video.
  • the server can recommend the video required by the user for screen projection, so as to meet the user's personalized needs and improve the user's screen projection experience.
  • the first information is a first uniform resource locator URL
  • the first URL corresponds to the storage location of the above-mentioned multiple videos in the server: the electronic device is based on the Before the communication connection sends the first information to the large-screen device, the method further includes: the server generates the first URL according to the respective URLs of the multiple videos, and sends the first URL to the electronic device.
  • the large-screen device can acquire multiple videos from the server according to the above-mentioned first URL, so as to continuously play the multiple videos.
  • an embodiment of the present application provides a screen projection method that can continuously play videos, the method is applied to an electronic device, and the method includes: the electronic device receives a first operation, and responds to the first operation and a large The screen device establishes a communication connection; the electronic device sends first information to the large-screen device based on the communication connection, where the first information indicates the storage locations of multiple videos in the server, and the first information is used for the large-screen device Acquire the plurality of videos; before the large-screen device plays the plurality of videos, or during the process of playing the plurality of videos on the large-screen device, the electronic device and the large-screen device disconnect the communication connection.
  • Implementing the method provided in the third aspect can realize that after the large-screen device receives the first information from the electronic device during the projection process, the continuous work of multiple videos no longer depends on the real-time online control of the electronic device, and solves the problem of electronic devices after projection. After the communication connection between the device and the large-screen device is disconnected, the large-screen device cannot play continuously, which improves the user's screen casting experience.
  • the method before the electronic device detects the first operation, the method further includes: the electronic device plays a third video; after the electronic device detects the first operation, the method further includes: The electronic device displays a video option; the electronic device receives a second operation, the second operation acts on the option of the fourth video in the video option; the electronic device sends the identification of the third video to the server, and the The identification of the fourth video; the electronic device receives the second information sent by the server, the second information indicates the storage location of the third video and the fourth video in the server; wherein, the first information in the The plurality of videos includes the third video and the fourth video.
  • the video corresponding to the above-mentioned video option includes one or more of the following: a video whose correlation with the above-mentioned third video exceeds a threshold, a video recommended by an electronic device according to user information, or an electronic The video recommended by the device according to the click-through rate.
  • the user can select a desired video from the videos recommended on the electronic device side for screencasting, so as to meet the user's personalized needs and improve the user's screencasting experience.
  • the method before the electronic device sends the first information to the large-screen device based on the communication connection, the method further includes: the electronic device sends a first message to the server, where the first message includes : the identifier of the third video; the electronic device receives the second information sent by the server, where the second information indicates the storage location of the third video and the fifth video determined by the server in the server.
  • the plurality of videos in the first information includes the third video and the fifth video.
  • the fifth video determined by the server includes one or more of the following: a video with a degree of association with the third video exceeding a threshold, a video recommended by the server according to user information, or , the server recommends videos according to the click-through rate.
  • the server can recommend the video required by the user for screen projection, so as to meet the user's personalized needs and improve the user's screen projection experience.
  • the above-mentioned first information is a first uniform resource locator URL
  • the first URL corresponds to the storage location of the above-mentioned plurality of videos in the server: the above-mentioned electronic Before the device sends the first information to the large-screen device based on the communication connection, the method further includes: the electronic device receives a first URL, where the first URL is generated by the server according to the respective URLs of the plurality of videos.
  • the large-screen device can acquire multiple videos from the server according to the above-mentioned first URL, so as to continuously play the multiple videos.
  • the above-mentioned first information is a screen projection interpretation file
  • the screen projection interpretation file includes the respective URLs of the above-mentioned multiple videos
  • the above-mentioned electronic device sends the first information to the large-screen device based on the communication connection.
  • the method further includes: the electronic device receives the screen projection interpretation file described above, where the screen projection interpretation file is generated by the server according to the respective URLs of the multiple videos.
  • the large-screen device can acquire multiple videos from the server according to the above-mentioned screen projection interpretation file, so as to realize the continuous playback of the multiple videos.
  • the above-mentioned first information is a screen projection interpretation file
  • the screen projection interpretation file includes the respective URLs of the above-mentioned multiple videos
  • the above-mentioned electronic device sends the first information to the large-screen device based on the communication connection.
  • the above method further includes: the electronic device receives the respective URLs of multiple videos sent by the server; then, the electronic device generates the screen projection interpretation file according to the respective URLs of the multiple videos.
  • the large-screen device can acquire multiple videos from the server according to the above-mentioned screen projection interpretation file, so as to realize the continuous playback of the multiple videos.
  • the above-mentioned screen projection interpretation file further includes one or more of the following: the version number of the screen projection interpretation file, the number of the multiple videos, the respective durations of the multiple videos, the The total duration of the multiple videos, the playback mode of the multiple videos, the playback order of the multiple videos, or the video names of the multiple videos.
  • the large-screen device can display the content that the user wants to know in the above-mentioned screencasting explanation file, so as to satisfy the user's screencasting experience.
  • an embodiment of the present application provides a screen projection method that can continuously play videos.
  • the method is applied to a large-screen device.
  • the method includes: establishing a communication connection between the large-screen device and the electronic device; the large-screen device is based on the large-screen device.
  • the communication connection receives the first information sent by the electronic device, the first information indicates the storage locations of multiple videos in the server; the large-screen device and the electronic device disconnect the communication connection; the large-screen device according to the first information
  • a message requests the server to obtain the plurality of videos; the large-screen device receives the plurality of videos sent by the server, and then the large-screen device plays the plurality of videos.
  • Implementing the method provided in the fourth aspect can realize that after the large-screen device receives the first information from the electronic device during the projection process, the continuous work of multiple videos no longer depends on the real-time online control of the electronic device, and solves the problem of electronic devices after projection. After the communication connection between the device and the large-screen device is disconnected, the large-screen device cannot play continuously, which improves the user's screen casting experience.
  • an embodiment of the present application provides a screen projection method that can continuously play videos.
  • the method is applied to a large-screen device.
  • the method includes: establishing a communication connection between the large-screen device and the electronic device; and the large-screen device based on the large-screen device.
  • the communication connection obtains first information from the electronic device, where the first information indicates the storage locations of the plurality of videos in the server; the large-screen device requests the server to obtain the plurality of videos according to the first information; the large-screen device requests the server to obtain the plurality of videos; The large-screen device receives the multiple videos sent by the server; the large-screen device plays the first video among the multiple videos; the large-screen device and the electronic device disconnect the communication connection; the large-screen device continues to play the multiple videos The second video of the videos.
  • Implementing the method provided in the fifth aspect can realize that after the large-screen device receives the first information from the electronic device during the projection process, the continuous work of multiple videos no longer depends on the real-time online control of the electronic device, which solves the problem of electronic devices after projection. After the communication connection between the device and the large-screen device is disconnected, the large-screen device cannot play continuously, which improves the user's screen casting experience.
  • the above-mentioned first information is a first uniform resource locator URL, and the first URL corresponds to the storage location of the plurality of videos in the server.
  • the above-mentioned large-screen device plays the above-mentioned multiple videos, which specifically includes: the large-screen device plays the multiple videos in sequence according to the order in which the multiple videos are acquired.
  • the above-mentioned first information is a screen projection interpretation file
  • the screen projection interpretation file includes respective URLs of the multiple videos.
  • the large-screen device can acquire multiple videos from the server according to the above-mentioned screen projection interpretation file, so as to realize the continuous playback of the multiple videos.
  • the above-mentioned method further includes: the large-screen device displays a screen projection list, and the screen projection list includes: options for the plurality of videos; the large-screen device responds to the action on The third operation of the screen projection list is to perform any one or more of the following: adjust the playback order of the multiple videos, and adjust the playback mode of the multiple videos.
  • the large-screen device can display the screen projection list to meet the personalized needs of the user, and the large-screen device can also accept user operations to realize the playback order of multiple videos and the functions of adjusting the playback modes of the multiple videos.
  • the above-mentioned screen projection interpretation file further includes one or more of the following: the version number of the screen projection interpretation file, the number of the multiple videos, the respective duration, the total duration of the multiple videos, the playback mode of the multiple videos, the playback order of the multiple videos, or the video names of the multiple videos.
  • the large-screen device requests the server to acquire the plurality of videos according to the first information, which specifically includes: the large-screen device sends the first information to the CDN ; the large-screen device obtains the plurality of videos from the server according to the CDN; the large-screen device plays the plurality of videos.
  • an embodiment of the present application provides an electronic device, the electronic device includes one or more processors and one or more memories; wherein, the one or more memories are coupled to the one or more processors, The one or more memories are used to store computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method as described in the embodiment of the third aspect .
  • an embodiment of the present application provides a large-screen device, where the large-screen device includes one or more processors and one or more memories; wherein, the one or more memories and the one or more processors Coupling, the one or more memories are used to store computer program code, the computer program code includes computer instructions, when the one or more processors execute the computer instructions, make the large screen device perform as the fourth aspect or the fifth aspect A method as described in any one of the embodiments of the aspect.
  • an embodiment of the present application provides a computer program product containing instructions, when the computer program product is run on an electronic device, the electronic device is caused to execute the method described in the embodiment of the third aspect.
  • an embodiment of the present application provides a computer-readable storage medium, including instructions, when the instructions are executed on an electronic device, the electronic device causes the electronic device to execute the method described in the embodiment of the third aspect.
  • an embodiment of the present application provides a computer program product including instructions, when the computer program product runs on a large-screen device, the large-screen device is made to perform any one of the fourth aspect or the fifth aspect The method described in the embodiment.
  • an embodiment of the present application provides a computer-readable storage medium, including an instruction, when the instruction is executed on a large-screen device, the large-screen device is caused to perform any one of the fourth aspect or the fifth aspect The method described in this embodiment.
  • an embodiment of the present application provides a screen projection system, the screen projection system includes an electronic device, a large-screen device, and a server, the electronic device is the electronic device described in the third aspect, and the large-screen device is the fourth The large-screen device described in the aspect or the fifth aspect.
  • the large-screen device can realize the continuous playback of multiple videos, and in this process, the electronic device and the large-screen device are connected. There is no need to maintain a communication connection between them. In this way, after each video is played, the continuation of another video no longer depends on the real-time online control of the electronic device. The device cannot play continuously.
  • FIG. 1 is a schematic diagram of an existing screen projection technology
  • FIG. 2 is a schematic structural diagram of a screen projection system 10 according to an embodiment of the present application.
  • FIG. 3A is a schematic diagram of a hardware structure of an electronic device 100 according to an embodiment of the present application.
  • FIG. 3B is a schematic diagram of a software structure of the electronic device 100 provided by an embodiment of the present application.
  • FIG. 4A is a schematic diagram of a hardware structure of a large-screen device 200 provided by an embodiment of the present application.
  • FIG. 4B is a block diagram of the software structure of the large-screen device 200 provided by the embodiment of the present application.
  • FIG. 5A is a schematic diagram of a hardware structure of a server 300 according to an embodiment of the present application.
  • FIG. 5B is a schematic diagram of the software structure of the server 300 provided by the embodiment of the present application.
  • FIG. 6 is a flowchart of the method for screen projection provided in Embodiment 1 of the present application.
  • FIGS. 7A-7G are schematic diagrams of a set of user interfaces provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a user interface provided by an embodiment of the present application.
  • Embodiment 9 is a flowchart of a method for screen projection provided in Embodiment 2 of the present application.
  • FIGS. 10A-10E are schematic diagrams of another set of user interfaces provided by this embodiment of the present application.
  • FIG. 11 is a flowchart of the method for screen projection provided in Embodiment 3 of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the “multiple” The meaning is two or more.
  • GUI graphical user interface
  • the screen projection between the electronic device and the large-screen device may be based on the DLNA standard.
  • DLNA DLNA
  • DLNA is a solution for sharing data.
  • different devices can share media files based on DLNA.
  • the devices involved in the DLNA standard include a digital media controller (DMC), a digital media renderer (DMR) and a digital media server (DMS).
  • DMC digital media controller
  • DMR digital media renderer
  • DMS digital media server
  • DMS is a provider of media content and can provide media content for DMC and DMR, such as cloud servers.
  • the DMC can be used as a remote control device, which can search for the media content on the DMS and designate a DMR that can play the media content, such as mobile phones, tablet computers and other electronic devices.
  • the DMR can receive and play the media content specified by the DMC.
  • DMR can acquire and play media content from DMS, typical devices such as smart TVs, smart screens and other large-screen devices.
  • FIG. 1 exemplarily shows a schematic diagram of the existing DLAN-based screen projection technology.
  • the current screen projection process based on the DLAN protocol includes:
  • the electronic device sends the URL of the video to the large-screen device based on the communication connection with the large-screen device.
  • the large-screen device obtains the corresponding video stream from the server according to the URL.
  • the large screen device receives the video stream and plays the video.
  • the electronic device and the large-screen device must maintain a communication connection to realize continuous video playback.
  • the electronic device can monitor the current video playback end event of the large-screen device, and automatically request the server to obtain the URL of the next video.
  • the next video can be the next video of the finished video. one episode.
  • the electronic device Once the electronic device is disconnected from the large-screen device, the electronic device cannot monitor the current video playback end event of the large-screen device, so it cannot continuously push the URL of the next video to the large-screen device to continuously play the video.
  • the following embodiments of the present application provide a screen projection method that can continuously play videos.
  • the large-screen device can realize continuous playback of multiple videos, and during this process, there is no need to maintain a communication connection between the electronic device and the large-screen device.
  • the continuation of another video no longer depends on the real-time online control of the electronic device.
  • the device cannot play continuously.
  • the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server, which further meets the user's personalized needs and improves the user's screen projection experience.
  • FIG. 2 shows a screen projection system 10 provided by an embodiment of the present application.
  • the screen projection system 10 includes: an electronic device 100 , a large-screen device 200 , a server 300 and a CDN 400 .
  • the electronic device 100 may establish a communication connection with the large-screen device 200 .
  • the communication connection may be a DLNA connection.
  • DLAN connections include wired network connections that conform to the 802.3.i/u protocol established by the Institute of Electrical and Electronics Engineers (IEEE), and wireless networks that conform to the 802.11/a/b/g/n/ac protocol. Connection, such as Wi-Fi Direct (such as Wi-Fi P2P).
  • Wi-Fi Direct such as Wi-Fi P2P
  • the communication connection may also be a Bluetooth connection conforming to the 802.15 protocol, which is not limited in this embodiment of the present application.
  • the electronic device 100 and the large-screen device 200 may establish a remote connection.
  • the electronic device 100 and the large-screen device 200 may log in to the same account (eg, a Huawei account), and then connect using a server that manages the account.
  • the same account eg, a Huawei account
  • the electronic device 100 can push the new URL returned by the server 300 to the large-screen device 200 based on the communication connection with the large-screen device 200, and the large-screen device 200 can obtain the playlist according to the new URL separate URLs for each video and associated video in the URL, and play videos continuously based on these URLs.
  • the electronic device 100 may include, but is not limited to, a smart phone, a tablet computer, a personal digital assistant (PDA), a wearable electronic device with a wireless communication function (eg, a smart watch, smart glasses), and the like.
  • Exemplary embodiments of electronic devices include, but are not limited to, onboard Portable electronic devices with Linux or other operating systems.
  • the above-mentioned electronic device may also be other portable electronic device, such as a laptop computer (Laptop) and the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
  • the electronic device 100 may also be a DMC in the DLAN standard.
  • the large-screen device 200 refers to an electronic device having a large-sized display screen, such as a television, a smart screen, or an electronic billboard.
  • the larger size of the display screen configured by the large-screen device 200 is relative to that of the electronic device 100 , that is, the size of the display screen of the large-screen device 200 is larger than that of the electronic device 100 .
  • the TV set can be used with a TV box, and the TV box is used to convert the received digital signal into an analog signal and then send it to the TV set for display.
  • the large-screen device 200 may be a TV set with a digital-to-analog conversion function, or a TV set equipped with a TV box.
  • the large-screen device 200 may also be a DMR in the DLAN standard.
  • the electronic device 100 and the large-screen device 200 may be the same type of device, as long as the sizes of the display screens have relative sizes.
  • the electronic device 100 may be an ordinary smart phone
  • the large-screen device may be a large-screen smart phone with a flexible screen.
  • the large-screen device 200 may also be used in conjunction with a remote control. Communication between the remote controller and the large-screen device 200 may be through infrared signals.
  • the server 300 is a provider of media content, and the media content that the user needs to play is stored in the server 300 .
  • the server 300 may be a server that stores various media contents, such as a Huawei video server that provides audio and video services.
  • the number of servers 300 may be one or more.
  • the server 300 may also be implemented as a cloud server.
  • the server 300 is also a DMS in the DLAN standard.
  • the server 300 can not only provide media content for the electronic device 100 and the large-screen device 200, but also provide functions such as video management, video projection and arrangement, and video recommendation.
  • the server 300 recommends a series of related videos according to the playlist created by the user, integrates the URLs of each video and the related videos in the playlist into a new URL, and then sends the new URL to the electronic device.
  • CDN400 is an intelligent virtual network built on the basis of the existing network, relying on edge servers deployed in various places, through the load balancing, content distribution, scheduling and other functional modules of the central platform, so that users can obtain the desired content nearby, reducing network congestion, Improve user access response speed and hit rate.
  • the key technologies of CDN400 mainly include content storage and distribution technologies.
  • the CDN 400 is mainly responsible for storing the URL of the video, obtaining the corresponding video from the server 300 according to the URL, and sending the video to the large-screen device in the form of streaming media.
  • FIG. 3A shows a schematic diagram of the hardware structure of the electronic device 100 .
  • the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the wireless communication module 160 may be configured to establish a communication connection with the server 300, and request the server 300 to obtain a new URL based on the communication connection.
  • the wireless communication module 160 is further configured to establish a communication connection with the large-screen device 200, and push the new URL generated by the server 300 to the large-screen device 200 based on the communication connection.
  • the user can perform operations such as pause/continue, double-speed, fast-forward, etc. on the currently playing video in the video application program on the electronic device side to realize the large-screen device. Pause/Resume, Double Speed, Fast Forward the currently playing video.
  • the communication connection may be the aforementioned DLAN connection or Bluetooth connection.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • the display screen 194 may display a user interface of a video application program in the electronic device 100 that is using the screen casting function.
  • the display screen 194 may be used to display the user interface of the Huawei Video application currently running on the electronic device 100 .
  • the internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
  • RAM random access memories
  • NVM non-volatile memories
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the electronic device 100 .
  • FIG. 3B is a block diagram of the software structure of the electronic device 100 provided by the embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, video applications, and the like.
  • the video applications in the embodiments of the present application provide audio and video services for the electronic device 100 .
  • the electronic device 100 may run a video application, and obtain network video from a server corresponding to the video application.
  • the number of video applications may be one or more, for example, Huawei Video may be included.
  • the server corresponding to the video application refers to a server provided by the developer of the video application for managing the application and providing audio and video services for the application, such as the server 300 shown in FIG. 1 .
  • Video applications include modules such as projection sending, projection control, and projection list management.
  • the screen projection sending module can establish a connection with the screen projection receiving module on the large screen device 200 for sending the new URL generated by the server 300 .
  • the screen projection control module can be used by the user to control the state of the video playing on the large-screen device on the electronic device side, such as fast forward, pause, double speed, etc.
  • Modules such as screencasting list management can support users to manually create playlists when screencasting.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window manager, a content provider, a telephony manager, a resource manager, a notification manager, a view system, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library Media Libraries
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • FIG. 4A is a schematic diagram of a hardware structure of a large-screen device 200 according to an embodiment of the present application.
  • the large-screen device 200 may include: a video codec 121, a processor 122, a memory 123, a wireless communication processing module 124, a power switch 125, a wired LAN communication processing module 126, a high-definition multimedia interface (high-definition multimedia interface) definition multimedia interface, HDMI) communication processing module 127, USB communication processing module 128, display screen 129, audio module 130.
  • the individual modules can be connected via a bus. in:
  • the processor 122 may be used to read and execute computer readable instructions.
  • the processor 122 may mainly include a controller, an arithmetic unit and a register.
  • the controller is mainly responsible for instruction decoding, and sends out control signals for the operations corresponding to the instructions.
  • the arithmetic unit is mainly responsible for performing fixed-point or floating-point arithmetic operations, shift operations, and logical operations, and can also perform address operations and conversions.
  • Registers are mainly responsible for saving register operands and intermediate operation results temporarily stored during instruction execution.
  • the hardware architecture of the processor 122 may be an application specific integrated circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, an NP architecture, or the like.
  • ASIC application specific integrated circuit
  • the processor 122 may be configured to parse a signal received by the wireless communication processing module 124, such as a new URL sent by the electronic device 100, and acquire multiple videos and associated videos in the playlist according to the new URL.
  • the wireless communication processing module 124 may include a WLAN communication processing module 124A, and may further include a Bluetooth (BT) communication processing module 124B, an NFC processing module 124C, a cellular mobile communication processing module (not shown), and the like.
  • BT Bluetooth
  • NFC NFC processing
  • cellular mobile communication processing module not shown
  • the wireless communication processing module 124 may be configured to establish a communication connection with the electronic device 100, and receive a new URL sent by the electronic device 100 and generated by the server 300 based on the communication connection.
  • the communication connection established between the wireless communication processing module 124 and the electronic device 100 may be various.
  • the WLAN communication processing module 124A can be used to establish a Wi-Fi Direct communication connection with the electronic device 100
  • the Bluetooth (BT) communication processing module 124B can be used to establish a Bluetooth communication connection with the electronic device 100
  • the NFC processing module 124C can be used to establish a Bluetooth communication connection with the electronic device 100 establishes an NFC connection and so on.
  • the wireless communication processing module 124 may also be configured to establish a communication connection with the CDN 400, and receive a video stream sent by the CDN 400 based on the communication connection.
  • the communication connection established by the wireless communication processing module 124 and the CDN 400 may perform data transmission based on the HTTP protocol, and the present application does not impose any restrictions on the communication connection type and data transmission protocol between the devices.
  • Memory 123 is coupled to processor 122 for storing various software programs and/or sets of instructions.
  • memory 123 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 123 can store operating systems, such as embedded operating systems such as uCOS, VxWorks, RTLinux, and the like.
  • the memory 123 may also store communication programs that may be used to communicate with the electronic device 100, one or more servers, or additional devices.
  • the power switch 125 can be used to control the power supply of the power supply to the large screen device 200 .
  • the wired LAN communication processing module 126 can be used to communicate with other devices in the same LAN through the wired LAN, and can also be used to connect to the WAN through the wired LAN, and can communicate with the devices in the WAN.
  • the HDMI communication processing module 127 may be used to communicate with other devices through an HDMI interface (not shown).
  • the USB communication processing module 128 may be used to communicate with other devices through a USB interface (not shown).
  • Display screen 129 may be used to display images, video, and the like.
  • the display screen 129 may adopt a display screen such as LCD, OLED, AMOLED, FLED, and QLED.
  • a display screen such as LCD, OLED, AMOLED, FLED, and QLED.
  • the display screen 129 can continuously play multiple videos according to the video streams of the multiple videos, such as the playlist and the associated video, which are received by the wireless communication module 124 from the server 300 .
  • Audio module 130 can be used to output audio signals through the audio output interface, so that the large-screen display device 200 can support audio playback.
  • the audio module 130 can also be used to receive audio data through the audio input interface.
  • the audio module 130 may include, but is not limited to, a microphone, a speaker, a receiver, and the like.
  • the large-screen device 200 may further include a serial interface such as an RS-232 interface.
  • the serial interface can be connected to other devices, such as audio amplifiers such as speakers, so that the display and audio amplifiers can cooperate to play audio and video.
  • the structure shown in FIG. 4A does not constitute a specific limitation on the large-screen device 200 .
  • the large-screen device 200 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the software system of the large-screen device 200 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture, and so on.
  • the software system of the large-screen device 200 may include but is not limited to Linux or other operating systems. For Huawei's Hongmeng system.
  • the software system of the large-screen device 200 may include a screen projection receiving module and a screen projection playing module.
  • the screen projection receiving module can establish a communication connection with the electronic device 100. Based on the communication connection, the large-screen device 200 can receive a new URL, and then obtain the independent URLs of each video and the associated video in the playlist according to the new URL, so as to continuously Play the video.
  • FIG. 5A shows the hardware structure of a server 300 for providing a video service according to an embodiment of the present application.
  • server 300 may include: one or more processors 301 , memory 302 , communication interface 303 , transmitter 305 , receiver 306 , coupler 307 , and antenna 308 . These components may be connected through a bus 304 or in other ways, and FIG. 5A takes the connection through a bus as an example. in:
  • the communication interface 303 can be used for the server 300 to communicate with other communication devices, such as the electronic device 100 , the large-screen device 200 , and the CDN 400 .
  • the communication interface 303 may be a 3G communication interface, a Long Term Evolution (LTE) (4G) communication interface, a 5G communication interface, a WLAN communication interface, a WAN communication interface, and the like.
  • LTE Long Term Evolution
  • the server 300 may also be configured with a wired communication interface 303 to support wired communication, for example, the backhaul link between the server 300 and other servers may be a wired communication connection.
  • the transmitter 305 and the receiver 306 may be regarded as a wireless modem.
  • the transmitter 305 can be used for transmitting and processing the signal output by the processor 301 .
  • a receiver 306 may be used to receive signals.
  • the number of the transmitter 305 and the receiver 306 may be one or more.
  • Antenna 308 may be used to convert electromagnetic energy in a transmission line to electromagnetic waves in free space, or to convert electromagnetic waves in free space to electromagnetic energy in a transmission line.
  • the coupler 307 can be used to divide the mobile communication signal into multiple paths for distribution to a plurality of receivers 306 . It will be appreciated that the antenna 308 of the network device may be implemented as a large scale antenna array.
  • Memory 302 is coupled to processor 301 for storing various software programs and/or sets of instructions.
  • memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 302 may store an operating system (hereinafter referred to as a system), such as an embedded operating system such as uCOS, VxWorks, and RTLinux.
  • a system such as an embedded operating system such as uCOS, VxWorks, and RTLinux.
  • the memory 302 can also store a network communication program, and the network communication program can be used to communicate with the electronic device 100 and the large-screen device 200 .
  • the memory 302 may store a user account of a registered user of a video application program, such as a user name, an avatar, a mobile phone number, and the like.
  • the processor 301 may be configured to read and execute computer-readable instructions. Specifically, the processor 301 may be configured to call a program stored in the memory 302, such as an implementation program on the server 300 side of the screen projection method for continuously playing video provided by one or more embodiments of the present application, and execute the program included in the program instruction.
  • a program stored in the memory 302 such as an implementation program on the server 300 side of the screen projection method for continuously playing video provided by one or more embodiments of the present application, and execute the program included in the program instruction.
  • server 300 shown in FIG. 5A is only an implementation manner of the embodiment of the present application. In practical applications, the server 300 may further include more or less components, which is not limited here.
  • the software system of the server 300 may include an origin site, a video recommendation module, and a video projection and arrangement module.
  • the origin site is used to store the original video file, and can be used to obtain the video stream of the corresponding video according to the URL of the video when the large-screen device 200 requests to play the video through the CDN 400 .
  • the URL points to the storage location of the video in the source site.
  • the video recommendation module is used to recommend a series of videos associated with the videos in the playlist sent by the electronic device 100 according to certain recommendation rules in response to the screen projection request of the electronic device 100, wherein the recommendation rules can be described in detail with reference to the following, I won't go into details here
  • the video projection screen arrangement module is used to generate a new URL corresponding to the multiple videos in the playlist and the associated video, and store the new URL in the origin site.
  • the electronic device 100 may create a playlist in response to a user operation, and then send the playlist to the server 300 that provides video services, and the server 300 recommends a series of related videos according to the playlist, and generates the playlist
  • the corresponding new URLs of the respective videos and associated videos in the system are then sent to the electronic device 100 .
  • the electronic device 100 can push the new URL to the large-screen device 200 based on the communication connection with the large-screen device 200, and the large-screen device 200 can obtain each video and associated video in the playlist according to the new URL, so as to realize Play the video continuously. Therefore, the large-screen device can realize the continuous playback of multiple videos, and during this process, there is no need to maintain a communication connection between the electronic device and the large-screen device. In this way, after each video is played, the continuous playback of another video no longer depends on the real-time online control of the electronic device. The problem that the screen device cannot play continuously.
  • the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server, which further meets the user's personalized needs and improves the user's screen projection experience.
  • FIG. 6 exemplarily shows the flow of the screen projection method provided in Embodiment 1 of the present application.
  • the following is a detailed introduction:
  • the electronic device 100 enables the "automatic continuous screen projection" function.
  • FIG. 7A exemplarily shows a user interface 710 of the electronic device 100 to enable the "automatic continuous screen projection" function.
  • the user interface 710 is a setting interface provided by a video application program.
  • the setting interface may include a control provided to the user for enabling/disabling the "automatic continuous screen projection" function of the electronic device 100.
  • the user operates to enable the "automatic continuous screen projection" function of the electronic device 100 .
  • the screen projection setting bar 711 in the user interface 710 includes a control 711A, and the control 711A is used to enable/disable the “automatic continuous screen projection” function.
  • the electronic device 100 may turn on the "automatic continuous screen projection" function of the electronic device 100 in response to the operation acting on the control 711A as shown in FIG. 7A .
  • the user interface 710 shown in FIG. 7A is a setting interface of any video application program that can provide a screen projection function.
  • the video application may be Huawei Video.
  • FIG. 7A only exemplarily shows a user interface of the electronic device 100, which should not constitute a limitation to the embodiments of the present application.
  • the electronic device 100 may also enable the "automatic continuous screen projection” function in other manners.
  • the electronic device 100 can also enable the "automatic continuous screen projection” function in response to a control provided by the user on the system setting interface, or enable the "automatic continuous screen projection” function in response to a voice command, or the electronic device 100 enables the "automatic continuous screen projection” function by default. screen” function.
  • “Automatic continuous screen projection” may be a service or function provided by the electronic device 100, which may support the electronic device 100 to obtain URLs of multiple videos, so that the large-screen device 200 can continuously play videos.
  • the specific implementation of the electronic device 100 acquiring the URLs of multiple videos is as follows:
  • the "automatic continuous screen projection" can support the video application in the electronic device 100 to provide a series of videos for the user to select.
  • the end 300 obtains the video URL in the first playlist.
  • the video application program provides a strategy for videos that can be selected by the user, and, for the specific process of creating the first playlist by the user, please refer to the detailed description of FIG. 7B-FIG. 7D later, and the content of the first playlist can refer to Detailed description in Table 1 below.
  • the first playlist is also the aforementioned playlist.
  • "automatic continuous screen projection" can support the electronic device 100 to connect directly via Wi-Fi (such as Wi-Fi p2p), or cellular mobile communication technologies such as 3G, LTE, and 5G, or a wide area network (wide area network).
  • network, WAN network, WAN
  • the electronic device 100 may request the server 300 to recommend a series of videos related to the videos in the first playlist, and the server 300 may, in response to the request of the electronic device 100, recommend a series of related videos according to certain recommendation rules to form a second playlist, and then Get the video URL in the second list.
  • the rules for recommending related videos and the content of the second playlist may refer to the detailed description of step S104 and Table 1 below.
  • the electronic device 100 creates a first playlist.
  • the first playlist contains relevant information of one or more videos, such as video name, video category, playing time and so on.
  • 7B-7D exemplarily illustrate a user interface 720 for the electronic device 100 to create a first playlist.
  • the user interface 720 shown in FIG. 7B may be a user interface displayed when the user selects any video provided by the video application program to play.
  • the playback window 721 includes: a return control 721A, a favorite icon 721B, a screen projection icon 721C, a playback pause/resume control 721E, a playback progress bar 721F, and a full-screen playback icon 721G. in:
  • the electronic device 100 When the electronic device 100 detects that the user clicks the screen projection icon 721C, that is, after the electronic device 100 detects that the user has enabled the "screen projection" function, the electronic device 100 pops up a window 725 as shown in FIG. 7C .
  • window 725 includes: prompt information 725A, cancel control 725B, create control 725C, icons for videos (eg, video A, video B, video C, video D, etc.).
  • the video corresponding to the video icon may be, the electronic device 100 recommends some related videos according to the web browsing records of users who log in to Huawei Video, or videos whose correlation degree with the currently playing video of Huawei Video exceeds a threshold, or a popular video with a high click rate. video. For example, if a user who logs in to Huawei Video has browsed some foreign drama videos, Huawei Video can recommend some foreign drama videos such as Video C and Video D.
  • the videos whose relevance degree with the currently playing video exceeds the threshold includes: other series of videos related to one or more of the video category, video duration, video director, and actor of the currently playing video.
  • the prompt information 725A in the window 725 is used to prompt the user that the window is the window for creating the first playlist.
  • the specific steps for creating the first playlist are as follows:
  • the user can click the video icon in the window 725.
  • the first video icon in the window 725 is the icon of the video currently being played by the electronic device 100, so the first video is selected by default, and the videos that the user can select are a series of videos recommended by video applications.
  • the videos that the user can select include video B, video C, and video D.
  • the user can select a video by inputting a user operation (such as a click operation, a touch operation) on the video icon, and when the user selects the video icon, the selected video icon will display a number.
  • the number represents the sequence number when the video is selected, and is also the sequence number corresponding to each video in the first playlist.
  • the electronic device may also display other things, for example, the selected video icon may be displayed with a shadow effect or the like.
  • FIG. 7C exemplarily shows the user interface before the user selects the video icon in the click window 725 .
  • video A is the video currently being played by the electronic device 100 , so the video has been selected by default.
  • FIG. 7D exemplarily shows the user interface after the user clicks one or more video icons.
  • the user can also select video C and video D.
  • the first playlist may contain related information of one or more videos, such as video name, video category, playing time and so on. Referring to Table 1, Table 1 exemplarily shows the detailed content of the first playlist.
  • the videos in the first list are sorted according to the order in which the video is being played by the electronic device and the user selects the relevant videos.
  • the user may not select other video pictures, that is, the user may click the creation control 725C shown in FIG. 7C to create a screencast playlist.
  • the manners shown in FIGS. 7B-7D are only examples, and in a specific implementation, the first playlist may also be created in other manners. For example, in response to the user clicking the screen casting icon 721C shown in FIG. 7B , the electronic device 100 may not pop up the window 725 for creating the first playlist.
  • the electronic device 100 can automatically create a first playlist, and the first playlist only has information related to the video being played in the current play window. In this way, the screen projection operation is simplified, which is more simple and convenient for the user, and improves the user experience of the screen projection.
  • the electronic device 100 sends a first message to the server 300, where the first message is used to request the server 300 to obtain a new URL.
  • the electronic device 100 sends the first message to the server 300 based on the communication connection established with the server 300 .
  • the electronic device 100 can perform data transmission based on protocols such as TCP/UDP, and the present application does not impose any restrictions on the communication connection type and data transmission protocol between the devices.
  • the first message carries: a first playlist.
  • the first message may also carry one or more of the following: the user ID of the video application program logged in the electronic device 100 or the ID of the electronic device 100 .
  • the first message may further carry a flag bit or an information bit, which is used to instruct the first message to request the server 300 to recommend a series of videos related to the videos in the first playlist.
  • the server 300 After receiving the first message, the server 300 recommends a related video in response to the first message, and generates a second playlist.
  • the server 300 may store a large number of videos, and in response to the received first message, the server 300 may recommend related videos according to certain recommendation rules, and generate a second playlist.
  • the maximum upper limit of the number of associated videos recommended by the server 300 can be controlled through configuration.
  • the recommended rules can be of the following three types:
  • the server 300 may recommend a series of videos associated with the videos in the first playlist. For example, if the videos in the first playlist include video A, video C, video D, etc., animation and emotion videos, the server 300 may recommend animation and emotion videos such as video E and video F.
  • the server 300 may recommend related videos.
  • the user portrait means that the server 300 can search a large amount of data (such as the user's web browsing content) stored in the database in the server 300 according to the user ID, analyze and mine, and affix a "tag" to the user, and the tag indicates that the user feature identification to generate user portraits.
  • the server 300 can find the corresponding user portrait according to the user ID, and then according to the "tag" with the user characteristics recorded in the user portrait, for example, the user likes to watch Comedy, the server 300 may recommend comedy videos such as video G, and finally generate a second playlist.
  • the server 300 may recommend some series of related videos. For example, if the user has browsed some war videos before, the server 300 may recommend war videos such as video H and video I.
  • the second playlist generated by the server 300 may include related information of one or more videos, such as video name, video category, playing time, etc., the one or more videos are the videos selected by the user in step S102, and the server 300 Recommended video.
  • Table 2 exemplarily shows the detailed content of the second playlist generated by the server 300 .
  • the order of the videos in the second playlist is in descending order according to the order of the videos in the first playlist and the degree of association with the associated videos recommended by the server 300 .
  • the video content included in the second playlist may be the same as the video content in the first playlist, or more than the video content in the first playlist.
  • the server does not recommend the associated video, or the associated video recommended by the server is the same as the video in the first playlist
  • the video content included in the second playlist is the same as the video content in the first playlist.
  • the second playlist contains more video content than the first playlist. .
  • the server 300 obtains the URL of each video in the second playlist.
  • the server 300 searches for the URL corresponding to each video according to the video information (for example, the video name) recorded in the second playlist.
  • the server 300 stores a large number of videos and URLs corresponding to each video. Different URLs represent the storage locations of different videos in the origin site.
  • the screen projection arrangement module sends the second playlist to the source station, so as to query the URL of each independent video in the second playlist.
  • the origin site sends the URL of each independent video in the queried second playlist to the screen projection arrangement module.
  • the server 300 generates a new URL.
  • the server 300 integrates the original index files of the multiple videos in the second playlist, creates a new index file, and then generates a new URL corresponding to the new index file, and the new URL points to the multiple videos in the second playlist.
  • the new index file contains all the segment files that make up the above multiple videos.
  • FIG. 7E exemplarily shows a schematic diagram of the server 300 creating a new index file.
  • each video is composed of multiple segment files, for example, a video with a playback duration of 10 minutes may be composed of 10 segment files with a duration of 1 minute.
  • the duration of the segmented file is not unique, it is determined by the settings during video compression.
  • the index file contains: the identification of the video, and related information such as identification, quantity, order and so on of the segment files that make up the video.
  • the server 300 sends the new URL to the electronic device 100 .
  • the server 300 transmits the new URL to the electronic device 100 based on the communication connection with the electronic device 100 .
  • the communication connection is a network communication connection, and data transmission can be performed based on the HTTP protocol. This application does not impose any restrictions on the communication connection type and data transmission protocol between devices.
  • the electronic device 100 sends a new URL to the large-screen device 200 .
  • the electronic device 100 sends a new URL to the large-screen device 200 based on the communication connection established with the large-screen device 200 .
  • the communication connection may include, but is not limited to, the aforementioned: Wi-Fi P2P communication connection, Bluetooth communication connection, and the like.
  • the communication connection is used for screen projection between the electronic device 100 and the large-screen device 200 .
  • the electronic device 100 in response to the electronic device 100 detecting that the user clicks the creation control 725C as shown in FIG. 7C to create the first playlist, the electronic device 100 displays the electronic device 100 and the large-screen device exemplarily shown in FIG. 7F . 200 A user interface for establishing a communication connection.
  • the electronic device 100 in response to the electronic device 100 detecting that the user clicks the screen-casting icon 721C shown in FIG. 7B , the electronic device 100 displays that the electronic device 100 exemplarily shown in FIG. 7F establishes a communication connection with the large-screen device 200 user interface.
  • the electronic device 100 When the electronic device 100 turns on one or more of WLAN and Bluetooth in the wireless communication module 160, and can discover the nearby electronic device 100 through one or more wireless communication technologies of Wi-Fi Direct, Bluetooth, and NFC A large screen device that can be mirrored. For example, the electronic device 100 may scan other nearby devices through Wi-Fi Direct technology, and discover the nearby large-screen device 200 and other large-screen devices (eg, "TV in the living room" shown in FIG. 7F ).
  • the window 726 may display an interface indicator 726A, an icon 726B, an image 726C of a large-screen device discovered by the electronic device, and a logo 726D.
  • the interface indicator 726A is used to indicate that the content displayed in the window 726 is the information of the large-screen device discovered after the first playlist is created.
  • the icon 726B is used to indicate that the electronic device 100 is still discovering other surrounding large-screen devices. When the electronic device 100 has not found a nearby large-screen device, the number of large-screen devices displayed in the window 726 is 0.
  • the image 726C and/or the logo 726D may receive a user operation (eg, a touch operation), and in response to the user operation, the electronic device 100 may initiate a request to establish a communication connection to the large-screen device corresponding to the image 726C and/or the logo 726D.
  • the electronic device 100 may display the user interface 720 as shown in FIG. 7C after the user clicks the image 726C and/or the logo 726D as shown in FIG. 7F , and then may select as shown in FIG. 7C .
  • icon of the video eg, video A, video B, video C, video D, etc.
  • the large-screen device 200 may display a user interface 730 displayed on the display screen after the large-screen device 200 receives the request for establishing the first communication connection sent by the electronic device 100 as exemplarily shown in FIG. 7G .
  • the user interface 730 displays a window 731 .
  • the window 731 is used to prompt the user electronic device 100 to request the establishment of the first communication connection.
  • the large-screen device 200 can detect the operation of determining to establish a communication connection with the electronic device 100. For example, as shown in FIG. 7G, the user clicks the control 731A through the remote control. communication connection. Or, the large-screen device 200 detects an operation of refusing to establish a communication connection with the electronic device 100 . For example, as shown in FIG. 7F , the user clicks the control 731B through the remote control. In response to this operation, the large-screen device 200 refuses to establish a communication connection with the electronic device 100 Establish a communication connection.
  • the communication connection may also be established in other manners, which is not limited here.
  • the large-screen device 200 may provide an NFC tag, and the NFC tag carries the identification (eg, MAC address) of the large-screen device 200.
  • the electronic device 100 can read the NFC tag.
  • the identifier in the NFC tag and directly establishes a communication connection with the large-screen device 200 corresponding to the identifier.
  • the communication connection may also be a Wi-Fi P2P connection, a Bluetooth connection, an NFC connection, and the like.
  • the large-screen device 200 obtains the video included in the second playlist from the server 300 through the CDN 400 according to the received new URL, and continuously plays the video.
  • the new URL sent by the large-screen device 200 to the CDN 400, and the CDN 400 searches for the corresponding video in the original video stored in the server 300 according to the new URL.
  • the server 300 sends the searched video to the CDN 400 in the form of streaming media, and the CDN 400 then sends the video to the large-screen device 200 in the form of streaming media.
  • the large-screen device 200 plays the video in real time.
  • the source station in the server 300 sequentially sends the video stream to the CDN 400 in the order in the second playlist, and the CDN 400 sends the video stream to the large-screen device 200 .
  • the large-screen device 200 plays the video while receiving.
  • the videos played by the large-screen device 200 are multiple videos in the second playlist.
  • the multiple videos are continuously played in the order of the videos in the second list. Saying it is equivalent to playing a new, longer video composed of multiple videos above.
  • FIG. 8 exemplarily shows a user interface 810 in which the large-screen device 200 plays a video.
  • FIG. 8 includes a playback progress bar 811 and a resume/pause playback control 812 .
  • the playback progress bar 811 may prompt the user of the current video playback progress.
  • the resume/pause control 812 can resume/pause the current video on a large-screen device.
  • the user can manipulate the large-screen device 200 to make the large-screen device 200 perform any one of the following operations: pause/continue/fast-forward/double-speed play the video in the second playlist.
  • These manipulations may be implemented by a user acting on a video application program on the electronic device 100 or a remote controller adapted to the large-screen device. Wherein, the remote control and the large-screen device 200 can communicate through infrared signals.
  • the large-screen device 200 can be a touch screen, and the user can pause/resume video playback on the large-screen device 200 by touching controls such as the resume/pause control 812 of the large-screen device 200 .
  • step S104 is an optional step.
  • the server 300 may not provide the service of recommending related videos.
  • the server 300 only generates a new URL corresponding to the video in the first playlist created by the user, and sends the new URL to the electronic device 100 . In this way, the workload of the server is reduced, the screen projection delay is reduced, and the screen projection efficiency is improved.
  • the server 300 recommends a series of associated videos according to the first playlist, and generates new URLs corresponding to each video in the first playlist and the associated videos , after the user only performs the screen projection operation on the electronic device 100, the electronic device 100 can send a new URL including multiple videos to the large-screen device 200 at one time, and the large-screen device 200 can realize the continuous playback of multiple videos , and there is no need to maintain a communication connection between the electronic device and the large-screen device during this process. In this way, after each video is played, the continuous playback of another video no longer depends on the real-time online control of the electronic device. The problem that the screen device cannot play continuously.
  • the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server, which further meets the user's personalized needs and improves the user's screen projection experience.
  • the first operation may be an operation in which the user clicks the screen projection icon 721C shown in FIG. 7B , and in response to the first operation, the electronic device 100 establishes a communication connection with the large-screen device 200 selected by default;
  • the first operation may also be an operation in which the user clicks the screen projection icon 721C shown in FIG. 7B on the electronic device 100, and the user clicks the image 726C and/or the logo 726D shown in FIG. 7F .
  • the second operation may be to select the icon of a video (eg, video A, video B, video C, video D, etc.) as shown in FIG. 7C and then click the create control 725C shown in FIG. 7D .
  • a video eg, video A, video B, video C, video D, etc.
  • the second operation may be performed after the user clicks the screen-casting icon 721C shown in FIG. 7B .
  • the second operation can be performed when the user clicks the image 726C and/or the logo 726D shown in FIG. 7F . It is performed after the user clicks the image 726C and/or the logo 726D shown in FIG. 7B , or after the user clicks the image 726C and/or the logo 726D as shown in FIG.
  • the third operation may be that during the process of playing a video on the large-screen device 200, the user acts on the large-screen device 200 through a remote controller adapted to the large-screen device 200, and triggers the large-screen device to perform any one of the following Actions: Pause/Resume/Fast-Forward/Double-speed play the video in the second playlist.
  • Pause/Resume/Fast-Forward/Double-speed play the video in the second playlist For example, control the operation of the remote control to click the resume/pause playback control 812, so as to realize the large-screen device 200 to pause/resume playing the video and the like.
  • the third operation may also be an operation of touching controls such as the resume/pause control 812 of the large-screen device 200 .
  • the first video is any video in the second playlist
  • the second video is any video after the first video in the sequence of the second playlist.
  • the third video is the video A currently being played by the electronic device 100 .
  • the video options displayed by the electronic device 100 before sending the first information to the large-screen device may include the videos shown in FIG. 7D recommended by the electronic device 100 (for example, video A, video B, icon for Video C, Video D, etc.).
  • the fourth video may be the video selected by the user in the user interface shown in FIG. 7D , for example, the video corresponding to the video icon receiving the second operation in FIG. 7D , such as the video A shown in FIG. 7D . , video C, video corresponding to the video icon of video D.
  • the fifth video is a video recommended by the server 300, such as video E and video F in Table 2.
  • the server 300 may generate a projection interpretation file containing URLs of multiple independent videos.
  • the electronic device 100 directly sends the URL of the screen projection interpretation file to the large-screen device 200 .
  • the large-screen device 200 downloads the screen-casting interpretation file according to the URL of the screen-casting interpretation file, it continuously plays the videos in the second playlist and displays related information based on the URLs and related information of the multiple videos in the second playlist in the interpretation file. information.
  • FIG. 9 exemplarily shows the flow of the screen projection method provided in Embodiment 2 of the present application.
  • the following is a detailed introduction:
  • steps S201-S205 reference may be made to steps S101-S105 in Embodiment 1, and details are not described here for the time being.
  • the server 300 generates a screen projection interpretation file.
  • the server 300 organizes the obtained URLs of the multiple videos in the second playlist to generate a screen projection interpretation file.
  • Other relevant information in the screen projection interpretation file may include one or more of the following: the version number of the screen projection interpretation file, the number of multiple videos, the respective durations of the multiple videos, the total duration of the multiple videos, the multiple videos.
  • the playback mode (sequential playback, loop playback), the playback sequence of multiple videos, the video names of multiple videos, or the URLs corresponding to multiple videos.
  • the screencasting interpretation file for version 1.0 can be a text file containing the following contents:
  • the total number of videos in the playlist of this screencast 2.
  • the total length of the video in the playlist of this screencast 305 minutes.
  • Play Video 1 Video A.
  • the order of playing videos defined by the screen projection interpretation file may be sorted according to the order of the videos selected by the user in step S102 and the relatedness of the related videos recommended by the server 300 in descending order.
  • the foregoing screen projection interpretation file may also include other content, which is not limited in this embodiment of the present application.
  • the server 300 stores the screen projection interpretation file.
  • the server 300 stores the generated screen projection interpretation file in the origin site, so as to obtain the URL of the screen projection interpretation file on the origin site. It is convenient for the large-screen device 200 to download the screen-casting interpretation file from the source site through the CDN 400 according to the URL of the screen-casting interpretation file.
  • the server 300 sends the URL of the screen projection interpretation file to the electronic device 100 .
  • the server 300 Based on the communication connection with the electronic device 100 , the server 300 sends the URL of the screencasting interpretation file to the electronic device 100 .
  • the URL of the screen projection interpretation file points to the storage location of the screen projection interpretation file in the server 300 .
  • the electronic device 100 sends the URL of the screen projection interpretation file to the large-screen device 200 .
  • the communication connection may include, but is not limited to, a Wi-Fi P2P communication connection, a Bluetooth communication connection, and the like.
  • the large-screen device 200 obtains the screen-casting interpretation file from the server 300 through the CDN 400 according to the screen-casting interpretation file URL.
  • the large-screen device 200 sends the screencasting interpretation file URL to the CDN 400, and the CDN400 searches the media content stored in the server 300 for the corresponding screencasting interpretation file according to the URL of the screencasting interpretation file, and then sends the searched screencasting interpretation file to Large screen device 200.
  • the large-screen device 200 parses the screen projection interpretation file.
  • the large-screen device 200 parses the received screen projection interpretation file, reads the URLs of multiple independent videos in the second playlist, and other related information. For example, a large-screen device can read the screen projection interpretation file.
  • the total number of playback videos is 2, the total video playback time is 315 minutes, the video playback mode is loop playback, the first played video is video A, and the first played video
  • the URL of the video is http://13579, and the second played video is video C.
  • the URL of the second played video is http://24680.
  • the large-screen device 200 obtains the video stream from the server 300 through the CDN 400 according to the URL of the first video played through the analysis.
  • the large-screen device 200 Based on the communication connection with the CDN 400, the large-screen device 200 sends the URL of the first playing video in the read screen projection interpretation file to the CDN 400.
  • the CDN 400 searches the media content stored in the server 300 for the corresponding video according to the URL of the first video, and then the CDN 400 sends the first played video to the large-screen device 200 in the form of streaming media.
  • the large-screen device 200 plays the video in real time.
  • the first video is the first video defined in the video playback order in the projection interpretation file, for example, the first video can be video A.
  • the large-screen device 200 plays the first video and displays other related information.
  • FIG. 10A exemplarily shows a user interface 1010 for the large-screen device 200 to play a video.
  • the first video played by the large-screen device 200 is the first video in the second playlist, for example, video A.
  • FIG. 10A includes an interface indicator 1011 , a playback progress bar 1012 , a resume/pause playback control 1013 , and a screen projection detail control 1014 .
  • the interface indicator 1011 is used to indicate the name of the video currently being played on the large-screen device.
  • the playback progress bar 1012 may prompt the user of the current video playback progress.
  • the resume/pause control 1013 can resume/pause the current video on a large-screen device.
  • the screen projection details control 1014 is used to view other related information defined in the screen projection interpretation file, such as the number of videos in the second playlist, the total duration of video playback, video playback mode (sequential playback, loop playback), video playback sequence number, and the like.
  • the large-screen device 200 When the large-screen device 200 detects that the user clicks the screen projection details control 1014 shown in FIG. 10A through the remote control, the large-screen device 200 will pop up the window 1015 shown in FIG. 10B in the user interface 1010 .
  • the window 1015 includes the playback sequence number and video option 1015A of the videos in the second playlist, the number of videos 1015B, the playback order 1015C, the playback mode 1015D, and the playback duration 1015E.
  • the window 1015 in which the large-screen device 200 displays the relevant information in the second playlist may not be implemented by clicking the screen projection details control 1014 shown in FIG. 10A .
  • the large-screen device 200 may directly display the window 1015 in the user interface 1010 as shown in FIG. 10A .
  • the large-screen device 200 monitors the playing state of the current video, and after the video is played, plays the next video of the currently playing video in the second playlist.
  • the large-screen device 200 monitors the playback status of the currently playing video in real time. When the large-screen device 200 monitors the current video playback end event, the large-screen device 200 automatically obtains the video stream of the next playing video from the server 300 through the CDN 400 and plays it. .
  • the large-screen device 200 sends the URL of the next video to the CDN 400 .
  • the CDN 400 searches the source site of the server 300 for a corresponding video according to the URL, and then sends the video to the large-screen device 200 in the form of streaming media.
  • the large-screen device 200 receives the video stream and plays the video in real time.
  • FIG. 10C exemplarily shows a user interface 1010 for continuously playing the next video when the large-screen device monitors the current video playback end event.
  • the playback of the current video A ends, and the next video, such as video C, is continuously played.
  • FIG. 10C includes icon 1016 , icon indicator 1017 .
  • the icon 1016 indicates that the next playing video is being acquired, and the icon indicator 1017 is used to indicate the name of the next playing video, such as video C.
  • the large-screen device 200 receives the user operation, and changes the video playback order in the second playlist.
  • the large-screen device 200 pops up the window 1018 shown in FIG. Name identification, eg Video A 1018A, Video C 1018B, Video D 1018C, OK Control 1018D and Cancel Control 1018E.
  • the user can click on the name identifiers of each video in sequence according to their own wishes, and click the OK control 1018D to adjust the playback order of the large-screen device 200 .
  • the large screen device 200 will display the user interface 1010 as shown in FIG. 10E , and the video playback sequence numbers and their names in the actual window 1015 in the user interface 1010 become: 1 video D, 2 video A, 3 video C.
  • the large-screen device 200 in response to the user's operation of changing the playback order of the videos in the second playlist, may play the videos according to the changed video playback order after the current video is played, or the large-screen device 200 can directly switch to play the first video in the changed video playback order, and then play the next video continuously according to the changed video playback order.
  • step S215 is an optional step, and the operation of changing the playback order of the videos in the second playlist in step S215 may not occur during the video playback process of the large-screen device 200 . That is to say, the large-screen device 200 may pop up a window before acquiring the URL of the first video in the default second playlist, and the window may display the content in the window 1015 as shown in FIG. 10B . action to change the second playlist order.
  • the default video playback order in the second playlist is the video playback order defined in the screencasting interpretation file, and is also the video order in the second playlist before the user changes the second playlist order through an operation.
  • the user can change the video playback order, during the video playback process on the large-screen device 200, the user can also control the large-screen device 200, so that the large-screen device 200 performs any of the following operations:
  • the user can manipulate the large-screen device 200 to pause/continue/fast-forward/double-speed play the video in the second playlist.
  • These manipulations can be implemented by the user acting on a video application program on the end of the electronic device 100 or a remote controller adapted to the large-screen device.
  • the remote control and the large-screen device 200 can communicate through infrared signals.
  • FIGS. 10A to 10E are only for exemplarily describing the user interface of the large-screen device 200 provided by the embodiment of the present application for playing a video, and should not constitute a limitation to the embodiment of the present application.
  • the electronic device 100 directly sends the URL of the screen projection interpretation file generated by the server 300 to the large screen device 200, and the large screen device 200 interprets the file according to the URL of the screen projection interpretation file.
  • the videos in the second playlist are continuously played and related information is displayed, and during this process, the electronic device and the There is no need to maintain a communication connection between large-screen devices.
  • the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server.
  • the large-screen device can not only display relevant information of the video in the second playlist during the video playback process, but the user can also operate the large-screen device to change the playback mode and playback order. In this way, by providing an entrance into the interactive experience, the user's personalized needs are further met, and the user's screen projection experience is improved.
  • the electronic device 100 may generate a screen projection interpretation file that includes URLs corresponding to multiple independent videos respectively.
  • the electronic device 100 directly sends the screen projection interpretation file to the large-screen device 200 .
  • the large screen device 200 parses the screen projection interpretation file, and based on URLs and related information of multiple videos in the second playlist included in the screen projection interpretation file, continuously plays the videos in the second playlist and displays relevant information.
  • the specific method flow please refer to the detailed description below.
  • FIG. 11 exemplarily shows the flow of the screen projection method provided in Embodiment 3 of the present application.
  • the following is a detailed introduction:
  • steps S301-S305 reference may be made to steps S101-S105 in Embodiment 1, and details are not described here for the time being.
  • the server 300 sends the independent URL of each video in the second playlist to the electronic device 100.
  • the server 300 Based on the communication connection with the electronic device 100 , the server 300 sends the URL of each independent video in the second playlist to the electronic device 100 .
  • the server 300 may also send more information to the mobile phone from the electronic device 100 .
  • the server 300 may send the total number of videos in the second playlist, the total playing time of the videos, and so on.
  • the electronic device 100 receives the URL of each independent video in the second playlist, and generates a screen projection interpretation file.
  • the electronic device 100 organizes the URLs of the multiple independent videos in the second playlist searched from the source site and generates a screen projection interpretation file.
  • a screen projection interpretation file For the detailed definition of the screen projection interpretation file, reference may be made to the description of the foregoing step S206, which will not be repeated here.
  • the electronic device 100 sends the screen projection interpretation file to the large-screen device 200 .
  • the electronic device 100 sends a screen projection interpretation file to the large-screen device 200 based on the communication connection with the large-screen device 200 .
  • the communication connection may include, but is not limited to, a Wi-Fi P2P communication connection, a Bluetooth communication connection, and the like.
  • the large-screen device 200 receives the screen projection interpretation file, and parses the screen projection interpretation file.
  • the large-screen device 200 parses the received screen projection interpretation file, reads the URLs of multiple independent videos in the second playlist, and other related information.
  • the screen projection interpretation file is parsed, and the specific description of the content therein can be read by referring to the foregoing step S211.
  • the electronic device 100 can convert the generated
  • the screen projection interpretation file containing the URLs and related information of multiple independent videos in the second playlist is sent to the large-screen device 200, and the large-screen device 200 parses the screen projection interpretation file, and realizes continuous playback based on the URLs of the multiple independent videos. During this process, there is no need to maintain a communication connection between the electronic device and the large-screen device.
  • the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server.
  • the large-screen device can not only display relevant information of the video in the second playlist during the video playback process, but the user can also operate the large-screen device to change the playback mode and playback order. In this way, by providing an entrance into the interactive experience, the user's personalized needs are further met, and the user's screen projection experience is improved.
  • Embodiment 3 adopts the method of generating a screen projection interpretation file by the electronic device 100 and passing it to the large-screen device 200, and the large-screen device 200 can directly parse the screen projection interpretation file.
  • the method provided in Embodiment 3 saves the network space for the source site to store the screencasting interpretation file, and saves the time for the large-screen device 200 to obtain the screencasting interpretation file from the source site through the CDN 400, improves the screencasting playback efficiency, and further satisfies the user's casting requirements. screen requirements.
  • the first information may be the new URL in step S108 in the above-mentioned embodiment 1, or the URL of the screen projection interpretation file in step S209 in the above-mentioned embodiment 2, or the URL in the above-mentioned embodiment 3.
  • the second information may be the new URL in step S107 in the above embodiment 1, or the URL of the screen projection interpretation file in step S208 in the above embodiment 2, or the URL in the above embodiment 3
  • An embodiment of the present application also provides an electronic device, the electronic device includes one or more processors and one or more memories; wherein, the one or more memories are coupled with the one or more processors, and the one or more memories are used for For storing computer program code, the computer program code includes computer instructions that, when executed by one or more processors, cause the electronic device to perform the methods described in the above embodiments.
  • the embodiments of the present application further provide a computer program product containing instructions, when the computer program product is run on the electronic device, the electronic device is made to execute the method described in the above embodiments.
  • the embodiments of the present application also provide a computer-readable storage medium, including instructions, when the instructions are executed on the electronic device, the electronic device is made to execute the method described in the foregoing embodiments.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions when loaded and executed on a computer, result in whole or in part of the processes or functions described herein.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk), and the like.
  • the process can be completed by instructing the relevant hardware by a computer program, and the program can be stored in a computer-readable storage medium.
  • the program When the program is executed , which may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random storage memory RAM, magnetic disk or optical disk and other mediums that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Provided are a screen projection method capable of continuously playing videos, and a related apparatus and system. In the method, after a user executes a screen projection operation on an electronic device end, a large-screen device can realize the continuous playing of a plurality of videos, and during this process, the electronic device does not need to maintain a communication connection with the large-screen device. Therefore, after each video is finished playing, the continuation of a further video no longer relies on the real-time online control of the electronic device, and thus the problem of it not being possible for the large-screen device to perform continuous playing after the communication connection between the electronic device and the large-screen device is disconnected after screen projection can be solved.

Description

连续播放视频的投屏方法、装置及系统Screen projection method, device and system for continuously playing video
本申请要求于2020年12月24日提交中国专利局、申请号为202011555733.3、申请名称为“连续播放视频的投屏方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011555733.3 and the application title "Screen projection method, device and system for continuously playing video", which was filed with the China Patent Office on December 24, 2020, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请实施例涉及投屏技术,尤其涉及连续播放视频的投屏方法、装置及系统。The embodiments of the present application relate to screen projection technologies, and in particular, to a screen projection method, device, and system for continuously playing videos.
背景技术Background technique
在当前电子设备安装的视频类应用程序中,越来越多的视频类应用程序支持投屏功能。其中数字生活网络联盟(digital living network alliance,DLNA)协议是常用的投屏协议之一。用户在电子设备中登录支持DLAN功能的视频类应用程序后,搜索可以投屏的大屏设备并建立通信连接,从而将电子设备上的视频等媒体内容共享到大屏设备上进行播放。Among the video applications currently installed on electronic devices, more and more video applications support the screen-casting function. Among them, the digital living network alliance (DLNA) protocol is one of the commonly used screen projection protocols. After logging in a video application program that supports the DLAN function in the electronic device, the user searches for a large-screen device that can cast a screen and establishes a communication connection, so as to share the video and other media content on the electronic device to the large-screen device for playback.
目前,用户对于在线投屏的要求越来越高,希望在投屏过程中大屏设备能够连续播放视频。但是,在当前的投屏过程中,电子设备和大屏设备必须保持通信连接,才能够实现大屏设备连续播放多个视频。At present, users have higher and higher requirements for online screen projection, and hope that the large-screen device can continuously play videos during the screen projection process. However, in the current screen projection process, the electronic device and the large-screen device must maintain a communication connection, so that the large-screen device can continuously play multiple videos.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种可连续播放视频的投屏方法、装置及系统,解决投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题。The present application provides a screen projection method, device and system capable of continuously playing videos, which solves the problem that the large-screen device cannot play continuously after the communication connection between the electronic device and the large-screen device is disconnected after screen projection.
第一方面,本申请实施例提供了一种可连续播放视频的投屏方法,该方法应用于投屏系统,该投屏系统包括电子设备、大屏设备、服务器,该方法包括:该电子设备接收到第一操作,并响应于该第一操作和该大屏设备建立通信连接;该电子设备基于该通信连接向该大屏设备发送第一信息,该第一信息指示了多个视频在该服务器中的存储位置;该电子设备和该大屏设备断开该通信连接;该大屏设备根据该第一信息向该服务器请求获取该多个视频;该服务器将该多个视频发送给该大屏设备;该大屏设备播放该多个视频。In a first aspect, an embodiment of the present application provides a screen projection method that can continuously play videos. The method is applied to a screen projection system, where the screen projection system includes an electronic device, a large-screen device, and a server. The method includes: the electronic device Receive a first operation, and establish a communication connection with the large-screen device in response to the first operation; the electronic device sends first information to the large-screen device based on the communication connection, the first information indicating that multiple videos are in the large-screen device. The storage location in the server; the communication connection between the electronic device and the large-screen device is disconnected; the large-screen device requests the server to obtain the plurality of videos according to the first information; the server sends the plurality of videos to the large-screen device screen device; the large screen device plays the multiple videos.
实施第一方面提供的方法,可以实现投屏过程中,大屏设备端接收到电子设备端的第一信息后,大屏设备播放视频之前,多个视频的接续工作不再依赖电子设备实时在线的控制,即使电子设备和大屏设备之间的通信连接断开,大屏设备仍然可以连续播放视频的问题,提高用户投屏体验。Implementing the method provided in the first aspect can realize that in the process of screen projection, after the large-screen device receives the first information from the electronic device, and before the large-screen device plays the video, the continuous work of multiple videos no longer depends on the real-time online of the electronic device. Control, even if the communication connection between the electronic device and the large-screen device is disconnected, the large-screen device can still play video continuously, improving the user's screen projection experience.
第二方面,本申请实施例提供了一种可连续播放视频的投屏方法,该方法应用于投屏系统,该投屏系统包括电子设备、大屏设备、服务器,该方法包括:该电子设备接收到第一操作,并响应于该第一操作和该大屏设备建立通信连接;该电子设备基于该通信连接向该大屏设备发送第一信息,该第一信息指示了多个视频在该服务器中的存储位置;该大屏设备根据该第一信息向该服务器请求获取该多个视频;该服务器将该多个视频发送给该大屏设备;该大屏设备播放该多个视频中的第一视频,该电子设备和该大屏设备断开该通信连接;该大屏设备播放该多个视频中的第二视频。In a second aspect, an embodiment of the present application provides a screen projection method that can play videos continuously. The method is applied to a screen projection system, where the screen projection system includes an electronic device, a large-screen device, and a server, and the method includes: the electronic device Receive a first operation, and establish a communication connection with the large-screen device in response to the first operation; the electronic device sends first information to the large-screen device based on the communication connection, the first information indicating that multiple videos are in the large-screen device. The storage location in the server; the large-screen device requests the server to obtain the multiple videos according to the first information; the server sends the multiple videos to the large-screen device; the large-screen device plays the video in the multiple videos For the first video, the communication connection between the electronic device and the large-screen device is disconnected; the large-screen device plays the second video among the plurality of videos.
实施第二方面提供的方法,可以实现投屏过程中,大屏设备端每一部视频播放结束之后,另一部视频的接续工作不再依赖电子设备实时在线的控制,解决了在大屏设备播放视频过程中,电子设备和大屏设备断开通信连接,大屏设备仍然可以连续播放视频的问题,提高用户投屏体验。Implementing the method provided in the second aspect can realize that in the process of screen projection, after each video on the large-screen device ends, the continuation of another video no longer depends on the real-time online control of the electronic device, which solves the problem of the large-screen device. During the video playback process, the communication connection between the electronic device and the large-screen device is disconnected, and the large-screen device can still play the video continuously, which improves the user's screen projection experience.
结合第一方面或第二方面,在一些实施方式中,上述电子设备在检测到第一操作之前,上述方法还包括:该电子设备播放第三视频;当电子设备检测到第一操作之后,上述方法还包括:该电子设备显示视频选项;该电子设备接收到第二操作,该第二操作作用于该视频选项中的第四视频的选项;该电子设备向该服务器发送该第三视频的标识,和,该第四视频的标识;上述服务器向该电子设备发送第二信息,该第二信息指示了该第三视频、该第四视频在该服务器中的存储位置;其中,该第一信息中的该多个视频包括该第三视频、该第四视频。With reference to the first aspect or the second aspect, in some embodiments, before the electronic device detects the first operation, the method further includes: the electronic device plays a third video; after the electronic device detects the first operation, the above-mentioned method further includes: The method further includes: the electronic device displays a video option; the electronic device receives a second operation, the second operation acts on the option of the fourth video in the video option; the electronic device sends the identification of the third video to the server , and, the identifier of the fourth video; the above-mentioned server sends second information to the electronic device, and the second information indicates the storage location of the third video and the fourth video in the server; wherein, the first information The plurality of videos in includes the third video and the fourth video.
这样,用户可以在电子设备端推荐的视频中选择需要的视频进行投屏,满足用户的个性化需求,提高用户投屏体验。In this way, the user can select a desired video from the videos recommended on the electronic device side for screencasting, so as to meet the user's personalized needs and improve the user's screencasting experience.
结合第一方面或第二方面,在一些实施方式中,该电子设备基于该通信连接向该大屏设备发送第一信息之前,该方法还包括:该电子设备向该服务器发送该第三视频的标识;该服务器确定第五视频,并向该电子设备发送第二信息,该第二信息指示了该第三视频、该第五视频在该服务器中的存储位置;其中,该第一信息中的该多个视频包括该第三视频、该第五视频。With reference to the first aspect or the second aspect, in some embodiments, before the electronic device sends the first information to the large-screen device based on the communication connection, the method further includes: the electronic device sends the third video to the server identification; the server determines the fifth video, and sends second information to the electronic device, where the second information indicates the storage location of the third video and the fifth video in the server; wherein, in the first information The plurality of videos includes the third video and the fifth video.
这样,服务器可以推荐用户需要的视频进行投屏,满足用户的个性化需求,提高用户投屏体验。In this way, the server can recommend the video required by the user for screen projection, so as to meet the user's personalized needs and improve the user's screen projection experience.
结合第一方面或第二方面,在一种实施方式中,该第一信息为第一统一资源定位符URL,该第一URL对应于上述多个视频在服务器中的存储位置:电子设备基于该通信连接向该大屏设备发送第一信息之前,该方法还包括:该服务器根据该多个视频分别的URL生成该第一URL,并将该第一URL发送给该电子设备。With reference to the first aspect or the second aspect, in an implementation manner, the first information is a first uniform resource locator URL, and the first URL corresponds to the storage location of the above-mentioned multiple videos in the server: the electronic device is based on the Before the communication connection sends the first information to the large-screen device, the method further includes: the server generates the first URL according to the respective URLs of the multiple videos, and sends the first URL to the electronic device.
这样,大屏设备可以根据上述第一URL从服务器端获取多个视频,以实现连续播放该多个视频。In this way, the large-screen device can acquire multiple videos from the server according to the above-mentioned first URL, so as to continuously play the multiple videos.
第三方面,本申请实施例提供了一种可连续播放视频的投屏方法,该方法应用于电子设备,该方法包括:该电子设备接收到第一操作,并响应于该第一操作和大屏设备建立通信连接;该电子设备基于该通信连接向该大屏设备发送第一信息,该第一信息指示了多个视频在该服务器中的存储位置,该第一信息用于该大屏设备获取该多个视频;在该大屏设备播放该多个视频之前,或者,在该大屏设备播放该多个视频的过程中,该电子设备和该大屏设备断开该通信连接。In a third aspect, an embodiment of the present application provides a screen projection method that can continuously play videos, the method is applied to an electronic device, and the method includes: the electronic device receives a first operation, and responds to the first operation and a large The screen device establishes a communication connection; the electronic device sends first information to the large-screen device based on the communication connection, where the first information indicates the storage locations of multiple videos in the server, and the first information is used for the large-screen device Acquire the plurality of videos; before the large-screen device plays the plurality of videos, or during the process of playing the plurality of videos on the large-screen device, the electronic device and the large-screen device disconnect the communication connection.
实施第三方面提供的方法,可以实现投屏过程中,大屏设备端接收到电子设备端的第一信息后,多个视频的接续工作不再依赖电子设备实时在线的控制,解决投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题,提高用户投屏体验。Implementing the method provided in the third aspect can realize that after the large-screen device receives the first information from the electronic device during the projection process, the continuous work of multiple videos no longer depends on the real-time online control of the electronic device, and solves the problem of electronic devices after projection. After the communication connection between the device and the large-screen device is disconnected, the large-screen device cannot play continuously, which improves the user's screen casting experience.
结合第三方面,在一些实施方式中,上述电子设备在检测到第一操作之前,上述方法还包括:该电子设备播放第三视频;当电子设备检测到第一操作之后,上述方法还包括:该电子设备显示视频选项;该电子设备接收到第二操作,该第二操作作用于该视频选项中的第四视频的选项;该电子设备向该服务器发送该第三视频的标识,和,该第四视频的标识;该电子设备接收到该服务器发送的第二信息,该第二信息指示了该第三视频、该第四视频在该服务器中的存储位置;其中,该第一信息中的该多个视频包括该第三视频、该第四视频。With reference to the third aspect, in some embodiments, before the electronic device detects the first operation, the method further includes: the electronic device plays a third video; after the electronic device detects the first operation, the method further includes: The electronic device displays a video option; the electronic device receives a second operation, the second operation acts on the option of the fourth video in the video option; the electronic device sends the identification of the third video to the server, and the The identification of the fourth video; the electronic device receives the second information sent by the server, the second information indicates the storage location of the third video and the fourth video in the server; wherein, the first information in the The plurality of videos includes the third video and the fourth video.
结合第三方面,在一些实施方式中,上述视频选项对应的视频包括以下一项或多项:和上述第三视频的关联度超过阈值的视频、电子设备根据用户信息推荐的视频,或者,电子设备按照点击率推荐的视频。With reference to the third aspect, in some embodiments, the video corresponding to the above-mentioned video option includes one or more of the following: a video whose correlation with the above-mentioned third video exceeds a threshold, a video recommended by an electronic device according to user information, or an electronic The video recommended by the device according to the click-through rate.
这样,用户可以在电子设备端推荐的视频中选择需要的视频进行投屏,满足用户的个性化需求,提高用户投屏体验。In this way, the user can select a desired video from the videos recommended on the electronic device side for screencasting, so as to meet the user's personalized needs and improve the user's screencasting experience.
结合第三方面,在一些实施方式中,该电子设备基于该通信连接向该大屏设备发送第一信息之前,该方法还包括:该电子设备向该服务器发送第一消息,该第一消息包括:该第三视频的标识;该电子设备接收到该服务器发送的第二信息,该第二信息指示了该第三视频、该服务器确定的第五视频在该服务器中的存储位置。其中,该第一信息中的该多个视频包括该第三视频、该第五视频。With reference to the third aspect, in some embodiments, before the electronic device sends the first information to the large-screen device based on the communication connection, the method further includes: the electronic device sends a first message to the server, where the first message includes : the identifier of the third video; the electronic device receives the second information sent by the server, where the second information indicates the storage location of the third video and the fifth video determined by the server in the server. Wherein, the plurality of videos in the first information includes the third video and the fifth video.
结合第三方面,在一些实施方式中,该服务器确定的该第五视频包括以下一项或多项:和该第三视频的关联度超过阈值的视频、该服务器根据用户信息推荐的视频,或者,该服务器按照点击率推荐的视频。With reference to the third aspect, in some embodiments, the fifth video determined by the server includes one or more of the following: a video with a degree of association with the third video exceeding a threshold, a video recommended by the server according to user information, or , the server recommends videos according to the click-through rate.
这样,服务器可以推荐用户需要的视频进行投屏,满足用户的个性化需求,提高用户投屏体验。In this way, the server can recommend the video required by the user for screen projection, so as to meet the user's personalized needs and improve the user's screen projection experience.
结合第三方面,在一些实施方式中,在一种实施方式中,上述第一信息为第一统一资源定位符URL,该第一URL对应于上述多个视频在服务器中的存储位置:上述电子设备基于通信连接向大屏设备发送第一信息之前,上述方法还包括:电子设备接收到第一URL,该第一URL为服务器根据上述多个视频分别的URL生成的。With reference to the third aspect, in some implementations, in one implementation, the above-mentioned first information is a first uniform resource locator URL, and the first URL corresponds to the storage location of the above-mentioned plurality of videos in the server: the above-mentioned electronic Before the device sends the first information to the large-screen device based on the communication connection, the method further includes: the electronic device receives a first URL, where the first URL is generated by the server according to the respective URLs of the plurality of videos.
这样,大屏设备可以根据上述第一URL从服务器端获取多个视频,以实现连续播放该多个视频。In this way, the large-screen device can acquire multiple videos from the server according to the above-mentioned first URL, so as to continuously play the multiple videos.
结合第三方面,在一种实施方式中,上述第一信息为投屏解释文件,该投屏解释文件包括上述多个视频分别的URL;上述电子设备基于通信连接向大屏设备发送第一信息之前,该方法还包括:该电子设备接收到前文投屏解释文件,该投屏解释文件为服务器根据该多个视频分别的URL生成的。With reference to the third aspect, in one embodiment, the above-mentioned first information is a screen projection interpretation file, and the screen projection interpretation file includes the respective URLs of the above-mentioned multiple videos; the above-mentioned electronic device sends the first information to the large-screen device based on the communication connection. Before, the method further includes: the electronic device receives the screen projection interpretation file described above, where the screen projection interpretation file is generated by the server according to the respective URLs of the multiple videos.
这样,大屏设备可以根据上述投屏解释文件从服务器端获取多个视频,以实现连续播放该多个视频。In this way, the large-screen device can acquire multiple videos from the server according to the above-mentioned screen projection interpretation file, so as to realize the continuous playback of the multiple videos.
结合第三方面,在一种实施方式中,上述第一信息为投屏解释文件,该投屏解释文件包括上述多个视频分别的URL;上述电子设备基于通信连接向大屏设备发送第一信息之前,上述方法还包括:电子设备接收到服务器发送的多个视频分别的URL;然后,电子设备根据该多个视频分别的URL生成该投屏解释文件。With reference to the third aspect, in one embodiment, the above-mentioned first information is a screen projection interpretation file, and the screen projection interpretation file includes the respective URLs of the above-mentioned multiple videos; the above-mentioned electronic device sends the first information to the large-screen device based on the communication connection. Before, the above method further includes: the electronic device receives the respective URLs of multiple videos sent by the server; then, the electronic device generates the screen projection interpretation file according to the respective URLs of the multiple videos.
这样,大屏设备可以根据上述投屏解释文件从服务器端获取多个视频,以实现连续播放该多个视频。In this way, the large-screen device can acquire multiple videos from the server according to the above-mentioned screen projection interpretation file, so as to realize the continuous playback of the multiple videos.
结合第三方面,在一些实施方式中,上述投屏解释文件还包括以下一项或多项:该投屏解释文件的版本号、该多个视频的数量、该多个视频各自的时长、该多个视频的总时长、该多个视频的播放模式,该多个视频的播放顺序或该多个视频的视频名称。With reference to the third aspect, in some embodiments, the above-mentioned screen projection interpretation file further includes one or more of the following: the version number of the screen projection interpretation file, the number of the multiple videos, the respective durations of the multiple videos, the The total duration of the multiple videos, the playback mode of the multiple videos, the playback order of the multiple videos, or the video names of the multiple videos.
这样,大屏设备可以展示上述投屏解释文件中用户想要获知的内容,从而满足用户投屏体验。In this way, the large-screen device can display the content that the user wants to know in the above-mentioned screencasting explanation file, so as to satisfy the user's screencasting experience.
第四方面,本申请实施例提供一种可连续播放视频的投屏方法,该方法应用于大屏设备,该方法包括:该大屏设备和该电子设备建立通信连接;该大屏设备基于该通信连接接收该电子设备发送的第一信息,该第一信息指示了多个视频在该服务器中的存储位置;该大屏设备和该电子设备断开该通信连接;该大屏设备根据该第一信息向该服务器请求获取该多个视频;该大屏设备接收到该服务器发送的该多个视频,然后该大屏设备播放该多个视频。In a fourth aspect, an embodiment of the present application provides a screen projection method that can continuously play videos. The method is applied to a large-screen device. The method includes: establishing a communication connection between the large-screen device and the electronic device; the large-screen device is based on the large-screen device. The communication connection receives the first information sent by the electronic device, the first information indicates the storage locations of multiple videos in the server; the large-screen device and the electronic device disconnect the communication connection; the large-screen device according to the first information A message requests the server to obtain the plurality of videos; the large-screen device receives the plurality of videos sent by the server, and then the large-screen device plays the plurality of videos.
实施第四方面提供的方法,可以实现投屏过程中,大屏设备端接收到电子设备端的第一信息后,多个视频的接续工作不再依赖电子设备实时在线的控制,解决投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题,提高用户投屏体验。Implementing the method provided in the fourth aspect can realize that after the large-screen device receives the first information from the electronic device during the projection process, the continuous work of multiple videos no longer depends on the real-time online control of the electronic device, and solves the problem of electronic devices after projection. After the communication connection between the device and the large-screen device is disconnected, the large-screen device cannot play continuously, which improves the user's screen casting experience.
第五方面,本申请实施例提供一种可连续播放视频的投屏方法,该方法应用于大屏设备,该方法包括:该大屏设备和该电子设备建立通信连接;该大屏设备基于该通信连接从该电子设备处获取第一信息,该第一信息指示了多个视频在该服务器中的存储位置;该大屏设备根据该第一信息向该服务器请求获取该多个视频;该大屏设备接收到该服务器发送的该多个视频;该大屏设备播放该多个视频中的第一视频;该大屏设备和该电子设备断开该通信连接;该大屏设备继续播放该多个视频中的第二视频。In a fifth aspect, an embodiment of the present application provides a screen projection method that can continuously play videos. The method is applied to a large-screen device. The method includes: establishing a communication connection between the large-screen device and the electronic device; and the large-screen device based on the large-screen device. The communication connection obtains first information from the electronic device, where the first information indicates the storage locations of the plurality of videos in the server; the large-screen device requests the server to obtain the plurality of videos according to the first information; the large-screen device requests the server to obtain the plurality of videos; The large-screen device receives the multiple videos sent by the server; the large-screen device plays the first video among the multiple videos; the large-screen device and the electronic device disconnect the communication connection; the large-screen device continues to play the multiple videos The second video of the videos.
实施第五方面提供的方法,可以实现投屏过程中,大屏设备端接收到电子设备端的第一信息后,多个视频的接续工作不再依赖电子设备实时在线的控制,解决投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题,提高用户投屏体验。Implementing the method provided in the fifth aspect can realize that after the large-screen device receives the first information from the electronic device during the projection process, the continuous work of multiple videos no longer depends on the real-time online control of the electronic device, which solves the problem of electronic devices after projection. After the communication connection between the device and the large-screen device is disconnected, the large-screen device cannot play continuously, which improves the user's screen casting experience.
结合第四或第五方面,在一种实施方式中,上述第一信息为第一统一资源定位符URL,该第一URL对应于该多个视频在该服务器中的存储位置。With reference to the fourth or fifth aspect, in an embodiment, the above-mentioned first information is a first uniform resource locator URL, and the first URL corresponds to the storage location of the plurality of videos in the server.
结合第四或第五方面,在一些实施方式中,上述大屏设备播放上述多个视频,具体包括:大屏设备按照获取该多个视频的顺序依次播放该多个视频。With reference to the fourth or fifth aspect, in some embodiments, the above-mentioned large-screen device plays the above-mentioned multiple videos, which specifically includes: the large-screen device plays the multiple videos in sequence according to the order in which the multiple videos are acquired.
结合第四或第五方面,在一种实施方式中,上述第一信息为投屏解释文件,该投屏解释文件包括该多个视频分别的URL。With reference to the fourth or fifth aspect, in an embodiment, the above-mentioned first information is a screen projection interpretation file, and the screen projection interpretation file includes respective URLs of the multiple videos.
这样,大屏设备可以根据上述投屏解释文件从服务器端获取多个视频,以实现连续播放该多个视频。In this way, the large-screen device can acquire multiple videos from the server according to the above-mentioned screen projection interpretation file, so as to realize the continuous playback of the multiple videos.
结合第四或第五方面,在一种实施方式中,上述方法还包括:该大屏设备显示投屏列表,该投屏列表包括:该多个视频的选项;该大屏设备响应于作用于该投屏列表的第三操作,执行以下任意一项或多项:调整该多个视频的播放顺序、调整该多个视频的播放模式。With reference to the fourth or fifth aspect, in one embodiment, the above-mentioned method further includes: the large-screen device displays a screen projection list, and the screen projection list includes: options for the plurality of videos; the large-screen device responds to the action on The third operation of the screen projection list is to perform any one or more of the following: adjust the playback order of the multiple videos, and adjust the playback mode of the multiple videos.
这样,大屏设备可以展示投屏列表,从而满足用户个性化需求,大屏设备还可以接受用户操作,实现多个视频的播放顺序、调整该多个视频的播放模式的功能。In this way, the large-screen device can display the screen projection list to meet the personalized needs of the user, and the large-screen device can also accept user operations to realize the playback order of multiple videos and the functions of adjusting the playback modes of the multiple videos.
结合第四或第五方面,在一些实施方式中,上述的投屏解释文件还包括以下一项或多项:该投屏解释文件的版本号、该多个视频的数量、该多个视频各自的时长、该多个视频的总时长、该多个视频的播放模式,该多个视频的播放顺序或该多个视频的视频名称。With reference to the fourth or fifth aspect, in some embodiments, the above-mentioned screen projection interpretation file further includes one or more of the following: the version number of the screen projection interpretation file, the number of the multiple videos, the respective duration, the total duration of the multiple videos, the playback mode of the multiple videos, the playback order of the multiple videos, or the video names of the multiple videos.
结合第四或第五方面,在一些实施方式中,上述大屏设备根据上述第一信息,向该服务器中请求获取该多个视频,具体包括:该大屏设备向该CDN发送该第一信息;该大屏设备接收到该CDN根据从该服务器获取该多个视频;该大屏设备播放该多个视频。With reference to the fourth or fifth aspect, in some embodiments, the large-screen device requests the server to acquire the plurality of videos according to the first information, which specifically includes: the large-screen device sends the first information to the CDN ; the large-screen device obtains the plurality of videos from the server according to the CDN; the large-screen device plays the plurality of videos.
第六方面,本申请实施例提供了一种电子设备,该电子设备包括一个或多个处理器和一个或多个存储器;其中,该一个或多个存储器与该一个或多个处理器耦合,该一个或多个存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,当该一个或多个处理器执行该计算机指令时,使得该电子设备执行如第三方面的实施方式描述的方法。In a sixth aspect, an embodiment of the present application provides an electronic device, the electronic device includes one or more processors and one or more memories; wherein, the one or more memories are coupled to the one or more processors, The one or more memories are used to store computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method as described in the embodiment of the third aspect .
第七方面,本申请实施例提供了一种大屏设备,该大屏设备包括一个或多个处理器和一个或多个存储器;其中,该一个或多个存储器与该一个或多个处理器耦合,该一个或多个存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,当该一个或多个处理器执行该计算机指令时,使得该大屏设备执行如第四方面或第五方面的任意一种实施方式描述的方法。In a seventh aspect, an embodiment of the present application provides a large-screen device, where the large-screen device includes one or more processors and one or more memories; wherein, the one or more memories and the one or more processors Coupling, the one or more memories are used to store computer program code, the computer program code includes computer instructions, when the one or more processors execute the computer instructions, make the large screen device perform as the fourth aspect or the fifth aspect A method as described in any one of the embodiments of the aspect.
第八方面,本申请实施例提供了一种包含指令的计算机程序产品,当该计算机程序产品在电子设备上运行时,使得该电子设备执行如第三方面的实施方式描述的方法。In an eighth aspect, an embodiment of the present application provides a computer program product containing instructions, when the computer program product is run on an electronic device, the electronic device is caused to execute the method described in the embodiment of the third aspect.
第九方面,本申请实施例提供了一种计算机可读存储介质,包括指令,当该指令在电子设备上运行时,使得该电子设备执行如第三方面的实施方式描述的方法。In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions, when the instructions are executed on an electronic device, the electronic device causes the electronic device to execute the method described in the embodiment of the third aspect.
第十方面,本申请实施例提供了一种包含指令的计算机程序产品,当该计算机程序产品在大屏设备上运行时,使得该大屏设备执行如第四方面或第五方面的任意一种实施方式描述的方法。In a tenth aspect, an embodiment of the present application provides a computer program product including instructions, when the computer program product runs on a large-screen device, the large-screen device is made to perform any one of the fourth aspect or the fifth aspect The method described in the embodiment.
第十一方面,本申请实施例提供了一种计算机可读存储介质,包括指令,当该指令在大屏设备上运行时,使得该大屏设备执行如第四方面或第五方面的任意一种实施方式描述的方法。In an eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, including an instruction, when the instruction is executed on a large-screen device, the large-screen device is caused to perform any one of the fourth aspect or the fifth aspect The method described in this embodiment.
第十二方面,本申请实施例提供了一种投屏系统,该投屏系统包括电子设备、大屏设备和服务器,该电子设备为第三方面描述的电子设备,该大屏设备为第四方面或第五方面描述的大屏设备。In a twelfth aspect, an embodiment of the present application provides a screen projection system, the screen projection system includes an electronic device, a large-screen device, and a server, the electronic device is the electronic device described in the third aspect, and the large-screen device is the fourth The large-screen device described in the aspect or the fifth aspect.
实施本申请提供的可连续播放视频的投屏方法,用户在电子设备端执行投屏操作后,大屏设备可以实现多个视频的连续播放,并且,在此过程中电子设备和大屏设备之间无需保持通信连接。如此,每一部视频播放结束之后,另一部视频的接续工作不再依赖电子设备实时在线的控制,这样可以解决投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题。Implementing the screen projection method that can continuously play videos provided by this application, after the user performs the screen projection operation on the electronic device, the large-screen device can realize the continuous playback of multiple videos, and in this process, the electronic device and the large-screen device are connected. There is no need to maintain a communication connection between them. In this way, after each video is played, the continuation of another video no longer depends on the real-time online control of the electronic device. The device cannot play continuously.
附图说明Description of drawings
图1为现有投屏技术示意图;FIG. 1 is a schematic diagram of an existing screen projection technology;
图2为本申请实施例提供的投屏系统10的结构示意图;FIG. 2 is a schematic structural diagram of a screen projection system 10 according to an embodiment of the present application;
图3A为本申请实施例提供的电子设备100的硬件结构示意图;FIG. 3A is a schematic diagram of a hardware structure of an electronic device 100 according to an embodiment of the present application;
图3B为本申请实施例提供的电子设备100的软件结构示意图;FIG. 3B is a schematic diagram of a software structure of the electronic device 100 provided by an embodiment of the present application;
图4A为本申请实施例提供的大屏设备200的硬件结构示意图;FIG. 4A is a schematic diagram of a hardware structure of a large-screen device 200 provided by an embodiment of the present application;
图4B是本申请实施例提供的大屏设备200的软件结构框图;FIG. 4B is a block diagram of the software structure of the large-screen device 200 provided by the embodiment of the present application;
图5A为本申请实施例提供的服务器300的硬件结构示意图;FIG. 5A is a schematic diagram of a hardware structure of a server 300 according to an embodiment of the present application;
图5B为本申请实施例提供的服务器300的软件结构示意图;FIG. 5B is a schematic diagram of the software structure of the server 300 provided by the embodiment of the present application;
图6为本申请实施例1提供的投屏的方法流程图;FIG. 6 is a flowchart of the method for screen projection provided in Embodiment 1 of the present application;
图7A-图7G为本申请实施例提供的一组用户界面示意图;7A-7G are schematic diagrams of a set of user interfaces provided by an embodiment of the present application;
图8为本申请实施例提供的一个用户界面示意图;8 is a schematic diagram of a user interface provided by an embodiment of the present application;
图9为本申请实施例2提供的投屏的方法流程图;9 is a flowchart of a method for screen projection provided in Embodiment 2 of the present application;
图10A-图10E为本申请实施例提供的另一组用户界面示意图;FIGS. 10A-10E are schematic diagrams of another set of user interfaces provided by this embodiment of the present application;
图11为本申请实施例3提供的投屏的方法流程图。FIG. 11 is a flowchart of the method for screen projection provided in Embodiment 3 of the present application.
具体实施方式Detailed ways
下面将结合附图对本申请实施例中的技术方案进行清楚、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be described clearly and in detail below with reference to the accompanying drawings. Wherein, in the description of the embodiments of the present application, unless otherwise specified, “/” means or, for example, A/B can mean A or B; “and/or” in the text is only a description of an associated object The association relationship indicates that there can be three kinds of relationships, for example, A and/or B can indicate that A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of this application , "plurality" means two or more than two.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the "multiple" The meaning is two or more.
本申请以下实施例中的术语“用户界面(user interface,UI)”,是应用程序或操作系统与 用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面是通过java、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在电子设备上经过解析,渲染,最终呈现为用户可以识别的内容。用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的文本、图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。The term "user interface (UI)" in the following embodiments of this application is a medium interface for interaction and information exchange between an application program or an operating system and a user, which realizes the internal form of information and the form acceptable to the user. conversion between. The user interface is the source code written in a specific computer language such as java and extensible markup language (XML). A commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed graphically. It can be text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and other visual interface elements displayed on the display screen of the electronic device.
本申请实施例中,电子设备与大屏设备之间进行投屏时,可以基于DLNA标准。下面对DLNA进行简单的介绍。In the embodiments of the present application, the screen projection between the electronic device and the large-screen device may be based on the DLNA standard. The following is a brief introduction to DLNA.
DLNA是一种共享数据的解决方案,在同一个局域网内,不同设备间可以基于DLNA共享媒体文件。DLNA标准涉及的设备有数字媒体控制器(digital media controller,DMC),数字媒体渲染器(digital media renderer,DMR)和数字媒体服务器(digital media server,DMS)。DLNA is a solution for sharing data. In the same local area network, different devices can share media files based on DLNA. The devices involved in the DLNA standard include a digital media controller (DMC), a digital media renderer (DMR) and a digital media server (DMS).
DMS是媒体内容的提供者,可以为DMC和DMR提供媒体内容,例如云服务器等。DMS is a provider of media content and can provide media content for DMC and DMR, such as cloud servers.
DMC可以作为遥控装置,可寻找DMS上的媒体内容,并指定可播放该媒体内容的DMR进行播放,例如手机、平板电脑等电子设备。The DMC can be used as a remote control device, which can search for the media content on the DMS and designate a DMR that can play the media content, such as mobile phones, tablet computers and other electronic devices.
DMR作为受控装置,可以接收DMC指定的媒体内容并播放。具体的,DMR可以从DMS上获取媒体内容并播放,典型设备如智能电视、智慧屏等大屏设备。As a controlled device, the DMR can receive and play the media content specified by the DMC. Specifically, DMR can acquire and play media content from DMS, typical devices such as smart TVs, smart screens and other large-screen devices.
参考图1,图1示例性示出现有的基于DLAN的投屏技术示意图。Referring to FIG. 1 , FIG. 1 exemplarily shows a schematic diagram of the existing DLAN-based screen projection technology.
如图1所示,目前基于DLAN协议的投屏过程包括:As shown in Figure 1, the current screen projection process based on the DLAN protocol includes:
1、电子设备运行视频类应用程序播放视频时,用户对当前播放的视频执行投屏操作,电子设备向服务器发送投屏请求以获取电子设备当前播放视频的统一资源定位(uniform resource locator,URL)。1. When an electronic device runs a video application to play a video, the user performs a screen projection operation on the currently playing video, and the electronic device sends a screen projection request to the server to obtain the uniform resource locator (URL) of the currently playing video of the electronic device. .
2、电子设备基于与大屏设备之间的通信连接向大屏设备发送该视频的URL。2. The electronic device sends the URL of the video to the large-screen device based on the communication connection with the large-screen device.
3、大屏设备根据该URL向服务器获取对应的视频流。3. The large-screen device obtains the corresponding video stream from the server according to the URL.
4、大屏设备接收视频流并播放该视频。4. The large screen device receives the video stream and plays the video.
在上述过程中,电子设备与大屏设备必须保持通信连接,才能够实现连续播放视频。In the above process, the electronic device and the large-screen device must maintain a communication connection to realize continuous video playback.
如果电子设备与大屏设备保持通信连接,则电子设备可以监听到大屏设备当前视频播放结束事件,并自动向服务器请求获取下一个视频的URL,该下一个视频可以是已经播放结束视频的下一集。If the electronic device maintains a communication connection with the large-screen device, the electronic device can monitor the current video playback end event of the large-screen device, and automatically request the server to obtain the URL of the next video. The next video can be the next video of the finished video. one episode.
一旦电子设备与大屏设备断开通信连接,则电子设备无法监听到大屏设备当前视频播放结束事件,因此无法向大屏设备连续推送下一个视频的URL以实现连续播放视频。Once the electronic device is disconnected from the large-screen device, the electronic device cannot monitor the current video playback end event of the large-screen device, so it cannot continuously push the URL of the next video to the large-screen device to continuously play the video.
为了解决现有技术的不足,本申请以下实施例提供了一种可连续播放视频的投屏方法。在该方法中,用户在电子设备端执行投屏操作后,大屏设备可以实现多个视频的连续播放,并且,在此过程中电子设备和大屏设备之间无需保持通信连接。如此,每一部视频播放结束之后,另一部视频的接续工作不再依赖电子设备实时在线的控制,这样可以解决投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题。In order to solve the deficiencies of the prior art, the following embodiments of the present application provide a screen projection method that can continuously play videos. In this method, after the user performs a screen projection operation on the electronic device, the large-screen device can realize continuous playback of multiple videos, and during this process, there is no need to maintain a communication connection between the electronic device and the large-screen device. In this way, after each video is played, the continuation of another video no longer depends on the real-time online control of the electronic device. The device cannot play continuously.
此外,大屏设备连续播放的该多个视频可以是用户选择的视频和/或服务器推荐的视频,这样进一步满足用户个性化需求,提高用户投屏体验感。In addition, the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server, which further meets the user's personalized needs and improves the user's screen projection experience.
为了更加清楚、详细地介绍本申请实施例提供的投屏方法,下面先介绍本申请实施例提供的投屏系统10。In order to introduce the screen projection method provided by the embodiment of the present application more clearly and in detail, the screen projection system 10 provided by the embodiment of the present application is first introduced below.
参考图2,图2示出了本申请实施例提供的投屏系统10。Referring to FIG. 2 , FIG. 2 shows a screen projection system 10 provided by an embodiment of the present application.
如图2所示,投屏系统10包括:电子设备100、大屏设备200、服务器300和CDN400。As shown in FIG. 2 , the screen projection system 10 includes: an electronic device 100 , a large-screen device 200 , a server 300 and a CDN 400 .
在本申请实施例中,电子设备100可以和大屏设备200建立通信连接。该通信连接可以DLNA连接。其中DLAN连接包括符合电气和电子工程师协会(institute of electrical and electronics engineers,IEEE)制定的802.3.i/u协议的有线网络连接,以及,802.11/a/b/g/n/ac协议的无线网络连接,例如Wi-Fi直连(如Wi-Fi P2P)。该通信连接也可以是符合802.15协议的蓝牙连接,本申请实施例对此不作任何限制。In this embodiment of the present application, the electronic device 100 may establish a communication connection with the large-screen device 200 . The communication connection may be a DLNA connection. DLAN connections include wired network connections that conform to the 802.3.i/u protocol established by the Institute of Electrical and Electronics Engineers (IEEE), and wireless networks that conform to the 802.11/a/b/g/n/ac protocol. Connection, such as Wi-Fi Direct (such as Wi-Fi P2P). The communication connection may also be a Bluetooth connection conforming to the 802.15 protocol, which is not limited in this embodiment of the present application.
在另一些实施例中,电子设备100和大屏设备200可以建立远程连接。例如,电子设备100和大屏设备200可以登录相同的账号(例如华为账号),然后利用管理该账号的服务器连接。In other embodiments, the electronic device 100 and the large-screen device 200 may establish a remote connection. For example, the electronic device 100 and the large-screen device 200 may log in to the same account (eg, a Huawei account), and then connect using a server that manages the account.
在本申请实施例中,电子设备100可以基于和大屏设备200之间的通信连接将服务器300返回的新URL推送给大屏设备200,大屏设备200可以根据该新的URL获取到播放列表中各个视频和关联视频的独立URL,并根据这些URL来连续播放视频。In this embodiment of the present application, the electronic device 100 can push the new URL returned by the server 300 to the large-screen device 200 based on the communication connection with the large-screen device 200, and the large-screen device 200 can obtain the playlist according to the new URL separate URLs for each video and associated video in the URL, and play videos continuously based on these URLs.
电子设备100可以包括但不限于智能手机、平板电脑、个人数字助理(personal digital assistant,PDA)、具备无线通讯功能的可穿戴电子设备(如智能手表、智能眼镜)等。电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2021141041-appb-000001
Linux或者其它操作系统的便携式电子设备。上述电子设备也可为其它便携式电子设备,诸如膝上型计算机(Laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是台式计算机。在本申请实施例中电子设备100也可以是DLAN标准中的DMC。
The electronic device 100 may include, but is not limited to, a smart phone, a tablet computer, a personal digital assistant (PDA), a wearable electronic device with a wireless communication function (eg, a smart watch, smart glasses), and the like. Exemplary embodiments of electronic devices include, but are not limited to, onboard
Figure PCTCN2021141041-appb-000001
Portable electronic devices with Linux or other operating systems. The above-mentioned electronic device may also be other portable electronic device, such as a laptop computer (Laptop) and the like. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer. In this embodiment of the present application, the electronic device 100 may also be a DMC in the DLAN standard.
大屏设备200是指具有较大尺寸的显示屏的电子设备,例如电视机、智慧屏或者电子广告牌等。大屏设备200配置的较大尺寸的显示屏是相对于电子设备100而言的,也就是说,大屏设备200的显示屏尺寸大于电子设备100的显示屏尺寸。在一些实施例中,电视机可以配合电视盒子使用,电视盒子用于将接收到的数字信号转换为模拟信号后发送给电视机进行显示。在一些实施例中,大屏设备200可以为本身具备数模转换功能的电视机,也可以为配置有电视盒子的电视机。在本申请实施例中大屏设备200也可以是DLAN标准中的DMR。The large-screen device 200 refers to an electronic device having a large-sized display screen, such as a television, a smart screen, or an electronic billboard. The larger size of the display screen configured by the large-screen device 200 is relative to that of the electronic device 100 , that is, the size of the display screen of the large-screen device 200 is larger than that of the electronic device 100 . In some embodiments, the TV set can be used with a TV box, and the TV box is used to convert the received digital signal into an analog signal and then send it to the TV set for display. In some embodiments, the large-screen device 200 may be a TV set with a digital-to-analog conversion function, or a TV set equipped with a TV box. In this embodiment of the present application, the large-screen device 200 may also be a DMR in the DLAN standard.
在一些实施例中,电子设备100和大屏设备200可以是相同类型的设备,只要显示屏的尺寸有相对的大小即可。例如,电子设备100可以为普通的智能手机,大屏设备可以为具备柔性屏的大屏智能手机。In some embodiments, the electronic device 100 and the large-screen device 200 may be the same type of device, as long as the sizes of the display screens have relative sizes. For example, the electronic device 100 may be an ordinary smart phone, and the large-screen device may be a large-screen smart phone with a flexible screen.
在一些实施例中,大屏设备200还可以和遥控器配合使用。遥控器和大屏设备200之间可以通过红外线信号通信。In some embodiments, the large-screen device 200 may also be used in conjunction with a remote control. Communication between the remote controller and the large-screen device 200 may be through infrared signals.
服务器300是媒体内容的提供者,用户需要播放的媒体内容存储在服务器300中。服务器300可以为存储有多种多样媒体内容的服务器,例如可以是提供音视频服务的华为视频服务器。服务器300的数量可以为一个,也可以为多个。服务器300也可以实现为云服务器。The server 300 is a provider of media content, and the media content that the user needs to play is stored in the server 300 . The server 300 may be a server that stores various media contents, such as a Huawei video server that provides audio and video services. The number of servers 300 may be one or more. The server 300 may also be implemented as a cloud server.
在本申请实施例中,服务器300也是DLAN标准中的DMS,服务器300不仅可以为电子设备100和大屏设备200提供媒体内容,还提供视频管理、视频投屏编排、视频推荐等功能。具体的,服务器300根据用户创建的播放列表推荐一系列的关联视频,并将该播放列表中各个视频和关联视频的URL整合为一个新的URL,然后将该新的URL发送给电子设备。In this embodiment of the present application, the server 300 is also a DMS in the DLAN standard. The server 300 can not only provide media content for the electronic device 100 and the large-screen device 200, but also provide functions such as video management, video projection and arrangement, and video recommendation. Specifically, the server 300 recommends a series of related videos according to the playlist created by the user, integrates the URLs of each video and the related videos in the playlist into a new URL, and then sends the new URL to the electronic device.
CDN400是构建在现有网络基础之上的智能虚拟网络,依靠部署在各地的边缘服务器,通过中心平台的负载均衡、内容分发、调度等功能模块,使用户就近获取所需内容,降低网络拥塞,提高用户访问响应速度和命中率。CDN400的关键技术主要有内容存储和分发技术。 在本申请实施例中,CDN400主要负责存储视频的URL,以及根据URL向服务器300获取相应的视频,并将该视频以流媒体形式发送给大屏设备。CDN400 is an intelligent virtual network built on the basis of the existing network, relying on edge servers deployed in various places, through the load balancing, content distribution, scheduling and other functional modules of the central platform, so that users can obtain the desired content nearby, reducing network congestion, Improve user access response speed and hit rate. The key technologies of CDN400 mainly include content storage and distribution technologies. In the embodiment of the present application, the CDN 400 is mainly responsible for storing the URL of the video, obtaining the corresponding video from the server 300 according to the URL, and sending the video to the large-screen device in the form of streaming media.
基于上文对本申请实施例提供的投屏系统10的介绍,便于用户更深入的了解本申请实施例提供的投屏方法,接下来详细介绍投屏系统10涉及的设备的软硬件结构。Based on the above introduction to the screen projection system 10 provided by the embodiments of the present application, it is convenient for users to have a deeper understanding of the screen projection methods provided by the embodiments of the present application. Next, the software and hardware structures of the devices involved in the screen projection system 10 are described in detail.
图3A示出了电子设备100的硬件结构示意图。FIG. 3A shows a schematic diagram of the hardware structure of the electronic device 100 .
以智能手机为例,电子设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。Taking a smartphone as an example, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195 and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信 模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号解调以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR). The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
在本申请实施例中,无线通信模块160可用于和服务器300建立通信连接,基于该通信连接向服务器300请求获取新URL。In this embodiment of the present application, the wireless communication module 160 may be configured to establish a communication connection with the server 300, and request the server 300 to obtain a new URL based on the communication connection.
无线通信模块160还可用于和大屏设备200建立通信连接,基于该通信连接将服务器300生成的新URL推送给大屏设备200。此外,基于无线通信模块160与大屏设备200之间的通信连接,用户可以通过在电子设备端的视频类应用程序中对当前播放视频执行暂停/继续、倍速、快进等操作,实现大屏设备端暂停/继续、倍速、快进当前播放的视频。该通信连接可以是前文所述的DLAN连接、蓝牙连接。The wireless communication module 160 is further configured to establish a communication connection with the large-screen device 200, and push the new URL generated by the server 300 to the large-screen device 200 based on the communication connection. In addition, based on the communication connection between the wireless communication module 160 and the large-screen device 200, the user can perform operations such as pause/continue, double-speed, fast-forward, etc. on the currently playing video in the video application program on the electronic device side to realize the large-screen device. Pause/Resume, Double Speed, Fast Forward the currently playing video. The communication connection may be the aforementioned DLAN connection or Bluetooth connection.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。在本申请实施例中,显示屏194可以显示电子设备100中正在使用投屏功能的视频类应用程序的用户界面。例如,显示屏194可以用以显示当前电子设备100正在运行的华为视频这一应用程序的用户界面。Display screen 194 is used to display images, videos, and the like. In this embodiment of the present application, the display screen 194 may display a user interface of a video application program in the electronic device 100 that is using the screen casting function. For example, the display screen 194 may be used to display the user interface of the Huawei Video application currently running on the electronic device 100 .
内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the electronic device 100 .
图3B是本申请实施例提供的电子设备100的软件结构框图。FIG. 3B is a block diagram of the software structure of the electronic device 100 provided by the embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图3B所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,视频类应用程序等。As shown in FIG. 3B, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, video applications, and the like.
本申请实施例中的视频类应用程序为电子设备100提供音视频服务。电子设备100可以运行视频类应用程序,并从该视频类应用程序对应的服务器中获取网络视频。视频类应用程序的数量可以为一个或多个,例如可包括华为视频。视频类应用程序对应的服务器是指该视频类应用程序的开发商所提供的用于管理该应用程序、为该应用程序提供音视频服务的服务器,例如图1所示的服务器300。The video applications in the embodiments of the present application provide audio and video services for the electronic device 100 . The electronic device 100 may run a video application, and obtain network video from a server corresponding to the video application. The number of video applications may be one or more, for example, Huawei Video may be included. The server corresponding to the video application refers to a server provided by the developer of the video application for managing the application and providing audio and video services for the application, such as the server 300 shown in FIG. 1 .
视频类应用程序包括投屏发送、投屏控制、投屏列表管理等模块。投屏发送模块可以与大屏设备200端的投屏接收模块建立连接,用于发送服务器300生成的新URL。投屏控制模块可供用户在电子设备端控制大屏设备播放视频的状态,例如快进、暂停、倍速等。投屏列表管理等模块可以支持用户手动创建投屏时的播放列表。Video applications include modules such as projection sending, projection control, and projection list management. The screen projection sending module can establish a connection with the screen projection receiving module on the large screen device 200 for sending the new URL generated by the server 300 . The screen projection control module can be used by the user to control the state of the video playing on the large-screen device on the electronic device side, such as fast forward, pause, double speed, etc. Modules such as screencasting list management can support users to manually create playlists when screencasting.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图3B所示,应用程序框架层可以包括窗口管理器,内容提供器,电话管理器,资源管理器,通知管理器,视图系统等。As shown in Figure 3B, the application framework layer may include a window manager, a content provider, a telephony manager, a resource manager, a notification manager, a view system, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100 . For example, the management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
参考图4A,图4A为本申请实施例提供的大屏设备200的硬件结构示意图。Referring to FIG. 4A , FIG. 4A is a schematic diagram of a hardware structure of a large-screen device 200 according to an embodiment of the present application.
如图4A所示,大屏设备200可包括:视频编解码器121、处理器122、存储器123、无线通信处理模块124、电源开关125、有线LAN通信处理模块126、高清晰度多媒体接口(high definition multimedia interface,HDMI)通信处理模块127、USB通信处理模块128、显示屏129、音频模块130。各个模块可通过总线连接。其中:As shown in FIG. 4A, the large-screen device 200 may include: a video codec 121, a processor 122, a memory 123, a wireless communication processing module 124, a power switch 125, a wired LAN communication processing module 126, a high-definition multimedia interface (high-definition multimedia interface) definition multimedia interface, HDMI) communication processing module 127, USB communication processing module 128, display screen 129, audio module 130. The individual modules can be connected via a bus. in:
处理器122可用于读取和执行计算机可读指令。具体实现中,处理器122可主要包括控制器、运算器和寄存器。其中,控制器主要负责指令译码,并为指令对应的操作发出控制信号。运算器主要负责执行定点或浮点算数运算操作、移位操作以及逻辑操作等,也可以执行地址运算和转换。寄存器主要负责保存指令执行过程中临时存放的寄存器操作数和中间操作结果等。具体实现中,处理器122的硬件架构可以是专用集成电路(ASIC)架构、MIPS架构、ARM架构或者NP架构等等。The processor 122 may be used to read and execute computer readable instructions. In a specific implementation, the processor 122 may mainly include a controller, an arithmetic unit and a register. Among them, the controller is mainly responsible for instruction decoding, and sends out control signals for the operations corresponding to the instructions. The arithmetic unit is mainly responsible for performing fixed-point or floating-point arithmetic operations, shift operations, and logical operations, and can also perform address operations and conversions. Registers are mainly responsible for saving register operands and intermediate operation results temporarily stored during instruction execution. In a specific implementation, the hardware architecture of the processor 122 may be an application specific integrated circuit (ASIC) architecture, a MIPS architecture, an ARM architecture, an NP architecture, or the like.
在本申请实施例中,处理器122可以用于解析无线通信处理模块124接收到的信号,如电子设备100发送的新URL,根据该新的URL获取播放列表中的多个视频和关联视频。In this embodiment of the present application, the processor 122 may be configured to parse a signal received by the wireless communication processing module 124, such as a new URL sent by the electronic device 100, and acquire multiple videos and associated videos in the playlist according to the new URL.
无线通信处理模块124可以包括WLAN通信处理模块124A,还可包括蓝牙(BT)通信处理模块124B、NFC处理模块124C、蜂窝移动通信处理模块(未示出)等等。The wireless communication processing module 124 may include a WLAN communication processing module 124A, and may further include a Bluetooth (BT) communication processing module 124B, an NFC processing module 124C, a cellular mobile communication processing module (not shown), and the like.
在本申请实施例中,无线通信处理模块124可用于和电子设备100建立通信连接,并基于该通信连接接收到电子设备100发送的经服务器300生成的新URL。无线通信处理模块124和电子设备100建立的通信连接可以为多种。例如,WLAN通信处理模块124A可用于和电子设备100建立Wi-Fi直连通信连接,蓝牙(BT)通信处理模块124B可用于和电子设备100建立蓝牙通信连接,NFC处理模块124C可用于和电子设备100建立NFC连接等等。In this embodiment of the present application, the wireless communication processing module 124 may be configured to establish a communication connection with the electronic device 100, and receive a new URL sent by the electronic device 100 and generated by the server 300 based on the communication connection. The communication connection established between the wireless communication processing module 124 and the electronic device 100 may be various. For example, the WLAN communication processing module 124A can be used to establish a Wi-Fi Direct communication connection with the electronic device 100, the Bluetooth (BT) communication processing module 124B can be used to establish a Bluetooth communication connection with the electronic device 100, and the NFC processing module 124C can be used to establish a Bluetooth communication connection with the electronic device 100 establishes an NFC connection and so on.
在本申请实施例中,无线通信处理模块124还可以用于和CDN400建立通信连接,并基于该通信连接接收CDN400发送的视频流。无线通信处理模块124和CDN400建立的通信连接可以基于HTTP协议进行数据传输,本申请对设备间的通信连接类型、数据传输协议不作任何限制。In this embodiment of the present application, the wireless communication processing module 124 may also be configured to establish a communication connection with the CDN 400, and receive a video stream sent by the CDN 400 based on the communication connection. The communication connection established by the wireless communication processing module 124 and the CDN 400 may perform data transmission based on the HTTP protocol, and the present application does not impose any restrictions on the communication connection type and data transmission protocol between the devices.
存储器123与处理器122耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器123可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器123可以存储操作系统,例如 uCOS、VxWorks、RTLinux等嵌入式操作系统。存储器123还可以存储通信程序,该通信程序可用于与电子设备100,一个或多个服务器,或附加设备进行通信。Memory 123 is coupled to processor 122 for storing various software programs and/or sets of instructions. In specific implementations, memory 123 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 123 can store operating systems, such as embedded operating systems such as uCOS, VxWorks, RTLinux, and the like. The memory 123 may also store communication programs that may be used to communicate with the electronic device 100, one or more servers, or additional devices.
电源开关125可用于控制电源向大屏设备200的供电。The power switch 125 can be used to control the power supply of the power supply to the large screen device 200 .
有线LAN通信处理模块126可用于通过有线LAN和同一个LAN中的其他设备进行通信,还可用于通过有线LAN连接到WAN,可与WAN中的设备通信。The wired LAN communication processing module 126 can be used to communicate with other devices in the same LAN through the wired LAN, and can also be used to connect to the WAN through the wired LAN, and can communicate with the devices in the WAN.
HDMI通信处理模块127可用于通过HDMI接口(未示出)与其他设备进行通信。The HDMI communication processing module 127 may be used to communicate with other devices through an HDMI interface (not shown).
USB通信处理模块128可用于通过USB接口(未示出)与其他设备进行通信。The USB communication processing module 128 may be used to communicate with other devices through a USB interface (not shown).
显示屏129可用于显示图像,视频等。显示屏129可以采用LCD、OLED、AMOLED、FLED、QLED等显示屏。显示屏129所显示的内容可参考后续方法实施例的相关描述。Display screen 129 may be used to display images, video, and the like. The display screen 129 may adopt a display screen such as LCD, OLED, AMOLED, FLED, and QLED. For the content displayed on the display screen 129, reference may be made to the related descriptions of the subsequent method embodiments.
在本申请实施例中,显示屏129可以根据无线通信模块124接收到服务器300发送的播放列表和关联视频等多个视频的视频流,来实现连续播放多个视频。In this embodiment of the present application, the display screen 129 can continuously play multiple videos according to the video streams of the multiple videos, such as the playlist and the associated video, which are received by the wireless communication module 124 from the server 300 .
音频模块130。音频模块130可用于通过音频输出接口输出音频信号,这样可使得大屏显示设备200支持音频播放。音频模块130还可用于通过音频输入接口接收音频数据。音频模块130可包括但不限于:麦克风、扬声器、受话器等等。Audio module 130 . The audio module 130 can be used to output audio signals through the audio output interface, so that the large-screen display device 200 can support audio playback. The audio module 130 can also be used to receive audio data through the audio input interface. The audio module 130 may include, but is not limited to, a microphone, a speaker, a receiver, and the like.
在一些实施例中,大屏设备200还可以包括RS-232接口等串行接口。该串行接口可连接至其他设备,如音箱等音频外放设备,使得显示器和音频外放设备协作播放音视频。In some embodiments, the large-screen device 200 may further include a serial interface such as an RS-232 interface. The serial interface can be connected to other devices, such as audio amplifiers such as speakers, so that the display and audio amplifiers can cooperate to play audio and video.
可以理解的是图4A示意的结构并不构成对大屏设备200的具体限定。在本申请另一些实施例中,大屏设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure shown in FIG. 4A does not constitute a specific limitation on the large-screen device 200 . In other embodiments of the present application, the large-screen device 200 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
大屏设备200的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构等等。示例性地,大屏设备200的软件系统可以包括但不限于
Figure PCTCN2021141041-appb-000002
Figure PCTCN2021141041-appb-000003
Linux或者其它操作系统。
Figure PCTCN2021141041-appb-000004
为华为的鸿蒙系统。
The software system of the large-screen device 200 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture, and so on. Exemplarily, the software system of the large-screen device 200 may include but is not limited to
Figure PCTCN2021141041-appb-000002
Figure PCTCN2021141041-appb-000003
Linux or other operating systems.
Figure PCTCN2021141041-appb-000004
For Huawei's Hongmeng system.
如图4B所示大屏设备200的软件系统中可包括投屏接收模块和投屏播放模块。投屏接收模块可以与电子设备100建立的通信连接,基于该通信连接,大屏设备200可以接收新URL,然后根据该新的URL获取到播放列表中各个视频和关联视频的独立URL,来连续播放视频。As shown in FIG. 4B , the software system of the large-screen device 200 may include a screen projection receiving module and a screen projection playing module. The screen projection receiving module can establish a communication connection with the electronic device 100. Based on the communication connection, the large-screen device 200 can receive a new URL, and then obtain the independent URLs of each video and the associated video in the playlist according to the new URL, so as to continuously Play the video.
图5A示出了本申请实施例提供视频服务的服务器300的硬件结构。FIG. 5A shows the hardware structure of a server 300 for providing a video service according to an embodiment of the present application.
如图5A所示,服务器300可以包括:一个或多个处理器301、存储器302、通信接口303、发射器305、接收器306、耦合器307和天线308。这些部件可通过总线304或者其他方式连接,图5A以通过总线连接为例。其中:As shown in FIG. 5A , server 300 may include: one or more processors 301 , memory 302 , communication interface 303 , transmitter 305 , receiver 306 , coupler 307 , and antenna 308 . These components may be connected through a bus 304 or in other ways, and FIG. 5A takes the connection through a bus as an example. in:
通信接口303可用于服务器300与其他通信设备,例如电子设备100、大屏设备200和CDN400等进行通信。具体的,通信接口303可以是3G通信接口、长期演进(LTE)(4G)通信接口、5G通信接口、WLAN通信接口、WAN通信接口等等。不限于无线通信接口,服务器300还可以配置有有线的通信接口303来支持有线通信,例如服务器300与其他服务器之间的回程链接可以是有线通信连接。The communication interface 303 can be used for the server 300 to communicate with other communication devices, such as the electronic device 100 , the large-screen device 200 , and the CDN 400 . Specifically, the communication interface 303 may be a 3G communication interface, a Long Term Evolution (LTE) (4G) communication interface, a 5G communication interface, a WLAN communication interface, a WAN communication interface, and the like. Not limited to the wireless communication interface, the server 300 may also be configured with a wired communication interface 303 to support wired communication, for example, the backhaul link between the server 300 and other servers may be a wired communication connection.
在本申请的一些实施例中,发射器305和接收器306可看作一个无线调制解调器。发射器305可用于对处理器301输出的信号进行发射处理。接收器306可用于接收信号。在服务器300中,发射器305和接收器306的数量均可以是一个或者多个。天线308可用于将传输线中的电磁能转换成自由空间中的电磁波,或者将自由空间中的电磁波转换成传输线中的电磁能。耦合器307可用于将移动通信号分成多路,分配给多个的接收器306。可理解的,网络设备的天线308可以实现为大规模天线阵列。In some embodiments of the present application, the transmitter 305 and the receiver 306 may be regarded as a wireless modem. The transmitter 305 can be used for transmitting and processing the signal output by the processor 301 . A receiver 306 may be used to receive signals. In the server 300, the number of the transmitter 305 and the receiver 306 may be one or more. Antenna 308 may be used to convert electromagnetic energy in a transmission line to electromagnetic waves in free space, or to convert electromagnetic waves in free space to electromagnetic energy in a transmission line. The coupler 307 can be used to divide the mobile communication signal into multiple paths for distribution to a plurality of receivers 306 . It will be appreciated that the antenna 308 of the network device may be implemented as a large scale antenna array.
存储器302与处理器301耦合,用于存储各种软件程序和/或多组指令。具体的,存储器302可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。 Memory 302 is coupled to processor 301 for storing various software programs and/or sets of instructions. Specifically, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
存储器302可以存储操作系统(下述简称系统),例如uCOS、VxWorks、RTLinux等嵌入式操作系统。存储器302还可以存储网络通信程序,该网络通信程序可用于与电子设备100、大屏设备200进行通信。The memory 302 may store an operating system (hereinafter referred to as a system), such as an embedded operating system such as uCOS, VxWorks, and RTLinux. The memory 302 can also store a network communication program, and the network communication program can be used to communicate with the electronic device 100 and the large-screen device 200 .
在本申请实施例中,存储器302可以存储有视频类应用程序的注册用户的用户账号,例如用户名称、头像、手机号等等。In this embodiment of the present application, the memory 302 may store a user account of a registered user of a video application program, such as a user name, an avatar, a mobile phone number, and the like.
本申请实施例中,处理器301可用于读取和执行计算机可读指令。具体的,处理器301可用于调用存储于存储器302中的程序,例如本申请的一个或多个实施例提供的连续播放视频的投屏方法在服务器300侧的实现程序,并执行该程序包含的指令。In this embodiment of the present application, the processor 301 may be configured to read and execute computer-readable instructions. Specifically, the processor 301 may be configured to call a program stored in the memory 302, such as an implementation program on the server 300 side of the screen projection method for continuously playing video provided by one or more embodiments of the present application, and execute the program included in the program instruction.
需要说明的,图5A所示的服务器300仅仅是本申请实施例的一种实现方式,实际应用中,服务器300还可以包括更多或更少的部件,这里不作限制。It should be noted that the server 300 shown in FIG. 5A is only an implementation manner of the embodiment of the present application. In practical applications, the server 300 may further include more or less components, which is not limited here.
如图5B所示服务器300的软件系统可以包括源站、视频推荐模块、视频投屏编排模块。As shown in FIG. 5B , the software system of the server 300 may include an origin site, a video recommendation module, and a video projection and arrangement module.
源站用于存储原始视频文件,可以用于大屏设备200通过CDN400请求播放视频时,根据视频的URL获取对应视频的视频流。在本申请实施例中,URL指向视频在源站中的存储位置。The origin site is used to store the original video file, and can be used to obtain the video stream of the corresponding video according to the URL of the video when the large-screen device 200 requests to play the video through the CDN 400 . In this embodiment of the present application, the URL points to the storage location of the video in the source site.
视频推荐模块用于响应于电子设备100的投屏请求,根据一定的推荐规则来推荐与电子设备100发送的播放列表中的视频相关联的一系列视频,其中推荐规则可以参考后文详细描述,在此暂不作赘述The video recommendation module is used to recommend a series of videos associated with the videos in the playlist sent by the electronic device 100 according to certain recommendation rules in response to the screen projection request of the electronic device 100, wherein the recommendation rules can be described in detail with reference to the following, I won't go into details here
视频投屏编排模块用于生成播放列表中的多个视频和关联视频对应的一个新URL,并将该新的URL存储在源站中。The video projection screen arrangement module is used to generate a new URL corresponding to the multiple videos in the playlist and the associated video, and store the new URL in the origin site.
基于前文对图2所示的投屏系统10的示意图、图3A和图3B所示的电子设备100硬件和软件结构示意图、图4A和图4B所示的大屏设备200的软硬件结构示意图,以及图5A和图5B所示的服务器300的软硬件结构示意图,接下来结合本申请实施例1、实施例2、实施例3提供的连续播放视频的投屏方法的流程图以及用户界面,来详细描述本申请三个实施例分别提供的投屏方法。Based on the foregoing schematic diagram of the screen projection system 10 shown in FIG. 2 , the hardware and software structure diagrams of the electronic device 100 shown in FIGS. 3A and 3B , and the software and hardware structure diagrams of the large-screen device 200 shown in FIGS. 4A and 4B , And the schematic diagram of the software and hardware structure of the server 300 shown in FIG. 5A and FIG. 5B, next, in conjunction with the flowchart and user interface of the screen projection method for continuously playing video provided by Embodiment 1, Embodiment 2, and Embodiment 3 of the present application, to The screen projection methods respectively provided by the three embodiments of the present application are described in detail.
实施例1Example 1
在实施例1中,电子设备100可以响应于用户操作创建播放列表,然后将该播放列表发送给提供视频服务的服务器300,服务器300根据该播放列表推荐一系列的关联视频,并生成该播放列表中各个视频和关联视频的对应的新URL,然后将该新的URL发送给电子设备100。电子设备100可以基于与大屏设备200之间的通信连接将该新的URL推送给大屏设备200,大屏设备200可以根据该新的URL获取到播放列表中各个视频和关联视频,以实现连续播放视频。从而使得大屏设备可以实现多个视频的连续播放,并且,在此过程中电子设备和大屏设备之间无需保持通信连接。如此,每一部视频播放结束之后,另一部视频的接续播放工作不再依赖电子设备实时在线的控制,这样可以解决投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题。In Embodiment 1, the electronic device 100 may create a playlist in response to a user operation, and then send the playlist to the server 300 that provides video services, and the server 300 recommends a series of related videos according to the playlist, and generates the playlist The corresponding new URLs of the respective videos and associated videos in the system are then sent to the electronic device 100 . The electronic device 100 can push the new URL to the large-screen device 200 based on the communication connection with the large-screen device 200, and the large-screen device 200 can obtain each video and associated video in the playlist according to the new URL, so as to realize Play the video continuously. Therefore, the large-screen device can realize the continuous playback of multiple videos, and during this process, there is no need to maintain a communication connection between the electronic device and the large-screen device. In this way, after each video is played, the continuous playback of another video no longer depends on the real-time online control of the electronic device. The problem that the screen device cannot play continuously.
此外,大屏设备连续播放的该多个视频可以是用户选择的视频和/或服务器推荐的视频,这样进一步满足用户个性化需求,提高用户投屏体验感。In addition, the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server, which further meets the user's personalized needs and improves the user's screen projection experience.
具体方法流程可以参考下文的详细说明。For the specific method flow, please refer to the detailed description below.
图6示例性示出了本申请实施例1提供的投屏方法流程。下面展开详细介绍:FIG. 6 exemplarily shows the flow of the screen projection method provided in Embodiment 1 of the present application. The following is a detailed introduction:
S101,电子设备100开启“自动连续投屏”功能。S101, the electronic device 100 enables the "automatic continuous screen projection" function.
图7A示例性示出电子设备100开启“自动连续投屏”功能的用户界面710。FIG. 7A exemplarily shows a user interface 710 of the electronic device 100 to enable the "automatic continuous screen projection" function.
用户界面710为视频类应用程序提供的设置界面,该设置界面中可包括提供给用户的用于开启/关闭电子设备100的“自动连续投屏”功能的控件,用户可通过在该控件上输入用户操作来开启电子设备100的“自动连续投屏”功能。The user interface 710 is a setting interface provided by a video application program. The setting interface may include a control provided to the user for enabling/disabling the "automatic continuous screen projection" function of the electronic device 100. The user operates to enable the "automatic continuous screen projection" function of the electronic device 100 .
如图7A所示,用户界面710中的投屏设置栏711中包括控件711A,控件711A用于开启/关闭“自动连续投屏”功能。例如,电子设备100可以响应于如图7A所示的作用于控件711A的操作,开启电子设备100的“自动连续投屏”功能。As shown in FIG. 7A , the screen projection setting bar 711 in the user interface 710 includes a control 711A, and the control 711A is used to enable/disable the “automatic continuous screen projection” function. For example, the electronic device 100 may turn on the "automatic continuous screen projection" function of the electronic device 100 in response to the operation acting on the control 711A as shown in FIG. 7A .
可以理解的是,图7A所示的用户界面710为可以提供投屏功能的任意一个视频类应用程序的设置界面。示例性的,该视频类应用程序可以是华为视频。可以理解的是,图7A仅仅示例性示出了电子设备100的一个用户界面,不应构成对本申请实施例的限定。It can be understood that the user interface 710 shown in FIG. 7A is a setting interface of any video application program that can provide a screen projection function. Exemplarily, the video application may be Huawei Video. It can be understood that, FIG. 7A only exemplarily shows a user interface of the electronic device 100, which should not constitute a limitation to the embodiments of the present application.
不限于图7A所示的开启“自动连续投屏”功能的方式,电子设备100还可以通过其他方式开启“自动连续投屏”功能。例如,电子设备100还可以响应于用户在系统设置界面提供的控件开启“自动连续投屏”功能、或者响应于语音指令开启“自动连续投屏”功能、或者电子设备100默认开启“自动连续投屏”功能。Not limited to the manner of enabling the "automatic continuous screen projection" function shown in FIG. 7A , the electronic device 100 may also enable the "automatic continuous screen projection" function in other manners. For example, the electronic device 100 can also enable the "automatic continuous screen projection" function in response to a control provided by the user on the system setting interface, or enable the "automatic continuous screen projection" function in response to a voice command, or the electronic device 100 enables the "automatic continuous screen projection" function by default. screen” function.
“自动连续投屏”可以是电子设备100提供的一种服务或功能,可以支持电子设备100获取多个视频的URL,以实现大屏设备200可以连续播放视频。电子设备100获取多个视频的URL的具体实现如下:"Automatic continuous screen projection" may be a service or function provided by the electronic device 100, which may support the electronic device 100 to obtain URLs of multiple videos, so that the large-screen device 200 can continuously play videos. The specific implementation of the electronic device 100 acquiring the URLs of multiple videos is as follows:
在一些实施例中,“自动连续投屏”可支持电子设备100中的视频类应用程序提供一系列供用户选择的视频,用户可以选择需要投屏的视频来创建第一播放列表,并从服务器300端获取第一播放列表中的视频URL。其中,视频类应用程序提供可供用户选择的视频的策略,和,用户创建第一播放列表具体过程可参考后文图7B-图7D的详细描述,以及,该第一播放列表的内容可以参见后文表1的详细描述。第一播放列表也是前文所述的播放列表。In some embodiments, the "automatic continuous screen projection" can support the video application in the electronic device 100 to provide a series of videos for the user to select. The end 300 obtains the video URL in the first playlist. Among them, the video application program provides a strategy for videos that can be selected by the user, and, for the specific process of creating the first playlist by the user, please refer to the detailed description of FIG. 7B-FIG. 7D later, and the content of the first playlist can refer to Detailed description in Table 1 below. The first playlist is also the aforementioned playlist.
在另一些实施例中,“自动连续投屏”可支持该电子设备100通过Wi-Fi直连(如Wi-Fi p2p),或,3G、LTE、5G等蜂窝移动通信技术或广域网(wide area network,WAN)技术传输数据至该电子设备100能够访问到的云端设备(例如服务器300)。例如电子设备100可以向服务器300请求推荐与第一播放列表中的视频相关的一系列视频,服务器300响应电子设备100的请求可以根据一定推荐规则推荐一系列关联视频,成第二播放列表,然后获取第二列表中的视频URL。其中,推荐关联视频的规则,和第二播放列表的内容可以参见后文步骤S104和表1的详细描述。In other embodiments, "automatic continuous screen projection" can support the electronic device 100 to connect directly via Wi-Fi (such as Wi-Fi p2p), or cellular mobile communication technologies such as 3G, LTE, and 5G, or a wide area network (wide area network). network, WAN) technology to transmit data to a cloud device (eg, server 300 ) that the electronic device 100 can access. For example, the electronic device 100 may request the server 300 to recommend a series of videos related to the videos in the first playlist, and the server 300 may, in response to the request of the electronic device 100, recommend a series of related videos according to certain recommendation rules to form a second playlist, and then Get the video URL in the second list. The rules for recommending related videos and the content of the second playlist may refer to the detailed description of step S104 and Table 1 below.
可以理解的是,“自动连续投屏”只是本实施例中所使用的一个词语,其代表的含义在本实施例中已经记载,其名称并不能对本实施例构成任何限制。另外,在本申请其他一些实施例中,“自动连续投屏”也可以被称为例如“连续投屏”等其他名词。It can be understood that "automatic continuous screen projection" is only a word used in this embodiment, and its representative meaning has been recorded in this embodiment, and its name does not constitute any limitation to this embodiment. In addition, in some other embodiments of the present application, "automatic continuous screen projection" may also be referred to as other terms such as "continuous screen projection".
S102,电子设备100创建第一播放列表。S102, the electronic device 100 creates a first playlist.
该第一播放列表包含一个或多个视频的相关信息,例如视频名称、视频类别、播放时长等等。The first playlist contains relevant information of one or more videos, such as video name, video category, playing time and so on.
图7B-图7D示例性示出电子设备100创建第一播放列表的用户界面720。7B-7D exemplarily illustrate a user interface 720 for the electronic device 100 to create a first playlist.
图7B所示的用户界面720可以是,用户选择视频类应用程序提供的任意一个视频进行播放所显示的用户界面。例如用户选择华为视频提供的视频A这一视频进行播放所显示的用户界面。The user interface 720 shown in FIG. 7B may be a user interface displayed when the user selects any video provided by the video application program to play. For example, the user interface displayed by the user selecting the video A provided by Huawei Video to play.
如图7B所示,用户界面720显示播放窗口721。播放窗口721包括:返回控件721A、收藏图标721B、投屏图标721C、播放暂停/继续控件721E、播放进度条721F、全屏播放图标721G。其中:As shown in FIG. 7B , the user interface 720 displays a play window 721 . The playback window 721 includes: a return control 721A, a favorite icon 721B, a screen projection icon 721C, a playback pause/resume control 721E, a playback progress bar 721F, and a full-screen playback icon 721G. in:
当电子设备100检测到用户点击投屏图标721C的操作即电子设备100检测到用户开启“投屏”功能后,电子设备100弹出如图7C所示的窗口725。When the electronic device 100 detects that the user clicks the screen projection icon 721C, that is, after the electronic device 100 detects that the user has enabled the "screen projection" function, the electronic device 100 pops up a window 725 as shown in FIG. 7C .
如图7C所示,窗口725包括:提示信息725A、取消控件725B、创建控件725C、视频(例如视频A、视频B、视频C、视频D等)的图标。As shown in FIG. 7C, window 725 includes: prompt information 725A, cancel control 725B, create control 725C, icons for videos (eg, video A, video B, video C, video D, etc.).
可以理解的是上述的视频图标仅为示例,本申请实施例对此不做限定。视频图标所对应的视频可以是,电子设备100根据登录华为视频的用户的网络浏览记录,或者与华为视频当前播放视频关联度超过阈值的视频,或者点击率较高的热播视频来推荐一些相关视频。例如,登录华为视频的用户浏览过一些国外的剧情类视频,则华为视频可以推荐一些例如视频C、视频D等国外剧情类视频。其中与当前播放视频的关联度超过阈值的视频包括:与当前播放视频的视频类别、视频时长、视频的导演、演员等一项或多项相关的其他一系列视频。It can be understood that the above video icons are only examples, which are not limited in this embodiment of the present application. The video corresponding to the video icon may be, the electronic device 100 recommends some related videos according to the web browsing records of users who log in to Huawei Video, or videos whose correlation degree with the currently playing video of Huawei Video exceeds a threshold, or a popular video with a high click rate. video. For example, if a user who logs in to Huawei Video has browsed some foreign drama videos, Huawei Video can recommend some foreign drama videos such as Video C and Video D. The videos whose relevance degree with the currently playing video exceeds the threshold includes: other series of videos related to one or more of the video category, video duration, video director, and actor of the currently playing video.
窗口725中的提示信息725A用于提示用户该窗口是创建第一播放列表的窗口。创建第一播放列表的具体步骤如下:The prompt information 725A in the window 725 is used to prompt the user that the window is the window for creating the first playlist. The specific steps for creating the first playlist are as follows:
1、用户点击图7B所示的投屏图标721C,电子设备100弹出创建第一播放列表的窗口725。1. The user clicks the screen-casting icon 721C shown in FIG. 7B , and the electronic device 100 pops up a window 725 for creating a first playlist.
2、用户可以点击窗口725中的视频图标。其中窗口725中的第一个视频图标为电子设备100当前正在播放的视频的图标,因此第一个视频默认选中,用户可以选择的视频为视频类应用程序推荐的一系列视频。例如,用户可以选择的视频有视频B、视频C、视频D。2. The user can click the video icon in the window 725. The first video icon in the window 725 is the icon of the video currently being played by the electronic device 100, so the first video is selected by default, and the videos that the user can select are a series of videos recommended by video applications. For example, the videos that the user can select include video B, video C, and video D.
用户可以通过在视频图标上输入用户操作(例如点击操作、触摸操作)来选择视频,当用户选定视频图标后,被选中的视频图标会显示数字。该数字代表该视频被选则时的序号,也是第一播放列表中各个视频对应的序号。在一些实施例中,当用户选定视频图标后,电子设备也可以显示其他,例如被选中的视频图标可以显示有阴影效果等。The user can select a video by inputting a user operation (such as a click operation, a touch operation) on the video icon, and when the user selects the video icon, the selected video icon will display a number. The number represents the sequence number when the video is selected, and is also the sequence number corresponding to each video in the first playlist. In some embodiments, after the user selects a video icon, the electronic device may also display other things, for example, the selected video icon may be displayed with a shadow effect or the like.
图7C示例性示出用户选点击窗口725中的视频图标前的用户界面。如图7C所示,视频A为电子设备100当前正在播放的视频,因此该视频已经默认选中。FIG. 7C exemplarily shows the user interface before the user selects the video icon in the click window 725 . As shown in FIG. 7C , video A is the video currently being played by the electronic device 100 , so the video has been selected by default.
图7D示例性示出用户点击一个活多个视频图标后的用户界面。例如,用户还可以选择视频C、视频D。FIG. 7D exemplarily shows the user interface after the user clicks one or more video icons. For example, the user can also select video C and video D.
3、用户点击图7D所示的创建控件725C,创建第一播放列表。该第一播放列表可以包含一个或多个视频的相关信息,例如视频名称、视频类别、播放时长等等。参考表1,表1示例性示出了第一播放列表的详细内容。其中第一列表中的视频顺序按照电子设备正在播放的视频,用户选择相关视频时的顺序来依次排序。3. The user clicks the creation control 725C shown in FIG. 7D to create the first playlist. The first playlist may contain related information of one or more videos, such as video name, video category, playing time and so on. Referring to Table 1, Table 1 exemplarily shows the detailed content of the first playlist. The videos in the first list are sorted according to the order in which the video is being played by the electronic device and the user selects the relevant videos.
序号serial number 视频名称video name 视频类别video category 播放时长Play time
11 视频AVideo A 动画 animation 110分钟110 minutes
22 视频C Video C 爱情love 195分钟195 minutes
33 视频D Video D 亲情affection 120分钟120 minutes
表1Table 1
不限于图7C及图7D所示的用户在默认选中的视频图标的基础上再次选择一个或多个其 他视频图标的情况。在其他一些实施例中,用户还可以不选择其他视频图片,即用户可以点击图7C所示的创建控件725C,创建投屏播放列表。可以理解的是,图7B-图7D示出方式仅为示例,具体实现中还可以通过其他方式来创建第一播放列表。例如,响应于用户点击图7B所示的投屏图标721C,电子设备100可以不弹出创建第一播放列表的窗口725。即电子设备100可以自动创建第一播放列表,该第一播放列表中仅有当前播放窗口正在播放的视频相关信息。这样,简化投屏操作,对于用户来说更加简单方便,提升投屏用户体验。It is not limited to the case where the user selects one or more other video icons based on the default selected video icon as shown in Figs. 7C and 7D. In some other embodiments, the user may not select other video pictures, that is, the user may click the creation control 725C shown in FIG. 7C to create a screencast playlist. It can be understood that the manners shown in FIGS. 7B-7D are only examples, and in a specific implementation, the first playlist may also be created in other manners. For example, in response to the user clicking the screen casting icon 721C shown in FIG. 7B , the electronic device 100 may not pop up the window 725 for creating the first playlist. That is, the electronic device 100 can automatically create a first playlist, and the first playlist only has information related to the video being played in the current play window. In this way, the screen projection operation is simplified, which is more simple and convenient for the user, and improves the user experience of the screen projection.
S103,电子设备100向服务器300发送第一消息,该第一消息用于向服务器300请求获取新URL。S103, the electronic device 100 sends a first message to the server 300, where the first message is used to request the server 300 to obtain a new URL.
电子设备100基于与服务器300建立的通信连接向服务器300发送第一消息。电子设备100基于与服务器300建立的通信连接可以基于TCP/UDP等协议进行数据传输,本申请对设备间的通信连接类型、数据传输协议不作任何限制。The electronic device 100 sends the first message to the server 300 based on the communication connection established with the server 300 . Based on the communication connection established with the server 300, the electronic device 100 can perform data transmission based on protocols such as TCP/UDP, and the present application does not impose any restrictions on the communication connection type and data transmission protocol between the devices.
该第一消息携带有:第一播放列表。该第一消息还可以携带有以下一项或多项:登录到电子设备100中的视频类应用程序的用户标识或电子设备100的标识。The first message carries: a first playlist. The first message may also carry one or more of the following: the user ID of the video application program logged in the electronic device 100 or the ID of the electronic device 100 .
在一些实施例中,该第一消息还可以携带有一个标志位或者信息位,用于指示该第一消息向服务器300请求推荐与第一播放列表中的视频相关的一系列视频。In some embodiments, the first message may further carry a flag bit or an information bit, which is used to instruct the first message to request the server 300 to recommend a series of videos related to the videos in the first playlist.
S104,服务器300接收到第一消息后,响应于该第一消息推荐关联视频,生成第二播放列表。S104: After receiving the first message, the server 300 recommends a related video in response to the first message, and generates a second playlist.
具体的,服务器300可以存储大量的视频,响应于接受到的第一消息,服务器300可以根据一定的推荐规则推荐关联视频,生成第二播放列表。其中,服务器300推荐的关联视频数量的最大上限可以通过配置做好控制。Specifically, the server 300 may store a large number of videos, and in response to the received first message, the server 300 may recommend related videos according to certain recommendation rules, and generate a second playlist. The maximum upper limit of the number of associated videos recommended by the server 300 can be controlled through configuration.
其中推荐规则可以有以下3种:The recommended rules can be of the following three types:
1、根据第一播放列表,服务器300可以推荐和第一播放列表中的视频相关联的一系列视频。例如,第一播放列表中的视频有视频A、视频C、视频D等,动画类和情感类视频,则服务器300可以推荐视频E、视频F等动画类和情感类视频。1. According to the first playlist, the server 300 may recommend a series of videos associated with the videos in the first playlist. For example, if the videos in the first playlist include video A, video C, video D, etc., animation and emotion videos, the server 300 may recommend animation and emotion videos such as video E and video F.
2、根据第一播放列表和用户画像,服务器300可以推荐关联视频。其中,用户画像是指服务器300可以根据用户标识,查找存储在服务器300中数据库里的大量数据(例如用户的网络浏览内容)进行分析和挖掘,为用户贴上“标签”,该标签表示该用户的特征标识,从而生成用户画像。例如,服务器300接收到第一消息后,响应于该第一消息,服务器300可以根据用户标识查找到对应的用户画像,然后根据该用户画像中记录的具有用户特征的“标签”例如用户喜欢看喜剧,则服务器300可以推荐视频G等喜剧类的视频,最后生成第二播放列表。2. According to the first playlist and the user portrait, the server 300 may recommend related videos. Among them, the user portrait means that the server 300 can search a large amount of data (such as the user's web browsing content) stored in the database in the server 300 according to the user ID, analyze and mine, and affix a "tag" to the user, and the tag indicates that the user feature identification to generate user portraits. For example, after the server 300 receives the first message, in response to the first message, the server 300 can find the corresponding user portrait according to the user ID, and then according to the "tag" with the user characteristics recorded in the user portrait, for example, the user likes to watch Comedy, the server 300 may recommend comedy videos such as video G, and finally generate a second playlist.
3、根据第一播放列表和登录视频类应用程序的用户的历史浏览记录,服务器300可以推荐一些列关联视频。例如,该用户以前浏览过一些战争类视频,则服务器300可以推荐例如视频H、视频I等战争类视频。3. According to the first playlist and the historical browsing records of users who log in to the video application, the server 300 may recommend some series of related videos. For example, if the user has browsed some war videos before, the server 300 may recommend war videos such as video H and video I.
服务器300生成的第二播放列表可以包含一个或多个视频的相关信息,例如视频名称、视频类别、播放时长等等,该一个或多个视频为步骤S102中用户选择的视频,以及,服务器300推荐的视频。参考表2,表2示例性示出了服务器300生成的第二播放列表的详细内容。The second playlist generated by the server 300 may include related information of one or more videos, such as video name, video category, playing time, etc., the one or more videos are the videos selected by the user in step S102, and the server 300 Recommended video. Referring to Table 2, Table 2 exemplarily shows the detailed content of the second playlist generated by the server 300 .
其中,第二播放列表中的视频的顺序按照第一播放列表中的视频顺序,和服务器300推荐的关联视频的关联度由高到低来依次排序。The order of the videos in the second playlist is in descending order according to the order of the videos in the first playlist and the degree of association with the associated videos recommended by the server 300 .
序号serial number 视频名称video name 视频类别video category 播放时长Play time
11 视频AVideo A 动画 animation 110分钟110 minutes
22 视频C Video C 爱情love 195分钟195 minutes
33 视频D Video D 亲情affection 120分钟120 minutes
44 视频EVideo E 爱情love 180分钟180 minutes
55 视频F Video F 动画animation 110分钟110 minutes
表2Table 2
可以理解的是,第二播放列表中包含的视频内容可以与第一播放列表中的视频内容相同,或者多于第一播放列表中的视频内容。当服务器不推荐关联视频,或者服务器推荐的关联视频与第一播放列表中的视频一样时,则第二播放列表中包含的视频内容与第一播放列表中的视频内容相同。当服务器推荐的关联视频为一个或多个,并且推荐的关联视频与第一播放列表中的视频不是完全一样时,则第二播放列表中包含的视频内容多于第一播放列表中的视频内容。It can be understood that, the video content included in the second playlist may be the same as the video content in the first playlist, or more than the video content in the first playlist. When the server does not recommend the associated video, or the associated video recommended by the server is the same as the video in the first playlist, the video content included in the second playlist is the same as the video content in the first playlist. When there are one or more related videos recommended by the server, and the recommended related videos are not exactly the same as the videos in the first playlist, the second playlist contains more video content than the first playlist. .
S105,服务器300获取第二播放列表中各个视频的URL。S105, the server 300 obtains the URL of each video in the second playlist.
服务器300根据第二播放列表中记载的视频信息(例如视频名称),查找各个视频对应的URL。其中服务器300存储有大量视频以及各个视频对应的URL。不同的URL代表不同的视频在源站中的存储位置。The server 300 searches for the URL corresponding to each video according to the video information (for example, the video name) recorded in the second playlist. The server 300 stores a large number of videos and URLs corresponding to each video. Different URLs represent the storage locations of different videos in the origin site.
具体的,投屏编排模块向源站发送第二播放列表,用以查询第二播放列表中各个独立视频的URL。源站将查询的第二播放列表中各个独立视频的URL发送到投屏编排模块。Specifically, the screen projection arrangement module sends the second playlist to the source station, so as to query the URL of each independent video in the second playlist. The origin site sends the URL of each independent video in the queried second playlist to the screen projection arrangement module.
S106,服务器300生成一个新URL。S106, the server 300 generates a new URL.
具体的,服务器300将第二播放列表中多个视频的原始索引文件进行整合,创建一个新索引文件,然后生成对应该新索引文件的新URL,该新URL指向上述第二播放列表中多个视频的存储位置,该新索引文件包含组成上述多个视频的所有分片文件。Specifically, the server 300 integrates the original index files of the multiple videos in the second playlist, creates a new index file, and then generates a new URL corresponding to the new index file, and the new URL points to the multiple videos in the second playlist. The storage location of the video. The new index file contains all the segment files that make up the above multiple videos.
服务器300创建新索引文件的过程可以参考图7E,图7E示例性示出服务器300创建新索引文件的示意图。For the process of creating a new index file by the server 300, reference may be made to FIG. 7E, which exemplarily shows a schematic diagram of the server 300 creating a new index file.
其中,每个视频由多个分片文件组成,例如一个播放时长为10分钟的视频可能会由10个时长为1分钟的分片文件组成。分片文件的时长不是唯一值,具体由视频压缩时的设置所决定。索引文件包含:该视频的标识,以及组成该视频的分片文件的相关信息例如标识、数量、顺序等等。Among them, each video is composed of multiple segment files, for example, a video with a playback duration of 10 minutes may be composed of 10 segment files with a duration of 1 minute. The duration of the segmented file is not unique, it is determined by the settings during video compression. The index file contains: the identification of the video, and related information such as identification, quantity, order and so on of the segment files that make up the video.
S107,服务器300向电子设备100发送新URL。S107 , the server 300 sends the new URL to the electronic device 100 .
服务器300基于与电子设备100之间的通信连接,向电子设备100发送的新URL。该通信连接为网络通信连接,可以基于HTTP协议进行数据传输。本申请对设备间的通信连接类型、数据传输协议不作任何限制。The server 300 transmits the new URL to the electronic device 100 based on the communication connection with the electronic device 100 . The communication connection is a network communication connection, and data transmission can be performed based on the HTTP protocol. This application does not impose any restrictions on the communication connection type and data transmission protocol between devices.
S108,电子设备100向大屏设备200发送新URL。S108 , the electronic device 100 sends a new URL to the large-screen device 200 .
电子设备100基于和大屏设备200之间建立的通信连接,向大屏设备200发送新URL。该通信连接可包括但不限于前文所述的:Wi-Fi P2P通信连接、蓝牙通信连接等等。该通信连接用于电子设备100和大屏设备200之间投屏。The electronic device 100 sends a new URL to the large-screen device 200 based on the communication connection established with the large-screen device 200 . The communication connection may include, but is not limited to, the aforementioned: Wi-Fi P2P communication connection, Bluetooth communication connection, and the like. The communication connection is used for screen projection between the electronic device 100 and the large-screen device 200 .
电子设备100与大屏设备200建立通信连接的过程可参考下文的详细说明。For the process of establishing a communication connection between the electronic device 100 and the large-screen device 200, reference may be made to the detailed description below.
在一些实施例中,响应于电子设备100检测到用户点击如图7C所示的创建控件725C创建第一播放列表的操作,电子设备100显示图7F示例性示出的电子设备100与大屏设备200建立通信连接的用户界面。In some embodiments, in response to the electronic device 100 detecting that the user clicks the creation control 725C as shown in FIG. 7C to create the first playlist, the electronic device 100 displays the electronic device 100 and the large-screen device exemplarily shown in FIG. 7F . 200 A user interface for establishing a communication connection.
在另一些实施例中,响应于电子设备100检测到用户点击图7B所示的投屏图标721C的操作,电子设备100显示图7F示例性示出的电子设备100与大屏设备200建立通信连接的用户界面。In other embodiments, in response to the electronic device 100 detecting that the user clicks the screen-casting icon 721C shown in FIG. 7B , the electronic device 100 displays that the electronic device 100 exemplarily shown in FIG. 7F establishes a communication connection with the large-screen device 200 user interface.
当电子设备100开启无线通信模块160中的WLAN、蓝牙中的一项或多项,并可以通过Wi-Fi直连、蓝牙、NFC中一项或多项无线通信技术发现该电子设备100附近的可投屏的大屏设备。例如,电子设备100可以通过Wi-Fi直连技术扫描附近其他设备,并发现附近的大屏设备200以及其他大屏设备(例如图7F中示出的“客厅的电视”)。When the electronic device 100 turns on one or more of WLAN and Bluetooth in the wireless communication module 160, and can discover the nearby electronic device 100 through one or more wireless communication technologies of Wi-Fi Direct, Bluetooth, and NFC A large screen device that can be mirrored. For example, the electronic device 100 may scan other nearby devices through Wi-Fi Direct technology, and discover the nearby large-screen device 200 and other large-screen devices (eg, "TV in the living room" shown in FIG. 7F ).
如图7F所示,窗口726可以显示有:界面指示符726A、图标726B、电子设备发现的大屏设备的图像726C和标识726D。As shown in FIG. 7F, the window 726 may display an interface indicator 726A, an icon 726B, an image 726C of a large-screen device discovered by the electronic device, and a logo 726D.
其中,界面指示符726A用于指示该窗口726中显示的内容是创建第一播放列表后发现的大屏设备的信息。图标726B用于指示电子设备100还在持续发现周围的其他大屏设备。在电子设备100还未发现附近的大屏设备时,窗口726中显示的大屏设备的数量为0。图像726C和/或标识726D可接收用户操作(例如触摸操作),响应于该用户操作,电子设备100可以向该图像726C和/或标识726D对应的大屏设备发起建立通信连接的请求。The interface indicator 726A is used to indicate that the content displayed in the window 726 is the information of the large-screen device discovered after the first playlist is created. The icon 726B is used to indicate that the electronic device 100 is still discovering other surrounding large-screen devices. When the electronic device 100 has not found a nearby large-screen device, the number of large-screen devices displayed in the window 726 is 0. The image 726C and/or the logo 726D may receive a user operation (eg, a touch operation), and in response to the user operation, the electronic device 100 may initiate a request to establish a communication connection to the large-screen device corresponding to the image 726C and/or the logo 726D.
在一些实施例中,电子设备100可以在用户点击如图7F所示的图像726C和/或标识726D的操作后再显示如图7C所示的用户界面720,然后可以为选择如图7C所示的视频(例如视频A、视频B、视频C、视频D等)的图标,并点击如图7D所示的创建控件725C。In some embodiments, the electronic device 100 may display the user interface 720 as shown in FIG. 7C after the user clicks the image 726C and/or the logo 726D as shown in FIG. 7F , and then may select as shown in FIG. 7C . icon of the video (eg, video A, video B, video C, video D, etc.), and click the create control 725C as shown in FIG. 7D.
在一些实施例中,大屏设备200可以显示如图7G示例性示出的大屏设备200接收到电子设备100发来的建立第一通信连接的请求后,在显示屏上显示的用户界面730。该用户界面730显示窗口731。窗口731用于提示用户电子设备100请求建立第一通信连接。大屏设备200可以检测到确定与电子设备100建立通信连接的操作,例如图7G所示的用户通过遥控器点击控件731A这一操作,响应于该操作,大屏设备200与电子设备100建立了通信连接。或者,大屏设备200检测到拒绝与电子设备100建立通信连接的操作,例如图7F所示的用户通过遥控器点击控件731B这一操作,响应于该操作,大屏设备200拒绝与电子设备100建立通信连接。In some embodiments, the large-screen device 200 may display a user interface 730 displayed on the display screen after the large-screen device 200 receives the request for establishing the first communication connection sent by the electronic device 100 as exemplarily shown in FIG. 7G . The user interface 730 displays a window 731 . The window 731 is used to prompt the user electronic device 100 to request the establishment of the first communication connection. The large-screen device 200 can detect the operation of determining to establish a communication connection with the electronic device 100. For example, as shown in FIG. 7G, the user clicks the control 731A through the remote control. communication connection. Or, the large-screen device 200 detects an operation of refusing to establish a communication connection with the electronic device 100 . For example, as shown in FIG. 7F , the user clicks the control 731B through the remote control. In response to this operation, the large-screen device 200 refuses to establish a communication connection with the electronic device 100 Establish a communication connection.
不限于上述图7B-图7G示出的电子设备100和大屏设备200之间建立通信连接的方式,在其他实施例中,还可以通过其他方式建立该通信连接,这里不作限制。例如,大屏设备200可以提供NFC标签,该NFC标签中携带有该大屏设备200的标识(例如MAC地址),当用户将电子设备100靠近大屏设备200时,电子设备100可以读取该NFC标签中的标识,并直接和该标识对应的该大屏设备200建立通信连接。该通信连接也可以为Wi-Fi P2P连接、蓝牙连接、NFC连接等等。It is not limited to the manner of establishing a communication connection between the electronic device 100 and the large-screen device 200 shown in FIG. 7B-FIG. 7G. In other embodiments, the communication connection may also be established in other manners, which is not limited here. For example, the large-screen device 200 may provide an NFC tag, and the NFC tag carries the identification (eg, MAC address) of the large-screen device 200. When the user brings the electronic device 100 close to the large-screen device 200, the electronic device 100 can read the NFC tag. The identifier in the NFC tag, and directly establishes a communication connection with the large-screen device 200 corresponding to the identifier. The communication connection may also be a Wi-Fi P2P connection, a Bluetooth connection, an NFC connection, and the like.
S109,大屏设备200根据接收到的新URL,通过CDN400,从服务器300处获取第二播放列表中包括的视频,并连续播放该视频。S109, the large-screen device 200 obtains the video included in the second playlist from the server 300 through the CDN 400 according to the received new URL, and continuously plays the video.
大屏设备200向CDN400发送的新URL,CDN400根据新URL在服务器300中存储的原始视频中搜索对应的视频。服务器300将搜索到的该视频以流媒体的形式发送到CDN400,CDN400再将该视频以流媒体的形式发送给大屏设备200。大屏设备200实时播放该视频。The new URL sent by the large-screen device 200 to the CDN 400, and the CDN 400 searches for the corresponding video in the original video stored in the server 300 according to the new URL. The server 300 sends the searched video to the CDN 400 in the form of streaming media, and the CDN 400 then sends the video to the large-screen device 200 in the form of streaming media. The large-screen device 200 plays the video in real time.
具体的,服务器300中的源站按第二播放列表中的顺序依次向CDN400发送视频流,CDN400向大屏设备200发送视频流。大屏设备200边接收边播放视频。大屏设备200播放的视频即第二播放列表中多个视频,在大屏设备200播放该多个视频的过程中,该多个视频是按照第二列表中的视频顺序连续播放,对用户来说相当于播放一个由上述多个视频组合而成的时间较长的新视频。Specifically, the source station in the server 300 sequentially sends the video stream to the CDN 400 in the order in the second playlist, and the CDN 400 sends the video stream to the large-screen device 200 . The large-screen device 200 plays the video while receiving. The videos played by the large-screen device 200 are multiple videos in the second playlist. During the process of playing the multiple videos on the large-screen device 200, the multiple videos are continuously played in the order of the videos in the second list. Saying it is equivalent to playing a new, longer video composed of multiple videos above.
图8示例性示出大屏设备200播放视频的用户界面810。图8包括播放进度条811、继续/暂停播放控件812。其中播放进度条811可以提示用户当前视频播放进度。继续/暂停播放控件812可以大屏设备继续/暂停播放当前视频。FIG. 8 exemplarily shows a user interface 810 in which the large-screen device 200 plays a video. FIG. 8 includes a playback progress bar 811 and a resume/pause playback control 812 . The playback progress bar 811 may prompt the user of the current video playback progress. The resume/pause control 812 can resume/pause the current video on a large-screen device.
在大屏设备200播放视频的过程中,用户可以操控大屏设备200,使得大屏设备200执行以下任意一项操作:暂停/继续/快进/倍速播放第二播放列表中的视频。这些操控可以通过用户作用于电子设备100端的视频类应用程序或者大屏设备适配的遥控器来实现。其中,遥控器和大屏设备200之间可以通过红外线信号通信。In the process of playing the video on the large-screen device 200, the user can manipulate the large-screen device 200 to make the large-screen device 200 perform any one of the following operations: pause/continue/fast-forward/double-speed play the video in the second playlist. These manipulations may be implemented by a user acting on a video application program on the electronic device 100 or a remote controller adapted to the large-screen device. Wherein, the remote control and the large-screen device 200 can communicate through infrared signals.
在一些实施例中,大屏设备200可以为触摸屏,用户可以通过触摸大屏设备200的继续/暂停播放控件812等控件的操作以实现大屏设备200暂停/继续播放视频等。In some embodiments, the large-screen device 200 can be a touch screen, and the user can pause/resume video playback on the large-screen device 200 by touching controls such as the resume/pause control 812 of the large-screen device 200 .
在一些实施例中,步骤S104为可选步骤。例如,用户选择一个或多个视频创建第一播放列表后,服务器300可以不提供推荐关联视频的服务。服务器300仅仅生成用户创建的第一播放列表中的视频对应的一个新URL,并将该新URL发送给电子设备100。这样,减少了服务器的工作量,减少投屏时延,提升投屏效率。In some embodiments, step S104 is an optional step. For example, after the user selects one or more videos to create the first playlist, the server 300 may not provide the service of recommending related videos. The server 300 only generates a new URL corresponding to the video in the first playlist created by the user, and sends the new URL to the electronic device 100 . In this way, the workload of the server is reduced, the screen projection delay is reduced, and the screen projection efficiency is improved.
可以看出,在实施例1提供的连续播放视频的投屏方法中,服务器300根据第一播放列表推荐一系列的关联视频,并生成该第一播放列表中各个视频和关联视频对应的新URL,用户只在电子设备100端执行投屏操作后,电子设备100就可以一次性将包括多个视频的新的URL发送给大屏设备200,大屏设备200就可以实现多个视频的连续播放,并且,在此过程中电子设备和大屏设备之间无需保持通信连接。如此,每一部视频播放结束之后,另一部视频的接续播放工作不再依赖电子设备实时在线的控制,这样可以解决投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题。It can be seen that in the screen projection method for continuously playing videos provided in Embodiment 1, the server 300 recommends a series of associated videos according to the first playlist, and generates new URLs corresponding to each video in the first playlist and the associated videos , after the user only performs the screen projection operation on the electronic device 100, the electronic device 100 can send a new URL including multiple videos to the large-screen device 200 at one time, and the large-screen device 200 can realize the continuous playback of multiple videos , and there is no need to maintain a communication connection between the electronic device and the large-screen device during this process. In this way, after each video is played, the continuous playback of another video no longer depends on the real-time online control of the electronic device. The problem that the screen device cannot play continuously.
此外,大屏设备连续播放的该多个视频可以是用户选择的视频和/或服务器推荐的视频,这样进一步满足用户个性化需求,提高用户投屏体验感。In addition, the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server, which further meets the user's personalized needs and improves the user's screen projection experience.
在本申请实施例中,第一操作可以为用户点击图7B所示的投屏图标721C的操作,响应于该第一操作,电子设备100与默认选择的大屏设备200建立通信连接;In this embodiment of the present application, the first operation may be an operation in which the user clicks the screen projection icon 721C shown in FIG. 7B , and in response to the first operation, the electronic device 100 establishes a communication connection with the large-screen device 200 selected by default;
或者,第一操作还可以为用户在电子设备100端点击图7B所示的投屏图标721C的操作,并且用户点击如图7F所示的图像726C和/或标识726D的操作。Alternatively, the first operation may also be an operation in which the user clicks the screen projection icon 721C shown in FIG. 7B on the electronic device 100, and the user clicks the image 726C and/or the logo 726D shown in FIG. 7F .
在本申请实施例中,第二操作可以为选择如图7C所示的视频(例如视频A、视频B、视频C、视频D等)的图标后点击如图7D所示的创建控件725C。In this embodiment of the present application, the second operation may be to select the icon of a video (eg, video A, video B, video C, video D, etc.) as shown in FIG. 7C and then click the create control 725C shown in FIG. 7D .
当第一操作为用户点击图7B所示的投屏图标721C的操作时,第二操作可以在用户点击图7B所示的投屏图标721C的操作后进行。When the first operation is the operation of the user clicking the screen-casting icon 721C shown in FIG. 7B , the second operation may be performed after the user clicks the screen-casting icon 721C shown in FIG. 7B .
当第一操作为用户点击图7B所示的投屏图标721C的操作,并且用户点击如图7F所示的图像726C和/或标识726D的操作时,第二操作可以在用户点击如图7F所示的图像726C和/或标识726D后进行,或者在用户点击图7B所示的投屏图标721C的操作之后,用户点击如图7F所示的图像726C和/或标识726D的操作之前进行。When the first operation is the operation of the user clicking the screen projection icon 721C shown in FIG. 7B , and the user clicking the image 726C and/or the logo 726D shown in FIG. 7F , the second operation can be performed when the user clicks the image 726C and/or the logo 726D shown in FIG. 7F . It is performed after the user clicks the image 726C and/or the logo 726D shown in FIG. 7B , or after the user clicks the image 726C and/or the logo 726D as shown in FIG.
在本申请实施例中,第三操作可以为在大屏设备200播放视频的过程中,用户通过大屏设备200适配的遥控器作用于大屏设备200,触发大屏设备执行以下任意一项的操作:暂停/继续/快进/倍速播放第二播放列表中的视频。例如,控制遥控器点击继续/暂停播放控件812 控件的操作,以实现大屏设备200暂停/继续播放视频等。其中,第三操作也可以触摸大屏设备200的继续/暂停播放控件812等控件的操作。In this embodiment of the present application, the third operation may be that during the process of playing a video on the large-screen device 200, the user acts on the large-screen device 200 through a remote controller adapted to the large-screen device 200, and triggers the large-screen device to perform any one of the following Actions: Pause/Resume/Fast-Forward/Double-speed play the video in the second playlist. For example, control the operation of the remote control to click the resume/pause playback control 812, so as to realize the large-screen device 200 to pause/resume playing the video and the like. The third operation may also be an operation of touching controls such as the resume/pause control 812 of the large-screen device 200 .
在本申请实施例中,第一视频为第二播放列表中任意一个视频,第二视频为在第二播放列表顺序中的第一视频后面的任意一个视频。In this embodiment of the present application, the first video is any video in the second playlist, and the second video is any video after the first video in the sequence of the second playlist.
在本申请实施例中,第三视频为电子设备100当前正在播放的视频A。In this embodiment of the present application, the third video is the video A currently being played by the electronic device 100 .
在本申请实施例中,电子设备100在向所述大屏设备发送第一信息之前所显示的视频选项可以包括,电子设备100推荐的如图7D所示的视频(例如视频A、视频B、视频C、视频D等)的图标。In this embodiment of the present application, the video options displayed by the electronic device 100 before sending the first information to the large-screen device may include the videos shown in FIG. 7D recommended by the electronic device 100 (for example, video A, video B, icon for Video C, Video D, etc.).
在本申请实施例中,第四视频可以为用户在图7D所示的用户界面中选择的视频,例如图7D中接收到第二操作的视频图标对应的视频,如图7D所示的视频A、视频C、视频D的视频图标所对应的视频。In this embodiment of the present application, the fourth video may be the video selected by the user in the user interface shown in FIG. 7D , for example, the video corresponding to the video icon receiving the second operation in FIG. 7D , such as the video A shown in FIG. 7D . , video C, video corresponding to the video icon of video D.
在本申请实施例中,第五视频为服务器300推荐的视频,例如表2中的视频E、视频F。In this embodiment of the present application, the fifth video is a video recommended by the server 300, such as video E and video F in Table 2.
实施例2Example 2
在实施例2中,服务器300可以生成包含多个独立视频的URL的投屏解释文件。在投屏过程之中,电子设备100向大屏设备200直接发送投屏解释文件的URL。大屏设备200根据投屏解释文件的URL下载投屏解释文件后,基于解释文件中的对第二播放列表中多个视频的URL和相关信息,连续播放第二播放列表中的视频并展示相关信息。In Embodiment 2, the server 300 may generate a projection interpretation file containing URLs of multiple independent videos. During the screen projection process, the electronic device 100 directly sends the URL of the screen projection interpretation file to the large-screen device 200 . After the large-screen device 200 downloads the screen-casting interpretation file according to the URL of the screen-casting interpretation file, it continuously plays the videos in the second playlist and displays related information based on the URLs and related information of the multiple videos in the second playlist in the interpretation file. information.
图9示例性示出了本申请实施例2提供的投屏方法流程。下面展开详细介绍:FIG. 9 exemplarily shows the flow of the screen projection method provided in Embodiment 2 of the present application. The following is a detailed introduction:
其中,步骤S201-S205可以参考实施例1中的步骤S101-S105,在此暂不作赘述。Wherein, for steps S201-S205, reference may be made to steps S101-S105 in Embodiment 1, and details are not described here for the time being.
S206,服务器300生成投屏解释文件。S206, the server 300 generates a screen projection interpretation file.
服务器300将获取到的第二播放列表中的多个视频的URL整理后生成投屏解释文件。该投屏解释文件中的其他相关信息可以包括一下一项或多项:投屏解释文件的版本号、多个视频的数量、多个视频各自的时长、多个视频的总时长、多个视频的播放模式(顺序播放、循环播放)、多个视频的播放顺序、多个视频的视频名称或多个视频分别对应的URL。The server 300 organizes the obtained URLs of the multiple videos in the second playlist to generate a screen projection interpretation file. Other relevant information in the screen projection interpretation file may include one or more of the following: the version number of the screen projection interpretation file, the number of multiple videos, the respective durations of the multiple videos, the total duration of the multiple videos, the multiple videos The playback mode (sequential playback, loop playback), the playback sequence of multiple videos, the video names of multiple videos, or the URLs corresponding to multiple videos.
其中,投屏解释文件的版本号不同时,投屏解释文件的文本文件的格式或者其包含的内容不同。例如,1.0版本的投屏解释文件可以是包含以下内容的文本文件:Wherein, when the version numbers of the screen projection interpretation files are different, the formats of the text files of the screen projection interpretation files or the contents contained therein are different. For example, the screencasting interpretation file for version 1.0 can be a text file containing the following contents:
投屏解释文件版本号:1.0版本。Screencasting explanation file version number: version 1.0.
本次投屏的播放列表中视频总数:2个。The total number of videos in the playlist of this screencast: 2.
本次投屏的播放列表中视频总时长:305分钟。The total length of the video in the playlist of this screencast: 305 minutes.
播放模式:循环播放。Play Mode: Loop playback.
播放视频1:视频A。Play Video 1: Video A.
视频A的URL:http://13579。URL of Video A: http://13579.
播放视频2:视频C。Play Video 2: Video C.
视频C的URL:http://24680。URL of video C: http://24680.
其中,投屏解释文件定义的播放视频的顺序可以根据步骤S102中用户选择视频的顺序,以及,服务器300推荐的关联视频的关联度由高到低来依次排序。The order of playing videos defined by the screen projection interpretation file may be sorted according to the order of the videos selected by the user in step S102 and the relatedness of the related videos recommended by the server 300 in descending order.
可以理解的是,前述投屏解释文件中还可以包括其他内容,本申请实施例对此不作限制。It can be understood that, the foregoing screen projection interpretation file may also include other content, which is not limited in this embodiment of the present application.
S207,服务器300存储投屏解释文件。S207, the server 300 stores the screen projection interpretation file.
服务器300将生成的投屏解释文件存储在源站中,以获得该投屏解释文件在源站的URL。 方便大屏设备200根据投屏解释文件的URL通过CDN400从源站中下载该投屏解释文件。The server 300 stores the generated screen projection interpretation file in the origin site, so as to obtain the URL of the screen projection interpretation file on the origin site. It is convenient for the large-screen device 200 to download the screen-casting interpretation file from the source site through the CDN 400 according to the URL of the screen-casting interpretation file.
S208,服务器300将该投屏解释文件的URL发送到电子设备100。S208 , the server 300 sends the URL of the screen projection interpretation file to the electronic device 100 .
服务器300基于与电子设备100之间的通信连接,向电子设备100发送投屏解释文件的URL。该投屏解释文件的URL指向投屏解释文件在服务器300中的存储位置。Based on the communication connection with the electronic device 100 , the server 300 sends the URL of the screencasting interpretation file to the electronic device 100 . The URL of the screen projection interpretation file points to the storage location of the screen projection interpretation file in the server 300 .
S209,电子设备100向大屏设备200发送投屏解释文件的URL。S209 , the electronic device 100 sends the URL of the screen projection interpretation file to the large-screen device 200 .
电子设备100基于和大屏设备200之间建立的通信连接,向大屏设备200发送投屏解释文件的URL。该通信连接可包括但不限于:Wi-Fi P2P通信连接、蓝牙通信连接等等。Based on the communication connection established with the large-screen device 200 , the electronic device 100 sends the large-screen device 200 the URL of the screen-casting interpretation file. The communication connection may include, but is not limited to, a Wi-Fi P2P communication connection, a Bluetooth communication connection, and the like.
电子设备100与大屏设备200建立通信连接的过程可参考前文相关描述。在此暂不作赘述。For the process of establishing a communication connection between the electronic device 100 and the large-screen device 200, reference may be made to the foregoing related descriptions. I won't go into details here.
S210,大屏设备200根据投屏解释文件URL通过CDN400向服务器300获取投屏解释文件。S210, the large-screen device 200 obtains the screen-casting interpretation file from the server 300 through the CDN 400 according to the screen-casting interpretation file URL.
大屏设备200向CDN400发送投屏解释文件URL,CDN400根据投屏解释文件的URL在服务器300存储的媒体内容中搜索对应的该投屏解释文件,然后将搜索到的该投屏解释文件发送给大屏设备200。The large-screen device 200 sends the screencasting interpretation file URL to the CDN 400, and the CDN400 searches the media content stored in the server 300 for the corresponding screencasting interpretation file according to the URL of the screencasting interpretation file, and then sends the searched screencasting interpretation file to Large screen device 200.
S211,大屏设备200解析该投屏解释文件。S211, the large-screen device 200 parses the screen projection interpretation file.
大屏设备200解析接收到的投屏解释文件,读取其中第二播放列表中多个独立视频的URL,以及其他相关信息。例如,大屏设备可以读取投屏解释文件中的播放视频总数为2个,视频播放总时长为315分钟,视频播放方式为循环播放,第一个播放的视频为视频A,第一个播放的视频的URL为http://13579,第二个播放的视频为视频C第二个播放视频的URL为http://24680。The large-screen device 200 parses the received screen projection interpretation file, reads the URLs of multiple independent videos in the second playlist, and other related information. For example, a large-screen device can read the screen projection interpretation file. The total number of playback videos is 2, the total video playback time is 315 minutes, the video playback mode is loop playback, the first played video is video A, and the first played video The URL of the video is http://13579, and the second played video is video C. The URL of the second played video is http://24680.
S212,大屏设备200根据解析到第一个播放视频的URL通过CDN400向服务器300获取视频流。S212 , the large-screen device 200 obtains the video stream from the server 300 through the CDN 400 according to the URL of the first video played through the analysis.
大屏设备200基于与CDN400间的通信连接,将读取的投屏解释文件中第一个播放视频的URL发送到CDN400。CDN400根据该第一个视频的URL在服务器300存储的媒体内容中搜索对应的视频,然后CDN400将搜索到将该第一个播放视频以流媒体的形式发送给大屏设备200。大屏设备200实时播放该视频。Based on the communication connection with the CDN 400, the large-screen device 200 sends the URL of the first playing video in the read screen projection interpretation file to the CDN 400. The CDN 400 searches the media content stored in the server 300 for the corresponding video according to the URL of the first video, and then the CDN 400 sends the first played video to the large-screen device 200 in the form of streaming media. The large-screen device 200 plays the video in real time.
其中第一个视频为投屏解释文件中视频播放顺序中定义的第一个视频,例如第一个视频可以为视频A。The first video is the first video defined in the video playback order in the projection interpretation file, for example, the first video can be video A.
S213,大屏设备200播放第一视频,并显示其他相关信息。S213, the large-screen device 200 plays the first video and displays other related information.
图10A示例性示出大屏设备200播放视频的用户界面1010。大屏设备200播放的第一个视频即为第二播放列中的第一个视频,例如视频A。FIG. 10A exemplarily shows a user interface 1010 for the large-screen device 200 to play a video. The first video played by the large-screen device 200 is the first video in the second playlist, for example, video A.
图10A包括界面指示符1011、播放进度条1012、继续/暂停播放控件1013、投屏详情控件1014。其中界面指示符1011用于指示大屏设备当前播放的视频名称。播放进度条1012可以提示用户当前视频播放进度。继续/暂停播放控件1013可以大屏设备继续/暂停播放当前视频。投屏详情控件1014用于查看投屏解释文件中定义的其他相关信息,例如第二播放列表中视频个数、视频播放总时长、视频播放方式(顺序播放、循环播放)、视频播放序号等。FIG. 10A includes an interface indicator 1011 , a playback progress bar 1012 , a resume/pause playback control 1013 , and a screen projection detail control 1014 . The interface indicator 1011 is used to indicate the name of the video currently being played on the large-screen device. The playback progress bar 1012 may prompt the user of the current video playback progress. The resume/pause control 1013 can resume/pause the current video on a large-screen device. The screen projection details control 1014 is used to view other related information defined in the screen projection interpretation file, such as the number of videos in the second playlist, the total duration of video playback, video playback mode (sequential playback, loop playback), video playback sequence number, and the like.
当大屏设备200检测到用户通过遥控器点击如图10A所示的投屏详情控件1014时,大屏设备200会在用户界面1010中弹出如图10B所示的窗口1015。When the large-screen device 200 detects that the user clicks the screen projection details control 1014 shown in FIG. 10A through the remote control, the large-screen device 200 will pop up the window 1015 shown in FIG. 10B in the user interface 1010 .
如图10B示例性所示,窗口1015包括第二播放列表中视频的播放序号及视频选项1015A、视频个数1015B、播放顺序1015C、播放方式1015D、播放时长1015E。As exemplarily shown in FIG. 10B , the window 1015 includes the playback sequence number and video option 1015A of the videos in the second playlist, the number of videos 1015B, the playback order 1015C, the playback mode 1015D, and the playback duration 1015E.
可以理解的是,大屏设备200显示第二播放列表中的相关信息的窗口1015可以不通过点 击如图10A所示的投屏详情控件1014来实现。例如,大屏设备200可以直接在如图10A所示的用户界面1010中展示窗口1015。It can be understood that the window 1015 in which the large-screen device 200 displays the relevant information in the second playlist may not be implemented by clicking the screen projection details control 1014 shown in FIG. 10A . For example, the large-screen device 200 may directly display the window 1015 in the user interface 1010 as shown in FIG. 10A .
S214,大屏设备200监听当前视频的播放状态,当该视频播放完后,播放第二播放列表中的当前播放视频的后一个视频。S214 , the large-screen device 200 monitors the playing state of the current video, and after the video is played, plays the next video of the currently playing video in the second playlist.
大屏设备200实时监听当前播放视频的播放状态,当大屏设备200监听到当前视频播放结束事件时,大屏设备200会自动通过CDN400向服务器300获取下一个播放视频的视频流,并进行播放。The large-screen device 200 monitors the playback status of the currently playing video in real time. When the large-screen device 200 monitors the current video playback end event, the large-screen device 200 automatically obtains the video stream of the next playing video from the server 300 through the CDN 400 and plays it. .
具体的,大屏设备200向CDN400发送下一个视频的URL。CDN400根据该URL在服务器300的源站中搜索对应的视频,然后将该视频以流媒体的形式发送给大屏设备200。大屏设备200接收该视频流,并实时播放该视频。Specifically, the large-screen device 200 sends the URL of the next video to the CDN 400 . The CDN 400 searches the source site of the server 300 for a corresponding video according to the URL, and then sends the video to the large-screen device 200 in the form of streaming media. The large-screen device 200 receives the video stream and plays the video in real time.
图10C示例性示出当大屏设备监听到当前视频播放结束事件时,显示连续播放下一视频的用户界面1010。例如当前视频A播放结束,连续播放下一个视频,例如视频C。FIG. 10C exemplarily shows a user interface 1010 for continuously playing the next video when the large-screen device monitors the current video playback end event. For example, the playback of the current video A ends, and the next video, such as video C, is continuously played.
图10C包括图标1016、图标指示符1017。其中图标1016表示正在获取下一个播放视频,图标指示符1017用以指示下一个播放视频的名称,例如视频C。FIG. 10C includes icon 1016 , icon indicator 1017 . The icon 1016 indicates that the next playing video is being acquired, and the icon indicator 1017 is used to indicate the name of the next playing video, such as video C.
S215,大屏设备200接收用户操作,更改第二播放列表中的视频播放顺序。S215, the large-screen device 200 receives the user operation, and changes the video playback order in the second playlist.
当用户通过遥控器点击图10B所示的窗口1015中的播放顺序1015C并按左/右键,大屏设备200弹出如图10D所示的窗口1018,窗口1018中包含第二播放列表中各个视频的名称标识,例如视频A1018A、视频C1018B、视频D1018C,确定控件1018D和取消控件1018E。用户可以根据自己的意愿依次点击各个视频的名称标识,并点击确定控件1018D来调整大屏设备200的播放顺序。例如用户点击各个视频的名称标识的顺序依次为视频D1018C、视频A1018A、视频C1018B,并点击确定控件1018D。则大屏设备200会显示如图10E所示的用户界面1010,用户界面1010中现实的窗口1015中的视频播放序号及其名称则变为:1视频D、2视频A、3视频C。When the user clicks the play sequence 1015C in the window 1015 shown in FIG. 10B through the remote control and presses the left/right button, the large-screen device 200 pops up the window 1018 shown in FIG. Name identification, eg Video A 1018A, Video C 1018B, Video D 1018C, OK Control 1018D and Cancel Control 1018E. The user can click on the name identifiers of each video in sequence according to their own wishes, and click the OK control 1018D to adjust the playback order of the large-screen device 200 . For example, the user clicks the name identifiers of each video in sequence as video D1018C, video A1018A, and video C1018B, and clicks the OK control 1018D. Then the large screen device 200 will display the user interface 1010 as shown in FIG. 10E , and the video playback sequence numbers and their names in the actual window 1015 in the user interface 1010 become: 1 video D, 2 video A, 3 video C.
在一些实施例中,响应于用户更改第二播放列表中的视频播放顺序的操作,大屏设备200可以在播完当前视频后再按照更改后的视频播放顺序进行播放视频,或者,大屏设备200可以直接切换为更改后的视频播放顺序中的第一个视频进行播放,然后按照更改后的视频播放顺序连续播放后一个视频。In some embodiments, in response to the user's operation of changing the playback order of the videos in the second playlist, the large-screen device 200 may play the videos according to the changed video playback order after the current video is played, or the large-screen device 200 can directly switch to play the first video in the changed video playback order, and then play the next video continuously according to the changed video playback order.
可以理解的是,步骤S215为可选步骤,并且步骤S215中的更改第二播放列表中的视频播放顺序的操作可以不发生在大屏设备200播放视频的过程中。也就是说,大屏设备200可以在获取默认第二播放列表中的第一个视频的URL之前弹出一窗口,该窗口可以显示如图10B所示的窗口1015中内容,用户可以根据步骤S215中的操作来更改第二播放列表顺序。其中,默认第二播放列表中的视频播放顺序即投屏解释文件中定义的视频播放顺序,也是在用户通过操作改变第二播放列表顺序之前的第二播放列表中的视频顺序。It can be understood that step S215 is an optional step, and the operation of changing the playback order of the videos in the second playlist in step S215 may not occur during the video playback process of the large-screen device 200 . That is to say, the large-screen device 200 may pop up a window before acquiring the URL of the first video in the default second playlist, and the window may display the content in the window 1015 as shown in FIG. 10B . action to change the second playlist order. The default video playback order in the second playlist is the video playback order defined in the screencasting interpretation file, and is also the video order in the second playlist before the user changes the second playlist order through an operation.
除了上文所述的用户可以更改视频播放顺序的操作外,在大屏设备200播放视频的过程中,用户也可以操控大屏设备200,使得大屏设备200执行以下任意一项操作:In addition to the above-mentioned operation that the user can change the video playback order, during the video playback process on the large-screen device 200, the user can also control the large-screen device 200, so that the large-screen device 200 performs any of the following operations:
用户通过遥控器点击图10B所示的窗口1015中的任意视频选项,大屏设备200可以跳转播放该视频。The user clicks any video option in the window 1015 shown in FIG. 10B through the remote control, and the large-screen device 200 can jump and play the video.
用户通过遥控器点击图10B所示的窗口1015中的循环播放并按左键时,播放顺序由循环播放变为顺序播放。When the user clicks the loop play in the window 1015 shown in FIG. 10B through the remote control and presses the left button, the play sequence changes from loop play to sequential play.
用户可以操控大屏设备200暂停/继续/快进/倍速播放第二播放列表中的视频。这些操控 可以通过用户作用于电子设备100端的视频类应用程序或者大屏设备适配的遥控器来实现。其中,遥控器和大屏设备200之间可以通过红外线信号通信。The user can manipulate the large-screen device 200 to pause/continue/fast-forward/double-speed play the video in the second playlist. These manipulations can be implemented by the user acting on a video application program on the end of the electronic device 100 or a remote controller adapted to the large-screen device. Wherein, the remote control and the large-screen device 200 can communicate through infrared signals.
可以理解的是,图10A-图10E仅仅是示例性描述本申请实施例提供的大屏设备200播放视频的用户界面,不应构成对本申请实施例的限定。It can be understood that FIGS. 10A to 10E are only for exemplarily describing the user interface of the large-screen device 200 provided by the embodiment of the present application for playing a video, and should not constitute a limitation to the embodiment of the present application.
可以看出,在实施例2提供的连续播放视频的投屏方法中,电子设备100向大屏设备200直接发送服务器300生成的投屏解释文件的URL,大屏设备200根据投屏解释文件的URL下载投屏解释文件后,基于解释文件中的第二播放列表中多个视频的URL和相关信息,连续播放第二播放列表中的视频并展示相关信息,并且,在此过程中电子设备和大屏设备之间无需保持通信连接。如此,每一部视频播放结束之后,另一部视频的接续播放工作不再依赖电子设备实时在线的控制,解决了投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题。It can be seen that in the screen projection method for continuously playing videos provided in Embodiment 2, the electronic device 100 directly sends the URL of the screen projection interpretation file generated by the server 300 to the large screen device 200, and the large screen device 200 interprets the file according to the URL of the screen projection interpretation file. After downloading the screen-casting interpretation file from the URL, based on the URLs and related information of multiple videos in the second playlist in the interpretation file, the videos in the second playlist are continuously played and related information is displayed, and during this process, the electronic device and the There is no need to maintain a communication connection between large-screen devices. In this way, after each video is played, the continuous playback of another video no longer depends on the real-time online control of the electronic device, which solves the problem that after the screen is projected, the communication connection between the electronic device and the large-screen device is disconnected. The device cannot play continuously.
此外,大屏设备连续播放的该多个视频可以是用户选择的视频和/或服务器推荐的视频。同时,大屏设备在视频播放过程中不仅可以展示第二播放列表中视频的相关信息,用户还可以操作大屏设备实现播放方式、播放顺序的改变。这样,通过提供进交互体验的入口,进一步满足了用户个性化需求,提高用户投屏体验感。In addition, the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server. At the same time, the large-screen device can not only display relevant information of the video in the second playlist during the video playback process, but the user can also operate the large-screen device to change the playback mode and playback order. In this way, by providing an entrance into the interactive experience, the user's personalized needs are further met, and the user's screen projection experience is improved.
实施例3Example 3
在实施例3中,电子设备100可以生成包含多个独立视频分别对应的URL的投屏解释文件。在投屏过程之中,电子设备100向大屏设备200直接发送投屏解释文件。大屏设备200解析投屏解释文件,并基于投屏解释文件中的包括的第二播放列表中多个视频的URL和相关信息,实现连续播放第二播放列表中的视频并展示相关信息。具体方法流程可以参考下文的详细说明。In Embodiment 3, the electronic device 100 may generate a screen projection interpretation file that includes URLs corresponding to multiple independent videos respectively. During the screen projection process, the electronic device 100 directly sends the screen projection interpretation file to the large-screen device 200 . The large screen device 200 parses the screen projection interpretation file, and based on URLs and related information of multiple videos in the second playlist included in the screen projection interpretation file, continuously plays the videos in the second playlist and displays relevant information. For the specific method flow, please refer to the detailed description below.
图11示例性示出了本申请实施例3提供的投屏方法流程。下面展开详细介绍:FIG. 11 exemplarily shows the flow of the screen projection method provided in Embodiment 3 of the present application. The following is a detailed introduction:
其中,步骤S301-S305可以参考实施例1中的步骤S101-S105,在此暂不作赘述。Wherein, for steps S301-S305, reference may be made to steps S101-S105 in Embodiment 1, and details are not described here for the time being.
S306,服务器300向电子设备100发送第二播放列表中各个视频的独立URL。S306, the server 300 sends the independent URL of each video in the second playlist to the electronic device 100.
服务器300基于与电子设备100之间的通信连接,向电子设备100发送第二播放列表中各个独立视频的URL。Based on the communication connection with the electronic device 100 , the server 300 sends the URL of each independent video in the second playlist to the electronic device 100 .
在一些实施例中,服务器300还可能电子设备100发送更多信息给手机。例如服务器300可以发送第二播放列表中视频总数、视频播放总时长等等。In some embodiments, the server 300 may also send more information to the mobile phone from the electronic device 100 . For example, the server 300 may send the total number of videos in the second playlist, the total playing time of the videos, and so on.
S307,电子设备100接收第二播放列表中各个独立视频的URL,并生成投屏解释文件。S307, the electronic device 100 receives the URL of each independent video in the second playlist, and generates a screen projection interpretation file.
电子设备100把从源站搜索到的第二播放列表中的多个独立视频的URL整理后生成投屏解释文件。该投屏解释文件的详细定义可以参考前文步骤S206的描述,在此暂不作任何赘述。The electronic device 100 organizes the URLs of the multiple independent videos in the second playlist searched from the source site and generates a screen projection interpretation file. For the detailed definition of the screen projection interpretation file, reference may be made to the description of the foregoing step S206, which will not be repeated here.
S308,电子设备100向大屏设备200发送投屏解释文件。S308 , the electronic device 100 sends the screen projection interpretation file to the large-screen device 200 .
电子设备100基于和大屏设备200之间通信连接,向大屏设备200发送投屏解释文件。该通信连接可包括但不限于:Wi-Fi P2P通信连接、蓝牙通信连接等等。The electronic device 100 sends a screen projection interpretation file to the large-screen device 200 based on the communication connection with the large-screen device 200 . The communication connection may include, but is not limited to, a Wi-Fi P2P communication connection, a Bluetooth communication connection, and the like.
电子设备100与大屏设备200建立通信连接的过程可参考前文相关描述。在此暂不作赘述。For the process of establishing a communication connection between the electronic device 100 and the large-screen device 200, reference may be made to the foregoing related descriptions. I won't go into details here.
S309,大屏设备200接收投屏解释文件,并解析该投屏解释文件。S309, the large-screen device 200 receives the screen projection interpretation file, and parses the screen projection interpretation file.
大屏设备200解析接收到的投屏解释文件,读取其中第二播放列表中多个独立视频的URL,以及其他相关信息。其中解析投屏解释文件,读取其中内容的具体描述可以参考前文步骤S211。The large-screen device 200 parses the received screen projection interpretation file, reads the URLs of multiple independent videos in the second playlist, and other related information. The screen projection interpretation file is parsed, and the specific description of the content therein can be read by referring to the foregoing step S211.
步骤S310-S313中大屏设备200进行连续播放视频的方法可以参考前文步骤S212-S215 的详细描述,在此暂不作任何赘述。For the method for continuously playing videos by the large-screen device 200 in steps S310-S313, reference may be made to the detailed description of the foregoing steps S212-S215, which will not be repeated here.
可以看出,在实施例3提供的连续播放视频的投屏方法中,通过在电子设备100端生成投屏解释文件,用户在电子设备100端执行投屏操作后,电子设备100可以将生成的包含第二播放列表中多个独立视频的URL和相关信息的投屏解释文件发送给大屏设备200,大屏设备200解析该投屏解释文件,基于多个独立视频的URL实现连续播放。在此过程中电子设备和大屏设备之间无需保持通信连接。如此,每一部视频播放结束之后,另一部视频的接续播放工作不再依赖电子设备实时在线的控制,解决了投屏后电子设备和大屏设备之间的通信连接断开后,大屏设备无法连续播放的问题。It can be seen that in the screen projection method for continuously playing videos provided in Embodiment 3, by generating a screen projection interpretation file on the electronic device 100, after the user performs a screen projection operation on the electronic device 100, the electronic device 100 can convert the generated The screen projection interpretation file containing the URLs and related information of multiple independent videos in the second playlist is sent to the large-screen device 200, and the large-screen device 200 parses the screen projection interpretation file, and realizes continuous playback based on the URLs of the multiple independent videos. During this process, there is no need to maintain a communication connection between the electronic device and the large-screen device. In this way, after each video is played, the continuous playback of another video no longer depends on the real-time online control of the electronic device, which solves the problem that after the screen is projected, the communication connection between the electronic device and the large-screen device is disconnected. The device cannot play continuously.
此外,大屏设备连续播放的该多个视频可以是用户选择的视频和/或服务器推荐的视频。同时,大屏设备在视频播放过程中不仅可以展示第二播放列表中视频的相关信息,用户还可以操作大屏设备实现播放方式、播放顺序的改变。这样,通过提供进交互体验的入口,进一步满足了用户个性化需求,提高用户投屏体验感。In addition, the multiple videos continuously played by the large-screen device may be videos selected by the user and/or videos recommended by the server. At the same time, the large-screen device can not only display relevant information of the video in the second playlist during the video playback process, but the user can also operate the large-screen device to change the playback mode and playback order. In this way, by providing an entrance into the interactive experience, the user's personalized needs are further met, and the user's screen projection experience is improved.
相对于实施例2,实施例3采用由电子设备100生成投屏解释文件,并传递给大屏设备200的方法,大屏设备200可以直接解析该投屏解释文件。实施例3提供的方法节约了源站存储投屏解释文件的网络空间,以及节省了大屏设备200通过CDN400向源站获取投屏解释文件的时间,提高投屏播放效率,进一步满足用户的投屏需求。Compared with Embodiment 2, Embodiment 3 adopts the method of generating a screen projection interpretation file by the electronic device 100 and passing it to the large-screen device 200, and the large-screen device 200 can directly parse the screen projection interpretation file. The method provided in Embodiment 3 saves the network space for the source site to store the screencasting interpretation file, and saves the time for the large-screen device 200 to obtain the screencasting interpretation file from the source site through the CDN 400, improves the screencasting playback efficiency, and further satisfies the user's casting requirements. screen requirements.
在本申请实施例中,第一信息可以为上述实施例1中的步骤S108中的新URL,或者为上述实施例2中步骤S209中的投屏解释文件的URL,或者为上述实施例3中步骤S308中的投屏解释文件。In this embodiment of the present application, the first information may be the new URL in step S108 in the above-mentioned embodiment 1, or the URL of the screen projection interpretation file in step S209 in the above-mentioned embodiment 2, or the URL in the above-mentioned embodiment 3. The screen projection interpretation file in step S308.
在本申请实施例中,第二信息可以为上述实施例1中的步骤S107中的新URL,或者为上述实施例2中步骤S208中的投屏解释文件的URL,或者为上述实施例3中步骤S306中的第二播放列表中各个视频的独立URL。In this embodiment of the present application, the second information may be the new URL in step S107 in the above embodiment 1, or the URL of the screen projection interpretation file in step S208 in the above embodiment 2, or the URL in the above embodiment 3 The independent URL of each video in the second playlist in step S306.
本申请实施例还提供了一种电子设备,电子设备包括一个或多个处理器和一个或多个存储器;其中,一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述实施例描述的方法。An embodiment of the present application also provides an electronic device, the electronic device includes one or more processors and one or more memories; wherein, the one or more memories are coupled with the one or more processors, and the one or more memories are used for For storing computer program code, the computer program code includes computer instructions that, when executed by one or more processors, cause the electronic device to perform the methods described in the above embodiments.
本申请实施例还提供了一种包含指令的计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述实施例描述的方法。The embodiments of the present application further provide a computer program product containing instructions, when the computer program product is run on the electronic device, the electronic device is made to execute the method described in the above embodiments.
本申请实施例还提供了一种计算机可读存储介质,包括指令,当指令在电子设备上运行时,使得电子设备执行上述实施例描述的方法。The embodiments of the present application also provide a computer-readable storage medium, including instructions, when the instructions are executed on the electronic device, the electronic device is made to execute the method described in the foregoing embodiments.
可以理解的是,本申请的各实施方式可以任意进行组合,以实现不同的技术效果。It can be understood that the various embodiments of the present application can be arbitrarily combined to achieve different technical effects.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例 如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The computer program instructions, when loaded and executed on a computer, result in whole or in part of the processes or functions described herein. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk), and the like.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented. The process can be completed by instructing the relevant hardware by a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed , which may include the processes of the foregoing method embodiments. The aforementioned storage medium includes: ROM or random storage memory RAM, magnetic disk or optical disk and other mediums that can store program codes.
总之,以上所述仅为本申请技术方案的实施例而已,并非用于限定本申请的保护范围。凡根据本申请的揭露,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In a word, the above descriptions are merely examples of the technical solutions of the present application, and are not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of this application shall be included within the protection scope of this application.

Claims (29)

  1. 一种可连续播放视频的投屏方法,其特征在于,所述方法应用于投屏系统,所述投屏系统包括电子设备、大屏设备、服务器,所述方法包括:A screen projection method capable of continuously playing videos, characterized in that the method is applied to a screen projection system, and the screen projection system includes an electronic device, a large-screen device, and a server, and the method includes:
    所述电子设备接收到第一操作,并响应于所述第一操作和所述大屏设备建立通信连接;The electronic device receives the first operation, and establishes a communication connection with the large-screen device in response to the first operation;
    所述电子设备基于所述通信连接向所述大屏设备发送第一信息,所述第一信息指示了多个视频在所述服务器中的存储位置;The electronic device sends first information to the large-screen device based on the communication connection, where the first information indicates storage locations of multiple videos in the server;
    所述电子设备和所述大屏设备断开所述通信连接;Disconnecting the communication connection between the electronic device and the large-screen device;
    所述大屏设备根据所述第一信息向所述服务器请求获取所述多个视频;The large-screen device requests the server to acquire the plurality of videos according to the first information;
    所述服务器将所述多个视频发送给所述大屏设备;sending, by the server, the plurality of videos to the large-screen device;
    所述大屏设备播放所述多个视频。The large-screen device plays the plurality of videos.
  2. 一种可连续播放视频的投屏方法,其特征在于,所述方法应用于投屏系统,所述投屏系统包括电子设备、大屏设备,服务器,所述方法包括:A screen projection method capable of continuously playing videos, characterized in that the method is applied to a screen projection system, and the screen projection system includes an electronic device, a large-screen device, and a server, and the method includes:
    所述电子设备接收到第一操作,并响应于所述第一操作和所述大屏设备建立通信连接;The electronic device receives the first operation, and establishes a communication connection with the large-screen device in response to the first operation;
    所述电子设备基于所述通信连接向所述大屏设备发送第一信息,所述第一信息指示了多个视频在所述服务器中的存储位置;The electronic device sends first information to the large-screen device based on the communication connection, where the first information indicates storage locations of multiple videos in the server;
    所述大屏设备根据所述第一信息向所述服务器请求获取所述多个视频;The large-screen device requests the server to acquire the plurality of videos according to the first information;
    所述服务器将所述多个视频发送给所述大屏设备;sending, by the server, the plurality of videos to the large-screen device;
    所述大屏设备播放所述多个视频中的第一视频;The large-screen device plays the first video of the plurality of videos;
    所述电子设备和所述大屏设备断开所述通信连接;Disconnecting the communication connection between the electronic device and the large-screen device;
    所述大屏设备继续播放所述多个视频中的第二视频。The large-screen device continues to play the second video of the plurality of videos.
  3. 根据权利要求1或2所述的方法,其特征在于,所述电子设备在检测到所述第一操作之前,所述方法还包括:所述电子设备播放第三视频;The method according to claim 1 or 2, wherein before the electronic device detects the first operation, the method further comprises: the electronic device plays a third video;
    所述电子设备基于所述通信连接向所述大屏设备发送第一信息之前,所述方法还包括:Before the electronic device sends the first information to the large-screen device based on the communication connection, the method further includes:
    所述电子设备显示视频选项;the electronic device displays a video option;
    所述电子设备接收到第二操作,所述第二操作作用于所述视频选项中的第四视频的选项;The electronic device receives a second operation, and the second operation acts on the option of the fourth video in the video options;
    所述电子设备向所述服务器发送所述第三视频的标识,和,所述第四视频的标识;The electronic device sends the identifier of the third video and the identifier of the fourth video to the server;
    所述服务器向所述电子设备发送第二信息,所述第二信息指示了所述第三视频、所述第四视频在所述服务器中的存储位置;The server sends second information to the electronic device, where the second information indicates the storage locations of the third video and the fourth video in the server;
    其中,所述第一信息中的所述多个视频包括所述第三视频、所述第四视频。The multiple videos in the first information include the third video and the fourth video.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述电子设备基于所述通信连接向所述大屏设备发送第一信息之前,所述方法还包括:The method according to any one of claims 1-3, wherein before the electronic device sends the first information to the large-screen device based on the communication connection, the method further comprises:
    所述电子设备向所述服务器发送所述第三视频的标识;sending, by the electronic device, the identifier of the third video to the server;
    所述服务器确定第五视频,并向所述电子设备发送第二信息,所述第二信息指示了所述第三视频、所述第五视频在所述服务器中的存储位置;The server determines the fifth video, and sends second information to the electronic device, where the second information indicates the storage locations of the third video and the fifth video in the server;
    其中,所述第一信息中的所述多个视频包括所述第三视频、所述第五视频。The multiple videos in the first information include the third video and the fifth video.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述第一信息为第一统一资源定位符URL,所述第一URL对应于所述多个视频在所述服务器中的存储位置:The method according to any one of claims 1-4, wherein the first information is a first uniform resource locator URL, and the first URL corresponds to the URL of the plurality of videos in the server. storage location:
    所述电子设备基于所述通信连接向所述大屏设备发送第一信息之前,所述方法还包括:Before the electronic device sends the first information to the large-screen device based on the communication connection, the method further includes:
    所述服务器根据所述多个视频分别的URL生成所述第一URL,并将所述第一URL发送给所述电子设备。The server generates the first URL according to the respective URLs of the multiple videos, and sends the first URL to the electronic device.
  6. 一种可连续播放视频的投屏方法,其特征在于,所述方法应用于电子设备,所述方法包括:A screen projection method capable of continuously playing videos, wherein the method is applied to an electronic device, and the method includes:
    所述电子设备接收到第一操作,并响应于所述第一操作和大屏设备建立通信连接;The electronic device receives the first operation, and establishes a communication connection with the large-screen device in response to the first operation;
    所述电子设备基于所述通信连接向所述大屏设备发送第一信息,所述第一信息指示了多个视频在所述服务器中的存储位置,所述第一信息用于所述大屏设备获取所述多个视频;The electronic device sends first information to the large-screen device based on the communication connection, where the first information indicates storage locations of multiple videos in the server, and the first information is used for the large-screen device the device obtains the plurality of videos;
    在所述大屏设备播放所述多个视频之前,或者,在所述大屏设备播放所述多个视频的过程中,所述电子设备和所述大屏设备断开所述通信连接。Before the large-screen device plays the plurality of videos, or during the process of playing the plurality of videos by the large-screen device, the electronic device and the large-screen device disconnect the communication connection.
  7. 根据权利要求6所述的方法,其特征在于,所述电子设备在检测到所述第一操作之前,所述方法还包括:所述电子设备播放第三视频;The method according to claim 6, wherein before the electronic device detects the first operation, the method further comprises: the electronic device plays a third video;
    所述电子设备检测到第一操作之后,所述方法还包括:After the electronic device detects the first operation, the method further includes:
    所述电子设备显示视频选项;the electronic device displays a video option;
    所述电子设备接收到第二操作,所述第二操作作用于所述视频选项中的第四视频的选项;The electronic device receives a second operation, and the second operation acts on the option of the fourth video in the video options;
    所述电子设备向所述服务器发送所述第三视频的标识,和,所述第四视频的标识;The electronic device sends the identifier of the third video and the identifier of the fourth video to the server;
    所述电子设备接收到所述服务器发送的第二信息,所述第二信息指示了所述第三视频、所述第四视频在所述服务器中的存储位置;The electronic device receives second information sent by the server, where the second information indicates the storage locations of the third video and the fourth video in the server;
    其中,所述第一信息中的所述多个视频包括所述第三视频、所述第四视频。The multiple videos in the first information include the third video and the fourth video.
  8. 根据权利要求7所述的方法,所述视频选项对应的视频包括以下一项或多项:和所述第三视频的关联度超过阈值的视频、所述电子设备根据用户信息推荐的视频,或者,所述电子设备按照点击率推荐的视频。The method according to claim 7, wherein the video corresponding to the video option includes one or more of the following: a video with a degree of association with the third video exceeding a threshold, a video recommended by the electronic device according to user information, or , the video recommended by the electronic device according to the click-through rate.
  9. 根据权利要求6-8任一项所述的方法,其特征在于,所述电子设备基于所述通信连接向所述大屏设备发送第一信息之前,所述方法还包括:The method according to any one of claims 6-8, wherein before the electronic device sends the first information to the large-screen device based on the communication connection, the method further comprises:
    所述电子设备向所述服务器发送第一消息,所述第一消息包括:所述第三视频的标识;The electronic device sends a first message to the server, where the first message includes: an identifier of the third video;
    所述电子设备接收到所述服务器发送的第二信息,所述第二信息指示了所述第三视频、所述服务器确定的第五视频在所述服务器中的存储位置;The electronic device receives second information sent by the server, where the second information indicates the storage location of the third video and the fifth video determined by the server in the server;
    其中,所述第一信息中的所述多个视频包括所述第三视频、所述第五视频。The multiple videos in the first information include the third video and the fifth video.
  10. 根据权利要求9所述的方法,其特征在于,所述服务器确定的所述第五视频包括以下一项或多项:和所述第三视频的关联度超过阈值的视频、所述服务器根据用户信息推荐的视频,或者,所述服务器按照点击率推荐的视频。The method according to claim 9, wherein the fifth video determined by the server comprises one or more of the following: a video with a degree of association with the third video exceeding a threshold, the server according to the user The video recommended by the information, or the video recommended by the server according to the click-through rate.
  11. 根据权利要求6-10任一项所述的方法,其特征在于,所述第一信息为第一统一资源定位符URL,所述第一URL对应于所述多个视频在所述服务器中的存储位置:The method according to any one of claims 6-10, wherein the first information is a first uniform resource locator URL, and the first URL corresponds to the URL of the plurality of videos in the server. storage location:
    所述电子设备基于所述通信连接向所述大屏设备发送第一信息之前,所述方法还包括:Before the electronic device sends the first information to the large-screen device based on the communication connection, the method further includes:
    所述电子设备接收到所述第一URL,所述第一URL为所述服务器根据所述多个视频分别的URL生成的。The electronic device receives the first URL, where the first URL is generated by the server according to the respective URLs of the multiple videos.
  12. 根据权利要求6-10任一项所述的方法,其特征在于,所述第一信息为投屏解释文件,所述投屏解释文件包括所述多个视频分别的URL;The method according to any one of claims 6-10, wherein the first information is a screen projection interpretation file, and the screen projection interpretation file includes respective URLs of the multiple videos;
    所述电子设备基于所述通信连接向所述大屏设备发送第一信息之前,所述方法还包括:Before the electronic device sends the first information to the large-screen device based on the communication connection, the method further includes:
    所述电子设备接收到所述投屏解释文件,所述投屏解释文件为所述服务器根据所述多个视频分别的URL生成的。The electronic device receives the screen projection interpretation file, where the screen projection interpretation file is generated by the server according to respective URLs of the multiple videos.
  13. 根据权利要求6-10任一项所述的方法,其特征在于,所述第一信息为投屏解释文件,所述投屏解释文件包括所述多个视频分别的URL;The method according to any one of claims 6-10, wherein the first information is a screen projection interpretation file, and the screen projection interpretation file includes respective URLs of the multiple videos;
    所述电子设备基于所述通信连接向所述大屏设备发送第一信息之前,所述方法还包括:Before the electronic device sends the first information to the large-screen device based on the communication connection, the method further includes:
    所述电子设备接收到所述服务器发送的所述多个视频分别的URL;The electronic device receives the respective URLs of the multiple videos sent by the server;
    所述电子设备根据所述多个视频分别的URL生成所述投屏解释文件。The electronic device generates the screen projection interpretation file according to the respective URLs of the multiple videos.
  14. 根据权利要求12或13所述的方法,所述投屏解释文件还包括以下一项或多项:所述投屏解释文件的版本号、所述多个视频的数量、所述多个视频各自的时长、所述多个视频的总时长、所述多个视频的播放模式,所述多个视频的播放顺序或所述多个视频的视频名称。According to the method according to claim 12 or 13, the screen projection interpretation file further comprises one or more of the following: a version number of the screen projection interpretation file, the number of the multiple videos, each of the multiple videos duration, the total duration of the multiple videos, the playback mode of the multiple videos, the playback order of the multiple videos, or the video names of the multiple videos.
  15. 一种可连续播放视频的投屏方法,其特征在于,所述方法应用于大屏设备,所述方法包括:A screen projection method capable of continuously playing videos, characterized in that the method is applied to large-screen devices, and the method includes:
    所述大屏设备和所述电子设备建立通信连接;establishing a communication connection between the large-screen device and the electronic device;
    所述大屏设备基于所述通信连接接收所述电子设备发送的第一信息,所述第一信息指示了多个视频在所述服务器中的存储位置;The large-screen device receives, based on the communication connection, first information sent by the electronic device, where the first information indicates storage locations of multiple videos in the server;
    所述大屏设备和所述电子设备断开所述通信连接;Disconnecting the communication connection between the large-screen device and the electronic device;
    所述大屏设备根据所述第一信息向所述服务器请求获取所述多个视频;The large-screen device requests the server to acquire the plurality of videos according to the first information;
    所述大屏设备接收到所述服务器发送的所述多个视频;The large-screen device receives the multiple videos sent by the server;
    所述大屏设备播放所述多个视频。The large-screen device plays the plurality of videos.
  16. 一种可连续播放视频的投屏方法,其特征在于,所述方法应用于大屏设备,所述方法包括:A screen projection method capable of continuously playing videos, characterized in that the method is applied to large-screen devices, and the method includes:
    所述大屏设备和所述电子设备建立通信连接;establishing a communication connection between the large-screen device and the electronic device;
    所述大屏设备基于所述通信连接从所述电子设备处获取第一信息,所述第一信息指示了多个视频在所述服务器中的存储位置;The large-screen device obtains first information from the electronic device based on the communication connection, where the first information indicates storage locations of multiple videos in the server;
    所述大屏设备根据所述第一信息向所述服务器请求获取所述多个视频;The large-screen device requests the server to acquire the plurality of videos according to the first information;
    所述大屏设备接收到所述服务器发送的所述多个视频;The large-screen device receives the multiple videos sent by the server;
    所述大屏设备播放所述多个视频中的第一视频;The large-screen device plays the first video of the plurality of videos;
    所述大屏设备和所述电子设备断开所述通信连接;Disconnecting the communication connection between the large-screen device and the electronic device;
    所述大屏设备继续播放所述多个视频中的第二视频。The large-screen device continues to play the second video of the plurality of videos.
  17. 根据权利要求15或16所述的方法,其特征在于,所述第一信息为第一统一资源定位符URL,所述第一URL对应于所述多个视频在所述服务器中的存储位置。The method according to claim 15 or 16, wherein the first information is a first uniform resource locator URL, and the first URL corresponds to a storage location of the plurality of videos in the server.
  18. 根据权利要求15-17所述,所述大屏设备播放所述多个视频,具体包括:According to claims 15-17, the large-screen device plays the multiple videos, specifically including:
    所述大屏设备按照获取所述多个视频的顺序依次播放所述多个视频。The large-screen device plays the multiple videos in sequence according to the sequence in which the multiple videos are acquired.
  19. 根据权利要求15-18任一项所述的方法,其特征在于,所述第一信息为投屏解释文件,所述投屏解释文件包括所述多个视频分别的URL。The method according to any one of claims 15-18, wherein the first information is a screen projection interpretation file, and the screen projection interpretation file includes respective URLs of the multiple videos.
  20. 根据权利要求19所述的方法,其特征在于,所述方法还包括:The method of claim 19, wherein the method further comprises:
    所述大屏设备显示投屏列表,所述投屏列表包括:所述多个视频的选项;The large-screen device displays a screen projection list, and the screen projection list includes: options for the multiple videos;
    所述大屏设备响应于作用于所述投屏列表的第三操作,执行以下任意一项或多项:调整所述多个视频的播放顺序、调整所述多个视频的播放模式。In response to the third operation acting on the screen projection list, the large-screen device performs any one or more of the following: adjusting the playback order of the multiple videos, and adjusting the playback mode of the multiple videos.
  21. 根据权利要求19所述的投屏解释文件还包括以下一项或多项:所述投屏解释文件的版本号、所述多个视频的数量、所述多个视频各自的时长、所述多个视频的总时长、所述多个视频的播放模式,所述多个视频的播放顺序或所述多个视频的视频名称。The screen projection interpretation file according to claim 19 further comprises one or more of the following: a version number of the screen projection interpretation file, the number of the multiple videos, the respective durations of the multiple videos, the multiple The total duration of the multiple videos, the playback mode of the multiple videos, the playback order of the multiple videos, or the video names of the multiple videos.
  22. 根据权利要求15-21任一项所述的方法,其特征在于,The method according to any one of claims 15-21, wherein,
    所述大屏设备根据所述第一信息,向所述服务器请求获取所述多个视频,具体包括:The large-screen device requests the server to acquire the multiple videos according to the first information, which specifically includes:
    所述大屏设备向所述CDN发送所述第一信息;The large-screen device sends the first information to the CDN;
    所述大屏设备接收到所述CDN根据从所述服务器获取所述多个视频;The large-screen device obtains the plurality of videos from the server according to the CDN;
    所述大屏设备播放所述多个视频。The large-screen device plays the plurality of videos.
  23. 一种电子设备,其特征在于,所述电子设备包括一个或多个处理器和一个或多个存储器;其中,所述一个或多个存储器与所述一个或多个处理器耦合,所述一个或多个存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备执行如权利要求6-14任一项所述的方法。An electronic device, characterized in that the electronic device comprises one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, the one or more memories for storing computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform any of claims 6-14 method described in item.
  24. 一种大屏设备,其特征在于,所述大屏设备包括一个或多个处理器和一个或多个存储器;其中,所述一个或多个存储器与所述一个或多个处理器耦合,所述一个或多个存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备执行如权利要求15-22任一项所述的方法。A large-screen device, characterized in that the large-screen device includes one or more processors and one or more memories; wherein, the one or more memories are coupled with the one or more processors, and the The one or more memories are used to store computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform as claimed in claims 15-22 The method of any one.
  25. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求6-14中任一项所述的方法。A computer program product comprising instructions, characterized in that, when the computer program product is run on an electronic device, the electronic device is caused to perform the method of any one of claims 6-14.
  26. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求6-14中任一项所述的方法。A computer-readable storage medium comprising instructions, characterized in that, when the instructions are executed on an electronic device, the electronic device is caused to perform the method of any one of claims 6-14.
  27. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在大屏设备 上运行时,使得所述大屏设备执行如权利要求15-22中任一项所述的方法。A computer program product comprising instructions, characterized in that, when the computer program product is run on a large-screen device, the large-screen device is caused to perform the method according to any one of claims 15-22.
  28. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在大屏设备上运行时,使得所述大屏设备执行如权利要求15-22中任一项所述的方法。A computer-readable storage medium comprising instructions, characterized in that, when the instructions are executed on a large-screen device, the large-screen device is caused to execute the method according to any one of claims 15-22.
  29. 一种投屏系统,其特征在于,所述投屏系统包括电子设备、大屏设备和服务器,所述电子设备用于执行如权利要求6-14中任一项所述的方法,所述大屏设备用于执行如权利要求15-22中任一项所述的方法。A screen projection system, characterized in that, the screen projection system includes an electronic device, a large-screen device, and a server, and the electronic device is used to execute the method according to any one of claims 6-14, and the large-screen device A screen device for performing the method of any of claims 15-22.
PCT/CN2021/141041 2020-12-24 2021-12-24 Screen projection method capable of continuously playing videos, and apparatus and system WO2022135553A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011555733.3 2020-12-24
CN202011555733.3A CN114679610B (en) 2020-12-24 2020-12-24 Screen throwing method, device and system for continuously playing video

Publications (1)

Publication Number Publication Date
WO2022135553A1 true WO2022135553A1 (en) 2022-06-30

Family

ID=82069675

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/141041 WO2022135553A1 (en) 2020-12-24 2021-12-24 Screen projection method capable of continuously playing videos, and apparatus and system

Country Status (2)

Country Link
CN (1) CN114679610B (en)
WO (1) WO2022135553A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700660A (en) * 2022-11-15 2023-09-05 荣耀终端有限公司 Audio playing method and electronic equipment
CN117135396A (en) * 2023-02-14 2023-11-28 荣耀终端有限公司 Screen projection method and related equipment thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103221B (en) * 2022-06-28 2023-09-22 北京奇艺世纪科技有限公司 Screen projection method and device, electronic equipment and readable storage medium
CN115002937B (en) * 2022-07-18 2022-12-23 荣耀终端有限公司 Multi-device cooperation method, electronic device and related product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686325A (en) * 2013-12-25 2014-03-26 Tcl集团股份有限公司 Method and system for continuously playing media in multi-screen interaction
US20160182929A1 (en) * 2013-07-03 2016-06-23 Luis Miguel Ortiz Methods and systems enabling access by portable wireless handheld devices to data associated with programming rendering on flat panel displays
CN110460904A (en) * 2019-08-22 2019-11-15 聚好看科技股份有限公司 Audio/video pushing method, mobile terminal and display terminal
CN110457496A (en) * 2019-06-18 2019-11-15 北京世纪超星信息技术发展有限责任公司 A method of passing through cloud server sharing media content
CN110557674A (en) * 2018-05-30 2019-12-10 环球天成科技(北京)有限公司 Intelligent screen projection playing and transmitting method and device
CN111787392A (en) * 2020-08-06 2020-10-16 北京字节跳动网络技术有限公司 Video screen projection method and device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020097322A1 (en) * 2000-11-29 2002-07-25 Monroe David A. Multiple video display configurations and remote control of multiple video signals transmitted to a monitoring station over a network
US9485294B2 (en) * 2012-10-17 2016-11-01 Huawei Technologies Co., Ltd. Method and apparatus for processing video stream
CN108174248B (en) * 2018-01-25 2020-01-03 腾讯科技(深圳)有限公司 Video playing method, video playing control device and storage medium
CN110515573B (en) * 2018-05-21 2022-07-22 腾讯科技(深圳)有限公司 Screen projection method, device and system and computer equipment
CN110248216B (en) * 2019-06-03 2021-06-01 广东有线广播电视网络有限公司 Television screen projection method and device, television screen projection system and computer equipment
CN110933484A (en) * 2019-11-25 2020-03-27 泰康保险集团股份有限公司 Management method and device of wireless screen projection equipment
CN111447487B (en) * 2020-04-02 2021-11-12 深圳创维-Rgb电子有限公司 Reverse screen projection method and system for smart screen, smart screen and readable storage medium
CN111741352A (en) * 2020-07-09 2020-10-02 腾讯科技(深圳)有限公司 Screen projection control method, screen projection playing method and related device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160182929A1 (en) * 2013-07-03 2016-06-23 Luis Miguel Ortiz Methods and systems enabling access by portable wireless handheld devices to data associated with programming rendering on flat panel displays
CN103686325A (en) * 2013-12-25 2014-03-26 Tcl集团股份有限公司 Method and system for continuously playing media in multi-screen interaction
CN110557674A (en) * 2018-05-30 2019-12-10 环球天成科技(北京)有限公司 Intelligent screen projection playing and transmitting method and device
CN110457496A (en) * 2019-06-18 2019-11-15 北京世纪超星信息技术发展有限责任公司 A method of passing through cloud server sharing media content
CN110460904A (en) * 2019-08-22 2019-11-15 聚好看科技股份有限公司 Audio/video pushing method, mobile terminal and display terminal
CN111787392A (en) * 2020-08-06 2020-10-16 北京字节跳动网络技术有限公司 Video screen projection method and device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700660A (en) * 2022-11-15 2023-09-05 荣耀终端有限公司 Audio playing method and electronic equipment
CN116700660B (en) * 2022-11-15 2024-05-14 荣耀终端有限公司 Audio playing method and electronic equipment
CN117135396A (en) * 2023-02-14 2023-11-28 荣耀终端有限公司 Screen projection method and related equipment thereof

Also Published As

Publication number Publication date
CN114679610A (en) 2022-06-28
CN114679610B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
WO2022135553A1 (en) Screen projection method capable of continuously playing videos, and apparatus and system
WO2022052772A1 (en) Application interface display method under multi-window mirroring scenario, and electronic device
US20220006763A1 (en) Conversion of text relating to media content and media extension apps
TWI470455B (en) Wireless synchronization of media content and subscription content
US9979772B2 (en) Data streaming method of an electronic device and the electronic device thereof
CN110087112B (en) Method, system and storage medium for remote media control
WO2022089271A1 (en) Wireless screen-casting method, mobile device, and computer-readable storage medium
US20240192986A1 (en) Application handoff method and apparatus
CN113037929B (en) Information relay output method and device, electronic equipment and storage medium
WO2019037660A1 (en) Device control method, device, terminal device and operating system
WO2021249318A1 (en) Screen projection method and terminal
CN107168905A (en) A kind of document display method, device, storage medium and mobile terminal
US20150304701A1 (en) Play control method and device
US9361787B2 (en) Information processing apparatus, information processing method, program control target device, and information processing system
US20220342925A1 (en) Material presentation method, electronic device, and storage medium
US20200107077A1 (en) System and method for blended content searches across disparate sources
WO2022089102A1 (en) Control method and apparatus, and electronic device
JP2014011702A (en) Content distribution system, content distribution method, and content distribution program
US20230216732A1 (en) Network Configuration Method and Device
US20130027617A1 (en) Electronic device and method of operating the same
KR101400799B1 (en) Method and system for stroring and managing device control information to user terminal and method and user terminal for executing application using the same
US8903979B2 (en) Electronic device and operating method of the same
US10298567B1 (en) System for providing multi-device access to complementary content
WO2022052928A1 (en) Application access method and related apparatus
WO2022052706A1 (en) Service sharing method, system and electronic device

Legal Events

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

Ref document number: 21909548

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21909548

Country of ref document: EP

Kind code of ref document: A1