WO2022247260A1 - Screen casting method and screen casting device - Google Patents

Screen casting method and screen casting device Download PDF

Info

Publication number
WO2022247260A1
WO2022247260A1 PCT/CN2021/141267 CN2021141267W WO2022247260A1 WO 2022247260 A1 WO2022247260 A1 WO 2022247260A1 CN 2021141267 W CN2021141267 W CN 2021141267W WO 2022247260 A1 WO2022247260 A1 WO 2022247260A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen projection
screen
target device
source device
authorization information
Prior art date
Application number
PCT/CN2021/141267
Other languages
French (fr)
Chinese (zh)
Inventor
周学艺
Original Assignee
华为云计算技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为云计算技术有限公司 filed Critical 华为云计算技术有限公司
Publication of WO2022247260A1 publication Critical patent/WO2022247260A1/en

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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network

Definitions

  • the present application relates to the field of computer technology, and in particular to a screen projection method and a screen projection device.
  • Screen casting (screen casting) technology refers to first connecting the screen casting target device to the wireless network in the use environment (home, office, hotel, etc.), and the screen casting source device passes through the digital living network alliance (digital living network alliance). , DLNA) and other protocols send the screen projection data (for example, the screen image of the screen projection source device) to the screen projection target device, and the screen projection target device outputs and plays the screen projection data locally, so as to realize the screen content projection of the screen projection source device to the function displayed on the screen-casting target device.
  • digital living network alliance digital living network alliance
  • DLNA digital living network alliance
  • the screen projection target device displays the screen projection authorization information, such as the screen projection QR code.
  • the user scans the screen projection QR code with the screen projection source device, and the screen projection source device sends the screen projection to the screen projection target device based on the acquired screen projection QR code.
  • the screen projection target device passes the verification of the screen projection QR code carried in the screen projection request, it sends channel authorization screen information to the screen projection source device, and then the screen projection source device can use the channel authorization screen information to update the projection screen.
  • the screen data is encrypted and sent to the target device for screen projection. In this way, the user needs to manually perform the verification operation every time the screen is projected, and the operation is cumbersome.
  • the present application provides a screen projection method and a screen projection device, which are used to solve the problem in the prior art that a user needs to manually perform a verification operation for each screen projection, and the operation is cumbersome.
  • the present application provides a screen projection method, which can be executed by a service device.
  • the service device can be a server, and the server can include physical devices such as hosts or processors, or virtual devices such as virtual machines or containers. devices, which may also include chips or integrated circuits.
  • the screen projection method can also be executed by components of the server, for example, implemented by components such as a processing device, a circuit, and a chip in the server.
  • the screen projection method includes: when receiving a device association request from the proxy device, the service device sends an identifier of at least one associated device that has an association relationship with the proxy device to the proxy device;
  • the proxy screen projection request of the device, the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; at least one of the associated devices includes the screen projection source device; the service device sends the projection screen to the screen projection source device
  • the screen event notification, the screen projection event notification is used to instruct the screen projection source device to send screen projection data to the screen projection target device according to the screen projection authorization information included in the screen projection event notification, and the screen projection data is displayed on the screen projection target device.
  • the proxy device assists the screen projection source device to obtain the screen projection authorization information of the screen projection target device, and sends the screen projection authorization information to the service device, and the service device sends a screen projection event notification to the screen projection source device, and the screen projection
  • the event notification includes screen projection authorization information, so that the screen projection source device can transmit screen projection data with the screen projection target device according to the screen projection authorization information in the screen projection event notification.
  • the user does not need to scan the projection QR code on the projection target device through the projection source device, or enter the projection code on the projection target device in the projection source device, which reduces user operations and helps to improve user experience.
  • the proxy device can obtain the screen projection authorization information of the screen projection target device for each of the multiple screen projection source devices, so as to realize the unified proxy of the proxy device.
  • the proxy device can be used for management personnel Unified scheduling of different screen projection source devices to switch the screen projection to the screen projection target device, without the need for each user to manually verify authorization, and also helps to avoid the situation of user operation preemption.
  • the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  • the method before the service device sends the screen projection event notification to the screen projection source device, the method further includes: the service device determines that the screen projection source device is one of the associated devices.
  • the service device after receiving the proxy screen projection request from the proxy device, the service device can verify whether the proxy device has an association relationship with the screen projection source device, thereby helping to ensure that only the screen projection source device has an association relationship
  • the proxy device can obtain the screen projection authorization information for the screen projection source device.
  • the service device after the service device sends the screen projection event notification to the screen projection source device, it further includes: the service device receives a first screen projection request from the screen projection source device, and the first screen projection request includes the projection Screen authorization information and the identification of the screen projection source device; when the screen projection target device is not idle, the service device will add the screen projection source device identification to the queue of the service device to be screen projection.
  • it also includes: when the screen projection target device is in an idle state, the service device obtains the channel authorization information of the screen projection target device from the screen projection target device, and sends the channel authorization information to the screen projection target device.
  • Screen source device channel authorization information is used for screen projection source device to encrypt screen projection data.
  • the service device can determine whether to request the screen projection target device immediately according to the screen projection status (including idle state and non-idle state) of the screen projection target device.
  • Channel authorization information of the screencasting target device In one case, if the screen-casting target device is not in an idle state, the service device may add the identity of the screen-casting source device to the waiting screen-casting queue of the service device, and when the screen-casting target device is in an idle state, indicate The screen projection source device requests the channel authorization information of the screen projection target device again. Therefore, the screen projection source device does not need to request the screen projection target device for multiple times, reducing the number of failed screen projection requests from the screen projection source device.
  • the service device can instruct the screen-casting source device to request the channel authorization information of the screen-casting target device again, reducing the waiting time of the screen-casting source device.
  • the service device can adjust the screen projection order of multiple screen projection source devices based on the priority of multiple screen projection source devices, which helps to avoid the situation of user operation preemption. This method does not require the user of the screen-casting source device to manually check the screen-casting status of the current screen-casting target device, which helps to improve user experience. In the case that multiple screen projection source devices need to cast screens sequentially, it is helpful to quickly switch and cast screens for screen projection target devices.
  • the service device before the service device adds the identity of the screen-casting source device to the screen-to-be-cast queue of the service device, it further includes: the service device monitors the screen-casting status of the screen-casting target device, and determines the screen-casting target device In a non-idle state; or, the service device sends a first screen projection request to the screen projection target device, and receives a rejection response from the screen projection target device, where the rejection response is used to indicate that the screen projection target device is in a non-idle state.
  • the service device obtains channel authorization information from the screen projection target device, including: the service device sends a first screen projection request to the screen projection target device; the service device receives the channel authorization information of the screen projection target device.
  • the present application provides a screen projection method, which can be executed by a service device, the service device can be a server, and the server can include physical devices such as hosts or processors, or virtual devices such as virtual machines or containers. devices, which may also include chips or integrated circuits.
  • the screen projection method can also be executed by components of the server, for example, implemented by components such as a processing device, a circuit, and a chip in the server.
  • the screen projection method includes: when receiving a device association request from the proxy device, the service device sends an identifier of at least one associated device that has an association relationship with the proxy device to the proxy device;
  • the proxy screen projection request of the device, the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; at least one of the associated devices includes the screen projection source device;
  • the service device according to the screen projection authorization information, from The channel authorization information of the screen projection target device is obtained from the screen projection target device, and the channel authorization information is sent to the screen projection source device; the channel authorization information is used by the screen projection source device to encrypt the projection data and send the encrypted projection data to the projection screen
  • the target device the projection data is displayed on the target device.
  • the service device obtains the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, including: the service device sends a channel authorization request to the screen projection target device, and the channel authorization request includes screen projection authorization information, and the channel authorization request is used to request channel authorization information of the screen projection target device from the screen projection target device; the service device receives the channel authorization information from the screen projection target device.
  • the proxy device assists the screen projection source device to obtain the screen projection authorization information of the screen projection target device, and sends the screen projection authorization information to the service device, and the service device obtains the screen projection authorization information from the screen projection target device according to the screen projection authorization information.
  • the channel authorization information of the screen projection target device sends the channel authorization information to the screen projection source device, so that the screen projection source device can transmit screen projection data with the screen projection target device according to the screen projection authorization information.
  • the user does not need to scan the projection QR code on the projection target device through the projection source device, or enter the projection code on the projection target device in the projection source device, which reduces user operations and helps to improve user experience.
  • the proxy device can obtain the screen projection authorization information of the screen projection target device for each of the multiple screen projection source devices, so as to realize the unified proxy of the proxy device.
  • the proxy device can be used for management personnel Unified scheduling of different screen projection source devices to switch the screen projection to the screen projection target device, without the need for each user to manually verify authorization, and also helps to avoid the situation of user operation preemption.
  • the service device receives the proxy screen projection request sent by the proxy device, it does not need to send a screen projection event notification to the screen projection source device, but directly requests channel authorization information from the screen projection target device, which helps to reduce signaling interactions.
  • the present application provides a screen projection method, which can be executed by a proxy device, and the proxy device can be a terminal device, such as a user terminal (such as a mobile phone, a computer, etc.).
  • a proxy device can be a terminal device, such as a user terminal (such as a mobile phone, a computer, etc.).
  • the screen projection method includes: the proxy device obtains the screen projection authorization information of the screen projection target device; when the proxy device receives an indication of the proxy request for screen projection, it obtains from the service device the information associated with the proxy device.
  • the method before the agent device receives the first user operation, the method further includes: the agent device displays an identifier of at least one associated device on a display interface of the agent device.
  • the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  • the present application provides a screen projection method, which can be executed by a screen projection source device, and the screen projection source device can be a terminal device, such as a user terminal (such as a mobile phone, a computer, etc.).
  • a screen projection source device can be a terminal device, such as a user terminal (such as a mobile phone, a computer, etc.).
  • the screen projection method includes: the screen projection source device receives a screen projection event notification from the service device, the screen projection event notification includes the screen projection authorization information, and the screen projection event notification is a response from the service device to the proxy device.
  • the screen projection source device and the proxy device have an association relationship; the screen projection source device sends the screen projection data of the screen projection source device to the screen projection target device according to the screen projection authorization information, and the screen projection data is in displayed on the target device.
  • the source device before the screen projection source device sends the screen projection data of the screen projection source device to the screen projection target device according to the screen projection authorization information, the source device further includes: prompting the user according to the screen projection event notification Whether to agree to screen projection; the screen projection source device receives the instruction that the user agrees to screen projection.
  • the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  • the screen projection source device sends the screen projection data of the screen projection source device to the screen projection target device according to the screen projection authorization information, including: the screen projection source device sends the screen projection data to the screen projection target device according to the screen projection authorization information.
  • the device sends the first screen projection request, which includes the screen projection authorization information and the identification of the screen projection source device; the screen projection source device receives the channel authorization information from the screen projection target device; the screen projection source device receives the channel authorization information according to the channel authorization information Encrypt the screen projection data, and send the encrypted screen projection data to the screen projection target device.
  • the screen projection source device sends a first screen projection request to the screen projection target device via the service device; the screen projection source device receives channel authorization information of the screen projection target device forwarded from the service device.
  • the present application provides a screen projection method, which can be executed by a screen projection target device, and the screen projection target device can be a terminal device, such as a screen projection device, a large-screen device, or a large-screen device Wait.
  • the screen projection method includes: the screen projection target device receives a first screen projection request from the screen projection source device, and the first screen projection request includes the screen projection authorization information of the screen projection target device and the screen projection
  • the identification of the source device, the screen projection authorization information is used by the screen projection source device to request the channel authorization information of the screen projection target device from the screen projection target device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data;
  • the screen projection target device adds the identifier of the screen projection source device to the screen projection queue of the screen projection target device.
  • the method further includes: when the screen projection target device is in an idle state, the screen projection target device sends channel authorization information to the screen projection source device.
  • the screen projection target device receives the first screen projection request of the screen projection source device forwarded by the service device; the screen projection target device sends channel authorization information to the screen projection source device via the service device.
  • the screen projection target device when the screen projection source device requests screen projection from the screen projection target device, the screen projection target device can determine whether to send the screen projection to the screen projection source device according to the screen projection state (including idle state and non-idle state) of the screen projection target device. Send the channel authorization information of the screencasting target device. In one case, if the screen-casting target device is not idle, the screen-casting target device can add the identity of the screen-casting source device to the screen-casting queue of the screen-casting target device, and when the screen-casting target device is idle state, instructs the screen-casting source device to request the channel authorization information of the screen-casting target device again.
  • the screen projection target device can add the identity of the screen-casting source device to the screen-casting queue of the screen-casting target device, and when the screen-casting target device is idle state, instructs the screen-casting source device to request the channel authorization information of the screen-casting target device again.
  • the screen projection source device does not need to request the screen projection target device for multiple times, reducing the number of failed screen projection requests from the screen projection source device.
  • the screen-casting target device switches from the non-idle state to the idle state, the screen-casting target device can instruct the screen-casting source device to request channel authorization information from the screen-casting target device again, reducing the waiting time of the screen-casting source device.
  • the screen projection target device can adjust the screen projection order of multiple screen projection source devices based on the priority of multiple screen projection source devices, which helps to avoid the situation of user operation preemption.
  • the present application provides a screen projection method, which can be executed by a service device, and the service device can be a server, and the server can include physical devices such as hosts or processors, or virtual devices such as virtual machines or containers. devices, which may also include chips or integrated circuits.
  • the screen projection method can also be executed by components of the server, for example, implemented by components such as a processing device, a circuit, and a chip in the server.
  • the service device sends the information of the first screen-casting target device to the screen-casting source device, and the information of the first screen-casting target device includes the identifier of the first screen-casting target device; the first screen-casting target The device has an association relationship with the screen-casting source device; the service device receives the second screen-casting request from the screen-casting source device; the second screen-casting request contains the identity of the second screen-casting target device; the second screen-casting target device is idle The first receiving device in the state; the service device obtains the channel authorization information of the second screen projection target device from the second screen projection target device according to the identification of the second screen projection target device; the service device sends the channel authorization information to the screen projection source device , the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the second screen projection target device.
  • the screen projection authorization information of the device reduces user operations and helps to realize automatic and fast screen projection.
  • the service device before the service device sends the information of the first screen projection target device to the screen projection source device, it further includes: the service device determines a third screen projection target device that maintains a signaling channel connection with the service device; The device determines the first target device for screen projection from the third target device for screen projection.
  • the service device determines the first screen projection target device from the third screen projection target device, including: the service device sends an identifier of the third screen projection target device to the screen projection source device; the service device Receive an association request from the screen projection source device, where the association request includes the target ID determined by the screen projection source device from the ID of the third screen projection target device; the service device determines the third screen projection target device corresponding to the target ID as The target device for the first projection.
  • the service device determining the first screen projection target device from the third screen projection target device includes: the service device determining the third screen projection target device as the first screen projection target device.
  • the service device determines the first screen projection target device from the third screen projection target device, including: the service device determines that the third screen projection target device belongs to the same area as the screen projection source device The third target device for screen projection is determined as the first target device for screen projection.
  • the service device obtains the channel authorization information of the second screen projection target device from the second screen projection target device according to the identifier of the second screen projection target device, including: the service device obtains the channel authorization information of the second screen projection target device according to the second screen projection target device The identifier of the target device sends a third screen projection request to the second screen projection target device; the service device receives the channel authorization information of the second screen projection target device that the second screen projection target device responds to the third screen projection request.
  • the service device before the service device sends the information of the first screen projection target device to the screen projection source device, it includes: the service device monitors the screen projection status of the first screen projection target device, and obtains the first screen projection target device The screen projection status information of the screen projection status information indicates whether the first screen projection target device is in an idle state.
  • the information of the first screen-casting target device further includes screen-casting state information of the first screen-casting target device.
  • the service device can monitor the screen projection status of the first screen projection target device, obtain the screen projection status information of the first screen projection target device, and then send the information of the first screen projection target device to the screen projection source device It carries the screen projection status information of the first screen projection target device, so that the screen projection source device can determine the second screen projection target device from the first screen projection target device in the idle state, that is, the second screen projection target device is idle state.
  • the screen projection source device requests the second screen projection target device for screen projection, the success rate of screen projection is increased.
  • the service device sends the information of the first screen projection target device to the screen projection source device, including: the service device obtains the first screen projection target device whose screen projection status information indicates an idle state; The ID of the screen target device and send it to the screen projection source device.
  • the service device may determine the first screen-casting target device that is in an idle state from the first screen-casting target devices according to the screen-casting status of the first screen-casting target device, and send the first screen-casting target device
  • the ID of the screen projection is sent to the screen projection source device, so that the screen projection source device can determine the second screen projection target device from the first screen projection target device in an idle state, that is, the second screen projection target device is in an idle state.
  • the screen projection source device requests the second screen projection target device for screen projection, the success rate of screen projection is increased.
  • the present application provides a screen projection method, which can be executed by a screen projection source device, and the screen projection source device can be a terminal device, such as a user terminal (such as a mobile phone, a computer, etc.).
  • a screen projection source device can be a terminal device, such as a user terminal (such as a mobile phone, a computer, etc.).
  • the screen projection method includes: the screen projection source device receives information of a first screen projection target device from the service device, the information of the first screen projection target device includes an identifier of the first screen projection target device, The first screen-casting target device has an association relationship with the screen-casting source device; the screen-casting source device sends a second screen-casting request to the service device, and the second screen-casting request contains the identity of the second screen-casting target device, and the second screen-casting target The device is the first screen projection target device in an idle state; the screen projection source device receives the channel authorization information of the second screen projection target device from the service device; the screen projection source device encrypts the screen projection data according to the channel authorization information and encrypts the encrypted The screen projection data is sent to the second screen projection target device.
  • the screen projection source device before the screen projection source device sends the second screen projection request to the service device, it further includes: the screen projection source device displays the identifier of the first screen projection target device on a display interface of the screen projection source device; The screen projection source device receives a second user operation, and the second user operation is that the user selects one of the identifiers of the first screen projection target device in the display interface of the screen projection source device; the screen projection source device converts the first screen projection target selected by the user The identifier of the device is used as the identifier of the second target device for screen projection.
  • the information of the first screen projection target device further includes screen projection state information of the first screen projection target device, and the screen projection state information indicates whether the first screen projection target device is in an idle state.
  • the present application provides a screen projection method.
  • the screen projection method can be executed by a second screen projection target device.
  • the second screen projection target device can be a terminal device, such as a screen projection device, a large screen device, Large screen devices, etc.
  • the screen projection method includes: the second screen projection target device receives a third screen projection request from the service device, and the service device maintains a signaling channel connection with the second screen projection target device; In response to the third screen projection request, the screen projection target device sends channel authorization information of the second screen projection target device to the service device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to The target device for the second projection.
  • the second screen projection target device receives the screen projection data encrypted from the screen projection source device according to channel authorization information, and displays the screen projection data.
  • the present application provides a screen projection device, including:
  • transceiver unit and processing unit
  • the processing unit is configured to control the transceiver unit to send to the proxy device an identifier of at least one associated device that has an association relationship with the proxy device when the transceiver unit receives a request for an associated device from the proxy device; the processing unit further uses Therefore, the control transceiving unit receives the proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; wherein at least one associated device includes the screen projection source device; processing The unit is also used to control the sending and receiving unit to send a screen projection event notification to the screen projection source device, and the screen projection event notification is used to instruct the screen projection source device to send the screen projection to the screen projection target device according to the screen projection authorization information included in the screen projection event notification. Data, screen projection data is displayed on the screen projection target device.
  • the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  • the processing unit controls the transceiving unit to send a screen projection event notification to the screen projection source device, it is further configured to: determine that the screen projection source device is one of at least one associated device.
  • the processing unit controls the transceiver unit to send a screen projection event notification to the screen projection source device, it is further configured to: control the transceiver unit to receive the first screen projection request from the screen projection source device, and the first screen projection
  • the screen request includes screen projection authorization information and the identification of the screen projection source device; if the screen projection target device is not in an idle state, add the screen projection source device identification to the screen projection queue of the screen projection device.
  • the processing unit is further configured to: obtain channel authorization information of the screen projection target device from the screen projection target device when the screen projection target device is in an idle state, and control the transceiver unit to authorize the channel The information is sent to the screen projection source device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data.
  • the processing unit before the processing unit adds the identification of the screen projection source device to the screen projection queue of the screen projection device, it is also used to: monitor the screen projection status of the screen projection target device, and determine the screen projection target device In a non-idle state; or, the control transceiver unit sends a first screen projection request to the screen projection target device, and receives a rejection response from the screen projection target device, and the rejection response is used to indicate that the screen projection target device is in a non-idle state.
  • the present application provides a screen projection device, including:
  • transceiver unit and processing unit
  • the processing unit is configured to control the transceiver unit to send to the proxy device an identifier of at least one associated device that has an association relationship with the proxy device when the transceiver unit receives a request for an associated device from the proxy device; the processing unit further uses Therefore, the control transceiving unit receives the proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; wherein at least one associated device includes the screen projection source device; processing The unit is also used to obtain the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, and control the transceiver unit to send the channel authorization information to the screen projection source device; the channel authorization information is used by the screen projection source device Encrypt the screen projection data and send the encrypted screen projection data to the screen projection target device, and the screen projection data will be displayed on the screen projection target device.
  • the processing unit is specifically configured to: control the transceiver unit to send a channel authorization request to the screen projection target device, the channel authorization request includes screen projection authorization information, and the channel authorization request is used to request a channel from the screen projection target device Authorization information; controlling the transceiver unit to receive the channel authorization information from the screen projection target device.
  • the present application provides a screen projection device, including:
  • transceiver unit and processing unit
  • the processing unit is configured to acquire the screen-casting authorization information of the screen-casting target device;
  • the device has an identification of at least one associated device with an association relationship;
  • the processing unit is also used to control the transceiver unit to receive a first user operation, the first user operation is for the user to select one of the at least one associated device as the screen projection source device, and control the transceiver unit Send a proxy screen projection request to the service device, the proxy screen projection request includes the screen projection authorization information and the identification of the screen projection source device, and the proxy screen projection request is used to instruct the service device to send a screen projection event notification to the screen projection source device.
  • the processing unit controls the transceiver unit to receive the first user operation, it is further configured to: display an identifier of at least one associated device on a display interface of the screen projection device.
  • the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  • the present application provides a screen projection device, including:
  • transceiver unit and processing unit
  • the processing unit is configured to control the transceiving unit to receive a screen casting event notification from the service device, the screen casting event notification includes screen casting authorization information, and the screen casting event notification It is sent by the service device in response to the proxy device’s proxy screen projection request, and the screen projection device has an association relationship with the proxy device; the processing unit is also used to control the screen projection according to the screen projection authorization information
  • the transceiving unit sends the screen projection data of the screen projection device to the screen projection target device, and the screen projection data is displayed on the screen projection target device.
  • the processing unit controls the transceiving unit to send the screen projection data of the screen projection device to the screen projection target device according to the screen projection authorization information, it is further configured to: according to the A screen projection event notification, prompting the user whether to agree to screen projection; controlling the transceiver unit to receive an indication of the user's consent to screen projection.
  • the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  • the processing unit is specifically configured to: control the transceiver unit to send a first screen projection request to the screen projection target device according to the screen projection authorization information, the first screen projection request includes the screen projection authorization information and the identification of the screen projection source device; controlling the transceiver unit to receive the channel authorization information from the screen projection target device; encrypting the screen projection data according to the channel authorization information, and sending the encrypted screen projection data to the screen projection target device.
  • the processing unit is specifically configured to: control the transceiver unit to send a first screen projection request to the screen projection target device via the service device; control the transceiver unit to receive the screen projection forwarded by the service device Channel authorization information for the target device.
  • the present application provides a screen projection device, including:
  • transceiver unit and processing unit
  • the processing unit controls the transceiving unit to receive a first screen projection request from the screen projection source device, and the first screen projection request includes the screen projection authorization information of the screen projection target device and the identification of the screen projection source device , the screen projection authorization information is used by the screen projection source device to request the channel authorization information of the screen projection target device from the screen projection target device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data; when the screen projection target device is not idle
  • the processing unit adds the identifier of the screen-casting source device to the screen-casting queue of the screen-casting target device.
  • the processing unit is further configured to control the transceiver unit to send channel authorization information to the screen projection source device.
  • the processing unit is specifically configured to control the transceiver unit to receive the first screen projection request of the screen projection source device forwarded by the service device; control the transceiver unit to send channel authorization information to the screen projection source device via the service device .
  • the present application provides a screen projection device, including:
  • transceiver unit and processing unit
  • the processing unit controls the transceiver unit to send the information of the first screen projection target device to the screen projection source device, and the information of the first screen projection target device includes an identifier of the first screen projection target device;
  • the first The screen projection target device has an association relationship with the screen projection source device;
  • the control transceiver unit receives the second screen projection request from the screen projection source device;
  • the second screen projection request contains the identity of the second screen projection target device;
  • the second screen projection target The device is the first receiving device in an idle state; according to the identification of the second screen-casting target device, the channel authorization information of the second screen-casting target device is obtained from the second screen-casting target device; Channel authorization information.
  • the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the second screen projection target device.
  • the processing unit controls the transceiver unit to send the information of the first screen projection target device to the screen projection source device, it is also used to: determine a third screen projection target device that maintains a signaling channel connection with the service device ; Determine the first screen projection target device from the third screen projection target device.
  • the processing unit is specifically configured to: control the transceiver unit to send an identifier of the third screen projection target device to the screen projection source device; control the transceiver unit to receive an association request from the screen projection source device, and the association request includes The screen projection source device determines the target identifier from the identifiers of the third screen projection target device; and determines the third screen projection target device corresponding to the target identifier as the first screen projection target device.
  • the processing unit is specifically configured to: determine the third screen projection target device as the first screen projection target device.
  • the processing unit is specifically configured to: determine, among the third screen projection target devices, a third screen projection target device that belongs to the same area as the screen projection source device as the first screen projection target device.
  • the processing unit is specifically configured to: control the transceiver unit to send a third screen projection request to the second screen projection target device according to the identifier of the second screen projection target device; control the transceiver unit to receive the second screen projection The target device responds to the channel authorization information of the second screen projection target device in response to the third screen projection request.
  • the processing unit controls the transceiver unit to send the information of the first screen projection target device to the screen projection source device, it includes: monitoring the screen projection state of the first screen projection target device, and obtaining the first screen projection target Screen projection status information of the device, where the screen projection status information indicates whether the first screen projection target device is in an idle state.
  • the information of the first screen-casting target device further includes screen-casting state information of the first screen-casting target device.
  • the processing unit is specifically configured to: obtain the identifier of the first screen projection target device whose screen projection state information indicates an idle state among the first screen projection target devices, and control the sending and receiving unit to send to the projection Screen source device.
  • the present application provides a screen projection device, including:
  • transceiver unit and processing unit
  • the processing unit is configured to control the transceiver unit to receive information of a first screen projection target device from the service device, where the information of the first screen projection target device includes an identifier of the first screen projection target device, and the second A screen projection target device has an association relationship with the screen projection source device; the control transceiver unit sends a second screen projection request to the service device, the second screen projection request contains the identity of the second screen projection target device, and the second screen projection target device is The first screen projection target device in an idle state; control the transceiver unit to receive channel authorization information from the second screen projection target device of the service device; encrypt the screen projection data according to the channel authorization information and control the transceiver unit to convert the encrypted screen projection data Send to the second target device for screencasting.
  • the processing unit controls the transceiver unit to send the second screen projection request to the service device, it is further configured to: display the identity of the first screen projection target device on the display interface of the screen projection device; control the transceiver unit Receive a second user operation, the second user operation is the user selects one of the identifiers of the first screen projection target device in the display interface of the screen projection source device; use the identifier of the first screen projection target device selected by the user as the second screen projection The identity of the target device.
  • the information of the first screen projection target device further includes screen projection state information of the first screen projection target device, and the screen projection state information indicates whether the first screen projection target device is in an idle state.
  • the present application provides a screen projection device, including:
  • transceiver unit and processing unit
  • the processing unit is configured to control the transceiver unit to receive the third screen projection request from the service device, and maintain a signaling channel connection between the service device and the second screen projection target device; Screen request, control the transceiver unit to send the channel authorization information of the second screen projection target device to the service device, the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the second screen projection target device .
  • the present application provides a computing device, including a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to
  • the computing device is made to implement the method in any possible implementation manner of any one of the foregoing first aspect to the eighth aspect.
  • the present application provides a computing device, including a processor and a memory, the processor is connected to the memory, the memory is used to store computer programs, and the processor is used to execute the program stored in the memory A computer program, so that the computing device implements the method in any possible implementation manner of any one of the first aspect to the eighth aspect above.
  • the present application provides a computer-readable storage medium, where computer programs or instructions are stored in the computer-readable storage medium, and when the computer programs or instructions are executed by a computing device, the computing device implements the above-mentioned A method in any possible implementation manner of any one of the first aspect to the eighth aspect.
  • the present application provides a computer program product, the computer program product includes a computer program or an instruction, and when the computer program or instruction is executed by a computing device, any one of the above first to eighth aspects can be realized A method in any of the possible implementations.
  • the present application provides a chip, including at least one processor and an interface; the interface is used to provide program instructions or data for the at least one processor; the at least one processor is used to execute the A program line of instructions to implement the method in any possible implementation manner of any one of the above-mentioned first aspect to the eighth aspect.
  • the present application provides a screen projection system, including any possible implementation of the above-mentioned ninth aspect, any possible implementation of the above-mentioned eleventh aspect, and the above-mentioned twelfth aspect Any one of the possible implementations, and any one of the possible implementations of the above-mentioned thirteenth aspect.
  • the present application provides a screen projection system, including any possible implementation of the above-mentioned fourteenth aspect, any possible implementation of the above-mentioned fifteenth aspect, and the above-mentioned sixteenth aspect Any possible implementation of the aspect.
  • Fig. 1 is a schematic diagram of the architecture of a group of screen projection systems provided by the present application
  • FIG. 2 is a schematic flowchart of local screen projection in an existing solution provided by the present application
  • FIG. 3 is a schematic diagram of a possible screen projection scenario provided by the present application.
  • FIG. 4 is a system architecture diagram of a screen projection system applicable to the embodiment of the application provided by the application;
  • FIG. 5 is a schematic flow chart of a screen projection method exemplarily provided by the present application.
  • FIG. 6 is a schematic diagram of a display interface of the first group of screen projection source devices provided by the present application.
  • FIG. 7 is a schematic flowchart of another screen projection method exemplarily shown in the present application.
  • FIG. 8 is a schematic flowchart of a method for using a waiting queue for screen projection in local projection according to an example of the present application
  • FIG. 9 is a schematic flowchart of a method for using a queue to be projected in a remote screen projected according to an example of the present application.
  • FIG. 10 is a schematic flowchart of another method for using a queue to be screened in remote screen projection shown in the present application.
  • FIG. 11 is a schematic diagram of a display interface of a second group of screen projection source devices provided by the present application.
  • FIG. 12 is a schematic flow chart of another screen projection method provided by the present application.
  • FIG. 13 is a schematic diagram of a display interface of a third group of screen projection source devices provided by the present application.
  • Fig. 14 is a schematic structural diagram of a screen projection device provided by the present application.
  • FIG. 15 is a schematic structural diagram of yet another screen projection device exemplarily provided in the present application.
  • Screencasting can be to put the screencasting data on the screencasting source device (such as mobile phone, tablet (Pad), computer with wireless transceiver function, etc.) An efficient way to present and share data.
  • the screencasting source device such as mobile phone, tablet (Pad), computer with wireless transceiver function, etc.
  • the screen-casting source device can generate a corresponding screen-casting based on the content (such as video, picture) displayed in the interface of the screen-casting source device The data is sent to the screen-casting target device, and the screen-casting source device and the screen-casting target device display the same content in their respective interfaces.
  • the screen projection source device can generate corresponding screen projection data according to the content to be displayed, and send it to the screen projection target device, and the screen projection target device will display the screen projection source in the interface of the screen projection target device The content to be displayed by the device.
  • the method of screen projection can be a point-to-point local screen projection method in a local area network (LAN), or a remote screen projection method realized through service equipment forwarding.
  • LAN local area network
  • Fig. 1 (a) is a schematic structural diagram of a local screen projection system exemplarily provided by the present application.
  • the local screen projection system includes a screen projection source device and a screen projection target device.
  • the screen projection source device sends screen projection data to the screen projection target device through the LAN.
  • the screen projection target device receives and plays the screen projection data.
  • FIG. 1 is a schematic structural diagram of a remote screen projection system exemplarily provided by the present application.
  • the remote screen projection system includes a screen projection source device, a screen projection target device and a service device, wherein the screen projection source device forwards the screen projection data to the screen projection target device through the service device, and the screen projection target device receives and plays the screen projection data.
  • the screen-casting source device can also be called a screen-casting mobile device, mobile device, sending device, etc.
  • the screen-casting target device can also be called a screen-casting device, a screen-casting device, a receiving device, a large-screen device, a large-screen device, etc. screen devices, etc.
  • the service device can also be called a server, a server, or a projection service, etc.
  • Figure 2 is a schematic flow diagram of a local projection screen in an existing solution provided by this application, in this flow:
  • step 201 the screen-casting target device displays screen-casting authorization information.
  • the screen-casting authorization information may be generated by the screen-casting target device.
  • the screen projection target device displays the screen projection authorization information on the display interface of the screen projection target device.
  • the screen projection authorization information may be a screen projection two-dimensional code, wherein the screen projection two-dimensional code is a black and white graphic record data symbol distributed on a plane (two-dimensional direction) with a certain specific geometric figure according to a certain rule informational.
  • the screen projection authorization information may also be a screen projection code, such as a string composed of numbers, uppercase and lowercase characters, special characters, etc., and the screen projection code is, for example, "Ba34dg#k6".
  • step 202 the screen projection source device obtains screen projection authorization information.
  • the screen projection authorization information is a screen projection QR code
  • the user can use the screen projection source device to scan the screen projection QR code displayed on the screen projection target device, so that the screen projection source device can obtain the screen projection QR code. code.
  • the screen projection authorization information is a screen projection code
  • the user may input the screen projection code in the screen projection source device, so that the screen projection source device obtains the screen projection code.
  • Step 203 the screen projection source device generates a screen projection request according to the screen projection authorization information, and sends the screen projection request to the screen projection target device.
  • the screen casting request includes screen casting authorization information.
  • the screen projection target device determines that the screen projection source device passes the screen projection verification according to the screen projection authorization information in the screen projection request. Specifically, if the screen-casting target device determines that the screen-casting authorization information in the screen-casting request is the screen-casting authorization information displayed on the interface, it determines that the screen-casting source device passes the screen-casting verification.
  • Step 205 the screen projection target device sends channel authorization information to the screen projection source device.
  • the channel authorization information can be understood as an encryption key or an encryption certificate.
  • the channel authorization information is used for encrypted communication between the screen projection source device and the screen projection target device.
  • Step 206 the screen projection source device sends screen projection data to the screen projection target device according to the channel authorization information.
  • the screen projection source device encrypts the screen projection data according to channel authorization information to obtain encrypted screen projection data (which may be called encrypted data), and then sends the encrypted data to the screen projection target device.
  • the screen projection target device can decrypt the encrypted data based on the channel authorization information to obtain the screen projection data. In this way, the security of data communication between the screen projection source device and the screen projection target device is guaranteed.
  • the communication between the screen projection source device and the screen projection target device is forwarded by the service device from the middle: the screen projection source device sends a screen projection request to the screen projection target device through the service device, and correspondingly, The screen projection target device sends channel authorization information to the screen projection source device via the service device.
  • the screen projection source device sends a screen projection request to the screen projection target device through the service device, and correspondingly, The screen projection target device sends channel authorization information to the screen projection source device via the service device.
  • Other steps are similar to the above steps 201 to 205 and will not be repeated here.
  • the screencasting scene shown in Figure 3 can be a meeting scene.
  • there are three people participating in the meeting user A, user B, and user C.
  • user A and user B participate in the meeting in the meeting room
  • user C participates in the meeting remotely outside the meeting room.
  • Each user needs to display the data in his screen-casting source device on the screen-casting target device in the meeting room.
  • user A holds two screen projection source devices, such as mobile phone a and computer d (where mobile phone a and computer d correspond to the same account, that is, the account of user A).
  • User B holds a screen projection source device, such as mobile phone b.
  • User C holds a screen projection source device, such as mobile phone c.
  • user A can use mobile phone a to scan the screen projection QR code displayed on the screen projection target device in the conference room to perform screen projection. Specifically, when user A needs to display the screen projection data in mobile phone a, he can use mobile phone a to scan the screen projection QR code displayed on the screen projection target device, so that mobile phone a can obtain the screen projection QR code. code, and then based on the process in Figure 2, the screen projection data in mobile phone a is sent to the screen projection target device.
  • user B can also scan the screen projection QR code displayed on the screen projection target device through mobile phone b, so that mobile phone b can obtain the screen projection QR code, and then based on the process in Figure 2, the screen projection on mobile phone b The data is sent to the screen-casting target device.
  • user C Since user C participates in the conference remotely outside the meeting room, user C cannot directly use mobile phone c to scan the screen projection QR code displayed on the screen projection target device to perform screen projection.
  • User A can send a screen projection QR code to mobile phone c through mobile phone a.
  • user C scans the screen projection QR code through mobile phone c, so that mobile phone c can obtain the screen projection QR code, and then based on Figure 2 In the middle process, the screen projection data in the mobile phone c is sent to the screen projection target device.
  • user A, user B, and user C can also manually input the screen projection code displayed on the screen projection target device into their respective mobile phones, so as to realize sending the screen projection data in their respective mobile phones to the screen projection target device.
  • User C can obtain the screen projection code displayed on the screen projection target device from user A.
  • the user For each screen projection, the user needs to scan the screen projection QR code displayed on the screen projection target device through the screen projection source device, or input the screen projection code displayed on the screen projection target device in the screen projection source device, so that The screen projection source device obtains the screen projection authorization information of the screen projection target device.
  • This method requires manual verification by the user, and the operation is cumbersome.
  • this application provides a screen projection method, which introduces a proxy device, and the proxy device can be used for one or more screen projection source devices Obtain the screen-casting authorization information of the screen-casting target device, so users corresponding to one or more screen-casting source devices do not need to perform manual verification.
  • FIG. 4 is an exemplary system architecture diagram of a screen projection system applicable to the embodiment of the present application provided by the present application.
  • the screen projection system may include a proxy device, a screen projection source device, a service device, and a screen projection target device.
  • a proxy device In local screen projection, both the screen projection source device and the screen projection target device in FIG. 4 can be connected.
  • FIG. 4 is only exemplary, and the present application does not limit the number of devices.
  • the service device can be used to manage information of each terminal device in the screen projection system.
  • a screen-casting application may be installed in the terminal device, and the terminal device may log in to the service device through the screen-casting application before interacting with the service device.
  • Information of the terminal device is recorded in the service device, such as an account Information, device identification, Internet protocol (internet protocol, IP) address, port number, etc.
  • the terminal device may be a proxy device, or a screen projection source device, or a screen projection target device.
  • the proxy device can request screen projection authorization information for the screen projection source device in the screen projection system.
  • the proxy device can be understood as a near-end device relative to the screen projection target device.
  • the screen source device is understood as a remote device relative to the screen projection target device.
  • association relationship between the proxy device and the screen projection source device there is an association relationship between the proxy device and the screen projection source device.
  • the association relationship between the two may at least include one or more of the following:
  • the proxy device and the source device for screen projection correspond to the same account.
  • user A wants to display the screen projection data on computer d on the screen projection target device, and user A can obtain the projection data displayed on the screen projection target device for computer d through mobile phone a. screen authorization information.
  • the mobile phone a is the proxy device
  • the computer d is the screen projection source device.
  • the agent device and the screen projection source device correspond to the same group or the same department.
  • user A and user C participate in the same meeting, and user A's mobile phone a is associated with user C's mobile phone c (it can be understood that mobile phone a and mobile phone c correspond to the same group group), user A can obtain the screen-casting authorization information displayed on the screen-casting target device for mobile phone c through mobile phone a.
  • mobile phone a is the proxy device
  • mobile phone c is the source device for screen projection.
  • FIG. 5 is a schematic flowchart of a screen projection method exemplarily provided in the present application. In this process:
  • step 501 the screen-casting target device displays screen-casting authorization information.
  • the screen projection authorization information may be generated and displayed by the screen projection target device.
  • the screen projection authorization information may be generated and displayed by the screen projection target device, or obtained and displayed by the screen projection target device from the service device.
  • step 502 the proxy device acquires screen projection authorization information.
  • the screen projection authorization information can be a screen projection QR code, and the user can use the proxy device to scan the screen projection QR code displayed on the screen projection target device, so that the proxy device can obtain the screen projection QR code.
  • the screen projection authorization information may also be a screen projection code, and the user may input the screen projection code in the proxy device, so that the proxy device obtains the screen projection code.
  • the following uses the screen-casting authorization information as the screen-casting QR code as an example.
  • the proxy device when the proxy device obtains the screen projection authorization information, it can also obtain the information of the screen projection target device, such as one or more of the device identification, IP address, and port number of the screen projection target device.
  • the information of the target device can be used by the subsequent service device or the screen projection source device to request screen projection from the screen projection target device.
  • the proxy device may also send screen projection data to the screen projection target device.
  • the proxy device may display first prompt information on the interface of the proxy device, and the first prompt message is used to remind the user of the proxy device that the obtained screen-casting information Is it used for the proxy device itself to cast the screen, or for other devices to cast the screen.
  • the proxy device can further obtain the screen projection source device that needs proxy projection. identification, and execute the following step 503. If the user of the proxy device indicates that the acquired screen projection information is for the proxy device itself to project the screen, the proxy device can send the screen projection data to the screen projection target device. For details, refer to the process in FIG. 2 , and will not repeat it here.
  • the proxy device can obtain the identification of the screen-casting source device that needs proxy screen-casting in the following ways:
  • an identifier of a device (which may be referred to as an associated device) that has an association relationship with the proxy device is pre-recorded in the service device.
  • the agent device may obtain identifiers of multiple associated devices from the service device, and then determine the identifier of the associated device that needs to be proxied (ie, the identifier of the screen-casting source device) from the identifiers of the multiple associated devices.
  • the proxy device may send an association device request to the service device, where the association device request carries an identifier of the proxy device, and the association device request is used to request an association device identifier from the service device.
  • the service device may determine the identifier of the associated device according to the identifier of the proxy device in the request for associating the device, and send the identifier of the associated device in the response message to the proxy device.
  • the proxy device may display the identifier of the associated device in the response message on the display interface of the proxy device, and the user performs a first user operation, wherein the first user operation may be that the user selects the associated device ID displayed on the display interface of the proxy device.
  • the proxy device needs the identification of the associated device for proxying (that is, the identification of the screen projection source device). According to the operation of the first user, the proxy device acquires the identifier of the screen projection source device that needs proxy screen projection.
  • the service device records the identifiers of associated devices corresponding to the proxy device 1, such as identifier 11, identifier 12, and identifier 13.
  • the proxy device acquires the ID of the screen projection source device that needs proxy projection
  • the associated device request sent by the proxy device 1 to the service device carries the ID of the proxy device 1.
  • the service device and send a response message to the agent device 1, the response message includes the identifiers of the associated devices, that is, the identifier 11, the identifier 12 and the identifier 13.
  • the proxy device 1 can display the identification 11, the identification 12 and the identification 13 in the display interface of the proxy device, and the user selects the identification of one of the associated devices in the display interface of the proxy device, such as the user selects the identification 11, and the proxy device receives After the instruction from the user to select the logo 11, the logo 11 is used as the logo of the screen-casting source device.
  • the proxy device sends a proxy screen projection request to the service device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device.
  • Step 504 the service device determines that the proxy device has an association relationship with the screen projection source device.
  • the service device After receiving the proxy screen projection request from the proxy device, the service device can obtain the screen projection source device identification and screen projection authorization information of the screen projection target device from the proxy screen projection request. In response to the proxy screen projection request, the service device verifies whether the proxy device is qualified to act as a proxy for the screen projection source device.
  • step 505 is performed. If the service device determines that there is no association between the proxy device and the screen projection source device, it rejects the proxy device's proxy screen projection request.
  • step 504 is an optional step, which can be used to ensure that only the proxy device associated with the screen-casting source device can obtain screen-casting authorization information for the screen-casting source device, so as to improve the security of screen-casting by the screen-casting source device.
  • the service device may also directly perform step 505 after receiving the proxy screen projection request from the proxy device.
  • Step 505 the service device sends a screen projection event notification to the screen projection source device, and the screen projection event notification includes screen projection authorization information of the screen projection target device.
  • the service device may send a screen projection event notification to the screen projection source device according to the identifier of the screen projection source device in the proxy screen projection request.
  • the screen-casting source device may obtain the screen-casting authorization information of the screen-casting target device based on the screen-casting event notification from the service device.
  • the screen projection source device may determine whether to project the screen to the screen projection target device based on the screen projection authorization information. In an optional manner, the screen projection source device may display second prompt information on the display interface of the screen projection source device, and the second prompt information is used to prompt the user of the screen projection source device whether to agree to screen projection. If the user of the screen projection source device indicates to agree to screen projection, the screen projection source device performs the following step 506. If the user of the screen projection source device indicates to reject the screen projection, the screen projection source device may send a rejection message to the service device. Avoid the problem of leakage of sensitive data in the source device of screencasting.
  • the screen projection source device can agree to the projection by default. Screen.
  • the service device determines that the proxy device and the screen projection source device correspond to the same account, when the service device sends a screen projection event notification to the screen projection source device, it may instruct the screen projection source device not to display the second prompt information , and directly request channel authorization information from the screen-casting target device according to the screen-casting authorization information in the screen-casting event notification.
  • the screen projection source device after the screen projection source device receives the screen projection event notification from the service device, the screen projection source device can request channel authorization information from the screen projection target device, and transmit the projection information with the screen projection target device based on the requested channel authorization information. screen data.
  • the screen projection source device Based on different projection methods, there are two cases as follows:
  • Step 506A the screen casting source device sends a first screen casting request to the screen casting target device, wherein the first screen casting request includes screen casting authorization information of the screen casting target device.
  • the first screen projection request is used for the screen projection source device to request channel authorization information of the screen projection target device from the screen projection target device.
  • the screen projection target device sends channel authorization information of the screen projection target device to the screen projection source device after determining that the screen projection authorization information included in the first screen projection request has passed the verification. Specifically, if the screen projection target device determines that the screen projection authorization information in the first screen projection request is its own screen projection authorization information, it determines that the screen projection authorization information included in the first screen projection request has passed the verification, and reports to the screen projection source The device sends the channel authorization information of the screencasting target device.
  • Step 508A the screen projection source device sends screen projection data to the screen projection target device according to the channel authorization information.
  • the screen projection source device can encrypt the screen projection data according to the channel authorization information to obtain encrypted data.
  • the screen projection source device sends encrypted data to the screen projection target device.
  • the screen projection target device decrypts the encrypted data according to the channel authorization information to obtain the screen projection data.
  • long connection data communication is used between the screen projection source device and the screen projection target device, for example, transmission control protocol (transmission control protocol, TCP) communication is used between the screen projection source device and the screen projection target device.
  • transmission control protocol transmission control protocol
  • UDP user data protocol
  • Step 506B the screen projection source device sends a first screen projection request to the screen projection target device via the service device.
  • the service device after the service device receives the first screen projection request from the screen projection source device, it can verify whether the screen projection source device is a trusted screen projection source device, that is, verify whether it is a screen projection source that has logged into the service device If yes, the device forwards the first screen-casting request to the screen-casting target device, thereby helping to improve the security of screen-casting.
  • the screen projection source device is a trusted screen projection source device, that is, verify whether it is a screen projection source that has logged into the service device If yes, the device forwards the first screen-casting request to the screen-casting target device, thereby helping to improve the security of screen-casting.
  • Step 507B after the screen projection target device determines that the screen projection authorization information included in the first screen projection request has passed the verification, it sends channel authorization information of the screen projection target device to the screen projection source device via the service device. Specifically, if the screen-casting target device determines that the screen-casting authorization information in the first screen-casting request is its own screen-casting authorization information, it determines that the screen-casting authorization information included in the first screen-casting request has passed the The screen source device sends the channel authorization information of the screen projection target device.
  • step 508B the screen projection source device sends screen projection data to the screen projection target device via the service device according to the channel authorization information.
  • the service device can maintain the correspondence between the screen-casting target device and the screen-casting authorization information, for example, the screen-casting target device 1 corresponds to the The screen-casting authorization information 1 and the screen-casting target device 2 correspond to the screen-casting authorization information 2 and so on.
  • the service device can not only verify whether the screen projection source device is a trusted screen projection source device, but also verify the screen projection authorization included in the first screen projection request. Whether the information is verified.
  • the service device may determine whether the screen projection authorization information included in the first screen projection request is the same as the screen projection authorization information of the screen projection target device maintained in the service device, and if so, determine that the screen projection authorization information has passed the verification . Subsequently, the service device can obtain the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, and send the channel authorization information to the screen projection source device; or, the service device generates the screen projection target device. Channel authorization information, and send the channel authorization information to the screen projection source device and the screen projection target device respectively.
  • Step 509 the screen projection target device displays the screen projection data.
  • the screen projection target device may display the screen projection data on a display interface of the screen projection target device.
  • mobile phone c can display the screen projection data of mobile phone c on the screen projection target device under the operation of user C, so that user A and user B can share the screen projection data on the screen projection target device See the interface of mobile phone c.
  • the associated devices of mobile phone a include mobile phone b, mobile phone c, and computer d
  • the identifications of mobile phone a, mobile phone b, mobile phone c, and computer d are respectively identification a, identification b, identification c, and identification d.
  • Example 1 user A casts the screen on behalf of mobile phone c through mobile phone a.
  • User A can scan the screen-casting QR code displayed by the screen-casting target device with mobile phone a, and obtain the screen-casting authorization information of the screen-casting target device.
  • the display interface of the mobile phone a may be as shown in (a) in FIG. 6 , where a first prompt message is displayed, and the first prompt message is "whether to request screen projection for other devices". If mobile phone a detects that user A selects "Yes" in the display interface, it will send an associated device request to the service device in response to the selection operation.
  • the associated device request carries the identification of mobile phone a, and the associated device request is used to send The service device requests the identification of the associated device of mobile phone a.
  • the service device sends a response message to the mobile phone a according to the identification of the mobile phone a in the associated device request, and the response message includes the identifications of the associated devices of the mobile phone a: identification b, identification c, identification d.
  • mobile phone a After mobile phone a receives the response message, it displays the logo b, logo c, and logo d on the display interface of mobile phone a, and prompts the user to choose which device to request screen projection for, see (b) in Figure 6 for details. If the user selects the identification c on the display interface of the mobile phone a, the mobile phone a sends a proxy screen projection request to the service device, and the proxy screen projection request includes the identification c and screen projection authorization information. In response to the proxy screen projection request, the service device determines that mobile phone c has an association relationship with mobile phone a, and sends the screen projection authorization information to mobile phone c in the screen projection event notification.
  • a second prompt message may pop up on the display interface of mobile phone c, and the second prompt message may be used to prompt user C corresponding to mobile phone c whether to agree to screen projection.
  • the display interface of mobile phone c can be referred to as shown in (c) in FIG.
  • a first screen projection request is sent to the screen projection target device, and the first screen projection request includes screen projection authorization information.
  • the screen projection target device determines that the screen projection authorization information in the first screen projection request has passed the verification, and sends the channel authorization information to the mobile phone c.
  • Mobile phone c performs encrypted transmission of screen projection data with the screen projection target device based on the channel authorization information.
  • Example 2 User A casts the screen on behalf of computer d through mobile phone a.
  • the mobile phone a and the computer d are both terminal devices of the user A, that is, they correspond to the same account.
  • User A can use mobile phone a to scan the screen projection QR code displayed on the screen projection target device, and the display interface of mobile phone a can still be shown in (a) in FIG. 6 .
  • the mobile phone a requests the identification of the associated device from the service device, and displays the identification of the associated device on the display interface, for example, refer to (b) in FIG. 6 .
  • User A can select the logo d in the interface of mobile phone a, then mobile phone a sends a proxy screen projection request to the service device, and the service device sends a screen projection event notification to computer d in response to the proxy screen projection request.
  • the service device can determine that the mobile phone a and the computer d correspond to the same account, and when sending the screen projection event notification to the computer d, can instruct the computer d not to display the second prompt information, but directly follow the projection information in the screen projection event notification. screen authorization information, and send a first screen projection request to the screen projection target device. Further, after receiving the first screen projection request, the screen projection target device determines that the screen projection authorization information in the first screen projection request has passed the verification, and sends the channel authorization information to the computer d. The computer d encrypts and transmits screen projection data with the screen projection target device based on the channel authorization information. Since the mobile phone a and the computer d both correspond to the same account (that is, the account of user A), user A does not need to confirm on the computer d again, which helps to reduce user operations.
  • the proxy device assists the screen projection source device to obtain the screen projection authorization information of the screen projection target device, and sends the screen projection authorization information to the service device, and the service device sends a screen projection event notification to the screen projection source device, and the screen projection
  • the event notification contains the screen projection authorization information, so that the screen projection source device can request the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information in the screen projection event notification, and then according to the channel of the screen projection target device
  • the authorization information and the screen projection target device transmit the screen projection data.
  • the proxy device can obtain the screen projection authorization information of the screen projection target device for each of the multiple screen projection source devices, so as to realize the unified proxy of the proxy device.
  • the proxy device can be used for management personnel Unified scheduling of different screen projection source devices to switch screen projection to screen projection target devices, without the need for each user to manually verify authorization, and also helps to avoid user operation preemption.
  • This application provides another implementation of the screen projection method. Compared with the implementation shown in FIG. 5, the service device does not need to send the projection screen request to the screen projection source device when receiving the proxy screen projection request sent by the proxy device. Screen event notification, and directly request channel authorization information from the screen projection target device, which helps to reduce signaling interaction.
  • step 701 the screen projection target device displays screen projection authorization information.
  • step 702 the proxy device acquires screen projection authorization information.
  • the proxy device sends a proxy screen projection request to the service device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device.
  • the service device determines that the proxy device has an association relationship with the screen projection source device.
  • Step 705 the service device sends a channel authorization request to the screen projection target device, and the channel authorization request includes screen projection authorization information of the screen projection target device.
  • the channel authorization request sent by the service device to the screen projection target device may also include the identification of the screen projection source device, such as the port number of the screen projection source device, to inform the screen projection target device of the channel authorization request.
  • the terminal is a service device
  • the channel authorization request is used to request channel authorization information for the screen projection source device.
  • the screen projection target device can determine the screen projection source device that needs to obtain the channel authorization information.
  • Step 706 After the screen projection target device determines that the screen projection authorization information included in the channel authorization request has passed the verification, it sends the channel authorization information to the screen projection source device via the service device.
  • Step 707 the screen projection source device sends screen projection data to the screen projection target device according to the channel authorization information.
  • the projection source device sends projection data to the projection target device according to the channel authorization information; if it is a remote projection method, the projection source device sends the projection data to the projection target device according to the channel authorization information The device sends screen projection data to the screen projection target device.
  • Step 708 the screen projection target device displays the screen projection data.
  • the screen projection source device can determine whether it needs to perform screen projection. Specifically, the screen projection source device may display third prompt information on the display interface. The third prompt information is used to prompt the user whether to project the data in the screen projection source device to the screen projection target device. If the user agrees, then The screen projection source device sends screen projection data to the screen projection target device according to the channel authorization information.
  • the service device may also determine whether the proxy device and the screen-casting source device correspond to the same account during the process of determining whether the agent device and the screen-casting source device have an association relationship. If the two correspond to the same account, the service device can directly send a channel authorization request to the screen projection target device. If the two do not correspond to the same account, the service device can determine whether screen projection is required from the screen projection source device. Correspondingly, the screen projection source device displays a third prompt message on the display interface, and the third prompt message prompts the user whether to It is necessary to project the data in the screen-casting source device to the screen-casting target device. If the user agrees, the screen-casting source device will send a confirmation message to the service device, and then the service device will request channel authorization information from the screen-casting target device.
  • the screen-casting state of the screen-casting target device may include an idle state and a non-idle state. If the target screen casting device is idle, it can be understood that the target screen casting device has not been used by the screen casting source device for screen casting (for example, it has not received the screen projection data from the screen casting source device); if the screen casting target device is not idle, it can be It is understood that the screen projection target device has been used by the screen projection source device for screen projection (for example, receiving screen projection data from the screen projection source device).
  • the screen projection target device can only receive the screen projection data of one screen projection source device, if the screen projection source device needs to request screen projection from a non-idle screen projection target device, the request will fail. Because the screen projection target device is currently receiving screen projection from other screen projection source devices. In this case, the screen projection source device needs to wait for the screen projection target device to change from the non-idle state to the idle state, and then request the screen projection target device again to request screen projection success. However, in this case, the screen projection source device cannot detect in time that the screen projection target device changes from a non-idle state to an idle state, that is, it cannot timely project a screen to the screen projection target device.
  • this application provides a method of a waiting screen projection queue, which is used to cache and send the screen projection request in the waiting screen projection queue according to the screen projection request from the screen projection source device when the screen projection target device is in a non-idle state
  • the identification of the screen-casting source device is used to notify the screen-casting source device in time to perform screen-casting after the screen-casting target device changes from a non-idle state to an idle state.
  • the manner of the waiting screen projection queue provided by the present application can be applied to the screen projection system shown in FIG. 1 , and can also be applied to the screen projection system shown in FIG. 4 .
  • the queue to be screen projection can be set in the screen projection target device.
  • FIG. 8 for a schematic flowchart of a method for using a queue to be screened in local screen projection shown as an example:
  • step 801 the screen projection source device sends a first screen projection request to the screen projection target device.
  • the screen projection target device After the screen projection target device receives the first screen projection request, it can select the next steps to be performed according to the current screen projection state of the screen projection target device. Specifically, when the screen-casting state of the screen-casting target device is idle, the screen-casting target device performs step 802; when the screen-casting target device is not idle, the screen-casting target device performs step 803 and step 804 .
  • Step 802 After determining that the screen projection authorization information included in the first screen projection request has passed the verification, the screen projection target device sends channel authorization information of the screen projection source device to the screen projection source device.
  • the screen projection target device caches the identifier of the screen projection source device in the screen projection queue of the screen projection target device.
  • the screen-casting target device caches the identifier of the screen-casting source device in the screen-to-be-cast queue of the screen-casting target device. In the casting queue.
  • the target screen projection device may send a rejection response (also called a screen projection non-idle notification) to the screen projection source device, and accordingly, the screen projection source device displays a fourth prompt message on the display interface , the fourth prompt message is used to prompt the user whether to wait for the screen projection. If the user confirms that it needs to wait for the screen projection, the screen projection source device will send a confirmation waiting message to the screen projection target device, and the screen projection target device will use the identification of the screen projection source device Buffered to the screen-to-be-cast queue of the screen-casting target device.
  • a rejection response also called a screen projection non-idle notification
  • Step 804 after the screen projection target device changes from the non-idle state to the idle state, it sends a screen projection idle notification to the screen projection source device, and the screen projection idle notification is used to instruct the screen projection source device to re-initiate a screen projection request.
  • the screen-casting authorization information of the screen-casting target device can be updated according to a preset cycle, so as to ensure the security of the screen-casting.
  • the screen-casting target device can regenerate the screen-casting authorization information , and include the regenerated screen casting authorization information in the screen casting idle notification, and send it to the screen casting source device.
  • the screen projection source device resends the first screen projection request to the screen projection target device.
  • the screen projection source device may display fifth prompt information on the display interface. The fifth prompt information is used to prompt the user whether to continue screen projection. If the user confirms If it is necessary to continue screen projection, the screen projection source device may resend the first screen projection request to the screen projection target device. Afterwards, the screen projection target device sends channel authorization information of the screen projection target device to the screen projection source device according to the first screen projection request. That is, the above step 801 and step 802 can be returned.
  • one or more identifiers of the screen-casting source devices may be cached in the waiting screen-casting queue of the screen-casting target device.
  • the screen projection target device can determine the screen projection source device that is still in the waiting state from the one or more screen projection source devices, and then according to the The priority of the screen projection source device that is still in the waiting state determines a screen projection source device, and sends a screen projection idle notification to the screen projection source device.
  • the screen projection target device can also broadcast a screen projection idle notification.
  • the screen projection source device that is still in the waiting state can send the first screen projection request to the screen projection target device through competition, and the screen projection target device determines a projection screen. The screen source device, and then send the channel authorization information of the screen projection target device to the screen projection source device.
  • the queue to be projected can be set in the projected target device or service device.
  • Case 1 The queue to be casted is set in the target device for screencasting.
  • FIG. 9 for a schematic flow diagram of a method for using a queue to be screened in remote screen projection shown as an example:
  • step 901 the screen projection source device sends a first screen projection request to the screen projection target device via the service device.
  • the screen projection target device After the screen projection target device receives the first screen projection request, it can select the next steps to be performed according to the current screen projection state of the screen projection target device. Specifically, when the screen-casting state of the screen-casting target device is idle, the screen-casting target device performs step 902; when the screen-casting target device is in a non-idle state, the screen-casting target device performs step 903 and step 904 .
  • Step 902 After determining that the screen-casting authorization information included in the first screen-casting request has passed the verification, the screen-casting target device sends the channel authorization information of the screen-casting target device to the screen-casting source device via the service device.
  • the screen projection target device caches the identifier of the screen projection source device in the screen projection queue of the screen projection target device.
  • the screen projection target device may send a rejection response to the screen projection source device through the service device, and correspondingly, the screen projection source device displays fourth prompt information on the display interface, and the fourth prompt information is used to prompt Does the user need to wait for the screen projection? If the user confirms that they need to wait for the screen projection, the screen projection source device sends a confirmation waiting message to the screen projection target device through the service device, and the screen projection target device caches the identity of the screen projection source device to the screen projection target The device is in the screen waiting queue.
  • Step 904 After the screen projection target device changes from the non-idle state to the idle state, it sends a screen projection idle notification to the screen projection source device via the service device, and the screen projection idle notification is used to instruct the screen projection source device to re-initiate the screen projection request.
  • the screen projection authorization information of the screen projection target device may be updated according to a preset period, so as to ensure the security of the screen projection.
  • the screen projection target device may regenerate the screen projection authorization information, include the regenerated screen projection authorization information in the screen projection idle notification, and send it to the screen projection source device through the service device.
  • the screen projection source device re-sends the first screen projection request to the screen projection target device via the service device.
  • the screen projection source device may display fifth prompt information on the display interface. The fifth prompt information is used to prompt the user whether to continue screen projection. If the user confirms If it is necessary to continue screen projection, the screen projection source device may resend the first screen projection request to the screen projection target device. Afterwards, according to the first screen projection request, the screen projection target device sends channel authorization information of the screen projection target device to the screen projection source device via the service device. That is, the above step 901 and step 902 can be returned.
  • one or more identifiers of the screen-casting source devices may be cached in the waiting screen-casting queue of the screen-casting target device.
  • the screen projection target device can determine the screen projection source device that is still in the waiting state from the one or more screen projection source devices, and then according to the The priority of the screen projection source device in the waiting state determines a screen projection source device, and sends a screen projection idle notification to the screen projection source device through the service device.
  • the screen projection target device may also send a screen projection idle notification to the service device, and the service device broadcasts the screen projection idle notification.
  • the screen projection source device that is still in the waiting state can send the first screen projection request to the service device through competition, and the service device determines a screen projection source device, and then requests the channel of the screen projection target device for the screen projection source device authorization information.
  • the screen projection source device sends the first screen projection request to the screen projection target device through the service device through competition, and the screen projection target device determines a screen projection source device, and then sends the screen projection target to the screen projection source device through the service device The channel authorization information of the device.
  • Case 2 The queue to be projected is set in the service device.
  • FIG. 10 for a schematic flowchart of another method for using a queue to be screened in remote screen projection:
  • Step 1001 the screen projection source device sends a first screen projection request to the service device.
  • the service device may obtain the current screen projection status of the screen projection target device.
  • the service device may monitor the screen projection state of the screen projection target device in real time, and then determine whether the current screen projection state of the screen projection target device is an idle state or a non-idle state.
  • the service device selects the next steps to be performed according to the current screen projection status of the screen projection target device. Specifically, when the server device determines that the screen-casting state of the screen-casting target device is idle, the service device executes step 1002; when the server device determines that the screen-casting state of the screen-casting target device is not idle, the service device executes step 1004.
  • Step 1002 the service device sends a first screen projection request to the screen projection target device, and the first screen projection request includes screen projection authorization information.
  • Step 1003 after the screen projection target device determines that the screen projection authorization information included in the first screen projection request passes the verification, it sends channel authorization information of the screen projection target device to the screen projection source device via the service device.
  • Step 1004 the service device caches the identifier of the screen projection source device in the queue of the service device to be screen projection.
  • the service device caches the identity of the screen-casting source device in the screen-to-be-cast queue of the screen-casting target device, which can also be understood as the service device caches the first screen-casting request in the screen-to-be-cast queue of the screen-casting target device .
  • the service device may send a rejection response to the screen projection source device.
  • the screen projection source device displays fourth prompt information on the display interface, and the fourth prompt information is used to prompt the user whether to wait for the screen projection.
  • the screen projection source device sends a confirmation waiting message to the service device, and the service device caches the identity of the screen projection source device into the waiting screen projection queue of the service device.
  • Step 1005 after the screen projection target device changes from the non-idle state to the idle state, the service device sends a screen projection idle notification to the screen projection source device, and the screen projection idle notification is used to instruct the screen projection source device to re-initiate a screen projection request.
  • the screen-casting authorization information of the screen-casting target device may be updated by the service device according to a preset period, so as to ensure the security of screen-casting.
  • the service device may regenerate the screen projection authorization information, include the regenerated screen projection authorization information in the screen projection idle notification, and send it to the screen projection source device.
  • the service device may also send the regenerated screen projection authorization information to the screen projection target device.
  • the screen projection source device after receiving the screen projection idle notification, re-sends the first screen projection request to the service device, and then the service device sends the first screen projection request to the screen projection target device.
  • the screen projection source device may display fifth prompt information on the display interface. The fifth prompt information is used to prompt the user whether to continue screen projection. If the user confirms If it is necessary to continue screen projection, the screen projection source device may resend the first screen projection request to the screen projection target device. Afterwards, according to the first screen projection request, the screen projection target device sends channel authorization information of the screen projection target device to the screen projection source device via the service device. That is, it can return to the above step 1001 to step 1003 again.
  • the method for the service device to determine whether the screen-casting target device is in an idle state may also be: after receiving the first screen-casting request, the service device sends the first screen-casting request to the screen-casting target device.
  • Screencasting request if the channel authorization information from the screencasting target device is received, it means that the current screencasting status of the screencasting target device is idle; if a rejection response from the screencasting target device is received (also called non-idle notification), which means that the current screen-casting state of the screen-casting target device is non-idle state.
  • the screen projection target device may send a screen projection idle notification to the service device, and the service device sends the screen projection idle notification to the screen projection source device.
  • one or more identifiers of screen projection source devices may be cached in the waiting screen projection queue of the service device.
  • the service device can determine the screen projection source device that is still in the waiting state from the one or more screen projection source devices, and then According to the priority of the screen projection source device in the state, a screen projection source device is determined, and a screen projection idle notification is sent to the screen projection source device.
  • the service device can also broadcast a screen projection idle notification.
  • the screen projection source device that is still in the waiting state sends the first screen projection request to the service device through competition.
  • the service device determines a screen projection source device, and then provides the The screen projection source device requests the channel authorization information of the screen projection target device.
  • the screen-casting source device can receive a screen-casting idle notification from the screen-casting target device or from the service device, so that the screen-casting source The device can send the screen projection request to the screen projection target device again in time, so that the screen projection source device can cast the screen to the screen projection target device in time. It is not necessary for the user of the screen-casting source device to manually check the screen-casting status of the current screen-casting target device, which helps to improve user experience. In the case that multiple screen projection source devices need to cast screens sequentially, it is helpful to quickly switch and cast screens for screen projection target devices.
  • the conference scene shown in FIG. 3 is used as an example below.
  • mobile phone a, mobile phone b, and mobile phone c all adopt the remote projection method.
  • user A is using mobile phone a to cast the screen
  • user B scans the QR code on the screen projection target device through mobile phone b, and requests screen projection. Since the screen projection target device is occupied by mobile phone a at this time, the display The interface can be as shown in (a) in FIG. 11 , the display interface of the mobile phone b displays fourth prompt information, for example, the fourth prompt information is "Prompt: The screen projection target device is currently occupied by other devices, do you want to wait?".
  • the mobile phone b detects that the user B selects an operation of "yes" in the display interface, in response to the operation, the mobile phone b enters a state of waiting for screen projection.
  • the screen waiting queue in the service device may include the identifier of the mobile phone b.
  • the service device can send a screen projection idle notification to mobile phone b.
  • the display interface of mobile phone b can be as shown in (b) in Figure 11, and the display interface of mobile phone b displays the fifth prompt information , the fifth prompt message is, for example, "Prompt: The screen projection target device is currently idle, do you want to continue screen projection?" Sending the first screen projection request, so that the mobile phone b can project the screen to the screen projection target device.
  • user C can also request screen projection through mobile phone c, and the display interface of mobile phone c can also refer to those shown in (a) and (b) in FIG. 11 .
  • the present application may provide user A to adjust the screen projection sequence of all screen projection source devices.
  • user A as a manager, can adjust the screen projection sequence of the user's screen projection source device on mobile phone a.
  • the display interface of the mobile phone a can refer to that shown in (c) in Figure 11.
  • the screen projection sequence displayed on the display interface is the logo b and the logo c.
  • the queue to be projected in the service device includes the logos with the sequence b and identification c.
  • the service device can send a screen projection idle notification to mobile phone b, so that mobile phone b can project the screen to the target device.
  • the service device can send a screen projection idle notification to the mobile phone c, so that the mobile phone c can project the screen to the target device.
  • user A can notify the service device to adjust the order of the identifiers in the queue to be projected by changing the order of the identifiers on the display interface of the mobile phone a.
  • the proxy device assists the screen projection source device to obtain the screen projection authorization information of the screen projection target device, and then the screen projection source device sends screen projection data to the screen projection target device based on the screen projection authorization information.
  • the present application provides another screen projection method, which can be applied to the screen projection system shown in Fig. 1 exemplarily, and the method can be completed by a service device, a screen projection target device, and a screen projection source device.
  • the target screen-casting device associated with the screen-casting source device may be referred to as the first screen-casting target device; is the second target device for screen projection; the target device for screen projection that maintains a signaling channel connection with the service device may be referred to as the third target device for screen projection.
  • the service device may maintain a signaling channel connection with the M third screen projection target devices; the service device may determine N first screen projection target devices from the M third screen projection target devices, where Both M and N are positive integers, and N is less than or equal to M.
  • the identifiers of the N first screen-casting target devices can be displayed on the display interface of the screen-casting source device, so that the user can select a screen from the N first screen-casting target devices for the screen-casting source device to perform screen-casting
  • the target device that is, the second target device for screen projection).
  • FIG. 12 exemplarily showing a schematic flow diagram of another method for screen projection:
  • Step 1201 the service device determines a first target device for screen projection.
  • the service device may determine N first screen projection target devices from the M third screen projection target devices based on a preset policy.
  • the preset strategy may at least include a user-selected binding strategy, an automatic binding strategy, and an area matching binding strategy. Based on three different strategies, step 1201 can be described in three examples.
  • the user chooses a binding policy independently, see steps a1 to a4.
  • step a1 the service device sends M identifiers respectively corresponding to the M third screen projection target devices to the screen projection source device.
  • the screen projection source device determines N target identities from the M identities. Specifically, the screen projection source device displays M logos on the display interface of the screen projection source device, and the user can select N target logos on the display interface of the screen projection source device, and the third projection logo corresponding to the N target logos
  • the screen target device is the first screen projection target device, and correspondingly, the screen projection source device determines the N target identifiers selected by the user.
  • step a3 the screen projection source device sends an association request to the service device, and the association request includes N target identifiers.
  • step a4 the service device determines the third screen projection target devices corresponding to the N target identifiers as the N first screen projection target devices.
  • Example b automatic binding policy, refer to step b1 or step b2.
  • step b1 the service device takes the M third screen projection target devices as associated devices of the screen projection source device, that is, determines the M third screen projection target devices as N first screen projection target devices, and M is equal to N.
  • Step b2 the service device selects N third target devices for screen projection from the M third target devices for screen projection according to the number of times the screen projection source device projects to M third target devices for screen projection, and sends the N The third screen projection target devices serve as the N first screen projection target devices.
  • step c region matching and binding policy
  • step c1 the service device determines the area to which the screen projection source device belongs.
  • Step c2 the service device determines N third screen projection target devices belonging to the same area as the screen projection source device from the M third screen projection target devices, and takes the N third screen projection target devices as N The target device for the first projection.
  • Step 1202 the service device sends the information of the first screen projection target device to the screen projection source device.
  • the service device when the service device sends the information of the first screen-casting target device to the screen-casting source device, there are at least two implementation methods: first, when the screen-casting source device logs in to the service device through the screen-casting application, the service The device actively sends the information of the first screen-casting target device to the screen-casting source device. Second, the screen projection source device can send an association device request to the service device when projection is required, and the association device request is used to request the identity of the first screen projection target device from the service device, and the service device responds to the association device request, Send the information of the first target device for screen projection to the source device for screen projection.
  • Step 1203 the screen projection source device determines the second screen projection target device from the first screen projection target device according to the information of the first screen projection target device; sends a second screen projection request to the service device, wherein the second screen projection request contains the identifier of the second screencasting target device.
  • the screen projection source device may display the information of the first screen projection target device on the display interface of the screen projection source device.
  • the user performs a second user operation, wherein the second user operation may be that the user selects one of the identifiers of the first screen-casting target device (ie, the identifier of the second screen-casting target device) in the display interface of the screen-casting source device.
  • the screen projection source device receives the second user operation, generates a second screen projection request including the identifier of the second screen projection target device according to the identifier of the second screen projection target device selected by the user, and sends the second screen projection The screen request is sent to the service device.
  • Example 1 the service device sends information about N first screen projection target devices to the screen projection source device.
  • the information of each first screen-casting target device includes the identification of the corresponding first screen-casting target device and screen-casting status information
  • the screen-casting status information may be real-time monitoring of the screen-casting of the first screen-casting target device by the service device state, or the screen projection state information may be reported by the first screen projection target device to the service device, and the screen projection state information may be used to indicate whether the first screen projection target device is in an idle state.
  • the identifiers corresponding to the N first screen projection target devices are identifier 1, identifier 2, ..., identifier N
  • the screen projection status information corresponding to the N first screen projection target devices are status 1, status 2, ... ..., state N
  • the service device sends ID 1 and status 1, ID 2 and status 2, ..., ID N and status N to the screen projection source device.
  • the screen projection source device can display the information (including identification and screen projection status information) of the N first screen projection target devices on the display interface of the screen projection source device, as shown in (a) in FIG. 13 , the user In the display interface, the first screen projection target device whose screen projection status information is idle may be selected as the second screen projection target device.
  • the service device may also determine K first screen projection target devices in an idle state from the N first screen projection target devices according to the screen projection state information of each first screen projection target device, where K is positive Integer, and K is less than or equal to N.
  • the service device sends the identifiers of the K first screen projection target devices in an idle state to the screen projection source device without indicating the screen projection status information of the first screen projection target devices to the screen projection source device.
  • the identifiers corresponding to the N first screen projection target devices are identifier 1, identifier 2, ..., identifier N
  • the screen projection status information corresponding to the N first screen projection target devices are status 1, status 2, ...
  • the service device determines 3 first screen projection target devices in the idle state from the N first screen projection target devices, that is, K is equal to 3, and the number of the 3 first screen projection target devices in the idle state
  • the identifiers are respectively identifier 2, identifier 3, and identifier 4, and the service device sends the identifier 2, identifier 3, and identifier 4 to the screen projection source device.
  • the screen projection source device can display the identities of the three first screen projection target devices on the display interface of the screen projection source device, as shown in (b) in Figure 13, and the user can select one of them in the display interface
  • the first screen projection target device serves as the second screen projection target device.
  • Example 3 the service device sends information about N first screen projection target devices to the screen projection source device.
  • the information of each first screen projection target device includes an identifier corresponding to the first screen projection target device.
  • the IDs corresponding to the N first screen projection target devices are ID 1, ID 2, ..., ID N
  • the service device sends ID 1, ID 2, ..., ID N to the screen projection source device.
  • the screen projection source device can display the identifications of the N first screen projection target devices on the display interface of the screen projection source device, such as shown in (c) in FIG. 13 , and the user can select one of them in the display interface
  • the first screen projection target device serves as the second screen projection target device.
  • the service device may cache the identifier of the screen-casting source device in the queue of the service device to be screen-casted, and the second screen-casting target device is not idle. After the idle state changes to the idle state, step 1204 to step 1206 are executed again.
  • the service device can verify whether the screen projection source device is a trusted screen projection source device, that is, verify whether it is a projection screen that has logged into the service device.
  • the screen source device if yes, executes step 1204, and if not, sends a screen projection rejection message to the screen projection source device or does not respond. In this way, it helps to improve the security of screen projection.
  • Step 1204 the service device sends a third screen projection request to the second screen projection target device according to the identifier of the second screen projection target device.
  • the third screen projection request is used to request channel authorization information of the second screen projection target device from the second screen projection target device.
  • Step 1205 the second screen projection target device sends channel authorization information of the second screen projection target device to the screen projection source device via the service device.
  • Step 1206 the screen projection source device sends screen projection data to the second screen projection target device according to the channel authorization information.
  • Step 1207 the second screen projection target device displays the screen projection data.
  • the screen projection authorization information of the device reduces user operations and helps to realize automatic and fast screen projection.
  • FIG. 14 and FIG. 15 are schematic structural diagrams of possible screen projection devices provided by the present application. These screen projection devices can be used to implement the function of any one of the service device, proxy device, screen projection source device, and screen projection target device in the above method embodiments, and thus can also achieve the beneficial effects of the above method embodiments.
  • the screen projection device may be any one of the service device, the screen projection source device, and the screen projection target device as shown in FIG. 1 .
  • the screen projection device may also be any one of the server device, the proxy device, the screen projection source device, and the screen projection target device as shown in FIG. 4 .
  • the screen projection device 1400 includes a processing unit 1401 and a transceiver unit 1402 .
  • the screen projection device 1400 can be used to implement the method of the service device in the related embodiment in FIG. 5 .
  • the processing unit 1401 is configured to control the transceiving unit 1402 to send the identifier of at least one associated device that has an association relationship with the agent device to the agent device when the transceiver unit 1402 receives an association device request from the agent device; the processing unit 1401 is also used to control the transceiving unit 1402 to receive the proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; wherein at least one associated device includes a screen projection The source device; the processing unit 1401 is also used to control the transceiver unit 1402 to send a screen projection event notification to the screen projection source device, and the screen projection event notification is used to instruct the screen projection source device to send the screen projection event notification to the screen projection source device according to the screen projection authorization information included in the screen
  • the screen projection device 1400 can be used to implement the method of the service device in the related embodiment in FIG. 7 .
  • the processing unit 1401 is configured to control the transceiving unit 1402 to send the identifier of at least one associated device that has an association relationship with the agent device to the agent device when the transceiver unit 1402 receives an association device request from the agent device; the processing unit 1401 is also used to control the transceiving unit 1402 to receive the proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; wherein at least one associated device includes a screen projection The source device; the processing unit 1401 is also used to obtain the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, and control the transceiver unit 1402 to send the channel authorization information to the screen projection source device; the channel authorization information It is used for the screen projection source device to
  • the screen projection device 1400 may be used to implement the method of the proxy device in the related embodiment in FIG. 5 or FIG. 7 .
  • the processing unit 1401 is configured to acquire the screen-casting authorization information of the screen-casting target device;
  • the screen projection apparatus 1400 has an identification of at least one associated device with an association relationship;
  • the processing unit 1401 is further configured to control the transceiver unit 1402 to receive a first user operation, and the first user operation is for the user to select one of the at least one associated device as a screen projection source device, control the transceiver unit 1402 to send a proxy screen projection request to the service device,
  • the proxy screen projection request includes the screen projection authorization information and the identification of the screen projection source device, and the proxy screen projection request is used to instruct the service device to send the screen projection to the screen projection source device Event notification.
  • the screen projection device 1400 may be used to implement the method of the screen projection source device in the related embodiments in FIG. 5 or FIG. 8 or FIG. 9 or FIG. 10 .
  • the processing unit 1401 is configured to control the transceiving unit 1402 to receive a screen casting event notification from the service device, the screen casting event notification includes screen casting authorization information, and the screen casting event The event notification is sent by the service device in response to the proxy device's proxy screen projection request, and the screen projection device 1400 has an association relationship with the proxy device; the processing unit 1401 is also configured to, according to the screen projection device
  • the authorization information controls the transceiving unit 1402 to send the screen projection data of the screen projection device 1400 to the screen projection target device, and the screen projection data is displayed on the screen projection target device.
  • the screen projection device 1400 When the screen projection device 1400 is the screen projection source device, the screen projection device 1400 may be used to implement the method of the screen projection source device in the related embodiments in FIG. 7 or FIG. 8 or FIG. 9 or FIG. 10 .
  • the processing unit 1401 is configured to control the transceiver unit 1402 to receive channel authorization information from the service device, encrypt the screen projection data of the screen projection device 1400 according to the channel authorization information, and send the The screen projection target device sends the screen projection data of the screen projection apparatus 1400, and the screen projection data is displayed on the screen projection target device.
  • the screen projection device 1400 may be used to implement the method of the screen projection target device in the related embodiments in FIG. 5 or FIG. 8 or FIG. 9 or FIG. 10 .
  • the processing unit 1401 controls the transceiving unit 1402 to receive a first screen casting request from the screen casting source device, and the first screen casting request includes the screen casting authorization information of the screen casting target device and the screen casting source device
  • the screen projection authorization information is used by the screen projection source device to request the channel authorization information of the screen projection target device from the screen projection target device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data; when the screen projection target device is not idle state, the processing unit 1401 adds the identifier of the screen-casting source device to the screen-to-be-cast queue of the screen-casting target device.
  • the screen projection device 1400 When the screen projection device 1400 is a screen projection target device, the screen projection device 1400 may be used to implement the method of the screen projection target device in the related embodiments in FIG. 7 or FIG. 8 or FIG. 9 or FIG. 10 .
  • the processing unit 1401 controls the transceiving unit 1402 to receive a channel authorization request from the service device, and according to the channel authorization request, send channel authorization information to the screen projection source device via the service device.
  • the processing unit 1401 controls the transceiving unit 1402 to receive the screen projection data encrypted from the screen projection source device according to the channel authorization information, and display the screen projection data.
  • the screen projection device 1400 can be used to implement the method of the service device in the related embodiment in FIG. 12 .
  • the processing unit 1401 controls the transceiving unit 1402 to send the information of the first screen projection target device to the screen projection source device, and the information of the first screen projection target device includes an identifier of the first screen projection target device;
  • the first screen projection target device has an association relationship with the screen projection source device;
  • the control transceiver unit 1402 receives the second screen projection request from the screen projection source device;
  • the second screen projection request contains the identity of the second screen projection target device;
  • the second The screen projection target device is the first receiving device in an idle state; according to the identification of the second screen projection target device, obtain the channel authorization information of the second screen projection target device from the second screen projection target device; control the transceiver unit 1402 to
  • the screen source device sends channel authorization information, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data
  • the screen projection device 1400 may be used to implement the method of the screen projection source device in the related embodiment in FIG. 12 .
  • the processing unit 1401 is configured to control the transceiving unit 1402 to receive the information of the first screen-casting target device from the service device, where the information of the first screen-casting target device includes an identifier of the first screen-casting target device , the first screen projection target device has an association relationship with the screen projection source device; the control transceiver unit 1402 sends a second screen projection request to the service device, the second screen projection request includes the identity of the second screen projection target device, and the second screen projection
  • the target device is the first screen projection target device in an idle state; the control transceiver unit 1402 receives the channel authorization information of the second screen projection target device from the service device; according to the channel authorization information, encrypt the screen projection data and control the transceiver unit 1402 to encrypt The final screen projection data is sent to the second screen projection
  • the screen projection apparatus 1400 may be used to implement the method for the second screen projection target device in the related embodiment in FIG. 12 .
  • the processing unit 1401 is configured to control the transceiving unit 1402 to receive the third screen projection request from the service device, and the service device maintains a signaling channel connection with the second screen projection target device; Three screen projection requests, the control transceiver unit 1402 sends the channel authorization information of the second screen projection target device to the service device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the second projection screen screen the target device.
  • FIG. 15 shows an apparatus 1500 provided in the embodiment of the present application.
  • the apparatus shown in FIG. 15 may be a hardware circuit implementation manner of the apparatus shown in FIG. 14 .
  • the apparatus may be applicable to the flow chart shown above to execute the function of any one of the service device, the proxy device, the screen projection source device, and the screen projection target device in the above method embodiments.
  • FIG. 15 For ease of illustration, only the main components of the device are shown in FIG. 15 .
  • the device 1500 shown in FIG. 15 includes a communication interface 1510, a processor 1520 and a memory 1530, wherein the memory 1530 is used for storing program instructions and/or data.
  • Processor 1520 may cooperate with memory 1530 .
  • Processor 1520 may execute program instructions stored in memory 1530 . When the instructions or programs stored in the memory 1530 are executed, the processor 1520 is used to perform the operations performed by the processing unit 1401 in the above embodiments, and the communication interface 1510 is used to perform the operations performed by the transceiver unit 1402 in the above embodiments.
  • the memory 1530 is coupled to the processor 1520 .
  • the coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • At least one of the memories 1530 may be included in the processor 1520 .
  • the communication interface may be a transceiver, a circuit, a bus, a module, or other types of communication interfaces.
  • the transceiver when the communication interface is a transceiver, the transceiver may include an independent receiver and an independent transmitter; it may also be a transceiver integrated with a transceiver function, or be a communication interface.
  • Apparatus 1500 may also include a communication link 1540 .
  • the communication interface 1510, the processor 1520 and the memory 1530 can be connected to each other through the communication line 1540;
  • the communication line 1540 can be a peripheral component interconnect standard (peripheral component interconnect, referred to as PCI) bus or an extended industry standard architecture (extended industry standard architecture , referred to as EISA) bus and so on.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the communication line 1540 can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 15 , but it does not mean that there is only one bus or one type of bus.
  • the present application provides a computing device, including a processor, the processor is connected to a memory, the memory is used to store computer programs, and the processor is used to execute the computer programs stored in the memory , so that the computing device implements the methods in the above-mentioned related embodiments in FIG. 5 to FIG. 12 .
  • the present application provides a computing device, including a processor and a memory, the processor is connected to the memory, the memory is used to store computer programs, and the processor is used to execute the A stored computer program to enable the computing device to implement the methods in the above-mentioned related embodiments in FIG. 5 to FIG. 12 .
  • the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is executed by a computing device, the computing device Implement the methods in the above-mentioned related embodiments in FIG. 5 to FIG. 12 .
  • the present application provides a computer program product, the computer program product includes a computer program or instruction, when the computer program or instruction is executed by a computing device, the above-mentioned related embodiments in Figure 5 to Figure 12 are implemented Methods.
  • the present application provides a chip, including at least one processor and an interface; the interface is used to provide program instructions or data for the at least one processor; the at least one processor is used to execute the
  • the program line instructions described above are used to implement the methods in the above-mentioned related embodiments in FIG. 5 to FIG. 12 .
  • this application provides a screen projection system, including the service device, proxy device, screen projection source device, and screen projection target device involved in the above-mentioned related embodiments of Figure 5 or Figure 8 or Figure 9 or Figure 10 .
  • this application provides a screen projection system, including the service device, proxy device, screen projection source device, and screen projection target device involved in the above-mentioned related embodiments of Figure 7 or Figure 8 or Figure 9 or Figure 10 .
  • the present application provides a screen projection system, including the service device, the screen projection source device, and the second screen projection target device involved in the above-mentioned related embodiment in FIG. 12 .
  • At least one means one or more, and “multiple” means two or more.
  • At least one of the following” or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • at least one item (piece) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c ", where a, b, c can be single or multiple.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship; in the formulas of this application, the character “/” indicates that the contextual objects are a "division” Relationship.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

