WO2022111421A1 - 应用界面投屏方法、装置、设备以及存储介质 - Google Patents

应用界面投屏方法、装置、设备以及存储介质 Download PDF

Info

Publication number
WO2022111421A1
WO2022111421A1 PCT/CN2021/132164 CN2021132164W WO2022111421A1 WO 2022111421 A1 WO2022111421 A1 WO 2022111421A1 CN 2021132164 W CN2021132164 W CN 2021132164W WO 2022111421 A1 WO2022111421 A1 WO 2022111421A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen projection
screen
data
application
application interface
Prior art date
Application number
PCT/CN2021/132164
Other languages
English (en)
French (fr)
Inventor
王春风
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022111421A1 publication Critical patent/WO2022111421A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a method, apparatus, device, and storage medium for projecting an application interface.
  • screen projection devices are generally built in an interactive network centered on the user terminal, that is, the user terminal is directly connected to the screen projection device or connected through a router, and the user terminal transmits the required screen projection data to the screen projection device.
  • the screen device can display the content displayed in real time on the client.
  • the existing screen projection method requires the client to encode the projection data. After transmission, the projection device will decode and play it. These three steps require a certain amount of processing time, so that both the projection device and the user end need to be processed. There is a technical issue with the delay between the images displayed by the user.
  • the present application provides an application interface screen projection method, device, device and storage medium, which are used to solve the technical problem of delay between images displayed by the screen projection device and the user terminal in the prior art.
  • an embodiment of the present application provides an application interface screen projection method, which is applied to a screen projection device, and the method includes:
  • the target application interface is displayed according to the synchronous screen projection data, so that the screen projection device synchronously displays the application interface currently displayed by the target user terminal, wherein the target user terminal is at least one user terminal in the user terminal set.
  • the server sends synchronous screen projection data to the client and the screen projection device at the same time, and the screen projection device and the user terminal can display the synchronized target application interface after processing the received synchronous screen projection data. Since the transmission time of synchronous screen projection data is basically the same, the time required for the screen projection device and the user terminal to process the synchronous screen projection data is basically the same, thus eliminating the time difference between the user terminal and the screen projection device displaying images, that is, to eliminate the user terminal. And the technical effect of the display delay of the screen projection device, and when the synchronous screen projection data includes high-definition video data, the server directly sends the synchronous screen projection data without compression, which avoids the degradation of image quality caused by compression, and can guarantee the picture without delay. quality and improve user experience.
  • the application program used to display the synchronized target application interface in the screen-casting device and the user terminal may be the same program, or may be different application programs with a screen-casting support function. That is, the same application as that of the client can be installed in the screen-casting device to display the synchronized target application interface, or an application different from the application where the target application interface is located can be installed in the screen-casting device.
  • the screen projection function corresponding to the application supporting the client.
  • the screen-casting device before receiving the synchronous screen projection data sent by the server, the screen-casting device further includes:
  • the screen-casting device in order to ensure that the screen-casting device can achieve the same display screen as the target application interface of the target client when it enters the normal synchronous screen-casting working state, no transition or fast transition is required.
  • the effect of synchronous display can be achieved only when the display screen such as playback is in progress.
  • the projection instruction includes the download resource address of the high-definition video and the playback progress in the current target client.
  • the screen-casting instruction includes the current battle status of each game unit in the battle and the game unit received by the target user.
  • the screen projection instruction includes the target user identifier in the target client and the application information of the corresponding target application; then a connection is established with the server according to the screen projection instruction, including:
  • the screen projection device needs to determine to start the corresponding target application program according to the application information to provide the screen projection function, Because the same target application may not support all screen projection requirements, it is necessary to launch different target applications corresponding to the screen projection device.
  • the application information includes the download address of the high-definition video and the current playback node
  • the target user identifier includes: At least one of IP address, MAC address, and the account logged in in the target application.
  • the target user ID at least includes the account logged in the target application.
  • the target application after starting the target application according to the application information, it also includes: obtaining a corresponding screencasting identifier from the server according to the target user identifier; correspondingly, establishing a connection with the server by using the target user identifier in the target application includes: in the target application Establish a connection with the server through the screen projection logo.
  • the screen-casting device receives the synchronous screen-casting data sent by the server through a screen-casting identifier, and the screen-casting identifier is associated with the target user identifier.
  • the screencasting ID is the associated ID of the target user ID in the target client that needs to be screened or the target account logged in the target client. the associated account.
  • the target user identifier includes: at least one of the client IP address, the client MAC address, and the target application account logged in by the client, and the screen projection identifier includes: the IP address of the screen projection device, the MAC address of the screen projection device, and the target application account.
  • the projection identifier includes the download address of the high-definition resource or the IP address of the server's high-definition video library.
  • the screen-casting device can be used as an accessory device of the target client that needs to be screen-casted, so that the server can set the screen-casting device with the associated account of the target user ID as the screen-casting ID, and directly use the
  • the synchronization operation data sent to the target client is associated with the screen-casting ID, and optionally, it is directly copied to the screen-casting ID to reduce the computing resource occupancy rate of the server and speed up the processing.
  • a screen-casting logo that is, an associated account, you only need to make simple improvements and modifications to the original server-side application, or simply add attachments or patches. It is convenient and fast, and there is no need to update the entire application.
  • the target application establishes a connection to the server through the target user ID, including:
  • the screencasting request is determined according to the target user identifier, and the screencasting request is used to obtain the screencasting identifier from the server; and send the screencasting request to the server to establish a connection.
  • the screen-casting device when there are multiple screen-casting devices, or when one screen-casting device can display in a split screen, or when the screen-casting device has multiple screens, the screen-casting device can receive multiple user terminals
  • the screen projection instruction when the screen projection instruction is set, each user terminal corresponds to a different target user ID or when the same user terminal opens multiple user accounts at the same time, the screen projection request is determined according to the target user ID that needs to be screened.
  • after the connection is established also include:
  • the screencasting device when the user terminal connects for the first time, either the screencasting device is reconnected after the screencasting is interrupted, or the screencasting device re-casts the screen after the screencasting device actively interrupts the screencasting, or
  • the screen-casting device is when the screen-casting command is triggered in the middle of an activity or service on the client side, such as in the middle of a game battle, in the middle of training, in the middle of a meeting, and in the middle of high-definition video playback.
  • the application can be synchronized with the client immediately after the screen projection is started, and the latest initial synchronization data is sent to the screen projection device through the server to display the initial screen of the target application.
  • the initial screen can be the game start screen or the projection screen.
  • the screen confirmation screen can also be the current screen of the target application in the client.
  • receiving a screen projection command sent by the target client including:
  • the RTSP protocol can be used for the client and the server to send service requests in both directions, and to run multiple stream demand controls at the same time, while the HTTP protocol is only one-way from the client to the server. Request for service.
  • RTSP has a redirection function, which can switch the server providing the service according to the actual load situation, so as to avoid excessive load concentrated on the same server and cause delay.
  • the method before receiving the screen projection command delivered by RTSP, the method further includes:
  • after pausing the currently playing video stream also include:
  • the target application is a frame synchronization type battle game or an application using high-definition video
  • the operation data of the user terminal includes the game operation instructions of the battle game; when the target application is an application using high-definition video, the operation data of the user terminal includes the operation of the high-definition video. Instructions, such as fixed-point playback, adding annotations, adding markers or graphics, and pointing the cursor to move in real time, such as explaining plans in high-definition video conferences, or annotations in remote training.
  • the frame synchronization method can be used to pass The game server performs screen projection according to the technical solution of the present application.
  • the video since the video does not need to be compressed, the image quality of the high-definition video is guaranteed, and the user experience is improved in scenarios such as remote training or remote conferences.
  • the screen projection logo includes a spectator logo, and when the target application is a frame synchronization type battle game, the spectator logo is used to display the target application interface in the spectator mode.
  • the screen-casting ID configured for the screen-casting device can be defined as the account used in the spectator mode, so that the server can use the spectator mode. Realize indiscriminate synchronous display of the target client on the screen-casting device.
  • an embodiment of the present application provides an application interface screen projection method, which is applied to a server, and the method includes:
  • the operation data input by each client in the client set is collected at a preset period; the synchronous screen projection data is determined according to the operation data input by each user terminal; and the synchronous screen projection data is sent.
  • the method further includes:
  • sending the synchronous screen projection data includes:
  • an embodiment of the present application provides an application interface screen projection method, which is applied to a client, including:
  • the application operation data includes the operation instructions input by the user and the display data of the application interface; receive the synchronous screen projection data sent by the server; determine the application displayed synchronously with the screen projection device according to the synchronous screen projection data interface.
  • the method before sending the application operation data to the server according to a preset period, the method further includes:
  • the screen-casting device before sending the capability confirmation request to the screen-casting device, it also includes:
  • the data interaction between the screen projection device and the client is performed through RTSP.
  • the method before using the real-time streaming protocol RTSP to establish a negotiation connection with the screen-casting device, the method further includes: detecting that the target application to be started is a frame synchronization type battle game or an application using high-definition video.
  • an application interface screen projection device including:
  • the receiving module is used for receiving the synchronous screen projection data sent by the server, and the synchronous screen projection data includes the operation data input by each client in the client set;
  • the processing module is configured to display the target application interface according to the synchronous screen projection data, so that the screen projection device synchronously displays the application interface currently displayed by the target user terminal, wherein the target user terminal is at least one user terminal in the user terminal set.
  • the application interface screen projection device before the receiving module is used for receiving the synchronous screen projection data sent by the server, the application interface screen projection device further includes:
  • the receiving module is further configured to receive the screen projection instruction sent by the target client; the processing module is further configured to establish a connection with the server according to the screen projection instruction, so as to receive the synchronous screen projection data sent by the server through the connection.
  • the screen projection instruction includes the target user identifier in the target client and the application information of the corresponding target application; then the processing module is further configured to establish a connection with the server according to the screen projection instruction, including:
  • the processing module is further configured to start the target application according to the application information; the processing module is further configured to establish a connection with the server through the screen projection identifier in the target application.
  • the receiving module of the application interface screen-casting device receives the synchronous screen-casting data sent by the server according to the screen-casting ID, the screen-casting ID is associated with the target user ID, and the screen-casting ID includes the data that needs to be displayed on the screen.
  • the associated account of the target user ID logged in the target client.
  • the processing module further includes: a processing module, further configured to obtain the corresponding screen projection ID from the server according to the target user ID.
  • the processing module is further configured to establish a connection with the server through the target user ID in the target application, including:
  • the processing module is further configured to determine a screen projection request according to the target user ID, and the screen projection request is used to obtain the screen projection ID from the server; the sending module is further configured to send a screen projection request to the server to establish a connection.
  • the processing module after the processing module is also used to establish the connection, it also includes:
  • the receiving module is further configured to receive the initial synchronization data sent by the server, where the initial synchronization data includes operation data containing the screen projection identifier; the processing module is further configured to run the initial synchronization data to display the initial screen in the target application.
  • the receiving module is further configured to receive the screen projection instruction sent by the target client, including:
  • the processing module is further configured to establish a negotiation connection with the target client by using the real-time streaming protocol RTSP; the receiving module is further configured to receive the screen projection instruction transmitted by RTSP.
  • the method further includes:
  • the processing module is also used to pause the currently playing media stream.
  • the processing module after the processing module is also used to pause the currently playing video stream, it also includes:
  • the processing module is also used to determine that the target application is a frame synchronization type battle game
  • the operation data of the user terminal is the game operation instruction of the battle game.
  • the screen projection logo includes a spectator logo, and when the target application is a frame synchronization type battle game, the spectator logo is used to display the target application interface in the spectator mode.
  • an application interface screen projection device including:
  • a receiving module configured to collect the operation data input by each client in the client set with a preset period
  • the processing module is used to determine the synchronous screen projection data according to the operation data input by each user terminal;
  • the sending module is used to send synchronous screen projection data.
  • the sending module before the sending module is used to send the synchronous screen projection data, it also includes:
  • the processing module is also used to establish a connection with the screen projection device; correspondingly, the sending module is used to send synchronous screen projection data, including:
  • the sending module is used to send synchronous screen projection data to the screen projection device through the connection.
  • the processing module before the processing module is further used to establish a connection with the screen projection device, it also includes:
  • the receiving module is further configured to receive a screen-casting request sent by the screen-casting device, where the screen-casting request includes the target user ID logged in the target client;
  • the processing module is further configured to determine the screen projection identification corresponding to the target user identification according to the target user identification;
  • the processing module is also used to establish a connection with the screen projection device, including:
  • the processing module is further configured to establish a connection with the screen-casting device through the screen-casting identifier.
  • the processing module is further configured to establish a connection with the screen-casting device through the screen-casting identifier, it further includes:
  • the sending module is further configured to send initial synchronization data to the screen-casting device, so that the screen-casting device displays the initial screen of the target application in the target client.
  • the sending module is further configured to send the synchronous screen projection data, including:
  • the sending module is further configured to send synchronous screen projection data to the client set and the screen projection device in a frame synchronization manner.
  • an application interface screen projection device including:
  • a sending module configured to send application operation data to the server according to a preset period, and the application operation data includes operation instructions input by the user and display data of the application interface;
  • the receiving module is used to receive the synchronous screen projection data sent by the server;
  • the processing module is used to determine the application interface displayed synchronously with the screen-casting device according to the synchronous screen-casting data.
  • the method before the sending module is configured to send the application operation data to the server according to a preset period, the method further includes:
  • the sending module is further configured to send a screen-casting instruction to the screen-casting device, where the screen-casting instruction includes the target user ID logged in the user terminal.
  • the sending module before the sending module is further used to send a screen-casting instruction to the screen-casting device, it further includes:
  • the sending module is further configured to send a capability confirmation request to the screen projection device, and the capability confirmation request is used to determine that the screen projection device supports the projection method;
  • the receiving module is further configured to receive capability confirmation information sent by the screen-casting device, so as to determine the screen-casting requirement that the screen-casting device supports the target application.
  • the sending module before the sending module is further configured to send a capability confirmation request to the screen projection device, it further includes:
  • the processing module is also used to establish a negotiation connection with the screen projection device by using the real-time streaming protocol RTSP;
  • the data interaction between the screen projection device and the application interface screen projection device of the sixth aspect is performed through RTSP.
  • the processing module before the processing module is further configured to establish a negotiation connection with the screen projection device using the real-time streaming protocol RTSP, the processing module further includes: a processing module, which is further configured to detect that the target application to be started is a frame synchronization type Battle games or apps that use HD video.
  • an embodiment of the present application further provides a screen projection device, including: a processor; and a memory for storing a computer program of the processor; wherein the processor is configured to implement the first aspect by executing the computer program Any of the provided application interface projection methods.
  • an embodiment of the present application further provides a server, including: a processor; and a memory for storing a computer program of the processor; wherein the processor is configured to implement the computer program provided in the second aspect by executing the computer program Any kind of application interface projection method.
  • an embodiment of the present application further provides a client device, including: a processor; and a memory for storing a computer program of the processor; wherein the processor is configured to implement the third aspect by executing the computer program Any of the provided application interface projection methods.
  • an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the application interface screen projection methods provided in the first aspect.
  • an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, any one of the application interface screen projection methods provided in the second aspect is implemented.
  • an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements any one of the application interface screen projection methods provided in the third aspect.
  • an embodiment of the present application further provides a computer program product, including a computer program, which implements any one of the application interface screen projection methods provided in the first aspect when the computer program is executed by a processor.
  • an embodiment of the present application further provides a computer program product, including a computer program, which implements any one of the application interface screen projection methods provided in the second aspect when the computer program is executed by a processor.
  • an embodiment of the present application further provides a computer program product, including a computer program, which implements any one of the application interface screen projection methods provided in the third aspect when the computer program is executed by a processor.
  • the screen projection device of the seventh aspect and the computer-readable storage medium of the tenth aspect provided above are used to execute any possible application interface screen projection method provided in the first aspect, and the eighth aspect provided above is used.
  • the server and the computer-readable storage medium of the eleventh aspect are used to execute any possible application interface screen projection method provided in the second aspect, the client device of the ninth aspect provided above, and the computer of the twelfth aspect.
  • the readable storage medium is used to execute any possible application interface projection method provided in the third aspect.
  • the screen projection device receives the synchronous screen projection data sent by the server to the client and the screen projection device together, and then the screen projection device displays according to the synchronous screen projection data.
  • the target application interface currently displayed on the target client.
  • the transmission time of synchronous screencasting data from the server to the client and the screencasting device is basically the same, and the time required for the screencasting device and the client to process the synchronous screencasting data is basically the same, thus eliminating the need for the client and the screencasting device to display images.
  • the time difference solves the technical problem of the delay between the images displayed by the screen projection device and the user terminal in the prior art, that is, the display delay between the user terminal and the screen projection device is eliminated, and the user's use of the screen projection device is improved.
  • the technical effects that is, the display delay between the user terminal and the screen projection device is eliminated, and the user's use of the screen projection device is improved.
  • FIG. 1 is a schematic diagram of an application scenario of a screen projection method with delay in the prior art provided by the present application;
  • FIG. 2 is a schematic diagram of a data stream transmission direction of the application interface screen projection method provided by the present application
  • FIG. 3 is a flowchart of an exemplary application interface screen projection method provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an application scenario of an application interface screen projection method provided by an embodiment of the present application.
  • FIG. 5 is a flowchart of another exemplary application interface screen projection method provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an application interface screen projection device according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another application interface screen projection device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another application interface screen projection device provided by an embodiment of the present application.
  • FIG. 9 is a structural diagram of an exemplary screen projection device provided by an embodiment of the present application.
  • FIG. 10 is a structural diagram of an exemplary server provided by an embodiment of the present application.
  • FIG. 11 is a structural diagram of an exemplary user terminal device provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of an application scenario of the screen projection method with delay in the prior art provided by the present application.
  • the client 101 and the screen-casting device 102 are directly connected through a wireless data channel, or the screen-casting data is forwarded via a router 103 or a network server.
  • a screen projection solution is that both the user terminal 101 and the screen projection device 102 have a direct connection application for screen projection, and the user terminal is made through a transmission protocol such as P2P (Peer to Peer, point-to-point transmission protocol) or Bluetooth or WIFI.
  • 101 directly transmits the screen projection data to the screen projection device 102 . If one of the client 101 and the screen projection device 102 does not have a direct connection projection function, it is necessary to install third-party software, and at this time, the router 103 can be replaced with a network server.
  • the screen projection method shown in FIG. 1 generally requires the user terminal 101 to encode and compress the data to be displayed on the screen first, and then transmit it wirelessly, such as through the Bluetooth communication protocol. , after receiving the encoded data, the screen projection device 102 needs to decode the encoded data, and then use the decoded data to play. In another existing screen projection method, the user terminal transmits the encoded data to the router 103, and then the router 103 distributes the encoded data to one or more screen projection devices for decoding and display.
  • the user terminal is used as the data source, and both need to go through the three stages of "encoding ⁇ transmission ⁇ decoding", and these three stages require a certain processing time, as long as a similar screen projection scheme is adopted, such as Replacing the router 103 with a network server inevitably has the problem of a delay between the image displayed by the screen projection device and the image currently displayed on the user terminal. And processing fluctuations occur in any of the three stages, such as network transmission congestion, or poor signal quality affecting the transmission speed, or the client 101 cannot provide high-definition encoding or lossless encoding compression due to limited processing capabilities, or the compression time is long. , which will cause a delay on the image screen between the current display interface of the screen projection device 102 and the client.
  • a 0.1-second freeze can determine the outcome.
  • some remote training or on-site training or demonstrations that use screen projection equipment to facilitate viewing by multiple people. At this time, if there is a freeze or delay in the demonstration of some short-term phenomena, such as chemical experiments or physics experiments, it will be It will make users who watch the screen projection device unable to observe the complete experimental process, or have a poor experience.
  • Another example is the application scenario of a multi-party remote video conference. The host or current speaker needs to perform a real-time remote presentation of the conference materials on the client they are using. During the high-definition video transmission of the conference, the encoding and decoding will cause delays, which will affect the situation. Experience of using high-definition video conferencing.
  • a common practice is to increase the data transmission rate, improve the encoding and compression capability of the client 101, or adopt a faster encoding and compression scheme, or improve the screen projection.
  • the image processing capability of the device 102 is the decoding and playback capability.
  • this application proposes an application interface screen projection logic that is different from "encoding ⁇ transmission ⁇ decoding”.
  • the inventive concept of this application is to use the traditional design concept of the user terminal as the core or data source, instead of the user terminal and the data source.
  • the screen projection device as the data receiver and processor at the same level, allows the two to start image data processing on the same starting line, which can theoretically avoid the generation of delay. That is, the traditional image data is changed from "client ⁇ screen projection device” or "client ⁇ server ⁇ screen projection device” to the data transmission direction as shown in Figure 2.
  • FIG. 2 is a schematic diagram of a data stream transmission direction of the application interface screen projection method provided by the present application.
  • the application interface projection method of the present application divides the flow of projection data into a projection data source layer and a projection data display layer.
  • the carrier of the screen-casting data source layer is the web server 203.
  • the screen-casting data that is, the synchronous screen-casting data, is generated together on the web server 203, and is used as the input data of the client 201 and the screen-casting device 202 to support the screencasting function of the application. .
  • the operation data of the client 201 can be uploaded to the network server 203 for processing, and then the synchronous screen projection data, that is, the screen projection data, may be obtained, while the screen projection device 202 may not have the function of uploading the operation data, so as to avoid operation conflicts and reduce the risk of projection. It can meet the requirements of the computing processing capacity of the screen device and reduce the cost of use.
  • FIG. 3 is a flowchart of an exemplary application interface screen projection method provided by an embodiment of the present application. As shown in FIG. 3 , the application interface screen projection method provided by this embodiment includes:
  • the application operation data includes operation instructions input by the user and display data of the application interface.
  • the user inputs operation instructions on the client side, and the client side sends all the operation instructions within the preset period to the server.
  • the instruction is sent to the server together with the display data of the current application interface, and the display data includes the playback progress of the high-definition video or the game state of each game unit in the current game.
  • the user terminal when it receives the operation instruction, it may perform preprocessing according to the operation instruction, so as to reduce the processing time of the subsequent synchronous screen projection data, so that the user terminal and the screen projection device process the synchronous screen projection data in substantially the same time. It can be understood that the user terminal can also decide whether to perform preprocessing according to the size of the data volume, that is, if the operation data volume corresponding to the operation instruction is greater than or equal to the preset threshold, the user terminal performs preprocessing according to the operation instruction.
  • step S301 is cyclic, and the client needs to report application operation data to the server according to a preset period.
  • the current target application of the client is an application using high-definition video, including: high-definition video player, high-definition video conference application, high-definition video training application, and the like.
  • the client is currently using a high-definition video player to play high-definition Blu-ray videos or high-definition videos of 1080P and above.
  • parents and children watch high-definition videos together at home, or in a foreign language class, the teacher needs to cast the high-definition video on the computer.
  • the screen is displayed on a large screen for students to watch.
  • the screen projection method of this embodiment can be used.
  • the user may perform operations such as pausing, fast-forwarding, dragging the progress bar, muting, and opening the barrage on the user terminal. Therefore, the user terminal needs to periodically collect the user's operation instructions to realize the screen casting device. synchronous display.
  • each client periodically sends the operation data of the current application to the server in step S301, the server also needs to periodically receive the operation data input by each client. .
  • the period at which the server receives the operation data may be consistent with the period at which each client sends data. If the periods at which each client sends application operation data are inconsistent, the period at which the server receives operation data may be calculated by comprehensively considering the sending period of each client according to a preset algorithm, so as to maximize the reception period in each server receiving period. Application operation data sent to as many clients as possible.
  • the target application is a high-definition video conference
  • multiple clients are the conference access devices used by each participant.
  • each participant can enter the input via the client. Mark, such as circle the content that you want other participants to pay attention to.
  • the server can periodically collect the application operations reported by each client Data, and then package the application operation data of all users and send them back to all users and screen projection devices, so that the purpose of synchronous screen projection can be achieved.
  • the server integrates operation data, ie, application operation data, input by each client, that is, at least one client, into synchronous screen projection data, so that what each client displays is synchronized screen content.
  • operation data ie, application operation data
  • each client is using the same application to carry out a certain business activity, such as a real-time strategy game, or a remote synchronous meeting or training, or multi-person cloud office collaboration, that is, multiple people complete an electronic Creation or maintenance of working documents.
  • a certain business activity such as a real-time strategy game, or a remote synchronous meeting or training, or multi-person cloud office collaboration, that is, multiple people complete an electronic Creation or maintenance of working documents.
  • the server sends synchronous screen projection data to all clients and screen projection devices according to a preset synchronization mode.
  • the preset synchronization mode includes: using parallel thread tasks to identify each client and the screen projection device according to the IP address or MAC address Mark to send synchronous screen projection data; or send synchronous screen projection data in the form of frame synchronization.
  • the target application of the client is an application that uses high-definition video, such as a high-definition video player
  • the attribute information of the high-definition video includes: name, download address, viewing account, The password, etc. are sent to the server, and the server finds the corresponding high-definition video according to the attribute information, and generates synchronous screen projection data and sends it to the screen projection device such as a TV. Since the server directly sends the source data of the high-definition video to the screen projection device, there is no need for the client to perform video compression, which ensures the picture clarity of the high-definition video.
  • multiple clients can share the same high-definition video.
  • two users in two cities want to watch high-definition TV series together, but only have a VIP account of a video website, so that High-definition video sharing is achieved through this solution, which improves user experience.
  • the execution subject is each client and each screen projection device.
  • the screen-casting device receives the synchronous screen-casting data sent by the server through the screen-casting ID.
  • the screen-casting ID is the target user ID registered in the target client that needs to be screen-casted, that is, the target user account. the associated account.
  • the screen-casting device can be used as an accessory device of the target client that needs to be screen-casted, so that the server can set the target user ID's associated account for the screen-casting device as the screen-casting ID, and directly associate the synchronization operation data sent to the target client with the screen-casting ID , optionally, the server directly copies the synchronization operation data to the screen projection identifier, so as to reduce the computing resource occupancy rate of the server and speed up the processing speed.
  • screen-casting logos you only need to make simple improvements and modifications to the original server-side application, or simply add attachments or patches, which is convenient and fast, and does not need to update the entire application.
  • the screencasting ID is the IP address of the screencasting device.
  • the server sends the high-definition video source data of the high-definition video to the IP address of the screencasting device.
  • the screencasting device uses this IP address as the screencasting ID to receive synchronous casts. screen data.
  • each screen-casting device inputs the received synchronous screen-casting data into an application that supports the screen-casting function, and then performs display processing, such as decoding and playback.
  • S307. Determine an application interface displayed synchronously with the screen-casting device according to the synchronous screen-casting data.
  • the applications corresponding to the synchronous screen projection data of each client process the synchronous screen projection data as input data to obtain an application interface displayed synchronously between the various clients, and this application interface is also related to the screen displayed by the screen projection device. are synchronous.
  • the application program used to display the synchronized target application interface in the screen-casting device and the user terminal may be the same program, or may be different application programs with a screen-casting support function. That is, the same application as that of the client can be installed in the screen-casting device to display the synchronized target application interface, or an application different from the application where the target application interface is located can be installed in the screen-casting device.
  • the screen projection function corresponding to the application supporting the client.
  • the server sends the synchronous screen projection data to the client and the screen projection device at the same time.
  • the screen projection device and the user end each process the received synchronous screen projection data, they can display the synchronized target application interface. Since the transmission time of synchronous screen projection data is basically the same, the time required for the screen projection device and the user terminal to process the synchronous screen projection data is basically the same, thus eliminating the time difference between the user terminal and the screen projection device displaying images, that is, to eliminate the user terminal. and the technical effect of the display delay of the screen-casting device.
  • the server directly sends the synchronous screen projection data to the screen projection device, without the need to go through the steps of compression and decoding, so that when the HD video needs to be projected, the original quality of the HD video can be guaranteed without increasing the load on the user side, which improves the User experience.
  • the screen projection device receives the synchronous screen projection data sent by the server to the client and the screen projection device together, and then the screen projection device displays the target currently displayed by the target client according to the synchronous screen projection data.
  • application interface The transmission time of synchronous screencasting data from the server to the client and the screencasting device is basically the same, and the time required for the screencasting device and the client to process the synchronous screencasting data is basically the same, thus eliminating the need for the client and the screencasting device to display images.
  • the time difference solves the technical problem of the delay between the images displayed by the screen projection device and the user terminal in the prior art, that is, the display delay between the user terminal and the screen projection device is eliminated, and the user's use of the screen projection device is improved.
  • the technical effects that is, the display delay between the user terminal and the screen projection device is eliminated, and the user's use of the screen projection device is improved.
  • FIG. 4 is a schematic diagram of an application scenario of an application interface screen projection method provided by an embodiment of the present application.
  • the client 401 includes a mobile smart device such as a mobile phone, a tablet computer, etc.
  • the screen projection device 402 includes: a smart TV, an LED smart display, an LCD smart display, a PC, and the like.
  • the client 401 and the screen projection device 402 are in the same local area network or connected to the same router, and the rate at which the server 403 transmits data to the client 401 and the screen projection device 402 can be regarded as basically the same.
  • the application interface triggered by the user terminal 401 for screen projection is the interface of a real-time strategy game application program that transmits synchronized game data in a frame-synchronized manner.
  • the server 403 is a real-time strategy game server, and completes the data transmission of multi-clients accessing the same battle game in a frame-synchronized manner, so that the game progress displayed by each client is consistent, so as to ensure the fairness of the game.
  • the specific implementation steps of the application interface screen projection method provided by the present application in this application scenario are specifically described below with reference to FIG. 5 .
  • FIG. 5 is a flowchart of another exemplary application interface screen projection method provided by an embodiment of the present application. As shown in FIG. 5 , the application interface screen projection method provided by this embodiment includes:
  • the user terminal 401 detects that the user inputs a frame synchronization type battle game, such as King of Glory, through an operation interface such as a mobile phone screen.
  • a frame synchronization type battle game such as King of Glory
  • the user terminal 401 sends a screen projection instruction that needs to perform screen projection to the screen projection device 402, and the screen projection instruction includes the target user ID logged in the user terminal, such as a user account, that is, a game account.
  • the screen-casting instruction is used to instruct the screen-casting device 402 to open a target application that supports screen-casting, so that the screen-casting device 402 logs in to the target application according to the target user ID, or the screen-casting device 402 logs in to the target application according to the target user ID.
  • the screen ID is used to log in to the target application.
  • the screen projection instruction is also used to pause the media stream currently played by the screen projection device 402 .
  • the client 401 sends the screen-casting device 402 a screen-casting instruction generated by the game account of the currently logged-in frame synchronization type battle game, that is, the target user ID.
  • the screen projection device 402 starts the corresponding frame synchronization type battle game application program according to the screen projection instruction, and uses the screen projection ID corresponding to the target user ID in the database or the memory for screen projection to log in the battle game application program.
  • the screen projection device 402 is playing other media streams, such as TV programs or movies, the other media streams are paused, and the current interface of the screen projection device 402 is jumped to a frame synchronization type battle game application.
  • the method before the user terminal 401 sends the screen projection instruction to the screen projection device 402, the method further includes:
  • the client 401 sends a capability confirmation request to the screen projection device 402, and the capability confirmation request is used to determine that the screen projection device 402 supports the application interface projection method provided by this application.
  • the capability confirmation request requires the screen projection device 402 to reply with a capability confirmation code in a preset format, such as 1 for support, and 0 for not support.
  • the screen projection device 402 After receiving the capability confirmation request, the screen projection device 402 detects whether the corresponding application is installed in the installation list of the screen projection device 402 according to the identification of the projection method in the capability confirmation request, and sends the capability confirmation information to the client 401. For example, 1 means that the application interface screen projection method provided by this application is supported, and 0 means that the application interface screen projection method provided by this application is not supported. Further, if the screen-casting device 402 does not support the application interface screen-casting method provided by this application, that is, the corresponding application program is not installed, the user terminal 401 will provide prompt information on the application interface, prompting the user to install the corresponding screen-casting device on the screen-casting device. screencasting application.
  • the method further includes: establishing a negotiation connection with the screen projection device by using the real-time streaming protocol RTSP; correspondingly, the screen projection device 402 communicates with the user terminal 401 data interaction is carried out through RTSP.
  • the real-time streaming protocol RTSP provided in this embodiment can send a service request bidirectionally between the client and the server, and at the same time. Run multiple streaming demand controls. Because there is a two-way information exchange request between the client and the server before screen projection in this embodiment, in this embodiment, the client and the screen projection device use the RTSP protocol to exchange data.
  • the execution subject is at least one screen projection device.
  • the screen-casting device 402 establishes a connection with the server 403 according to the screen-casting instruction, so as to receive the synchronous screen-casting data sent by the server 403 through the connection.
  • the screen-casting device 402 uses the target user identifier in the screen-casting instruction to establish a connection to the server corresponding to the target application that the client 401 currently needs to screen-cast.
  • the screen-casting device 402 uses the screen-casting ID corresponding to the target user ID for screen-casting to log in to the target application, and a data connection channel with the server 403 can be established.
  • the effects of this step include: the user starts the screen projection function in the middle of a certain service business, such as in the middle of a game of a frame-synchronized real-time battle game, in order to ensure that the screen projection device enters the normal state.
  • the same display screen as the target application interface of the target user terminal can be achieved, without the need for transition or fast-forward playback to achieve the effect of synchronous display.
  • a real-time battle game organized in a non-frame synchronization mode such as a real-time battle game organized in a state synchronization mode
  • it when joining a spectator in the middle of the game, it will quickly display from the initial game start state to the current game state, and the user will You will see a fast-forward transition process, instead of directly showing the current latest game state.
  • the current latest game state can be directly displayed.
  • the screen projection instruction includes the target user identifier and the application information of the corresponding target application; then a connection is established with the server according to the screen projection instruction, including:
  • the screen-casting device 402 starts the target application according to the application information; then the screen-casting device 402 obtains the corresponding screen-casting ID from the server 403 according to the target user ID; finally, the target application establishes a connection with the server 403 through the screen-casting ID.
  • the screen projection device When at least one application with screen projection function requirements is installed in the client, the screen projection device needs to start the corresponding target application according to the application information to provide the screen projection function, because the same target application may not support all screen projections. Therefore, it is necessary to launch different target applications corresponding to the screen-casting device. If the client 401 has two application programs of a frame-synchronized real-time battle game installed, the screen projection device 402 needs to determine to start the corresponding target application program according to the application information to provide the screen projection function.
  • establishing a connection with the server by using the target user identifier in the target application includes: the screen projection device 402 first determines a screen projection request according to the target user identifier, and the screen projection request is used to send the screen projection request to the server 403 Obtain the screen-casting identifier; then, the screen-casting device 402 sends a screen-casting request to the server 403 to establish a connection.
  • the screen-casting device can receive screen-casting instructions from multiple user terminals, and each user terminal corresponds to a different
  • the screen projection request is determined according to the target user ID for which the screen needs to be projected.
  • the server 403 After receiving the screen projection request from the screen projection device 402, the server 403 establishes a data connection channel, that is, a connection, with the screen projection device 402.
  • the method before the server 403 establishes a connection with the screen projection device 402, the method further includes:
  • the server 403 receives the screen projection request sent by the screen projection device 402, and the screen projection request includes the target user ID logged in the target client; the server 403 determines the screen projection ID corresponding to the target user ID according to the target user ID;
  • the server 403 is establishing a connection with the screen projection device 402, including:
  • the server 403 establishes a connection with the screen-casting device 402 through the screen-casting identifier.
  • the server 403 after the server 403 establishes a connection with the screen-casting device 402 through the screen-casting identifier, it further includes:
  • the server 403 sends initial synchronization data to the screen projection device 402, so that the screen projection device 402 displays the initial screen of the target application in the target client.
  • the server 403 sends the synchronous screen projection data to the screen projection device through the connection.
  • the transmission method of synchronous screen projection data is frame synchronization. It can be understood that a data transmission connection is also established between the server 403 and the client 401, and in this embodiment, the transmission of synchronous screen projection data between the clients is performed in a frame synchronization manner.
  • Client A encapsulates user A's operation A1 into application operation data OperateCmd_A1, and client A encapsulates user B's operation B1 into application operation data OperateCmd_B1 and sends them to the server.
  • the server generates a logic frame every preset cycle time, such as 66MS. After receiving the application operation data OperateCmd_A1 and OperateCmd_B1 corresponding to A1 and B1 within the cycle time period where the logic frame is located, it generates a Frame frame data block, that is, synchronous screen projection At the end of the cycle time of the logical frame, the frame frame data block, that is, the synchronous screen projection data, is sent to the client A and B.
  • Frame frame data block means the frame number of the logical frame in the synchronous screen projection data.
  • client A and B receive the frame frame data block, that is, the synchronous screen projection data, after analysis, they obtain all operations performed by user A and user B on client A and client B within the period corresponding to the logical frame. .
  • client A and client B perform game performance according to the operations A1 and B1 contained in the received synchronous screen projection data, so that the final results presented to user A and user B are consistent.
  • the data synchronization between the client A and the client B is realized.
  • the server 403 regards the screen projection device 402 as the client C to send the synchronous screen projection data, and the corresponding frame synchronization type real-time battle game application is installed on the screen projection device 402 program, or a screen projection application corresponding to a frame synchronization type real-time battle game application specially used for screen projection, that is, without other input operation functions, is installed on the screen projection device 402 .
  • the screen-casting device 402 is connected to the server 403 by the screen-casting identifier used for watching the game corresponding to the game account logged in by the client 401 , that is, the subsidiary account.
  • the server 403 does not collect the operation data on the screen projection device 402 within the period corresponding to the logical frame, but when sending the synchronous screen projection data, it is sent together. This is achieved by using the principle of frame synchronization. Zero-latency synchronization of operations on the terminal 401 and the screen projection device 402 . From the basic principle, the delay between the screen projection device and the user terminal in the prior art is eliminated.
  • the client 401 receives the synchronous screen projection data including all operations of all other clients within the period corresponding to the same logical frame through the synchronous screen projection data connection with the server 403;
  • the connection with the server 403 receives the same or corresponding synchronous screen projection data as the client 401 .
  • the frame-synchronized real-time battle game application installed on the screen-casting device 402 or the screen-casting application corresponding to the frame-synchronized real-time battle game application program parses the frame synchronization type sent by the server 403 .
  • the screen projection data is synchronized, and the application operations performed by the user terminal 401 within the period corresponding to the logical frame are displayed on the screen projection device 402 synchronously, thereby realizing the zero-delay synchronization effect with the user terminal 401 .
  • the client 401 parses and displays the synchronous screen projection data by means of frame synchronization.
  • the screen projection device may correspond to multiple display screens, or the screen projection device may display the display screen by partition.
  • the corresponding client terminals may also be multiple client terminals.
  • the screen projection device is a large screen or multiple large screens, which respectively display the synchronous operations on the client operated by multiple players and players, so that the audience watching the e-sports competition can Feel the operation of professional players in real time, which greatly improves the audience's viewing experience in e-sports competitions.
  • the screen projection device receives the synchronous screen projection data sent by the server to the client and the screen projection device together, and then the screen projection device displays the target currently displayed by the target client according to the synchronous screen projection data.
  • application interface The transmission time of synchronous screencasting data from the server to the client and the screencasting device is basically the same, and the time required for the screencasting device and the client to process the synchronous screencasting data is basically the same, thus eliminating the need for the client and the screencasting device to display images.
  • the time difference solves the technical problem of the delay between the images displayed by the screen projection device and the user terminal in the prior art, that is, the display delay between the user terminal and the screen projection device is eliminated, and the user's use of the screen projection device is improved.
  • the technical effects that is, the display delay between the user terminal and the screen projection device is eliminated, and the user's use of the screen projection device is improved.
  • FIG. 6 is a schematic structural diagram of an application interface screen projection device according to an embodiment of the present application.
  • the application interface screen projection device 600 provided in this embodiment includes:
  • the receiving module 601 is configured to receive synchronous screen projection data sent by the server, where the synchronous screen projection data includes operation data input by each client in the client set;
  • the processing module 602 is configured to display the target application interface according to the synchronous screen projection data, so that the screen projection device synchronously displays the application interface currently displayed by the target client, wherein the target client is at least one client in the client set.
  • the application interface screen projection device before the receiving module 601 is used for receiving the synchronous screen projection data sent by the server, the application interface screen projection device further includes:
  • the receiving module 601 is further configured to receive the screen projection instruction sent by the target client; the processing module 602 is further configured to establish a connection with the server according to the screen projection instruction, so as to receive the synchronous screen projection data sent by the server through the connection.
  • the screen projection instruction includes the target user identifier in the target client and the application information of the corresponding target application; then the processing module 602 is further configured to establish a connection with the server according to the screen projection instruction, including:
  • the processing module 602 is further configured to start the target application according to the application information; the processing module 602 is further configured to establish a connection with the server through the screen projection identifier in the target application.
  • the receiving module 601 of the application interface screen-casting device receives the synchronous screen-casting data sent by the server according to the screen-casting identifier, the screen-casting identifier is associated with the target user identifier, and the screen-casting identifier includes the need for screen-casting display The associated account of the target user ID logged in the target client of .
  • the processing module 602 is further configured to start the target application according to the application information, the processing module 602 is further configured to obtain the corresponding screen projection ID from the server according to the target user ID.
  • the processing module 602 is further configured to establish a connection with the server through the target user identifier in the target application, including:
  • the processing module 602 is further configured to determine a screen projection request according to the target user identifier, and the screen projection request is used to obtain the screen projection identifier from the server; the sending module is further configured to send a screen projection request to the server to establish a connection.
  • processing module 602 after the processing module 602 is further configured to establish a connection, it further includes:
  • the receiving module 601 is further configured to receive initial synchronization data sent by the server, where the initial synchronization data includes operation data including a screen projection identifier; the processing module 602 is further configured to run the initial synchronization data to display the initial screen in the target application.
  • the receiving module 601 is further configured to receive a screen projection instruction sent by the target client, including:
  • the processing module 602 is further configured to establish a negotiation connection with the target client by using the real-time streaming protocol RTSP; the receiving module 601 is further configured to receive the screen projection instruction transmitted by RTSP.
  • the method further includes:
  • the processing module 602 is further configured to pause the currently playing media stream.
  • processing module 602 after the processing module 602 is further configured to pause the currently playing video stream, it further includes:
  • the processing module 602 is further configured to determine that the target application is a frame synchronization type battle game
  • the operation data of the user terminal is the game operation instruction of the battle game.
  • the screen projection logo includes a spectator logo, and when the target application is a frame synchronization type battle game, the spectator logo is used to display the target application interface in the spectator mode.
  • application interface screen projection device 600 provided in this embodiment can be used to perform the steps on the screen projection device side in any of the above method embodiments, and the specific implementation manner and technical effect are similar, and are not repeated here.
  • FIG. 7 is a schematic structural diagram of another application interface screen projection device according to an embodiment of the present application.
  • the application interface screen projection device 700 provided in this embodiment includes:
  • a receiving module 701, configured to collect the operation data input by each client in the client set with a preset period
  • the processing module 702 is configured to determine the synchronous screen projection data according to the operation data input by each user terminal;
  • the sending module 703 is used for sending synchronous screen projection data.
  • the sending module 703 before the sending module 703 is configured to send the synchronous screen projection data, it further includes:
  • the processing module 702 is further configured to establish a connection with the screen projection device; correspondingly, the sending module 703 is configured to send synchronous screen projection data, including:
  • the sending module 703 is configured to send the synchronous screen projection data to the screen projection device through the connection.
  • processing module 702 before the processing module 702 is further configured to establish a connection with the screen projection device, it further includes:
  • the receiving module 701 is further configured to receive a screen-casting request sent by the screen-casting device, where the screen-casting request includes the target user ID logged in the target client;
  • the processing module 702 is further configured to determine the screen projection identifier corresponding to the target user identifier according to the target user identifier;
  • processing module 702 is further configured to establish a connection with the screen projection device, including:
  • the processing module 702 is further configured to establish a connection with the screen-casting device through the screen-casting identifier.
  • processing module 702 is further configured to establish a connection with the screen-casting device through the screen-casting identifier, it further includes:
  • the sending module 703 is further configured to send initial synchronization data to the screen-casting device, so that the screen-casting device displays the initial screen of the target application in the target client.
  • the sending module 703, further configured to send the synchronous screen projection data includes:
  • the sending module 703 is further configured to send the synchronous screen projection data to the client set and the screen projection device in a frame synchronization manner.
  • application interface screen projection device 700 provided in this embodiment can be used to execute the steps on the server side in any of the above method embodiments, and the specific implementation manner and technical effect are similar, and will not be repeated here.
  • FIG. 8 is a schematic structural diagram of another application interface screen projection device provided by an embodiment of the present application.
  • the application interface screen projection device 800 provided in this embodiment includes:
  • the sending module 801 is configured to send application operation data to the server according to a preset period, and the application operation data includes the operation instruction input by the user and the display data of the application interface;
  • a receiving module 802 configured to receive the synchronous screen projection data sent by the server
  • the processing module 803 is configured to determine, according to the synchronous screen projection data, an application interface displayed synchronously with the screen projection device.
  • the method further includes:
  • the sending module 801 is further configured to send a screen-casting instruction to the screen-casting device, where the screen-casting instruction includes the target user ID logged in the user terminal.
  • the sending module 801 before the sending module 801 is further configured to send a screen-casting instruction to the screen-casting device, it further includes:
  • the sending module 801 is further configured to send a capability confirmation request to the screen projection device, where the capability confirmation request is used to determine that the screen projection device supports the screen projection method;
  • the receiving module 802 is further configured to receive capability confirmation information sent by the screen-casting device, so as to determine that the screen-casting device supports the screen-casting requirement of the target application.
  • the method further includes:
  • the processing module 803 is further configured to establish a negotiation connection with the screen projection device by using the real-time streaming protocol RTSP;
  • the data interaction between the screen projection device and the application interface screen projection device of the sixth aspect is performed through RTSP.
  • the processing module 803 before the processing module 803 is further configured to establish a negotiation connection with the screen projection device using the real-time streaming protocol RTSP, the processing module 803 is further configured to monitor that the target application to be started is frame synchronization type of battle game.
  • application interface screen projection device 800 provided in this embodiment can be used to execute the steps on the client side in any of the above method embodiments, and the specific implementation manner and technical effect are similar, and are not repeated here.
  • FIG. 9 is a structural diagram of an exemplary screen projection device provided by an embodiment of the present application.
  • the screen projection device 900 provided in this embodiment includes: a processor 901 , a memory 902 , a communication interface 903 , and a bus 904 .
  • the processor 901, the memory 902 and the communication interface 903 are connected through a bus 904 and communicate with each other.
  • the memory 902 is used to store computer-executed instructions.
  • the processor 901 executes the computer-executed instructions in the memory 902. The steps on the screen projection device side in the application interface screen projection method corresponding to FIG. 3 and FIG. 5 are performed by utilizing the hardware resources in the device.
  • FIG. 10 is a structural diagram of an exemplary server provided by an embodiment of the present application.
  • the server 1000 provided in this embodiment includes: a processor 1001 , a memory 1002 , a communication interface 1003 , and a bus 1004 .
  • the processor 1001, the memory 1002 and the communication interface 1003 are connected through the bus 1004 and communicate with each other.
  • the memory 1002 is used to store computer execution instructions.
  • the processor 1001 executes the computer execution instructions in the memory 1002.
  • the steps on the server side in the application interface screen projection method corresponding to FIG. 3 and FIG. 5 are performed by utilizing the hardware resources in the device.
  • FIG. 11 is a structural diagram of an exemplary user terminal device provided by an embodiment of the present application.
  • the client device 1100 provided in this embodiment includes: a processor 1101 , a memory 1102 , a communication interface 1103 , and a bus 1104 .
  • the processor 1101, the memory 1102 and the communication interface 1103 are connected through the bus 1104 and communicate with each other.
  • the memory 1102 is used to store computer execution instructions.
  • the processor 1101 executes the computer execution instructions in the memory 1102. The steps on the server side in the application interface screen projection method corresponding to FIG. 3 to FIG. 5 are performed by utilizing the hardware resources in the device.
  • Another embodiment of the present application further provides an application interface screen projection system, including the screen projection device shown in FIG. 9 , the server shown in FIG. 10 , and the client shown in FIG. 11 .
  • Another aspect of the embodiments of the present application further provides a computer-readable medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on the computer, the computer executes the application interface screen projection method corresponding to FIG. 3 and FIG. 5 . Steps on the screen-casting device side.
  • Another aspect of the embodiments of the present application further provides a computer-readable medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on the computer, the computer executes the application interface screen projection method corresponding to FIG. 3 and FIG. 5 . Steps on the server side.
  • Another aspect of the embodiments of the present application further provides a computer-readable medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on the computer, the computer executes the application interface screen projection method corresponding to FIG. 3 and FIG. 5 . steps on the client side.
  • Another aspect of the embodiments of the present application further provides a computer program product, including a computer program, which, when executed by a processor, realizes the application interface screen projection on the screen projection device side in the application interface screen projection method corresponding to FIG. 3 and FIG. 5 . method.
  • Another aspect of the embodiments of the present application further provides a computer program product, including a computer program that, when executed by a processor, implements the server-side application interface projection method in the application interface projection method corresponding to FIG. 3 and FIG. 5 .
  • Another aspect of the embodiments of the present application further provides a computer program product, including a computer program, when the computer program is executed by a processor, the application interface screen projection method on the client side in the application interface screen projection method corresponding to FIG. 3 and FIG. 5 is implemented. .