A screen casting method and a screen casting device, which are used to solve the problem in the prior art that a user needs to manually perform a verification operation for each instance of screen casting, thus operation is tedious. In the present application, the screen casting method comprises: when receiving an associated device request from a proxy device, a service device sending to the proxy device an identifier of one or more associated devices associated with the proxy device; the service device receiving a proxy screen casting request from the proxy device, the proxy screen casting request comprising an identifier of a screen casting source device and screen casting authorization information of a screen casting target device, and the one or more associated devices comprising the screen casting source device; and the service device sending a screen casting event notification to the screen casting source device, the screen casting event notification being used to instruct the screen casting source device to, according to the screen casting authorization information comprised in the screen casting event notification, send screen casting data to the screen casting target device, and the screen casting data being displayed on the screen casting target device.

Description

一种投屏方法及投屏装置Screen projection method and screen projection device
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年05月26日提交中国专利局、申请号为202110580259.8、申请名称为“一种投屏方法及投屏装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110580259.8 and the application name "A Screen Projection Method and Screen Projection Device" submitted to the China Patent Office on May 26, 2021, the entire contents of which are incorporated herein by reference. Applying.
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种投屏方法及投屏装置。The present application relates to the field of computer technology, and in particular to a screen projection method and a screen projection device.
背景技术Background technique
投屏(screen casting)技术指的是,先将投屏目标设备接入至使用环境内(家庭、办公场所、酒店等)的无线网络,投屏源设备通过数字生活网络联盟(digital living network alliance,DLNA)等协议将投屏数据(比如,投屏源设备的屏幕图像)发送到投屏目标设备,投屏目标设备在本地输出播放投屏数据,从而实现将投屏源设备的屏幕内容投放到投屏目标设备上展示的功能。Screen casting (screen casting) technology refers to first connecting the screen casting target device to the wireless network in the use environment (home, office, hotel, etc.), and the screen casting source device passes through the digital living network alliance (digital living network alliance). , DLNA) and other protocols send the screen projection data (for example, the screen image of the screen projection source device) to the screen projection target device, and the screen projection target device outputs and plays the screen projection data locally, so as to realize the screen content projection of the screen projection source device to the function displayed on the screen-casting target device.
现有的投屏方式中,用户在需要将投屏源设备中投屏数据通过投屏目标设备播放时,需要手动执行验证操作。具体的,投屏目标设备显示投屏授权信息,比如投屏二维码,用户用投屏源设备扫描投屏二维码,投屏源设备基于获取到投屏二维码向投屏目标设备发送投屏请求,投屏目标设备对投屏请求中携带的投屏二维码验证通过后,向投屏源设备发送通道授权屏信息,随后投屏源设备可以基于该通道授权屏信息对投屏数据进行加密,并发送至投屏目标设备。如此,在每次投屏时,用户都需要手动执行验证操作,操作繁琐。In the existing screen projection method, when the user needs to play the screen projection data in the screen projection source device through the screen projection target device, the user needs to manually perform the verification operation. Specifically, the screen projection target device displays the screen projection authorization information, such as the screen projection QR code. The user scans the screen projection QR code with the screen projection source device, and the screen projection source device sends the screen projection to the screen projection target device based on the acquired screen projection QR code. Send a screen projection request. After the screen projection target device passes the verification of the screen projection QR code carried in the screen projection request, it sends channel authorization screen information to the screen projection source device, and then the screen projection source device can use the channel authorization screen information to update the projection screen. The screen data is encrypted and sent to the target device for screen projection. In this way, the user needs to manually perform the verification operation every time the screen is projected, and the operation is cumbersome.
发明内容Contents of the invention
有鉴于此,本申请提供一种投屏方法及投屏装置,用于解决现有技术中,用户针对每次投屏,都需要手动执行验证操作,操作繁琐的问题。In view of this, the present application provides a screen projection method and a screen projection device, which are used to solve the problem in the prior art that a user needs to manually perform a verification operation for each screen projection, and the operation is cumbersome.
第一方面,本申请提供一种投屏方法,该投屏方法可以由服务设备执行,该服务设备可以是服务器,服务器可以包括主机或处理器等实体设备,也可以包括虚拟机或容器等虚拟设备,还可以包括芯片或集成电路。此外,该投屏方法还可通过服务器的部件执行,如由服务器中的处理装置、电路、芯片等部件实现。In the first aspect, the present application provides a screen projection method, which can be executed by a service device. The service device can be a server, and the server can include physical devices such as hosts or processors, or virtual devices such as virtual machines or containers. devices, which may also include chips or integrated circuits. In addition, the screen projection method can also be executed by components of the server, for example, implemented by components such as a processing device, a circuit, and a chip in the server.
在一种可能的实现方式中,投屏方法包括:服务设备在接收来自代理设备的关联设备请求时,向代理设备发送与代理设备具有关联关系的至少一个关联设备的标识;服务设备接收来自代理设备的代理投屏请求,代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;其中至少一个关联设备包括投屏源设备;服务设备向投屏源设备发送投屏事件通知,投屏事件通知用于指示投屏源设备根据投屏事件通知中包括的投屏授权信息向投屏目标设备发送投屏数据,投屏数据在投屏目标设备上显示。In a possible implementation manner, the screen projection method includes: when receiving a device association request from the proxy device, the service device sends an identifier of at least one associated device that has an association relationship with the proxy device to the proxy device; The proxy screen projection request of the device, the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; at least one of the associated devices includes the screen projection source device; the service device sends the projection screen to the screen projection source device The screen event notification, the screen projection event notification is used to instruct the screen projection source device to send screen projection data to the screen projection target device according to the screen projection authorization information included in the screen projection event notification, and the screen projection data is displayed on the screen projection target device.
上述技术方案中,通过代理设备协助投屏源设备获取投屏目标设备的投屏授权信息,并将投屏授权信息发送至服务设备,服务设备向投屏源设备发送投屏事件通知,投屏事件 通知中包含投屏授权信息,从而投屏源设备可以根据投屏事件通知中的投屏授权信息,与投屏目标设备传输投屏数据。该方案中,用户无需通过投屏源设备扫描投屏目标设备上的投屏二维码,或者在投屏源设备中输入投屏目标设备上的投屏码,减少用户操作,有助于提高用户体验。而且,代理设备可以针对多个投屏源设备中的每个投屏源设备获取投屏目标设备的投屏授权信息,从而实现代理设备统一代理,在大型会议场景中,代理设备可用于管理人员统一调度不同投屏源设备切换投屏到投屏目标设备,无需每个用户手动验证授权,还有助于避免出现用户操作抢用的情况。In the above technical solution, the proxy device assists the screen projection source device to obtain the screen projection authorization information of the screen projection target device, and sends the screen projection authorization information to the service device, and the service device sends a screen projection event notification to the screen projection source device, and the screen projection The event notification includes screen projection authorization information, so that the screen projection source device can transmit screen projection data with the screen projection target device according to the screen projection authorization information in the screen projection event notification. In this solution, the user does not need to scan the projection QR code on the projection target device through the projection source device, or enter the projection code on the projection target device in the projection source device, which reduces user operations and helps to improve user experience. Moreover, the proxy device can obtain the screen projection authorization information of the screen projection target device for each of the multiple screen projection source devices, so as to realize the unified proxy of the proxy device. In large-scale conference scenarios, the proxy device can be used for management personnel Unified scheduling of different screen projection source devices to switch the screen projection to the screen projection target device, without the need for each user to manually verify authorization, and also helps to avoid the situation of user operation preemption.
在一种可能的实现方式中,关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。In a possible implementation manner, the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
在一种可能的实现方式中,在服务设备向投屏源设备发送投屏事件通知之前,方法还包括:服务设备确定投屏源设备为关联设备中的一个。In a possible implementation manner, before the service device sends the screen projection event notification to the screen projection source device, the method further includes: the service device determines that the screen projection source device is one of the associated devices.
上述技术方案中,服务设备在接收到来自代理设备的代理投屏请求之后,可以验证代理设备是否与投屏源设备之间具有关联关系,从而有助于保障只有与投屏源设备具有关联关系的代理设备才能为投屏源设备获取投屏授权信息,以提高投屏源设备投屏的安全性。In the above technical solution, after receiving the proxy screen projection request from the proxy device, the service device can verify whether the proxy device has an association relationship with the screen projection source device, thereby helping to ensure that only the screen projection source device has an association relationship In order to improve the security of the screen projection source device, the proxy device can obtain the screen projection authorization information for the screen projection source device.
在一种可能的实现方式中,在服务设备向投屏源设备发送投屏事件通知之后,还包括:服务设备接收来自投屏源设备的第一投屏请求,第一投屏请求中包括投屏授权信息和投屏源设备的标识;在投屏目标设备未处于空闲状态的情况下,服务设备将投屏源设备的标识加入至服务设备的待投屏队列中。In a possible implementation, after the service device sends the screen projection event notification to the screen projection source device, it further includes: the service device receives a first screen projection request from the screen projection source device, and the first screen projection request includes the projection Screen authorization information and the identification of the screen projection source device; when the screen projection target device is not idle, the service device will add the screen projection source device identification to the queue of the service device to be screen projection.
在一种可能的实现方式中,还包括:在投屏目标设备处于空闲状态的情况下,服务设备从投屏目标设备中获取投屏目标设备的通道授权信息,并将通道授权信息发送至投屏源设备,通道授权信息用于投屏源设备加密投屏数据。In a possible implementation, it also includes: when the screen projection target device is in an idle state, the service device obtains the channel authorization information of the screen projection target device from the screen projection target device, and sends the channel authorization information to the screen projection target device. Screen source device, channel authorization information is used for screen projection source device to encrypt screen projection data.
上述技术方案中,投屏源设备向投屏目标设备请求投屏时,服务设备可以根据投屏目标设备的投屏状态(包括空闲状态和非空闲状态),确定是否立即向投屏目标设备请求投屏目标设备的通道授权信息。在一种情况中,若投屏目标设备未处于空闲状态,则服务设备可以将投屏源设备的标识加入至服务设备的待投屏队列中,并在投屏目标设备处于空闲状态时,指示投屏源设备再次请求投屏目标设备的通道授权信息。从而投屏源设备无需多次向投屏目标设备请求投屏,减少投屏源设备请求投屏失败的次数。在投屏目标设备由非空闲状态切换为空闲状态时,服务设备可以指示投屏源设备再次请求投屏目标设备的通道授权信息,减少投屏源设备的等待时长。在大型会议场景中,服务设备可以基于多个投屏源设备的优先级,调整多个投屏源设备的投屏次序,有助于避免出现用户操作抢用的情况。该方式无需投屏源设备的用户人工查看当前投屏目标设备的投屏状态,有助于提高用户体验。在多个投屏源设备需要依次投屏的情况下,有助于实现投屏目标设备的快速切换投屏。In the above technical solution, when the screen projection source device requests screen projection from the screen projection target device, the service device can determine whether to request the screen projection target device immediately according to the screen projection status (including idle state and non-idle state) of the screen projection target device. Channel authorization information of the screencasting target device. In one case, if the screen-casting target device is not in an idle state, the service device may add the identity of the screen-casting source device to the waiting screen-casting queue of the service device, and when the screen-casting target device is in an idle state, indicate The screen projection source device requests the channel authorization information of the screen projection target device again. Therefore, the screen projection source device does not need to request the screen projection target device for multiple times, reducing the number of failed screen projection requests from the screen projection source device. When the screen-casting target device switches from the non-idle state to the idle state, the service device can instruct the screen-casting source device to request the channel authorization information of the screen-casting target device again, reducing the waiting time of the screen-casting source device. In a large-scale conference scenario, the service device can adjust the screen projection order of multiple screen projection source devices based on the priority of multiple screen projection source devices, which helps to avoid the situation of user operation preemption. This method does not require the user of the screen-casting source device to manually check the screen-casting status of the current screen-casting target device, which helps to improve user experience. In the case that multiple screen projection source devices need to cast screens sequentially, it is helpful to quickly switch and cast screens for screen projection target devices.
在一种可能的实现方式中,服务设备将投屏源设备的标识加入至服务设备的待投屏队列中之前,还包括:服务设备监测投屏目标设备的投屏状态,确定投屏目标设备处于非空闲状态;或者,服务设备向投屏目标设备发送第一投屏请求,接收来自投屏目标设备的拒绝响应,拒绝响应用于指示投屏目标设备处于非空闲状态。In a possible implementation, before the service device adds the identity of the screen-casting source device to the screen-to-be-cast queue of the service device, it further includes: the service device monitors the screen-casting status of the screen-casting target device, and determines the screen-casting target device In a non-idle state; or, the service device sends a first screen projection request to the screen projection target device, and receives a rejection response from the screen projection target device, where the rejection response is used to indicate that the screen projection target device is in a non-idle state.
在一种可能的实现方式中,服务设备从投屏目标设备中获取通道授权信息,包括:服务设备向投屏目标设备发送第一投屏请求;服务设备接收投屏目标设备的通道授权信息。In a possible implementation manner, the service device obtains channel authorization information from the screen projection target device, including: the service device sends a first screen projection request to the screen projection target device; the service device receives the channel authorization information of the screen projection target device.
第二方面,本申请提供一种投屏方法,该投屏方法可以由服务设备执行,该服务设备 可以是服务器,服务器可以包括主机或处理器等实体设备,也可以包括虚拟机或容器等虚拟设备,还可以包括芯片或集成电路。此外,该投屏方法还可通过服务器的部件执行,如由服务器中的处理装置、电路、芯片等部件实现。In the second aspect, the present application provides a screen projection method, which can be executed by a service device, the service device can be a server, and the server can include physical devices such as hosts or processors, or virtual devices such as virtual machines or containers. devices, which may also include chips or integrated circuits. In addition, the screen projection method can also be executed by components of the server, for example, implemented by components such as a processing device, a circuit, and a chip in the server.
在一种可能的实现方式中,投屏方法包括:服务设备在接收来自代理设备的关联设备请求时,向代理设备发送与代理设备具有关联关系的至少一个关联设备的标识;服务设备接收来自代理设备的代理投屏请求,代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;其中至少一个关联设备包括投屏源设备;服务设备根据投屏授权信息,从投屏目标设备中获得投屏目标设备的通道授权信息,向投屏源设备发送通道授权信息;通道授权信息用于投屏源设备加密投屏数据并将加密后的投屏数据发送至投屏目标设备,投屏数据在投屏目标设备上显示。In a possible implementation manner, the screen projection method includes: when receiving a device association request from the proxy device, the service device sends an identifier of at least one associated device that has an association relationship with the proxy device to the proxy device; The proxy screen projection request of the device, the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; at least one of the associated devices includes the screen projection source device; the service device according to the screen projection authorization information, from The channel authorization information of the screen projection target device is obtained from the screen projection target device, and the channel authorization information is sent to the screen projection source device; the channel authorization information is used by the screen projection source device to encrypt the projection data and send the encrypted projection data to the projection screen The target device, the projection data is displayed on the target device.
在一种可能的实现方式中,服务设备根据投屏授权信息,从投屏目标设备中获得投屏目标设备的通道授权信息,包括:服务设备向投屏目标设备发送通道授权请求,通道授权请求中包括投屏授权信息,通道授权请求用于向投屏目标设备请求投屏目标设备的通道授权信息;服务设备接收来自投屏目标设备的通道授权信息。In a possible implementation, the service device obtains the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, including: the service device sends a channel authorization request to the screen projection target device, and the channel authorization request includes screen projection authorization information, and the channel authorization request is used to request channel authorization information of the screen projection target device from the screen projection target device; the service device receives the channel authorization information from the screen projection target device.
上述技术方案中,通过代理设备协助投屏源设备获取投屏目标设备的投屏授权信息,并将投屏授权信息发送至服务设备,服务设备根据投屏授权信息,从投屏目标设备中获得投屏目标设备的通道授权信息,向投屏源设备发送通道授权信息,从而投屏源设备可以根据投屏授权信息,与投屏目标设备传输投屏数据。该方案中,用户无需通过投屏源设备扫描投屏目标设备上的投屏二维码,或者在投屏源设备中输入投屏目标设备上的投屏码,减少用户操作,有助于提高用户体验。而且,代理设备可以针对多个投屏源设备中的每个投屏源设备获取投屏目标设备的投屏授权信息,从而实现代理设备统一代理,在大型会议场景中,代理设备可用于管理人员统一调度不同投屏源设备切换投屏到投屏目标设备,无需每个用户手动验证授权,还有助于避免出现用户操作抢用的情况。而且服务设备在接收到代理设备发送的代理投屏请求时,无需向投屏源设备发送投屏事件通知,而直接向投屏目标设备请求通道授权信息,有助于减少信令交互。In the above technical solution, the proxy device assists the screen projection source device to obtain the screen projection authorization information of the screen projection target device, and sends the screen projection authorization information to the service device, and the service device obtains the screen projection authorization information from the screen projection target device according to the screen projection authorization information. The channel authorization information of the screen projection target device sends the channel authorization information to the screen projection source device, so that the screen projection source device can transmit screen projection data with the screen projection target device according to the screen projection authorization information. In this solution, the user does not need to scan the projection QR code on the projection target device through the projection source device, or enter the projection code on the projection target device in the projection source device, which reduces user operations and helps to improve user experience. Moreover, the proxy device can obtain the screen projection authorization information of the screen projection target device for each of the multiple screen projection source devices, so as to realize the unified proxy of the proxy device. In large-scale conference scenarios, the proxy device can be used for management personnel Unified scheduling of different screen projection source devices to switch the screen projection to the screen projection target device, without the need for each user to manually verify authorization, and also helps to avoid the situation of user operation preemption. Moreover, when the service device receives the proxy screen projection request sent by the proxy device, it does not need to send a screen projection event notification to the screen projection source device, but directly requests channel authorization information from the screen projection target device, which helps to reduce signaling interactions.
第三方面,本申请提供一种投屏方法,该投屏方法可以由代理设备执行,该代理设备可以是终端设备,终端设备比如用户终端(如手机、电脑等)。In a third aspect, the present application provides a screen projection method, which can be executed by a proxy device, and the proxy device can be a terminal device, such as a user terminal (such as a mobile phone, a computer, etc.).
在一种可能的实现方式中,投屏方法包括:代理设备获取投屏目标设备的投屏授权信息;代理设备在接收到代理请求投屏的指示时,从服务设备处获取与代理设备具有关联关系的至少一个关联设备的标识;代理设备接收第一用户操作,第一用户操作为用户选择至少一个关联设备中的一个作为投屏源设备,向服务设备发送代理投屏请求,代理投屏请求中包括投屏授权信息和投屏源设备的标识,代理投屏请求用于指示服务设备向投屏源设备发送投屏事件通知。In a possible implementation, the screen projection method includes: the proxy device obtains the screen projection authorization information of the screen projection target device; when the proxy device receives an indication of the proxy request for screen projection, it obtains from the service device the information associated with the proxy device. The identification of at least one associated device in the relationship; the proxy device receives the first user operation, and the first user operation is for the user to select one of at least one associated device as the screen projection source device, and sends a proxy screen projection request to the service device, and the proxy screen projection request Include the authorization information of the screen projection and the identification of the screen projection source device, and the proxy screen projection request is used to instruct the service device to send a screen projection event notification to the screen projection source device.
在一种可能的实现方式中,代理设备接收第一用户操作之前,还包括:代理设备在代理设备的显示界面中显示至少一个关联设备的标识。In a possible implementation manner, before the agent device receives the first user operation, the method further includes: the agent device displays an identifier of at least one associated device on a display interface of the agent device.
在一种可能的实现方式中,关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。In a possible implementation manner, the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
上述第三方面中任一种可能的实现方式可以达到的技术效果可以参照上述第一方面或第二方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any one of the possible implementation manners in the above third aspect, reference may be made to the description of the beneficial effects in the above first aspect or the second aspect, and details will not be repeated here.
第四方面,本申请提供一种投屏方法,该投屏方法可以由投屏源设备执行,该投屏源设备可以是终端设备,终端设备比如用户终端(如手机、电脑等)。In a fourth aspect, the present application provides a screen projection method, which can be executed by a screen projection source device, and the screen projection source device can be a terminal device, such as a user terminal (such as a mobile phone, a computer, etc.).
在一种可能的实现方式中,投屏方法包括:投屏源设备接收来自服务设备的投屏事件通知,投屏事件通知中包含投屏授权信息,投屏事件通知是服务设备响应于代理设备的代理投屏请求发送的,投屏源设备与代理设备之间具有关联关系;投屏源设备根据投屏授权信息,向投屏目标设备发送投屏源设备的投屏数据,投屏数据在投屏目标设备上显示。In a possible implementation, the screen projection method includes: the screen projection source device receives a screen projection event notification from the service device, the screen projection event notification includes the screen projection authorization information, and the screen projection event notification is a response from the service device to the proxy device. The screen projection source device and the proxy device have an association relationship; the screen projection source device sends the screen projection data of the screen projection source device to the screen projection target device according to the screen projection authorization information, and the screen projection data is in displayed on the target device.
在一种可能的实现方式中,投屏源设备根据投屏授权信息,向投屏目标设备发送投屏源设备的投屏数据之前,还包括:投屏源设备根据投屏事件通知,提示用户是否同意投屏;投屏源设备接收用户同意投屏的指示。In a possible implementation, before the screen projection source device sends the screen projection data of the screen projection source device to the screen projection target device according to the screen projection authorization information, the source device further includes: prompting the user according to the screen projection event notification Whether to agree to screen projection; the screen projection source device receives the instruction that the user agrees to screen projection.
在一种可能的实现方式中,关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。In a possible implementation manner, the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
在一种可能的实现方式中,投屏源设备根据投屏授权信息,向投屏目标设备发送投屏源设备的投屏数据,包括:投屏源设备根据投屏授权信息,向投屏目标设备发送第一投屏请求,第一投屏请求中包括投屏授权信息和投屏源设备的标识;投屏源设备接收来自投屏目标设备的通道授权信息;投屏源设备根据通道授权信息加密投屏数据,并将加密后的投屏数据,发送至投屏目标设备。In a possible implementation, the screen projection source device sends the screen projection data of the screen projection source device to the screen projection target device according to the screen projection authorization information, including: the screen projection source device sends the screen projection data to the screen projection target device according to the screen projection authorization information. The device sends the first screen projection request, which includes the screen projection authorization information and the identification of the screen projection source device; the screen projection source device receives the channel authorization information from the screen projection target device; the screen projection source device receives the channel authorization information according to the channel authorization information Encrypt the screen projection data, and send the encrypted screen projection data to the screen projection target device.
在一种可能的实现方式中,投屏源设备经服务设备向投屏目标设备发送第一投屏请求;投屏源设备接收来自服务设备转发的投屏目标设备的通道授权信息。In a possible implementation manner, the screen projection source device sends a first screen projection request to the screen projection target device via the service device; the screen projection source device receives channel authorization information of the screen projection target device forwarded from the service device.
上述第四方面中任一种可能的实现方式可以达到的技术效果可以参照上述第一方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any possible implementation manner in the above fourth aspect, reference may be made to the description of the beneficial effects in the above first aspect, and details will not be repeated here.
第五方面,本申请提供一种投屏方法,该投屏方法可以由投屏目标设备执行,该投屏目标设备可以是终端设备,终端设备比如投屏器、大屏设备、大屏类设备等。In the fifth aspect, the present application provides a screen projection method, which can be executed by a screen projection target device, and the screen projection target device can be a terminal device, such as a screen projection device, a large-screen device, or a large-screen device Wait.
在一种可能的实现方式中,投屏方法包括:投屏目标设备接收来自投屏源设备的第一投屏请求,第一投屏请求中包括投屏目标设备的投屏授权信息和投屏源设备的标识,投屏授权信息用于投屏源设备向投屏目标设备请求投屏目标设备的通道授权信息,通道授权信息用于投屏源设备加密投屏数据;在投屏目标设备未处于空闲状态的情况下,投屏目标设备将投屏源设备的标识加入至投屏目标设备的待投屏队列中。In a possible implementation manner, the screen projection method includes: the screen projection target device receives a first screen projection request from the screen projection source device, and the first screen projection request includes the screen projection authorization information of the screen projection target device and the screen projection The identification of the source device, the screen projection authorization information is used by the screen projection source device to request the channel authorization information of the screen projection target device from the screen projection target device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data; In the case of being idle, the screen projection target device adds the identifier of the screen projection source device to the screen projection queue of the screen projection target device.
在一种可能的实现方式中,还包括:在投屏目标设备处于空闲状态的情况下,投屏目标设备向投屏源设备发送通道授权信息。In a possible implementation manner, the method further includes: when the screen projection target device is in an idle state, the screen projection target device sends channel authorization information to the screen projection source device.
在一种可能的实现方式中,投屏目标设备接收由服务设备转发的投屏源设备的第一投屏请求;投屏目标设备经服务设备向投屏源设备发送通道授权信息。In a possible implementation manner, the screen projection target device receives the first screen projection request of the screen projection source device forwarded by the service device; the screen projection target device sends channel authorization information to the screen projection source device via the service device.
上述技术方案中,投屏源设备向投屏目标设备请求投屏时,投屏目标设备可以根据投屏目标设备的投屏状态(包括空闲状态和非空闲状态),确定是否向投屏源设备发送投屏目标设备的通道授权信息。在一种情况中,若投屏目标设备未处于空闲状态,则投屏目标设备可以将投屏源设备的标识加入至投屏目标设备的待投屏队列中,并在投屏目标设备处于空闲状态时,指示投屏源设备再次请求投屏目标设备的通道授权信息。从而投屏源设备无需多次向投屏目标设备请求投屏,减少投屏源设备请求投屏失败的次数。在投屏目标设备由非空闲状态切换为空闲状态时,投屏目标设备可以向投屏源设备指示再次向投屏目标 设备请求通道授权信息,减少投屏源设备的等待时长。在大型会议场景中,投屏目标设备可以基于多个投屏源设备的优先级,调整多个投屏源设备的投屏次序,有助于避免出现用户操作抢用的情况。无需投屏源设备的用户人工查看当前投屏目标设备的投屏状态,有助于提高用户体验。在多个投屏源设备需要依次投屏的情况下,有助于实现投屏目标设备的快速切换投屏。In the above technical solution, when the screen projection source device requests screen projection from the screen projection target device, the screen projection target device can determine whether to send the screen projection to the screen projection source device according to the screen projection state (including idle state and non-idle state) of the screen projection target device. Send the channel authorization information of the screencasting target device. In one case, if the screen-casting target device is not idle, the screen-casting target device can add the identity of the screen-casting source device to the screen-casting queue of the screen-casting target device, and when the screen-casting target device is idle state, instructs the screen-casting source device to request the channel authorization information of the screen-casting target device again. Therefore, the screen projection source device does not need to request the screen projection target device for multiple times, reducing the number of failed screen projection requests from the screen projection source device. When the screen-casting target device switches from the non-idle state to the idle state, the screen-casting target device can instruct the screen-casting source device to request channel authorization information from the screen-casting target device again, reducing the waiting time of the screen-casting source device. In a large-scale meeting scenario, the screen projection target device can adjust the screen projection order of multiple screen projection source devices based on the priority of multiple screen projection source devices, which helps to avoid the situation of user operation preemption. It is not necessary for the user of the screen-casting source device to manually check the screen-casting status of the current screen-casting target device, which helps to improve user experience. In the case that multiple screen projection source devices need to cast screens sequentially, it is helpful to quickly switch and cast screens for screen projection target devices.
第六方面,本申请提供一种投屏方法,该投屏方法可以由服务设备执行,该服务设备可以是服务器,服务器可以包括主机或处理器等实体设备,也可以包括虚拟机或容器等虚拟设备,还可以包括芯片或集成电路。此外,该投屏方法还可通过服务器的部件执行,如由服务器中的处理装置、电路、芯片等部件实现。In the sixth aspect, the present application provides a screen projection method, which can be executed by a service device, and the service device can be a server, and the server can include physical devices such as hosts or processors, or virtual devices such as virtual machines or containers. devices, which may also include chips or integrated circuits. In addition, the screen projection method can also be executed by components of the server, for example, implemented by components such as a processing device, a circuit, and a chip in the server.
在一种可能的实现方式中,服务设备向投屏源设备发送第一投屏目标设备的信息,第一投屏目标设备的信息中包括第一投屏目标设备的标识;第一投屏目标设备与投屏源设备具有关联关系;服务设备接收来自投屏源设备的第二投屏请求;第二投屏请求中包含第二投屏目标设备的标识;第二投屏目标设备是处于空闲状态的第一接收设备;服务设备根据第二投屏目标设备的标识,从第二投屏目标设备中获取第二投屏目标设备的通道授权信息;服务设备向投屏源设备发送通道授权信息,通道授权信息用于投屏源设备加密投屏数据并将加密后的投屏数据发送至第二投屏目标设备。In a possible implementation manner, the service device sends the information of the first screen-casting target device to the screen-casting source device, and the information of the first screen-casting target device includes the identifier of the first screen-casting target device; the first screen-casting target The device has an association relationship with the screen-casting source device; the service device receives the second screen-casting request from the screen-casting source device; the second screen-casting request contains the identity of the second screen-casting target device; the second screen-casting target device is idle The first receiving device in the state; the service device obtains the channel authorization information of the second screen projection target device from the second screen projection target device according to the identification of the second screen projection target device; the service device sends the channel authorization information to the screen projection source device , the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the second screen projection target device.
上述技术方案中,通过建立投屏源设备与投屏目标设备之间的关联关系,以及保持投屏目标设备与服务设备之间的信令通道,无需用户通过投屏源设备手动获取投屏目标设备的投屏授权信息,减少用户操作,有助于实现自动快速的投屏。In the above technical solution, by establishing the association between the screen projection source device and the screen projection target device, and maintaining the signaling channel between the screen projection target device and the service device, the user does not need to manually obtain the screen projection target through the screen projection source device The screen projection authorization information of the device reduces user operations and helps to realize automatic and fast screen projection.
在一种可能的实现方式中,服务设备向投屏源设备发送第一投屏目标设备的信息之前,还包括:服务设备确定与服务设备保持信令通道连接的第三投屏目标设备;服务设备从第三投屏目标设备中,确定出第一投屏目标设备。In a possible implementation manner, before the service device sends the information of the first screen projection target device to the screen projection source device, it further includes: the service device determines a third screen projection target device that maintains a signaling channel connection with the service device; The device determines the first target device for screen projection from the third target device for screen projection.
在一种可能的实现方式中,服务设备从第三投屏目标设备中,确定出第一投屏目标设备,包括:服务设备向投屏源设备发送第三投屏目标设备的标识;服务设备接收来自投屏源设备的关联请求,关联请求中包括投屏源设备从第三投屏目标设备的标识中确定出的目标标识;服务设备将目标标识对应的第三投屏目标设备,确定为第一投屏目标设备。In a possible implementation manner, the service device determines the first screen projection target device from the third screen projection target device, including: the service device sends an identifier of the third screen projection target device to the screen projection source device; the service device Receive an association request from the screen projection source device, where the association request includes the target ID determined by the screen projection source device from the ID of the third screen projection target device; the service device determines the third screen projection target device corresponding to the target ID as The target device for the first projection.
在一种可能的实现方式中,服务设备从第三投屏目标设备中,确定出第一投屏目标设备,包括:服务设备将第三投屏目标设备确定为第一投屏目标设备。In a possible implementation manner, the service device determining the first screen projection target device from the third screen projection target device includes: the service device determining the third screen projection target device as the first screen projection target device.
在一种可能的实现方式中,服务设备从第三投屏目标设备中,确定出第一投屏目标设备,包括:服务设备将第三投屏目标设备中、与投屏源设备属于同一区域的第三投屏目标设备确定为第一投屏目标设备。In a possible implementation manner, the service device determines the first screen projection target device from the third screen projection target device, including: the service device determines that the third screen projection target device belongs to the same area as the screen projection source device The third target device for screen projection is determined as the first target device for screen projection.
在一种可能的实现方式中,服务设备根据第二投屏目标设备的标识,从第二投屏目标设备中获取第二投屏目标设备的通道授权信息,包括:服务设备根据第二投屏目标设备的标识,向第二投屏目标设备发送第三投屏请求;服务设备接收第二投屏目标设备响应于第三投屏请求的第二投屏目标设备的通道授权信息。In a possible implementation manner, the service device obtains the channel authorization information of the second screen projection target device from the second screen projection target device according to the identifier of the second screen projection target device, including: the service device obtains the channel authorization information of the second screen projection target device according to the second screen projection target device The identifier of the target device sends a third screen projection request to the second screen projection target device; the service device receives the channel authorization information of the second screen projection target device that the second screen projection target device responds to the third screen projection request.
在一种可能的实现方式中,服务设备向投屏源设备发送第一投屏目标设备的信息之前,包括:服务设备监测第一投屏目标设备的投屏状态,得到第一投屏目标设备的投屏状态信息,投屏状态信息指示第一投屏目标设备是否处于空闲状态。在一种可能的实现方式中,第一投屏目标设备的信息中还包括第一投屏目标设备的投屏状态信息。In a possible implementation manner, before the service device sends the information of the first screen projection target device to the screen projection source device, it includes: the service device monitors the screen projection status of the first screen projection target device, and obtains the first screen projection target device The screen projection status information of the screen projection status information indicates whether the first screen projection target device is in an idle state. In a possible implementation manner, the information of the first screen-casting target device further includes screen-casting state information of the first screen-casting target device.
上述技术方案中,服务设备可以监测第一投屏目标设备的投屏状态,得到第一投屏目标设备的投屏状态信息,然后在向投屏源设备发送第一投屏目标设备的信息中携带有第一投屏目标设备的投屏状态信息,从而投屏源设备可以从处于空闲状态的第一投屏目标设备中确定出第二投屏目标设备,即第二投屏目标设备处于空闲状态。相应的,投屏源设备在向第二投屏目标设备请求投屏时,提高投屏的成功率。In the above technical solution, the service device can monitor the screen projection status of the first screen projection target device, obtain the screen projection status information of the first screen projection target device, and then send the information of the first screen projection target device to the screen projection source device It carries the screen projection status information of the first screen projection target device, so that the screen projection source device can determine the second screen projection target device from the first screen projection target device in the idle state, that is, the second screen projection target device is idle state. Correspondingly, when the screen projection source device requests the second screen projection target device for screen projection, the success rate of screen projection is increased.
在一种可能的实现方式中,服务设备向投屏源设备发送第一投屏目标设备的信息,包括:服务设备获取第一投屏目标设备中、投屏状态信息指示空闲状态的第一投屏目标设备的标识,并发送至投屏源设备。In a possible implementation manner, the service device sends the information of the first screen projection target device to the screen projection source device, including: the service device obtains the first screen projection target device whose screen projection status information indicates an idle state; The ID of the screen target device and send it to the screen projection source device.
上述技术方案中,服务设备可以根据第一投屏目标设备的投屏状态,从第一投屏目标设备中确定出处于空闲状态的第一投屏目标设备,并将该第一投屏目标设备的标识发送至投屏源设备,从而投屏源设备可以从处于空闲状态的第一投屏目标设备中确定出第二投屏目标设备,即第二投屏目标设备处于空闲状态。相应的,投屏源设备在向第二投屏目标设备请求投屏时,提高投屏的成功率。In the above technical solution, the service device may determine the first screen-casting target device that is in an idle state from the first screen-casting target devices according to the screen-casting status of the first screen-casting target device, and send the first screen-casting target device The ID of the screen projection is sent to the screen projection source device, so that the screen projection source device can determine the second screen projection target device from the first screen projection target device in an idle state, that is, the second screen projection target device is in an idle state. Correspondingly, when the screen projection source device requests the second screen projection target device for screen projection, the success rate of screen projection is increased.
第七方面,本申请提供一种投屏方法,该投屏方法可以由投屏源设备执行,该投屏源设备可以是终端设备,终端设备比如用户终端(如手机、电脑等)。In a seventh aspect, the present application provides a screen projection method, which can be executed by a screen projection source device, and the screen projection source device can be a terminal device, such as a user terminal (such as a mobile phone, a computer, etc.).
在一种可能的实现方式中,投屏方法包括:投屏源设备接收来自服务设备的第一投屏目标设备的信息,第一投屏目标设备的信息包含第一投屏目标设备的标识,第一投屏目标设备与投屏源设备具有关联关系;投屏源设备向服务设备发送第二投屏请求,第二投屏请求中包含第二投屏目标设备的标识,第二投屏目标设备是处于空闲状态的第一投屏目标设备;投屏源设备接收来自服务设备的第二投屏目标设备的通道授权信息;投屏源设备根据通道授权信息,加密投屏数据并将加密后的投屏数据发送至第二投屏目标设备。In a possible implementation manner, the screen projection method includes: the screen projection source device receives information of a first screen projection target device from the service device, the information of the first screen projection target device includes an identifier of the first screen projection target device, The first screen-casting target device has an association relationship with the screen-casting source device; the screen-casting source device sends a second screen-casting request to the service device, and the second screen-casting request contains the identity of the second screen-casting target device, and the second screen-casting target The device is the first screen projection target device in an idle state; the screen projection source device receives the channel authorization information of the second screen projection target device from the service device; the screen projection source device encrypts the screen projection data according to the channel authorization information and encrypts the encrypted The screen projection data is sent to the second screen projection target device.
在一种可能的实现方式中,投屏源设备向服务设备发送第二投屏请求之前,还包括:投屏源设备在投屏源设备的显示界面中显示第一投屏目标设备的标识;投屏源设备接收第二用户操作,第二用户操作为用户选择投屏源设备的显示界面中第一投屏目标设备的标识中的一个;投屏源设备将用户选择的第一投屏目标设备的标识作为第二投屏目标设备的标识。In a possible implementation manner, before the screen projection source device sends the second screen projection request to the service device, it further includes: the screen projection source device displays the identifier of the first screen projection target device on a display interface of the screen projection source device; The screen projection source device receives a second user operation, and the second user operation is that the user selects one of the identifiers of the first screen projection target device in the display interface of the screen projection source device; the screen projection source device converts the first screen projection target selected by the user The identifier of the device is used as the identifier of the second target device for screen projection.
在一种可能的实现方式中,第一投屏目标设备的信息中还包括第一投屏目标设备的投屏状态信息,投屏状态信息指示第一投屏目标设备是否处于空闲状态。In a possible implementation manner, the information of the first screen projection target device further includes screen projection state information of the first screen projection target device, and the screen projection state information indicates whether the first screen projection target device is in an idle state.
上述第七方面中任一种可能的实现方式可以达到的技术效果可以参照上述第六方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any possible implementation in the seventh aspect above, reference may be made to the description of beneficial effects in the sixth aspect above, and details will not be repeated here.
第八方面,本申请提供一种投屏方法,该投屏方法可以由第二投屏目标设备执行,该第二投屏目标设备可以是终端设备,终端设备比如投屏器、大屏设备、大屏类设备等。In an eighth aspect, the present application provides a screen projection method. The screen projection method can be executed by a second screen projection target device. The second screen projection target device can be a terminal device, such as a screen projection device, a large screen device, Large screen devices, etc.
在一种可能的实现方式中,投屏方法包括:第二投屏目标设备接收来自服务设备的第三投屏请求,服务设备与第二投屏目标设备之间保持信令通道连接;第二投屏目标设备响应于第三投屏请求,向服务设备发送第二投屏目标设备的通道授权信息,通道授权信息用于投屏源设备加密投屏数据并将加密后的投屏数据发送至第二投屏目标设备。In a possible implementation manner, the screen projection method includes: the second screen projection target device receives a third screen projection request from the service device, and the service device maintains a signaling channel connection with the second screen projection target device; In response to the third screen projection request, the screen projection target device sends channel authorization information of the second screen projection target device to the service device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to The target device for the second projection.
在一种可能的实现方式中,第二投屏目标设备接收来自投屏源设备根据通道授权信息加密得到的投屏数据,显示投屏数据。In a possible implementation manner, the second screen projection target device receives the screen projection data encrypted from the screen projection source device according to channel authorization information, and displays the screen projection data.
上述第八方面中任一种可能的实现方式可以达到的技术效果可以参照上述第六方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any one of the possible implementations in the above eighth aspect, reference may be made to the description of the beneficial effects in the above sixth aspect, which will not be repeated here.
第九方面,本申请提供一种投屏装置,包括:In a ninth aspect, the present application provides a screen projection device, including:
收发单元和处理单元;transceiver unit and processing unit;
在一种可能的实现方式中,处理单元用于,控制收发单元在接收来自代理设备的关联设备请求时,向代理设备发送与代理设备具有关联关系的至少一个关联设备的标识;处理单元还用于,控制收发单元接收来自代理设备的代理投屏请求,代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;其中至少一个关联设备包括投屏源设备;处理单元还用于,控制收发单元向投屏源设备发送投屏事件通知,投屏事件通知用于指示投屏源设备根据投屏事件通知中包括的投屏授权信息向投屏目标设备发送投屏数据,投屏数据在投屏目标设备上显示。In a possible implementation manner, the processing unit is configured to control the transceiver unit to send to the proxy device an identifier of at least one associated device that has an association relationship with the proxy device when the transceiver unit receives a request for an associated device from the proxy device; the processing unit further uses Therefore, the control transceiving unit receives the proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; wherein at least one associated device includes the screen projection source device; processing The unit is also used to control the sending and receiving unit to send a screen projection event notification to the screen projection source device, and the screen projection event notification is used to instruct the screen projection source device to send the screen projection to the screen projection target device according to the screen projection authorization information included in the screen projection event notification. Data, screen projection data is displayed on the screen projection target device.
在一种可能的实现方式中,关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。In a possible implementation manner, the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
在一种可能的实现方式中,处理单元在控制收发单元向投屏源设备发送投屏事件通知之前,还用于:确定投屏源设备为至少一个关联设备中的一个。In a possible implementation manner, before the processing unit controls the transceiving unit to send a screen projection event notification to the screen projection source device, it is further configured to: determine that the screen projection source device is one of at least one associated device.
在一种可能的实现方式中,处理单元在控制收发单元向投屏源设备发送投屏事件通知之后,还用于:控制收发单元接收来自投屏源设备的第一投屏请求,第一投屏请求中包括投屏授权信息和投屏源设备的标识;在投屏目标设备未处于空闲状态的情况下,将投屏源设备的标识加入至投屏装置的待投屏队列中。In a possible implementation manner, after the processing unit controls the transceiver unit to send a screen projection event notification to the screen projection source device, it is further configured to: control the transceiver unit to receive the first screen projection request from the screen projection source device, and the first screen projection The screen request includes screen projection authorization information and the identification of the screen projection source device; if the screen projection target device is not in an idle state, add the screen projection source device identification to the screen projection queue of the screen projection device.
在一种可能的实现方式中,处理单元还用于:在投屏目标设备处于空闲状态的情况下,从投屏目标设备中获取投屏目标设备的通道授权信息,并控制收发单元将通道授权信息发送至投屏源设备,该通道授权信息用于投屏源设备加密投屏数据。In a possible implementation manner, the processing unit is further configured to: obtain channel authorization information of the screen projection target device from the screen projection target device when the screen projection target device is in an idle state, and control the transceiver unit to authorize the channel The information is sent to the screen projection source device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data.
在一种可能的实现方式中,处理单元将投屏源设备的标识加入至投屏装置的待投屏队列中之前,还用于:监测投屏目标设备的投屏状态,确定投屏目标设备处于非空闲状态;或者,控制收发单元向投屏目标设备发送第一投屏请求,接收来自投屏目标设备的拒绝响应,拒绝响应用于指示投屏目标设备处于非空闲状态。In a possible implementation manner, before the processing unit adds the identification of the screen projection source device to the screen projection queue of the screen projection device, it is also used to: monitor the screen projection status of the screen projection target device, and determine the screen projection target device In a non-idle state; or, the control transceiver unit sends a first screen projection request to the screen projection target device, and receives a rejection response from the screen projection target device, and the rejection response is used to indicate that the screen projection target device is in a non-idle state.
上述第九方面中任一种可能的实现方式可以达到的技术效果可以参照上述第一方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any one of the possible implementations in the above ninth aspect, reference may be made to the description of the beneficial effects in the above first aspect, and details will not be repeated here.
第十方面,本申请提供一种投屏装置,包括:In a tenth aspect, the present application provides a screen projection device, including:
收发单元和处理单元;transceiver unit and processing unit;
在一种可能的实现方式中,处理单元用于,控制收发单元在接收来自代理设备的关联设备请求时,向代理设备发送与代理设备具有关联关系的至少一个关联设备的标识;处理单元还用于,控制收发单元接收来自代理设备的代理投屏请求,代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;其中至少一个关联设备包括投屏源设备;处理单元还用于,根据投屏授权信息,从投屏目标设备中获得投屏目标设备的通道授权信息,控制收发单元向投屏源设备发送通道授权信息;该通道授权信息用于投屏源设备加密投屏数据并将加密后的投屏数据发送至投屏目标设备,投屏数据在投屏目标设备上显示。In a possible implementation manner, the processing unit is configured to control the transceiver unit to send to the proxy device an identifier of at least one associated device that has an association relationship with the proxy device when the transceiver unit receives a request for an associated device from the proxy device; the processing unit further uses Therefore, the control transceiving unit receives the proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; wherein at least one associated device includes the screen projection source device; processing The unit is also used to obtain the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, and control the transceiver unit to send the channel authorization information to the screen projection source device; the channel authorization information is used by the screen projection source device Encrypt the screen projection data and send the encrypted screen projection data to the screen projection target device, and the screen projection data will be displayed on the screen projection target device.
在一种可能的实现方式中,处理单元具体用于:控制收发单元向投屏目标设备发送通 道授权请求,通道授权请求中包括投屏授权信息,通道授权请求用于向投屏目标设备请求通道授权信息;控制收发单元接收来自投屏目标设备的通道授权信息。In a possible implementation, the processing unit is specifically configured to: control the transceiver unit to send a channel authorization request to the screen projection target device, the channel authorization request includes screen projection authorization information, and the channel authorization request is used to request a channel from the screen projection target device Authorization information; controlling the transceiver unit to receive the channel authorization information from the screen projection target device.
上述第十方面中任一种可能的实现方式可以达到的技术效果可以参照上述第二方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any possible implementation manner in the above tenth aspect, reference may be made to the description of beneficial effects in the above second aspect, and details are not repeated here.
第十一方面,本申请提供一种投屏装置,包括:In an eleventh aspect, the present application provides a screen projection device, including:
收发单元和处理单元;transceiver unit and processing unit;
在一种可能的实现方式中,处理单元用于,获取投屏目标设备的投屏授权信息;处理单元还用于,在接收到代理请求投屏的指示时,从服务设备处获取与投屏装置具有关联关系的至少一个关联设备的标识;处理单元还用于,控制收发单元接收第一用户操作,第一用户操作为用户选择至少一个关联设备中的一个作为投屏源设备,控制收发单元向服务设备发送代理投屏请求,代理投屏请求中包括投屏授权信息和投屏源设备的标识,代理投屏请求用于指示服务设备向投屏源设备发送投屏事件通知。In a possible implementation manner, the processing unit is configured to acquire the screen-casting authorization information of the screen-casting target device; The device has an identification of at least one associated device with an association relationship; the processing unit is also used to control the transceiver unit to receive a first user operation, the first user operation is for the user to select one of the at least one associated device as the screen projection source device, and control the transceiver unit Send a proxy screen projection request to the service device, the proxy screen projection request includes the screen projection authorization information and the identification of the screen projection source device, and the proxy screen projection request is used to instruct the service device to send a screen projection event notification to the screen projection source device.
在一种可能的实现方式中,处理单元控制收发单元接收第一用户操作之前,还用于:在投屏装置的显示界面中显示至少一个关联设备的标识。In a possible implementation manner, before the processing unit controls the transceiver unit to receive the first user operation, it is further configured to: display an identifier of at least one associated device on a display interface of the screen projection device.
在一种可能的实现方式中,关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。In a possible implementation manner, the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
上述第十一方面中任一种可能的实现方式可以达到的技术效果可以参照上述第三方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any possible implementation manner in the above eleventh aspect, reference may be made to the description of beneficial effects in the above third aspect, and details are not repeated here.
第十二方面,本申请提供一种投屏装置,包括:In a twelfth aspect, the present application provides a screen projection device, including:
收发单元和处理单元;transceiver unit and processing unit;
在一种可能的实现方式中,所述处理单元用于,控制所述收发单元接收来自服务设备的投屏事件通知,所述投屏事件通知中包含投屏授权信息,所述投屏事件通知是所述服务设备响应于代理设备的代理投屏请求发送的,所述投屏装置与所述代理设备之间具有关联关系;所述处理单元还用于,根据所述投屏授权信息,控制所述收发单元向投屏目标设备发送所述投屏装置的投屏数据,所述投屏数据在所述投屏目标设备上显示。In a possible implementation manner, the processing unit is configured to control the transceiving unit to receive a screen casting event notification from the service device, the screen casting event notification includes screen casting authorization information, and the screen casting event notification It is sent by the service device in response to the proxy device’s proxy screen projection request, and the screen projection device has an association relationship with the proxy device; the processing unit is also used to control the screen projection according to the screen projection authorization information The transceiving unit sends the screen projection data of the screen projection device to the screen projection target device, and the screen projection data is displayed on the screen projection target device.
在一种可能的实现方式中,所述处理单元根据所述投屏授权信息,控制所述收发单元向投屏目标设备发送所述投屏装置的投屏数据之前,还用于:根据所述投屏事件通知,提示用户是否同意投屏;控制所述收发单元接收所述用户同意投屏的指示。In a possible implementation manner, before the processing unit controls the transceiving unit to send the screen projection data of the screen projection device to the screen projection target device according to the screen projection authorization information, it is further configured to: according to the A screen projection event notification, prompting the user whether to agree to screen projection; controlling the transceiver unit to receive an indication of the user's consent to screen projection.
在一种可能的实现方式中,所述关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。In a possible implementation manner, the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
在一种可能的实现方式中,所述处理单元具体用于:根据投屏授权信息,控制所述收发单元向投屏目标设备发送第一投屏请求,第一投屏请求中包括投屏授权信息和投屏源设备的标识;控制所述收发单元接收来自投屏目标设备的通道授权信息;根据通道授权信息加密投屏数据,并将加密后的投屏数据,发送至投屏目标设备。In a possible implementation manner, the processing unit is specifically configured to: control the transceiver unit to send a first screen projection request to the screen projection target device according to the screen projection authorization information, the first screen projection request includes the screen projection authorization information and the identification of the screen projection source device; controlling the transceiver unit to receive the channel authorization information from the screen projection target device; encrypting the screen projection data according to the channel authorization information, and sending the encrypted screen projection data to the screen projection target device.
在一种可能的实现方式中,所述处理单元具体用于:控制所述收发单元经服务设备向投屏目标设备发送第一投屏请求;控制所述收发单元接收来自服务设备转发的投屏目标设备的通道授权信息。In a possible implementation manner, the processing unit is specifically configured to: control the transceiver unit to send a first screen projection request to the screen projection target device via the service device; control the transceiver unit to receive the screen projection forwarded by the service device Channel authorization information for the target device.
上述第十二方面中任一种可能的实现方式可以达到的技术效果可以参照上述第四方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any possible implementation in the above-mentioned twelfth aspect, reference may be made to the description of beneficial effects in the above-mentioned fourth aspect, and details are not repeated here.
第十三方面,本申请提供一种投屏装置,包括:In a thirteenth aspect, the present application provides a screen projection device, including:
收发单元和处理单元;transceiver unit and processing unit;
在一种可能的实现方式中,处理单元控制收发单元接收来自投屏源设备的第一投屏请求,第一投屏请求中包括投屏目标设备的投屏授权信息和投屏源设备的标识,投屏授权信息用于投屏源设备向投屏目标设备请求投屏目标设备的通道授权信息,通道授权信息用于投屏源设备加密投屏数据;在投屏目标设备未处于空闲状态的情况下,处理单元将投屏源设备的标识加入至投屏目标设备的待投屏队列中。In a possible implementation manner, the processing unit controls the transceiving unit to receive a first screen projection request from the screen projection source device, and the first screen projection request includes the screen projection authorization information of the screen projection target device and the identification of the screen projection source device , the screen projection authorization information is used by the screen projection source device to request the channel authorization information of the screen projection target device from the screen projection target device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data; when the screen projection target device is not idle In this case, the processing unit adds the identifier of the screen-casting source device to the screen-casting queue of the screen-casting target device.
在一种可能的实现方式中,在投屏目标设备处于空闲状态的情况下,处理单元还用于控制收发单元向投屏源设备发送通道授权信息。In a possible implementation manner, when the screen projection target device is in an idle state, the processing unit is further configured to control the transceiver unit to send channel authorization information to the screen projection source device.
在一种可能的实现方式中,处理单元具体用于,控制收发单元接收由服务设备转发的投屏源设备的第一投屏请求;控制收发单元经服务设备向投屏源设备发送通道授权信息。In a possible implementation, the processing unit is specifically configured to control the transceiver unit to receive the first screen projection request of the screen projection source device forwarded by the service device; control the transceiver unit to send channel authorization information to the screen projection source device via the service device .
上述第十三方面中任一种可能的实现方式可以达到的技术效果可以参照上述第五方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any one of the possible implementations in the above-mentioned thirteenth aspect, reference may be made to the description of beneficial effects in the above-mentioned fifth aspect, and details are not repeated here.
第十四方面,本申请提供一种投屏装置,包括:In a fourteenth aspect, the present application provides a screen projection device, including:
收发单元和处理单元;transceiver unit and processing unit;
在一种可能的实现方式中,处理单元控制收发单元向投屏源设备发送第一投屏目标设备的信息,第一投屏目标设备的信息中包括第一投屏目标设备的标识;第一投屏目标设备与投屏源设备具有关联关系;控制收发单元接收来自投屏源设备的第二投屏请求;第二投屏请求中包含第二投屏目标设备的标识;第二投屏目标设备是处于空闲状态的第一接收设备;根据第二投屏目标设备的标识,从第二投屏目标设备中获取第二投屏目标设备的通道授权信息;控制收发单元向投屏源设备发送通道授权信息,通道授权信息用于投屏源设备加密投屏数据并将加密后的投屏数据发送至第二投屏目标设备。In a possible implementation manner, the processing unit controls the transceiver unit to send the information of the first screen projection target device to the screen projection source device, and the information of the first screen projection target device includes an identifier of the first screen projection target device; the first The screen projection target device has an association relationship with the screen projection source device; the control transceiver unit receives the second screen projection request from the screen projection source device; the second screen projection request contains the identity of the second screen projection target device; the second screen projection target The device is the first receiving device in an idle state; according to the identification of the second screen-casting target device, the channel authorization information of the second screen-casting target device is obtained from the second screen-casting target device; Channel authorization information. The channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the second screen projection target device.
在一种可能的实现方式中,处理单元控制收发单元向投屏源设备发送第一投屏目标设备的信息之前,还用于:确定与服务设备保持信令通道连接的第三投屏目标设备;从第三投屏目标设备中,确定出第一投屏目标设备。In a possible implementation manner, before the processing unit controls the transceiver unit to send the information of the first screen projection target device to the screen projection source device, it is also used to: determine a third screen projection target device that maintains a signaling channel connection with the service device ; Determine the first screen projection target device from the third screen projection target device.
在一种可能的实现方式中,处理单元具体用于:控制收发单元向投屏源设备发送第三投屏目标设备的标识;控制收发单元接收来自投屏源设备的关联请求,关联请求中包括投屏源设备从第三投屏目标设备的标识中确定出的目标标识;将目标标识对应的第三投屏目标设备,确定为第一投屏目标设备。In a possible implementation manner, the processing unit is specifically configured to: control the transceiver unit to send an identifier of the third screen projection target device to the screen projection source device; control the transceiver unit to receive an association request from the screen projection source device, and the association request includes The screen projection source device determines the target identifier from the identifiers of the third screen projection target device; and determines the third screen projection target device corresponding to the target identifier as the first screen projection target device.
在一种可能的实现方式中,处理单元具体用于:将第三投屏目标设备确定为第一投屏目标设备。In a possible implementation manner, the processing unit is specifically configured to: determine the third screen projection target device as the first screen projection target device.
在一种可能的实现方式中,处理单元具体用于:将第三投屏目标设备中、与投屏源设备属于同一区域的第三投屏目标设备确定为第一投屏目标设备。In a possible implementation manner, the processing unit is specifically configured to: determine, among the third screen projection target devices, a third screen projection target device that belongs to the same area as the screen projection source device as the first screen projection target device.
在一种可能的实现方式中,处理单元具体用于:根据第二投屏目标设备的标识,控制收发单元向第二投屏目标设备发送第三投屏请求;控制收发单元接收第二投屏目标设备响应于第三投屏请求的第二投屏目标设备的通道授权信息。In a possible implementation manner, the processing unit is specifically configured to: control the transceiver unit to send a third screen projection request to the second screen projection target device according to the identifier of the second screen projection target device; control the transceiver unit to receive the second screen projection The target device responds to the channel authorization information of the second screen projection target device in response to the third screen projection request.
在一种可能的实现方式中,处理单元控制收发单元向投屏源设备发送第一投屏目标设备的信息之前,包括:监测第一投屏目标设备的投屏状态,得到第一投屏目标设备的投屏状态信息,投屏状态信息指示第一投屏目标设备是否处于空闲状态。In a possible implementation manner, before the processing unit controls the transceiver unit to send the information of the first screen projection target device to the screen projection source device, it includes: monitoring the screen projection state of the first screen projection target device, and obtaining the first screen projection target Screen projection status information of the device, where the screen projection status information indicates whether the first screen projection target device is in an idle state.
在一种可能的实现方式中,第一投屏目标设备的信息中还包括第一投屏目标设备的投 屏状态信息。In a possible implementation manner, the information of the first screen-casting target device further includes screen-casting state information of the first screen-casting target device.
在一种可能的实现方式中,处理单元具体用于:获取第一投屏目标设备中、投屏状态信息指示空闲状态的第一投屏目标设备的标识,并控制所述收发单元发送至投屏源设备。In a possible implementation manner, the processing unit is specifically configured to: obtain the identifier of the first screen projection target device whose screen projection state information indicates an idle state among the first screen projection target devices, and control the sending and receiving unit to send to the projection Screen source device.
上述第十四方面中任一种可能的实现方式可以达到的技术效果可以参照上述第六方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any one of the possible implementation manners in the above fourteenth aspect, reference may be made to the description of the beneficial effects in the above sixth aspect, which will not be repeated here.
第十五方面,本申请提供一种投屏装置,包括:In a fifteenth aspect, the present application provides a screen projection device, including:
收发单元和处理单元;transceiver unit and processing unit;
在一种可能的实现方式中,处理单元用于,控制收发单元接收来自服务设备的第一投屏目标设备的信息,第一投屏目标设备的信息包含第一投屏目标设备的标识,第一投屏目标设备与投屏源设备具有关联关系;控制收发单元向服务设备发送第二投屏请求,第二投屏请求中包含第二投屏目标设备的标识,第二投屏目标设备是处于空闲状态的第一投屏目标设备;控制收发单元接收来自服务设备的第二投屏目标设备的通道授权信息;根据通道授权信息,加密投屏数据并控制收发单元将加密后的投屏数据发送至第二投屏目标设备。In a possible implementation manner, the processing unit is configured to control the transceiver unit to receive information of a first screen projection target device from the service device, where the information of the first screen projection target device includes an identifier of the first screen projection target device, and the second A screen projection target device has an association relationship with the screen projection source device; the control transceiver unit sends a second screen projection request to the service device, the second screen projection request contains the identity of the second screen projection target device, and the second screen projection target device is The first screen projection target device in an idle state; control the transceiver unit to receive channel authorization information from the second screen projection target device of the service device; encrypt the screen projection data according to the channel authorization information and control the transceiver unit to convert the encrypted screen projection data Send to the second target device for screencasting.
在一种可能的实现方式中,处理单元控制收发单元向服务设备发送第二投屏请求之前,还用于:在投屏装置的显示界面中显示第一投屏目标设备的标识;控制收发单元接收第二用户操作,第二用户操作为用户选择投屏源设备的显示界面中第一投屏目标设备的标识中的一个;将用户选择的第一投屏目标设备的标识作为第二投屏目标设备的标识。In a possible implementation manner, before the processing unit controls the transceiver unit to send the second screen projection request to the service device, it is further configured to: display the identity of the first screen projection target device on the display interface of the screen projection device; control the transceiver unit Receive a second user operation, the second user operation is the user selects one of the identifiers of the first screen projection target device in the display interface of the screen projection source device; use the identifier of the first screen projection target device selected by the user as the second screen projection The identity of the target device.
在一种可能的实现方式中,第一投屏目标设备的信息中还包括第一投屏目标设备的投屏状态信息,投屏状态信息指示第一投屏目标设备是否处于空闲状态。In a possible implementation manner, the information of the first screen projection target device further includes screen projection state information of the first screen projection target device, and the screen projection state information indicates whether the first screen projection target device is in an idle state.
上述第十五方面中任一种可能的实现方式可以达到的技术效果可以参照上述第七方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any one of the possible implementations in the fifteenth aspect above, reference may be made to the description of beneficial effects in the seventh aspect above, and details are not repeated here.
第十六方面,本申请提供一种投屏装置,包括:In a sixteenth aspect, the present application provides a screen projection device, including:
收发单元和处理单元;transceiver unit and processing unit;
在一种可能的实现方式中,处理单元用于,控制收发单元接收来自服务设备的第三投屏请求,服务设备与第二投屏目标设备之间保持信令通道连接;响应于第三投屏请求,控制收发单元向服务设备发送第二投屏目标设备的通道授权信息,通道授权信息用于投屏源设备加密投屏数据并将加密后的投屏数据发送至第二投屏目标设备。In a possible implementation manner, the processing unit is configured to control the transceiver unit to receive the third screen projection request from the service device, and maintain a signaling channel connection between the service device and the second screen projection target device; Screen request, control the transceiver unit to send the channel authorization information of the second screen projection target device to the service device, the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the second screen projection target device .
上述第十六方面中任一种可能的实现方式可以达到的技术效果可以参照上述第八方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any one of the possible implementations in the sixteenth aspect above, reference may be made to the description of the beneficial effects in the eighth aspect above, and details will not be repeated here.
第十七方面,本申请提供一种计算设备,包括处理器,所述处理器与存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述计算设备实现上述第一方面至第八方面的任一方面中任一种可能的实现方式中的方法。In a seventeenth aspect, the present application provides a computing device, including a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory to The computing device is made to implement the method in any possible implementation manner of any one of the foregoing first aspect to the eighth aspect.
第十八方面,本申请提供一种计算设备,包括处理器和存储器,所述处理器与所述存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述计算设备实现上述第一方面至第八方面的任一方面中任一种可能的实现方式中的方法。In an eighteenth aspect, the present application provides a computing device, including a processor and a memory, the processor is connected to the memory, the memory is used to store computer programs, and the processor is used to execute the program stored in the memory A computer program, so that the computing device implements the method in any possible implementation manner of any one of the first aspect to the eighth aspect above.
第十九方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序或指令,当所述计算机程序或指令被计算设备执行时,所述计算设备实现上 述第一方面至第八方面的任一方面中任一种可能的实现方式中的方法。In a nineteenth aspect, the present application provides a computer-readable storage medium, where computer programs or instructions are stored in the computer-readable storage medium, and when the computer programs or instructions are executed by a computing device, the computing device implements the above-mentioned A method in any possible implementation manner of any one of the first aspect to the eighth aspect.
第二十方面,本申请提供一种计算机程序产品,该计算机程序产品包括计算机程序或指令,当该计算机程序或指令被计算设备执行时,实现上述第一方面至第八方面的任一方面中任一种可能的实现方式中的方法。In a twentieth aspect, the present application provides a computer program product, the computer program product includes a computer program or an instruction, and when the computer program or instruction is executed by a computing device, any one of the above first to eighth aspects can be realized A method in any of the possible implementations.
第二十一方面,本申请提供一种芯片,包括至少一个处理器和接口;所述接口,用于为所述至少一个处理器提供程序指令或者数据;所述至少一个处理器用于执行所述程序行指令,以实现上述第一方面至第八方面的任一方面中任一种可能的实现方式中的方法。In a twenty-first aspect, the present application provides a chip, including at least one processor and an interface; the interface is used to provide program instructions or data for the at least one processor; the at least one processor is used to execute the A program line of instructions to implement the method in any possible implementation manner of any one of the above-mentioned first aspect to the eighth aspect.
第二十二方面,本申请提供一种投屏系统,包括上述第九方面中任一种可能的实现方式,以及上述第十一方面中任一种可能的实现方式,以及上述第十二方面中任一种可能的实现方式,以及上述第十三方面中任一种可能的实现方式。In a twenty-second aspect, the present application provides a screen projection system, including any possible implementation of the above-mentioned ninth aspect, any possible implementation of the above-mentioned eleventh aspect, and the above-mentioned twelfth aspect Any one of the possible implementations, and any one of the possible implementations of the above-mentioned thirteenth aspect.
第二十三方面,本申请提供一种投屏系统,包括上述第十四方面中任一种可能的实现方式,以及上述第十五方面中任一种可能的实现方式,以及上述第十六方面中任一种可能的实现方式。In a twenty-third aspect, the present application provides a screen projection system, including any possible implementation of the above-mentioned fourteenth aspect, any possible implementation of the above-mentioned fifteenth aspect, and the above-mentioned sixteenth aspect Any possible implementation of the aspect.
上述第十七方面至第二十三方面中任一方面可以达到的技术效果可以参照上述第一方面至第十六方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved by any one of the above seventeenth to twenty-third aspects, reference can be made to the description of beneficial effects in the above first to sixteenth aspects, which will not be repeated here.
附图说明Description of drawings
图1中为本申请示例性提供的一组投屏系统的架构示意图;Fig. 1 is a schematic diagram of the architecture of a group of screen projection systems provided by the present application;
图2为本申请示例性提供的一种现有方案中本地投屏的流程示意图;FIG. 2 is a schematic flowchart of local screen projection in an existing solution provided by the present application;
图3为本申请示例性提供的一种可能的投屏场景的示意图;FIG. 3 is a schematic diagram of a possible screen projection scenario provided by the present application;
图4为本申请示例性提供的一种适用于本申请实施例的投屏系统的系统架构图;FIG. 4 is a system architecture diagram of a screen projection system applicable to the embodiment of the application provided by the application;
图5为本申请示例性提供的一种投屏方法的流程示意图;FIG. 5 is a schematic flow chart of a screen projection method exemplarily provided by the present application;
图6为本申请示例性提供的第一组投屏源设备的显示界面示意图;FIG. 6 is a schematic diagram of a display interface of the first group of screen projection source devices provided by the present application;
图7为本申请示例性示出的再一种投屏方法的流程示意图;FIG. 7 is a schematic flowchart of another screen projection method exemplarily shown in the present application;
图8为本申请示例性示出的一种本地投屏中采用待投屏队列的方法的流程示意图;FIG. 8 is a schematic flowchart of a method for using a waiting queue for screen projection in local projection according to an example of the present application;
图9为本申请示例性示出的一种远程投屏中采用待投屏队列的方法的流程示意图;FIG. 9 is a schematic flowchart of a method for using a queue to be projected in a remote screen projected according to an example of the present application;
图10为本申请示例性示出的再一种远程投屏中采用待投屏队列的方法的流程示意图;FIG. 10 is a schematic flowchart of another method for using a queue to be screened in remote screen projection shown in the present application;
图11为本申请示例性提供的第二组投屏源设备的显示界面示意图;FIG. 11 is a schematic diagram of a display interface of a second group of screen projection source devices provided by the present application;
图12为本申请示例性提供的又一种投屏方法的流程示意图;FIG. 12 is a schematic flow chart of another screen projection method provided by the present application;
图13为本申请示例性提供的第三组投屏源设备的显示界面示意图;FIG. 13 is a schematic diagram of a display interface of a third group of screen projection source devices provided by the present application;
图14为本申请示例性提供的一种投屏装置的结构示意图;Fig. 14 is a schematic structural diagram of a screen projection device provided by the present application;
图15为本申请示例性提供的再一种投屏装置的结构示意图。FIG. 15 is a schematic structural diagram of yet another screen projection device exemplarily provided in the present application.
具体实施方式Detailed ways
投屏可以是将投屏源设备(比如手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑等)上的投屏数据投放到投屏目标设备上进行播放,有助于以高效的方式进行数据呈现共享。Screencasting can be to put the screencasting data on the screencasting source device (such as mobile phone, tablet (Pad), computer with wireless transceiver function, etc.) An efficient way to present and share data.
从投屏源设备中是否显示内容的角度来说,一种可能投屏示例中,投屏源设备可以根据在投屏源设备的界面中显示的内容(比如视频、图片)生成对应的投屏数据,并发送给 投屏目标设备,投屏源设备和投屏目标设备分别在各自界面中显示相同内容。另一种可能投屏示例中,投屏源设备可以根据待显示的内容生成对应的投屏数据,并发送给投屏目标设备,投屏目标设备在投屏目标设备的界面中显示投屏源设备待显示的内容。From the perspective of whether content is displayed on the screen-casting source device, in a possible screen-casting example, the screen-casting source device can generate a corresponding screen-casting based on the content (such as video, picture) displayed in the interface of the screen-casting source device The data is sent to the screen-casting target device, and the screen-casting source device and the screen-casting target device display the same content in their respective interfaces. In another example of possible screen projection, the screen projection source device can generate corresponding screen projection data according to the content to be displayed, and send it to the screen projection target device, and the screen projection target device will display the screen projection source in the interface of the screen projection target device The content to be displayed by the device.
投屏的方式可以是局域网(local area network,LAN)内点对点的本地投屏方式,也可以是经过服务设备转发实现的远程投屏方式。The method of screen projection can be a point-to-point local screen projection method in a local area network (LAN), or a remote screen projection method realized through service equipment forwarding.
如图1中(a)为本申请示例性提供的一种本地投屏系统的架构示意图。该本地投屏系统中包括投屏源设备和投屏目标设备,投屏源设备通过LAN将投屏数据发送至投屏目标设备,相应的,投屏目标设备接收投屏数据并播放。Fig. 1 (a) is a schematic structural diagram of a local screen projection system exemplarily provided by the present application. The local screen projection system includes a screen projection source device and a screen projection target device. The screen projection source device sends screen projection data to the screen projection target device through the LAN. Correspondingly, the screen projection target device receives and plays the screen projection data.
如图1中(b)为本申请示例性提供的一种远程投屏系统的架构示意图。该远程投屏系统中包括投屏源设备、投屏目标设备和服务设备,其中投屏源设备将投屏数据经服务设备转发至投屏目标设备,投屏目标设备接收投屏数据并播放。(b) in FIG. 1 is a schematic structural diagram of a remote screen projection system exemplarily provided by the present application. The remote screen projection system includes a screen projection source device, a screen projection target device and a service device, wherein the screen projection source device forwards the screen projection data to the screen projection target device through the service device, and the screen projection target device receives and plays the screen projection data.
本申请中,投屏源设备又可以称为是投屏移动设备、移动设备、发送设备等,投屏目标设备又可以称为是投屏设备、投屏器、接收设备、大屏设备、大屏类设备等。服务设备又可以称为是服务端、服务器、投屏服务等。In this application, the screen-casting source device can also be called a screen-casting mobile device, mobile device, sending device, etc., and the screen-casting target device can also be called a screen-casting device, a screen-casting device, a receiving device, a large-screen device, a large-screen device, etc. screen devices, etc. The service device can also be called a server, a server, or a projection service, etc.
如图2为本申请提供的一种现有方案中本地投屏的流程示意图,该流程中:Figure 2 is a schematic flow diagram of a local projection screen in an existing solution provided by this application, in this flow:
步骤201,投屏目标设备显示投屏授权信息。In step 201, the screen-casting target device displays screen-casting authorization information.
投屏授权信息可以是由投屏目标设备生成的。示例性的,投屏目标设备在设备启动之后,或者在接收到用户的投屏指令之后,在投屏目标设备的显示界面中显示投屏授权信息。The screen-casting authorization information may be generated by the screen-casting target device. Exemplarily, after the device is started, or after receiving a user's screen projection instruction, the screen projection target device displays the screen projection authorization information on the display interface of the screen projection target device.
示例性的,投屏授权信息可以是投屏二维码,其中投屏二维码是用某种特定的几何图形按一定规律在平面(二维方向上)分布的黑白相间的图形记录数据符号信息的。投屏授权信息还可以是投屏码,投屏码比如是由数字、大小写字符、特殊字符等组成的字符串,投屏码比如是“Ba34dg#k6”。Exemplarily, the screen projection authorization information may be a screen projection two-dimensional code, wherein the screen projection two-dimensional code is a black and white graphic record data symbol distributed on a plane (two-dimensional direction) with a certain specific geometric figure according to a certain rule informational. The screen projection authorization information may also be a screen projection code, such as a string composed of numbers, uppercase and lowercase characters, special characters, etc., and the screen projection code is, for example, "Ba34dg#k6".
步骤202,投屏源设备获取投屏授权信息。In step 202, the screen projection source device obtains screen projection authorization information.
示例性的,如果投屏授权信息是投屏二维码,则用户可以用投屏源设备扫描投屏目标设备上显示的投屏二维码,从而投屏源设备获取到该投屏二维码。或者,如果投屏授权信息是投屏码,则用户可以在投屏源设备中输入投屏码,从而投屏源设备获取到该投屏码。Exemplarily, if the screen projection authorization information is a screen projection QR code, the user can use the screen projection source device to scan the screen projection QR code displayed on the screen projection target device, so that the screen projection source device can obtain the screen projection QR code. code. Alternatively, if the screen projection authorization information is a screen projection code, the user may input the screen projection code in the screen projection source device, so that the screen projection source device obtains the screen projection code.
步骤203,投屏源设备根据投屏授权信息生成投屏请求,向投屏目标设备发送投屏请求。其中投屏请求中包括有投屏授权信息。Step 203, the screen projection source device generates a screen projection request according to the screen projection authorization information, and sends the screen projection request to the screen projection target device. The screen casting request includes screen casting authorization information.
步骤204,投屏目标设备根据投屏请求中投屏授权信息,确定投屏源设备通过投屏验证。具体的,投屏目标设备若确定投屏请求中投屏授权信息为自己在界面中显示的投屏授权信息,则确定投屏源设备通过投屏验证。In step 204, the screen projection target device determines that the screen projection source device passes the screen projection verification according to the screen projection authorization information in the screen projection request. Specifically, if the screen-casting target device determines that the screen-casting authorization information in the screen-casting request is the screen-casting authorization information displayed on the interface, it determines that the screen-casting source device passes the screen-casting verification.
步骤205,投屏目标设备向投屏源设备发送通道授权信息。Step 205, the screen projection target device sends channel authorization information to the screen projection source device.
本申请中,通道授权信息可以理解为加密密钥或加密凭证。通道授权信息用于投屏源设备与投屏目标设备之间加密通信。In this application, the channel authorization information can be understood as an encryption key or an encryption certificate. The channel authorization information is used for encrypted communication between the screen projection source device and the screen projection target device.
步骤206,投屏源设备根据通道授权信息向投屏目标设备发送投屏数据。Step 206, the screen projection source device sends screen projection data to the screen projection target device according to the channel authorization information.
一种可选实现中,投屏源设备根据通道授权信息对投屏数据进行加密,得到加密之后的投屏数据(可称为加密数据),然后将该加密数据发送至投屏目标设备。相应的,投屏目标设备可以基于该通道授权信息对加密数据进行解密,得到投屏数据。从而保障投屏源设备和投屏目标设备向之间数据通信的安全性。In an optional implementation, the screen projection source device encrypts the screen projection data according to channel authorization information to obtain encrypted screen projection data (which may be called encrypted data), and then sends the encrypted data to the screen projection target device. Correspondingly, the screen projection target device can decrypt the encrypted data based on the channel authorization information to obtain the screen projection data. In this way, the security of data communication between the screen projection source device and the screen projection target device is guaranteed.
在远程投屏过程中,投屏源设备和投屏目标设备二者之间通过服务设备从中间转发来实现通信:投屏源设备经服务设备向投屏目标设备发送投屏请求,相应的,投屏目标设备经服务设备向投屏源设备发送通道授权信息。其他步骤与上述步骤201至步骤205类似,不再赘述。In the process of remote screen projection, the communication between the screen projection source device and the screen projection target device is forwarded by the service device from the middle: the screen projection source device sends a screen projection request to the screen projection target device through the service device, and correspondingly, The screen projection target device sends channel authorization information to the screen projection source device via the service device. Other steps are similar to the above steps 201 to 205 and will not be repeated here.
为了更好的解释本申请实施例,结合图3示例性的提供的一种可能的投屏场景的示意图,解释说明上述投屏流程。如图3中的投屏场景可以是会议场景,比如有用户A、用户B、用户C三个人参会,其中,用户A和用户B在会议室中参会,用户C在会议室外远程参会。每个用户都需要将自己的投屏源设备中的数据在会议室中的投屏目标设备上进行投屏显示。比如,用户A持有两个投屏源设备,两个投屏源设备比如分别是手机a和电脑d(其中手机a和电脑d对应于相同账户,即用户A的账户)。用户B持有一个投屏源设备,比如是手机b。用户C持有一个投屏源设备,比如是手机c。In order to better explain the embodiment of the present application, the above-mentioned screen casting process is explained in combination with a schematic diagram of a possible screen casting scenario provided as an example in FIG. 3 . The screencasting scene shown in Figure 3 can be a meeting scene. For example, there are three people participating in the meeting, user A, user B, and user C. Among them, user A and user B participate in the meeting in the meeting room, and user C participates in the meeting remotely outside the meeting room. . Each user needs to display the data in his screen-casting source device on the screen-casting target device in the meeting room. For example, user A holds two screen projection source devices, such as mobile phone a and computer d (where mobile phone a and computer d correspond to the same account, that is, the account of user A). User B holds a screen projection source device, such as mobile phone b. User C holds a screen projection source device, such as mobile phone c.
由于用户A在会议室中,则用户A可以用手机a扫描会议室中投屏目标设备上显示的投屏二维码进行投屏。具体的,当用户A需要将手机a中的投屏数据进行投屏显示时,可以通过手机a扫描投屏目标设备上显示的投屏二维码,以使得手机a获取到该投屏二维码,进而基于图2中流程,将手机a中投屏数据发送至投屏目标设备中。同理,用户B也可以通过手机b扫描投屏目标设备上显示的投屏二维码,以使得手机b获取到该投屏二维码,进而基于图2中流程,将手机b中投屏数据发送至投屏目标设备中。Since user A is in the conference room, user A can use mobile phone a to scan the screen projection QR code displayed on the screen projection target device in the conference room to perform screen projection. Specifically, when user A needs to display the screen projection data in mobile phone a, he can use mobile phone a to scan the screen projection QR code displayed on the screen projection target device, so that mobile phone a can obtain the screen projection QR code. code, and then based on the process in Figure 2, the screen projection data in mobile phone a is sent to the screen projection target device. Similarly, user B can also scan the screen projection QR code displayed on the screen projection target device through mobile phone b, so that mobile phone b can obtain the screen projection QR code, and then based on the process in Figure 2, the screen projection on mobile phone b The data is sent to the screen-casting target device.
由于用户C在会议室外远程参会,则用户C不能直接用手机c扫描投屏目标设备上显示的投屏二维码进行投屏。用户A可通过手机a向手机c发送投屏二维码,相应的,用户C再通过手机c扫描该投屏二维码,以使得手机c获取到该投屏二维码,进而基于图2中流程,将手机c中投屏数据发送至投屏目标设备中。Since user C participates in the conference remotely outside the meeting room, user C cannot directly use mobile phone c to scan the screen projection QR code displayed on the screen projection target device to perform screen projection. User A can send a screen projection QR code to mobile phone c through mobile phone a. Correspondingly, user C scans the screen projection QR code through mobile phone c, so that mobile phone c can obtain the screen projection QR code, and then based on Figure 2 In the middle process, the screen projection data in the mobile phone c is sent to the screen projection target device.
同理,用户A、用户B、用户C还可以手动将投屏目标设备上显示的投屏码输入至各自的手机中,从而实现将各自手机中的投屏数据发送至投屏目标设备中。其中用户C可以从用户A处获取到投屏目标设备上显示的投屏码。Similarly, user A, user B, and user C can also manually input the screen projection code displayed on the screen projection target device into their respective mobile phones, so as to realize sending the screen projection data in their respective mobile phones to the screen projection target device. User C can obtain the screen projection code displayed on the screen projection target device from user A.
在每次投屏时,用户需要通过投屏源设备扫描投屏目标设备上显示的投屏二维码,或者,在投屏源设备中输入投屏目标设备上显示的投屏码,以使得投屏源设备获取到投屏目标设备的投屏授权信息。该方式需要用户手动验证,且操作繁琐。For each screen projection, the user needs to scan the screen projection QR code displayed on the screen projection target device through the screen projection source device, or input the screen projection code displayed on the screen projection target device in the screen projection source device, so that The screen projection source device obtains the screen projection authorization information of the screen projection target device. This method requires manual verification by the user, and the operation is cumbersome.
鉴于此,为了减少用户操作,提高投屏系统中投屏操作的灵活性,本申请提供一种投屏方法,该投屏方法引入代理设备,代理设备可用于为一个或多个投屏源设备获取投屏目标设备的投屏授权信息,因而一个或多个投屏源设备对应的用户可以无需进行手动验证。In view of this, in order to reduce user operations and improve the flexibility of screen projection operations in the screen projection system, this application provides a screen projection method, which introduces a proxy device, and the proxy device can be used for one or more screen projection source devices Obtain the screen-casting authorization information of the screen-casting target device, so users corresponding to one or more screen-casting source devices do not need to perform manual verification.
如图4为本申请示例性提供的一种适用于本申请实施例的投屏系统的系统架构图。示例性的,该投屏系统中可以包括代理设备、投屏源设备、服务设备和投屏目标设备。在本地投屏中,图4中的投屏源设备与投屏目标设备二者可以连接。图4仅为示例性,本申请并不限定各设备的数量。FIG. 4 is an exemplary system architecture diagram of a screen projection system applicable to the embodiment of the present application provided by the present application. Exemplarily, the screen projection system may include a proxy device, a screen projection source device, a service device, and a screen projection target device. In local screen projection, both the screen projection source device and the screen projection target device in FIG. 4 can be connected. FIG. 4 is only exemplary, and the present application does not limit the number of devices.
在一种可能的实现方式中,服务设备可用于管理投屏系统中各终端设备的信息。示例性的,终端设备中可以安装有投屏应用,终端设备在与服务设备交互之前,可以通过投屏应用登录至服务设备中,服务设备中记录有终端设备的信息,终端设备的信息比如账户信息、设备标识、网际互连协议(internet protocol,IP)地址、端口号等。示例性的,终端 设备可以是代理设备、或投屏源设备、或投屏目标设备。In a possible implementation manner, the service device can be used to manage information of each terminal device in the screen projection system. Exemplarily, a screen-casting application may be installed in the terminal device, and the terminal device may log in to the service device through the screen-casting application before interacting with the service device. Information of the terminal device is recorded in the service device, such as an account Information, device identification, Internet protocol (internet protocol, IP) address, port number, etc. Exemplarily, the terminal device may be a proxy device, or a screen projection source device, or a screen projection target device.
在该投屏系统中,代理设备可以为投屏系统中的投屏源设备请求投屏授权信息,示例性的,可将代理设备理解为相对于投屏目标设备的近端设备,可将投屏源设备理解为相对于投屏目标设备的远端设备。In the screen projection system, the proxy device can request screen projection authorization information for the screen projection source device in the screen projection system. For example, the proxy device can be understood as a near-end device relative to the screen projection target device. The screen source device is understood as a remote device relative to the screen projection target device.
代理设备与投屏源设备之间存在关联关系,在一种可能的实现方式中,二者之间的关联关系可以至少包括如下中的一项的或多项:There is an association relationship between the proxy device and the screen projection source device. In a possible implementation manner, the association relationship between the two may at least include one or more of the following:
(1)代理设备与投屏源设备对应于同一个账户。(1) The proxy device and the source device for screen projection correspond to the same account.
比如图3示例性示出的会议场景中,用户A想要将电脑d上的投屏数据在投屏目标设备上显示,用户A可以通过手机a为电脑d获取投屏目标设备上显示的投屏授权信息。此处,手机a即为代理设备,电脑d即为投屏源设备。For example, in the conference scene shown in Figure 3, user A wants to display the screen projection data on computer d on the screen projection target device, and user A can obtain the projection data displayed on the screen projection target device for computer d through mobile phone a. screen authorization information. Here, the mobile phone a is the proxy device, and the computer d is the screen projection source device.
(2)代理设备与投屏源设备对应于同一个群组或同一个部门。(2) The agent device and the screen projection source device correspond to the same group or the same department.
比如图3示例性示出的会议场景中,用户A与用户C参加同一个会议,用户A的手机a与用户C的手机c具有关联关系(可以理解为手机a和手机c对应于同一个群组),用户A可以通过手机a为手机c获取投屏目标设备上显示的投屏授权信息。此处,手机a即为代理设备,手机c即为投屏源设备。For example, in the meeting scenario shown in Figure 3, user A and user C participate in the same meeting, and user A's mobile phone a is associated with user C's mobile phone c (it can be understood that mobile phone a and mobile phone c correspond to the same group group), user A can obtain the screen-casting authorization information displayed on the screen-casting target device for mobile phone c through mobile phone a. Here, mobile phone a is the proxy device, and mobile phone c is the source device for screen projection.
当然还可能是其他的关联方式,本申请不限定。Of course, other association methods are also possible, which are not limited in this application.
如图5为本申请示例性提供的一种投屏方法的流程示意图。该流程中:FIG. 5 is a schematic flowchart of a screen projection method exemplarily provided in the present application. In this process:
步骤501,投屏目标设备显示投屏授权信息。In step 501, the screen-casting target device displays screen-casting authorization information.
在本地投屏的方式中,投屏授权信息可以是由投屏目标设备生成并显示的。In the manner of local screen projection, the screen projection authorization information may be generated and displayed by the screen projection target device.
在远程投屏的方式中,投屏授权信息可以是由投屏目标设备生成并显示的,也可以是投屏目标设备从服务设备中获取并显示的。In the way of remote screen projection, the screen projection authorization information may be generated and displayed by the screen projection target device, or obtained and displayed by the screen projection target device from the service device.
步骤502,代理设备获取投屏授权信息。In step 502, the proxy device acquires screen projection authorization information.
投屏授权信息可以是投屏二维码,用户可以用代理设备扫描投屏目标设备上显示的投屏二维码,从而代理设备获取到该投屏二维码。或者,投屏授权信息还可以是投屏码,用户可以在代理设备中输入投屏码,从而代理设备获取到该投屏码。为方便描述,如下以投屏授权信息为投屏二维码来举例说明。The screen projection authorization information can be a screen projection QR code, and the user can use the proxy device to scan the screen projection QR code displayed on the screen projection target device, so that the proxy device can obtain the screen projection QR code. Alternatively, the screen projection authorization information may also be a screen projection code, and the user may input the screen projection code in the proxy device, so that the proxy device obtains the screen projection code. For the convenience of description, the following uses the screen-casting authorization information as the screen-casting QR code as an example.
需要说明的是,代理设备在获取投屏授权信息时,可同时获取到投屏目标设备的信息,比如投屏目标设备的设备标识、IP地址、端口号中的一个或多个,该投屏目标设备的信息可用于后续服务设备或者投屏源设备向投屏目标设备请求投屏。It should be noted that when the proxy device obtains the screen projection authorization information, it can also obtain the information of the screen projection target device, such as one or more of the device identification, IP address, and port number of the screen projection target device. The information of the target device can be used by the subsequent service device or the screen projection source device to request screen projection from the screen projection target device.
还需要说明的是,代理设备也可以向投屏目标设备发送投屏数据。在一个示例性中,代理设备在获取到投屏授权信息之后,可以在代理设备的界面中显示第一提示信息,该第一提示信息用于提示代理设备的用户,该获取到的投屏信息是用于代理设备自身投屏的,还是用于其他设备投屏的。若代理设备的用户指示该获取到的投屏信息是用于其他设备(即需代理投屏的投屏源设备)投屏的,则代理设备可以进一步获取需代理投屏的投屏源设备的标识,并执行下述步骤503。若代理设备的用户指示该获取到的投屏信息是用于代理设备自身投屏的,则代理设备可以向投屏目标设备发送投屏数据,具体可参见图2中流程,不再赘述。It should also be noted that the proxy device may also send screen projection data to the screen projection target device. In an example, after the proxy device obtains the screen-casting authorization information, it may display first prompt information on the interface of the proxy device, and the first prompt message is used to remind the user of the proxy device that the obtained screen-casting information Is it used for the proxy device itself to cast the screen, or for other devices to cast the screen. If the user of the proxy device indicates that the acquired screen projection information is for other devices (that is, the screen projection source device that needs proxy projection), the proxy device can further obtain the screen projection source device that needs proxy projection. identification, and execute the following step 503. If the user of the proxy device indicates that the acquired screen projection information is for the proxy device itself to project the screen, the proxy device can send the screen projection data to the screen projection target device. For details, refer to the process in FIG. 2 , and will not repeat it here.
在上述过程中,代理设备可通过如下的方式获取需代理投屏的投屏源设备的标识:In the above process, the proxy device can obtain the identification of the screen-casting source device that needs proxy screen-casting in the following ways:
本申请中,服务设备中预先记录有与代理设备具有关联关系的设备(可称为关联设备) 的标识。相应的,代理设备可以从服务设备中获取多个关联设备的标识,然后从多个关联设备的标识中确定出需要代理的关联设备的标识(即投屏源设备的标识)。In this application, an identifier of a device (which may be referred to as an associated device) that has an association relationship with the proxy device is pre-recorded in the service device. Correspondingly, the agent device may obtain identifiers of multiple associated devices from the service device, and then determine the identifier of the associated device that needs to be proxied (ie, the identifier of the screen-casting source device) from the identifiers of the multiple associated devices.
在一种可能的实现方式中,代理设备可以向服务设备发送关联设备请求,该关联设备请求中携带有代理设备的标识,该关联设备请求用于向服务设备请求关联设备的标识。相应的,服务设备可以根据关联设备请求中的代理设备的标识,确定关联设备的标识,将关联设备的标识携带于响应消息中发送至代理设备。代理设备可以将响应消息中关联设备的标识显示在代理设备的显示界面上,用户执行第一用户操作,其中第一用户操作可以是用户根据代理设备的显示界面中显示的关联设备的标识,选择代理设备需要进行代理的关联设备的标识(即投屏源设备的标识)。代理设备根据第一用户操作,获取需要代理投屏的投屏源设备的标识。In a possible implementation manner, the proxy device may send an association device request to the service device, where the association device request carries an identifier of the proxy device, and the association device request is used to request an association device identifier from the service device. Correspondingly, the service device may determine the identifier of the associated device according to the identifier of the proxy device in the request for associating the device, and send the identifier of the associated device in the response message to the proxy device. The proxy device may display the identifier of the associated device in the response message on the display interface of the proxy device, and the user performs a first user operation, wherein the first user operation may be that the user selects the associated device ID displayed on the display interface of the proxy device. The proxy device needs the identification of the associated device for proxying (that is, the identification of the screen projection source device). According to the operation of the first user, the proxy device acquires the identifier of the screen projection source device that needs proxy screen projection.
举例来说,服务设备中记录有代理设备1对应的关联设备的标识,比如标识11、标识12和标识13。代理设备获取需代理投屏的投屏源设备的标识的过程中,代理设备1向服务设备发送的关联设备请求中携带代理设备1的标识,相应的,服务设备根据关联设备请求中代理设备1的标识,向代理设备1发送响应消息,该响应消息中包括有关联设备的标识,即标识11、标识12和标识13。代理设备1可以将该标识11、标识12和标识13显示在代理设备的显示界面中,用户在代理设备的显示界面中选择其中一个关联设备的标识,比如用户选择标识11,则代理设备接收到来自用户的选择标识11的指令之后,将标识11作为投屏源设备的标识。For example, the service device records the identifiers of associated devices corresponding to the proxy device 1, such as identifier 11, identifier 12, and identifier 13. During the process that the proxy device acquires the ID of the screen projection source device that needs proxy projection, the associated device request sent by the proxy device 1 to the service device carries the ID of the proxy device 1. Correspondingly, the service device , and send a response message to the agent device 1, the response message includes the identifiers of the associated devices, that is, the identifier 11, the identifier 12 and the identifier 13. The proxy device 1 can display the identification 11, the identification 12 and the identification 13 in the display interface of the proxy device, and the user selects the identification of one of the associated devices in the display interface of the proxy device, such as the user selects the identification 11, and the proxy device receives After the instruction from the user to select the logo 11, the logo 11 is used as the logo of the screen-casting source device.
步骤503,代理设备向服务设备发送代理投屏请求,代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息。In step 503, the proxy device sends a proxy screen projection request to the service device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device.
步骤504,服务设备确定代理设备与投屏源设备具有关联关系。Step 504, the service device determines that the proxy device has an association relationship with the screen projection source device.
服务设备在接收到来自代理设备的代理投屏请求之后,可以从代理投屏请求中得到投屏源设备的标识和投屏目标设备的投屏授权信息。服务设备响应于代理投屏请求,验证代理设备是否具备为投屏源设备代理投屏的资格。After receiving the proxy screen projection request from the proxy device, the service device can obtain the screen projection source device identification and screen projection authorization information of the screen projection target device from the proxy screen projection request. In response to the proxy screen projection request, the service device verifies whether the proxy device is qualified to act as a proxy for the screen projection source device.
一种可选实现方式中,服务设备若确定代理设备与投屏源设备二者之间具有关联关系(例如,服务设备确定预先记录的代理设备的关联设备的标识中包含该代理投屏请求中的投屏源设备的标识),则执行步骤505。服务设备若确定代理设备与投屏源设备二者之间不具有关联关系,则拒绝代理设备的代理投屏请求。In an optional implementation manner, if the service device determines that there is an association relationship between the proxy device and the screen projection source device (for example, the service device determines that the pre-recorded identifier of the associated device of the proxy device includes the ID of the screen-casting source device), then step 505 is performed. If the service device determines that there is no association between the proxy device and the screen projection source device, it rejects the proxy device's proxy screen projection request.
其中步骤504为可选步骤,可用于保障只有与投屏源设备具有关联关系的代理设备才能为投屏源设备获取投屏授权信息,以提高投屏源设备投屏的安全性。当然,服务设备在接收到来自代理设备的代理投屏请求之后,也可以直接执行步骤505。Wherein, step 504 is an optional step, which can be used to ensure that only the proxy device associated with the screen-casting source device can obtain screen-casting authorization information for the screen-casting source device, so as to improve the security of screen-casting by the screen-casting source device. Of course, the service device may also directly perform step 505 after receiving the proxy screen projection request from the proxy device.
步骤505,服务设备向投屏源设备发送投屏事件通知,投屏事件通知中包括有投屏目标设备的投屏授权信息。Step 505, the service device sends a screen projection event notification to the screen projection source device, and the screen projection event notification includes screen projection authorization information of the screen projection target device.
服务设备可以根据代理投屏请求中投屏源设备的标识,向投屏源设备发送投屏事件通知。相应的,投屏源设备可以基于来自服务设备的投屏事件通知,获得投屏目标设备的投屏授权信息。The service device may send a screen projection event notification to the screen projection source device according to the identifier of the screen projection source device in the proxy screen projection request. Correspondingly, the screen-casting source device may obtain the screen-casting authorization information of the screen-casting target device based on the screen-casting event notification from the service device.
投屏源设备在获取到投屏授权信息之后,可以确定是否基于该投屏授权信息向投屏目标设备投屏。一种可选方式中,投屏源设备可以在投屏源设备的显示界面中显示第二提示信息,该第二提示信息用于提示该投屏源设备的用户,是否同意投屏。若投屏源设备的用 户指示同意投屏,则投屏源设备执行下述步骤506。若投屏源设备的用户指示拒绝投屏,则投屏源设备可以向服务设备发送拒绝消息。避免出现投屏源设备中敏感数据泄露的问题。After obtaining the screen projection authorization information, the screen projection source device may determine whether to project the screen to the screen projection target device based on the screen projection authorization information. In an optional manner, the screen projection source device may display second prompt information on the display interface of the screen projection source device, and the second prompt information is used to prompt the user of the screen projection source device whether to agree to screen projection. If the user of the screen projection source device indicates to agree to screen projection, the screen projection source device performs the following step 506. If the user of the screen projection source device indicates to reject the screen projection, the screen projection source device may send a rejection message to the service device. Avoid the problem of leakage of sensitive data in the source device of screencasting.
在另一种可选方式中,在代理设备和投屏源设备对应于同一个账户的情况下,若代理设备为投屏源设备获取了投屏授权信息,则投屏源设备可以默认同意投屏。具体的,在服务设备判断代理设备与投屏源设备对应于同一个账户的情况下,服务设备在向投屏源设备发送投屏事件通知时,可以指示投屏源设备无需显示第二提示信息,而直接根据投屏事件通知中的投屏授权信息,向投屏目标设备请求通道授权信息。In another optional way, if the proxy device and the screen projection source device correspond to the same account, if the proxy device obtains the screen projection authorization information for the screen projection source device, the screen projection source device can agree to the projection by default. Screen. Specifically, when the service device determines that the proxy device and the screen projection source device correspond to the same account, when the service device sends a screen projection event notification to the screen projection source device, it may instruct the screen projection source device not to display the second prompt information , and directly request channel authorization information from the screen-casting target device according to the screen-casting authorization information in the screen-casting event notification.
本申请中投屏源设备在接收到来自服务设备的投屏事件通知之后,投屏源设备可以向投屏目标设备请求通道授权信息,并基于请求到的通道授权信息与投屏目标设备传输投屏数据。基于不同的投屏方式,如下分两种情况说明:In this application, after the screen projection source device receives the screen projection event notification from the service device, the screen projection source device can request channel authorization information from the screen projection target device, and transmit the projection information with the screen projection target device based on the requested channel authorization information. screen data. Based on different projection methods, there are two cases as follows:
在本地投屏的方式中:In the way of local projection:
步骤506A,投屏源设备向投屏目标设备发送第一投屏请求,其中第一投屏请求中包括投屏目标设备的投屏授权信息。第一投屏请求用于投屏源设备向投屏目标设备请求投屏目标设备的通道授权信息。Step 506A, the screen casting source device sends a first screen casting request to the screen casting target device, wherein the first screen casting request includes screen casting authorization information of the screen casting target device. The first screen projection request is used for the screen projection source device to request channel authorization information of the screen projection target device from the screen projection target device.
步骤507A,投屏目标设备确定第一投屏请求中包括的投屏授权信息通过验证之后,向投屏源设备发送投屏目标设备的通道授权信息。具体的,投屏目标设备若确定第一投屏请求中的投屏授权信息为自己的投屏授权信息,则确定第一投屏请求中包括的投屏授权信息通过验证,并向投屏源设备发送投屏目标设备的通道授权信息。In step 507A, the screen projection target device sends channel authorization information of the screen projection target device to the screen projection source device after determining that the screen projection authorization information included in the first screen projection request has passed the verification. Specifically, if the screen projection target device determines that the screen projection authorization information in the first screen projection request is its own screen projection authorization information, it determines that the screen projection authorization information included in the first screen projection request has passed the verification, and reports to the screen projection source The device sends the channel authorization information of the screencasting target device.
步骤508A,投屏源设备根据通道授权信息,向投屏目标设备发送投屏数据。Step 508A, the screen projection source device sends screen projection data to the screen projection target device according to the channel authorization information.
投屏源设备可以根据通道授权信息加密投屏数据,得到加密数据。投屏源设备向投屏目标设备发送加密数据。相应的,投屏目标设备根据通道授权信息解密加密数据得到投屏数据。一个示例中,投屏源设备与投屏目标设备之间是长连接数据通信,比如投屏源设备与投屏目标设备之间采用传输控制协议(transmission control protocol,TCP)通信。再一个示例中,投屏源设备与投屏目标设备之间是无链接数据通信,比如投屏源设备与投屏目标设备之间采用用户数据报协议(user data protocol,UDP)通信。The screen projection source device can encrypt the screen projection data according to the channel authorization information to obtain encrypted data. The screen projection source device sends encrypted data to the screen projection target device. Correspondingly, the screen projection target device decrypts the encrypted data according to the channel authorization information to obtain the screen projection data. In an example, long connection data communication is used between the screen projection source device and the screen projection target device, for example, transmission control protocol (transmission control protocol, TCP) communication is used between the screen projection source device and the screen projection target device. In another example, there is no link data communication between the screen projection source device and the screen projection target device, for example, user data protocol (UDP) communication is used between the screen projection source device and the screen projection target device.
在远程投屏的方式中:In the way of remote projection:
步骤506B,投屏源设备经服务设备向投屏目标设备发送第一投屏请求。Step 506B, the screen projection source device sends a first screen projection request to the screen projection target device via the service device.
其中,服务设备在接收到来自投屏源设备的第一投屏请求之后,可以验证投屏源设备是否为可信的投屏源设备,即验证是否为已经登录至服务设备中的投屏源设备,若是,则将第一投屏请求转发至投屏目标设备,从而有助于提高投屏的安全性。Among them, after the service device receives the first screen projection request from the screen projection source device, it can verify whether the screen projection source device is a trusted screen projection source device, that is, verify whether it is a screen projection source that has logged into the service device If yes, the device forwards the first screen-casting request to the screen-casting target device, thereby helping to improve the security of screen-casting.
步骤507B,投屏目标设备确定第一投屏请求中包括的投屏授权信息通过验证之后,经服务设备向投屏源设备发送投屏目标设备的通道授权信息。具体的,投屏目标设备若确定第一投屏请求中的投屏授权信息为自己的投屏授权信息,则确定第一投屏请求中包括投屏授权信息通过验证,并经服务设备向投屏源设备发送投屏目标设备的通道授权信息。Step 507B, after the screen projection target device determines that the screen projection authorization information included in the first screen projection request has passed the verification, it sends channel authorization information of the screen projection target device to the screen projection source device via the service device. Specifically, if the screen-casting target device determines that the screen-casting authorization information in the first screen-casting request is its own screen-casting authorization information, it determines that the screen-casting authorization information included in the first screen-casting request has passed the The screen source device sends the channel authorization information of the screen projection target device.
步骤508B,投屏源设备根据通道授权信息,经服务设备向投屏目标设备发送投屏数据。In step 508B, the screen projection source device sends screen projection data to the screen projection target device via the service device according to the channel authorization information.
类似步骤508A中的介绍,此处不再赘述。Similar to the introduction in step 508A, details are not repeated here.
需要补充的是,在服务设备生成投屏目标设备的投屏授权信息的场景中,服务设备可以维护投屏目标设备与投屏授权信息之间的对应关系,比如投屏目标设备1对应于投屏授权信息1,投屏目标设备2对应于投屏授权信息2等。相应的,服务设备接收来自投屏源 设备的第一投屏请求之后,不仅可以验证投屏源设备是否为可信的投屏源设备,还可以验证第一投屏请求中包括的投屏授权信息是否通过验证。具体的,服务设备可以确定第一投屏请求中包括的投屏授权信息,是否与服务设备中维护的该投屏目标设备的投屏授权信息相同,若是,则确定该投屏授权信息通过验证。随后,服务设备可以根据该投屏授权信息从投屏目标设备中获取投屏目标设备的通道授权信息,并将该通道授权信息发送给投屏源设备;或者,服务设备生成投屏目标设备的通道授权信息,并将该通道授权信息分别发送给投屏源设备和投屏目标设备。What needs to be added is that in the scenario where the service device generates the screen-casting authorization information of the screen-casting target device, the service device can maintain the correspondence between the screen-casting target device and the screen-casting authorization information, for example, the screen-casting target device 1 corresponds to the The screen-casting authorization information 1 and the screen-casting target device 2 correspond to the screen-casting authorization information 2 and so on. Correspondingly, after receiving the first screen projection request from the screen projection source device, the service device can not only verify whether the screen projection source device is a trusted screen projection source device, but also verify the screen projection authorization included in the first screen projection request. Whether the information is verified. Specifically, the service device may determine whether the screen projection authorization information included in the first screen projection request is the same as the screen projection authorization information of the screen projection target device maintained in the service device, and if so, determine that the screen projection authorization information has passed the verification . Subsequently, the service device can obtain the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, and send the channel authorization information to the screen projection source device; or, the service device generates the screen projection target device. Channel authorization information, and send the channel authorization information to the screen projection source device and the screen projection target device respectively.
步骤509,投屏目标设备显示投屏数据。Step 509, the screen projection target device displays the screen projection data.
可选的,投屏目标设备可以将投屏数据,显示在投屏目标设备的显示界面上。如图3示例性示出的会议场景中,手机c可以在用户C的操作下,将手机c的投屏数据在投屏目标设备中显示,从而用户A和用户B可以在投屏目标设备上看到手机c的界面。Optionally, the screen projection target device may display the screen projection data on a display interface of the screen projection target device. In the meeting scene as shown in Figure 3, mobile phone c can display the screen projection data of mobile phone c on the screen projection target device under the operation of user C, so that user A and user B can share the screen projection data on the screen projection target device See the interface of mobile phone c.
为了更好的解释上述步骤501至步骤509示出的流程,下面仍结合图3示例性示出的会议场景举例说明。比如,手机a的关联设备包括手机b、手机c和电脑d,手机a、手机b、手机c和电脑d的标识分别为标识a、标识b、标识c、标识d。In order to better explain the process shown in the above step 501 to step 509, the following still uses an example in conjunction with the conference scene shown in FIG. 3 . For example, the associated devices of mobile phone a include mobile phone b, mobile phone c, and computer d, and the identifications of mobile phone a, mobile phone b, mobile phone c, and computer d are respectively identification a, identification b, identification c, and identification d.
例子1,用户A通过手机a代理手机c投屏。Example 1, user A casts the screen on behalf of mobile phone c through mobile phone a.
用户A可以通过手机a扫描投屏目标设备显示的投屏二维码,获得投屏目标设备的投屏授权信息。此时,手机a的显示界面可以如图6中(a)所示,该显示界面中显示有第一提示信息,第一提示信息为“是否为其他设备请求投屏”。若手机a检测到用户A选择显示界面中的“是”,则响应于该选择操作,向服务设备发送关联设备请求,该关联设备请求中携带于手机a的标识,该关联设备请求用于向服务设备请求手机a的关联设备的标识。User A can scan the screen-casting QR code displayed by the screen-casting target device with mobile phone a, and obtain the screen-casting authorization information of the screen-casting target device. At this time, the display interface of the mobile phone a may be as shown in (a) in FIG. 6 , where a first prompt message is displayed, and the first prompt message is "whether to request screen projection for other devices". If mobile phone a detects that user A selects "Yes" in the display interface, it will send an associated device request to the service device in response to the selection operation. The associated device request carries the identification of mobile phone a, and the associated device request is used to send The service device requests the identification of the associated device of mobile phone a.
服务设备根据关联设备请求中手机a的标识,向手机a发送响应消息,该响应消息中包括手机a的关联设备的标识:标识b、标识c、标识d。The service device sends a response message to the mobile phone a according to the identification of the mobile phone a in the associated device request, and the response message includes the identifications of the associated devices of the mobile phone a: identification b, identification c, identification d.
手机a接收到该响应消息之后,在手机a的显示界面中显示标识b、标识c、标识d,并提示用户选择为哪个设备请求投屏,具体可参见图6中(b)。如果用户在手机a的显示界面中选择了标识c,则手机a向服务设备发送代理投屏请求,代理投屏请求中包括有标识c和投屏授权信息。服务设备响应于代理投屏请求,确定手机c与手机a具有关联关系,将投屏授权信息携带于投屏事件通知中发送给手机c。After mobile phone a receives the response message, it displays the logo b, logo c, and logo d on the display interface of mobile phone a, and prompts the user to choose which device to request screen projection for, see (b) in Figure 6 for details. If the user selects the identification c on the display interface of the mobile phone a, the mobile phone a sends a proxy screen projection request to the service device, and the proxy screen projection request includes the identification c and screen projection authorization information. In response to the proxy screen projection request, the service device determines that mobile phone c has an association relationship with mobile phone a, and sends the screen projection authorization information to mobile phone c in the screen projection event notification.
手机c接收该投屏事件通知之后,在手机c的显示界面中可以弹出第二提示信息,第二提示信息可用于提示手机c对应的用户C是否同意投屏。示例性的,手机c的显示界面可参见图6中(c)所示,第二提示信息为“是否同意投屏?”,若手机c检测到用户C选择显示界面中的“是”的操作时,则响应于该操作,向投屏目标设备发送第一投屏请求,第一投屏请求中包括投屏授权信息。进一步的,投屏目标设备接收到第一投屏请求之后,确定第一投屏请求中投屏授权信息通过验证,向手机c发送通道授权信息。手机c基于通道授权信息与投屏目标设备进行投屏数据的加密传输。After mobile phone c receives the screen projection event notification, a second prompt message may pop up on the display interface of mobile phone c, and the second prompt message may be used to prompt user C corresponding to mobile phone c whether to agree to screen projection. Exemplarily, the display interface of mobile phone c can be referred to as shown in (c) in FIG. , in response to the operation, a first screen projection request is sent to the screen projection target device, and the first screen projection request includes screen projection authorization information. Further, after receiving the first screen projection request, the screen projection target device determines that the screen projection authorization information in the first screen projection request has passed the verification, and sends the channel authorization information to the mobile phone c. Mobile phone c performs encrypted transmission of screen projection data with the screen projection target device based on the channel authorization information.
例子2,用户A通过手机a代理电脑d投屏。Example 2: User A casts the screen on behalf of computer d through mobile phone a.
其中手机a和电脑d均是用户A的终端设备,即对应于同一个账户。用户A可以通过手机a扫描投屏目标设备上显示的投屏二维码,手机a的显示界面仍可参见图6中(a)所示。手机a向服务设备请求关联设备的标识,并在显示界面中显示关联设备的标识,比如仍参见图6中(b)。用户A可以在手机a的界面中选择标识d,则手机a向服务设备发送 代理投屏请求,服务设备响应于代理投屏请求,向电脑d发送投屏事件通知。其中,服务设备可以确定手机a和电脑d与对应于同一个账户,在向电脑d发送投屏事件通知时,可以指示电脑d无需显示第二提示信息,而直接根据投屏事件通知中的投屏授权信息,向投屏目标设备发送第一投屏请求。进一步的,投屏目标设备接收到第一投屏请求之后,确定第一投屏请求中投屏授权信息通过验证,向电脑d发送通道授权信息。电脑d基于通道授权信息与投屏目标设备进行投屏数据的加密传输。由于手机a和电脑d均对应于同一个账户(即用户A的账户),则用户A无需再次在电脑d中确认,有助于减少用户操作。The mobile phone a and the computer d are both terminal devices of the user A, that is, they correspond to the same account. User A can use mobile phone a to scan the screen projection QR code displayed on the screen projection target device, and the display interface of mobile phone a can still be shown in (a) in FIG. 6 . The mobile phone a requests the identification of the associated device from the service device, and displays the identification of the associated device on the display interface, for example, refer to (b) in FIG. 6 . User A can select the logo d in the interface of mobile phone a, then mobile phone a sends a proxy screen projection request to the service device, and the service device sends a screen projection event notification to computer d in response to the proxy screen projection request. Wherein, the service device can determine that the mobile phone a and the computer d correspond to the same account, and when sending the screen projection event notification to the computer d, can instruct the computer d not to display the second prompt information, but directly follow the projection information in the screen projection event notification. screen authorization information, and send a first screen projection request to the screen projection target device. Further, after receiving the first screen projection request, the screen projection target device determines that the screen projection authorization information in the first screen projection request has passed the verification, and sends the channel authorization information to the computer d. The computer d encrypts and transmits screen projection data with the screen projection target device based on the channel authorization information. Since the mobile phone a and the computer d both correspond to the same account (that is, the account of user A), user A does not need to confirm on the computer d again, which helps to reduce user operations.
上述技术方案中,通过代理设备协助投屏源设备获取投屏目标设备的投屏授权信息,并将投屏授权信息发送至服务设备,服务设备向投屏源设备发送投屏事件通知,投屏事件通知中包含投屏授权信息,从而投屏源设备可以根据投屏事件通知中的投屏授权信息,向投屏目标设备请求投屏目标设备的通道授权信息,进而根据投屏目标设备的通道授权信息与投屏目标设备传输投屏数据。该方案中,用户无需通过投屏源设备扫描投屏目标设备上的投屏二维码,或者在投屏源设备中输入投屏目标设备上的投屏码,减少用户操作,有助于提高用户体验。而且,代理设备可以针对多个投屏源设备中的每个投屏源设备获取投屏目标设备的投屏授权信息,从而实现代理设备统一代理,在大型会议场景中,代理设备可用于管理人员统一调度不同投屏源设备切换投屏到投屏目标设备,无需每个用户手动验证授权,还有助于避免出现用户操作抢用。In the above technical solution, the proxy device assists the screen projection source device to obtain the screen projection authorization information of the screen projection target device, and sends the screen projection authorization information to the service device, and the service device sends a screen projection event notification to the screen projection source device, and the screen projection The event notification contains the screen projection authorization information, so that the screen projection source device can request the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information in the screen projection event notification, and then according to the channel of the screen projection target device The authorization information and the screen projection target device transmit the screen projection data. In this solution, the user does not need to scan the projection QR code on the projection target device through the projection source device, or enter the projection code on the projection target device in the projection source device, which reduces user operations and helps to improve user experience. Moreover, the proxy device can obtain the screen projection authorization information of the screen projection target device for each of the multiple screen projection source devices, so as to realize the unified proxy of the proxy device. In large-scale conference scenarios, the proxy device can be used for management personnel Unified scheduling of different screen projection source devices to switch screen projection to screen projection target devices, without the need for each user to manually verify authorization, and also helps to avoid user operation preemption.
本申请提供另外一种投屏方法的实现方式,该实现方式与图5所示的实现方式相比,服务设备在接收到代理设备发送的代理投屏请求时,无需向投屏源设备发送投屏事件通知,而直接向投屏目标设备请求通道授权信息,有助于减少信令交互。This application provides another implementation of the screen projection method. Compared with the implementation shown in FIG. 5, the service device does not need to send the projection screen request to the screen projection source device when receiving the proxy screen projection request sent by the proxy device. Screen event notification, and directly request channel authorization information from the screen projection target device, which helps to reduce signaling interaction.
具体可参见图7示例性示出的再一种投屏方法的流程示意图:For details, please refer to the schematic flowchart of another screen projection method shown in FIG. 7 exemplarily:
步骤701,投屏目标设备显示投屏授权信息。In step 701, the screen projection target device displays screen projection authorization information.
步骤702,代理设备获取投屏授权信息。In step 702, the proxy device acquires screen projection authorization information.
步骤703,代理设备向服务设备发送代理投屏请求,代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息。In step 703, the proxy device sends a proxy screen projection request to the service device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device.
可选的,步骤704,服务设备确定代理设备与投屏源设备具有关联关系。Optionally, in step 704, the service device determines that the proxy device has an association relationship with the screen projection source device.
步骤705,服务设备向投屏目标设备发送通道授权请求,该通道授权请求中包括投屏目标设备的投屏授权信息。在一种可能方式中,服务设备向投屏目标设备发送通道授权请求中还可以包括投屏源设备的标识,比如投屏源设备的端口号,以告知投屏目标设备该通道授权请求的发送端虽然是服务设备,但是该通道授权请求是用于为投屏源设备请求通道授权信息的。从而投屏目标设备可以确定出需要获取通道授权信息的投屏源设备。Step 705, the service device sends a channel authorization request to the screen projection target device, and the channel authorization request includes screen projection authorization information of the screen projection target device. In a possible manner, the channel authorization request sent by the service device to the screen projection target device may also include the identification of the screen projection source device, such as the port number of the screen projection source device, to inform the screen projection target device of the channel authorization request. Although the terminal is a service device, the channel authorization request is used to request channel authorization information for the screen projection source device. Thus, the screen projection target device can determine the screen projection source device that needs to obtain the channel authorization information.
步骤706,投屏目标设备确定通道授权请求中包括的投屏授权信息通过验证之后,经服务设备向投屏源设备发送通道授权信息。Step 706: After the screen projection target device determines that the screen projection authorization information included in the channel authorization request has passed the verification, it sends the channel authorization information to the screen projection source device via the service device.
步骤707,投屏源设备根据通道授权信息,向投屏目标设备发送投屏数据。Step 707, the screen projection source device sends screen projection data to the screen projection target device according to the channel authorization information.
本申请中,若为本地投屏方式,则投屏源设备根据通道授权信息,向投屏目标设备发送投屏数据;若为远程投屏方式,则投屏源设备根据通道授权信息,经服务设备向投屏目标设备发送投屏数据。In this application, if it is a local projection method, the projection source device sends projection data to the projection target device according to the channel authorization information; if it is a remote projection method, the projection source device sends the projection data to the projection target device according to the channel authorization information The device sends screen projection data to the screen projection target device.
步骤708,投屏目标设备显示投屏数据。Step 708, the screen projection target device displays the screen projection data.
该方式中,为了保障投屏源设备中数据的安全性,在投屏源设备接收到来自服务设备 的通道授权信息之后,投屏源设备可以确定是否需要进行投屏。具体的,投屏源设备可以在显示界面中显示第三提示信息,第三提示信息用于提示用户是否需要将投屏源设备中的数据投屏至投屏目标设备中,若用户同意,则投屏源设备根据通道授权信息,向投屏目标设备发送投屏数据。In this method, in order to ensure the security of the data in the screen projection source device, after the screen projection source device receives the channel authorization information from the service device, the screen projection source device can determine whether it needs to perform screen projection. Specifically, the screen projection source device may display third prompt information on the display interface. The third prompt information is used to prompt the user whether to project the data in the screen projection source device to the screen projection target device. If the user agrees, then The screen projection source device sends screen projection data to the screen projection target device according to the channel authorization information.
此外,服务设备还可以在确定代理设备与投屏源设备是否具有关联关系的过程中,确定二者是否对应于同一个账户。若二者对应于同一个账户,则服务设备可以直接向投屏目标设备发送通道授权请求。若二者未对应于同一个账户,则服务设备可以向投屏源设备确定是否需要进行投屏,相应的,投屏源设备在显示界面中显示第三提示信息,第三提示信息提示用户是否需要将投屏源设备中的数据投屏至投屏目标设备中,若用户同意,则投屏源设备向服务设备发送确认信息,进而服务设备向投屏目标设备请求通道授权信息。In addition, the service device may also determine whether the proxy device and the screen-casting source device correspond to the same account during the process of determining whether the agent device and the screen-casting source device have an association relationship. If the two correspond to the same account, the service device can directly send a channel authorization request to the screen projection target device. If the two do not correspond to the same account, the service device can determine whether screen projection is required from the screen projection source device. Correspondingly, the screen projection source device displays a third prompt message on the display interface, and the third prompt message prompts the user whether to It is necessary to project the data in the screen-casting source device to the screen-casting target device. If the user agrees, the screen-casting source device will send a confirmation message to the service device, and then the service device will request channel authorization information from the screen-casting target device.
在本申请中,投屏目标设备的投屏状态可以包括空闲状态和非空闲状态。投屏目标设备处于空闲状态,可理解为投屏目标设备尚未被投屏源设备用于投屏(例如,没有接收投屏源设备的投屏数据);投屏目标设备处于非空闲状态,可理解为投屏目标设备已经被投屏源设备用于投屏(例如,接收到投屏源设备的投屏数据)。In this application, the screen-casting state of the screen-casting target device may include an idle state and a non-idle state. If the target screen casting device is idle, it can be understood that the target screen casting device has not been used by the screen casting source device for screen casting (for example, it has not received the screen projection data from the screen casting source device); if the screen casting target device is not idle, it can be It is understood that the screen projection target device has been used by the screen projection source device for screen projection (for example, receiving screen projection data from the screen projection source device).
在投屏目标设备仅能接收一个投屏源设备的投屏数据的情况下,若投屏源设备需要向某个处于非空闲状态的投屏目标设备请求投屏时,会请求投屏失败,因为该投屏目标设备当前正在接收其他投屏源设备的投屏。在这种情况下,投屏源设备需要等待投屏目标设备由非空闲状态转变为空闲状态之后,再次向该投屏目标设备请求投屏才能请求投屏成功。但是在该情况中,投屏源设备并不能及时检测到投屏目标设备由非空闲状态转变为空闲状态,也即,不能及时向投屏目标设备投屏。In the case that the screen projection target device can only receive the screen projection data of one screen projection source device, if the screen projection source device needs to request screen projection from a non-idle screen projection target device, the request will fail. Because the screen projection target device is currently receiving screen projection from other screen projection source devices. In this case, the screen projection source device needs to wait for the screen projection target device to change from the non-idle state to the idle state, and then request the screen projection target device again to request screen projection success. However, in this case, the screen projection source device cannot detect in time that the screen projection target device changes from a non-idle state to an idle state, that is, it cannot timely project a screen to the screen projection target device.
为此,本申请提供一种待投屏队列的方式,用于在投屏目标设备处于非空闲状态时,根据来自投屏源设备的投屏请求,在待投屏队列中缓存发送投屏请求的投屏源设备的标识,以用于在投屏目标设备由非空闲状态转变为空闲状态之后,及时通知投屏源设备执行投屏。For this reason, this application provides a method of a waiting screen projection queue, which is used to cache and send the screen projection request in the waiting screen projection queue according to the screen projection request from the screen projection source device when the screen projection target device is in a non-idle state The identification of the screen-casting source device is used to notify the screen-casting source device in time to perform screen-casting after the screen-casting target device changes from a non-idle state to an idle state.
本申请提供的待投屏队列的方式可应用于图1示例性示出中的投屏系统中,也可以应用于图4示例性示出中的投屏系统中。The manner of the waiting screen projection queue provided by the present application can be applied to the screen projection system shown in FIG. 1 , and can also be applied to the screen projection system shown in FIG. 4 .
本申请基于不同的投屏方式,如下分两种情况说明:This application is based on different projection methods, as follows:
情况一:本地投屏的方式,待投屏队列可设置于投屏目标设备中。Situation 1: For local screen projection, the queue to be screen projection can be set in the screen projection target device.
可参见图8示例性示出的一种本地投屏中采用待投屏队列的方法的流程示意图:Refer to FIG. 8 for a schematic flowchart of a method for using a queue to be screened in local screen projection shown as an example:
步骤801,投屏源设备向投屏目标设备发送第一投屏请求。In step 801, the screen projection source device sends a first screen projection request to the screen projection target device.
投屏目标设备在接收到第一投屏请求之后,可以根据投屏目标设备当前的投屏状态,选择接下来需要执行的步骤。具体的,当投屏目标设备的投屏状态为空闲状态时,投屏目标设备执行步骤802;当投屏目标设备的投屏状态为非空闲状态时,投屏目标设备执行步骤803和步骤804。After the screen projection target device receives the first screen projection request, it can select the next steps to be performed according to the current screen projection state of the screen projection target device. Specifically, when the screen-casting state of the screen-casting target device is idle, the screen-casting target device performs step 802; when the screen-casting target device is not idle, the screen-casting target device performs step 803 and step 804 .
步骤802,投屏目标设备在确定第一投屏请求中包括的投屏授权信息通过验证之后,向投屏源设备发送投屏目标设备的通道授权信息。Step 802: After determining that the screen projection authorization information included in the first screen projection request has passed the verification, the screen projection target device sends channel authorization information of the screen projection source device to the screen projection source device.
步骤803,投屏目标设备将投屏源设备的标识缓存至投屏目标设备的待投屏队列中。本申请中,投屏目标设备将投屏源设备的标识缓存至投屏目标设备的待投屏队列中,也可以理解成投屏目标设备将第一投屏请求缓存至投屏目标设备的待投屏队列中。In step 803, the screen projection target device caches the identifier of the screen projection source device in the screen projection queue of the screen projection target device. In this application, the screen-casting target device caches the identifier of the screen-casting source device in the screen-to-be-cast queue of the screen-casting target device. In the casting queue.
在一种可能的实现方式中,投屏目标设备可以向投屏源设备发送拒绝响应(也可称为 投屏非空闲通知),相应的,投屏源设备在显示界面中显示第四提示信息,第四提示信息用于提示用户是否需要等待投屏,若用户确认需要等待投屏,则投屏源设备向投屏目标设备发送确认等待信息,投屏目标设备将该投屏源设备的标识缓存至投屏目标设备的待投屏队列中。In a possible implementation, the target screen projection device may send a rejection response (also called a screen projection non-idle notification) to the screen projection source device, and accordingly, the screen projection source device displays a fourth prompt message on the display interface , the fourth prompt message is used to prompt the user whether to wait for the screen projection. If the user confirms that it needs to wait for the screen projection, the screen projection source device will send a confirmation waiting message to the screen projection target device, and the screen projection target device will use the identification of the screen projection source device Buffered to the screen-to-be-cast queue of the screen-casting target device.
步骤804,投屏目标设备由非空闲状态转变为空闲状态之后,向投屏源设备发送投屏空闲通知,该投屏空闲通知用于指示投屏源设备重新发起投屏请求。Step 804, after the screen projection target device changes from the non-idle state to the idle state, it sends a screen projection idle notification to the screen projection source device, and the screen projection idle notification is used to instruct the screen projection source device to re-initiate a screen projection request.
在一种可能的实现方式中,投屏目标设备的投屏授权信息可以按照预设周期进行更新,从而保障投屏的安全性,在该情况中,投屏目标设备可以重新生成投屏授权信息,并将该重新生成的投屏授权信息包含于投屏空闲通知中,发送给投屏源设备。In a possible implementation, the screen-casting authorization information of the screen-casting target device can be updated according to a preset cycle, so as to ensure the security of the screen-casting. In this case, the screen-casting target device can regenerate the screen-casting authorization information , and include the regenerated screen casting authorization information in the screen casting idle notification, and send it to the screen casting source device.
相应的,投屏源设备接收到该投屏空闲通知之后,重新向投屏目标设备发送第一投屏请求。在一种可能的实现方式中,投屏源设备接收到该投屏空闲通知之后,可以在显示界面中显示第五提示信息,第五提示信息用于提示用户是否需要继续投屏,若用户确认需要继续投屏,则投屏源设备可以重新向投屏目标设备发送第一投屏请求。之后,投屏目标设备根据第一投屏请求,向投屏源设备发送投屏目标设备的通道授权信息。即可以重新回到上述步骤801和步骤802。Correspondingly, after receiving the screen projection idle notification, the screen projection source device resends the first screen projection request to the screen projection target device. In a possible implementation, after receiving the screen projection idle notification, the screen projection source device may display fifth prompt information on the display interface. The fifth prompt information is used to prompt the user whether to continue screen projection. If the user confirms If it is necessary to continue screen projection, the screen projection source device may resend the first screen projection request to the screen projection target device. Afterwards, the screen projection target device sends channel authorization information of the screen projection target device to the screen projection source device according to the first screen projection request. That is, the above step 801 and step 802 can be returned.
需要补充的是,投屏目标设备的待投屏队列中可以缓存有一个或多个投屏源设备的标识。在投屏目标设备的投屏状态由非空闲状态转变为空闲状态之后,投屏目标设备可以从该一个或多个投屏源设备中确定出仍处于等待状态的投屏源设备,然后根据该仍处于等待状态的投屏源设备的优先级,确定出一个投屏源设备,并向该投屏源设备发送投屏空闲通知。What needs to be added is that one or more identifiers of the screen-casting source devices may be cached in the waiting screen-casting queue of the screen-casting target device. After the screen projection state of the screen projection target device changes from the non-idle state to the idle state, the screen projection target device can determine the screen projection source device that is still in the waiting state from the one or more screen projection source devices, and then according to the The priority of the screen projection source device that is still in the waiting state determines a screen projection source device, and sends a screen projection idle notification to the screen projection source device.
此外,投屏目标设备还可以广播投屏空闲通知,相应的,仍处于等待状态的投屏源设备可以通过竞争方式向投屏目标设备发送第一投屏请求,投屏目标设备确定出一个投屏源设备,然后向该投屏源设备发送投屏目标设备的通道授权信息。In addition, the screen projection target device can also broadcast a screen projection idle notification. Correspondingly, the screen projection source device that is still in the waiting state can send the first screen projection request to the screen projection target device through competition, and the screen projection target device determines a projection screen. The screen source device, and then send the channel authorization information of the screen projection target device to the screen projection source device.
情况二:远程投屏的方式,待投屏队列可设置于投屏目标设备或者服务设备中。Situation 2: In the way of remote projection, the queue to be projected can be set in the projected target device or service device.
情况1:待投屏队列设置于投屏目标设备中。Case 1: The queue to be casted is set in the target device for screencasting.
可参见图9示例性示出的一种远程投屏中采用待投屏队列的方法的流程示意图:Refer to FIG. 9 for a schematic flow diagram of a method for using a queue to be screened in remote screen projection shown as an example:
步骤901,投屏源设备经服务设备向投屏目标设备发送第一投屏请求。In step 901, the screen projection source device sends a first screen projection request to the screen projection target device via the service device.
投屏目标设备在接收到第一投屏请求之后,可以根据投屏目标设备当前的投屏状态,选择接下来需要执行的步骤。具体的,当投屏目标设备的投屏状态为空闲状态时,投屏目标设备执行步骤902;当投屏目标设备的投屏状态为非空闲状态时,投屏目标设备执行步骤903和步骤904。After the screen projection target device receives the first screen projection request, it can select the next steps to be performed according to the current screen projection state of the screen projection target device. Specifically, when the screen-casting state of the screen-casting target device is idle, the screen-casting target device performs step 902; when the screen-casting target device is in a non-idle state, the screen-casting target device performs step 903 and step 904 .
步骤902,投屏目标设备在确定第一投屏请求中包括的投屏授权信息通过验证之后,经服务设备向投屏源设备发送投屏目标设备的通道授权信息。Step 902: After determining that the screen-casting authorization information included in the first screen-casting request has passed the verification, the screen-casting target device sends the channel authorization information of the screen-casting target device to the screen-casting source device via the service device.
步骤903,投屏目标设备将投屏源设备的标识缓存至投屏目标设备的待投屏队列中。在一种可能的实现方式中,投屏目标设备可以经服务设备向投屏源设备发送拒绝响应,相应的,投屏源设备在显示界面中显示第四提示信息,第四提示信息用于提示用户是否需要等待投屏,若用户确认需要等待投屏,则投屏源设备经服务设备向投屏目标设备发送确认等待信息,投屏目标设备将该投屏源设备的标识缓存至投屏目标设备的待投屏队列中。In step 903, the screen projection target device caches the identifier of the screen projection source device in the screen projection queue of the screen projection target device. In a possible implementation manner, the screen projection target device may send a rejection response to the screen projection source device through the service device, and correspondingly, the screen projection source device displays fourth prompt information on the display interface, and the fourth prompt information is used to prompt Does the user need to wait for the screen projection? If the user confirms that they need to wait for the screen projection, the screen projection source device sends a confirmation waiting message to the screen projection target device through the service device, and the screen projection target device caches the identity of the screen projection source device to the screen projection target The device is in the screen waiting queue.
步骤904,投屏目标设备由非空闲状态转变为空闲状态之后,经服务设备向投屏源设 备发送投屏空闲通知,该投屏空闲通知用于指示投屏源设备重新发起投屏请求。Step 904: After the screen projection target device changes from the non-idle state to the idle state, it sends a screen projection idle notification to the screen projection source device via the service device, and the screen projection idle notification is used to instruct the screen projection source device to re-initiate the screen projection request.
在一种可能的实现方式中,投屏目标设备的投屏授权信息可以按照预设周期进行更新,从而保障投屏的安全性。在该情况中,投屏目标设备可以重新生成投屏授权信息,并将该重新生成的投屏授权信息包含于投屏空闲通知中,经服务设备发送给投屏源设备。In a possible implementation manner, the screen projection authorization information of the screen projection target device may be updated according to a preset period, so as to ensure the security of the screen projection. In this case, the screen projection target device may regenerate the screen projection authorization information, include the regenerated screen projection authorization information in the screen projection idle notification, and send it to the screen projection source device through the service device.
相应的,投屏源设备接收到该投屏空闲通知之后,重新经服务设备向投屏目标设备发送第一投屏请求。在一种可能的实现方式中,投屏源设备接收到该投屏空闲通知之后,可以在显示界面中显示第五提示信息,第五提示信息用于提示用户是否需要继续投屏,若用户确认需要继续投屏,则投屏源设备可以重新向投屏目标设备发送第一投屏请求。之后,投屏目标设备根据第一投屏请求,经服务设备向投屏源设备发送投屏目标设备的通道授权信息。即可以重新回到上述步骤901和步骤902。Correspondingly, after receiving the screen projection idle notification, the screen projection source device re-sends the first screen projection request to the screen projection target device via the service device. In a possible implementation, after receiving the screen projection idle notification, the screen projection source device may display fifth prompt information on the display interface. The fifth prompt information is used to prompt the user whether to continue screen projection. If the user confirms If it is necessary to continue screen projection, the screen projection source device may resend the first screen projection request to the screen projection target device. Afterwards, according to the first screen projection request, the screen projection target device sends channel authorization information of the screen projection target device to the screen projection source device via the service device. That is, the above step 901 and step 902 can be returned.
需要补充的是,投屏目标设备的待投屏队列中可以缓存有一个或多个投屏源设备的标识。在投屏目标设备的投屏状态由非空闲状态转变为空闲状态之后,投屏目标设备可以从该一个或多个投屏源设备中确定出仍处于等待状态的投屏源设备,然后根据该处于等待状态的投屏源设备的优先级,确定出一个投屏源设备,并经服务设备向该投屏源设备发送投屏空闲通知。What needs to be added is that one or more identifiers of the screen-casting source devices may be cached in the waiting screen-casting queue of the screen-casting target device. After the screen projection state of the screen projection target device changes from the non-idle state to the idle state, the screen projection target device can determine the screen projection source device that is still in the waiting state from the one or more screen projection source devices, and then according to the The priority of the screen projection source device in the waiting state determines a screen projection source device, and sends a screen projection idle notification to the screen projection source device through the service device.
此外,投屏目标设备还可以向服务设备发送投屏空闲通知,服务设备广播该投屏空闲通知。相应的,仍处于等待状态的投屏源设备可以通过竞争方式向服务设备发送第一投屏请求,服务设备确定出一个投屏源设备,然后为该投屏源设备请求投屏目标设备的通道授权信息。或者,投屏源设备通过竞争方式经服务设备向投屏目标设备发送第一投屏请求,投屏目标设备确定出一个投屏源设备,然后经服务设备向该投屏源设备发送投屏目标设备的通道授权信息。In addition, the screen projection target device may also send a screen projection idle notification to the service device, and the service device broadcasts the screen projection idle notification. Correspondingly, the screen projection source device that is still in the waiting state can send the first screen projection request to the service device through competition, and the service device determines a screen projection source device, and then requests the channel of the screen projection target device for the screen projection source device authorization information. Or, the screen projection source device sends the first screen projection request to the screen projection target device through the service device through competition, and the screen projection target device determines a screen projection source device, and then sends the screen projection target to the screen projection source device through the service device The channel authorization information of the device.
情况2:待投屏队列设置于服务设备中。Case 2: The queue to be projected is set in the service device.
可参见图10示例性示出的再一种远程投屏中采用待投屏队列的方法的流程示意图:Refer to FIG. 10 for a schematic flowchart of another method for using a queue to be screened in remote screen projection:
步骤1001,投屏源设备向服务设备发送第一投屏请求。Step 1001, the screen projection source device sends a first screen projection request to the service device.
服务设备在接收到第一投屏请求之后,可以获得投屏目标设备当前的投屏状态。一种可选示例中,服务设备可以实时监测投屏目标设备的投屏状态,进而确定投屏目标设备当前的投屏状态是空闲状态还是非空闲状态。After receiving the first screen projection request, the service device may obtain the current screen projection status of the screen projection target device. In an optional example, the service device may monitor the screen projection state of the screen projection target device in real time, and then determine whether the current screen projection state of the screen projection target device is an idle state or a non-idle state.
服务设备根据投屏目标设备当前的投屏状态,选择接下来需要执行的步骤。具体的,当服务器设备确定投屏目标设备的投屏状态为空闲状态时,服务设备执行步骤1002;当服务器设备确定投屏目标设备的投屏状态为非空闲状态时,服务设备执行步骤1004。The service device selects the next steps to be performed according to the current screen projection status of the screen projection target device. Specifically, when the server device determines that the screen-casting state of the screen-casting target device is idle, the service device executes step 1002; when the server device determines that the screen-casting state of the screen-casting target device is not idle, the service device executes step 1004.
步骤1002,服务设备向投屏目标设备发送第一投屏请求,该第一投屏请求中包括投屏授权信息。Step 1002, the service device sends a first screen projection request to the screen projection target device, and the first screen projection request includes screen projection authorization information.
步骤1003,投屏目标设备在确定第一投屏请求中包括的投屏授权信息通过验证之后,经服务设备向投屏源设备发送投屏目标设备的通道授权信息。Step 1003, after the screen projection target device determines that the screen projection authorization information included in the first screen projection request passes the verification, it sends channel authorization information of the screen projection target device to the screen projection source device via the service device.
步骤1004,服务设备将投屏源设备的标识缓存至服务设备的待投屏队列中。本申请中,服务设备将投屏源设备的标识缓存至投屏目标设备的待投屏队列中,也可以理解成服务设备将第一投屏请求缓存至投屏目标设备的待投屏队列中。Step 1004, the service device caches the identifier of the screen projection source device in the queue of the service device to be screen projection. In this application, the service device caches the identity of the screen-casting source device in the screen-to-be-cast queue of the screen-casting target device, which can also be understood as the service device caches the first screen-casting request in the screen-to-be-cast queue of the screen-casting target device .
在一种可能的实现方式中,服务设备可以向投屏源设备发送拒绝响应,相应的,投屏源设备在显示界面中显示第四提示信息,第四提示信息用于提示用户是否需要等待投屏, 若用户确认需要等待投屏,则投屏源设备向服务设备发送确认等待信息,服务设备将该投屏源设备的标识缓存至服务设备的待投屏队列中。In a possible implementation manner, the service device may send a rejection response to the screen projection source device. Correspondingly, the screen projection source device displays fourth prompt information on the display interface, and the fourth prompt information is used to prompt the user whether to wait for the screen projection. screen, if the user confirms that it needs to wait for the screen projection, the screen projection source device sends a confirmation waiting message to the service device, and the service device caches the identity of the screen projection source device into the waiting screen projection queue of the service device.
步骤1005,投屏目标设备由非空闲状态转变为空闲状态之后,服务设备向投屏源设备发送投屏空闲通知,该投屏空闲通知用于指示投屏源设备重新发起投屏请求。Step 1005, after the screen projection target device changes from the non-idle state to the idle state, the service device sends a screen projection idle notification to the screen projection source device, and the screen projection idle notification is used to instruct the screen projection source device to re-initiate a screen projection request.
在一种可能的实现方式中,投屏目标设备的投屏授权信息可以是由服务设备按照预设周期进行更新的,从而保障投屏的安全性。在该情况中,服务设备可以重新生成投屏授权信息,并将该重新生成的投屏授权信息包含于投屏空闲通知中,发送给投屏源设备。此外,服务设备还可以将该重新生成的投屏授权信息发送给投屏目标设备。In a possible implementation manner, the screen-casting authorization information of the screen-casting target device may be updated by the service device according to a preset period, so as to ensure the security of screen-casting. In this case, the service device may regenerate the screen projection authorization information, include the regenerated screen projection authorization information in the screen projection idle notification, and send it to the screen projection source device. In addition, the service device may also send the regenerated screen projection authorization information to the screen projection target device.
相应的,投屏源设备接收到该投屏空闲通知之后,重新向服务设备发送第一投屏请求,随后服务设备向投屏目标设备发送第一投屏请求。在一种可能的实现方式中,投屏源设备接收到该投屏空闲通知之后,可以在显示界面中显示第五提示信息,第五提示信息用于提示用户是否需要继续投屏,若用户确认需要继续投屏,则投屏源设备可以重新向投屏目标设备发送第一投屏请求。之后,投屏目标设备根据第一投屏请求,经服务设备向投屏源设备发送投屏目标设备的通道授权信息。即可以重新回到上述步骤1001至步骤1003。Correspondingly, after receiving the screen projection idle notification, the screen projection source device re-sends the first screen projection request to the service device, and then the service device sends the first screen projection request to the screen projection target device. In a possible implementation, after receiving the screen projection idle notification, the screen projection source device may display fifth prompt information on the display interface. The fifth prompt information is used to prompt the user whether to continue screen projection. If the user confirms If it is necessary to continue screen projection, the screen projection source device may resend the first screen projection request to the screen projection target device. Afterwards, according to the first screen projection request, the screen projection target device sends channel authorization information of the screen projection target device to the screen projection source device via the service device. That is, it can return to the above step 1001 to step 1003 again.
需要补充的是,在本申请实施例中,服务设备确定投屏目标设备是否处于空闲状态的方式,还可以为:服务设备在接收到第一投屏请求之后,向投屏目标设备发送第一投屏请求,若接收到来自投屏目标设备的通道授权信息,即表征投屏目标设备当前的投屏状态是空闲状态;若接收到来自投屏目标设备的拒绝响应(也可称为投屏非空闲通知),即表征投屏目标设备当前的投屏状态是非空闲状态。进一步的,投屏目标设备由非空闲状态转变为空闲状态之后,投屏目标设备可以向服务设备发送投屏空闲通知,服务设备将该投屏空闲通知发送至投屏源设备。What needs to be added is that in the embodiment of the present application, the method for the service device to determine whether the screen-casting target device is in an idle state may also be: after receiving the first screen-casting request, the service device sends the first screen-casting request to the screen-casting target device. Screencasting request, if the channel authorization information from the screencasting target device is received, it means that the current screencasting status of the screencasting target device is idle; if a rejection response from the screencasting target device is received (also called non-idle notification), which means that the current screen-casting state of the screen-casting target device is non-idle state. Further, after the screen projection target device changes from the non-idle state to the idle state, the screen projection target device may send a screen projection idle notification to the service device, and the service device sends the screen projection idle notification to the screen projection source device.
还需要补充的是,服务设备的待投屏队列中可以缓存有一个或多个投屏源设备的标识。在投屏目标设备的投屏状态由非空闲状态转变为空闲状态之后,服务设备可以从该一个或多个投屏源设备中确定出仍处于等待状态的投屏源设备,然后根据该处于等待状态的投屏源设备的优先级,确定出一个投屏源设备,向该投屏源设备发送投屏空闲通知。What needs to be added is that one or more identifiers of screen projection source devices may be cached in the waiting screen projection queue of the service device. After the screen projection status of the screen projection target device changes from the non-idle state to the idle state, the service device can determine the screen projection source device that is still in the waiting state from the one or more screen projection source devices, and then According to the priority of the screen projection source device in the state, a screen projection source device is determined, and a screen projection idle notification is sent to the screen projection source device.
此外,服务设备还可以广播投屏空闲通知,相应的,仍处于等待状态的投屏源设备通过竞争方式向服务设备发送第一投屏请求,服务设备确定出一个投屏源设备,然后为该投屏源设备请求投屏目标设备的通道授权信息。In addition, the service device can also broadcast a screen projection idle notification. Correspondingly, the screen projection source device that is still in the waiting state sends the first screen projection request to the service device through competition. The service device determines a screen projection source device, and then provides the The screen projection source device requests the channel authorization information of the screen projection target device.
通过上述方式,在投屏目标设备的投屏状态由非空闲状态转变为空闲状态时,投屏源设备可接收到来自投屏目标设备,或者来自服务设备的投屏空闲通知,从而投屏源设备可以及时向投屏目标设备再次发送投屏请求,实现投屏源设备及时向投屏目标设备投屏。无需投屏源设备的用户人工查看当前投屏目标设备的投屏状态,有助于提高用户体验。在多个投屏源设备需要依次投屏的情况下,有助于实现投屏目标设备的快速切换投屏。Through the above method, when the screen-casting state of the screen-casting target device changes from non-idle state to idle state, the screen-casting source device can receive a screen-casting idle notification from the screen-casting target device or from the service device, so that the screen-casting source The device can send the screen projection request to the screen projection target device again in time, so that the screen projection source device can cast the screen to the screen projection target device in time. It is not necessary for the user of the screen-casting source device to manually check the screen-casting status of the current screen-casting target device, which helps to improve user experience. In the case that multiple screen projection source devices need to cast screens sequentially, it is helpful to quickly switch and cast screens for screen projection target devices.
为了更好的解释本申请中待投屏队列的流程,下面结合图3示例性示出的会议场景举例。假设手机a、手机b和手机c均采用远程投屏方式。当用户A正在通过手机a投屏时,用户B通过手机b扫描投屏目标设备上的二维码,并请求投屏,由于此时投屏目标设备正在被手机a占用,则手机b的显示界面可以如图11中(a)所示,手机b的显示界面中显示第四提示信息,第四提示信息比如是“提示:投屏目标设备当前正在被其他设备占用,是否等待?”。若手机b检测到用户B选择显示界面中的“是”的操作时,则响应于该操作,手机b进入等待投屏的状态。此时,服务设备中的待投屏队列中可以包括有手机b的标识。 待手机a投屏结束之后,服务设备可以向手机b发送投屏空闲通知,相应的,手机b的显示界面可以如图11中(b)所示,手机b的显示界面中显示第五提示信息,第五提示信息比如是“提示:投屏目标设备当前空闲,是否继续投屏?”,若手机b检测到用户B选择显示界面中的“是”,则响应于该选择操作,向服务设备发送第一投屏请求,实现手机b向投屏目标设备投屏。此外,在上述例子中,用户C也可以通过手机c请求投屏,手机c的显示界面也可以参照图11中(a)和(b)所示。In order to better explain the flow of the waiting queue in this application, the conference scene shown in FIG. 3 is used as an example below. Assume that mobile phone a, mobile phone b, and mobile phone c all adopt the remote projection method. When user A is using mobile phone a to cast the screen, user B scans the QR code on the screen projection target device through mobile phone b, and requests screen projection. Since the screen projection target device is occupied by mobile phone a at this time, the display The interface can be as shown in (a) in FIG. 11 , the display interface of the mobile phone b displays fourth prompt information, for example, the fourth prompt information is "Prompt: The screen projection target device is currently occupied by other devices, do you want to wait?". If the mobile phone b detects that the user B selects an operation of "yes" in the display interface, in response to the operation, the mobile phone b enters a state of waiting for screen projection. At this time, the screen waiting queue in the service device may include the identifier of the mobile phone b. After the screen projection of mobile phone a is finished, the service device can send a screen projection idle notification to mobile phone b. Correspondingly, the display interface of mobile phone b can be as shown in (b) in Figure 11, and the display interface of mobile phone b displays the fifth prompt information , the fifth prompt message is, for example, "Prompt: The screen projection target device is currently idle, do you want to continue screen projection?" Sending the first screen projection request, so that the mobile phone b can project the screen to the screen projection target device. In addition, in the above example, user C can also request screen projection through mobile phone c, and the display interface of mobile phone c can also refer to those shown in (a) and (b) in FIG. 11 .
进一步的,本申请可以提供用户A对所有投屏源设备的投屏顺序进行调整。比如,用户A作为管理人员,可以在手机a中调整用户的投屏源设备的投屏顺序。手机a的显示界面可以参照图11中(c)所示,显示界面中显示的投屏顺序为标识b和标识c,相应的,服务设备中的待投屏队列中包括有具有先后顺序的标识b和标识c。在手机a投屏结束之后,服务设备可以向手机b发送投屏空闲通知,实现手机b向投屏目标设备投屏。在手机b投屏结束之后,服务设备可以向手机c发送投屏空闲通知,实现手机c向投屏目标设备投屏。此处,用户A可以通过改变手机a的显示界面中标识的顺序,以通知服务设备调整待投屏队列中各标识的先后顺序。Further, the present application may provide user A to adjust the screen projection sequence of all screen projection source devices. For example, user A, as a manager, can adjust the screen projection sequence of the user's screen projection source device on mobile phone a. The display interface of the mobile phone a can refer to that shown in (c) in Figure 11. The screen projection sequence displayed on the display interface is the logo b and the logo c. Correspondingly, the queue to be projected in the service device includes the logos with the sequence b and identification c. After the screen projection of mobile phone a ends, the service device can send a screen projection idle notification to mobile phone b, so that mobile phone b can project the screen to the target device. After the screen projection of the mobile phone b is completed, the service device can send a screen projection idle notification to the mobile phone c, so that the mobile phone c can project the screen to the target device. Here, user A can notify the service device to adjust the order of the identifiers in the queue to be projected by changing the order of the identifiers on the display interface of the mobile phone a.
如上述实施例中,代理设备协助投屏源设备获取投屏目标设备的投屏授权信息,进而投屏源设备基于投屏授权信息向投屏目标设备发送投屏数据。此外,本申请提供另一种投屏方法,可应用于图1示例性示出中的投屏系统中,该方法可以由服务设备、投屏目标设备和投屏源设备完成。As in the above embodiment, the proxy device assists the screen projection source device to obtain the screen projection authorization information of the screen projection target device, and then the screen projection source device sends screen projection data to the screen projection target device based on the screen projection authorization information. In addition, the present application provides another screen projection method, which can be applied to the screen projection system shown in Fig. 1 exemplarily, and the method can be completed by a service device, a screen projection target device, and a screen projection source device.
在本申请实施例中,可将与投屏源设备具有关联关系的投屏目标设备称为是第一投屏目标设备;可将用于投屏源设备进行投屏的投屏目标设备称为是第二投屏目标设备;可将与服务设备保持信令通道连接的投屏目标设备称为是第三投屏目标设备。In this embodiment of the application, the target screen-casting device associated with the screen-casting source device may be referred to as the first screen-casting target device; is the second target device for screen projection; the target device for screen projection that maintains a signaling channel connection with the service device may be referred to as the third target device for screen projection.
可以理解的是,服务设备可以与M个第三投屏目标设备保持信令通道的连接;服务设备可从该M个第三投屏目标设备中确定出N个第一投屏目标设备,其中M和N均为正整数,且N小于或等于M。该N个第一投屏目标设备的标识可显示在投屏源设备的显示界面中,以供用户从N个第一投屏目标设备中选择出用于投屏源设备进行投屏的投屏目标设备(即第二投屏目标设备)。It can be understood that the service device may maintain a signaling channel connection with the M third screen projection target devices; the service device may determine N first screen projection target devices from the M third screen projection target devices, where Both M and N are positive integers, and N is less than or equal to M. The identifiers of the N first screen-casting target devices can be displayed on the display interface of the screen-casting source device, so that the user can select a screen from the N first screen-casting target devices for the screen-casting source device to perform screen-casting The target device (that is, the second target device for screen projection).
参见图12示例性示出又一种投屏方法的流程示意图说明:Referring to FIG. 12 exemplarily showing a schematic flow diagram of another method for screen projection:
步骤1201,服务设备确定第一投屏目标设备。Step 1201, the service device determines a first target device for screen projection.
服务设备可基于预设策略,从该M个第三投屏目标设备中确定出N个第一投屏目标设备。其中预设策略可至少包括用户自主选择绑定策略、自动绑定策略和区域匹配绑定策略。基于三种不同策略,可以对步骤1201分三种示例进行说明。The service device may determine N first screen projection target devices from the M third screen projection target devices based on a preset policy. The preset strategy may at least include a user-selected binding strategy, an automatic binding strategy, and an area matching binding strategy. Based on three different strategies, step 1201 can be described in three examples.
示例a,用户自主选择绑定策略,可参见步骤a1至步骤a4。In example a, the user chooses a binding policy independently, see steps a1 to a4.
步骤a1,服务设备向投屏源设备发送M个第三投屏目标设备分别对应的M个标识。In step a1, the service device sends M identifiers respectively corresponding to the M third screen projection target devices to the screen projection source device.
步骤a2,投屏源设备从M个标识中确定出N个目标标识。具体的,投屏源设备将M个标识显示在投屏源设备的显示界面中,用户可以在该投屏源设备的显示界面中选择N个目标标识,其中N个目标标识对应的第三投屏目标设备即为第一投屏目标设备,相应的,投屏源设备确定用户选择的N个目标标识。In step a2, the screen projection source device determines N target identities from the M identities. Specifically, the screen projection source device displays M logos on the display interface of the screen projection source device, and the user can select N target logos on the display interface of the screen projection source device, and the third projection logo corresponding to the N target logos The screen target device is the first screen projection target device, and correspondingly, the screen projection source device determines the N target identifiers selected by the user.
步骤a3,投屏源设备向服务设备发送关联请求,关联请求中包括N个目标标识。In step a3, the screen projection source device sends an association request to the service device, and the association request includes N target identifiers.
步骤a4,服务设备将N个目标标识对应的第三投屏目标设备确定为N个第一投屏目 标设备。In step a4, the service device determines the third screen projection target devices corresponding to the N target identifiers as the N first screen projection target devices.
示例b,自动绑定策略,可参见步骤b1或步骤b2。Example b, automatic binding policy, refer to step b1 or step b2.
步骤b1,服务设备将M个第三投屏目标设备均作为投屏源设备的关联设备,即将M个第三投屏目标设备确定为N个第一投屏目标设备,M等于N。In step b1, the service device takes the M third screen projection target devices as associated devices of the screen projection source device, that is, determines the M third screen projection target devices as N first screen projection target devices, and M is equal to N.
步骤b2,服务设备根据投屏源设备分别投屏至M个第三投屏目标设备的次数,从M个第三投屏目标设备中选择出N个第三投屏目标设备,并将该N个第三投屏目标设备作为N个第一投屏目标设备。Step b2, the service device selects N third target devices for screen projection from the M third target devices for screen projection according to the number of times the screen projection source device projects to M third target devices for screen projection, and sends the N The third screen projection target devices serve as the N first screen projection target devices.
示例c,区域匹配绑定策略,可参见步骤c1和步骤c2。For example c, region matching and binding policy, refer to step c1 and step c2.
步骤c1,服务设备确定投屏源设备的所属区域。In step c1, the service device determines the area to which the screen projection source device belongs.
步骤c2,服务设备从M个第三投屏目标设备中,确定出与投屏源设备属于相同区域的N个第三投屏目标设备,并将该N个第三投屏目标设备作为N个第一投屏目标设备。Step c2, the service device determines N third screen projection target devices belonging to the same area as the screen projection source device from the M third screen projection target devices, and takes the N third screen projection target devices as N The target device for the first projection.
步骤1202,服务设备向投屏源设备发送第一投屏目标设备的信息。Step 1202, the service device sends the information of the first screen projection target device to the screen projection source device.
本申请中,服务设备在向投屏源设备发送第一投屏目标设备的信息时,可以至少有两种实现方式:其一,在投屏源设备通过投屏应用登录至服务设备时,服务设备主动向投屏源设备发送第一投屏目标设备的信息。其二,投屏源设备可以在需要投屏时,向服务设备发送关联设备请求,该关联设备请求用于向服务设备请求第一投屏目标设备的标识,服务设备响应于该关联设备请求,向投屏源设备发送第一投屏目标设备的信息。In this application, when the service device sends the information of the first screen-casting target device to the screen-casting source device, there are at least two implementation methods: first, when the screen-casting source device logs in to the service device through the screen-casting application, the service The device actively sends the information of the first screen-casting target device to the screen-casting source device. Second, the screen projection source device can send an association device request to the service device when projection is required, and the association device request is used to request the identity of the first screen projection target device from the service device, and the service device responds to the association device request, Send the information of the first target device for screen projection to the source device for screen projection.
步骤1203,投屏源设备根据第一投屏目标设备的信息,从第一投屏目标设备中确定出第二投屏目标设备;向服务设备发送第二投屏请求,其中第二投屏请求中包含第二投屏目标设备的标识。Step 1203, the screen projection source device determines the second screen projection target device from the first screen projection target device according to the information of the first screen projection target device; sends a second screen projection request to the service device, wherein the second screen projection request contains the identifier of the second screencasting target device.
投屏源设备可以在投屏源设备的显示界面中显示第一投屏目标设备的信息。用户执行第二用户操作,其中第二用户操作可以是用户选择投屏源设备的显示界面中第一投屏目标设备的标识中的一个(即第二投屏目标设备的标识)。相应的,投屏源设备接收第二用户操作,根据用户选择的第二投屏目标设备的标识,生成包含有第二投屏目标设备的标识的第二投屏请求,并将该第二投屏请求发送给服务设备。The screen projection source device may display the information of the first screen projection target device on the display interface of the screen projection source device. The user performs a second user operation, wherein the second user operation may be that the user selects one of the identifiers of the first screen-casting target device (ie, the identifier of the second screen-casting target device) in the display interface of the screen-casting source device. Correspondingly, the screen projection source device receives the second user operation, generates a second screen projection request including the identifier of the second screen projection target device according to the identifier of the second screen projection target device selected by the user, and sends the second screen projection The screen request is sent to the service device.
基于服务设备向投屏源设备发送的第一投屏目标设备的信息的不同,可以至少有如下三个示例:Based on the information of the first screen-casting target device sent by the service device to the screen-casting source device, there may be at least the following three examples:
示例1,服务设备向投屏源设备发送N个第一投屏目标设备的信息。其中,每个第一投屏目标设备的信息中包括有对应第一投屏目标设备的标识和投屏状态信息,投屏状态信息可以是由服务设备实时监测第一投屏目标设备的投屏状态而得到的,或者投屏状态信息可以是由第一投屏目标设备上报给服务设备的,投屏状态信息可用于指示第一投屏目标设备是否处于空闲状态。比如,N个第一投屏目标设备分别对应的标识是标识1、标识2、……、标识N,N个第一投屏目标设备分别对应的投屏状态信息是状态1、状态2、……、状态N,服务设备向投屏源设备发送标识1和状态1、标识2和状态2、……、标识N和状态N。Example 1, the service device sends information about N first screen projection target devices to the screen projection source device. Wherein, the information of each first screen-casting target device includes the identification of the corresponding first screen-casting target device and screen-casting status information, and the screen-casting status information may be real-time monitoring of the screen-casting of the first screen-casting target device by the service device state, or the screen projection state information may be reported by the first screen projection target device to the service device, and the screen projection state information may be used to indicate whether the first screen projection target device is in an idle state. For example, the identifiers corresponding to the N first screen projection target devices are identifier 1, identifier 2, ..., identifier N, and the screen projection status information corresponding to the N first screen projection target devices are status 1, status 2, ... ..., state N, the service device sends ID 1 and status 1, ID 2 and status 2, ..., ID N and status N to the screen projection source device.
相应的,投屏源设备可以将N个第一投屏目标设备的信息(包括标识和投屏状态信息)在投屏源设备的显示界面中显示,比如图13中(a)所示,用户可以在该显示界面中选择投屏状态信息为空闲状态的第一投屏目标设备作为第二投屏目标设备。Correspondingly, the screen projection source device can display the information (including identification and screen projection status information) of the N first screen projection target devices on the display interface of the screen projection source device, as shown in (a) in FIG. 13 , the user In the display interface, the first screen projection target device whose screen projection status information is idle may be selected as the second screen projection target device.
示例2,服务设备还可以根据各第一投屏目标设备的投屏状态信息,从N个第一投屏目标设备中确定出K个处于空闲状态的第一投屏目标设备,其中K为正整数,且K小于或等于N。服务设备将该K个处于空闲状态的第一投屏目标设备的标识发送给投屏源设备, 而无需向投屏源设备指示第一投屏目标设备的投屏状态信息。比如,N个第一投屏目标设备分别对应的标识是标识1、标识2、……、标识N,N个第一投屏目标设备分别对应的投屏状态信息是状态1、状态2、……、状态N,服务设备从N个第一投屏目标设备中确定出3个处于空闲状态的第一投屏目标设备,即K等于3,3个处于空闲状态的第一投屏目标设备的标识分别为标识2、标识3、标识4,服务设备向投屏源设备发送标识2、标识3、标识4。Example 2, the service device may also determine K first screen projection target devices in an idle state from the N first screen projection target devices according to the screen projection state information of each first screen projection target device, where K is positive Integer, and K is less than or equal to N. The service device sends the identifiers of the K first screen projection target devices in an idle state to the screen projection source device without indicating the screen projection status information of the first screen projection target devices to the screen projection source device. For example, the identifiers corresponding to the N first screen projection target devices are identifier 1, identifier 2, ..., identifier N, and the screen projection status information corresponding to the N first screen projection target devices are status 1, status 2, ... ..., state N, the service device determines 3 first screen projection target devices in the idle state from the N first screen projection target devices, that is, K is equal to 3, and the number of the 3 first screen projection target devices in the idle state The identifiers are respectively identifier 2, identifier 3, and identifier 4, and the service device sends the identifier 2, identifier 3, and identifier 4 to the screen projection source device.
相应的,投屏源设备可以将3个第一投屏目标设备的标识在投屏源设备的显示界面中显示,比如图13中(b)所示,用户可以在该显示界面中选择其中一个第一投屏目标设备作为第二投屏目标设备。Correspondingly, the screen projection source device can display the identities of the three first screen projection target devices on the display interface of the screen projection source device, as shown in (b) in Figure 13, and the user can select one of them in the display interface The first screen projection target device serves as the second screen projection target device.
示例3,服务设备向投屏源设备发送N个第一投屏目标设备的信息。其中,每个第一投屏目标设备的信息中包括有对应第一投屏目标设备的标识。比如,N个第一投屏目标设备分别对应的标识是标识1、标识2、……、标识N,服务设备向投屏源设备发送标识1、标识2、……、标识N。Example 3, the service device sends information about N first screen projection target devices to the screen projection source device. Wherein, the information of each first screen projection target device includes an identifier corresponding to the first screen projection target device. For example, the IDs corresponding to the N first screen projection target devices are ID 1, ID 2, ..., ID N, and the service device sends ID 1, ID 2, ..., ID N to the screen projection source device.
相应的,投屏源设备可以将N个第一投屏目标设备的标识在投屏源设备的显示界面中显示,比如图13中(c)所示,用户可以在该显示界面中选择其中一个第一投屏目标设备作为第二投屏目标设备。此处,若用户指示的第二投屏目标设备处于非空闲状态,则服务设备可以将该投屏源设备的标识缓存至服务设备的待投屏队列中,至第二投屏目标设备由非空闲状态转变为空闲状态之后,再执行步骤1204至步骤1206。Correspondingly, the screen projection source device can display the identifications of the N first screen projection target devices on the display interface of the screen projection source device, such as shown in (c) in FIG. 13 , and the user can select one of them in the display interface The first screen projection target device serves as the second screen projection target device. Here, if the second screen-casting target device indicated by the user is in a non-idle state, the service device may cache the identifier of the screen-casting source device in the queue of the service device to be screen-casted, and the second screen-casting target device is not idle. After the idle state changes to the idle state, step 1204 to step 1206 are executed again.
本申请中,服务设备在接收到来自投屏源设备的第二投屏请求之后,可以验证投屏源设备是否为可信的投屏源设备,即验证是否为已经登录至服务设备中的投屏源设备,若是,则执行步骤1204,若否,则向投屏源设备发送投屏拒绝消息或者不响应。通过这种方式,有助于提高投屏的安全性。In this application, after receiving the second screen projection request from the screen projection source device, the service device can verify whether the screen projection source device is a trusted screen projection source device, that is, verify whether it is a projection screen that has logged into the service device. The screen source device, if yes, executes step 1204, and if not, sends a screen projection rejection message to the screen projection source device or does not respond. In this way, it helps to improve the security of screen projection.
步骤1204,服务设备根据第二投屏目标设备的标识,向第二投屏目标设备发送第三投屏请求。第三投屏请求用于向第二投屏目标设备请求第二投屏目标设备的通道授权信息。Step 1204, the service device sends a third screen projection request to the second screen projection target device according to the identifier of the second screen projection target device. The third screen projection request is used to request channel authorization information of the second screen projection target device from the second screen projection target device.
步骤1205,第二投屏目标设备经服务设备向投屏源设备发送第二投屏目标设备的通道授权信息。Step 1205, the second screen projection target device sends channel authorization information of the second screen projection target device to the screen projection source device via the service device.
步骤1206,投屏源设备根据通道授权信息,向第二投屏目标设备发送投屏数据。Step 1206, the screen projection source device sends screen projection data to the second screen projection target device according to the channel authorization information.
类似步骤508A中的介绍,此处不再赘述。Similar to the introduction in step 508A, details are not repeated here.
步骤1207,第二投屏目标设备显示投屏数据。Step 1207, the second screen projection target device displays the screen projection data.
上述技术方案中,通过建立投屏源设备与投屏目标设备之间的关联关系,以及保持投屏目标设备与服务设备之间的信令通道,无需用户通过投屏源设备手动获取投屏目标设备的投屏授权信息,减少用户操作,有助于实现自动快速的投屏。In the above technical solution, by establishing the association between the screen projection source device and the screen projection target device, and maintaining the signaling channel between the screen projection target device and the service device, the user does not need to manually obtain the screen projection target through the screen projection source device The screen projection authorization information of the device reduces user operations and helps to realize automatic and fast screen projection.
基于上述内容和相同构思,图14和图15为本申请的提供的可能的投屏装置的结构示意图。这些投屏装置可以用于实现上述方法实施例中服务设备、代理设备、投屏源设备、投屏目标设备中任一个设备的功能,因此也能实现上述方法实施例所具备的有益效果。Based on the above content and the same idea, FIG. 14 and FIG. 15 are schematic structural diagrams of possible screen projection devices provided by the present application. These screen projection devices can be used to implement the function of any one of the service device, proxy device, screen projection source device, and screen projection target device in the above method embodiments, and thus can also achieve the beneficial effects of the above method embodiments.
在本申请中,该投屏装置可以是如图1所示的服务设备、投屏源设备、投屏目标设备中任一个。该投屏装置还可以是如图4所示的服务设备、代理设备、投屏源设备、投屏目标设备中任一个。In this application, the screen projection device may be any one of the service device, the screen projection source device, and the screen projection target device as shown in FIG. 1 . The screen projection device may also be any one of the server device, the proxy device, the screen projection source device, and the screen projection target device as shown in FIG. 4 .
如图14所示,该投屏装置1400包括处理单元1401和收发单元1402。As shown in FIG. 14 , the screen projection device 1400 includes a processing unit 1401 and a transceiver unit 1402 .
在投屏装置1400为服务设备时,投屏装置1400可用于实现图5相关实施例中服务设备的方法。在一种可能的实现方式中,处理单元1401用于,控制收发单元1402在接收来自代理设备的关联设备请求时,向代理设备发送与代理设备具有关联关系的至少一个关联设备的标识;处理单元1401还用于,控制收发单元1402接收来自代理设备的代理投屏请求,代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;其中至少一个关联设备包括投屏源设备;处理单元1401还用于,控制收发单元1402向投屏源设备发送投屏事件通知,投屏事件通知用于指示投屏源设备根据投屏事件通知中包括的投屏授权信息向投屏目标设备发送投屏数据,投屏数据在投屏目标设备上显示。When the screen projection device 1400 is a service device, the screen projection device 1400 can be used to implement the method of the service device in the related embodiment in FIG. 5 . In a possible implementation manner, the processing unit 1401 is configured to control the transceiving unit 1402 to send the identifier of at least one associated device that has an association relationship with the agent device to the agent device when the transceiver unit 1402 receives an association device request from the agent device; the processing unit 1401 is also used to control the transceiving unit 1402 to receive the proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; wherein at least one associated device includes a screen projection The source device; the processing unit 1401 is also used to control the transceiver unit 1402 to send a screen projection event notification to the screen projection source device, and the screen projection event notification is used to instruct the screen projection source device to send the screen projection event notification to the screen projection source device according to the screen projection authorization information included in the screen projection event notification. The screen target device sends the screen projection data, and the screen projection data is displayed on the screen projection target device.
在投屏装置1400为服务设备时,投屏装置1400可用于实现图7相关实施例中服务设备的方法。在一种可能的实现方式中,处理单元1401用于,控制收发单元1402在接收来自代理设备的关联设备请求时,向代理设备发送与代理设备具有关联关系的至少一个关联设备的标识;处理单元1401还用于,控制收发单元1402接收来自代理设备的代理投屏请求,代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;其中至少一个关联设备包括投屏源设备;处理单元1401还用于,根据投屏授权信息,从投屏目标设备中获得投屏目标设备的通道授权信息,控制收发单元1402向投屏源设备发送通道授权信息;该通道授权信息用于投屏源设备加密投屏数据并将加密后的投屏数据发送至投屏目标设备,投屏数据在投屏目标设备上显示。When the screen projection device 1400 is a service device, the screen projection device 1400 can be used to implement the method of the service device in the related embodiment in FIG. 7 . In a possible implementation manner, the processing unit 1401 is configured to control the transceiving unit 1402 to send the identifier of at least one associated device that has an association relationship with the agent device to the agent device when the transceiver unit 1402 receives an association device request from the agent device; the processing unit 1401 is also used to control the transceiving unit 1402 to receive the proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; wherein at least one associated device includes a screen projection The source device; the processing unit 1401 is also used to obtain the channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, and control the transceiver unit 1402 to send the channel authorization information to the screen projection source device; the channel authorization information It is used for the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the screen projection target device, and the screen projection data is displayed on the screen projection target device.
在投屏装置1400为代理设备时,投屏装置1400可用于实现图5或图7相关实施例中代理设备的方法。在一种可能的实现方式中,处理单元1401用于,获取投屏目标设备的投屏授权信息;处理单元1401还用于,在接收到代理请求投屏的指示时,从服务设备处获取与投屏装置1400具有关联关系的至少一个关联设备的标识;处理单元1401还用于,控制收发单元1402接收第一用户操作,第一用户操作为用户选择至少一个关联设备中的一个作为投屏源设备,控制收发单元1402向服务设备发送代理投屏请求,代理投屏请求中包括投屏授权信息和投屏源设备的标识,代理投屏请求用于指示服务设备向投屏源设备发送投屏事件通知。When the screen projection device 1400 is a proxy device, the screen projection device 1400 may be used to implement the method of the proxy device in the related embodiment in FIG. 5 or FIG. 7 . In a possible implementation manner, the processing unit 1401 is configured to acquire the screen-casting authorization information of the screen-casting target device; The screen projection apparatus 1400 has an identification of at least one associated device with an association relationship; the processing unit 1401 is further configured to control the transceiver unit 1402 to receive a first user operation, and the first user operation is for the user to select one of the at least one associated device as a screen projection source device, control the transceiver unit 1402 to send a proxy screen projection request to the service device, the proxy screen projection request includes the screen projection authorization information and the identification of the screen projection source device, and the proxy screen projection request is used to instruct the service device to send the screen projection to the screen projection source device Event notification.
在投屏装置1400为投屏源设备时,投屏装置1400可用于实现图5或图8或图9或图10相关实施例中投屏源设备的方法。在一种可能的实现方式中,所述处理单元1401用于,控制所述收发单元1402接收来自服务设备的投屏事件通知,所述投屏事件通知中包含投屏授权信息,所述投屏事件通知是所述服务设备响应于代理设备的代理投屏请求发送的,所述投屏装置1400与所述代理设备之间具有关联关系;所述处理单元1401还用于,根据所述投屏授权信息,控制所述收发单元1402向投屏目标设备发送所述投屏装置1400的投屏数据,所述投屏数据在所述投屏目标设备上显示。When the screen projection device 1400 is the screen projection source device, the screen projection device 1400 may be used to implement the method of the screen projection source device in the related embodiments in FIG. 5 or FIG. 8 or FIG. 9 or FIG. 10 . In a possible implementation manner, the processing unit 1401 is configured to control the transceiving unit 1402 to receive a screen casting event notification from the service device, the screen casting event notification includes screen casting authorization information, and the screen casting event The event notification is sent by the service device in response to the proxy device's proxy screen projection request, and the screen projection device 1400 has an association relationship with the proxy device; the processing unit 1401 is also configured to, according to the screen projection device The authorization information controls the transceiving unit 1402 to send the screen projection data of the screen projection device 1400 to the screen projection target device, and the screen projection data is displayed on the screen projection target device.
在投屏装置1400为投屏源设备时,投屏装置1400可用于实现图7或图8或图9或图10相关实施例中投屏源设备的方法。在一种可能的实现方式中,所述处理单元1401用于,控制所述收发单元1402接收来自服务设备的通道授权信息,根据所述通道授权信息加密所述投屏装置1400投屏数据,向投屏目标设备发送所述投屏装置1400的投屏数据,所述投屏数据在所述投屏目标设备上显示。When the screen projection device 1400 is the screen projection source device, the screen projection device 1400 may be used to implement the method of the screen projection source device in the related embodiments in FIG. 7 or FIG. 8 or FIG. 9 or FIG. 10 . In a possible implementation manner, the processing unit 1401 is configured to control the transceiver unit 1402 to receive channel authorization information from the service device, encrypt the screen projection data of the screen projection device 1400 according to the channel authorization information, and send the The screen projection target device sends the screen projection data of the screen projection apparatus 1400, and the screen projection data is displayed on the screen projection target device.
在投屏装置1400为投屏目标设备时,投屏装置1400可用于实现图5或图8或图9或图10相关实施例中投屏目标设备的方法。在一种可能的实现方式中,处理单元1401控制收发单元1402接收来自投屏源设备的第一投屏请求,第一投屏请求中包括投屏目标设备 的投屏授权信息和投屏源设备的标识,投屏授权信息用于投屏源设备向投屏目标设备请求投屏目标设备的通道授权信息,通道授权信息用于投屏源设备加密投屏数据;在投屏目标设备未处于空闲状态的情况下,处理单元1401将投屏源设备的标识加入至投屏目标设备的待投屏队列中。When the screen projection device 1400 is a screen projection target device, the screen projection device 1400 may be used to implement the method of the screen projection target device in the related embodiments in FIG. 5 or FIG. 8 or FIG. 9 or FIG. 10 . In a possible implementation, the processing unit 1401 controls the transceiving unit 1402 to receive a first screen casting request from the screen casting source device, and the first screen casting request includes the screen casting authorization information of the screen casting target device and the screen casting source device The screen projection authorization information is used by the screen projection source device to request the channel authorization information of the screen projection target device from the screen projection target device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data; when the screen projection target device is not idle state, the processing unit 1401 adds the identifier of the screen-casting source device to the screen-to-be-cast queue of the screen-casting target device.
在投屏装置1400为投屏目标设备时,投屏装置1400可用于实现图7或图8或图9或图10相关实施例中投屏目标设备的方法。在一种可能的实现方式中,处理单元1401控制收发单元1402接收来自服务设备的通道授权请求,根据所述通道授权请求,经服务设备向所述投屏源设备发送通道授权信息。处理单元1401控制收发单元1402接收来自所述投屏源设备根据所述通道授权信息加密的投屏数据,显示所述投屏数据。When the screen projection device 1400 is a screen projection target device, the screen projection device 1400 may be used to implement the method of the screen projection target device in the related embodiments in FIG. 7 or FIG. 8 or FIG. 9 or FIG. 10 . In a possible implementation manner, the processing unit 1401 controls the transceiving unit 1402 to receive a channel authorization request from the service device, and according to the channel authorization request, send channel authorization information to the screen projection source device via the service device. The processing unit 1401 controls the transceiving unit 1402 to receive the screen projection data encrypted from the screen projection source device according to the channel authorization information, and display the screen projection data.
在投屏装置1400为服务设备时,投屏装置1400可用于实现图12相关实施例中服务设备的方法。在一种可能的实现方式中,处理单元1401控制收发单元1402向投屏源设备发送第一投屏目标设备的信息,第一投屏目标设备的信息中包括第一投屏目标设备的标识;第一投屏目标设备与投屏源设备具有关联关系;控制收发单元1402接收来自投屏源设备的第二投屏请求;第二投屏请求中包含第二投屏目标设备的标识;第二投屏目标设备是处于空闲状态的第一接收设备;根据第二投屏目标设备的标识,从第二投屏目标设备中获取第二投屏目标设备的通道授权信息;控制收发单元1402向投屏源设备发送通道授权信息,通道授权信息用于投屏源设备加密投屏数据并将加密后的投屏数据发送至第二投屏目标设备。When the screen projection device 1400 is a service device, the screen projection device 1400 can be used to implement the method of the service device in the related embodiment in FIG. 12 . In a possible implementation manner, the processing unit 1401 controls the transceiving unit 1402 to send the information of the first screen projection target device to the screen projection source device, and the information of the first screen projection target device includes an identifier of the first screen projection target device; The first screen projection target device has an association relationship with the screen projection source device; the control transceiver unit 1402 receives the second screen projection request from the screen projection source device; the second screen projection request contains the identity of the second screen projection target device; the second The screen projection target device is the first receiving device in an idle state; according to the identification of the second screen projection target device, obtain the channel authorization information of the second screen projection target device from the second screen projection target device; control the transceiver unit 1402 to The screen source device sends channel authorization information, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the second screen projection target device.
在投屏装置1400为投屏源设备时,投屏装置1400可用于实现图12相关实施例中投屏源设备的方法。在一种可能的实现方式中,处理单元1401用于,控制收发单元1402接收来自服务设备的第一投屏目标设备的信息,第一投屏目标设备的信息包含第一投屏目标设备的标识,第一投屏目标设备与投屏源设备具有关联关系;控制收发单元1402向服务设备发送第二投屏请求,第二投屏请求中包含第二投屏目标设备的标识,第二投屏目标设备是处于空闲状态的第一投屏目标设备;控制收发单元1402接收来自服务设备的第二投屏目标设备的通道授权信息;根据通道授权信息,加密投屏数据并控制收发单元1402将加密后的投屏数据发送至第二投屏目标设备。When the screen projection device 1400 is the screen projection source device, the screen projection device 1400 may be used to implement the method of the screen projection source device in the related embodiment in FIG. 12 . In a possible implementation manner, the processing unit 1401 is configured to control the transceiving unit 1402 to receive the information of the first screen-casting target device from the service device, where the information of the first screen-casting target device includes an identifier of the first screen-casting target device , the first screen projection target device has an association relationship with the screen projection source device; the control transceiver unit 1402 sends a second screen projection request to the service device, the second screen projection request includes the identity of the second screen projection target device, and the second screen projection The target device is the first screen projection target device in an idle state; the control transceiver unit 1402 receives the channel authorization information of the second screen projection target device from the service device; according to the channel authorization information, encrypt the screen projection data and control the transceiver unit 1402 to encrypt The final screen projection data is sent to the second screen projection target device.
在投屏装置1400为第二投屏目标设备时,投屏装置1400可用于实现图12相关实施例中第二投屏目标设备的方法。在一种可能的实现方式中,处理单元1401用于,控制收发单元1402接收来自服务设备的第三投屏请求,服务设备与第二投屏目标设备之间保持信令通道连接;响应于第三投屏请求,控制收发单元1402向服务设备发送第二投屏目标设备的通道授权信息,通道授权信息用于投屏源设备加密投屏数据并将加密后的投屏数据发送至第二投屏目标设备。When the screen projection apparatus 1400 is the second screen projection target device, the screen projection apparatus 1400 may be used to implement the method for the second screen projection target device in the related embodiment in FIG. 12 . In a possible implementation manner, the processing unit 1401 is configured to control the transceiving unit 1402 to receive the third screen projection request from the service device, and the service device maintains a signaling channel connection with the second screen projection target device; Three screen projection requests, the control transceiver unit 1402 sends the channel authorization information of the second screen projection target device to the service device, and the channel authorization information is used by the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the second projection screen screen the target device.
如图15所示为本申请实施例提供的装置1500,图15所示的装置可以为图14所示的装置的一种硬件电路的实现方式。该装置可适用于前面所示出的流程图中,执行上述方法实施例中服务设备、代理设备、投屏源设备、投屏目标设备中任一个设备的功能。FIG. 15 shows an apparatus 1500 provided in the embodiment of the present application. The apparatus shown in FIG. 15 may be a hardware circuit implementation manner of the apparatus shown in FIG. 14 . The apparatus may be applicable to the flow chart shown above to execute the function of any one of the service device, the proxy device, the screen projection source device, and the screen projection target device in the above method embodiments.
为了便于说明,图15仅示出了该装置的主要部件。For ease of illustration, only the main components of the device are shown in FIG. 15 .
图15所示的装置1500包括通信接口1510、处理器1520和存储器1530,其中存储器1530用于存储程序指令和/或数据。处理器1520可能和存储器1530协同操作。处理器1520 可能执行存储器1530中存储的程序指令。存储器1530中存储的指令或程序被执行时,该处理器1520用于执行上述实施例中处理单元1401执行的操作,通信接口1510用于执行上述实施例中收发单元1402执行的操作。The device 1500 shown in FIG. 15 includes a communication interface 1510, a processor 1520 and a memory 1530, wherein the memory 1530 is used for storing program instructions and/or data. Processor 1520 may cooperate with memory 1530 . Processor 1520 may execute program instructions stored in memory 1530 . When the instructions or programs stored in the memory 1530 are executed, the processor 1520 is used to perform the operations performed by the processing unit 1401 in the above embodiments, and the communication interface 1510 is used to perform the operations performed by the transceiver unit 1402 in the above embodiments.
存储器1530和处理器1520耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。所述存储器1530中的至少一个可以包括于处理器1520中。The memory 1530 is coupled to the processor 1520 . The coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. At least one of the memories 1530 may be included in the processor 1520 .
在本申请实施例中,通信接口可以是收发器、电路、总线、模块或其它类型的通信接口。在本申请实施例中,通信接口为收发器时,收发器可以包括独立的接收器、独立的发射器;也可以集成收发功能的收发器、或者是通信接口。In this embodiment of the present application, the communication interface may be a transceiver, a circuit, a bus, a module, or other types of communication interfaces. In the embodiment of the present application, when the communication interface is a transceiver, the transceiver may include an independent receiver and an independent transmitter; it may also be a transceiver integrated with a transceiver function, or be a communication interface.
装置1500还可以包括通信线路1540。其中,通信接口1510、处理器1520以及存储器1530可以通过通信线路1540相互连接;通信线路1540可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述通信线路1540可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。 Apparatus 1500 may also include a communication link 1540 . Wherein, the communication interface 1510, the processor 1520 and the memory 1530 can be connected to each other through the communication line 1540; the communication line 1540 can be a peripheral component interconnect standard (peripheral component interconnect, referred to as PCI) bus or an extended industry standard architecture (extended industry standard architecture , referred to as EISA) bus and so on. The communication line 1540 can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 15 , but it does not mean that there is only one bus or one type of bus.
基于上述内容和相同构思,本申请提供一种计算设备,包括处理器,所述处理器与存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述计算设备实现上述图5至图12中相关实施例中的方法。Based on the above content and the same idea, the present application provides a computing device, including a processor, the processor is connected to a memory, the memory is used to store computer programs, and the processor is used to execute the computer programs stored in the memory , so that the computing device implements the methods in the above-mentioned related embodiments in FIG. 5 to FIG. 12 .
基于上述内容和相同构思,本申请提供一种计算设备,包括处理器和存储器,所述处理器与所述存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述计算设备实现上述图5至图12中相关实施例中的方法。Based on the above content and the same idea, the present application provides a computing device, including a processor and a memory, the processor is connected to the memory, the memory is used to store computer programs, and the processor is used to execute the A stored computer program to enable the computing device to implement the methods in the above-mentioned related embodiments in FIG. 5 to FIG. 12 .
基于上述内容和相同构思,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序或指令,当所述计算机程序或指令被计算设备执行时,所述计算设备实现上述图5至图12中相关实施例中的方法。Based on the above content and the same idea, the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is executed by a computing device, the computing device Implement the methods in the above-mentioned related embodiments in FIG. 5 to FIG. 12 .
基于上述内容和相同构思,本申请提供一种计算机程序产品,该计算机程序产品包括计算机程序或指令,当该计算机程序或指令被计算设备执行时,实现上述图5至图12中相关实施例中的方法。Based on the above content and the same idea, the present application provides a computer program product, the computer program product includes a computer program or instruction, when the computer program or instruction is executed by a computing device, the above-mentioned related embodiments in Figure 5 to Figure 12 are implemented Methods.
基于上述内容和相同构思,本申请提供一种芯片,包括至少一个处理器和接口;所述接口,用于为所述至少一个处理器提供程序指令或者数据;所述至少一个处理器用于执行所述程序行指令,以实现上述图5至图12中相关实施例中的方法。Based on the above content and the same idea, the present application provides a chip, including at least one processor and an interface; the interface is used to provide program instructions or data for the at least one processor; the at least one processor is used to execute the The program line instructions described above are used to implement the methods in the above-mentioned related embodiments in FIG. 5 to FIG. 12 .
基于上述内容和相同构思,本申请提供一种投屏系统,包括上述图5或图8或图9或图10相关实施例中涉及的服务设备、代理设备、投屏源设备、投屏目标设备。Based on the above content and the same idea, this application provides a screen projection system, including the service device, proxy device, screen projection source device, and screen projection target device involved in the above-mentioned related embodiments of Figure 5 or Figure 8 or Figure 9 or Figure 10 .
基于上述内容和相同构思,本申请提供一种投屏系统,包括上述图7或图8或图9或图10相关实施例中涉及的服务设备、代理设备、投屏源设备、投屏目标设备。Based on the above content and the same idea, this application provides a screen projection system, including the service device, proxy device, screen projection source device, and screen projection target device involved in the above-mentioned related embodiments of Figure 7 or Figure 8 or Figure 9 or Figure 10 .
基于上述内容和相同构思,本申请提供一种投屏系统,包括上述图12相关实施例中涉及的服务设备、投屏源设备、第二投屏目标设备。Based on the above content and the same idea, the present application provides a screen projection system, including the service device, the screen projection source device, and the second screen projection target device involved in the above-mentioned related embodiment in FIG. 12 .
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b 和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”,一般表示前后关联对象是一种“或”的关系;在本申请的公式中,字符“/”,表示前后关联对象是一种“相除”的关系。In this application, "at least one" means one or more, and "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c ", where a, b, c can be single or multiple. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. In the text description of this application, the character "/" generally indicates that the contextual objects are an "or" relationship; in the formulas of this application, the character "/" indicates that the contextual objects are a "division" Relationship.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。It can be understood that the various numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的保护范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to this application without departing from the protection scope of this application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (38)

  1. 一种投屏方法,其特征在于,包括:A screen projection method, characterized in that, comprising:
    服务设备在接收来自代理设备的关联设备请求时,向所述代理设备发送与所述代理设备具有关联关系的至少一个关联设备的标识;When the service device receives the association device request from the proxy device, it sends to the proxy device an identifier of at least one associated device that has an association relationship with the proxy device;
    服务设备接收来自所述代理设备的代理投屏请求,所述代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;所述至少一个关联设备包括所述投屏源设备;The service device receives the proxy screen projection request from the proxy device, the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; the at least one associated device includes the screen projection source device;
    所述服务设备向所述投屏源设备发送投屏事件通知,所述投屏事件通知用于指示所述投屏源设备根据所述投屏事件通知中包括的所述投屏授权信息向所述投屏目标设备发送投屏数据,所述投屏数据在所述投屏目标设备上显示。The service device sends a screen projection event notification to the screen projection source device, and the screen projection event notification is used to instruct the screen projection source device to send a notification to the screen projection authorization information included in the screen projection event notification. The screen projection target device sends screen projection data, and the screen projection data is displayed on the screen projection target device.
  2. 如权利要求1所述的方法,其特征在于,所述关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。The method according to claim 1, wherein the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  3. 如权利要求1所述的方法,其特征在于,在所述服务设备向所述投屏源设备发送投屏事件通知之前,所述方法还包括:The method according to claim 1, wherein before the service device sends a screen projection event notification to the screen projection source device, the method further comprises:
    所述服务设备确定所述投屏源设备为所述至少一个关联设备中的一个。The service device determines that the screen projection source device is one of the at least one associated device.
  4. 如权利要求1至3任一项所述的方法,其特征在于,在所述服务设备向所述投屏源设备发送投屏事件通知之后,还包括:The method according to any one of claims 1 to 3, further comprising: after the service device sends a screen projection event notification to the screen projection source device:
    所述服务设备接收来自所述投屏源设备的第一投屏请求,所述第一投屏请求中包括所述投屏授权信息和所述投屏源设备的标识;The service device receives a first screen projection request from the screen projection source device, and the first screen projection request includes the screen projection authorization information and the identification of the screen projection source device;
    在所述投屏目标设备未处于空闲状态的情况下,所述服务设备将所述投屏源设备的标识加入至所述服务设备的待投屏队列中。If the screen projection target device is not in an idle state, the service device adds the identifier of the screen projection source device to a screen waiting queue of the service device.
  5. 如权利要求4所述的方法,其特征在于,还包括:The method of claim 4, further comprising:
    在所述投屏目标设备处于空闲状态的情况下,所述服务设备从所述投屏目标设备中获取所述投屏目标设备的通道授权信息,并将所述通道授权信息发送至所述投屏源设备,所述通道授权信息用于所述投屏源设备加密所述投屏数据。When the screen projection target device is in an idle state, the service device acquires channel authorization information of the screen projection target device from the screen projection target device, and sends the channel authorization information to the projection screen For the screen source device, the channel authorization information is used by the screen projection source device to encrypt the screen projection data.
  6. 如权利要求4或5所述的方法,其特征在于,所述服务设备将所述投屏源设备的标识加入至所述服务设备的待投屏队列中之前,还包括:The method according to claim 4 or 5, wherein before the service device adds the identity of the screen projection source device to the queue of the service device to be screen projection, it further includes:
    所述服务设备监测所述投屏目标设备的投屏状态,确定所述投屏目标设备处于非空闲状态;The service device monitors the screen projection status of the screen projection target device, and determines that the screen projection target device is in a non-idle state;
    或者,所述服务设备向所述投屏目标设备发送所述第一投屏请求,接收来自所述投屏目标设备的拒绝响应,所述拒绝响应用于指示所述投屏目标设备处于非空闲状态。Alternatively, the service device sends the first screen projection request to the screen projection target device, and receives a rejection response from the screen projection target device, where the rejection response is used to indicate that the screen projection target device is not idle state.
  7. 一种投屏方法,其特征在于,包括:A screen projection method, characterized in that, comprising:
    服务设备在接收来自代理设备的关联设备请求时,向所述代理设备发送与所述代理设备具有关联关系的至少一个关联设备的标识;When the service device receives the association device request from the proxy device, it sends to the proxy device an identifier of at least one associated device that has an association relationship with the proxy device;
    服务设备接收来自所述代理设备的代理投屏请求,所述代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;所述至少一个关联设备包括所述投屏源设备;The service device receives the proxy screen projection request from the proxy device, the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; the at least one associated device includes the screen projection source device;
    所述服务设备根据所述投屏授权信息,从所述投屏目标设备中获得所述投屏目标设备的通道授权信息,向所述投屏源设备发送所述通道授权信息;The service device obtains channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, and sends the channel authorization information to the screen projection source device;
    所述通道授权信息用于所述投屏源设备加密投屏数据并将加密后的投屏数据发送至所述投屏目标设备,所述投屏数据在所述投屏目标设备上显示。The channel authorization information is used by the screen projection source device to encrypt screen projection data and send the encrypted screen projection data to the screen projection target device, and the screen projection data is displayed on the screen projection target device.
  8. 如权利要求7所述的方法,其特征在于,所述服务设备根据所述投屏授权信息,从所述投屏目标设备中获得所述投屏目标设备的通道授权信息,包括:The method according to claim 7, wherein the service device obtains channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, including:
    所述服务设备向所述投屏目标设备发送通道授权请求,所述通道授权请求中包括所述投屏授权信息,所述通道授权请求用于向所述投屏目标设备请求所述通道授权信息;The service device sends a channel authorization request to the screen projection target device, the channel authorization request includes the screen projection authorization information, and the channel authorization request is used to request the channel authorization information from the screen projection target device ;
    所述服务设备接收来自所述投屏目标设备的所述通道授权信息。The service device receives the channel authorization information from the screen projection target device.
  9. 一种投屏方法,其特征在于,包括:A screen projection method, characterized in that, comprising:
    代理设备获取投屏目标设备的投屏授权信息;The proxy device obtains the screen-casting authorization information of the screen-casting target device;
    所述代理设备在接收到代理请求投屏的指示时,从服务设备处获取与所述代理设备具有关联关系的至少一个关联设备的标识;When the proxy device receives an indication of a proxy request for screen projection, it acquires an identifier of at least one associated device that has an associated relationship with the proxy device from the service device;
    所述代理设备接收第一用户操作,所述第一用户操作为用户选择所述至少一个关联设备中的一个作为投屏源设备,向所述服务设备发送代理投屏请求,所述代理投屏请求中包括所述投屏授权信息和所述投屏源设备的标识,所述代理投屏请求用于指示所述服务设备向所述投屏源设备发送投屏事件通知。The proxy device receives a first user operation, the first user operation is that the user selects one of the at least one associated device as a screen projection source device, and sends a proxy screen projection request to the service device, and the proxy screen projection The request includes the screen projection authorization information and the identifier of the screen projection source device, and the proxy screen projection request is used to instruct the service device to send a screen projection event notification to the screen projection source device.
  10. 如权利要求9所述的方法,其特征在于,所述代理设备接收第一用户操作之前,还包括:The method according to claim 9, wherein before the agent device receives the first user operation, it further comprises:
    所述代理设备在所述代理设备的显示界面中显示所述至少一个关联设备的标识。The proxy device displays the identifier of the at least one associated device on a display interface of the proxy device.
  11. 如权利要求9或10所述的方法,其特征在于,所述关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。The method according to claim 9 or 10, wherein the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  12. 一种投屏方法,其特征在于,包括:A screen projection method, characterized in that, comprising:
    投屏源设备接收来自服务设备的投屏事件通知,所述投屏事件通知中包含投屏授权信息,所述投屏事件通知是所述服务设备响应于代理设备的代理投屏请求发送的,所述投屏源设备与所述代理设备之间具有关联关系;The screen projection source device receives a screen projection event notification from the service device, the screen projection event notification includes screen projection authorization information, and the screen projection event notification is sent by the service device in response to the proxy device's proxy screen projection request, There is an association relationship between the screen projection source device and the proxy device;
    所述投屏源设备根据所述投屏授权信息,向投屏目标设备发送所述投屏源设备的投屏数据,所述投屏数据在所述投屏目标设备上显示。The screen projection source device sends the screen projection data of the screen projection source device to the screen projection target device according to the screen projection authorization information, and the screen projection data is displayed on the screen projection target device.
  13. 如权利要求12所述的方法,其特征在于,所述投屏源设备根据所述投屏授权信息,向投屏目标设备发送所述投屏源设备的投屏数据之前,还包括:The method according to claim 12, wherein, before the screen projection source device sends the screen projection data of the screen projection source device to the screen projection target device according to the screen projection authorization information, further comprising:
    所述投屏源设备根据所述投屏事件通知,提示用户是否同意投屏;The screen projection source device prompts the user whether to agree to screen projection according to the screen projection event notification;
    所述投屏源设备接收所述用户同意投屏的指示。The screen projection source device receives an indication that the user agrees to screen projection.
  14. 如权利要求12或13所述的方法,其特征在于,所述关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。The method according to claim 12 or 13, wherein the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  15. 一种投屏方法,其特征在于,包括:A screen projection method, characterized in that, comprising:
    投屏源设备接收来自服务设备的第一投屏目标设备的信息,所述第一投屏目标设备的信息包含所述第一投屏目标设备的标识,所述第一投屏目标设备与所述投屏源设备具有关联关系;The screen projection source device receives the information of the first screen projection target device from the service device, the information of the first screen projection target device includes the identifier of the first screen projection target device, and the first screen projection target device is related to the first screen projection target device The above screen projection source devices have an association relationship;
    所述投屏源设备向所述服务设备发送第二投屏请求,所述第二投屏请求中包含第二投屏目标设备的标识,所述第二投屏目标设备是处于空闲状态的第一投屏目标设备;The screen projection source device sends a second screen projection request to the service device, the second screen projection request includes an identifier of a second screen projection target device, and the second screen projection target device is the first screen projection device in an idle state. A screen projection target device;
    所述投屏源设备接收来自所述服务设备的所述第二投屏目标设备的通道授权信息;The screen projection source device receives the channel authorization information of the second screen projection target device from the service device;
    所述投屏源设备根据所述通道授权信息,加密投屏数据并将加密后的投屏数据发送至所述第二投屏目标设备,所述投屏数据在所述第二投屏目标设备上显示。The screen projection source device encrypts the screen projection data according to the channel authorization information and sends the encrypted screen projection data to the second screen projection target device, and the screen projection data is stored on the second screen projection target device on display.
  16. 如权利要求15所述的方法,其特征在于,所述投屏源设备向所述服务设备发送第 二投屏请求之前,还包括:The method according to claim 15, wherein, before the screen projection source device sends the second screen projection request to the service device, further comprising:
    所述投屏源设备在所述投屏源设备的显示界面中显示所述第一投屏目标设备的标识;The screen projection source device displays the identifier of the first screen projection target device on the display interface of the screen projection source device;
    所述投屏源设备接收第二用户操作,所述第二用户操作为用户选择所述投屏源设备的显示界面中所述第一投屏目标设备的标识中的一个;The screen projection source device receives a second user operation, and the second user operation is a user selecting one of the identifiers of the first screen projection target device in the display interface of the screen projection source device;
    所述投屏源设备将用户选择的所述第一投屏目标设备的标识作为所述第二投屏目标设备的标识。The screen projection source device uses the identifier of the first screen projection target device selected by the user as the identifier of the second screen projection target device.
  17. 如权利要求15或16所述的方法,其特征在于,所述第一投屏目标设备的信息中还包括所述第一投屏目标设备的投屏状态信息,所述投屏状态信息指示所述第一投屏目标设备是否处于空闲状态。The method according to claim 15 or 16, wherein the information of the first screen-casting target device further includes screen-casting state information of the first screen-casting target device, and the screen-casting state information indicates the Whether the first screen projection target device is in an idle state.
  18. 一种投屏装置,其特征在于,包括:A screen projection device, characterized in that it comprises:
    收发单元和处理单元;transceiver unit and processing unit;
    所述处理单元用于,控制所述收发单元在接收来自代理设备的关联设备请求时,向所述代理设备发送与所述代理设备具有关联关系的至少一个关联设备的标识;The processing unit is configured to control the transceiving unit to send to the proxy device an identifier of at least one associated device that has an association relationship with the proxy device when receiving an associated device request from the proxy device;
    所述处理单元还用于,控制所述收发单元接收来自所述代理设备的代理投屏请求,所述代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;所述至少一个关联设备包括所述投屏源设备;The processing unit is further configured to control the transceiving unit to receive a proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; The at least one associated device includes the screen projection source device;
    所述处理单元还用于,控制所述收发单元向所述投屏源设备发送投屏事件通知,所述投屏事件通知用于指示所述投屏源设备根据所述投屏事件通知中包括的所述投屏授权信息向所述投屏目标设备发送投屏数据,所述投屏数据在所述投屏目标设备上显示。The processing unit is further configured to control the transceiving unit to send a screen projection event notification to the screen projection source device, where the screen projection event notification is used to instruct the screen projection source device to The screen-casting authorization information sends screen-casting data to the screen-casting target device, and the screen-casting data is displayed on the screen-casting target device.
  19. 如权利要求18所述的投屏装置,其特征在于,所述关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。The screen projection device according to claim 18, wherein the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, and corresponding to the same department.
  20. 如权利要求18所述的投屏装置,其特征在于,所述处理单元在控制所述收发单元向所述投屏源设备发送投屏事件通知之前,还用于:The screen projection device according to claim 18, wherein the processing unit is further configured to: before controlling the transceiver unit to send a screen projection event notification to the screen projection source device:
    确定所述投屏源设备为所述至少一个关联设备中的一个。Determine that the screen projection source device is one of the at least one associated device.
  21. 如权利要求18至20任一项所述的投屏装置,其特征在于,所述处理单元在控制所述收发单元向所述投屏源设备发送投屏事件通知之后,还用于:The screen projection device according to any one of claims 18 to 20, wherein, after the processing unit controls the transceiver unit to send a screen projection event notification to the screen projection source device, it is further configured to:
    控制所述收发单元接收来自所述投屏源设备的第一投屏请求,所述第一投屏请求中包括所述投屏授权信息和所述投屏源设备的标识;controlling the transceiving unit to receive a first screen projection request from the screen projection source device, where the first screen projection request includes the screen projection authorization information and the identification of the screen projection source device;
    在所述投屏目标设备未处于空闲状态的情况下,将所述投屏源设备的标识加入至所述投屏装置的待投屏队列中。If the screen projection target device is not in an idle state, adding the identifier of the screen projection source device to the screen projection queue of the screen projection device.
  22. 如权利要求21所述的投屏装置,其特征在于,所述处理单元还用于:The screen projection device according to claim 21, wherein the processing unit is further used for:
    在所述投屏目标设备处于空闲状态的情况下,从所述投屏目标设备中获取所述投屏目标设备的通道授权信息,并控制所述收发单元将所述通道授权信息发送至所述投屏源设备,所述通道授权信息用于所述投屏源设备加密所述投屏数据。When the screen projection target device is in an idle state, obtain channel authorization information of the screen projection target device from the screen projection target device, and control the transceiver unit to send the channel authorization information to the The screen projection source device, where the channel authorization information is used by the screen projection source device to encrypt the screen projection data.
  23. 如权利要求21或22所述的投屏装置,其特征在于,所述处理单元将所述投屏源设备的标识加入至所述投屏装置的待投屏队列中之前,还用于:The screen projection device according to claim 21 or 22, wherein the processing unit is further configured to:
    监测所述投屏目标设备的投屏状态,确定所述投屏目标设备处于非空闲状态;Monitor the screen projection status of the screen projection target device, and determine that the screen projection target device is in a non-idle state;
    或者,控制所述收发单元向所述投屏目标设备发送所述第一投屏请求,接收来自所述投屏目标设备的拒绝响应,所述拒绝响应用于指示所述投屏目标设备处于非空闲状态。Alternatively, control the transceiving unit to send the first screen projection request to the screen projection target device, and receive a rejection response from the screen projection target device, where the rejection response is used to indicate that the screen projection target device is not in the idle state.
  24. 一种投屏装置,其特征在于,包括:A screen projection device, characterized in that it comprises:
    收发单元和处理单元;transceiver unit and processing unit;
    所述处理单元用于,控制所述收发单元在接收来自代理设备的关联设备请求时,向所述代理设备发送与所述代理设备具有关联关系的至少一个关联设备的标识;The processing unit is configured to control the transceiving unit to send to the proxy device an identifier of at least one associated device that has an association relationship with the proxy device when receiving an associated device request from the proxy device;
    所述处理单元还用于,控制所述收发单元接收来自所述代理设备的代理投屏请求,所述代理投屏请求中包括投屏源设备的标识和投屏目标设备的投屏授权信息;所述至少一个关联设备包括所述投屏源设备;The processing unit is further configured to control the transceiving unit to receive a proxy screen projection request from the proxy device, and the proxy screen projection request includes the identification of the screen projection source device and the screen projection authorization information of the screen projection target device; The at least one associated device includes the screen projection source device;
    所述处理单元还用于,根据所述投屏授权信息,从所述投屏目标设备中获得所述投屏目标设备的通道授权信息,控制所述收发单元向所述投屏源设备发送所述通道授权信息;The processing unit is further configured to obtain channel authorization information of the screen projection target device from the screen projection target device according to the screen projection authorization information, and control the sending and receiving unit to send the screen projection source device to the screen projection source device. The channel authorization information;
    其中,所述通道授权信息用于所述投屏源设备加密投屏数据并将加密后的投屏数据发送至所述投屏目标设备,所述投屏数据在所述投屏目标设备上显示。Wherein, the channel authorization information is used for the screen projection source device to encrypt the screen projection data and send the encrypted screen projection data to the screen projection target device, and the screen projection data is displayed on the screen projection target device .
  25. 如权利要求24所述的投屏装置,其特征在于,所述处理单元具体用于:The screen projection device according to claim 24, wherein the processing unit is specifically used for:
    控制所述收发单元向所述投屏目标设备发送通道授权请求,所述通道授权请求中包括所述投屏授权信息,所述通道授权请求用于向所述投屏目标设备请求所述通道授权信息;controlling the transceiving unit to send a channel authorization request to the screen projection target device, the channel authorization request including the screen projection authorization information, and the channel authorization request is used to request the channel authorization from the screen projection target device information;
    控制所述收发单元接收来自所述投屏目标设备的所述通道授权信息。and controlling the transceiving unit to receive the channel authorization information from the screen projection target device.
  26. 一种投屏装置,其特征在于,包括:A screen projection device, characterized in that it comprises:
    收发单元和处理单元;transceiver unit and processing unit;
    所述处理单元用于,获取投屏目标设备的投屏授权信息;The processing unit is configured to obtain screen projection authorization information of the screen projection target device;
    所述处理单元还用于,在接收到代理请求投屏的指示时,从服务设备处获取与所述投屏装置具有关联关系的至少一个关联设备的标识;The processing unit is further configured to obtain, from the service device, an identifier of at least one associated device that has an associated relationship with the screen projection device when receiving an indication of a proxy request for screen projection;
    所述处理单元还用于,控制所述收发单元接收第一用户操作,所述第一用户操作为用户选择所述至少一个关联设备中的一个作为投屏源设备,控制所述收发单元向所述服务设备发送代理投屏请求,所述代理投屏请求中包括所述投屏授权信息和所述投屏源设备的标识,所述代理投屏请求用于指示所述服务设备向所述投屏源设备发送投屏事件通知。The processing unit is further configured to control the transceiving unit to receive a first user operation, the first user operation is for the user to select one of the at least one associated device as the screen projection source device, and control the transceiving unit to send the The service device sends a proxy screen projection request, the proxy screen projection request includes the screen projection authorization information and the identification of the screen projection source device, and the proxy screen projection request is used to instruct the service device to send The screen source device sends a screen projection event notification.
  27. 如权利要求26所述的投屏装置,其特征在于,所述处理单元控制所述收发单元接收第一用户操作之前,还用于:The screen projection device according to claim 26, wherein before the processing unit controls the transceiver unit to receive the first user operation, it is further configured to:
    在所述投屏装置的显示界面中显示所述至少一个关联设备的标识。Displaying the identifier of the at least one associated device on the display interface of the screen projection device.
  28. 如权利要求26或27所述的投屏装置,其特征在于,所述关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。The screen projection device according to claim 26 or 27, wherein the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, corresponding to the same department .
  29. 一种投屏装置,其特征在于,包括:A screen projection device, characterized in that it comprises:
    收发单元和处理单元;transceiver unit and processing unit;
    所述处理单元用于,控制所述收发单元接收来自服务设备的投屏事件通知,所述投屏事件通知中包含投屏授权信息,所述投屏事件通知是所述服务设备响应于代理设备的代理投屏请求发送的,所述投屏装置与所述代理设备之间具有关联关系;The processing unit is configured to control the transceiving unit to receive a screen projection event notification from the service device, the screen projection event notification includes screen projection authorization information, and the screen projection event notification is a response from the service device to the proxy device The proxy screen projection request sent by the proxy device has an association relationship between the screen projection device and the proxy device;
    所述处理单元还用于,根据所述投屏授权信息,控制所述收发单元向投屏目标设备发送所述投屏装置的投屏数据,所述投屏数据在所述投屏目标设备上显示。The processing unit is further configured to, according to the screen projection authorization information, control the transceiver unit to send the screen projection data of the screen projection device to the screen projection target device, and the screen projection data is on the screen projection target device show.
  30. 如权利要求29所述的投屏装置,其特征在于,所述处理单元根据所述投屏授权信息,控制所述收发单元向投屏目标设备发送所述投屏装置的投屏数据之前,还用于:The screen projection device according to claim 29, wherein the processing unit controls the sending and receiving unit to send the screen projection data of the screen projection device to the screen projection target device according to the screen projection authorization information, and further Used for:
    根据所述投屏事件通知,提示用户是否同意投屏;According to the screen projection event notification, prompt the user whether to agree to screen projection;
    控制所述收发单元接收所述用户同意投屏的指示。and controlling the transceiver unit to receive an indication that the user agrees to screen projection.
  31. 如权利要求29或30所述的投屏装置,其特征在于,所述关联关系至少包括如下关系中的一个或多个:对应于同一个账户、对应于同一个群组、对应于同一个部门。The screen projection device according to claim 29 or 30, wherein the association relationship includes at least one or more of the following relationships: corresponding to the same account, corresponding to the same group, corresponding to the same department .
  32. 一种投屏装置,其特征在于,包括:A screen projection device, characterized in that it comprises:
    收发单元和处理单元;transceiver unit and processing unit;
    所述处理单元用于:控制所述收发单元接收来自服务设备的第一投屏目标设备的信息,所述第一投屏目标设备的信息包含所述第一投屏目标设备的标识,所述第一投屏目标设备与所述投屏装置具有关联关系;The processing unit is configured to: control the transceiver unit to receive information of a first screen projection target device from the service device, the information of the first screen projection target device includes an identifier of the first screen projection target device, the The first screen projection target device has an association relationship with the screen projection device;
    控制所述收发单元向所述服务设备发送第二投屏请求,所述第二投屏请求中包含第二投屏目标设备的标识,所述第二投屏目标设备是处于空闲状态的第一投屏目标设备;Controlling the transceiver unit to send a second screen projection request to the service device, the second screen projection request includes an identifier of a second screen projection target device, and the second screen projection target device is the first screen projection device in an idle state. The screen target device;
    控制所述收发单元接收来自所述服务设备的所述第二投屏目标设备的通道授权信息;controlling the transceiver unit to receive channel authorization information of the second screen projection target device from the service device;
    根据所述通道授权信息,加密投屏数据并控制所述收发单元将加密后的投屏数据发送至所述第二投屏目标设备,所述投屏数据在所述第二投屏目标设备上显示。According to the channel authorization information, encrypt the screen projection data and control the transceiver unit to send the encrypted screen projection data to the second screen projection target device, and the screen projection data is on the second screen projection target device show.
  33. 如权利要求32所述的投屏装置,其特征在于,所述处理单元控制所述收发单元向所述服务设备发送第二投屏请求之前,还用于:The screen projection device according to claim 32, wherein before the processing unit controls the transceiver unit to send the second screen projection request to the service device, it is further used for:
    在所述投屏源设备的显示界面中显示所述第一投屏目标设备的标识;Displaying the identifier of the first screen-casting target device on the display interface of the screen-casting source device;
    控制所述收发单元接收第二用户操作,所述第二用户操作为用户选择所述投屏源设备的显示界面中所述第一投屏目标设备的标识中的一个;controlling the transceiving unit to receive a second user operation, the second user operation being the user selecting one of the identifiers of the first screen-casting target device in the display interface of the screen-casting source device;
    将用户选择的所述第一投屏目标设备的标识作为所述第二投屏目标设备的标识。The identifier of the first screen-casting target device selected by the user is used as the identifier of the second screen-casting target device.
  34. 如权利要求32或33所述的投屏装置,其特征在于,所述第一投屏目标设备的信息中还包括所述第一投屏目标设备的投屏状态信息,所述投屏状态信息指示所述第一投屏目标设备是否处于空闲状态。The screen projection device according to claim 32 or 33, wherein the information of the first screen projection target device further includes screen projection state information of the first screen projection target device, and the screen projection state information Indicates whether the first screen-casting target device is in an idle state.
  35. 一种计算设备,其特征在于,包括处理器,所述处理器与存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述计算设备实现如权利要求1至6中任一项所述的方法,或者实现如权利要求7或8所述的方法,或者实现如权利要求9至11中任一项所述的方法,或者实现如权利要求12至14中任一项所述的方法,或者实现如权利要求15至17中任一项所述的方法。A computing device, characterized in that it includes a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the calculation The device realizes the method according to any one of claims 1 to 6, or realizes the method according to claim 7 or 8, or realizes the method according to any one of claims 9 to 11, or realizes the method described in any one of claims 9 to 11, or realizes The method according to any one of claims 12 to 14, or implementing the method according to any one of claims 15 to 17.
  36. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序或指令,当所述计算机程序或指令被计算设备执行时,所述计算设备实现如权利要求1至6中任一项所述的方法,或者实现如权利要求7或8所述的方法,或者实现如权利要求9至11中任一项所述的方法,或者实现如权利要求12至14中任一项所述的方法,或者实现如权利要求15至17中任一项所述的方法。A computer-readable storage medium, characterized in that, computer programs or instructions are stored in the computer-readable storage medium, and when the computer programs or instructions are executed by a computing device, the computing device implements claims 1 to 1. 6, or realize the method as described in claim 7 or 8, or realize the method as described in any one in claim 9 to 11, or realize the method as described in any one in claim 12 to 14 The method described in one, or realize the method described in any one in the claim 15 to 17.
  37. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序或指令,当所述计算机程序或指令被计算设备执行时,实现如权利要求1至6中任一项所述的方法,或者实现如权利要求7或8所述的方法,或者实现如权利要求9至11中任一项所述的方法,或者实现如权利要求12至14中任一项所述的方法,或者实现如权利要求15至17中任一项所述的方法。A computer-readable storage medium, characterized in that, computer programs or instructions are stored in the computer-readable storage medium, and when the computer programs or instructions are executed by a computing device, any one of claims 1 to 6 can be realized. The method described in item, or realize the method as described in claim 7 or 8, or realize the method as described in any one in claim 9 to 11, perhaps realize as described in any one in claim 12 to 14 method, or implement a method as described in any one of claims 15 to 17.
  38. 一种投屏系统,其特征在于,包括权利要求18至23任一项的投屏装置,以及权利要求26至28任一项的投屏装置,以及权利要求29至31任一项的投屏装置。A screen projection system, characterized by comprising the screen projection device according to any one of claims 18 to 23, the screen projection device according to any one of claims 26 to 28, and the screen projection device according to any one of claims 29 to 31 device.