Abstract

一种应用界面投屏方法、装置、设备以及存储介质,通过投屏设备接收服务器向用户端和投屏设备一同发送的同步投屏数据,然后投屏设备根据同步投屏数据显示目标用户端当前显示的目标应用界面。同步投屏数据从服务器到用户端和投屏设备的传输时间基本相同,投屏设备和用户端处理同步投屏数据所需要的时间也基本相同,从而消除了用户端和投屏设备显示图像的时间差,解决了现有技术中投屏设备与用户端两者显示的图像之间存在延迟的技术问题,即达到了消除用户端和投屏设备的显示延迟,提高了用户对于投屏设备的使用体验的技术效果。

Description

应用界面投屏方法、装置、设备以及存储介质
本申请要求于2020年11月25日提交中国专利局、申请号为202011343865.X、申请名称为“应用界面投屏方法、装置、设备以及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种应用界面投屏方法、装置、设备以及存储介质。
背景技术
随着电子技术的发展,越来越多的电子设备由于功能侧重的不同而被开发出来,但是往往一个电子设备不可能兼顾到用户所有使用场景的需求,比如智能手机以其便于携带的优势得到了广泛的普及,但是由于智能手机屏幕较小,用户想要使用大屏观看时就必须要用到同步投屏设备。
目前,投屏设备一般是建立在以用户端为核心的交互网络中,即用户端与投屏设备直接连接或者通过路由器连接,用户端将所需要投屏的数据传输给投屏设备,使得投屏设备可以显示用户端上实时显示的内容。
但是,现有的投屏方式需要用户端将投屏数据进行编码,经过传输后,再有投屏设备进行解码播放,这三个步骤都需要一定的处理时间,使得投屏设备与用户端两者显示的图像之间存在延迟的技术问题。
发明内容
本申请提供一种应用界面投屏方法、装置、设备以及存储介质,用于解决现有技术中投屏设备与用户端两者显示的图像之间存在延迟的技术问题。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请实施例提供一种应用界面投屏方法,应用于投屏设备,该方法包括:
接收服务器发送的同步投屏数据,该同步投屏数据包括用户端集合中各个用户端所输入的操作数据;
根据同步投屏数据显示目标应用界面,以使投屏设备同步显示目标用户端当前所显示的应用界面,其中,目标用户端为用户端集合中的至少一个用户端。
在第一方面中,服务器同时向用户端和投屏设备发送同步投屏数据,投屏设备和用户端各自处理接收到的同步投屏数据后,就能够显示同步的目标应用界面。由于同步投屏数据的传输时间基本相同,投屏设备和用户端处理同步投屏数据所需要的时间也基本相同,从而消除了用户端和投屏设备显示图像的时间差,即达到了消除用户端和投屏设备的显示延迟的技术效果,并且当同步投屏数据包括高清视频数据时,服务器直接发送同步投屏数据无需压缩,避免了压缩造成的画质下降,能够在无延迟的同时保障画面质量,提高用户 的使用体验。
可选的,投屏设备和用户端中的用于显示同步的目标应用界面的应用程序可以是相同的程序,也可以是具备投屏支持功能的不同应用程序。即投屏设备中可以安装与用户端相同的应用程序来显示同步的目标应用界面,也可以在投屏设备中安装与目标应用界面所在应用程序不同的应用程序,投屏设备中的应用程序用于支持用户端的应用程序对应的投屏功能。
在一种可能的设计中,投屏设备在接收服务器发送的同步投屏数据之前,还包括:
接收目标用户端发送的投屏指令;根据投屏指令与服务器建立连接,以通过连接接收服务器发送的同步投屏数据。
在第一方面的一种可能的实现方式中,为了确保投屏设备在进入到正常同步投屏工作状态时,就能够达到与目标用户端的目标应用界面相同的显示画面,而无需经过过渡或快进播放等显示画面才达到同步显示的效果。
当需要投屏的应用程序为使用高清视频的应用程序时,并且在投屏前高清视频已处于播放状态,则投屏指令包括高清视频的下载资源地址以及当前目标用户端中的播放进度。
当需要投屏的应用程序为帧同步类型的对战游戏时,并且用户是在对战开始后接入投屏状态,则投屏指令包括当前对战的各游戏单位的对战状态以及目标用户端所接收到的服务器发送的当前帧同步数据。
在一种可能的设计中,投屏指令包括目标用户端中的目标用户标识以及所对应的目标应用的应用信息;则根据投屏指令与服务器建立连接,包括:
根据应用信息启动目标应用;在目标应用中通过目标用户标识建立与服务器的连接。
在第一方面的一种可能的实现方式中,用户端中安装有至少一个具有投屏功能需求的应用程序,则投屏设备需要根据应用信息确定启动对应的目标应用程序来提供投屏功能,因为同一目标应用程序可能不能支持所有的投屏需求,因此需要投屏设备对应启动不同的目标应用程序。
当目标应用为使用高清视频的应用,包括:高清视频会议应用、高清视频播放应用、高清视频远程培训应用等,应用信息包括高清视频的下载地址以及当前播放节点,目标用户标识包括:目标用户端的IP地址、MAC地址、目标应用中登录的账号中至少一个。
当目标应用为帧同步类型的对战游戏,目标用户标识至少包括目标应用中登录的账号。
可选的,在根据应用信息启动目标应用之后,还包括:根据目标用户标识从服务器获取对应的投屏标识;对应的,在目标应用中通过目标用户标识建立与服务器的连接包括:在目标应用中通过投屏标识建立与服务器的连接。
在一种可能的设计中,投屏设备是通过投屏标识接收服务器发送的同步投屏数据,投屏标识与所述目标用户标识相关联。
可选的,当需要投屏的应用程序为帧同步类型的对战游戏时,投屏标识是需要投屏显示的目标用户端中的目标用户标识的关联标识或者是目标用户端中登录的目标账号的关联账号。
目标用户标识包括:用户端IP地址、用户端MAC地址、用户端登录的目标应用账号中至少一项,所述投屏标识包括:投屏设备IP地址、投屏设备MAC地址、与所述目标应用账号对应的投屏账号或关联账号。
可选的,当需要投屏的应用程序为使用高清视频的应用时,投屏标识包括高清资源的下载地址或者是服务器高清视频库的IP地址。
在第一方面的一种可能的实现方式中,投屏设备可以作为需要投屏显示的目标用户端的附属设备,从而服务器可以给投屏设备设置目标用户标识的关联账号作为投屏标识,直接将发送给目标用户端的同步操作数据关联到投屏标识中,可选的,直接复制到投屏标识中,以减少服务器的计算资源占用率,加快处理速度。并且采用投屏标识即关联账号的形式,只需对原始的服务器端的应用程序做简单改进修改,或者简单添加附件或补丁即可实现,方便快捷,无需更新整个应用程序。
在一种可能的设计中,在目标应用中通过目标用户标识建立与服务器的连接,包括:
根据目标用户标识确定投屏请求,该投屏请求用于向服务器获取投屏标识;向服务器发送投屏请求,以建立连接。
在第一方面的一种可能的实现方式中,投屏设备为多个时或者一个投屏设备可以分屏显示或者是投屏设备具有多个屏幕时,投屏设备就可以接收多个用户终端的投屏指令,每个用户终端对应不同的目标用户标识或者是同一个用户终端同时开启多个用户账号时,根据需要投屏的目标用户标识来确定投屏请求。
在一种可能的设计中,在建立连接之后,还包括:
接收服务器发送的初始同步数据,初始同步数据包括含有投屏标识的操作数据;运行初始同步数据,以显示目标应用中的初始画面。
在第一方面的一种可能的实现方式中,对于用户端初次连接时,或者中断投屏后重连投屏设备,或者是由于投屏设备主动中断投屏后,重新投屏,还或者是投屏设备是在用户端进行某项活动或服务的过程中,在中途触发了投屏指令时,如游戏对战中途,培训中途,会议中途、高清视频播放中途等场景下,为了让投屏设备的应用程序在启动投屏后能够立即与用户端同步,则通过服务器把最新的初始同步数据发送给投屏设备,以显示目标应用的初始画面,该初始画面可以是游戏开始画面也可以是投屏确认画面,也可以是用户端中目标应用的当前画面。
在一种可能的设计中,接收目标用户端发送的投屏指令,包括:
利用实时流传输协议RTSP,与目标用户端建立协商连接;接收以RTSP传递的所述投屏指令。
在第一方面的一种可能的实现方式中,利用RTSP协议可以是用户端和服务器双向发出服务请求,并同时运行多个串流需求控制,而HTTP协议只是单向的由用户端向服务器发送服务请求。而且RTSP具有重新导向功能,可视实际负载情况来转换提供服务的服务器,以避免过大的负载集中于同一服务器而造成延迟。
在一种可能的设计中,在接收以RTSP传递的所述投屏指令之前,还包括:
暂停当前正在播放的媒体流。
在第一方面的一种可能的实现方式中,为了让用户感知到投屏设备及时响应了投屏指令,节省投屏设备的计算处理资源,或者说避免对正在播放的媒体流产生影响,因此需要将当前播放的媒体流暂停。
在一种可能的设计中,在暂停当前正在播放的视频流之后,还包括:
确定目标应用为帧同步类型的对战游戏或使用高清视频的应用;
对应的,当目标应用为帧同步类型的对战游戏时,用户端的操作数据包括对战游戏的游戏操作指令;当目标应用为使用高清视频的应用时,用户端的操作数据包括对高清视频所采取的操作指令,如定点播放、添加批注、添加标记或图文、指示光标实时移动,例如在高清视频会议中讲解方案,或者是远程培训中的标注讲解。
在第一方面的一种可能的实现方式中,为了使得用户在使用用户端进行即时对战类游戏时,能够消除用户端与投屏设备的延时,提高游戏体验,可以通过帧同步的方式通过游戏服务器按照本申请的技术方案来进行投屏。在观看高清视频时,由于不用对视频进行压缩,使得高清视频的画质得到保障,在远程培训或者远程会议这样的场景中提高用户的使用体验。
在一种可能的设计中,投屏标识包括观战标识,当目标应用为帧同步类型的对战游戏时,观战标识用于在观战模式下对目标应用界面进行显示。
在第一方面的一种可能的实现方式中,对于帧同步的即时对战类游戏,可以给投屏设备配置的投屏标识定义为观战模式下使用的账号,这样就可以服务器就可以利用观战模式实现对目标用户端在投屏设备上的无差别同步显示。
第二方面,本申请实施例提供一种应用界面投屏方法,应用于服务器,该方法包括:
以预设周期采集用户端集合中各个用户端所输入的操作数据;根据各个用户端所输入的操作数据确定同步投屏数据;发送同步投屏数据。
在一种可能的设计中,在发送同步投屏数据之前,还包括:
与投屏设备建立连接;对应的,发送同步投屏数据,包括:
通过连接向投屏设备发送同步投屏数据。
在一种可能的设计中,在与投屏设备建立连接之前,还包括:
接收投屏设备发送的投屏请求,该投屏请求包括目标用户端中所登陆的目标用户标识;
根据目标用户标识确定与目标用户标识对应的投屏标识;
对应的,与投屏设备建立连接,包括:
通过投屏标识与投屏设备建立连接。
在一种可能的设计中,在通过投屏标识与投屏设备建立连接之后,还包括:
向投屏设备发送初始同步数据,以使投屏设备显示目标用户端中的目标应用的初始画面。
在一种可能的设计中,发送所述同步投屏数据,包括:
以帧同步的方式向用户端集合以及投屏设备发送同步投屏数据。
第三方面,本申请实施例提供一种应用界面投屏方法,应用于用户端,包括:
按预设周期向服务器发送应用操作数据,应用操作数据包括用户输入的操作指令以及应用界面的显示数据;接收服务器发送的同步投屏数据;根据同步投屏数据确定与投屏设备同步显示的应用界面。
在一种可能的设计中,在按预设周期向服务器发送应用操作数据之前,还包括:
向投屏设备发送投屏指令,投屏指令包括用户端中登录的目标用户标识。
在一种可能的设计中,在向投屏设备发送投屏指令之前,还包括:
向投屏设备发送能力确认请求,能力确认请求用于确定投屏设备支持本申请提供的应用界面投屏方法;
接收投屏设备发送的能力确认信息,以确定投屏设备支持目标应用的投屏要求。
在一种可能的设计中,在向投屏设备发送能力确认请求之前,还包括:
利用实时流传输协议RTSP与投屏设备建立协商连接;
对应的,投屏设备与用户端的数据交互都通过RTSP进行。
在一种可能的设计中,在利用实时流传输协议RTSP与投屏设备建立协商连接之前,还包括:监测到启动的目标应用为帧同步类型的对战游戏或使用高清视频的应用。
第四方面,本申请实施例提供一种应用界面投屏装置,包括:
接收模块,用于接收服务器发送的同步投屏数据,同步投屏数据包括用户端集合中各个用户端所输入的操作数据;
处理模块,用于根据同步投屏数据显示目标应用界面,以使投屏设备同步显示目标用户端当前所显示的应用界面,其中,目标用户端为用户端集合中的至少一个用户端。
在一种可能的设计中,该应用界面投屏装置在接收模块,用于接收服务器发送的同步投屏数据之前,还包括:
接收模块,还用于接收目标用户端发送的投屏指令;处理模块,还用于根据投屏指令与服务器建立连接,以通过连接接收服务器发送的同步投屏数据。
在一种可能的设计中,投屏指令包括目标用户端中的目标用户标识以及所对应的目标应用的应用信息;则处理模块,还用于根据投屏指令与服务器建立连接,包括:
处理模块,还用于根据应用信息启动目标应用;处理模块,还用于在目标应用中通过投屏标识建立与服务器的连接。
在一种可能的设计中,该应用界面投屏装置的接收模块是根据投屏标识接收服务器发送的同步投屏数据,投屏标识与目标用户标识相关联,投屏标识包括需要投屏显示的目标用户端中所登录的目标用户标识的关联账号。
可选的,在处理模块,还用于根据应用信息启动目标应用之后,还包括:处理模块,还用于根据目标用户标识从服务器获取对应的投屏标识。
在一种可能的设计中,处理模块,还用于在目标应用中通过目标用户标识建立与服务器的连接,包括:
处理模块,还用于根据目标用户标识确定投屏请求,该投屏请求用于向服务器获取投屏标识;发送模块,还用于向服务器发送投屏请求,以建立连接。
在一种可能的设计中,在处理模块,还用于建立连接之后,还包括:
接收模块,还用于接收服务器发送的初始同步数据,初始同步数据包括含有投屏标识的操作数据;处理模块,还用于运行初始同步数据,以显示目标应用中的初始画面。
在一种可能的设计中,接收模块,还用于接收目标用户端发送的投屏指令,包括:
处理模块,还用于利用实时流传输协议RTSP,与目标用户端建立协商连接;接收模块,还用于接收以RTSP传递的所述投屏指令。
在一种可能的设计中,在接收模块,还用于接收以RTSP传递的所述投屏指令之前,还包括:
处理模块,还用于暂停当前正在播放的媒体流。
在一种可能的设计中,在处理模块,还用于暂停当前正在播放的视频流之后,还包括:
处理模块,还用于确定目标应用为帧同步类型的对战游戏;
对应的,用户端的操作数据为对战游戏的游戏操作指令。
在一种可能的设计中,投屏标识包括观战标识,当目标应用为帧同步类型的对战游戏时,观战标识用于在观战模式下对目标应用界面进行显示。
第五方面,本申请实施例提供一种应用界面投屏装置,包括:
接收模块,用于以预设周期采集用户端集合中各个用户端所输入的操作数据;
处理模块,用于根据各个用户端所输入的操作数据确定同步投屏数据;
发送模块,用于发送同步投屏数据。
在一种可能的设计中,在发送模块,用于发送同步投屏数据之前,还包括:
处理模块,还用于与投屏设备建立连接;对应的,发送模块,用于发送同步投屏数据,包括:
发送模块,用于通过连接向投屏设备发送同步投屏数据。
在一种可能的设计中,在处理模块,还用于与投屏设备建立连接之前,还包括:
接收模块,还用于接收投屏设备发送的投屏请求,该投屏请求包括目标用户端中所登陆的目标用户标识;
处理模块,还用于根据目标用户标识确定与目标用户标识对应的投屏标识;
对应的,处理模块,还用于与投屏设备建立连接,包括:
处理模块,还用于通过投屏标识与投屏设备建立连接。
在一种可能的设计中,在处理模块,还用于通过投屏标识与投屏设备建立连接之后,还包括:
发送模块,还用于向投屏设备发送初始同步数据,以使投屏设备显示目标用户端中的目标应用的初始画面。
在一种可能的设计中,发送模块,还用于发送所述同步投屏数据,包括:
发送模块,还用于以帧同步的方式向用户端集合以及投屏设备发送同步投屏数据。
第六方面,本申请实施例提供一种应用界面投屏装置,包括:
发送模块,用于按预设周期向服务器发送应用操作数据,应用操作数据包括用户输入的操作指令以及应用界面的显示数据;
接收模块,用于接收服务器发送的同步投屏数据;
处理模块,用于根据同步投屏数据确定与投屏设备同步显示的应用界面。
在一种可能的设计中,在发送模块,用于按预设周期向服务器发送应用操作数据之前,还包括:
发送模块,还用于向投屏设备发送投屏指令,投屏指令包括用户端中登录的目标用户标识。
在一种可能的设计中,在发送模块,还用于向投屏设备发送投屏指令之前,还包括:
发送模块,还用于向投屏设备发送能力确认请求,能力确认请求用于确定投屏设备支持投屏方法;
接收模块,还用于接收投屏设备发送的能力确认信息,以确定投屏设备支持目标应用的投屏要求。
在一种可能的设计中,在发送模块,还用于向投屏设备发送能力确认请求之前,还包括:
处理模块,还用于利用实时流传输协议RTSP与投屏设备建立协商连接;
对应的,投屏设备与第六方面的应用界面投屏装置的数据交互都通过RTSP进行。
在一种可能的设计中,在处理模块,还用于利用实时流传输协议RTSP与投屏设备建立协商连接之前,还包括:处理模块,还用于监测到启动的目标应用为帧同步类型的对战游戏或使用高清视频的应用。
第七方面,本申请实施例还提供一种投屏设备,包括:处理器;以及存储器,用于存储处理器的计算机程序;其中,处理器被配置为通过执行计算机程序来实现第一方面中提供的任意一种应用界面投屏方法。
第八方面,本申请实施例还提供一种服务器,包括:处理器;以及存储器,用于存储处理器的计算机程序;其中,处理器被配置为通过执行计算机程序来实现第二方面中提供的任意一种应用界面投屏方法。
第九方面,本申请实施例还提供一种用户端设备,包括:处理器;以及存储器,用于存储处理器的计算机程序;其中,处理器被配置为通过执行计算机程序来实现第三方面中提供的任意一种应用界面投屏方法。
第十方面,本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现第一方面中提供的任意一种应用界面投屏方法。
第十一方面,本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现第二方面中提供的任意一种应用界面投屏方法。
第十二方面,本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现第三方面中提供的任意一种应用界面投屏方法。
第十三方面,本申请实施例还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现第一方面中提供的任意一种应用界面投屏方法。
第十四方面,本申请实施例还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现第二方面中提供的任意一种应用界面投屏方法。
第十五方面,本申请实施例还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现第三方面中提供的任意一种应用界面投屏方法。
可以理解地,上述提供的第七方面的投屏设备以及第十方面的计算机可读存储介质用于执行第一方面中提供的任一种可能的应用界面投屏方法,上述提供的第八方面的服务器以及第十一方面的计算机可读存储介质用于执行第二方面中提供的任一种可能的应用界面投屏方法,上述提供的第九方面的用户端设备以及第十二方面的计算机可读存储介质用于执行第三方面中提供的任一种可能的应用界面投屏方法。
本申请实施例提供的应用界面投屏方法、装置、设备以及存储介质,通过投屏设备接收服务器向用户端和投屏设备一同发送的同步投屏数据,然后投屏设备根据同步投屏数据显示目标用户端当前显示的目标应用界面。同步投屏数据从服务器到用户端和投屏设备的传输时间基本相同,投屏设备和用户端处理同步投屏数据所需要的时间也基本相同,从而消除了用户端和投屏设备显示图像的时间差,解决了现有技术中投屏设备与用户端两者显示的图像之间存在延迟的技术问题,即达到了消除用户端和投屏设备的显示延迟,提高了用户对于投屏设备的使用体验的技术效果。
附图说明
图1为本申请提供的现有技术中带有延迟的投屏方法的应用场景示意图;
图2为本申请提供的应用界面投屏方法的数据流传输方向示意图;
图3为本申请实施例提供的一种示例性的应用界面投屏方法的流程图;
图4为本申请实施例提供的一种应用界面投屏方法的应用场景示意图;
图5为本申请实施例提供的另一种示例性的应用界面投屏方法的流程图;
图6为本申请实施例提供的一种应用界面投屏装置的结构示意图;
图7为本申请实施例提供的另一种应用界面投屏装置的结构示意图;
图8为本申请实施例提供的又一种应用界面投屏装置的结构示意图;
图9为本申请实施例提供的一种示例性的投屏设备的结构图;
图10为本申请实施例提供的一种示例性的服务器的结构图;
图11为本申请实施例提供的一种示例性的用户端设备的结构图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,包括但不限于对多个实施例的组合,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
图1为本申请提供的现有技术中带有延迟的投屏方法的应用场景示意图。如图1所示,用户端101与投屏设备102之间直接通过无线数据通道连接,或者是经由路由器103或网络服务器进行投屏数据转发。现有技术中,一种投屏方案是,用户端101和投屏设备102都有投屏直联应用,通过P2P(Peer to Peer,点对点传输协议)或蓝牙或WIFI等传输协议,使得用户端101直接将投屏数据传递给投屏设备102。如果用户端101和投屏设备102两者中有一个没有直联投屏功能,就必须要安装第三方软件,此时就可以把路由器103替换成网络服务器。
经过本申请发明人对比试验数据进行深入分析,如图1所示的投屏方法,一般需要用户端101先将需要投屏显示的数据进行编码压缩,经过无线传输后如通过蓝牙通讯协议进行传播,投屏设备102在接收到编码数据后,需要对编码数据进行解码,然后再利用解码后的数据进行播放。还有一种现有的投屏方式是,用户端将编码数据传递给路由器103,然后再由路由器103分发给一个或多个投屏设备进行解码显示。上述两种方案中,都是以用户端为数据来源,都需要经过“编码→传输→解码”三个阶段,而这三个阶段都需要一 定的处理时间,只要采用类似的投屏方案,如将路由器103换成网络服务器,都不可避免地存在投屏设备显示的图像与用户端当前显示界面的图像之间存在延迟的问题。并且三个阶段任意一个阶段发生处理波动,如网络传输拥堵,或者信号质量差影响了传输速度,或者是用户端101由于处理能力有限,不能提供高清编码或者无损编码压缩,或者是压缩时间较长,这些都会引起投屏设备102与用户端的当前显示界面在图像画面上的延迟。对于某些对实时性要求较高的应用场景时,如需要投屏的是即时对战类游戏,0.1秒的卡顿就可以决定胜负。再比如某些远程培训或者是现场培训或演示时利用投屏设备来方便多人观看,此时如果存在卡顿或延迟对于某些短时性的现象的演示,如化学实验或物理实验,就会使得观看投屏设备的用户无法观察到完整的实验过程,或者体验感较差。还比如多方远程视频会议的应用场景,主持人或者当前发言人需要将自己所用的用户端上的会议材料进行实时远程演示讲解,在会议高清视频传输时,编码再解码就会产生延迟,从而影响高清视频会议的使用体验。
为了缩短用户端101和投屏设备102之间的延迟现象,常用的做法是提高数据传输的速率,提高用户端101的编码压缩能力,或者是采用更快的编码压缩方案,或者是提高投屏设备102的图像处理能力即解码播放能力。但是无论哪一种,都没有脱离“显示图像数据来源与用户端”这个最基本的逻辑,这就使得“编码→传输→解码”的数据传输结构并没有改变,理论上就无法去避免延迟。
基于上述原因,本申请提出了不同于“编码→传输→解码”的应用界面投屏逻辑,本申请的发明构思是:将用户端为核心或数据来源的传统设计构思,改为将用户端和投屏设备作为同级别的数据接收方和处理方,让两者在同一起跑线上开始图像数据处理,这样就能够从理论上避免了延迟的产生。即将传统的图像数据从“用户端→投屏设备”或“用户端→服务器→投屏设备”,改为如图2所示的数据传输方向。
图2为本申请提供的应用界面投屏方法的数据流传输方向示意图。如图2所示,本申请的应用界面投屏方法,是将投屏数据的流动分为投屏数据源层以及投屏数据显示层。投屏数据源层的载体是网络服务器203,投屏数据即同步投屏数据的产生是在网络服务器203上一同生成的,作为用户端201和投屏设备202支持投屏功能的应用的输入数据。这就使得用户端201和投屏设备202几乎是同时接收到投屏数据,两者间的数据传输不再具备先后因果关系,即投屏设备202接收投屏数据并不依赖用户端201先产生投屏数据。进一步的,只需要保证用户端201和投屏设备202上的投屏数据处理应用在处理投屏数据时,所需处理时间一致或者相近,就能够保证两者当前显示的应用界面图像同步,如两者都是同一款应用,或者是来源于同一系列的应用(如标准版和去广告的极速版)。这就从架构原理上改变了传统的投屏方法“编码→传输→解码”三阶段式的数据传递模式。而且用户端201的操作数据可以上传给网络服务器203处理,进而得到同步投屏数据即投屏数据,而投屏设备202可以不具备上传操作数据的功能,以避免引起操作冲突,也减轻了投屏设备的运算处理能力的要求,降低使用成本。
下面结合实施例,示例性地介绍本申请提出的应用界面投屏方法。
图3为本申请实施例提供的一种示例性的应用界面投屏方法的流程图。如图3所示,本实施例提供的应用界面投屏方法,包括:
S301、按预设周期向服务器发送应用操作数据。
在本步骤中,应用操作数据包括用户输入的操作指令以及应用界面的显示数据。用户在用户端输入操作指令,用户端将预设周期内的所有操作指令发送给服务器,可选的,当用户端或者投屏设备任意一方发生了投屏中断再连时,用户端可以将操作指令连同当前应用界面的显示数据一起发送给服务器,显示数据包括高清视频播放进度或者当前游戏中各个游戏单位的游戏状态。
可选的,用户端在接收到操作指令时,可以根据操作指令进行预处理,以便于减少后续同步投屏数据的处理时间,使得用户端与投屏设备处理同步投屏数据的时间基本相同。可以理解的是,用户端也可以根据数据量的大小决定是否采取预处理,即若操作指令对应的操作数据量大于或等于预设阈值,则用户端根据该操作指令进行预处理。
需要说明的是,步骤S301是周期循环的,用户端需要按照预设周期给服务器上报应用操作数据。
具体的,当用户端当前的目标应用为使用高清视频的应用,包括:高清视频播放器、高清视频会议应用、高清视频培训应用等。例如,用户端当前在使用高清视频播放器播放高清蓝光视频或者1080P及以上的高清视频,比如在家中家长与小孩一起观看高清视频,或者是在外语课堂上,老师需要将电脑上的高清视频投屏到大屏幕上给学生观看,为了避免现有技术中压缩-解码时所造成的画质下降损失,可以采用本实施例的投屏方法。用户在观看的过程中可能会在用户端上采取暂停、快进、拖动进度条、静音、开启弹幕等操作,因此,用户端需要周期性地采集用户的操作指令,以实现投屏设备的同步显示。
S302、以预设周期采集用户端集合中各个用户端所输入的操作数据。
在本实施例中,用户端为一个或多个,由于各个用户端在S301步骤中周期性地向服务器发送当前应用的操作数据,则服务器也需要周期性地接收各个用户端所输入的操作数据。
可选的,若各个用户端发送应用操作数据的周期一致,则服务器接收操作数据的周期可以与各个用户端所发送数据的周期一致。若各个用户端发送应用操作数据的周期不一致,则服务器接收操作数据的周期可以是按照预设算法综合考虑各个用户端发送周期计算而得到的,以使得最大限度地在每个服务器接收周期中接收到尽可能多的用户端发送的应用操作数据。
具体的,当目标应用为高清视频会议时,多个用户端为各个参会人员所使用的会议接入设备,在对某个方案进行标注讨论时,各个参会人员都可以通过用户端来输入标记,如圈出想让其他参会人员关注的内容,此时如果多个参会人员同时操作,为了让各个参会人员体验到同步的效果,服务器可以周期性收集各个用户端上报的应用操作数据,再将所有用户端的应用操作数据打包,发送回所有用户端以及投屏设备,这样就能够达到同步投屏的目的。
S303、根据各个用户端所输入的操作数据确定同步投屏数据。
在本步骤中,服务器将各个用户端即至少一个用户端所输入的操作数据即应用操作数据整合成同步投屏数据,以便于各个用户端所显示的是同步的画面内容。
例如,各个用户端在使用相同的应用程序进行某项业务活动,如在进行即时战略游戏的对战,或者是处于远程同步会议或培训,或者是多人云办公协作,即多个人同时完成一个电子工作文档的创建或维护。为了让各个用户端显示的内容是同步的,这就需要先将各 个用户端的操作数据统一采集后,再生成一个包括了所有用户操作数据的同步投屏数据,来给各个用户端进行显示。
S304、发送同步投屏数据。
在本步骤中,服务器向所有用户端和投屏设备按预设同步模式发送同步投屏数据,预设同步模式包括:利用并行线程任务根据各个用户端和投屏设备的IP地址标识或MAC地址标识发送同步投屏数据;或者以帧同步的形式发送同步投屏数据。
具体的,当用户端的目标应用为使用高清视频的应用,如高清视频播放器,用户在发出了高清视频投屏指令后,将该高清视频的属性信息,包括:名称、下载地址、观看账号、密码等发送给服务器,服务器根据属性信息找到对应的高清视频,并生成同步投屏数据发送给投屏设备如电视。由于是服务器直接发送高清视频的片源数据给投屏设备,这样无需用户端进行视频压缩,保证了高清视频的画面清晰度。并且按照本实施例的投屏方案,多个用户端可以共享同一部高清视频,如处于两个城市的两个用户,想要一同观看高清电视剧,而只有一个视频网站的VIP账户,这样就可以通过本方案实现高清视频共享,提高了用户体验。
S305、接收服务器发送的同步投屏数据。
在本步骤中,执行主体为各个用户端以及各个投屏设备。
在一种可能的设计中,投屏设备是通过投屏标识接收服务器发送的同步投屏数据,例如,投屏标识是需要投屏显示的目标用户端中所登录的目标用户标识即目标用户账号的关联账号。
投屏设备可以作为需要投屏显示的目标用户端的附属设备,从而服务器可以给投屏设备设置目标用户标识的关联账号作为投屏标识,直接将发送给目标用户端的同步操作数据关联到投屏标识中,可选的,服务器将同步操作数据直接复制到投屏标识中,以减少服务器的计算资源占用率,加快处理速度。并且采用投屏标识的形式,只需对原始的服务器端的应用程序做简单改进修改,或者简单添加附件或补丁即可实现,方便快捷,无需更新整个应用程序。
可选的,投屏标识是投屏设备的IP地址,服务器将高清视频的高清片源数据发送到投屏设备的IP地址,投屏设备以此IP地址作为投屏标识就能够接收到同步投屏数据。
S306、根据同步投屏数据显示目标应用界面。
在本步骤中,各个投屏设备将接收到的同步投屏数据输入到支持投屏功能的应用当中,然后进行显示处理,如解码播放。
S307、根据同步投屏数据确定与投屏设备同步显示的应用界面。
在本步骤中,各个用户端的与同步投屏数据对应的应用程序将同步投屏数据作为输入数据进行处理,得到各个用户端间同步显示的应用界面,此应用界面也与投屏设备显示的画面是同步的。
需要说明的是,S306和S307在执行的时候,没有先后次序的要求,可以同步进行。
可选的,投屏设备和用户端中的用于显示同步的目标应用界面的应用程序可以是相同的程序,也可以是具备投屏支持功能的不同应用程序。即投屏设备中可以安装与用户端相同的应用程序来显示同步的目标应用界面,也可以在投屏设备中安装与目标应用界面所在应用程序不同的应用程序,投屏设备中的应用程序用于支持用户端的应用程序对应的投屏 功能。
在本实施例中,服务器同时向用户端和投屏设备发送同步投屏数据,投屏设备和用户端各自处理接收到的同步投屏数据后,就能够显示同步的目标应用界面。由于同步投屏数据的传输时间基本相同,投屏设备和用户端处理同步投屏数据所需要的时间也基本相同,从而消除了用户端和投屏设备显示图像的时间差,即达到了消除用户端和投屏设备的显示延迟的技术效果。并且,由服务器直接发送同步投屏数据给投屏设备,无需经过压缩解码的步骤,使得在需要投屏高清视频时,能够保障高清视频的原始画质,又不会增加用户端的负荷,提高了用户的使用体验。
本申请实施例提供的应用界面投屏方法,通过投屏设备接收服务器向用户端和投屏设备一同发送的同步投屏数据,然后投屏设备根据同步投屏数据显示目标用户端当前显示的目标应用界面。同步投屏数据从服务器到用户端和投屏设备的传输时间基本相同,投屏设备和用户端处理同步投屏数据所需要的时间也基本相同,从而消除了用户端和投屏设备显示图像的时间差,解决了现有技术中投屏设备与用户端两者显示的图像之间存在延迟的技术问题,即达到了消除用户端和投屏设备的显示延迟,提高了用户对于投屏设备的使用体验的技术效果。
为了便于更好的理解本申请所提供的应用界面投屏方法,下面示例性地结合几个具体的应用场景来进行说明。
图4为本申请实施例提供的一种应用界面投屏方法的应用场景示意图。如图4所示,用户端401包括移动智能设备如手机、平板电脑等,投屏设备402包括:智能电视、LED智能显示器、LCD智能显示器、PC个人电脑等。在本应用场景中,用户端401与投屏设备402处于同一个局域网当中或者是连接着同一个路由器,服务器403传输数据到用户端401与投屏设备402的速率可以看成是基本相同的。在本应用场景中,用户端401触发投屏的应用界面为以帧同步的方式传输同步游戏数据的即时战略类游戏应用程序的界面。服务器403为即时战略类游戏的服务器,以帧同步的方式完成多用户端接入同一局对战游戏的数据传输,使得各个用户端之间显示的游戏进程一致,以确保游戏的公平性。下面结合图5来具体说明本申请提供的应用界面投屏方法在此应用场景下的具体实施步骤。
图5为本申请实施例提供的另一种示例性的应用界面投屏方法的流程图。如图5所示,本实施例提供的应用界面投屏方法,包括:
S501、监测到启动的目标应用为帧同步类型的对战游戏。
在本实施例中,用户端401监测到用户通过操作界面如手机屏幕,输入了启动帧同步类型的对战游戏,如王者荣耀。
S502、向投屏设备发送投屏指令。
在本步骤中,用户端401向投屏设备402发送需要进行投屏的投屏指令,投屏指令包括用户端中登录的目标用户标识,如用户账号即游戏账号。具体的,投屏指令用于指示投屏设备402打开支持投屏的目标应用,使得投屏设备402根据目标用户标识来登录目标应用,或者是根据与目标用户标识对应的用于投屏的投屏标识来登录目标应用,可选的,投屏指令还用于暂停投屏设备402当前播放的媒体流。
具体的,例如,在本实施例中,用户端401将当前登录的帧同步类型的对战游戏的游戏账号即目标用户标识生成投屏指令发送给投屏设备402。投屏设备402根据投屏指令启 动对应的帧同步类型的对战游戏应用程序,并且利用数据库中或者内存中与目标用户标识对应的用于投屏的投屏标识来登录对战游戏应用程序。并且,如果投屏设备402正在播放其它媒体流,如正在播放电视节目或电影等,则将其它媒体流暂停,将投屏设备402的当前界面跳转到帧同步类型的对战游戏应用程序。
在一种可能的设计中,在用户端401向投屏设备402发送投屏指令之前,还包括:
用户端401向投屏设备402发送能力确认请求,能力确认请求用于确定投屏设备402支持本申请提供的应用界面投屏方法。如能力确认请求要求投屏设备402回复预设格式的能力确认编码,如1代表支持,0代表不支持。
投屏设备402在接收到能力确认请求后,根据能力确认请求中投屏方法的识别标识,检测投屏设备402的安装列表中是否安装了对应的应用,并向用户端401发送能力确认信息,如1代表支持本申请所提供的应用界面投屏方法,0代表不支持本申请所提供的应用界面投屏方法。进一步的,若投屏设备402不支持本申请所提供的应用界面投屏方法,即没有安装对应的应用程序,则用户端401在应用界面上给出提示信息,提示用户给投屏设备安装对应的投屏应用程序。
在一种可能的设计中,用户端401在向投屏设备402发送能力确认请求之前,还包括:利用实时流传输协议RTSP与投屏设备建立协商连接;对应的,投屏设备402与用户端401的数据交互都通过RTSP进行。
与现有技术中利用P2P形式或者WIFI形式在用户端401和投屏设备402之间进行数据交互不同,本实施例提供的实时流传输协议RTSP可以是用户端和服务器双向发出服务请求,并同时运行多个串流需求控制。因为本实施例在进行投屏前,用户端与服务器之间存在双向的信息交互请求,因此,在本实施例中用户端和投屏设备采用RTSP协议进行数据交互。
S503、接收目标用户端发送的投屏指令。
需要说明的是,在本步骤中,执行主体是至少一个投屏设备。
S504、根据投屏指令与服务器建立连接。
在本步骤中,投屏设备402根据投屏指令与服务器403建立连接,以通过连接接收服务器403发送的同步投屏数据。具体的,投屏设备402利用投屏指令中的目标用户标识建立用户端401当前需要投屏的目标应用所对应的服务器的连接。在一种可能的实施方式中,投屏设备402利用与目标用户标识对应的用于投屏的投屏标识来登录目标应用,即可建立与服务器403的数据连接通道。
需要说明的是,本步骤的作用效果包括:用户在某项服务业务进行中途才启动投屏功能,如在帧同步的即时对战类游戏的一局游戏中途,为了确保投屏设备在进入到正常同步投屏工作状态时,就能够达到与目标用户端的目标应用界面相同的显示画面,而无需经过过渡或快进播放等显示画面才达到同步显示的效果。例如,对于非帧同步方式组织的即时对战游戏(如状态同步方式组织的即时对战游戏),在中途加入观战时,会快速地从最初游戏开始状态一直快进显示到当前的游戏状态,用户就会看到一个快进过渡的过程,而不是直接就显示到当前最新的游戏状态。而本申请采用了步骤S504后,就可以直接显示到当前最新的游戏状态。
在另一种可能的设计中,投屏指令包括目标用户标识以及所对应的目标应用的应用信 息;则根据投屏指令与服务器建立连接,包括:
首先投屏设备402根据应用信息启动目标应用;然后投屏设备402根据目标用户标识从服务器403中获取对应的投屏标识;最后在目标应用中通过投屏标识建立与服务器403的连接。
当用户端中安装有至少一个具有投屏功能需求的应用程序,则投屏设备需要根据应用信息确定启动对应的目标应用程序来提供投屏功能,因为同一目标应用程序可能不能支持所有的投屏需求,因此需要投屏设备对应启动不同的目标应用程序。如用户端401中安装有两个帧同步的即时对战类游戏的应用程序,则投屏设备402需要根据应用信息确定启动对应的目标应用程序来提供投屏功能。
具体的,在一种可能的设计中,在目标应用中通过目标用户标识建立与服务器的连接,包括:投屏设备402首先根据目标用户标识确定投屏请求,该投屏请求用于向服务器403获取投屏标识;然后投屏设备402向服务器403发送投屏请求,以建立连接。
当投屏设备为多个时或者一个投屏设备可以分屏显示或者是投屏设备具有多个屏幕时,投屏设备就可以接收多个用户终端的投屏指令,每个用户终端对应不同的目标用户标识或者是同一个用户终端同时开启多个用户账号时,根据需要投屏的目标用户标识来确定投屏请求。
S505、与投屏设备建立连接。
在本步骤中,服务器403在接收到投屏设备402的投屏请求后,建立起与投屏设备402的数据连接通道,即连接。
在一种可能的设计中,服务器403在与投屏设备402建立连接之前,还包括:
服务器403接收投屏设备402发送的投屏请求,该投屏请求包括目标用户端中所登陆的目标用户标识;服务器403根据目标用户标识确定与目标用户标识对应的投屏标识;
对应的,服务器403在与投屏设备402建立连接,包括:
服务器403通过投屏标识与投屏设备402建立连接。
在一种可能的设计中,服务器403在通过投屏标识与投屏设备402建立连接之后,还包括:
服务器403向投屏设备402发送初始同步数据,以使投屏设备402显示目标用户端中的目标应用的初始画面。
S506、按预设周期向服务器发送应用操作数据。
S507、根据各个用户端所输入的操作数据确定同步投屏数据。
S508、以帧同步的方式向用户端集合以及投屏设备发送同步投屏数据。
在本步骤中,服务器403通过连接向投屏设备发送同步投屏数据。同步投屏数据的传输方式为帧同步的方式。可以理解的是,服务器403与用户端401之间也建立有数据传输连接,并且在本实施例中,是以帧同步的方式进行各个用户端间的同步投屏数据的传输。
下面对帧同步的运行机理进行简要的举例介绍。
以帧同步的即时对战类游戏应用为例:
用户端A将的用户A的操作A1封装成应用操作数据OperateCmd_A1与用户端将用户B的操作B1封装成应用操作数据OperateCmd_B1发送给服务器。服务器每隔预设的周期时间如66MS产生一个逻辑帧,在该逻辑帧所在的周期时间段内收到A1和B1对应的应用操 作数据OperateCmd_A1和OperateCmd_B1后,生成一个Frame框架数据块即同步投屏数据,在该逻辑帧所在的周期时间结束时,将Frame框架数据块即同步投屏数据发送给用户端A和B。Frame框架数据块即同步投屏数据内有该逻辑帧的帧号。用户端A和B收到Frame框架数据块即同步投屏数据后,经解析得到该逻辑帧所对应的周期时间内,用户A和用户B分别在用户端A和用户端B所进行的所有操作。然后用户端A和用户端B根据收到的同步投屏数据中所包含的操作A1和B1进行游戏表现,从而使得最终呈现给用户A和用户B的结果是一致的。从而实现用户端A与用户端B的数据同步。
按照上述帧同步原理,在本实施例中,将服务器403将投屏设备402当成用户端C来发送同步投屏数据,在投屏设备402上安装有对应的帧同步类型的即时对战类游戏应用程序,或者投屏设备402上安装有专门用于投屏的即无其它输入操作功能的与帧同步类型的即时对战类游戏应用程序相对应的投屏应用。在本实施例中,投屏设备402是以用户端401所登录的游戏账号所对应的用于观战的投屏标识即附属账号与服务器403连接的。服务器403在逻辑帧所对应的周期时间内并不采集投屏设备402上的操作数据,但是在发送同步投屏数据时,是一起都发送的,这就利用帧同步的原理实现了,在用户端401和投屏设备402上操作的零延时同步。从基本原理上就消除了现有技术中投屏设备与用户端之间的延时。
S509、接收服务器发送的同步投屏数据。
在本步骤中,用户端401通过与服务器403的同步投屏数据连接来接收包含所有其它用户端上在同一逻辑帧所对应的周期时间内的所有操作的同步投屏数据;投屏设备402通过与服务器403的连接接收与用户端401相同的或者相对应的同步投屏数据。
S510、根据同步投屏数据显示目标应用界面。
在本实施例中,投屏设备402上安装的帧同步的即时对战类游戏的应用程序或与帧同步的即时对战类游戏的应用程序对应的投屏应用,解析服务器403发送的帧同步类型的同步投屏数据,将用户端401在逻辑帧对应的周期时间内所执行的应用操作同步显示到投屏设备402上,实现了与用户端401的零延时同步效果。
S511、根据同步投屏数据确定与投屏设备同步显示的应用界面。
在本实施例中,用户端401通过帧同步的方式来解析并显示同步投屏数据。
需要说明的是,在一种可能的实施例中,投屏设备可以有多个,或者投屏设备对应多个显示屏,或者是投屏设备可以将显示屏进行分区显示。对应的用户端也可以是多个用户端。在如电子竞技比赛等应用场景时,投屏设备为分区块的大屏幕或者多个大屏幕,分别显示多个比赛玩家选手所操作的用户端上的同步操作,使得观看电子竞技比赛的观众能够实时感受到职业选手的操作,极大提高了观众在电子竞技比赛上的观看体验。
本申请实施例提供的应用界面投屏方法,通过投屏设备接收服务器向用户端和投屏设备一同发送的同步投屏数据,然后投屏设备根据同步投屏数据显示目标用户端当前显示的目标应用界面。同步投屏数据从服务器到用户端和投屏设备的传输时间基本相同,投屏设备和用户端处理同步投屏数据所需要的时间也基本相同,从而消除了用户端和投屏设备显示图像的时间差,解决了现有技术中投屏设备与用户端两者显示的图像之间存在延迟的技术问题,即达到了消除用户端和投屏设备的显示延迟,提高了用户对于投屏设备的使用体验的技术效果。
图6为本申请实施例提供的一种应用界面投屏装置的结构示意图。如图6所示,本实施例提供的应用界面投屏装置600,包括:
接收模块601,用于接收服务器发送的同步投屏数据,同步投屏数据包括用户端集合中各个用户端所输入的操作数据;
处理模块602,用于根据同步投屏数据显示目标应用界面,以使投屏设备同步显示目标用户端当前所显示的应用界面,其中,目标用户端为用户端集合中的至少一个用户端。
在一种可能的设计中,该应用界面投屏装置在接收模块601,用于接收服务器发送的同步投屏数据之前,还包括:
接收模块601,还用于接收目标用户端发送的投屏指令;处理模块602,还用于根据投屏指令与服务器建立连接,以通过连接接收服务器发送的同步投屏数据。
在一种可能的设计中,投屏指令包括目标用户端中的目标用户标识以及所对应的目标应用的应用信息;则处理模块602,还用于根据投屏指令与服务器建立连接,包括:
处理模块602,还用于根据应用信息启动目标应用;处理模块602,还用于在目标应用中通过投屏标识建立与服务器的连接。
在一种可能的设计中,该应用界面投屏装置的接收模块601是根据投屏标识接收服务器发送的同步投屏数据,投屏标识与目标用户标识相关联,投屏标识包括需要投屏显示的目标用户端中所登录的目标用户标识的关联账号。
可选的,在处理模块602,还用于根据应用信息启动目标应用之后,还包括:处理模块602,还用于根据目标用户标识从服务器获取对应的投屏标识。
在一种可能的设计中,处理模块602,还用于在目标应用中通过目标用户标识建立与服务器的连接,包括:
处理模块602,还用于根据目标用户标识确定投屏请求,该投屏请求用于向服务器获取投屏标识;发送模块,还用于向服务器发送投屏请求,以建立连接。
在一种可能的设计中,在处理模块602,还用于建立连接之后,还包括:
接收模块601,还用于接收服务器发送的初始同步数据,初始同步数据包括含有投屏标识的操作数据;处理模块602,还用于运行初始同步数据,以显示目标应用中的初始画面。
在一种可能的设计中,接收模块601,还用于接收目标用户端发送的投屏指令,包括:
处理模块602,还用于利用实时流传输协议RTSP,与目标用户端建立协商连接;接收模块601,还用于接收以RTSP传递的所述投屏指令。
在一种可能的设计中,在接收模块601,还用于接收以RTSP传递的所述投屏指令之前,还包括:
处理模块602,还用于暂停当前正在播放的媒体流。
在一种可能的设计中,在处理模块602,还用于暂停当前正在播放的视频流之后,还包括:
处理模块602,还用于确定目标应用为帧同步类型的对战游戏;
对应的,用户端的操作数据为对战游戏的游戏操作指令。
在一种可能的设计中,投屏标识包括观战标识,当目标应用为帧同步类型的对战游戏时,观战标识用于在观战模式下对目标应用界面进行显示。
值得说明的,本实施例提供的应用界面投屏装置600,可用于执行上述任一方法实施例中投屏设备侧的步骤,具体实现方式和技术效果类似,这里不再赘述。
图7为本申请实施例提供的另一种应用界面投屏装置的结构示意图。如图7所示,本实施例提供的应用界面投屏装置700,包括:
接收模块701,用于以预设周期采集用户端集合中各个用户端所输入的操作数据;
处理模块702,用于根据各个用户端所输入的操作数据确定同步投屏数据;
发送模块703,用于发送同步投屏数据。
在一种可能的设计中,在发送模块703,用于发送同步投屏数据之前,还包括:
处理模块702,还用于与投屏设备建立连接;对应的,发送模块703,用于发送同步投屏数据,包括:
发送模块703,用于通过连接向投屏设备发送同步投屏数据。
在一种可能的设计中,在处理模块702,还用于与投屏设备建立连接之前,还包括:
接收模块701,还用于接收投屏设备发送的投屏请求,该投屏请求包括目标用户端中所登陆的目标用户标识;
处理模块702,还用于根据目标用户标识确定与目标用户标识对应的投屏标识;
对应的,处理模块702,还用于与投屏设备建立连接,包括:
处理模块702,还用于通过投屏标识与投屏设备建立连接。
在一种可能的设计中,在处理模块702,还用于通过投屏标识与投屏设备建立连接之后,还包括:
发送模块703,还用于向投屏设备发送初始同步数据,以使投屏设备显示目标用户端中的目标应用的初始画面。
在一种可能的设计中,发送模块703,还用于发送所述同步投屏数据,包括:
发送模块703,还用于以帧同步的方式向用户端集合以及投屏设备发送同步投屏数据。
值得说明的,本实施例提供的应用界面投屏装置700,可用于执行上述任一方法实施例中服务器侧的步骤,具体实现方式和技术效果类似,这里不再赘述。
图8为本申请实施例提供的又一种应用界面投屏装置的结构示意图。如图8所示,本实施例提供的应用界面投屏装置800,包括:
发送模块801,用于按预设周期向服务器发送应用操作数据,应用操作数据包括用户输入的操作指令以及应用界面的显示数据;
接收模块802,用于接收服务器发送的同步投屏数据;
处理模块803,用于根据同步投屏数据确定与投屏设备同步显示的应用界面。
在一种可能的设计中,在发送模块801,用于按预设周期向服务器发送应用操作数据之前,还包括:
发送模块801,还用于向投屏设备发送投屏指令,投屏指令包括用户端中登录的目标用户标识。
在一种可能的设计中,在发送模块801,还用于向投屏设备发送投屏指令之前,还包括:
发送模块801,还用于向投屏设备发送能力确认请求,能力确认请求用于确定投屏设备支持投屏方法;
接收模块802,还用于接收投屏设备发送的能力确认信息,以确定投屏设备支持目标应用的投屏要求。
在一种可能的设计中,在发送模块801,还用于向投屏设备发送能力确认请求之前,还包括:
处理模块803,还用于利用实时流传输协议RTSP与投屏设备建立协商连接;
对应的,投屏设备与第六方面的应用界面投屏装置的数据交互都通过RTSP进行。
在一种可能的设计中,在处理模块803,还用于利用实时流传输协议RTSP与投屏设备建立协商连接之前,还包括:处理模块803,还用于监测到启动的目标应用为帧同步类型的对战游戏。
值得说明的,本实施例提供的应用界面投屏装置800,可用于执行上述任一方法实施例中用户端侧的步骤,具体实现方式和技术效果类似,这里不再赘述。
图9为本申请实施例提供的一种示例性的投屏设备的结构图。如图9所示,本实施例提供的投屏设备900包括:处理器901、存储器902、通信接口903以及总线904。
其中,处理器901、存储器902和通信接口903之间通过总线904连接并完成相互间的通信,存储器902中用于存储计算机执行指令,设备运行时,处理器901执行存储器902中的计算机执行指令以利用设备中的硬件资源执行图3和图5对应的应用界面投屏方法中投屏设备侧的步骤。
图10为本申请实施例提供的一种示例性的服务器的结构图。如图10所示,本实施例提供的服务器1000包括:处理器1001、存储器1002、通信接口1003以及总线1004。
其中,处理器1001、存储器1002和通信接口1003之间通过总线1004连接并完成相互间的通信,存储器1002中用于存储计算机执行指令,设备运行时,处理器1001执行存储器1002中的计算机执行指令以利用设备中的硬件资源执行图3和图5对应的应用界面投屏方法中服务器侧的步骤。
图11为本申请实施例提供的一种示例性的用户端设备的结构图。如图11所示,本实施例提供的用户端设备1100包括:处理器1101、存储器1102、通信接口1103以及总线1104。
其中,处理器1101、存储器1102和通信接口1103之间通过总线1104连接并完成相互间的通信,存储器1102中用于存储计算机执行指令,设备运行时,处理器1101执行存储器1102中的计算机执行指令以利用设备中的硬件资源执行图3-图5对应的应用界面投屏方法中服务器侧的步骤。
本申请实施例另一方面还提供一种应用界面投屏系统,包括图9所示的投屏设备、图10所示的服务器,以及图11所示的用户端。
本申请实施例又一方面还提供一种计算机可读介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行图3和图5对应的应用界面投屏方法中投屏设备侧的步骤。
本申请实施例又一方面还提供一种计算机可读介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行图3和图5对应的应用界面投屏方法中服务器侧的步骤。
本申请实施例又一方面还提供一种计算机可读介质,计算机可读存储介质中存储有指 令,当其在计算机上运行时,使得计算机执行图3和图5对应的应用界面投屏方法中用户端侧的步骤。
本申请实施例再一方面还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现图3和图5对应的应用界面投屏方法中投屏设备侧的应用界面投屏方法。
本申请实施例再一方面还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现图3和图5对应的应用界面投屏方法中服务器侧的应用界面投屏方法。
本申请实施例再一方面还提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现图3和图5对应的应用界面投屏方法中用户端侧的应用界面投屏方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (31)

  1. 一种应用界面投屏方法,其特征在于,应用于投屏设备,包括:
    接收服务器发送的同步投屏数据,所述同步投屏数据包括用户端集合中各个用户端所输入的操作数据;
    根据所述同步投屏数据显示目标应用界面,以使所述投屏设备同步显示目标用户端当前所显示的应用界面,其中,所述目标用户端为所述用户端集合中的至少一个用户端。
  2. 根据权利要求1所述的应用界面投屏方法,其特征在于,在所述接收服务器发送的同步投屏数据之前,还包括:
    接收所述目标用户端发送的投屏指令;
    根据所述投屏指令与所述服务器建立连接,以通过所述连接接收所述服务器发送的所述同步投屏数据。
  3. 根据权利要求2所述的应用界面投屏方法,其特征在于,所述投屏指令包括目标用户端中的目标用户标识以及所对应的目标应用的应用信息;所述根据所述投屏指令与所述服务器建立连接包括:
    根据所述应用信息启动所述目标应用;
    在所述目标应用中通过所述目标用户标识建立与所述服务器的所述连接。
  4. 根据权利要求3所述的应用界面投屏方法,其特征在于,所述接收服务器发送的同步投屏数据,包括:
    根据投屏标识接收所述服务器发送的所述同步投屏数据,所述投屏标识与所述目标用户标识相关联。
  5. 根据权利要求4所述的应用界面投屏方法,其特征在于,所述在所述目标应用中通过所述目标用户标识建立与所述服务器的所述连接,包括:
    根据所述目标用户标识确定投屏请求,所述投屏请求用于向所述服务器获取所述投屏标识;
    向所述服务器发送所述投屏请求,以建立所述连接。
  6. 根据权利要求5所述的应用界面投屏方法,其特征在于,在所述建立所述连接之后,还包括:
    接收所述服务器发送的初始同步数据,所述初始同步数据包括含有所述投屏标识的操作数据;
    运行所述初始同步数据,以显示所述目标应用中的初始画面。
  7. 根据权利要求2-6中任意一项所述的应用界面投屏方法,其特征在于,所述接收所述目标用户端发送的投屏指令,包括:
    利用实时流传输协议RTSP,与所述目标用户端建立协商连接;
    接收以所述RTSP传递的所述投屏指令。
  8. 根据权利要求7所述的应用界面投屏方法,其特征在于,在所述接收以所述RTSP传递的所述投屏指令之前,还包括:
    暂停当前正在播放的媒体流。
  9. 根据权利要求8所述的应用界面投屏方法,其特征在于,在所述暂停当前正在播放的视频流之后,还包括:
    确定所述目标应用为帧同步类型的对战游戏或使用高清视频的应用;
    对应的,所述操作数据包括操作指令。
  10. 根据权利要求9所述的应用界面投屏方法,其特征在于,所述投屏标识包括观战标识,当所述目标应用为帧同步类型的对战游戏时,所述观战标识用于在观战模式下对所述目标应用界面进行显示。
  11. 一种应用界面投屏方法,其特征在于,应用于服务器,包括:
    以预设周期采集用户端集合中各个用户端所输入的操作数据;
    根据各个用户端所输入的操作数据确定同步投屏数据;
    发送所述同步投屏数据。
  12. 根据权利要求11所述的应用界面投屏方法,其特征在于,在所述发送所述同步投屏数据之前,还包括:
    与投屏设备建立连接;
    对应的,所述发送所述同步投屏数据,包括:
    通过所述连接向所述投屏设备发送所述同步投屏数据。
  13. 根据权利要求12所述的应用界面投屏方法,其特征在于,在所述与投屏设备建立连接之前,还包括:
    接收所述投屏设备发送的投屏请求,所述投屏请求包括目标用户端对应的目标用户标识;
    根据所述目标用户标识确定对应的投屏标识;
    对应的,所述与投屏设备建立连接,包括:
    通过所述投屏标识与所述投屏设备建立连接。
  14. 根据权利要求13所述的应用界面投屏方法,其特征在于,在所述通过所述投屏标识与所述投屏设备建立连接之后,还包括:
    向所述投屏设备发送初始同步数据,以使所述投屏设备显示所述目标用户端中的目标应用的初始画面。
  15. 根据权利要求11-14中任意一项所述的应用界面投屏方法,其特征在于,所述发送所述同步投屏数据,包括:
    以帧同步的方式向用户端集合以及投屏设备发送所述同步投屏数据。
  16. 一种应用界面投屏方法,其特征在于,应用于用户端,包括:
    按预设周期向服务器发送应用操作数据,所述应用操作数据包括用户输入的操作指令以及应用界面的显示数据;
    接收服务器发送的同步投屏数据;
    根据所述同步投屏数据确定与投屏设备同步显示的所述应用界面。
  17. 根据权利要求16所述的应用界面投屏方法,其特征在于,在所述按预设周期向服务器发送应用操作数据之前,还包括:
    向所述投屏设备发送投屏指令,所述投屏指令包括所述用户端对应的目标用户标识。
  18. 根据权利要求17所述的应用界面投屏方法,其特征在于,在所述向所述投屏设备发送投屏指令之前,还包括:
    向所述投屏设备发送能力确认请求,所述能力确认请求用于确定所述投屏设备支持所 述应用界面投屏方法;
    接收所述投屏设备发送的能力确认信息,以确定所述投屏设备支持目标应用的投屏要求。
  19. 根据权利要求18所述的应用界面投屏方法,其特征在于,在所述向所述投屏设备发送能力确认请求之前,还包括:
    利用实时流传输协议RTSP与所述投屏设备建立协商连接;
    对应的,所述投屏设备与所述用户端的数据交互都通过所述RTSP进行。
  20. 根据权利要求19所述的应用界面投屏方法,其特征在于,在所述利用实时流传输协议RTSP与所述投屏设备建立协商连接之前,还包括:
    监测到启动的所述目标应用为帧同步类型的对战游戏或使用高清视频的应用。
  21. 一种应用界面投屏装置,其特征在于,包括:
    接收模块,用于接收服务器发送的同步投屏数据,所述同步投屏数据包括用户端集合中各个用户端所输入的操作数据;
    处理模块,用于根据所述同步投屏数据显示目标应用界面,以使所述投屏设备同步显示目标用户端当前所显示的应用界面,其中,所述目标用户端为所述用户端集合中的至少一个用户端。
  22. 一种应用界面投屏装置,其特征在于,包括:
    接收模块,用于以预设周期采集用户端集合中各个用户端所输入的操作数据;
    处理模块,用于根据各个用户端所输入的操作数据确定同步投屏数据;
    发送模块,用于向所述用户端集合以及投屏设备发送所述同步投屏数据。
  23. 一种应用界面投屏装置,其特征在于,包括:
    发送模块,用于按预设周期向服务器发送应用操作数据,所述应用操作数据包括用户输入的操作指令以及应用界面的显示数据;
    接收模块,用于接收服务器发送的同步投屏数据;
    处理模块,用于根据所述同步投屏数据确定与投屏设备同步显示的所述应用界面。
  24. 一种投屏设备,其特征在于,包括:
    处理器、存储器;
    存储器用于存储程序和数据,所述处理器调用存储器存储的程序,以执行权利要求1至10任一项所述的应用界面投屏方法。
  25. 一种服务器,其特征在于,包括:
    处理器、存储器;
    存储器用于存储程序和数据,所述处理器调用存储器存储的程序,以执行权利要求11至15任一项所述的应用界面投屏方法。
  26. 一种用户端设备,其特征在于,包括:
    处理器、存储器;
    存储器用于存储程序和数据,所述处理器调用存储器存储的程序,以执行权利要求16至20任一项所述的应用界面投屏方法。
  27. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括程序,所述程序在被处理器执行时用于执行权利要求1至10任一项所述的应用界面投屏方法。
  28. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括程序,所述程序在被处理器执行时用于执行权利要求11至15任一项所述的应用界面投屏方法。
  29. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括程序,所述程序在被处理器执行时用于执行权利要求16至20任一项所述的应用界面投屏方法。
  30. 一种计算机程序产品,包括计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1-20中任意一项所述的应用界面投屏方法。
  31. 一种程序产品,其特征在于,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,通信装置的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得通信装置实施如权利要求1-10任意一项所述的方法或者如权利要求11-15任意一项所述的方法或者如权利要求16-20任意一项所述的方法。