PCT/CN2021/141267 2021-05-26 2021-12-24 Screen casting method and screen casting device WO2022247260A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110580259.8 2021-05-26
CN202110580259.8A CN115407951A (en) 2021-05-26 2021-05-26 Screen projection method and screen projection device

Publications (1)

Publication Number Publication Date
WO2022247260A1 true WO2022247260A1 (en) 2022-12-01

Family

ID=84156490

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/141267 WO2022247260A1 (en) 2021-05-26 2021-12-24 Screen casting method and screen casting device

Country Status (2)

Country Link
CN (1) CN115407951A (en)
WO (1) WO2022247260A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115826898B (en) * 2023-01-03 2023-04-28 南京芯驰半导体科技有限公司 Cross-screen display method, system, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120284650A1 (en) * 2011-05-05 2012-11-08 Awind Inc. Remote audio-video sharing method and application program for the same
CN108055575A (en) * 2017-12-06 2018-05-18 电子科技大学 A kind of Internet video shared system for throwing screen based on simulation towards cell
CN110392287A (en) * 2019-06-03 2019-10-29 广东有线广播电视网络有限公司 Processing method, device and the TV that TV throws screen authorization throw screen system
CN110876080A (en) * 2018-08-30 2020-03-10 华为技术有限公司 Video screen projection method and device, computer equipment and storage medium
CN112019889A (en) * 2020-10-26 2020-12-01 深圳乐播科技有限公司 Cloud-based screen projection system and screen projection method
CN112130795A (en) * 2020-09-21 2020-12-25 青岛小帅影院科技有限公司 Screen projection method and screen projection system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120284650A1 (en) * 2011-05-05 2012-11-08 Awind Inc. Remote audio-video sharing method and application program for the same
CN108055575A (en) * 2017-12-06 2018-05-18 电子科技大学 A kind of Internet video shared system for throwing screen based on simulation towards cell
CN110876080A (en) * 2018-08-30 2020-03-10 华为技术有限公司 Video screen projection method and device, computer equipment and storage medium
CN110392287A (en) * 2019-06-03 2019-10-29 广东有线广播电视网络有限公司 Processing method, device and the TV that TV throws screen authorization throw screen system
CN112130795A (en) * 2020-09-21 2020-12-25 青岛小帅影院科技有限公司 Screen projection method and screen projection system
CN112019889A (en) * 2020-10-26 2020-12-01 深圳乐播科技有限公司 Cloud-based screen projection system and screen projection method