PCT/CN2021/132164 2020-11-25 2021-11-22 应用界面投屏方法、装置、设备以及存储介质 WO2022111421A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011343865.XA CN114546308A (zh) 2020-11-25 2020-11-25 应用界面投屏方法、装置、设备以及存储介质
CN202011343865.X 2020-11-25

Publications (1)

Publication Number Publication Date
WO2022111421A1 true WO2022111421A1 (zh) 2022-06-02

Family

ID=81659645

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/132164 WO2022111421A1 (zh) 2020-11-25 2021-11-22 应用界面投屏方法、装置、设备以及存储介质

Country Status (2)

Country Link
CN (1) CN114546308A (zh)
WO (1) WO2022111421A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115087132A (zh) * 2022-06-08 2022-09-20 苏州华启智能科技有限公司 基于Miracast投屏方法、电子设备及系统
CN115964011A (zh) * 2023-03-16 2023-04-14 深圳市湘凡科技有限公司 基于多屏协同的显示应用界面的方法及相关装置
CN116578256A (zh) * 2023-05-16 2023-08-11 润芯微科技(江苏)有限公司 一种投屏方法及投屏设备、投屏控制系统
CN116828242A (zh) * 2023-08-30 2023-09-29 亿咖通(湖北)技术有限公司 长链路投屏方法、系统及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180192122A1 (en) * 2017-01-05 2018-07-05 Blackfire Research Corporation Enhanced home media experience using a wireless media hub
CN110876080A (zh) * 2018-08-30 2020-03-10 华为技术有限公司 视频投屏方法、装置、计算机设备及存储介质
CN111327934A (zh) * 2020-02-28 2020-06-23 海信集团有限公司 通信终端、控制设备及视频多设备同步播放方法
CN111984215A (zh) * 2020-08-19 2020-11-24 Oppo广东移动通信有限公司 多媒体数据播放方法、终端及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828139A (zh) * 2016-04-06 2016-08-03 乐视控股(北京)有限公司 一种视频投屏方法及装置
CN111901674B (zh) * 2020-07-13 2021-08-03 腾讯科技(深圳)有限公司 一种视频播放控制方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180192122A1 (en) * 2017-01-05 2018-07-05 Blackfire Research Corporation Enhanced home media experience using a wireless media hub
CN110876080A (zh) * 2018-08-30 2020-03-10 华为技术有限公司 视频投屏方法、装置、计算机设备及存储介质
CN111327934A (zh) * 2020-02-28 2020-06-23 海信集团有限公司 通信终端、控制设备及视频多设备同步播放方法
CN111984215A (zh) * 2020-08-19 2020-11-24 Oppo广东移动通信有限公司 多媒体数据播放方法、终端及存储介质

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115087132A (zh) * 2022-06-08 2022-09-20 苏州华启智能科技有限公司 基于Miracast投屏方法、电子设备及系统
CN115964011A (zh) * 2023-03-16 2023-04-14 深圳市湘凡科技有限公司 基于多屏协同的显示应用界面的方法及相关装置
CN115964011B (zh) * 2023-03-16 2023-06-06 深圳市湘凡科技有限公司 基于多屏协同的显示应用界面的方法及相关装置
CN116578256A (zh) * 2023-05-16 2023-08-11 润芯微科技(江苏)有限公司 一种投屏方法及投屏设备、投屏控制系统
CN116578256B (zh) * 2023-05-16 2023-10-24 润芯微科技(江苏)有限公司 一种投屏方法及投屏设备、投屏控制系统
CN116828242A (zh) * 2023-08-30 2023-09-29 亿咖通(湖北)技术有限公司 长链路投屏方法、系统及存储介质
CN116828242B (zh) * 2023-08-30 2023-12-05 亿咖通(湖北)技术有限公司 长链路投屏方法、系统及存储介质

Also Published As

Publication number Publication date
CN114546308A (zh) 2022-05-27

Similar Documents

Publication Publication Date Title
WO2022111421A1 (zh) 应用界面投屏方法、装置、设备以及存储介质
AU2019240571B2 (en) Reduced latency server-mediated audio-video communication
CN110874959B (zh) 一种多终端同屏教学系统及教学方法
US9913301B2 (en) Content sharing method and device
US9172979B2 (en) Experience or “sentio” codecs, and methods and systems for improving QoE and encoding based on QoE experiences
US20020112244A1 (en) Collaborative video delivery over heterogeneous networks
CN110535871B (zh) 一种基于WebRTC的课堂实时视频投影方法及系统
CN107104947B (zh) 多屏互动方法
US20230144936A1 (en) Smart screen reverse projection method, system, device, smart screen and readable storage medium
WO2017075956A1 (zh) 内容投射方法及移动终端
WO2021204139A1 (zh) 视频显示方法、装置、设备和存储介质
KR20140103156A (ko) 멀티미디어 서비스를 이용하기 위한 시스템, 장치 및 방법
WO2015180446A1 (zh) 一种多设备联动服务中的连接通道维护系统及方法
US9832422B2 (en) Selective recording of high quality media in a videoconference
KR20130099515A (ko) 키 프레임을 이용하여 컨텐츠를 재생하는 단말기의 장치 및 방법
CN114554277B (zh) 多媒体的处理方法、装置、服务器及计算机可读存储介质
JP2020174378A (ja) 異種ネットワーキング環境におけるメディアレンダリングの同期化
EP3089459A1 (en) Apparatus and method for implementing video-on-demand quick switching among multiple screens
CN115499693A (zh) 多屏异显的控制方法及装置、系统、存储介质、电子设备
CN115857854A (zh) 显示设备及投屏画面切换方法
WO2024046584A1 (en) Method of joint viewing remote multimedia content
CN109788234A (zh) 一种多通道网络远程视频流的调度、展现方法
CN117714764A (zh) 一种视频播放方法、装置、设备及存储介质
CN115604496A (zh) 一种显示设备、直播切台方法及存储介质
CN116962772A (zh) 屏幕共享方法及装置、电子设备、存储介质、程序产品

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: 21896922

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: 21896922

Country of ref document: EP

Kind code of ref document: A1