Also Published As

Publication number Publication date
CN115407951A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
WO2021052318A1 (en) Audio playing method and apparatus, and tws bluetooth earphone
KR101819556B1 (en) Apparatus and method for supporting family cloud in cloud computing system
US10965883B2 (en) Intelligent shared display infrastructure and associated methods
CN105308934B (en) Method and apparatus for controlling content shared between devices in wireless communication system
US20060106933A1 (en) Method for connecting devices in dynamic family networking
WO2019090902A1 (en) Screen sharing method and apparatus, electronic device, and storage medium
CN112738559B (en) Screen projection implementation method, device and system
US20150135240A1 (en) Video display terminal, video transmission terminal, video communication system, video display method, video transmission method, and computer-readable recording medium recording program
KR20070014162A (en) A method for implementing grouping devices and interacting among grouped devices
WO2018161807A1 (en) User identity verification method and apparatus
WO2013130502A1 (en) Shared network access via a peer-to-peer link
WO2011140739A1 (en) Method, system and server for sharing remote document
WO2014135050A1 (en) Message processing method, device, gateway, set-top box and internet protocol television system
CN112738011B (en) Screen projection implementation method, device and system
TWI756008B (en) Conferencing data sharing method and conferencing data sharing system
CN112738575A (en) Screen projection implementation method, device and system
WO2022247260A1 (en) Screen casting method and screen casting device
US20220272511A1 (en) Subscription data management method and apparatus
US20220078169A1 (en) Methods, systems, and media for providing secure network communications
CN111988660A (en) DLNA equipment screen projection method, gateway, terminal and system
US9264662B2 (en) Chat preauthorization
CN110113623A (en) A kind of audio-video slice transmission platform based on Session Initiation Protocol
US9178711B2 (en) Method and system for the dynamic management of the transmission of streams within a plurality of terminals
US10205686B2 (en) Communication terminal, communication system, and output method
WO2019238050A1 (en) Communication method and apparatus

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE